:root {
  color-scheme: dark;
  --ink: #080706;
  --ink-2: #100e0c;
  --paper: #f3eee5;
  --muted: #b8afa2;
  --amber: #e09a31;
  --gold: #c3842a;
  --wine: #6f2430;
  --line: rgba(224, 154, 49, 0.26);
  --page: min(1240px, calc(100vw - 56px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: 82px;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(to bottom, rgba(6, 5, 4, 0.88), rgba(6, 5, 4, 0));
  transition: background-color 240ms ease, min-height 240ms ease;
}
.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(8, 7, 6, 0.94);
  backdrop-filter: blur(14px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: white;
  font-family: var(--serif);
  font-size: 17px;
  text-decoration: none;
}
.wordmark-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a:focus-visible { color: white; }
.site-nav .nav-cta { color: var(--amber); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(92svh, 880px);
  height: 860px;
  max-height: 92svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-media, .hero-media video, .hero-media::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media video {
  object-fit: cover;
  object-position: center center;
  background: url("assets/cas-hero-rehearsal-gpt2-v01.png") center / cover no-repeat;
}
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(5, 4, 3, 0.91) 0%, rgba(5, 4, 3, 0.64) 31%, rgba(5, 4, 3, 0.10) 64%, rgba(5, 4, 3, 0.15) 100%);
}
.hero-shade {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(to top, var(--ink), transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  padding-top: clamp(150px, 22vh, 220px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(60px, 8.2vw, 132px);
  font-weight: 400;
  line-height: 0.88;
}
.hero-copy {
  max-width: 570px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.34;
}
.hero-actions, .visit-actions, .inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: #17100a; }
.button-primary:hover, .button-primary:focus-visible { background: #f4b24d; }
.button-quiet { border-color: rgba(255, 255, 255, 0.36); color: white; }
.button-quiet:hover, .button-quiet:focus-visible { border-color: white; background: rgba(255, 255, 255, 0.08); }
.hero-scroll {
  position: absolute;
  right: max(28px, calc((100vw - 1240px) / 2));
  bottom: 42px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-line { width: 72px; height: 1px; background: var(--amber); }

.proof-band {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.proof-band div { padding: 26px 22px; border-right: 1px solid rgba(255,255,255,.09); }
.proof-band div:last-child { border-right: 0; }
.proof-band strong { display: block; color: var(--amber); font-family: var(--serif); font-size: 26px; font-weight: 400; }
.proof-band span { color: var(--muted); font-size: 11px; text-transform: uppercase; }

.section-band { width: var(--page); margin: 0 auto; padding: 128px 0; }
.section-intro { display: grid; grid-template-columns: 0.7fr 1.25fr 0.8fr; gap: 58px; align-items: start; margin-bottom: 78px; }
.section-intro .eyebrow { padding-top: 12px; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(43px, 5.2vw, 76px); font-weight: 400; line-height: 1.02; }
.section-intro > p:last-child, .craft-copy > p, .legacy-copy > p, .visit-copy > p { color: var(--muted); }

.program-list { border-top: 1px solid var(--line); }
.program {
  min-height: 230px;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.program-number { color: var(--amber); font-family: var(--serif); font-size: 28px; }
.program h3 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(29px, 3vw, 45px); font-weight: 400; }
.program p { max-width: 670px; margin: 0; color: var(--muted); }
.program .program-kicker { margin-bottom: 8px; color: var(--amber); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.program > a, .text-link { color: var(--paper); font-size: 12px; font-weight: 800; text-decoration-color: var(--amber); text-underline-offset: 5px; text-transform: uppercase; }

.craft { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 9vw; align-items: center; }
.craft-stage {
  aspect-ratio: 4 / 5;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(to top, rgba(5,4,3,.95), rgba(5,4,3,.14)),
    url("assets/cas-hero-rehearsal-gpt2-v01.png") 77% center / auto 100% no-repeat;
  border-left: 1px solid var(--amber);
}
.stage-line { width: 62px; height: 1px; margin-bottom: 24px; background: var(--amber); }
.craft-stage blockquote { margin: 0; max-width: 510px; font-family: var(--serif); font-size: clamp(31px, 3.2vw, 51px); line-height: 1.08; }
.stage-credit { margin-top: 22px; color: var(--amber); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.craft-copy .lede { color: var(--paper); font-family: var(--serif); font-size: 24px; line-height: 1.45; }
.craft-details { margin: 34px 0 0; border-top: 1px solid var(--line); }
.craft-details div { padding: 15px 0; display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid rgba(255,255,255,.09); }
.craft-details dt { color: var(--amber); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.craft-details dd { margin: 0; color: var(--paper); }
.text-link { display: inline-block; }

.legacy {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 9vw;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
}
.legacy-year { color: transparent; font-family: var(--serif); font-size: clamp(100px, 17vw, 260px); line-height: .8; -webkit-text-stroke: 1px rgba(224,154,49,.48); }
.legacy-copy p { font-size: 17px; }

.visit {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: 10vw;
  align-items: end;
  border-top: 1px solid var(--line);
}
.visit-address { padding: 30px 0 12px 36px; display: grid; gap: 7px; border-left: 1px solid var(--amber); color: var(--muted); font-style: normal; }
.visit-address strong { color: var(--paper); font-family: var(--serif); font-size: 29px; font-weight: 400; }

.site-footer {
  width: var(--page);
  min-height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.site-footer a { color: var(--paper); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --page: min(100% - 36px, 760px); }
  .site-header { padding-inline: 18px; }
  .nav-toggle {
    width: 46px;
    height: 46px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
  }
  .nav-toggle span:not(.sr-only) { width: 22px; height: 1px; background: white; }
  .site-nav {
    position: absolute;
    inset: 68px 0 auto;
    padding: 28px 22px 34px;
    display: grid;
    gap: 22px;
    background: rgba(8,7,6,.98);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .hero { height: 780px; max-height: 90svh; min-height: 700px; }
  .hero-media video { object-position: 64% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(5,4,3,.91), rgba(5,4,3,.47) 70%, rgba(5,4,3,.12)); }
  .hero-scroll { display: none; }
  .proof-band { grid-template-columns: 1fr 1fr; }
  .proof-band div:nth-child(2) { border-right: 0; }
  .proof-band div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .section-intro { grid-template-columns: 1fr; gap: 20px; }
  .section-intro .eyebrow { padding-top: 0; }
  .program { grid-template-columns: 60px 1fr; }
  .program > a { grid-column: 2; }
  .craft, .legacy, .visit { grid-template-columns: 1fr; gap: 58px; }
  .craft-stage { max-width: 620px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 26px 0; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; }
  .wordmark { font-size: 14px; }
  .wordmark-mark { width: 34px; height: 34px; }
  .hero { height: 760px; max-height: none; min-height: min(760px, 92svh); }
  .hero-media video { object-position: 61% center; }
  .hero-media::after { background: linear-gradient(to bottom, rgba(5,4,3,.5) 0%, rgba(5,4,3,.2) 33%, rgba(5,4,3,.89) 78%, rgba(5,4,3,.99) 100%); }
  .hero-content { padding-top: 118px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(52px, 17vw, 78px); line-height: .91; }
  .hero-copy { margin-top: 22px; font-size: 19px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { width: 100%; }
  .proof-band div { padding: 20px 13px; }
  .proof-band strong { font-size: 21px; }
  .proof-band span { font-size: 9px; }
  .section-band { padding: 88px 0; }
  h2 { font-size: 43px; }
  .program { grid-template-columns: 40px 1fr; gap: 18px; }
  .program-number { font-size: 20px; }
  .program h3 { font-size: 30px; }
  .craft-stage { padding: 28px; }
  .craft-details div { grid-template-columns: 88px 1fr; }
  .legacy-year { font-size: 38vw; }
  .visit-address { padding-left: 20px; }
  .visit-actions .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-media video { display: none; }
  .reveal { opacity: 1; transform: none; }
}
