.history-page { background: var(--cream); }
.history-page a:focus-visible, .history-page button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.history-wrap { max-width: 1600px; margin: 0 auto; padding-inline: clamp(24px, 5.5vw, 88px); }
.history-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; padding-block: 70px 58px; }
.history-back { display: inline-block; font-size: 14px; margin-bottom: 42px; color: var(--muted); text-decoration: none; }
.history-back:hover, .history-link:hover { color: var(--blue); }
.history-eyebrow { display: block; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .15em; margin-bottom: 26px; }
.history-page h1 { font-size: clamp(42px, 4.8vw, 76px); line-height: 1.07; letter-spacing: -.055em; margin-bottom: 30px; }
.history-page h1 em, .history-page h2 em, .history-page h3 em { font-family: Georgia, serif; font-weight: 400; color: #bd452b; }
.history-copy p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; color: #526277; margin-top: 22px; max-width: 57ch; }
.history-copy .history-lead { color: var(--ink); font-size: clamp(19px, 1.55vw, 23px); }
.history-pillar-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 50px; }
.history-pillar-nav a { display: flex; align-items: center; gap: 15px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--navy); text-decoration: none; font-size: clamp(17px, 1.5vw, 23px); font-weight: 700; }
.history-pillar-nav a span:first-child { font: italic 21px Georgia, serif; color: #bd452b; }
.history-pillar-nav a span:last-child { margin-left: auto; color: #bd452b; }
.history-pillar { border-top: 1px solid var(--line); padding-block: 75px 30px; scroll-margin-top: 30px; }
.history-pillar-heading { margin-bottom: 72px; }
.history-page h2 { font-size: clamp(34px, 4vw, 61px); line-height: 1.13; }
.history-chapter { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(38px, 7vw, 100px); align-items: center; margin-bottom: 100px; }
.history-chapter-reverse .history-copy { order: 2; }
.history-chapter-reverse .history-gallery { order: 1; }
.history-chapter-reverse .history-photo-pair { order: 1; }
.history-photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); align-items: start; min-width: 0; }
.history-photo-pair figure:first-child { margin-top: 48px; }
.history-photo-pair img { width: 100%; aspect-ratio: .72; object-fit: cover; border-radius: 10px; }
.history-photo-pair figcaption { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #526277; }
.history-kicker { display: block; font-size: 14px; letter-spacing: .09em; font-weight: 700; color: var(--muted); margin-bottom: 20px; }
.history-page h3 { font-size: clamp(29px, 2.9vw, 43px); line-height: 1.14; letter-spacing: -.04em; }
.history-link { display: inline-block; margin-top: 25px; color: var(--ink); font-size: 16px; font-weight: 700; text-underline-offset: 6px; }
.history-gallery { min-width: 0; position: relative; }
.history-media { height: clamp(340px, 38vw, 530px); display: flex; align-items: center; justify-content: center; position: relative; touch-action: pan-y; }
.history-media img, .history-media video { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.history-video-loading { position: absolute; padding: 15px; font-size: 14px; color: var(--muted); pointer-events: none; }
.history-media video { position: relative; z-index: 1; }
.history-gallery figcaption { color: #526277; margin-top: 19px; min-height: 46px; font-size: 14px; line-height: 1.6; }
.history-gallery-controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.history-gallery-controls button { background: transparent; border: 1px solid #acb4bd; width: 44px; height: 44px; border-radius: 50%; color: var(--navy); cursor: pointer; font: 23px Arial, sans-serif; transition: background-color .2s, border-color .2s; }
.history-gallery-controls button:hover { background: #ffe8df; border-color: #bd452b; }
.history-gallery-controls .history-video-toggle { width: auto; border-radius: 24px; padding-inline: 16px; font-size: 14px; margin-left: 6px; }
.history-gallery-controls .history-video-toggle[hidden] { display: none; }
.history-counter { margin-left: auto; font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--muted); }
.history-gallery-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.history-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 90px; }
.history-steps article { border-top: 1px solid var(--line); padding-top: 23px; }
.history-step-number { display: block; font: italic 22px Georgia, serif; color: #bd452b; margin-bottom: 18px; }
.history-steps h3 { font-size: clamp(23px, 2vw, 29px); }
.history-steps p { font-size: 17px; line-height: 1.7; color: #526277; margin-top: 20px; }
.history-ai-quote { color: var(--navy); font-size: clamp(23px, 2.4vw, 35px); line-height: 1.5; max-width: 1000px; margin: 0 auto 70px; padding-left: 26px; border-left: 3px solid var(--orange); }
#stage-studios { margin-bottom: 55px; scroll-margin-top: 30px; }
.history-closing { background: var(--navy); max-width: none; color: white; padding-block: 85px; }
.history-closing > div { max-width: 1000px; margin-inline: auto; }
.history-closing h2 { font-size: clamp(30px, 3.3vw, 48px); }
.history-closing h2 em { color: var(--orange); }
.history-closing p { color: #d7dfea; font-size: 19px; margin: 25px 0 32px; max-width: 70ch; }
.history-closing .history-invisible-work { font-family: Georgia, serif; font-weight: 400; color: var(--orange); }
.history-closing .history-contact-button { background: var(--orange); color: var(--navy); font-size: clamp(18px, 1.5vw, 22px); padding: 18px 36px; min-height: 64px; gap: 30px; max-width: 100%; }
.history-closing .history-contact-button:hover { background: #ff906f; }
.history-footer { display: flex; gap: 24px; justify-content: space-between; padding-block: 32px; font-size: 14px; color: #526277; }
.history-footer a { color: var(--ink); text-underline-offset: 5px; }
@media (max-width: 900px) {
  .history-intro { gap: 32px; padding-top: 42px; }
  .history-back { margin-bottom: 30px; }
  .history-page h1 { font-size: clamp(40px, 5.7vw, 60px); }
  .history-chapter { gap: 35px; }
  .history-steps { gap: 24px; }
}
@media (max-width: 680px) {
  .history-intro, .history-chapter { grid-template-columns: 1fr; }
  .history-intro { padding-bottom: 30px; gap: 30px; }
  .history-page h1 { font-size: clamp(39px, 10vw, 54px); }
  .history-media { height: 360px; }
  .history-gallery-intro .history-media { height: 380px; }
  .history-pillar-nav { grid-template-columns: 1fr; gap: 0; padding-bottom: 30px; }
  .history-pillar-nav a { padding: 16px 0; font-size: 19px; }
  .history-pillar { padding-top: 48px; }
  .history-pillar-heading { margin-bottom: 45px; }
  .history-chapter { margin-bottom: 65px; gap: 30px; }
  .history-chapter-reverse .history-copy, .history-chapter-reverse .history-gallery { order: initial; }
  .history-chapter-reverse .history-photo-pair { order: initial; }
  .history-photo-pair figure:first-child { margin-top: 28px; }
  .history-copy p { font-size: 17px; }
  .history-steps { grid-template-columns: 1fr; gap: 30px; margin-bottom: 58px; }
  .history-steps h3 { font-size: 27px; }
  .history-gallery figcaption { min-height: 40px; }
  .history-closing { padding-block: 55px; }
  .history-ai-quote { padding-left: 20px; margin-bottom: 45px; }
  #stage-studios { margin-bottom: 35px; }
  .history-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html:has(.history-page), .history-page * { scroll-behavior: auto; transition: none !important; } }
