/* Longevé Health — design system
   Palette taken from the brand card: deep navy-black, steel blue, teal swoosh, white serif. */
:root {
  --ink: #070f1a;
  --navy: #0b1a2c;
  --navy-2: #10253d;
  --steel: #1e4a72;
  --teal: #1f97c0;
  --teal-2: #57c2e3;
  --paper: #f4f3ef;
  --paper-2: #eceae4;
  --mist: #e3ebf0;
  --text: #0b1a2c;
  --muted: #5b6878;
  --line: rgba(11, 26, 44, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --white: #ffffff;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--teal); color: #fff; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.h-display {
  font-weight: 500; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(46px, 8.4vw, 132px);
}
.h-1 { font-weight: 500; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(38px, 5.6vw, 84px); }
.h-2 { font-weight: 500; letter-spacing: -.025em; line-height: 1.06; font-size: clamp(30px, 3.8vw, 56px); }
.h-3 { font-weight: 500; letter-spacing: -.015em; line-height: 1.15; font-size: clamp(21px, 1.9vw, 27px); }
.h-display em, .h-1 em, .h-2 em { font-size: 1.08em; line-height: .9; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.dark .lead { color: rgba(255,255,255,.72); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-2); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--teal-2); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--teal); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.link-arrow .circ {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor;
  display: grid; place-items: center; transition: background .35s var(--ease), color .35s;
}
a:hover > .link-arrow .circ, .link-arrow:hover .circ { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- nav (floating glass pill) ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 2 * clamp(12px, 3vw, 40px)); max-width: 1360px;
  z-index: 100; height: 72px; padding: 0 12px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 20px; color: #fff;
  background: rgba(7, 15, 26, .28);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .4s var(--ease), color .4s, border-color .4s, top .4s var(--ease);
}
.nav.scrolled { background: rgba(7, 15, 26, .82); top: 10px; }
.nav.light { color: var(--ink); background: rgba(244,243,239,.72); border-color: rgba(11,26,44,.08); }
.nav.light.scrolled { background: rgba(244,243,239,.92); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand .word { height: 34px; }
.nav .logo-navy { display: none; }
.nav.light .logo-white { display: none; }
.nav.light .logo-navy { display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 12px; font-size: 15px; background: none; border: 0; cursor: pointer;
  opacity: .88; transition: opacity .25s, background .25s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover { opacity: 1; background: rgba(255,255,255,.08); }
.nav.light .nav-links > li > a:hover, .nav.light .nav-links > li > button:hover { background: rgba(11,26,44,.06); }
.nav-cta { height: 48px; }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translate(-50%, 8px);
  width: min(760px, 90vw); padding: 14px; border-radius: 20px;
  background: rgba(7,15,26,.96); border: 1px solid rgba(255,255,255,.1); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; transition: background .25s; }
.mega a:hover { background: rgba(255,255,255,.07); }
.mega img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.mega b { display: block; font-weight: 500; font-size: 15px; }
.mega span { display: block; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.4; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 0; background: rgba(255,255,255,.1); cursor: pointer; position: relative; }
.nav.light .burger { background: rgba(11,26,44,.07); }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 24px; } .burger span:nth-child(3) { top: 30px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  padding: 110px var(--pad) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 22px; letter-spacing: -.01em; }
.mobile-menu .sub a { font-size: 17px; padding: 11px 0 11px 18px; color: rgba(255,255,255,.75); }
.mobile-menu .btn { margin-top: 28px; border-bottom: 0; display: inline-flex; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  padding: 150px 0 0;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.08); animation: slowzoom 24s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 85% 20%, rgba(31,151,192,.28), transparent 60%),
    linear-gradient(180deg, rgba(7,15,26,.55) 0%, rgba(7,15,26,.35) 40%, rgba(7,15,26,.92) 88%, var(--ink) 100%);
}
.swoosh { position: absolute; pointer-events: none; }
.swoosh path { fill: none; stroke-linecap: round; }
.hero .swoosh { right: -6vw; top: -10vh; width: 62vw; height: 130vh; opacity: .9; }
.swoosh .s1 { stroke: var(--teal); stroke-width: 26; opacity: .55; }
.swoosh .s2 { stroke: var(--steel); stroke-width: 54; opacity: .55; }
.swoosh .s3 { stroke: var(--teal-2); stroke-width: 2; opacity: .6; }
.swoosh path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 3.2s var(--ease) .3s forwards; }
.swoosh .s2 { animation-delay: .1s; } .swoosh .s3 { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vh, 80px); }
.hero .eyebrow { color: var(--teal-2); margin-bottom: 28px; }
.hero h1 { max-width: 13ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { to { transform: none; } }
.hero h1 em { color: var(--teal-2); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 40px; }
.hero-foot .lead { opacity: 0; animation: fade 1s var(--ease) .6s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade 1s var(--ease) .8s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* marquee */
.marquee { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); overflow: hidden; padding: 22px 0; background: rgba(7,15,26,.5); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: 15px; color: rgba(255,255,255,.7); white-space: nowrap; transition: color .25s; }
.marquee a:hover { color: #fff; }
.marquee a::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 160px) 0; }
.sec-tight { padding: clamp(60px, 8vw, 110px) 0; }
.dark { background: var(--ink); color: #fff; }
.navy { background: var(--navy); color: #fff; }
.sec-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head .side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* statement word reveal */
.statement { font-size: clamp(30px, 4.3vw, 64px); font-weight: 500; letter-spacing: -.028em; line-height: 1.12; max-width: 22ch; }
.statement .w { opacity: .14; transition: opacity .5s var(--ease); }
.statement .w.on { opacity: 1; }
.statement em { color: var(--teal); }
.statement-row { display: grid; grid-template-columns: 1fr 2.6fr; gap: 40px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.principle { padding: 34px 34px 0 0; }
.principle + .principle { padding-left: 34px; border-left: 1px solid var(--line); }
.principle .num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--teal); }
.principle h3 { margin: 14px 0 10px; }
.principle p { color: var(--muted); font-size: 16px; }

/* ---------- division cards (Heez-style image cards) ---------- */
.div-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.div-card {
  position: relative; border-radius: var(--radius); overflow: hidden; color: #fff;
  min-height: 460px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px; isolation: isolate; grid-column: span 2;
}
.div-card.wide { grid-column: span 3; min-height: 540px; }
.div-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.div-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,15,26,.55) 0%, rgba(7,15,26,.05) 40%, rgba(7,15,26,.82) 100%);
  transition: background .6s var(--ease);
}
.div-card:hover img { transform: scale(1.06); }
.div-card:hover::after { background: linear-gradient(180deg, rgba(11,26,44,.7) 0%, rgba(30,74,114,.35) 45%, rgba(7,15,26,.9) 100%); }
.div-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.div-card .n { font-family: var(--serif); font-style: italic; font-size: 20px; opacity: .85; }
.div-card h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; max-width: 14ch; }
.div-card p { max-width: 36ch; color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 22px; }
.div-card .bottom { transform: translateY(10px); transition: transform .6s var(--ease); }
.div-card:hover .bottom { transform: none; }

/* ---------- method (sticky) ---------- */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.method-visual { position: sticky; top: 110px; height: calc(100vh - 140px); max-height: 760px; border-radius: var(--radius); overflow: hidden; }
.method-visual img { width: 100%; height: 100%; object-fit: cover; }
.method-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,15,26,.7)); }
.method-visual .cap { position: absolute; left: 28px; bottom: 26px; z-index: 2; font-size: 14px; color: rgba(255,255,255,.8); }
.steps { list-style: none; }
.step { padding: 44px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 80px 1fr; gap: 20px; }
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step .k { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--teal-2); }
.step h3 { margin-bottom: 12px; }
.step p { color: rgba(255,255,255,.68); }
.step .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 13px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(255,255,255,.75); }

/* ---------- biomarker reference table ---------- */
.ref-card { background: #fff; border-radius: 28px; border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); position: relative; overflow: hidden; }
.ref-card::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(87,194,227,.18), transparent); pointer-events: none;
}
.ref-table { width: 100%; border-collapse: collapse; position: relative; }
.ref-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 16px 18px 0; border-bottom: 1px solid var(--line); }
.ref-table td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.ref-table tr:last-child td { border-bottom: 0; }
.ref-table td:first-child { font-weight: 500; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.ref-table td:nth-child(2) { color: var(--text); }
.ref-table td:nth-child(3) { color: var(--muted); }
.ref-table tbody tr { transition: background .25s; }
.ref-table tbody tr:hover { background: rgba(87,194,227,.07); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 14px; padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.finder { margin-top: 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }

/* ---------- city band ---------- */
.city { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.city .bg { position: absolute; inset: -10% 0; }
.city .bg img { width: 100%; height: 100%; object-fit: cover; }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,15,26,.2) 0%, rgba(7,15,26,.5) 55%, rgba(7,15,26,.95) 100%); }
.city .wrap { position: relative; z-index: 2; padding-bottom: clamp(60px, 8vw, 110px); }
.city-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.city-facts { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.city-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.city-facts span:first-child { color: rgba(255,255,255,.55); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); }
.contact-list { margin-top: 44px; border-top: 1px solid var(--line-dark); }
.contact-list > a, .contact-list > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.contact-list b { font-weight: 500; font-size: 19px; }
.contact-list > a:hover b { color: var(--teal-2); }
.form { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: 26px; padding: clamp(24px, 3.5vw, 44px); }
.form h3 { margin-bottom: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  padding: 15px 16px; font-size: 16px; color: #fff; outline: none; transition: border-color .25s, background .25s;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-2); background: rgba(255,255,255,.08); }
.form .btn { margin-top: 22px; }
.form .note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5); }
.hidden { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; padding: clamp(70px, 9vw, 120px) 0 36px; border-top: 1px solid var(--line-dark); }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.foot-logo { width: 150px; }
.foot-top .tagline { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 21px; color: rgba(255,255,255,.75); }
.foot-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.foot-col a, .foot-col p { display: block; font-size: 15px; color: rgba(255,255,255,.78); padding: 5px 0; transition: color .25s; }
.foot-col a:hover { color: var(--teal-2); }
.foot-big { margin: clamp(60px, 8vw, 110px) 0 30px; padding-bottom: .12em; font-size: clamp(54px, 13vw, 210px); font-weight: 500; letter-spacing: -.05em; line-height: .9; color: rgba(255,255,255,.06); white-space: nowrap; overflow: hidden; }
.foot-big em { color: rgba(87,194,227,.4); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255,255,255,.5); }
.foot-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom a:hover { color: #fff; }
.disclaimer { margin-top: 18px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.4); max-width: 110ch; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; padding-top: 140px; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transform: scale(1.08); animation: slowzoom 20s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,15,26,.6) 0%, rgba(7,15,26,.25) 40%, rgba(7,15,26,.93) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(50px, 7vw, 90px); }
.page-hero .swoosh { right: -10vw; top: -20vh; width: 55vw; height: 140vh; z-index: 1; opacity: .7; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs span.sep { opacity: .4; }
.page-hero h1 { max-width: 16ch; }
.page-hero h1 em { color: var(--teal-2); }
.page-hero .lead { margin-top: 26px; max-width: 54ch; }

.intro-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 100px); }
.intro-grid .big { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.45; letter-spacing: -.012em; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,26,44,.35); }
.svc-card .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .ph img { transform: scale(1.06); }
.svc-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-card .idx { font-family: var(--serif); font-style: italic; color: var(--teal); font-size: 18px; }
.svc-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.svc-card .more { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); display: inline-flex; gap: 8px; }
.svc-card:hover .more { color: var(--teal); }
.svc-card.cta { background: var(--navy); color: #fff; border: 0; padding: 34px; justify-content: space-between; min-height: 360px; position: relative; overflow: hidden; }
.svc-card.cta p { color: rgba(255,255,255,.7); flex: 0; }
.svc-card.cta .swoosh { right: -40%; top: -30%; width: 120%; height: 160%; opacity: .6; }
.svc-card.cta > *:not(.swoosh) { position: relative; z-index: 1; }

/* other divisions rail */
.rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rail a { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; color: #fff; display: flex; align-items: flex-end; padding: 18px; isolation: isolate; }
.rail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.rail a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(7,15,26,.85)); }
.rail a:hover img { transform: scale(1.07); }
.rail b { font-weight: 500; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }

/* service detail */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.detail .prose p { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.7; color: #26354a; }
.detail .prose p + p { margin-top: 1.1em; }
.detail .prose p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: .85; padding: 6px 10px 0 0; color: var(--teal); }
.includes { margin-top: 50px; }
.includes h3 { margin-bottom: 18px; }
.includes ul { list-style: none; border-top: 1px solid var(--line); }
.includes li { display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.includes li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; transform: translateY(-2px); }
.aside { position: sticky; top: 110px; background: var(--navy); color: #fff; border-radius: 26px; padding: 34px; overflow: hidden; }
.aside .swoosh { right: -50%; top: -40%; width: 140%; height: 180%; opacity: .45; }
.aside > *:not(.swoosh) { position: relative; z-index: 1; }
.aside h3 { margin: 16px 0 14px; }
.aside p { color: rgba(255,255,255,.7); font-size: 15.5px; margin-bottom: 26px; }
.aside .who { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.aside .who small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.aside .who p { margin: 0; }

/* cta band */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; background: var(--navy); color: #fff; padding: clamp(40px, 7vw, 100px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; }
.cta-band .swoosh { right: -10%; top: -60%; width: 70%; height: 240%; opacity: .7; }
.cta-band > *:not(.swoosh) { position: relative; z-index: 1; }
.cta-band h2 em { color: var(--teal-2); }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; font-weight: 500; letter-spacing: -.01em; margin: 44px 0 12px; }
.legal p, .legal li { color: #2f3d50; margin-bottom: 12px; }
.legal ul { padding-left: 20px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; } .rv-d5 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .div-card, .div-card.wide { grid-column: span 3; min-height: 420px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .rail { grid-template-columns: repeat(3, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .sec-head, .statement-row, .method, .city-grid, .contact-grid, .intro-grid, .detail, .cta-band { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .method-visual { position: relative; top: 0; height: 60vh; }
  .aside { position: relative; top: 0; }
  .ref-table thead { display: none; }
  .ref-table tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .ref-table td { display: block; border: 0; padding: 3px 0; }
  .ref-table td:first-child { white-space: normal; margin-bottom: 4px; }
}
@media (max-width: 640px) {
  .nav { height: 64px; padding: 0 8px 0 16px; top: 10px; border-radius: 16px; }
  .brand img { height: 34px; } .brand .word { height: 28px; }
  .hero { padding-top: 120px; }
  .div-card, .div-card.wide { grid-column: 1 / -1; min-height: 380px; padding: 24px; }
  .svc-grid { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .btn { height: 50px; padding: 0 22px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .page-hero { min-height: 70vh; }
}
.div-card.full { grid-column: 1 / -1; min-height: 480px; }
.div-card.full h3 { max-width: 20ch; }
.hero .lead, .page-hero .lead, .city .lead { color: rgba(255,255,255,.78); }
