:root {
  --navy: #071D36;
  --paper: #F3F5F4;
  --white: #FFFFFF;
  --ink: #071D36;
  --muted: #526173;
  --line: rgba(7, 29, 54, 0.24);
  --line-light: rgba(243, 245, 244, 0.34);
  --l4s: #D3FF35;
  --nis: #D9E51F;
  --ai: #FF7500;
  --shell: min(1680px, 92vw);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ai);
  outline-offset: 4px;
}
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.skip-link {
  position: fixed;
  z-index: 100;
  left: 12px;
  top: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
}
.skip-link:focus { transform: none; }
.eyebrow, .section-label, .meta, .status {
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.display {
  margin: 0;
  font-size: min(7vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}
.section-title {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-wrap: balance;
}
.subhead {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.lead {
  max-width: 760px;
  font-size: clamp(1.15rem, 1.4vw, 1.55rem);
  line-height: 1.42;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .18s ease, color .18s ease;
}
.button::after { content: "↗"; flex: none; }
.button:hover { background: var(--paper); color: var(--navy); }
.button.dark:hover { background: var(--navy); color: var(--paper); }
.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-weight: 700;
  text-underline-offset: 4px;
}
.text-link::after { content: "↗"; }

/* Header */
.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--paper);
}
.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
}
.brand { display: flex; align-items: center; min-height: 48px; }
.brand img { width: 220px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  text-decoration: none;
}
.primary-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--line-light);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #3c3e40;
  color: var(--paper);
}
.hero-media { position: absolute; inset: 0; background: #3c3e40; }
.hero-media img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,29,54,.98) 0%, rgba(7,29,54,.92) 36%, rgba(7,29,54,.45) 59%, rgba(7,29,54,.08) 82%),
    linear-gradient(0deg, rgba(7,29,54,.46), transparent 44%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 172px 82px;
}
.hero-copy { width: min(1120px, 60vw); }
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy .lead { margin: 34px 0 36px; }
.hero-id {
  position: absolute;
  z-index: 3;
  right: 4vw;
  bottom: 25px;
  text-align: right;
}

/* Intro */
.intro { padding: 112px 0 122px; }
.intro-grid {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 7vw;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.intro-copy { max-width: 920px; }
.intro-copy .lead { margin: 32px 0 0; }
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.audience {
  min-width: 0;
  padding: 34px 5vw 38px 0;
}
.audience + .audience { border-left: 1px solid var(--line); padding-left: 5vw; }
.audience .meta { display: block; margin-bottom: 22px; color: var(--muted); }
.audience p { max-width: 620px; margin: 18px 0 0; color: var(--muted); }

/* Portfolio */
.portfolio { padding: 112px 0 128px; background: var(--white); }
.section-head {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 7vw;
  padding-top: 22px;
  margin-bottom: 80px;
  border-top: 1px solid var(--line);
}
.brand-list { border-top: 1px solid var(--line); }
.brand-row {
  display: grid;
  grid-template-columns: 58px minmax(240px,.72fr) minmax(0,1.28fr) auto;
  gap: 34px;
  align-items: center;
  min-height: 190px;
  border-bottom: 1px solid var(--line);
}
.brand-row .index { font-size: .72rem; color: var(--muted); }
.brand-logo-box {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 280 / 104;
  overflow: hidden;
}
.brand-logo {
  position: absolute;
  left: 0;
  top: 50%;
  width: auto;
  max-width: none;
  height: auto;
}
.logo-l4s { width: 94%; transform: translateY(-50%); }
.family-wordmark {
  --family-accent: var(--nis);
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  color: var(--navy);
  line-height: 1;
  transform: translateY(-42%);
  transform-origin: left center;
}
.brand-row.ai .family-wordmark { --family-accent: var(--ai); }
.family-lockup { display: flex; align-items: flex-start; }
.family-main {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .78;
}
.family-act { margin-left: .2em; }
.family-ready {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 85px;
  block-size: 39px;
  margin-left: 4px;
  padding: 0;
  background: var(--family-accent);
  color: var(--navy);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  transform: translateY(-14px);
}
.family-sub {
  margin-top: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-row p { max-width: 720px; margin: 0; color: var(--muted); }
.brand-row .text-link { white-space: nowrap; }
.brand-row .status { grid-column: 4; white-space: nowrap; text-align: right; color: var(--muted); }
.brand-row.l4s { box-shadow: inset 5px 0 0 var(--l4s); padding-left: 18px; }
.brand-row.nis { box-shadow: inset 5px 0 0 var(--nis); padding-left: 18px; }
.brand-row.ai { box-shadow: inset 5px 0 0 var(--ai); padding-left: 18px; }

/* Collaboration */
.collaboration { padding: 112px 0 128px; }
.project-list { margin-top: 78px; border-top: 1px solid var(--line); }
.project-row {
  display: grid;
  grid-template-columns: 58px minmax(220px,.7fr) minmax(0,1fr) auto;
  gap: 34px;
  align-items: start;
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--line);
}
.project-row .index { font-size: .72rem; color: var(--muted); padding-top: 8px; }
.project-row h3 { margin: 0; font-size: min(2.6vw,3rem); line-height: 1; letter-spacing: -.035em; }
.project-row p { margin: 0; max-width: 720px; color: var(--muted); }
.project-row .status { padding-top: 8px; text-align: right; }
.status.dev { color: #8b4c00; }

/* Method */
.method { padding: 112px 0 128px; background: var(--navy); color: var(--paper); }
.method .section-head { border-color: var(--line-light); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.step { padding: 30px 4vw 8px 0; min-width: 0; }
.step + .step { border-left: 1px solid var(--line-light); padding-left: 4vw; }
.step .index { display: block; margin-bottom: 50px; font-size: .72rem; opacity: .7; }
.step h3 { margin: 0 0 20px; font-size: clamp(1.8rem,3vw,3.5rem); line-height: 1; letter-spacing: -.04em; }
.step p { margin: 0; max-width: 500px; color: rgba(243,245,244,.76); }
.method-note { margin: 62px 0 0; max-width: 900px; font-size: .92rem; color: rgba(243,245,244,.68); }

/* Book */
.book { padding: 112px 0; background: var(--navy); color: var(--paper); border-top: 1px solid var(--line-light); }
.book-grid { display: grid; grid-template-columns: minmax(280px,.58fr) minmax(0,1.42fr); gap: 10vw; align-items: center; }
.book-cover { width: min(100%, 440px); justify-self: center; filter: drop-shadow(0 24px 25px rgba(0,0,0,.27)); }
.book .section-title { margin: 20px 0 28px; }
.book .lead { margin: 0 0 34px; color: rgba(243,245,244,.82); }
.book-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.book-meta span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }

/* Authority */
.authority { padding: 112px 0 128px; }
.authority-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; align-items: start; }
.authority .section-title { position: sticky; top: 36px; }
.credentials { border-top: 1px solid var(--line); }
.credential { padding: 30px 0; border-bottom: 1px solid var(--line); }
.credential .meta { display: block; margin-bottom: 14px; color: var(--muted); }
.credential h3 { margin: 0 0 15px; font-size: clamp(1.45rem,2.4vw,2.65rem); line-height: 1.05; letter-spacing: -.03em; }
.credential p { margin: 0; color: var(--muted); }
.credential .text-link { margin-top: 18px; }
.boundary { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }

/* Contact */
.contact { padding: 112px 0 120px; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 7vw; border-top: 1px solid var(--line); padding-top: 22px; }
.contact-copy .section-title { margin-bottom: 32px; }
.contact-copy .lead { margin: 0 0 34px; }
.contact-options { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 28px; color: var(--muted); }

/* Footer */
.site-footer { padding: 56px 0 34px; background: var(--navy); color: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.footer-brand img { width: 210px; }
.footer-brand p { max-width: 520px; margin: 26px 0 0; color: rgba(243,245,244,.7); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; }
.footer-nav h2 { margin: 0 0 16px; font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; }
.footer-nav a { display: block; width: fit-content; margin: 9px 0; text-underline-offset: 4px; }
.footer-bottom { margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 28px; font-size: .78rem; color: rgba(243,245,244,.68); }

/* Legal pages */
.legal-page .site-header { position: static; background: var(--navy); }
.legal-main { padding: 88px 0 120px; }
.legal-head { max-width: 980px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-head .display { font-size: clamp(3.4rem,7vw,7rem); }
.legal-content { max-width: 940px; padding-top: 38px; }
.legal-content h2 { margin: 54px 0 15px; font-size: clamp(1.6rem,3vw,2.7rem); line-height: 1.05; letter-spacing: -.03em; }
.legal-content h3 { margin: 30px 0 10px; font-size: 1.15rem; }
.legal-content p, .legal-content li { color: #32465d; }
.legal-content dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; }
.legal-content dt { font-weight: 700; }
.legal-content dd { margin: 0; }
.legal-content .notice { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 48px, 1680px); }
  .brand-row, .project-row { grid-template-columns: 44px minmax(200px,.65fr) minmax(0,1fr); }
  .brand-row .text-link, .brand-row .status, .project-row .status { grid-column: 3; }
  .brand-row .text-link, .brand-row .status { margin-bottom: 26px; }
  .project-row .status { text-align: left; padding-top: 0; }
  .authority-grid { gap: 6vw; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 40px, 1680px); }
  body { font-size: 16px; }
  .site-header { position: absolute; }
  .header-inner { min-height: 82px; }
  .brand img { width: 182px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    z-index: 19;
    inset: 82px 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 18px 20px 28px;
    background: var(--navy);
    border-bottom: 1px solid var(--line-light);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line-light); }
  .hero-media img {
    right: 50%;
    transform: translateX(50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-media::after { background: linear-gradient(0deg, rgba(7,29,54,.97) 0%, rgba(7,29,54,.82) 54%, rgba(7,29,54,.16) 100%); }
  .hero-inner { align-items: flex-end; padding: 140px 0 48px; }
  .hero-copy { width: 100%; }
  .hero-copy .eyebrow { margin-bottom: 18px; }
  .display { font-size: clamp(2.05rem,9.5vw,3rem); line-height: .92; letter-spacing: -.055em; }
  .section-title { font-size: clamp(1.75rem,8vw,2.55rem); }
  .hero-copy .display { max-width: 360px; }
  .hero-copy .lead { max-width: 360px; margin: 19px 0 21px; font-size: 1rem; line-height: 1.36; }
  .hero-copy .button { width: 100%; background: rgba(7,29,54,.25); font-size: .88rem; }
  .hero-id { display: none; }
  .intro, .portfolio, .collaboration, .method, .book, .authority, .contact { padding: 76px 0 82px; }
  .intro-grid, .section-head, .contact-grid { display: block; }
  .intro-copy, .section-head .section-title, .contact-copy { margin-top: 26px; }
  .audience-grid { display: block; margin-top: 54px; }
  .audience { padding: 28px 0 32px; }
  .audience + .audience { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .section-head { margin-bottom: 52px; }
  .brand-row, .project-row { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 12px 10px; padding: 26px 0; min-height: 0; }
  .brand-row.l4s, .brand-row.nis, .brand-row.ai { padding-left: 12px; }
  .brand-logo-box, .project-row h3 { grid-column: 2; }
  .brand-row p, .project-row p { grid-column: 2; }
  .brand-row .text-link, .brand-row .status, .project-row .text-link, .project-row .status { grid-column: 2; margin: 4px 0 0; }
  .brand-row .status { text-align: left; }
  .text-link, .contact-options a, .footer-nav a { min-height: 44px; align-items: center; }
  .brand-logo-box { width: min(260px,100%); margin-bottom: 10px; }
  .project-row h3 { font-size: 1.65rem; }
  .steps { display: block; }
  .step { padding: 28px 0 34px; border-bottom: 1px solid var(--line-light); }
  .step + .step { border-left: 0; padding-left: 0; }
  .step .index { margin-bottom: 25px; }
  .method-note { margin-top: 38px; }
  .book-grid, .authority-grid { display: block; }
  .book-cover { width: min(62vw,280px); margin: 0 auto 54px; }
  .book .section-title { font-size: clamp(2.7rem,12vw,4rem); }
  .book .lead { font-size: 1.08rem; }
  .authority .section-title { position: static; margin-bottom: 54px; }
  .contact-options { display: block; }
  .contact-options a { display: block; margin: 12px 0; }
  .footer-top, .footer-nav { grid-template-columns: 1fr; }
  .footer-nav { margin-top: 42px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin: 8px 0; }
  .legal-page .site-header { position: static; }
  .legal-main { padding: 62px 0 82px; }
  .legal-content dl { grid-template-columns: 1fr; }
  .legal-content dd { margin-bottom: 10px; }
}

@media (max-width: 360px) {
  :root { --shell: min(100% - 32px, 1680px); }
  .display { font-size: 2.05rem; }
  .button { width: 100%; min-width: 0; gap: 10px; padding-inline: 16px; }
  .book .section-title { font-size: 2.5rem; }
  .family-wordmark { transform: translateY(-42%) scale(.88); }
}

@media (max-height: 640px) and (max-width: 820px) {
  .hero-inner { padding-top: 112px; padding-bottom: 22px; }
  .hero-copy .eyebrow { margin-bottom: 10px; }
  .hero-copy .display { font-size: clamp(1.95rem,8.2vw,2.25rem); }
  .hero-copy .lead { font-size: .9rem; margin: 12px 0 14px; }
  .hero-copy .button { min-height: 48px; }
}

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

@media print {
  .menu-toggle, .primary-nav, .button { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .hero { min-height: auto; background: #fff; color: #000; }
  .hero-media { display: none; }
  .hero-inner { min-height: auto; padding: 40px 0; }
  .hero-copy { width: 100%; }
  .method, .book, .site-footer { background: #fff; color: #000; }
}