/* ===== Design tokens ===== */
:root {
  --navy: #1a2b4a;
  --navy-deep: #14223c;
  --navy-soft: #2a3d61;

  --paper: #f6f2ea;       /* warm off-white */
  --band: #efe7d8;        /* deeper warm sand */
  --white: #ffffff;

  /* muted tint family (value cards + illustration blobs) */
  --c-sand: #ece1d1;
  --c-sage: #dfe9dd;
  --c-sky: #dde6f0;
  --c-blush: #f1e2db;
  --c-lilac: #e7e3f0;

  --ink: #20304c;
  --muted: #6a6258;
  --line: #e3dbca;
  --line-dark: rgba(255, 255, 255, 0.14);

  --maxw: 1320px;
  --pad: clamp(1.25rem, 4vw, 3.25rem);
  --nav-h: 80px;
  --section-y: clamp(5rem, 10vw, 9rem);

  --radius: 22px;
  --shadow-soft: 0 1px 2px rgba(26, 43, 74, 0.04), 0 10px 24px -12px rgba(26, 43, 74, 0.14), 0 30px 60px -34px rgba(26, 43, 74, 0.3);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1); /* snappy spring/overshoot for hovers */
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
}
/* Subtle film-grain overlay for an editorial, printed-paper texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ===== Shared bits ===== */
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); opacity: 0.6; }
.sec-head { margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.sec-head .eyebrow { display: block; margin-bottom: 1rem; }
.sec-head--center { text-align: center; }
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
}

/* ===== Curved dividers (only into colour-shift sections) ===== */
.wave { position: absolute; left: 0; right: 0; top: 0; height: clamp(38px, 5.5vw, 80px); transform: translateY(-99%); line-height: 0; pointer-events: none; z-index: 2; }
.wave svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.wave--band { color: var(--band); }
.wave--navy { color: var(--navy); }

/* ===== Buttons & links ===== */
.btn { display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: 0.01em; padding: 1.05rem 2.2rem; border-radius: 999px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); cursor: pointer; border: 1px solid transparent; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 18px 40px -22px rgba(26, 43, 74, 0.75); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -18px rgba(26, 43, 74, 0.6); }
.link-arrow { position: relative; font-size: 1rem; font-weight: 500; color: var(--navy); padding-bottom: 3px; }
.link-arrow::before { content: "→"; display: inline-block; margin-right: 0.5rem; transition: transform 0.4s var(--ease); }
.link-arrow:hover::before { transform: translateX(4px); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }

/* ===== Nav ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(246, 242, 234, 0.92) 60%, rgba(246, 242, 234, 0)); opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none; z-index: -1; }
.nav.is-scrim::before { opacity: 1; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); transition: height 0.4s var(--ease); }
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { height: 42px; width: auto; display: block; transition: height 0.4s var(--ease); }
.nav__logo--light { display: none; }
.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); }
.nav__links a { position: relative; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em; color: var(--navy); transition: opacity 0.3s var(--ease), color 0.3s var(--ease); }
.nav__links a:not(.nav__cta) { opacity: 0.6; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; border-radius: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__links a:not(.nav__cta):hover, .nav__links a:not(.nav__cta):focus-visible { opacity: 1; }
.nav__links a:not(.nav__cta):hover::after, .nav__links a:not(.nav__cta):focus-visible::after { transform: scaleX(1); }
.nav__cta { color: var(--white) !important; background: var(--navy); padding: 0.62rem 1.4rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 22px -14px rgba(26, 43, 74, 0.7); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s var(--ease); }
.nav__cta::after { content: "→"; display: inline-block; margin-left: 0.45rem; transition: transform 0.35s var(--ease); }
.nav__cta:hover { transform: translateY(-2px); background: var(--navy-deep); box-shadow: 0 18px 34px -14px rgba(26, 43, 74, 0.6); }
.nav__cta:hover::after { transform: translateX(3px); }
.nav.is-solid { background: rgba(246, 242, 234, 0.97); box-shadow: 0 10px 30px -18px rgba(26, 43, 74, 0.32); }
.nav.is-solid .nav__inner { height: 62px; }
.nav.is-solid .nav__logo { height: 34px; }
/* scroll-spy active link */
.nav__links a:not(.nav__cta).is-active { opacity: 1; }
.nav__links a:not(.nav__cta).is-active::after { transform: scaleX(1); }
/* hamburger toggle (mobile only) */
.nav__toggle { display: none; width: 42px; height: 42px; margin: 0 -9px; padding: 0; border: 0; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; z-index: 2; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--navy); z-index: 200; transform: scaleX(0); transform-origin: left; will-change: transform; }

/* ===== Illustration (sits directly on the cream, no frame/blob) ===== */
.art__img, .art__ph { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; padding: 0; }
.art__img { object-fit: contain; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--ink);
  background:
    radial-gradient(ellipse 60% 50% at 85% 22%, rgba(212, 188, 142, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 55% at 6% 96%, rgba(190, 176, 150, 0.18), transparent 58%),
    linear-gradient(160deg, #efe7d6 0%, #f4efe5 50%, var(--paper) 100%);
  overflow: hidden;
}
.hero__inner { padding-top: var(--nav-h); width: 100%; display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.hero__copy { max-width: 620px; }
.hero__eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); opacity: 0.6; margin-bottom: 1.5rem; }
.hero__headline { font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 10.5vw, 9rem); line-height: 0.9; letter-spacing: -0.035em; color: var(--navy); margin-bottom: 1.85rem; }
.hero__accent { position: relative; display: inline-block; font-style: italic; }
.hero__underline { position: absolute; left: 0; right: 0; bottom: -0.16em; width: 100%; height: 0.32em; overflow: visible; }
.hero__underline path { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; opacity: 0.85; }
.hero__positioning { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 500px; line-height: 1.6; margin-bottom: 2.5rem; }
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero__art { position: relative; margin: 0; aspect-ratio: 3 / 2; max-width: 760px; margin-left: auto; width: 100%; container-type: inline-size; }
/* The illustration carries built-in whitespace; scale it up a touch so the
   figures fill the frame. Overflow spills into the hero's empty space (fine). */
/* Speech-bubble text overlays (sized in container units so they scale with the art) */
.hero-line { position: absolute; z-index: 4; transform: translate(-50%, -50%); text-align: center; color: var(--navy); font-family: var(--sans); font-weight: 500; font-size: 2.1cqi; line-height: 1.2; width: 19cqi; opacity: 0; animation: bubble-pop 0.5s var(--pop) both; }
.hero-line--left { left: 29%; top: 18.5%; animation-delay: 0.7s; }
.hero-line--right { left: 72%; top: 18.5%; animation-delay: 1s; }
@keyframes bubble-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(0.82); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.hero__scroll { position: absolute; bottom: 2.25rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.hero__scrollLine { width: 1px; height: 46px; background: linear-gradient(rgba(26, 43, 74, 0.5), rgba(26, 43, 74, 0)); animation: scrollPulse 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(0.4); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 1; } }

/* ===== What we believe (centered manifesto + belief pillars) ===== */
.believe { padding: var(--section-y) 0; }
.believe__manifesto { max-width: 62rem; margin: 0 auto; text-align: center; }
.believe__manifesto .eyebrow { display: block; margin-bottom: 1.5rem; }
.believe__statement { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); }
.believe__statement em { font-style: italic; }
.believe__mission { max-width: 58ch; margin: clamp(1.75rem, 3vw, 2.5rem) auto 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.85; color: var(--muted); }
.believe__mission strong { color: var(--navy); font-weight: 600; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.5rem); margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.9rem, 2.8vw, 2.6rem); box-shadow: var(--shadow-soft); will-change: transform; }
.pillars .pillar { transition: transform 0.3s var(--pop), box-shadow 0.3s var(--ease); }
.pillar:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 40px 70px -38px rgba(26, 43, 74, 0.55); }
.pillar__icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; margin-bottom: 1.5rem; color: var(--navy); }
.pillar__icon--c1 { background: var(--c-sand); }
.pillar__icon--c2 { background: var(--c-sage); }
.pillar__icon--c3 { background: var(--c-sky); }
.pillar__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar__title { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.6rem); font-weight: 500; color: var(--navy); line-height: 1.15; margin-bottom: 0.75rem; }
.pillar__body { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }

/* ===== Statement band (navy) ===== */
.statement { position: relative; background: var(--navy); color: var(--white); padding: clamp(6rem, 14vw, 10rem) 0; }
.statement__text { font-family: var(--serif); font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 400; line-height: 1.16; letter-spacing: -0.02em; max-width: 19ch; }

/* ===== Values — vertical colour cards ===== */
.values-sec { padding: var(--section-y) 0; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.65rem, 1vw, 1rem); align-items: stretch; }
.value { display: flex; flex-direction: column; gap: clamp(1.1rem, 1.6vw, 1.5rem); border-radius: 20px; padding: clamp(1.6rem, 2vw, 2rem); min-height: clamp(17rem, 28vw, 21rem); will-change: transform; }
/* '.values .value' out-specifies the generic .reveal transition so this snappy timing wins */
.values .value { transition: transform 0.3s var(--pop), box-shadow 0.3s var(--ease); }
.value:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 30px 50px -26px rgba(26, 43, 74, 0.5); }
.value--c1 { background: var(--c-sand); }
.value--c2 { background: var(--c-sage); }
.value--c3 { background: var(--c-sky); }
.value--c4 { background: var(--c-blush); }
.value--c5 { background: var(--c-lilac); }
.value__n { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--navy); opacity: 0.4; }
.value__title { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 500; color: var(--navy); line-height: 1.15; }
.value__sub { margin-top: 0.5rem; font-size: 0.95rem; font-style: italic; color: var(--navy); opacity: 0.75; line-height: 1.4; }
.value__body { margin-top: 0.9rem; font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* ===== Process — lifecycle journey ===== */
.process { position: relative; background: var(--band); padding: var(--section-y) 0; }
.lifecycle { position: relative; max-width: 720px; margin: clamp(1.5rem, 3vw, 3rem) auto 0; }
.lifecycle__svg { width: 100%; height: auto; display: block; overflow: visible; }
.lifecycle__seg { cursor: pointer; transition: transform 0.32s var(--pop); will-change: transform; }
.lifecycle__seg:focus { outline: none; }
/* push the hovered/focused segment radially outward (vector set per segment in JS) */
.lifecycle__seg:hover,
.lifecycle__seg:focus-visible { transform: translate(var(--tx, 0), var(--ty, 0)); }
.lifecycle__seg .seg__fill { opacity: 0.82; transition: opacity 0.35s var(--ease); }
.lifecycle__seg.is-active .seg__fill,
.lifecycle__seg:hover .seg__fill { opacity: 1; }
.lifecycle__num { font-family: var(--serif); font-size: 14px; fill: var(--navy); opacity: 0.5; }
.lifecycle__name { font-family: var(--serif); font-size: 19px; font-weight: 500; fill: var(--navy); }
.lifecycle__seg:focus-visible .seg__fill { opacity: 1; }
.lifecycle__seg:focus-visible .seg__ring { stroke: var(--navy); stroke-width: 2; opacity: 0.6; }
.lifecycle__hub { position: absolute; left: 50%; transform: translateX(-50%); bottom: 5%; width: 52%; text-align: center; }
.lifecycle__hubStep { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--navy); margin-bottom: 0.5rem; }
.lifecycle__hubDesc { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
/* Mobile fallback list (shown < 760px) */
.lifecycle__list { display: none; list-style: none; margin: 0; padding: 0; }
.lifecycle__list li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.lifecycle__list li:first-child { border-top: 0; }
.ll__num { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); opacity: 0.45; }
.ll__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 0.3rem; }
.ll__desc { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* ===== Who we help — editorial list ===== */
.help { padding: var(--section-y) 0; }
.help__note { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 46ch; margin-top: 1.25rem; }
.acards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 1.8vw, 1.5rem); }
.acard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.9rem, 3vw, 2.75rem); box-shadow: var(--shadow-soft); will-change: transform; transition: transform 0.3s var(--pop), box-shadow 0.3s var(--ease); }
.acard:hover { transform: translateY(-10px) scale(1.015); box-shadow: 0 40px 72px -40px rgba(26, 43, 74, 0.5); }
.acard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.acard__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; color: var(--navy); }
.acard__icon--c1 { background: var(--c-sand); }
.acard__icon--c2 { background: var(--c-sage); }
.acard__icon--c3 { background: var(--c-sky); }
.acard__icon--c4 { background: var(--c-blush); }
.acard__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.acard__n { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--navy); opacity: 0.16; }
.acard__title { font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.9rem); font-weight: 500; color: var(--navy); line-height: 1.12; margin-bottom: 0.75rem; }
.acard__body { color: var(--muted); font-size: 1.02rem; line-height: 1.65; max-width: 42ch; }

/* ===== Duo rows (employers / seekers) ===== */
.duo { position: relative; padding: var(--section-y) 0; }
.duo--employers { background: var(--band); }
.duo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.duo__art { position: relative; margin: 0; aspect-ratio: 1 / 1; width: 100%; max-width: 480px; }
.duo--employers .duo__art { margin-right: auto; }
.duo__copy { max-width: 520px; }
.duo__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.06; letter-spacing: -0.025em; color: var(--navy); margin: 0.9rem 0 1.3rem; }
.duo__body { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.75; margin-bottom: 1.9rem; }
/* flip: illustration on the right, copy on the left */
.duo__inner--flip .duo__art { order: 2; margin-left: auto; }
.duo__inner--flip .duo__copy { order: 1; }
.ticks { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2.25rem; }
.ticks li { position: relative; padding-left: 2.1rem; color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.05em; width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 2px solid var(--navy); }
.ticks li::after { content: ""; position: absolute; left: 0.42rem; top: 0.45em; width: 0.42rem; height: 0.22rem; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }

/* ===== FAQ ===== */
.faq { position: relative; background: var(--band); padding: var(--section-y) 0; }
.faq__inner { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq__head .eyebrow { display: block; margin-bottom: 1.1rem; }
.faq__heading { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--navy); line-height: 1.05; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { appearance: none; width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.1rem, 2.5vw, 1.6rem) 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; color: var(--navy); line-height: 1.3; }
.faq__mark { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; background: var(--navy); transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
.faq__mark::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq__mark::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.faq__item.is-open .faq__mark::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 62ch; padding-bottom: clamp(1.1rem, 2.5vw, 1.6rem); }

/* ===== Contact ===== */
.contact { position: relative; background: var(--navy); color: var(--white); padding: clamp(6rem, 15vw, 11rem) 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 1.75rem; }
.contact__heading { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 1.75rem; }
.contact__body { color: rgba(255, 255, 255, 0.72); font-size: 1.2rem; max-width: 34ch; margin-bottom: 2rem; line-height: 1.6; }
.contact__alt { color: rgba(255, 255, 255, 0.55); font-size: 0.98rem; }
.contact__alt a { color: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 1px; transition: border-color 0.3s var(--ease); }
.contact__alt a:hover { border-bottom-color: var(--white); }
.cform { background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.35rem); box-shadow: 0 36px 80px -40px rgba(0, 0, 0, 0.6); }
.cform__toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--band); border-radius: 999px; margin-bottom: 1.5rem; }
.cform__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cform__toggle label { text-align: center; padding: 0.6rem 0.5rem; border-radius: 999px; font-size: 0.95rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.cform__toggle input:checked + label { background: var(--white); color: var(--navy); box-shadow: 0 4px 12px -4px rgba(26, 43, 74, 0.25); }
.cform__toggle label:hover { color: var(--navy); }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cform__field { display: block; margin-bottom: 1rem; }
.cform__field[hidden] { display: none; }
.cform__field > span { display: block; font-size: 0.82rem; font-weight: 500; color: var(--navy); margin-bottom: 0.45rem; }
.cform__field input, .cform__field textarea { width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0.78rem 0.9rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.cform__field textarea { resize: vertical; min-height: 110px; }
.cform__field input:focus, .cform__field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.14); }
.cform__submit { width: 100%; font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--white); background: var(--navy); border: none; border-radius: 999px; padding: 0.98rem 1.5rem; margin-top: 0.5rem; cursor: pointer; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.cform__submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(26, 43, 74, 0.55); }
.cform__submit:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.cform__status { margin-top: 1rem; font-size: 0.95rem; min-height: 1.2em; }
.cform__status.is-sending { color: var(--muted); }
.cform__status.is-ok { color: #1f7a4d; }
.cform__status.is-err { color: #b3402f; }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.6); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem; border-top: 1px solid var(--line-dark); }
.footer__inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.footer__brand { max-width: 34ch; }
.footer__logo { height: 40px; width: auto; opacity: 0.95; margin-bottom: 0.3rem; }
.footer__lockup { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; line-height: 1; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.9); margin: 0 0 1.2rem 135px; }
.footer__lockup em { font-style: italic; }
.footer__tag { color: rgba(255, 255, 255, 0.6); font-size: 1rem; line-height: 1.7; margin-bottom: 1.4rem; }
.footer__email { color: #fff; font-size: 0.98rem; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 2px; transition: border-color 0.3s var(--ease); }
.footer__email:hover { border-bottom-color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 0.85rem; }
.footer__colTitle { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-bottom: 0.35rem; }
.footer__col a { width: max-content; color: rgba(255, 255, 255, 0.68); font-size: 0.98rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line-dark); font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); }

/* ===== Reveal =====
   Arrival is a keyframe animation on opacity/translate, and the stagger uses
   animation-delay — both kept entirely separate from the hover `transition`
   so card hovers stay instant and snappy. */
.reveal { opacity: 0; }
.reveal.is-visible { animation: reveal-rise 0.7s var(--ease) both; }
@keyframes reveal-rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .value { min-height: 0; }
  .value:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .lifecycle__svg, .lifecycle__hub { display: none; }
  .lifecycle__list { display: block; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: clamp(2.5rem, 8vw, 4rem); }
  .hero__copy { max-width: none; }
  .hero__art { margin: 0 auto; max-width: 400px; }
  .believe__grid { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .pillars { grid-template-columns: 1fr; }
  .help__head .sec-title { max-width: 18ch; }
  .duo__inner, .duo__inner--flip { grid-template-columns: 1fr; gap: clamp(2.25rem, 7vw, 3rem); }
  .duo__art, .duo__inner--flip .duo__art { order: 0; margin: 0 auto; max-width: 420px; }
  .duo__inner--flip .duo__copy { order: 0; }
  .duo__copy { max-width: none; }
  .contact__inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .contact__heading br { display: none; }
  .faq__inner { grid-template-columns: 1fr; gap: 2rem; }
  .faq__head { position: static; }
  .faq__heading br { display: none; }
}
@media (max-width: 760px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.25rem var(--pad) 1.75rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 1.15rem; padding: 0.95rem 0; }
  .nav__links a:not(.nav__cta) { border-bottom: 1px solid var(--line); opacity: 1; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: 1.1rem; }
}
@media (max-width: 600px) {
  .nav__logo { height: 30px; }
  .hero__headline { font-size: clamp(3.2rem, 17vw, 5rem); }
  .values { grid-template-columns: 1fr; }
  .value:nth-child(5) { grid-column: auto; }
  .acards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer__bottom { flex-direction: column; gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; animation: none; }
  .hero__scrollLine { animation: none; }
  .hero-line { animation: none; opacity: 1; }
  .faq__a { transition: none; }
}
