:root {
  color-scheme: dark;
  --ink: #0a0d14;
  --panel: #101621;
  --paper: #f3f5f8;
  --muted: #aeb9ca;
  --gold: #e5bd76;
  --blue: #a0c9ff;
  --line: #283447;
  --head: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.55 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--head); }
section[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.shell { width: min(1180px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 2; padding: .7rem 1rem; background: var(--gold); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

.site-header { background: #0b0e15; border-bottom: 1px solid #232e3d; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .68rem; color: #f4f4f2; font: 700 1.6rem/.9 var(--head); letter-spacing: .055em; text-decoration: none; }
.brand small { display: block; margin-top: .37rem; color: var(--gold); font: 700 .7rem/1 var(--body); letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; color: var(--gold); border: 1px solid #806746; font: 400 1.55rem/1 Georgia, serif; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.5rem); }
nav a, .footer-inner > a:last-child { color: var(--muted); font-size: .875rem; font-weight: 700; text-decoration: none; }
nav a:hover, .footer-inner > a:last-child:hover { color: var(--gold); }
nav .nav-demo { border: 1px solid #806746; color: var(--gold); padding: .61rem .88rem; }
nav .nav-demo:hover { background: #302619; }

.hero { overflow: hidden; border-bottom: 1px solid #394357; background: radial-gradient(ellipse at 81% 22%, #152541 0%, #101824 32%, #0a0d14 68%); }
.hero-inner { min-height: 38rem; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 1rem; padding-block: 4.5rem 5rem; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--gold); font-size: .875rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow > span { width: 2.25rem; height: 1px; background: var(--gold); }
h1 { margin-block: 1.25rem 1.4rem; font-size: clamp(3.45rem, 6vw, 5.15rem); line-height: .91; letter-spacing: -.025em; font-weight: 800; text-transform: uppercase; }
h1 em { color: var(--gold); font-style: normal; }
.hero-description { max-width: 30rem; color: #bfcbdb; font-size: clamp(1.06rem, 1.5vw, 1.23rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; padding: .78rem 1.15rem; border: 1px solid transparent; text-decoration: none; font-size: .93rem; font-weight: 700; }
.button-gold { background: var(--gold); color: #17120b; }
.button-gold:hover { background: #f6d596; }
.button-outline { border-color: #4f6079; background: #0d1422; color: var(--paper); }
.button-outline:hover { border-color: var(--blue); }
.badge-stage { position: relative; isolation: isolate; min-width: 0; display: grid; place-items: center; aspect-ratio: 1.13; mix-blend-mode: screen; }
.badge-stage::before { content: ''; position: absolute; inset: 5% 2%; z-index: -2; background: radial-gradient(ellipse at center, #4d6e9b59, transparent 67%); }
.stage-grid { position: absolute; inset: 1.2rem .25rem; z-index: -1; opacity: .8; background: repeating-linear-gradient(90deg, #9ab9e61c 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, #9ab9e61c 0 1px, transparent 1px 44px); mask-image: radial-gradient(ellipse, #000 15%, transparent 75%); }
.stage-corners { position: absolute; inset: 1.2rem .25rem; background: linear-gradient(var(--gold), var(--gold)) left top/20px 1px, linear-gradient(var(--gold), var(--gold)) left top/1px 20px, linear-gradient(var(--gold), var(--gold)) right bottom/20px 1px, linear-gradient(var(--gold), var(--gold)) right bottom/1px 20px; background-repeat: no-repeat; opacity: .65; }
.badge-crop { width: 94%; aspect-ratio: 589 / 404; overflow: hidden; }
.badge-crop img { width: 100%; height: auto; transform: translateY(-34.35%); }

h2 { margin-top: .64rem; font-size: clamp(3rem, 5.5vw, 5.05rem); line-height: .92; font-weight: 800; letter-spacing: -.01em; }
.program { padding-block: clamp(3.7rem, 7vw, 6.25rem); background: #101620; }
.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 2rem; margin-bottom: 2.65rem; }
.section-intro > p { max-width: 30rem; color: var(--muted); padding-bottom: .3rem; font-size: 1.08rem; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: #121b29; }
.pillars article { padding: 1.45rem 1.4rem 1.65rem; border-top: 2px solid #ad8b55; }
.pillars article + article { border-left: 1px solid var(--line); }
.pillar-letter { color: var(--gold); display: block; font: 700 3.25rem/.95 var(--head); }
.pillars h3 { margin-block: .7rem .28rem; font-size: 1.95rem; line-height: 1; }
.pillars p { color: var(--muted); }

.walkthrough { padding-block: clamp(4rem, 8vw, 7rem); background: radial-gradient(ellipse at 65% 20%, #14223b, transparent 60%), #0a0e17; border-block: 1px solid var(--line); }
.walkthrough-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.walkthrough-copy > p:not(.eyebrow) { margin-top: 1.25rem; max-width: 29rem; color: var(--muted); }
.workflow-nav { display: grid; gap: .48rem; margin-top: 1.6rem; max-width: 24rem; }
.workflow-nav a { display: block; padding: .68rem .95rem; border: 1px solid #34445e; border-left: 3px solid #34445e; background: #101927; color: var(--muted); text-decoration: none; font-weight: 600; }
.workflow-nav a:hover { color: var(--paper); border-color: #7390b7; }
.workflow-nav a[aria-selected='true'] { color: #f3d39a; background: #292319; border-color: #7d6746; border-left-color: var(--gold); }
.example { overflow: hidden; border: 1px solid #3b4b62; background: #101825; box-shadow: 0 20px 55px #05091066; }
.example-header { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .93rem clamp(1rem, 3vw, 2rem); background: #182336; border-bottom: 1px solid #3b4b62; font-weight: 700; }
.example-tag { padding: .15rem .55rem; color: var(--blue); border: 1px solid #496187; font-size: .875rem; font-weight: 600; }
.example-content { padding: clamp(1.25rem, 4vw, 2.25rem); scroll-margin-top: 2rem; }
.example-content + .example-content { border-top: 1px solid var(--line); }
.example-content[hidden] { display: none; }
.record-role { color: var(--blue); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.example h3 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin-block: .4rem .85rem; }
.example-content > p:not(.record-role) { color: #c6d0df; min-height: 3.1rem; }
.example dl { margin-top: 1.45rem; }
.example dl div { display: grid; grid-template-columns: minmax(8rem, .8fr) 1.2fr; gap: .85rem; padding-block: .73rem; border-top: 1px solid #314057; }
.example dt { color: var(--muted); }
.example dd { font-weight: 700; }

.roles { padding-block: clamp(3.7rem, 7vw, 6.5rem); background: #101620; }
.roles-inner { display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch; gap: clamp(1.65rem, 6vw, 5.5rem); }
.role-photo { min-height: 23rem; overflow: hidden; position: relative; border: 1px solid #485266; background: #1a2436; }
.role-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.role-photo::after { position: absolute; inset: 0; content: ''; box-shadow: inset 0 -50px 100px #09101b50; pointer-events: none; }
.role-list { margin-top: 1.4rem; }
.role-list div { border-top: 1px solid #344155; padding-block: .64rem; }
.role-list dt { font-weight: 700; color: var(--gold); }
.role-list dd { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #0a0e15; }
.footer-inner { min-height: 6.55rem; padding-block: 1.2rem; }
.footer-inner p { color: var(--muted); }

@media (max-width: 950px) {
  .shell { width: min(100% - 3rem, 1180px); }
  .hero-inner { min-height: 34rem; }
  .hero h1 { font-size: clamp(3.05rem, 6.45vw, 4.9rem); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars article:nth-child(3) { border-left: 0; }
}

@media (max-width: 690px) {
  .shell { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 4.35rem; gap: .55rem; }
  nav { gap: .7rem; }
  nav a:not(.nav-demo) { display: none; }
  .hero-inner, .section-intro, .walkthrough-inner, .roles-inner { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 3.15rem 1.7rem; gap: 1.45rem; }
  .hero h1 { font-size: clamp(2.6rem, 11.7vw, 4.7rem); }
  .badge-stage { width: min(100%, 30rem); margin-inline: auto; aspect-ratio: 1.35; }
  .badge-crop { width: 89%; }
  .actions { margin-top: 1.5rem; gap: .55rem; }
  .button { padding-inline: .82rem; }
  .section-intro { gap: 1.1rem; margin-bottom: 1.6rem; }
  .pillars article { padding: 1.05rem .83rem 1.25rem; }
  .pillars h3 { font-size: 1.7rem; }
  .example dl div { grid-template-columns: 1fr; gap: .05rem; }
  .role-photo { min-height: 16rem; }
  .footer-inner { flex-wrap: wrap; align-items: center; gap: 1rem; }
  .footer-inner p { order: 1; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
