* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 4.75rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 Arial, Helvetica, sans-serif; }
a { color: var(--gold-2); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible { outline: 0.2rem solid var(--gold-2); outline-offset: 0.2rem; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: "Arial Narrow", Arial, Helvetica, sans-serif; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 6.8rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3.3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 var(--s-3); }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.u-skip { position: fixed; z-index: 100; left: 1rem; top: -8rem; padding: 0.8rem 1rem; background: var(--gold-2); color: var(--bg); font-weight: 700; }
.u-skip:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line-b); background: rgba(2, 11, 19, 0.94); backdrop-filter: blur(1rem); }
.nav { min-height: 5rem; display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: center; }
.brand { display: grid; text-decoration: none; color: var(--text); line-height: 1.1; }
.brand strong { color: var(--gold-2); font: 700 1.2rem/1 "Arial Narrow", Arial, sans-serif; letter-spacing: 0.03em; }
.brand span { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
.nav-links { display: flex; justify-content: center; gap: 1.05rem; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.86rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: 0.65rem 1rem; border: 1px solid var(--line); border-radius: 0.25rem; color: var(--text); text-decoration: none; font-weight: 700; }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn.dark { background: var(--bg); border-color: var(--line); color: var(--text); }
.btn.quiet { border-color: var(--line-b); }
.action-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: var(--s-4); }

.hero, .page-hero { background: radial-gradient(circle at 85% 20%, rgba(216,166,75,.12), transparent 34%), linear-gradient(180deg, var(--shell), var(--bg)); border-bottom: 1px solid var(--line-b); }
.hero { padding: clamp(1.6rem, 3.5vw, 3.15rem) 0 clamp(1.95rem, 4.3vw, 3.75rem); }
.page-hero { padding: clamp(1.65rem, 3.8vw, 2.75rem) 0; }
.page-hero .container > p:last-child { max-width: 52rem; color: var(--muted); margin-bottom: 0; }
.page-hero h1 { max-width: 30ch; font-size: clamp(1.95rem, 3.2vw, 3rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(17rem, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.home-page .hero h1 { font-size: clamp(2.35rem, 4.6vw, 4.45rem); }
.kicker, .stage-label, .service-code, .u-status-label { color: var(--gold-2); font: 700 0.75rem/1.3 "Arial Narrow", Arial, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.lede { margin-top: var(--s-4); color: var(--muted); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); max-width: 50rem; }
.home-page .hero .lede { color: var(--gold-2); }
.operating-summary, .u-status { background: linear-gradient(145deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-4); }
.operating-summary h2 { font-size: 1.5rem; margin-bottom: var(--s-3); }
.home-page .operating-summary { align-self: center; }
.home-page .operating-summary h2 { color: var(--gold-2); font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; }
.operating-summary dl { margin: 0; }
.operating-summary dt { color: var(--gold-2); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.operating-summary dd { margin: .15rem 0 .85rem; color: var(--muted); }
.operating-summary dd:last-child { margin-bottom: 0; }

.section { padding: clamp(2.8rem, 6vw, 5.2rem) 0; }
.section.compact { padding-block: clamp(2.2rem, 4.4vw, 3.5rem); }
.section.sunken { background: var(--shell); border-block: 1px solid var(--line-b); }
.spine { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: clamp(1.6rem, 4.5vw, 3.5rem); }
.spine-mark { border-top: 1px solid var(--line); padding-top: .65rem; display: grid; gap: .2rem; align-content: start; color: var(--muted); font-size: .82rem; }
.spine-mark b { color: var(--gold-2); text-transform: uppercase; letter-spacing: .12em; }
.section-head { max-width: 52rem; margin-bottom: 1.55rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.15vw, 3.05rem); }
.section-head .kicker { margin-bottom: .7rem; }
.section-head > p:last-child, .prose { color: var(--muted); }
.prose { max-width: 48rem; }

.lattice, .service-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; }
.lattice-item, .service { background: var(--panel-2); border: 1px solid var(--line-b); border-radius: var(--radius); padding: 1.3rem; }
.lattice-item h3, .service h3 { margin-bottom: .55rem; }
.lattice-item p, .service p { color: var(--muted); }
.service-head { margin-bottom: .85rem; }
.service-block { margin-top: 2rem; }
.service-block > .kicker { margin-bottom: .8rem; }

.architecture-feature, .industry-feature { margin-top: 1.75rem; padding: clamp(1.3rem, 3vw, 2rem); background: rgba(6,36,59,.5); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-head { max-width: 50rem; margin-bottom: 1.1rem; }
.feature-head h3 { font-size: clamp(1.5rem, 2.7vw, 2.35rem); margin: .45rem 0 .7rem; }
.feature-head p:last-child { color: var(--muted); }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.system-item { padding: 1rem 1.1rem; border-top: 1px solid var(--line-b); }
.system-item h3, .system-item h4 { margin-bottom: .45rem; }
.system-item p { color: var(--muted); margin: 0; }
.industry-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.industry-list li { padding: .55rem .75rem; border: 1px solid var(--line-b); border-radius: .35rem; background: var(--panel-2); color: var(--muted); font-size: .92rem; }
.qualification-note { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; max-width: 52rem; }

.stages { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.stage { display: grid; grid-template-columns: 4rem 1fr; gap: .9rem; background: var(--panel-2); border: 1px solid var(--line-b); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.stage h2, .stage h3 { margin-bottom: .4rem; }
.stage p { color: var(--muted); max-width: 72ch; }
.diff { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(15rem,.6fr); gap: 1rem; padding: var(--s-4); border-top: 1px solid var(--line-b); }
.example { border-left: 1px solid var(--line); padding-left: var(--s-4); color: var(--muted); }
.invitation, .assessment-home-card { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(15rem,.65fr); gap: 1.6rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3.5vw, 2.2rem); }
.invitation > div:first-child, .assessment-home-card > div:first-child { max-width: 48rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; color: var(--muted); }
.checklist li { padding-left: 1rem; border-left: 2px solid var(--gold); }
.u-status { max-width: 66rem; }
.u-status h2 { font-size: clamp(1.5rem, 2.7vw, 2.2rem); margin: .55rem 0; }
.u-status p { color: var(--muted); max-width: 72ch; }

.company-masthead { padding: clamp(2.45rem, 5vw, 4.4rem) 0 clamp(2.1rem, 4vw, 3.25rem); border-bottom: 1px solid var(--line-b); background: var(--bg); }
.company-measure { max-width: 64rem; }
.company-masthead .kicker { margin-bottom: .85rem; }
.company-masthead h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.25vw, 4.15rem); }
.company-deck { max-width: 58rem; margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.company-editorial { width: min(calc(100% - 2rem), 58rem); margin-inline: auto; padding-block: clamp(2.4rem, 5vw, 4.5rem); }
.company-editorial section { padding-block: clamp(1.55rem, 3vw, 2.4rem); border-top: 1px solid var(--line-b); }
.company-editorial section:first-child { padding-top: 0; border-top: 0; }
.company-editorial .kicker { margin-bottom: .7rem; }
.company-editorial h2 { max-width: 26ch; margin-bottom: 1rem; font-size: clamp(1.65rem, 2.7vw, 2.45rem); }
.company-editorial p { max-width: 74ch; color: var(--muted); }
.company-editorial .company-summary { color: var(--text); font-size: 1.08rem; }
.company-editorial section:last-child { padding-bottom: 0; }

.privacy-shell { padding: clamp(2.65rem, 5.2vw, 3.9rem) 0; }
.privacy-section { margin-bottom: 2.25rem; }
.privacy-section-title { font: var(--t-heading-3); margin: 0 0 var(--s-3); }
.privacy-return { margin-top: 2.25rem; }

.footer { padding: 2.6rem 0 1.5rem; border-top: 1px solid var(--line); background: var(--shell); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(8rem,.8fr) minmax(9rem,.9fr); gap: 1.5rem; align-items: start; }
.footer h2 { font-size: 1.15rem; margin-bottom: .65rem; }
.footer-brand { color: var(--gold-2); text-decoration: none; }
.footer-brand:hover { color: var(--text); }
.footer-note, .footer-legal { color: var(--muted); }
.footer-note { max-width: 32rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-legal { border-top: 1px solid var(--line-b); margin-top: 1.5rem; padding-top: 1rem; font-size: .82rem; }
.footer-legal p { margin-bottom: .65rem; }

@media (max-width: 56rem) {
  .invitation, .diff, .assessment-home-card { grid-template-columns: 1fr; }
  .spine { grid-template-columns: 1fr; }
  .spine-mark { grid-template-columns: auto 1fr; }
  .footer-grid { grid-template-columns: minmax(0,1.3fr) minmax(7.5rem,.8fr) minmax(8.5rem,.9fr); gap: 1rem; }
}

@media (min-width: 43.01rem) and (max-width: 56rem) {
  .nav { min-height: 4.1rem; gap: .75rem; }
  .brand strong { font-size: .98rem; }
  .brand span { font-size: .58rem; }
  .nav-links { gap: .55rem; }
  .nav-links a { font-size: .72rem; }
  .site-header .btn { min-height: 2.35rem; padding: .45rem .65rem; font-size: .76rem; }

  .hero { padding: 1.05rem 0 1.25rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.28fr) minmax(13.25rem, .72fr); gap: 1.15rem; }
  .home-page .hero h1 { font-size: clamp(2.15rem, 4.6vw, 2.75rem); }
  .home-page .hero .lede { margin-top: .7rem; font-size: .96rem; line-height: 1.35; }
  .home-page .hero .prose { max-width: 34rem; font-size: .79rem; line-height: 1.4; }
  .home-page .hero .prose p { margin-bottom: .6rem; }
  .home-page .hero .action-row { margin-top: .65rem; }
  .home-page .hero .btn { min-height: 2.2rem; padding: .4rem .65rem; font-size: .76rem; }
  .home-page .operating-summary { padding: .9rem; }
  .home-page .operating-summary h2 { margin-bottom: .55rem; font-size: .9rem; }
  .home-page .operating-summary dt { font-size: .61rem; }
  .home-page .operating-summary dd { margin: .06rem 0 .45rem; font-size: .73rem; line-height: 1.28; }

  .page-hero { padding-block: 1.45rem; }
  .page-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.55rem); }
  .section { padding-block: 3rem; }
  .section.compact { padding-block: 2.3rem; }
  .company-masthead { padding-block: 2.3rem 1.9rem; }
  .company-masthead h1 { font-size: clamp(2.15rem, 5vw, 3rem); }
  .company-editorial { padding-block: 2.5rem; }
  .footer { padding-top: 2rem; }
  .footer-note, .footer-links, .footer-legal { font-size: .78rem; }
  .footer h2 { font-size: 1rem; }
}

@media (max-width: 43rem) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { grid-column: 1 / -1; justify-content: flex-start; padding-bottom: .7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .page-hero { padding-block: 1.45rem; }
  .section { padding-block: 2.65rem; }
  .section.compact { padding-block: 2.1rem; }
  .system-grid { grid-template-columns: 1fr; }
  .company-masthead { padding-block: 2.1rem 1.8rem; }
  .company-masthead h1 { max-width: none; font-size: clamp(2rem, 8.5vw, 3rem); }
  .company-deck { font-size: 1rem; }
  .company-editorial { padding-block: 2.2rem; }
  .company-editorial section { padding-block: 1.45rem; }
}

@media (max-width: 38rem) {
  .container { width: min(calc(100% - 1.25rem), var(--max)); }
  .site-header .btn { display: none; }
  .nav { grid-template-columns: 1fr; gap: .5rem; padding-block: .7rem; }
  .nav-links { grid-column: auto; gap: .6rem .75rem; }
  .nav-links a { font-size: .78rem; }
  .lattice, .service-list, .footer-grid { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; padding: 1rem; gap: .45rem; }
  .stages { gap: .65rem; }
  .lattice-item, .service { padding: 1.05rem; }
  .architecture-feature, .industry-feature { padding: 1.05rem; }
  .system-item { padding: .85rem 0; }
  .industry-list { gap: .45rem; }
  .industry-list li { width: 100%; padding: .5rem .65rem; }
  .invitation, .assessment-home-card { padding: 1.15rem; gap: 1.2rem; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.75rem); }
  .page-hero h1 { max-width: none; font-size: clamp(1.85rem, 8.4vw, 2.45rem); }
  .company-editorial { width: min(calc(100% - 1.25rem), 58rem); }
  .privacy-shell { padding-block: 2.2rem; }
  .privacy-section { margin-bottom: 1.8rem; }
  .footer { padding-top: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
