:root {
  --ink: #071536;
  --ink-soft: #182541;
  --muted: #5a6680;
  --accent: #064ee8;
  --accent-dark: #003dbd;
  --line: #dce2ed;
  --line-strong: #b8c4d8;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --max: 1360px;
  --reading: 820px;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--accent);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
}

.header-inner, .section-inner, .footer-inner {
  width: min(calc(100% - 72px), var(--max));
  margin: 0 auto;
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.wordmark {
  text-decoration: none;
  font-size: 1.04rem;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .082em;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.site-nav a {
  text-decoration: none;
  font-size: .94rem;
  font-weight: 560;
  padding: 9px 0 7px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.eyebrow, .list-label, .resource-number, .section-index {
  margin: 0;
  color: var(--accent);
  font-size: .74rem;
  line-height: 1.4;
  font-weight: 760;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
  padding: 58px 0 70px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: clamp(4rem, 6.25vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 760;
}
.hero-lede {
  max-width: 570px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
  line-height: 1.58;
}
.hero-art { margin: 0; position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 2% 4% 13%;
  background: radial-gradient(circle at center, rgba(6, 78, 232, .11), rgba(6, 78, 232, 0) 66%);
}
.hero-art img { width: 100%; height: auto; filter: saturate(.92) contrast(1.02); }

.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: .96rem;
  font-weight: 680;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.button.primary { color: white; background: var(--accent); }
.button:hover { transform: translateY(-2px); }
.button.primary:hover { background: var(--accent-dark); }
.button:not(.primary):hover { background: #eef4ff; }

.purpose { padding: 62px 0 70px; border-bottom: 1px solid var(--line); }
.purpose-grid { display: grid; grid-template-columns: 110px minmax(0, 720px); gap: 26px; }
.purpose-copy { padding-left: 34px; border-left: 2px solid var(--accent); }
.purpose h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -.042em;
}
.purpose p, .portfolio-copy, .resource p, .legal-intro {
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.66;
}
.purpose p { margin: 14px 0 0; }

.story-section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); gap: clamp(55px, 9vw, 138px); align-items: center; }
.story-art { margin: 0; overflow: hidden; background: var(--soft); }
.story-art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.story-copy h2, .portfolio h2, .resources h2, .section-heading-row h2, .identity-copy h2, .about-contact h2 {
  margin: 18px 0 0;
  font-size: clamp(2.7rem, 4.8vw, 5rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.story-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.05rem; line-height: 1.72; }
.story-copy .story-lede { margin: 30px 0 12px; color: var(--ink-soft); font-size: 1.32rem; line-height: 1.55; }
.arrow-link { display: inline-flex; gap: 11px; align-items: center; margin-top: 17px; color: var(--accent); text-decoration: none; font-weight: 680; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.principles-section, .about-approach { padding: 106px 0 112px; border-bottom: 1px solid var(--line); }
.section-heading-row { display: grid; grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr); gap: 42px; align-items: end; }
.section-heading-row h2 { margin-top: 0; max-width: 880px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 66px; border-top: 1px solid var(--line-strong); }
.principle { min-height: 300px; padding: 28px clamp(24px, 3vw, 46px) 30px 0; }
.principle + .principle { border-left: 1px solid var(--line-strong); padding-left: clamp(24px, 3vw, 46px); }
.principle > span { color: var(--accent); font-size: .76rem; font-weight: 760; letter-spacing: .14em; }
.principle h3 { margin: 66px 0 17px; font-size: clamp(1.45rem, 2vw, 2rem); letter-spacing: -.025em; }
.principle p { max-width: 330px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }

.portfolio { padding: 112px 0 120px; border-bottom: 1px solid var(--line); background: var(--ink); color: white; }
.portfolio-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: clamp(60px, 9vw, 140px); }
.portfolio h2 { margin-top: 18px; }
.portfolio-copy { max-width: 610px; margin: 26px 0 0; color: #c5cde0; }
.product-status { align-self: end; }
.product-status .list-label { color: #8eb1ff; }
.product-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.3); }
.product-list li { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.3); font-size: clamp(1.15rem, 1.75vw, 1.55rem); }
.product-list li span:last-child { color: #8eb1ff; }

.resources { padding: 102px 0 110px; background: var(--soft); border-bottom: 1px solid var(--line); }
.section-heading-row.compact h2 { font-size: clamp(2.5rem, 4vw, 4.25rem); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 58px; border-top: 1px solid var(--line-strong); }
.resource { min-height: 280px; padding: 27px clamp(24px, 3vw, 44px) 22px 0; }
.resource + .resource { border-left: 1px solid var(--line-strong); padding-left: clamp(24px, 3vw, 44px); }
.resource h3 { margin: 52px 0 0; font-size: 1.55rem; letter-spacing: -.025em; }
.resource > p:not(.resource-number) { min-height: 60px; margin: 15px 0 14px; color: var(--muted); font-size: 1rem; }

.page-main { min-height: 68vh; }
.page-hero { padding: 82px 0 46px; }
.page-title {
  margin: 0;
  font-size: clamp(4rem, 7.5vw, 7.6rem);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 760;
}
.legal-intro { max-width: 790px; margin: 26px 0 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, var(--reading)) minmax(120px, 1fr); gap: 90px; padding-bottom: 100px; }
.content-rail { border-top: 1px solid var(--line-strong); }
.content-section { padding: 31px 0 34px; border-bottom: 1px solid var(--line-strong); }
.content-section h2 { margin: 0 0 14px; font-size: 1.65rem; letter-spacing: -.02em; }
.content-section h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.content-section p, .content-section li { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.72; }
.content-section p { margin: 0 0 14px; }
.content-section ul { margin: 12px 0; padding-left: 22px; }
.side-arrow { margin-top: 46px; color: var(--accent); }
.side-arrow svg { width: min(100%, 220px); }
.text-link { color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1px; font-weight: 620; }

.contact-lines { display: grid; gap: 0; }
.contact-row { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-row strong { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.contact-note { margin: 0 0 28px; color: var(--muted); line-height: 1.65; }

.about-hero { padding: 104px 0 118px; border-bottom: 1px solid var(--line); }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(50px, 8vw, 130px); align-items: end; }
.about-hero h1 { margin: 22px 0 0; max-width: 940px; font-size: clamp(4rem, 7.3vw, 7.5rem); line-height: .93; letter-spacing: -.06em; }
.about-intro { margin: 0 0 5px; color: var(--ink-soft); font-size: clamp(1.15rem, 1.6vw, 1.42rem); line-height: 1.6; }
.about-story { padding: 95px 0 104px; border-bottom: 1px solid var(--line); }
.about-story-grid { display: grid; grid-template-columns: 110px minmax(0, 900px); gap: 26px; }
.about-story-grid > div { padding-left: 34px; border-left: 2px solid var(--accent); }
.about-story h2 { margin: 18px 0 0; max-width: 800px; font-size: clamp(2.6rem, 4.5vw, 4.7rem); line-height: 1; letter-spacing: -.05em; }
.about-story div > p:last-child { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.72; }
.identity-section { padding: 108px 0; border-bottom: 1px solid var(--line); background: var(--soft); }
.identity-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(60px, 10vw, 160px); }
.identity-copy p:last-child { max-width: 580px; margin: 27px 0 0; color: var(--ink-soft); font-size: 1.18rem; line-height: 1.65; }
.identity-list { margin: 0; border-top: 1px solid var(--line-strong); }
.identity-list div { display: grid; grid-template-columns: 135px 1fr; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line-strong); }
.identity-list dt { color: var(--muted); font-size: .76rem; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.identity-list dd { margin: 0; font-weight: 620; }
.identity-list a { color: var(--accent); text-underline-offset: 4px; }
.about-contact { padding: 92px 0 98px; }
.about-contact-inner { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.about-contact h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.4rem); }

.site-footer { padding: 35px 0 27px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-nav a { color: var(--accent); text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.not-found { min-height: 68vh; display: grid; align-items: center; padding: 70px 0; }
.not-found h1 { margin: 0; font-size: clamp(4rem, 10vw, 9rem); letter-spacing: -.05em; }
.not-found p { font-size: 1.18rem; color: var(--muted); }

@media (max-width: 980px) {
  .header-inner, .section-inner, .footer-inner { width: min(calc(100% - 42px), var(--max)); }
  .header-inner { min-height: 76px; align-items: flex-start; flex-direction: column; padding: 19px 0 13px; gap: 11px; }
  .site-nav { width: 100%; overflow-x: auto; padding-bottom: 2px; gap: 27px; }
  .site-nav a { flex: 0 0 auto; font-size: .88rem; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 24px; padding: 68px 0 34px; }
  .hero-copy { max-width: 820px; }
  .hero-art { width: min(100%, 720px); justify-self: end; }
  .story-grid, .portfolio-grid, .about-hero-grid, .identity-grid { grid-template-columns: 1fr; }
  .story-grid { gap: 58px; }
  .story-art { max-width: 620px; }
  .section-heading-row { grid-template-columns: 1fr; gap: 18px; }
  .principle h3 { margin-top: 42px; }
  .product-status { margin-top: 15px; }
  .about-hero { padding: 78px 0 86px; }
  .about-intro { max-width: 690px; }
  .about-contact-inner { grid-template-columns: 1fr; align-items: start; }
  .about-contact .button { justify-self: start; }
  .content-layout { grid-template-columns: 1fr; gap: 15px; padding-bottom: 70px; }
  .side-arrow { display: none; }
}

@media (max-width: 700px) {
  .purpose-grid, .about-story-grid { grid-template-columns: 1fr; gap: 18px; }
  .purpose-copy, .about-story-grid > div { padding-left: 22px; }
  .principle-grid, .resource-grid { grid-template-columns: 1fr; }
  .principle, .resource { min-height: auto; padding: 25px 0 31px; }
  .principle + .principle, .resource + .resource { border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; }
  .principle p { max-width: 520px; }
  .resource h3 { margin-top: 30px; }
  .resource > p:not(.resource-number) { min-height: 0; }
  .story-section, .principles-section, .about-approach, .portfolio, .resources, .identity-section { padding: 78px 0 82px; }
  .identity-list div { grid-template-columns: 1fr; gap: 8px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .header-inner, .section-inner, .footer-inner { width: min(calc(100% - 32px), var(--max)); }
  .wordmark { font-size: .9rem; letter-spacing: .062em; }
  .hero h1, .about-hero h1 { font-size: clamp(3.25rem, 15.5vw, 4.8rem); }
  .page-title { font-size: clamp(3.6rem, 17vw, 5.4rem); }
  .hero-grid { padding-top: 54px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .story-copy h2, .portfolio h2, .resources h2, .section-heading-row h2, .identity-copy h2, .about-contact h2 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .contact-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-nav { gap: 18px; }
}

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