/* =================================================================
   Of Creator Teams — styles

   Layout: a 12-column editorial grid. Most sections use a narrow
   left "rail" carrying the section label and a wide body column.
   Hairline rules, light-weight display serif, generous whitespace.
   "Our Difference" is the one full-bleed dark statement section.

   EASY CHANGES: edit colours and fonts in :root below and the whole
   site updates.
   ================================================================= */

:root {
  /* Colours */
  --spruce: #14342f;          /* spruce: text, dark sections */
  --spruce-deep: #0d2420;     /* deeper spruce: footer */
  --sapphire: #123a63;        /* sapphire: application section */
  --arctic: #e8f0f1;          /* arctic: main background */
  --arctic-white: #f6fafa;    /* arctic white: cards, form */
  --peacock: #0f6f7c;         /* peacock: accents on light backgrounds */
  --peacock-light: #7cc6c9;   /* peacock tint: accents on dark backgrounds */
  --ink-soft: #3d4f4c;        /* body text */
  --muted: #5e6e6f;           /* secondary text */
  --line: rgba(20, 52, 47, 0.13);
  --line-strong: rgba(20, 52, 47, 0.32);
  --line-light: rgba(232, 240, 241, 0.16);
  --on-dark: rgba(232, 240, 241, 0.74);
  --error: #a63d32;
  --success: #2f6b4f;

  /* Fonts */
  --font-display: "Noto Serif Display", "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Type scale */
  --fs-label: 0.72rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1.02rem + 0.45vw, 1.4rem);
  --fs-h3: clamp(1.35rem, 1.2rem + 0.45vw, 1.6rem);
  --fs-h2: clamp(2.3rem, 1.45rem + 3.1vw, 4.4rem);
  --fs-h2-xl: clamp(2.8rem, 1.5rem + 4.6vw, 5.6rem);
  --fs-h1: clamp(2.9rem, 1.1rem + 6.4vw, 7.25rem);

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5.5rem, 3rem + 8vw, 10.5rem);
  --max: 1320px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--arctic);
  color: var(--spruce);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.menu-open, html.menu-open body { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--peacock); color: var(--arctic-white); }
:focus-visible { outline: 2px solid var(--peacock); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--spruce); color: var(--arctic); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
.eyebrow, .rail-label, .service-tag, .footer-label, .compare-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow { color: var(--peacock); display: flex; align-items: center; gap: .8rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h2 em, .hero-title em { font-style: italic; color: var(--peacock); }
.h2-xl { font-size: var(--fs-h2-xl); line-height: .98; }
.h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; line-height: 1.18; letter-spacing: -0.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--spruce); }
.prose { display: grid; gap: 1.2rem; max-width: 60ch; }
.prose p { color: var(--ink-soft); }
.prose .lead { color: var(--spruce); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  --fill: var(--peacock);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  min-height: 56px; padding: 0 1.75rem;
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 0;
  cursor: pointer; white-space: nowrap;
  transition: color .45s var(--ease-in-out), border-color .45s var(--ease-in-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--fill);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-in-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.btn-icon { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .45s var(--ease); }
.btn:hover .btn-icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--spruce); color: var(--arctic-white); border-color: var(--spruce); }
.btn-primary:hover { border-color: var(--peacock); }
.btn-ghost { --fill: var(--spruce); background: transparent; color: var(--spruce); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--arctic-white); border-color: var(--spruce); }
.btn-light { --fill: var(--peacock-light); background: var(--arctic); color: var(--spruce); border-color: var(--arctic); }
.btn-light:hover { border-color: var(--peacock-light); }
.btn-sm { min-height: 44px; padding: 0 1.15rem; gap: .65rem; font-size: .7rem; }

.text-link {
  font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; width: fit-content;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: .3rem; transition: background-size .4s var(--ease), color .3s ease;
}
.text-link:hover { color: var(--peacock); background-size: 40% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
/* The blurred background sits on a separate layer so the mobile menu panel isn't trapped inside the header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(232, 240, 241, 0.82);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(232, 240, 241, 0.95); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-10deg); }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 400; letter-spacing: -0.005em; white-space: nowrap; color: var(--spruce); }
.footer-mark { width: 48px; height: 48px; }

.nav-links { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav-links a {
  position: relative; display: inline-block; padding-block: .4rem;
  text-decoration: none; font-size: .86rem; font-weight: 500; color: var(--ink-soft);
  transition: color .3s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--spruce); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-extra { display: none; }
.header-cta { margin-left: clamp(.5rem, 1.5vw, 1.5rem); }

.nav-toggle { display: none; }

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .7rem;
    height: 44px; padding: 0 .9rem; background: transparent;
    border: 1px solid var(--line-strong); color: var(--spruce); cursor: pointer;
    font: 600 .7rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
    position: relative; z-index: 2;
  }
  .nav-toggle-bars { position: relative; width: 18px; height: 7px; }
  .nav-toggle-bars::before, .nav-toggle-bars::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
    transition: transform .4s var(--ease), top .4s var(--ease);
  }
  .nav-toggle-bars::before { top: 0; }
  .nav-toggle-bars::after { top: 5.5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 2.75px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 2.75px; transform: rotate(-45deg); }

  .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background: var(--spruce); color: var(--arctic);
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line-light); }
  .nav-links a {
    display: block; padding: 1.1rem 0; color: var(--arctic);
    font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 1.2rem + 3vw, 2.6rem); line-height: 1.1;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.is-active { color: var(--peacock-light); }
  .nav-extra { display: grid; gap: 1.25rem; }
  .nav-extra .btn { width: 100%; }
  .nav-contact { color: var(--on-dark); font-size: var(--fs-sm); text-align: center; overflow-wrap: anywhere; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 7vw, 6.5rem); }
.hero-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--line);
}
.hero-status { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--peacock); box-shadow: 0 0 0 0 rgba(15, 111, 124, .45); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 111, 124, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(15, 111, 124, 0); } }

.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: var(--fs-h1); line-height: .96; letter-spacing: -0.03em;
  margin-block: clamp(2.25rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4.25rem);
}
.hero-title .line { display: block; animation: rise 1.1s var(--ease) both; }
.hero-title .line:nth-child(2) { animation-delay: .1s; padding-left: clamp(0rem, 8vw, 9rem); }
@keyframes rise { from { transform: translateY(26px); } to { transform: none; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: end; }
.hero-media { margin: 0; min-width: 0; }
.hero-media-link { display: block; overflow: hidden; border: 1px solid var(--line); background: var(--arctic-white); box-shadow: 0 40px 70px -50px rgba(20, 52, 47, .55); }
.hero-media img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.hero-media-link:hover img { transform: scale(1.012); }
.media-caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem;
  padding-top: .9rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.media-caption a { color: var(--spruce); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.media-caption a:hover { color: var(--peacock); }

.hero-aside { display: grid; gap: 1.4rem; padding-bottom: 2.4rem; }
.hero-sub { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); line-height: 1.2; }
.hero-text { color: var(--ink-soft); max-width: 46ch; }
.hero-aside .btn-row { margin-top: .6rem; }

.facts {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--spruce);
}
.facts > div { padding: 1.6rem 1.75rem 0 0; display: grid; gap: .5rem; align-content: start; }
.facts > div + div { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.facts dd { color: var(--muted); font-size: var(--fs-sm); max-width: 28ch; }

/* ---------- Section frame ---------- */
.section { padding-block: var(--section); }
.rail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); column-gap: clamp(1.5rem, 3vw, 3rem); }
.rail-label { color: var(--peacock); padding-top: 1rem; border-top: 1px solid var(--spruce); align-self: start; }
.rail-body { min-width: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.sec-head .h2 { max-width: 15ch; }
.sec-intro { max-width: 36ch; color: var(--ink-soft); }

/* Intro */
.intro { background: var(--arctic-white); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); }
.intro-grid .h2 { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--spruce) !important; padding-top: 1rem; margin-top: .5rem; border-top: 1px solid var(--line-strong); width: fit-content; }

/* Services */
.services { background: var(--arctic); }
.service-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.service {
  grid-column: span 2;
  position: relative;
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(1.75rem, 2.8vw, 2.75rem);
  background: var(--arctic-white);
  transition: background-color .5s var(--ease);
}
.service-wide { grid-column: span 3; }
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--peacock); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.service:hover { background: #ffffff; }
.service:hover::before { transform: scaleX(1); }
.service-tag { color: var(--peacock); }
.service .h3 { transition: transform .5s var(--ease); }
.service:hover .h3 { transform: translateX(4px); }
.service > p:not(.service-tag) { color: var(--ink-soft); font-size: .98rem; }
.ticks { margin-top: auto; padding-top: 1rem; display: grid; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.ticks li { display: flex; gap: .75rem; align-items: baseline; padding-block: .45rem; color: var(--spruce); }
.ticks li::before { content: ""; width: 12px; height: 1px; background: var(--peacock); flex: none; transform: translateY(-4px); }

.service-cta {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--spruce); color: var(--arctic);
}
.service-cta > div { display: grid; gap: .5rem; max-width: 58ch; }
.service-cta p { color: var(--on-dark); font-size: .98rem; }

/* Difference */
.difference { background: var(--spruce); color: var(--arctic); position: relative; overflow: hidden; }
.difference .eyebrow { color: var(--peacock-light); margin-bottom: 1.75rem; }
.difference .h2 em { color: var(--peacock-light); }
.difference-head {
  display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); align-items: end; gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-light);
}
.ratio-mark {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(5.5rem, 2rem + 11vw, 13rem); line-height: .78; letter-spacing: -0.04em;
  text-align: right; color: transparent; -webkit-text-stroke: 1px var(--peacock-light);
  user-select: none;
}
.ratio-mark span { display: inline-block; transform: translateY(-.06em); }
.difference-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-light); }
.compare-col { padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.compare-col + .compare-col { border-left: 1px solid var(--line-light); }
.compare-ours { background: rgba(124, 198, 201, 0.07); }
.compare-label { color: rgba(232, 240, 241, .58); }
.compare-ours .compare-label { color: var(--peacock-light); }
.compare-svg { width: 100%; height: auto; max-width: 100%; }
.compare-svg .lines line { stroke: rgba(232, 240, 241, .26); stroke-width: 1; }
.compare-svg .node-team { fill: rgba(232, 240, 241, .45); }
.compare-svg .node-dim circle { fill: none; stroke: rgba(232, 240, 241, .42); stroke-width: 1; }
.compare-svg .line-strong { stroke: var(--peacock-light); stroke-width: 1.5; }
.compare-svg .node-team-gold, .compare-svg .node-gold { fill: var(--peacock-light); }
.compare-note { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.15rem; line-height: 1.35; }
.difference-copy { display: grid; gap: 1.2rem; max-width: 52ch; }
.difference-copy p { color: var(--on-dark); }
.difference-copy .lead { color: var(--arctic); font-family: var(--font-display); font-weight: 300; font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); line-height: 1.25; letter-spacing: -0.01em; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(3.5rem, 6vw, 5.5rem); }
.pillars li { padding-top: 1.25rem; border-top: 1px solid var(--line-light); display: grid; gap: .5rem; align-content: start; transition: border-color .4s ease; }
.pillars li:hover { border-top-color: var(--peacock-light); }
.pillars h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--peacock-light); }
.pillars p { color: var(--on-dark); font-size: var(--fs-sm); }

/* Beyond */
.beyond-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.beyond-copy { display: grid; gap: 1.75rem; }
.beyond-copy .lead { color: var(--ink-soft); max-width: 50ch; }
.beyond-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2rem; }
.beyond-list > div { border-top: 1px solid var(--spruce); padding-top: 1.1rem; }
.beyond-list dt { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin-bottom: .4rem; }
.beyond-list dd { color: var(--muted); font-size: var(--fs-sm); }

/* Process */
.process { background: var(--arctic-white); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-strong); }
.step { position: relative; display: grid; gap: 1rem; align-content: start; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--spruce); background: var(--arctic-white);
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 400;
  margin-bottom: .75rem;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.step:hover .step-num { background: var(--spruce); color: var(--arctic); }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* Values */
.values-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); }
.values-grid .h2 { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
.value-list { border-top: 1px solid var(--spruce); }
.value-list li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: .5rem 2.5rem; align-items: baseline;
  padding: 1.75rem 0; border-bottom: 1px solid var(--line);
  transition: border-color .4s ease;
}
.value-list .h3 { transition: color .35s ease; }
.value-list li:hover { border-bottom-color: var(--peacock); }
.value-list li:hover .h3 { color: var(--peacock); }
.value-list p { color: var(--ink-soft); }

/* Apply */
.apply { background: var(--sapphire); color: var(--arctic); }
.apply .eyebrow { color: var(--peacock-light); }
.apply .h2 em { color: var(--peacock-light); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: start; }
.apply-intro { display: grid; gap: 1.6rem; position: sticky; top: calc(var(--header-h) + 2.5rem); }
.apply-intro .lead { color: var(--on-dark); }
.apply-notes { display: grid; gap: 1.4rem; margin-top: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--line-light); }
.apply-notes dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--peacock-light); margin-bottom: .35rem; }
.apply-notes dd { color: var(--on-dark); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.apply-notes a { color: var(--arctic); }

.apply-form {
  background: var(--arctic-white); color: var(--spruce);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  display: grid; gap: 1.75rem;
  box-shadow: 0 50px 90px -50px rgba(5, 15, 30, .65);
}
.form-title { font-family: var(--font-display); font-weight: 300; font-size: 1.7rem; line-height: 1.1; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.field { display: grid; gap: .4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-size: .82rem; font-weight: 600; letter-spacing: .02em; padding: 0; color: var(--spruce); }
.field legend { margin-bottom: .75rem; }
.req { color: var(--peacock); }
.opt { font-weight: 500; color: var(--muted); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin-left: .4rem; }

input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--spruce);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: .7rem 0 .75rem; appearance: none; -webkit-appearance: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}
textarea { resize: vertical; min-height: 130px; border: 1px solid var(--line-strong); padding: .85rem 1rem; line-height: 1.55; }
select {
  cursor: pointer; padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--spruce) 50%), linear-gradient(135deg, var(--spruce) 50%, transparent 50%);
  background-position: calc(100% - 11px) 52%, calc(100% - 6px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
input:hover, select:hover, textarea:hover { border-color: var(--spruce); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--peacock); box-shadow: 0 1px 0 0 var(--peacock); }
textarea:focus { box-shadow: 0 0 0 1px var(--peacock); }
::placeholder { color: #8a9a9b; }
.field.has-error input[type="text"], .field.has-error input[type="email"], .field.has-error input[type="url"], .field.has-error textarea { border-color: var(--error); }

.prefix-input { display: flex; align-items: stretch; border-bottom: 1px solid var(--line-strong); transition: border-color .3s ease, box-shadow .3s ease; }
.prefix-input:hover { border-color: var(--spruce); }
.prefix-input:focus-within { border-color: var(--peacock); box-shadow: 0 1px 0 0 var(--peacock); }
.prefix-input span { display: grid; place-items: center; padding-right: .35rem; color: var(--muted); }
.prefix-input input, .prefix-input input:focus, .prefix-input input:hover { border-bottom: 0; box-shadow: none; }
.field.has-error .prefix-input { border-color: var(--error); }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 42px;
  padding: .55rem 1rem; border: 1px solid var(--line-strong); font-size: .9rem; line-height: 1.3;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.chip span::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; flex: none; transition: background-color .3s ease; }
.chip:hover span { border-color: var(--spruce); }
.chip input:checked + span { background: var(--spruce); color: var(--arctic-white); border-color: var(--spruce); }
.chip input:checked + span::before { background: var(--peacock-light); border-color: var(--peacock-light); }
.chip input:focus-visible + span { outline: 2px solid var(--peacock); outline-offset: 2px; }
.field.has-error .chip span { border-color: rgba(166, 61, 50, .55); }

.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; cursor: pointer; line-height: 1.45; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 19px; height: 19px; margin: .1rem 0 0; border: 1px solid var(--spruce); background: var(--arctic-white);
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease;
}
.check input::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--arctic-white); border-bottom: 1.5px solid var(--arctic-white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--spruce); }
.check input:checked::after { opacity: 1; }
.check a { color: var(--spruce); }
.consent { gap: .6rem; padding-top: .25rem; }

.error { color: var(--error); font-size: .85rem; }
.error:empty { display: none; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.btn-submit { min-width: 280px; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-hint { font-size: .78rem; color: var(--muted); }

.form-status { padding: 1.1rem 1.25rem; font-size: var(--fs-sm); border-left: 2px solid var(--peacock); background: var(--arctic); line-height: 1.55; }
.form-status.is-success { border-left-color: var(--success); background: #e3efe9; }
.form-status.is-error { border-left-color: var(--error); background: #f6e9e6; }
.form-status strong { display: block; margin-bottom: .2rem; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--spruce-deep); color: var(--arctic); padding-block: clamp(4rem, 7vw, 6.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer-brand { display: grid; gap: 1.75rem; align-content: start; justify-items: start; }
.footer-tag { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); line-height: 1.25; }
.footer-label { color: var(--peacock-light); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { text-decoration: none; color: var(--on-dark); font-size: var(--fs-sm); overflow-wrap: anywhere; transition: color .25s ease; }
.footer-col a:hover { color: var(--arctic); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, .6rem + 8.2vw, 8.4rem); line-height: .95; letter-spacing: -0.035em;
  color: rgba(232, 240, 241, .92);
  padding-block: 1.5rem 2rem; border-top: 1px solid var(--line-light);
  text-wrap: balance;
}
.footer-wordmark em { font-style: italic; color: var(--peacock-light); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: .78rem; color: rgba(232, 240, 241, .5); }
.footer-base a { color: inherit; }

/* ---------- Scroll motion (transform only; content is always visible) ---------- */
.reveal { transform: translateY(22px); transition: transform 1s var(--ease); }
.reveal.is-in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 641px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1100px) {
  .service, .service-wide { grid-column: span 3; }
  .service:nth-of-type(5) { grid-column: 1 / -1; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .rail { grid-template-columns: minmax(0, 1fr); }
  .rail-label { border-top: 0; padding-top: 0; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .8rem; }
  .rail-label::before { content: ""; width: 26px; height: 1px; background: currentColor; }
  .rail-body { border-top: 0; padding-top: 0; }
  .hero-grid, .intro-grid, .difference-grid, .beyond-grid, .values-grid, .apply-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-aside { padding-bottom: 0; }
  .intro-grid .h2, .values-grid .h2, .apply-intro { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .steps::before { display: none; }
  .difference-head { grid-template-columns: minmax(0, 1fr); }
  .ratio-mark { text-align: left; font-size: clamp(5rem, 3rem + 10vw, 9rem); }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.1rem; }
  .hero-title .line:nth-child(2) { padding-left: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div, .facts > div + div { padding: 1.2rem 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; gap: 1rem; }
  .facts dt { font-size: 1.9rem; }
  .service, .service-wide, .service:nth-of-type(5) { grid-column: 1 / -1; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--line-light); }
  .compare-svg { max-width: 260px; }
  .pillars, .beyond-list, .field-row { grid-template-columns: minmax(0, 1fr); }
  .pillars { gap: 1.5rem; }
  .value-list li { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 1.25rem; row-gap: .4rem; padding-bottom: 2.25rem; }
  .step::before { content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; width: 1px; background: var(--line-strong); }
  .step:last-child::before { display: none; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .btn-row .btn, .service-cta .btn, .btn-submit { width: 100%; }
  .btn-submit { min-width: 0; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-hint { text-align: center; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none; }
}
.difference-copy .lead em { font-style: italic; color: var(--peacock-light); }

/* ---------- FAQ ---------- */
.faq { background: var(--arctic-white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); }
.faq-head { display: grid; gap: 1.5rem; align-content: start; position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
.faq-note { color: var(--ink-soft); max-width: 34ch; font-size: .98rem; }
.nowrap { white-space: nowrap; }
.faq-list { border-top: 1px solid var(--spruce); }
.faq-item { border-bottom: 1px solid var(--line); transition: border-color .4s ease; }
.faq-item[open] { border-bottom-color: var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0; min-height: 44px;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.25;
  transition: color .3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { color: var(--peacock); }
.faq-item summary:focus-visible { outline: 2px solid var(--peacock); outline-offset: 4px; }
.faq-icon {
  position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: var(--spruce); transition: transform .45s var(--ease), background-color .3s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { border-color: var(--spruce); }
.faq-item[open]:not(.is-closing) .faq-icon { background: var(--spruce); border-color: var(--spruce); }
.faq-item[open]:not(.is-closing) .faq-icon::before, .faq-item[open]:not(.is-closing) .faq-icon::after { background: var(--arctic-white); }
.faq-item[open]:not(.is-closing) .faq-icon::after { transform: rotate(0deg); }
.faq-answer { overflow: hidden; padding: 0 clamp(0rem, 4vw, 3.75rem) 1.75rem 0; display: grid; gap: .9rem; color: var(--ink-soft); max-width: 64ch; }
.faq-answer ul { display: grid; gap: .5rem; padding-left: 0; }
.faq-answer li { display: flex; gap: .75rem; align-items: baseline; font-size: .97rem; }
.faq-answer li::before { content: ""; width: 12px; height: 1px; background: var(--peacock); flex: none; transform: translateY(-4px); }
.faq-answer strong { color: var(--spruce); font-weight: 600; }
.faq-answer a { color: var(--spruce); }
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}
@media (max-width: 640px) {
  .faq-item summary { padding: 1.3rem 0; gap: 1rem; }
  .faq-icon { width: 34px; height: 34px; }
  .nowrap { white-space: normal; overflow-wrap: anywhere; }
}
