/* North Head website. Brand tokens match the app (northHeadBrand.shared.js, docs/brand/README.md). */

:root {
  --harbour: #0f2e40;
  --harbour-deep: #0a2232;
  --harbour-soft: #1b4560;
  --sand: #c9a46a;
  --sand-deep: #a9834a;
  --sand-soft: #eadcc0;
  --foam: #f4ebdd;
  --foam-2: rgba(244, 235, 221, 0.74);
  --foam-3: rgba(244, 235, 221, 0.52);
  --sea: #2f6f86;
  --sea-soft: #d6e6ec;
  --mist: #8db3c2;
  --paper: #f6f4ef;
  --card: #ffffff;
  --ink: #13232e;
  --ink-2: #485862;
  --ink-3: #6b7880;
  --line: rgba(15, 46, 64, 0.12);
  --line-light: rgba(244, 235, 221, 0.14);
  --good: #2e7d5b;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 18px;
  --shadow-frame: 0 50px 100px -30px rgba(4, 18, 28, 0.55), 0 18px 36px -18px rgba(4, 18, 28, 0.4);
  --shadow-card: 0 1px 2px rgba(15, 46, 64, 0.04), 0 8px 24px -12px rgba(15, 46, 64, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- type */

.eyebrow {
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.on-navy .eyebrow { color: var(--sand); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}
.display em, .h2 em { font-style: italic; color: var(--sand); }
.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.h2 em { color: var(--sand-deep); }
.on-navy .h2 em { color: var(--sand); }
.h3 { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.on-navy .lede { color: var(--foam-2); }
.muted { color: var(--ink-3); }

.section { padding: clamp(80px, 11vw, 148px) 0; position: relative; }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

.on-navy { background: var(--harbour); color: var(--foam); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: 600 15px/1 var(--sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sand { background: var(--sand); color: var(--harbour-deep); box-shadow: 0 10px 30px -12px rgba(201, 164, 106, 0.7); }
.btn-sand:hover { background: #d5b47d; }
.btn-light { border-color: rgba(244, 235, 221, 0.32); color: var(--foam); }
.btn-light:hover { border-color: var(--foam); background: rgba(244, 235, 221, 0.06); }
.btn-dark { background: var(--harbour); color: var(--foam); }
.btn-dark:hover { background: var(--harbour-soft); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-line:hover { border-color: var(--harbour); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--sea); text-decoration: none; }
.text-link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.on-navy .text-link { color: var(--sand); }

/* ---------------------------------------------------------------- nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--foam);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav.is-solid {
  background: rgba(10, 34, 50, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(244, 235, 221, 0.08), 0 10px 30px -18px rgba(4, 18, 28, 0.6);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font: 500 24px/1 var(--serif); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; opacity: 0.82; transition: opacity 0.2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current='page'] { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav .btn-login { border-color: rgba(244, 235, 221, 0.3); color: var(--foam); }
.nav .btn-login:hover { border-color: var(--foam); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-sand { display: none; }
  .nav.is-open { background: var(--harbour-deep); color: var(--foam); box-shadow: none; }
  .nav.is-open .btn-login { border-color: rgba(244, 235, 221, 0.3); color: var(--foam); }
  .nav.is-open .nav-links {
    display: grid;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--harbour-deep);
    padding: 12px var(--gutter) 28px;
    gap: 0;
    border-top: 1px solid var(--line-light);
  }
  .nav.is-open .nav-links a:not(.btn) { padding: 16px 0; font-size: 20px; font-family: var(--serif); border-bottom: 1px solid var(--line-light); opacity: 1; }
  .nav.is-open .nav-links .btn { margin-top: 20px; }
}
@media (min-width: 921px) { .nav-links .btn { display: none; } }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(47, 111, 134, 0.42), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(201, 164, 106, 0.08), transparent 60%),
    linear-gradient(180deg, var(--harbour) 0%, var(--harbour-deep) 100%);
  color: var(--foam);
  padding: 168px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-contours {
  position: absolute;
  top: -40px;
  right: -260px;
  width: 1500px;
  max-width: none;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-40px, 18px, 0) rotate(-2deg); } }
.hero-inner { display: grid; gap: 28px; justify-items: start; max-width: 980px; }
.hero .lede { max-width: 680px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-note { font-size: 14px; color: var(--foam-3); display: flex; align-items: center; gap: 10px; }
.hero-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4fbf8b; box-shadow: 0 0 0 4px rgba(79, 191, 139, 0.18); }

.hero-stage { position: relative; margin-top: clamp(56px, 7vw, 88px); }
.hero-stage::after {
  /* the paper section rises behind the bottom of the frame */
  content: '';
  position: absolute;
  left: -50vw;
  right: -50vw;
  bottom: 0;
  height: 34%;
  background: var(--paper);
  z-index: -1;
}

/* Browser frame used for every product shot */
.frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-frame);
  border: 1px solid rgba(15, 46, 64, 0.1);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 14px;
  background: #ece8e0;
  border-bottom: 1px solid rgba(15, 46, 64, 0.08);
}
.frame-dots { display: flex; gap: 7px; }
.frame-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d6d0c4; }
.frame-url {
  flex: 0 1 360px;
  margin: 0 auto;
  height: 26px;
  border-radius: 7px;
  background: #f8f6f1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: 500 12.5px/1 var(--sans);
  color: #55636c;
}
.frame-url svg { width: 11px; height: 11px; }
.frame-spacer { width: 47px; }
.frame img { width: 100%; }

/* floating annotations around the hero shot */
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 24px 48px -20px rgba(4, 18, 28, 0.45), 0 0 0 1px rgba(15, 46, 64, 0.06);
  font-size: 13.5px;
  line-height: 1.35;
  max-width: 290px;
  animation: bob 7s ease-in-out infinite;
}
.float strong { display: block; font-weight: 600; font-size: 14px; }
.float span { color: var(--ink-3); }
.float-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float-icon svg { width: 18px; height: 18px; }
.float-icon.good { background: #e3f1ea; color: var(--good); }
.float-icon.sea { background: var(--sea-soft); color: var(--sea); }
.float-icon.sand { background: #f6ecda; color: #8a6424; }
.float-a { left: -46px; top: 22%; }
.float-b { right: -40px; top: 9%; animation-delay: -2.4s; }
.float-c { right: 6%; bottom: 30px; animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1180px) { .float-a { left: -12px; } .float-b { right: -12px; } }
@media (max-width: 760px) { .float { display: none; } }

/* ---------------------------------------------------------------- built for */

.built { padding: clamp(72px, 9vw, 120px) 0 clamp(24px, 4vw, 48px); }
.built-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 48px); }
.built-grid .h3 { max-width: 760px; font-size: clamp(26px, 2.8vw, 36px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 24px 28px 0 0; }
.facts dt { font: 400 clamp(36px, 3.6vw, 48px)/1 var(--serif); letter-spacing: -0.02em; color: var(--harbour); }
.facts dd { margin: 10px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 980px) {
  .built-grid { grid-template-columns: 1fr; align-items: start; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}

/* ---------------------------------------------------------------- six questions */

.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.sticky { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.qlist { counter-reset: q; border-top: 1px solid var(--line); }
.qlist li { display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.qlist .qn { grid-row: span 2; font: 400 15px/1.9 var(--serif); color: var(--sand-deep); letter-spacing: 0.04em; }
.qlist h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.qlist p { color: var(--ink-2); max-width: 520px; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .qlist li { grid-template-columns: 44px 1fr; }
}

/* ---------------------------------------------------------------- services */

.services { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc {
  padding: 34px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 14px;
  transition: background 0.25s var(--ease);
}
.svc:hover { background: #fbfaf7; }
.svc-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--harbour); border: 1px solid var(--line); margin-bottom: 8px; }
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 { font: 600 17px/1.3 var(--sans); letter-spacing: -0.005em; }
.svc p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1040px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc { padding: 28px 22px; } }

/* ---------------------------------------------------------------- how it works */

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  display: grid;
  gap: 14px;
  align-content: start;
  box-shadow: var(--shadow-card);
}
.role-tag { font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sea); }
.role h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.role p { color: var(--ink-2); font-size: 16px; }
.role.you { background: var(--harbour); color: var(--foam); border-color: var(--harbour); }
.role.you .role-tag { color: var(--sand); }
.role.you p { color: var(--foam-2); }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }

.flow {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-card);
}
.flow-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.flow-steps::before { content: ''; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: linear-gradient(90deg, var(--sea-soft), var(--sea) 70%, var(--good)); }
.flow-step { position: relative; display: grid; gap: 10px; align-content: start; }
.flow-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 2px solid var(--sea); display: grid; place-items: center; font: 600 14px/1 var(--sans); color: var(--sea); position: relative; }
.flow-step.you .flow-dot { background: var(--harbour); border-color: var(--harbour); color: var(--sand); }
.flow-step.done .flow-dot { background: var(--good); border-color: var(--good); color: #fff; }
.flow-dot svg { width: 18px; height: 18px; }
.flow-step h4 { font: 600 16px/1.3 var(--sans); margin-top: 6px; }
.flow-step p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.flow-note { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.flow-note svg { flex: none; width: 22px; height: 22px; color: var(--good); margin-top: 1px; }
.flow-note strong { color: var(--ink); }
@media (max-width: 900px) {
  .flow-steps { grid-template-columns: 1fr; gap: 22px; }
  .flow-steps::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--sea-soft), var(--sea) 70%, var(--good)); }
  .flow-step { grid-template-columns: 40px 1fr; column-gap: 18px; }
  .flow-step .flow-dot { grid-row: span 2; }
  .flow-step h4 { margin-top: 8px; }
}

/* ---------------------------------------------------------------- showcase */

.showcase {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(47, 111, 134, 0.35), transparent 60%),
    linear-gradient(180deg, var(--harbour) 0%, var(--harbour-deep) 100%);
  overflow: hidden;
}
.showcase-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.tabs { display: grid; gap: 4px; }
.tab {
  text-align: left;
  background: none;
  border: 0;
  border-left: 2px solid var(--line-light);
  color: var(--foam-3);
  padding: 14px 0 14px 20px;
  cursor: pointer;
  font: inherit;
  display: grid;
  gap: 6px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab-title { font: 500 19px/1.25 var(--serif); color: inherit; }
.tab-desc { display: none; font-size: 14.5px; line-height: 1.5; color: var(--foam-2); }
.tab:hover { color: var(--foam); }
.tab[aria-selected='true'] { color: var(--foam); border-left-color: var(--sand); }
.tab[aria-selected='true'] .tab-desc { display: block; }
.shots { position: relative; }
.shot { display: none; }
.shot.is-active { display: block; animation: fadein 0.45s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.phone {
  position: absolute;
  right: -18px;
  bottom: -64px;
  width: 210px;
  border-radius: 34px;
  padding: 9px;
  background: #0a1820;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 3;
}
.phone img { border-radius: 26px; }
.showcase-foot { margin-top: clamp(80px, 8vw, 110px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line-light); }
.showcase-foot p { color: var(--foam-2); max-width: 560px; }
@media (max-width: 1100px) { .phone { width: 170px; right: -8px; } }
@media (max-width: 960px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 0; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { border-left: 0; border-bottom: 2px solid var(--line-light); padding: 12px 16px; }
  .tab[aria-selected='true'] { border-bottom-color: var(--sand); }
  .tab[aria-selected='true'] .tab-desc { display: none; }
  .tab-title { font-size: 16px; }
  .shot-caption { display: block; }
  .phone { display: none; }
}
.shot-caption { display: none; color: var(--foam-2); font-size: 15px; margin-top: 18px; }

/* ---------------------------------------------------------------- trust */

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 22px;
  padding: 34px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.pillar-icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: var(--harbour); color: var(--sand); display: grid; place-items: center; }
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.pillar p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar { grid-template-columns: 1fr; } .pillar-icon { grid-row: auto; margin-bottom: 14px; } }

/* ---------------------------------------------------------------- compare */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.compare-card { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: grid; gap: 24px; align-content: start; }
.compare-card.inhouse { background: transparent; border: 1px dashed rgba(15, 46, 64, 0.28); }
.compare-card.nh { background: var(--harbour); color: var(--foam); position: relative; overflow: hidden; }
.compare-card.nh::after { content: ''; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; background: url('/assets/contours.svg') center / cover no-repeat; opacity: 0.35; pointer-events: none; }
.compare-label { font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.compare-card.nh .compare-label { color: var(--sand); }
.compare-card h3 { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 36px); line-height: 1.12; }
.compare-list { display: grid; gap: 0; }
.compare-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.compare-card.nh .compare-list li { border-bottom-color: var(--line-light); }
.compare-list svg { width: 18px; height: 18px; flex: none; }
.inhouse .compare-list svg { color: var(--ink-3); }
.nh .compare-list svg { color: var(--sand); }
.compare-foot { font-size: 15.5px; color: var(--ink-2); }
.nh .compare-foot { color: var(--foam-2); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- founders */

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.founders + p { margin-top: 32px; }
.founder {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: var(--shadow-card);
}
.portrait {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--harbour-soft), var(--harbour-deep));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.portrait::before { content: ''; position: absolute; inset: -20%; background: url('/assets/contours.svg') center / 120% no-repeat; opacity: 0.4; }
.portrait-initials { position: relative; font: 400 clamp(72px, 8vw, 112px)/1 var(--serif); color: var(--sand); letter-spacing: -0.02em; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-tag { position: absolute; left: 20px; bottom: 18px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--foam); background: rgba(10, 34, 50, 0.6); padding: 8px 11px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.founder-body { padding: 30px 32px 34px; display: grid; gap: 14px; align-content: start; }
.founder-body h3 { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.founder-role { font-size: 14px; font-weight: 600; color: var(--sea); letter-spacing: 0.01em; }
.founder-body p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- story */

.story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-art { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; background: linear-gradient(180deg, #123a52 0%, var(--harbour) 55%, var(--harbour-deep) 100%); }
.story-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-copy { display: grid; gap: 22px; justify-items: start; }
.story-copy p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }
.story-copy p.quote { font: 400 clamp(24px, 2.4vw, 30px)/1.3 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- final CTA */

.final {
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(201, 164, 106, 0.18), transparent 60%),
    linear-gradient(180deg, var(--harbour) 0%, var(--harbour-deep) 100%);
  color: var(--foam);
  text-align: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.final::before { content: ''; position: absolute; inset: -30% -10% auto; height: 160%; background: url('/assets/contours.svg') center / 1400px no-repeat; opacity: 0.35; z-index: -1; }
.final-inner { display: grid; justify-items: center; gap: 24px; max-width: 760px; margin: 0 auto; }
.final .cta-row { justify-content: center; }
.final .lede { color: var(--foam-2); }
.final .eyebrow { color: var(--sand); }

/* ---------------------------------------------------------------- footer */

.footer { background: var(--harbour-deep); color: var(--foam-2); padding: 72px 0 40px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.footer .brand { color: var(--foam); }
.footer-tag { margin-top: 18px; max-width: 300px; color: var(--foam-3); }
.footer h4 { font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--foam-3); margin-bottom: 18px; }
.footer ul { display: grid; gap: 12px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--foam); }
.footer-legal { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--foam-3); }
.footer-legal p { max-width: 720px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- founders page */

.page-hero { position: relative; background: linear-gradient(180deg, var(--harbour) 0%, var(--harbour-deep) 100%); color: var(--foam); padding: 176px 0 clamp(80px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.page-hero .hero-contours { top: -120px; }
.page-hero .hero-inner { max-width: 900px; }

.bio { display: grid; grid-template-columns: 380px 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; padding: clamp(64px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.bio:last-of-type { border-bottom: 0; }
.bio .portrait { aspect-ratio: 4 / 5; border-radius: 22px; position: sticky; top: 112px; box-shadow: var(--shadow-card); }
.bio-copy { display: grid; gap: 20px; }
.bio-copy h2 { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.02em; }
.bio-copy .founder-role { font-size: 15px; }
.bio-copy p { font-size: 18px; color: var(--ink-2); max-width: 680px; }
.bio-copy p.lead { font: 400 clamp(22px, 2vw, 26px)/1.4 var(--serif); color: var(--ink); }
.timeline { margin-top: 12px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.timeline .when { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline strong { font-weight: 600; }
.timeline span { color: var(--ink-2); }
@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; }
  .bio .portrait { position: relative; top: 0; max-width: 360px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why div { padding: 32px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); display: grid; gap: 12px; align-content: start; }
.why h3 { font-family: var(--serif); font-size: 26px; }
.why p { color: var(--ink-2); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- 404 */

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.notfound .hero-inner { justify-items: center; }

/* ---------------------------------------------------------------- motion */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-contours, .float { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot.is-active { animation: none; }
  .btn, .btn svg, .text-link svg { transition: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding-top: 132px; }
  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
  .frame-bar { height: 30px; }
  .frame-url { height: 20px; font-size: 11px; }
  .frame-dots i { width: 8px; height: 8px; }
  .frame-spacer { display: none; }
}
