/* =========================================================
   Cygnet Creations · Harbour (light)
   Layout: asymmetric 12-col editorial page, max 1240px.
   Phone < 768 · Tablet 768–1099 · Desktop ≥ 1100
   ========================================================= */

:root {
  --mist: #ECF1F3;
  --paper: #FCFDFD;
  --ink: #0C1B2A;
  --slate: #4F5E6B;
  --line: #D2DBE0;
  --line-soft: #E3EAED;
  --petrol: #0B5E6B;
  --petrol-deep: #094E59;
  --wash: #DCEAEC;
  --brass: #B07A2A;
  --brass-wash: #F4EADB;
  --brass-ink: #5E3E0E;
  --word-off: #A7B5BE;
  --band: #0C1B2A;
  --band-line: #23394C;
  --band-text: #A9B9C4;

  --f-display: "Funnel Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Funnel Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --section: clamp(5rem, 11vw, 8.5rem);
  --header-h: 72px;

  --paper-shadow: 0 1px 2px rgba(12, 27, 42, 0.06), 0 22px 44px -20px rgba(12, 27, 42, 0.32);

  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--petrol); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }
.cta :focus-visible, .dark-band :focus-visible { outline-color: var(--paper); }
.form-card :focus-visible { outline-color: var(--petrol); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(1240px + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { :root { --gutter: max(32px, env(safe-area-inset-left, 0px)); } .wrap { padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1100px) { :root { --gutter: 40px; } .wrap { padding-right: 40px; } }

.section { padding-top: var(--section); }

/* ---------- Type ---------- */
h1, h2, .h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.h2 { font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.375rem); line-height: 1.04; }
.h3 { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.15; letter-spacing: -0.02em; }
.narrow { max-width: 22ch; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--slate); max-width: 58ch; text-wrap: pretty; }
.body { font-size: 1.0625rem; line-height: 1.6; color: var(--slate); max-width: 60ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--petrol); color: var(--paper);
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--petrol-deep); } }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.tlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none;
}
.tlink span { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tlink:hover { color: var(--petrol); } .tlink:hover span { transform: translateX(3px); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--mist) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header.scrolled { border-bottom-color: color-mix(in srgb, var(--line) 80%, transparent); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; min-height: 44px; }
.brand-mark { width: 28px; height: 28px; color: var(--petrol); flex: none; }
.nav { display: none; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--slate); text-decoration: none; position: relative; padding: 8px 0; transition: color 200ms ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--petrol); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
.header-actions { display: flex; align-items: center; gap: 4px; }
.menu-btn { width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; border-radius: 12px; }
.menu-icon { width: 20px; height: 12px; position: relative; display: block; }
.menu-icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 260ms var(--ease-out), top 260ms var(--ease-out); }
.menu-icon i:first-child { top: 0; }
.menu-icon i:last-child { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:last-child { top: 5px; transform: rotate(-45deg); }
@media (max-width: 767px) { .header-actions .btn-sm { display: none; } :root { --header-h: 62px; } .brand { font-size: 17px; } .brand-mark { width: 24px; height: 24px; } }
@media (min-width: 1100px) { .nav { display: flex; } .menu-btn { display: none; } }

.menu-sheet {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--mist);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.menu-sheet.open { opacity: 1; transform: none; }
.menu-sheet nav { display: flex; flex-direction: column; }
.menu-sheet nav a { font-family: var(--f-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-ctas { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.menu-ctas .tlink { justify-content: center; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  display: grid; gap: 40px;
  padding-top: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-title { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 4.625rem); line-height: 0.99; letter-spacing: -0.035em; }
.hero-title span { color: var(--petrol); display: block; }
.hero-ctas { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.hero-ctas .tlink { justify-content: center; }
@media (min-width: 560px) { .hero-ctas { flex-direction: row; align-items: center; gap: 28px; } }
@media (min-width: 768px) { .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; } }
@media (min-width: 1100px) { .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } .hero-copy { gap: 28px; padding-bottom: 24px; } }

html.js [data-intro] { animation: intro 900ms var(--ease-expo) both; }
html.js [data-intro]:nth-child(2) { animation-delay: 90ms; }
html.js [data-intro]:nth-child(3) { animation-delay: 180ms; }
@keyframes intro { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Hero scene: paper records on a tabletop ---------- */
.scene {
  --s: 0.66;
  position: relative;
  height: 360px;
  perspective: 1600px;
  perspective-origin: 50% 30%;
}
@media (min-width: 768px) { .scene { --s: 0.8; height: 470px; } }
@media (min-width: 1100px) { .scene { --s: 0.92; height: 580px; } }
.desk {
  position: absolute; inset: 0;
  border-radius: clamp(20px, 3vw, 28px);
  background:
    radial-gradient(120% 90% at 30% 0%, #E6F0F2 0%, transparent 60%),
    var(--wash);
  transform-style: preserve-3d;
  transform: rotateX(4deg);
}
.rec {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--w) * var(--s) * 1px);
  font-size: calc(var(--s) * 16px);
  transform-style: preserve-3d;
  will-change: transform;
}
/* Loose resting layout (also the no-JS fallback) */
.rec[data-rec="statement"] { left: 30%; top: 38%; transform: translate(-50%, -50%) rotate(-5deg); }
.rec[data-rec="invoice"] { left: 73%; top: 42%; transform: translate(-50%, -50%) translateZ(20px) rotate(6deg); }
.rec[data-rec="pos"] { left: 33%; top: 76%; transform: translate(-50%, -50%) translateZ(40px) rotate(-11deg); }
.rec[data-rec="transfer"] { left: 70%; top: 76%; transform: translate(-50%, -50%) translateZ(60px) rotate(3deg); }
.rec[data-rec="profile"] { left: 50%; top: 52%; transform: translate(-50%, -50%) translateZ(90px) rotate(-1deg); opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
  .rec[data-rec="statement"] { left: 34%; top: 36%; }
  .rec[data-rec="invoice"] { left: 72%; top: 44%; }
  .rec[data-rec="pos"] { left: 28%; top: 74%; }
}

.paper {
  position: relative;
  background: var(--paper);
  border-radius: 5px;
  box-shadow: var(--paper-shadow);
  font-family: var(--f-mono);
  color: var(--ink);
}
/* faint paper fibre */
.paper::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .1 0 0 0 0 .16 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.paper-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 0.85em; }
.paper-head b { font-family: var(--f-display); font-size: 0.94em; font-weight: 600; letter-spacing: -0.01em; }
.paper-head span, .paper-meta { font-size: 0.7em; color: var(--slate); }
.prow { position: relative; display: flex; justify-content: space-between; gap: 0.75em; padding: 0.45em 0; border-top: 1px solid var(--line-soft); font-size: 0.72em; font-variant-numeric: tabular-nums; }
.prow span:first-child { color: var(--slate); }
.lines { display: flex; flex-direction: column; gap: 0.5em; margin-top: 1.1em; }
.lines i { display: block; height: 0.38em; border-radius: 3px; background: var(--line-soft); }

.stmt { padding: 1.4em 1.4em 1.1em; }
.invoice { padding: 1.25em; }
.invoice-title { font-family: var(--f-display); font-size: 1.38em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.invoice .total { margin-top: 1em; font-weight: 500; }
.invoice .total span:first-child { color: var(--ink); }
.stamp { display: inline-block; margin-top: 0.6em; font-size: 0.62em; padding: 0.25em 0.6em; border: 1.5px solid var(--petrol); color: var(--petrol); border-radius: 4px; transform: rotate(-6deg); letter-spacing: 0.06em; }
.pos { padding: 0.6em 1em; border-radius: 2px; text-align: center; font-size: 0.7em; line-height: 1.75; }
.perf { border-top: 2px dashed var(--line); margin: 0.4em -0.4em; }
.pos-strong { font-weight: 500; letter-spacing: 0.04em; }
.pos-amount { font-size: 1.55em; font-weight: 500; margin: 0.4em 0; font-variant-numeric: tabular-nums; }
.pos-ok { color: var(--petrol); font-weight: 500; letter-spacing: 0.04em; }
.transfer { padding: 1.15em; }
.transfer-head { display: flex; align-items: center; gap: 0.6em; font-family: var(--f-body); font-size: 0.82em; font-weight: 600; }
.tick { width: 1.65em; height: 1.65em; border-radius: 50%; background: var(--wash); color: var(--petrol); display: grid; place-items: center; flex: none; }
.tick svg { width: 0.9em; height: 0.9em; }
.transfer-amount { font-size: 1.25em; font-weight: 500; margin-top: 0.8em; font-variant-numeric: tabular-nums; }

.profile { padding: 1.3em 1.3em 1.1em; box-shadow: 0 1px 2px rgba(12,27,42,.06), 0 30px 60px -22px rgba(12,27,42,.42); }
.profile-head { display: flex; align-items: center; gap: 0.55em; font-family: var(--f-display); font-weight: 600; font-size: 0.98em; letter-spacing: -0.01em; color: var(--ink); padding-bottom: 0.85em; border-bottom: 1px solid var(--line-soft); }
.profile-head svg { width: 1.4em; height: 1.4em; color: var(--petrol); flex: none; }
.profile-list { display: flex; flex-direction: column; gap: 0.6em; padding: 0.95em 0; font-family: var(--f-body); font-size: 0.82em; }
.profile-list li { display: flex; align-items: center; gap: 0.7em; }
.dot { width: 0.6em; height: 0.6em; border-radius: 50%; flex: none; }
.dot.ok { background: var(--petrol); }
.dot.flag { background: var(--brass); }
.profile-foot { font-size: 0.64em; color: var(--slate); border-top: 1px solid var(--line-soft); padding-top: 0.8em; }

.paper.drift { animation: drift 7s ease-in-out infinite; }
.rec:nth-child(2) .paper.drift { animation-duration: 8s; animation-delay: -2s; }
.rec:nth-child(3) .paper.drift { animation-duration: 6.5s; animation-delay: -4s; }
.rec:nth-child(4) .paper.drift { animation-duration: 7.5s; animation-delay: -1s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* ---------- Sources strip ---------- */
.sources {
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  display: flex; flex-direction: column; gap: 14px;
}
.sources-title { font-size: 15px; font-weight: 600; }
.sources-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sources-list li { font-size: 14px; color: var(--slate); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
@media (min-width: 768px) {
  .sources { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0; }
  .sources > * { padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .sources-list { gap: 8px 28px; padding-left: 40px; }
  .sources-list li { background: none; border: 0; padding: 0; font-size: 15px; }
}

/* ---------- Generic splits / rows ---------- */
.split-75, .split-even { display: grid; gap: 24px; }
.head-row { align-items: end; }
@media (min-width: 900px) {
  .split-75 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
.row { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.row b { font-size: 17px; font-weight: 600; line-height: 1.35; }
.row p { font-size: 1rem; line-height: 1.55; color: var(--slate); }
.list-plain .row p { color: var(--ink); }
.col-title { margin-bottom: 10px; }
.list-2col { display: grid; column-gap: 32px; }
@media (min-width: 640px) { .list-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel-col > .row:last-child, .list-plain .row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .list-2col .row:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 639px) { .list-2col .row:last-child { border-bottom: 1px solid var(--line); } }
.problem-lists { margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.benefits { margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); }

/* ---------- Segmented tabs (mobile lists + form) ---------- */
.tabs-mobile, .tabs {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px; border-radius: 999px; background: var(--wash);
}
.tabs-mobile button, .tabs button {
  position: relative; z-index: 1; min-height: 44px; border: 0; background: transparent; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--slate); cursor: pointer;
  transition: color 200ms ease;
}
.tabs-mobile button[aria-selected="true"], .tabs button[aria-selected="true"] { color: var(--ink); }
.tabs-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--paper);
  box-shadow: 0 1px 3px rgba(12, 27, 42, 0.12);
  transition: transform 320ms var(--ease-out);
}
[data-index="1"] > .tabs-thumb { transform: translateX(100%); }
.tabs-mobile { margin-top: 28px; }
@media (min-width: 768px) { .tabs-mobile { display: none; } }
@media (max-width: 767px) {
  html.js [data-tab-panels] .panel-col[hidden-mobile] { display: none; }
  [data-tab-panels] { margin-top: 12px !important; }
  [data-tab-panels] .col-title { display: none; }
}

/* ---------- Solution statement ---------- */
.statement { font-size: clamp(2rem, 1rem + 3.6vw, 3.625rem); line-height: 1.08; max-width: 1040px; }
html.js .statement .w { color: var(--word-off); transition: color 350ms ease; }
html.js .statement .w.on { color: var(--ink); }
.solution-lead { margin-top: 32px; }

/* ---------- How it works ---------- */
.how { margin-top: clamp(2.5rem, 1.5rem + 4vw, 4rem); display: grid; gap: 64px; }
.how-art { display: none; }
.how-steps { display: flex; flex-direction: column; gap: 56px; }
.stage-label { display: block; font-size: 14px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.how-step .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.75rem); margin-bottom: 16px; }
.how-step .row:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 1100px) {
  .how { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .how-art { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
  .how-step { opacity: 0.55; transition: opacity 400ms ease; }
  .how-step.active { opacity: 1; }
  .how-step.active .stage-label { color: var(--petrol); }
  html:not(.js) .how-step { opacity: 1; }
}
/* Tablet: 2×2 grid of stages */
@media (min-width: 768px) and (max-width: 1099px) {
  .how-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .how-step { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
  .how-step .row:first-of-type { border-top: 0; padding-top: 0; }
  .how-step .row:last-child { border-bottom: 0; padding-bottom: 0; }
}
/* Phone: one vertical path */
@media (max-width: 767px) {
  .how-steps { position: relative; padding-left: 30px; gap: 40px; }
  .how-steps::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
  .how-step { position: relative; }
  .how-step::before { content: ""; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--mist); border: 2px solid var(--petrol); box-sizing: border-box; }
  .how-step:first-child::before { background: var(--petrol); }
  .how-step:last-child::before { border-color: var(--brass); }
}

.how-stage { position: relative; height: 460px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.how-scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(14px) scale(0.98); filter: blur(4px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), filter 500ms var(--ease-out); }
.how-scene.on { opacity: 1; transform: none; filter: none; }
.how-scene .paper { position: absolute; font-size: 16px; }
.how-caption { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 4px 0; font-size: 14px; color: var(--slate); font-variant-numeric: tabular-nums; }
.how-caption b { color: var(--ink); font-weight: 600; }

/* stage 1 */
.form-sheet { width: 62%; left: 12%; top: 13%; padding: 1.3em; transform: rotate(-2deg); }
.field { display: flex; flex-direction: column; gap: 0.35em; padding: 0.55em 0; font-family: var(--f-body); font-size: 0.75em; color: var(--slate); }
.field i { display: block; height: 1px; background: var(--line); }
.consent { width: 58%; right: 8%; bottom: 10%; padding: 1em 1.1em; transform: rotate(3deg); font-family: var(--f-body); }
.consent-row { display: flex; gap: 0.6em; align-items: center; font-size: 0.72em; font-weight: 500; }
.consent .box { width: 1.6em; height: 1.6em; border-radius: 4px; background: var(--petrol); color: var(--paper); display: grid; place-items: center; flex: none; }
.consent .box svg { width: 1em; height: 1em; }
.signature { width: 70%; height: auto; margin-top: 0.6em; color: var(--ink); }
.sig-line { height: 1px; background: var(--line); margin-top: 0.1em; }
/* stage 2 */
.analysis { width: 78%; padding: 1.4em; transform: rotate(-1.5deg); }
.analysis .prow em { position: absolute; right: -0.4em; top: 50%; transform: translate(100%, -50%); font-style: normal; font-family: var(--f-body); font-size: 0.9em; font-weight: 600; padding: 0.15em 0.5em; border-radius: 999px; white-space: nowrap; }
.analysis .prow { margin: 0 -0.5em; padding-left: 0.5em; padding-right: 0.5em; }
.hl-petrol { background: var(--wash); border-radius: 4px; }
.hl-petrol em { background: var(--petrol); color: var(--paper); }
.hl-brass { background: var(--brass-wash); border-radius: 4px; }
.hl-brass em { background: var(--brass); color: var(--paper); }
.prow.gap span:last-child { color: var(--brass-ink); font-style: italic; }
.analysis { margin-right: 4em; }
/* stage 3 */
.criteria { width: 64%; padding: 1.3em; font-family: var(--f-body); }
.criteria.back { left: 8%; top: 12%; transform: rotate(-4deg); }
.criteria.front { right: 8%; bottom: 10%; transform: rotate(2.5deg); }
.crit { display: flex; align-items: center; gap: 0.6em; font-size: 0.78em; padding: 0.4em 0; border-top: 1px solid var(--line-soft); }
.c-dot { width: 0.65em; height: 0.65em; border-radius: 50%; border: 1.5px solid var(--slate); flex: none; }
.c-dot.ok { background: var(--petrol); border-color: var(--petrol); }
.review-stamp { position: absolute; right: 1em; bottom: 1em; font-family: var(--f-mono); font-size: 0.62em; letter-spacing: 0.08em; color: var(--petrol); border: 1.5px solid var(--petrol); border-radius: 4px; padding: 0.3em 0.6em; transform: rotate(-8deg); }
/* stage 4 */
.storefront { width: 62%; overflow: hidden; transform: rotate(-2deg); }
.awning { height: 2.6em; background: repeating-linear-gradient(90deg, var(--petrol) 0 1.6em, var(--paper) 1.6em 3.2em); border-bottom: 1px solid var(--line); }
.store-body { padding: 1.2em; display: flex; flex-direction: column; gap: 0.3em; font-family: var(--f-body); }
.store-body b { font-family: var(--f-display); font-weight: 600; font-size: 1em; }
.store-body span { font-size: 0.75em; color: var(--slate); }
.store-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5em; margin-top: 0.8em; }
.store-items i { aspect-ratio: 1; border-radius: 6px; background: var(--wash); }
.store-items i:nth-child(2) { background: var(--brass-wash); }
.later-tag { right: 10%; bottom: 14%; font-family: var(--f-body); font-size: 0.75em; font-weight: 600; color: var(--brass-ink); background: var(--brass-wash); padding: 0.5em 0.9em; border-radius: 999px; transform: rotate(4deg); }

/* ---------- Solutions bento ---------- */
.bento { margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); display: grid; gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.tile .body { font-size: 16px; }
.tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tile-title { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); }
.tile-main .tile-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.value { font-size: 15px; line-height: 1.55; margin-top: auto; }
.value b { font-weight: 600; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--mist); color: var(--slate); white-space: nowrap; }
.chip-petrol { background: var(--wash); color: var(--petrol); }
.chip-brass { background: var(--brass-wash); color: var(--brass-ink); }
.tile-art { position: relative; height: 220px; border-radius: 16px; background: var(--mist); overflow: hidden; margin: 6px 0; }
.tile-art .paper { position: absolute; font-size: 16px; }
.art-a { left: 10%; top: 20%; width: 58%; padding: 18px; transform: rotate(-2deg); }
.bar-dark { width: 40%; height: 8px; border-radius: 3px; background: var(--ink); opacity: 0.85; }
.art-a .lines { margin-top: 16px; gap: 9px; }
.art-a .lines i { height: 6px; }
.lines i.l-petrol { background: #BFDADE; }
.lines i.l-brass { background: #EBD6B4; }
.art-b { right: 8%; top: 36%; width: 36%; padding: 16px; transform: rotate(4deg); font-family: var(--f-display); }
.art-b b { font-size: 13px; font-weight: 600; }
.art-b .lines { margin-top: 12px; gap: 7px; }
.art-b .lines i { height: 5px; }
.tile-later { background: transparent; }
.later-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-main { grid-column: 1 / -1; }
  .tile-later { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .tile-main { grid-column: span 7; grid-row: span 2; }
  .tile:not(.tile-main):not(.tile-later) { grid-column: span 5; }
  .tile-art { flex: 1; min-height: 240px; }
}

/* ---------- Inclusion callout ---------- */
.inclusion { margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); background: var(--brass-wash); border-radius: 20px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; }
.inclusion .h3 { color: var(--brass-ink); }
.inclusion p { font-size: clamp(16px, 0.9rem + 0.3vw, 18px); line-height: 1.6; color: #3D2A0B; max-width: 62ch; }
@media (min-width: 900px) { .inclusion { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; } }

/* ---------- Who ---------- */
.who { margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); border-bottom: 1px solid var(--line); }
.who-row { display: grid; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); }
.who-label { font-size: 14px; font-weight: 600; color: var(--slate); }
.who-text { font-family: var(--f-display); font-size: clamp(1.25rem, 0.95rem + 1.1vw, 1.875rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; max-width: 40ch; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chips li { font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; }
@media (min-width: 900px) { .who-row { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; padding: 32px 0; } }

/* ---------- Example ---------- */
.example-top { display: grid; gap: 28px; align-items: end; }
.example-photo { border-radius: 20px; overflow: hidden; background: var(--wash); aspect-ratio: 4 / 4.2; }
.example-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.example-intro { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) { .example-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; } .example-photo { aspect-ratio: 4 / 5; } }
@media (min-width: 1100px) { .example-top { gap: 64px; } }
.compare { display: grid; gap: 16px; margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
.compare-col { border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.compare-col ol { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; counter-reset: s; }
.compare-col li { counter-increment: s; display: grid; grid-template-columns: 1.8em minmax(0, 1fr); gap: 6px; font-size: 16px; line-height: 1.5; }
.compare-col li::before { content: counter(s); font-variant-numeric: tabular-nums; font-weight: 600; }
.compare-without { border: 1px solid var(--line); color: var(--slate); }
.compare-without .h3 { color: var(--slate); }
.compare-without li::before { color: var(--slate); }
.compare-with { background: var(--paper); border: 1px solid var(--line); }
.compare-with .h3 { color: var(--petrol); }
.compare-with li::before { color: var(--petrol); }
@media (min-width: 900px) { .compare { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; } }
.example-close { margin-top: clamp(2rem, 1rem + 2vw, 2.75rem); font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + 0.9vw, 1.625rem); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; max-width: 46ch; text-wrap: pretty; }

/* ---------- Different ---------- */
.diff-scroller { margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.diff-row { display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--line); }
.diff-row:last-child { border-bottom: 1px solid var(--line); }
.diff-row b { font-size: 19px; font-weight: 600; line-height: 1.3; }
.diff-row p { color: var(--slate); max-width: 56ch; }
@media (min-width: 900px) { .diff-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 26px 0; } .diff-row b { font-size: 20px; } }
@media (max-width: 767px) {
  .diff-scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-left: var(--gutter); }
  .diff-scroller::-webkit-scrollbar { display: none; }
  .diff { display: flex; gap: 12px; width: max-content; max-width: none; padding-bottom: 6px; }
  .diff-row, .diff-row:last-child { scroll-snap-align: start; width: min(78vw, 320px); border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 22px; align-content: start; gap: 10px; }
  .diff-row p { font-size: 15px; }
}

/* ---------- Dark band ---------- */
.dark-band { margin-top: var(--section); background: var(--band); color: #E8EEF1; }
.dark-inner { padding-top: clamp(4.5rem, 3rem + 5vw, 7rem); padding-bottom: clamp(4.5rem, 3rem + 5vw, 7rem); }
.dark-band .h2 { color: #F4F8F9; }
.dark-band .body { color: var(--band-text); line-height: 1.7; }
.commitments { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); display: grid; column-gap: 56px; }
.commitments li { padding: 18px 0; border-top: 1px solid var(--band-line); font-size: 17px; line-height: 1.5; }
.commitments li:last-child { border-bottom: 1px solid var(--band-line); }
@media (min-width: 768px) { .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); } .commitments li:nth-child(6) { border-bottom: 1px solid var(--band-line); } }

/* ---------- Vision roadmap ---------- */
.roadmap { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); display: grid; gap: 22px; }
.roadmap li { display: flex; flex-direction: column; gap: 4px; padding-top: 22px; border-top: 3px solid; }
.roadmap span { font-size: 14px; font-weight: 600; }
.roadmap b { font-family: var(--f-display); font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.625rem); font-weight: 600; letter-spacing: -0.02em; }
.roadmap .rm-now { border-color: var(--petrol); } .rm-now span { color: var(--petrol); }
.roadmap .rm-next { border-color: #9FB0BB; } .rm-next span { color: var(--slate); }
.roadmap .rm-later { border-color: #D9BC8C; } .rm-later span { color: #8A6020; }
@media (min-width: 768px) { .roadmap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .roadmap li { padding-right: 24px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; } }
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 0;
  font-size: clamp(16px, 0.95rem + 0.3vw, 19px); font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; transition: transform 300ms var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--petrol); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-a p { color: var(--slate); padding-bottom: 22px; max-width: 60ch; }

/* ---------- CTA + form ---------- */
.cta {
  background: var(--petrol); color: var(--paper);
  border-radius: clamp(22px, 3vw, 30px);
  padding: clamp(28px, 5vw, 72px);
  display: grid; gap: 32px; align-items: start;
}
.cta .h2 { color: var(--paper); }
.cta-copy { display: flex; flex-direction: column; gap: 20px; }
.cta-copy p { font-size: clamp(16px, 0.95rem + 0.3vw, 18px); line-height: 1.6; color: #CFE4E7; max-width: 46ch; }
@media (min-width: 1000px) { .cta { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } .cta-copy { position: sticky; top: calc(var(--header-h) + 40px); } }

.form-card { background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px -30px rgba(4, 30, 36, 0.5); }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label { font-size: 14px; font-weight: 600; }
.opt { font-weight: 400; color: var(--slate); margin-left: 4px; }
.field-group input, .field-group select, .field-group textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #F6F9FA;
  font-size: 16px; line-height: 1.4;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.field-group textarea { resize: vertical; min-height: 96px; }
.field-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%234F5E6B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { outline: none; border-color: var(--petrol); background: var(--paper); box-shadow: 0 0 0 3px rgba(11, 94, 107, 0.16); }
.field-group [aria-invalid="true"] { border-color: #B3412E; }
.err { font-size: 14px; color: #A33A28; }
.form-note { font-size: 13px; color: var(--slate); text-align: center; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 4px 8px; }
.form-done:focus { outline: none; }
.form-done svg { width: 44px; height: 44px; color: var(--petrol); }
.form-done p { color: var(--slate); }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(4rem, 3rem + 4vw, 6rem); padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand b { font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.footer-brand span { color: var(--slate); font-size: 15px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; font-size: 15px; }
.footer-nav a { color: var(--slate); text-decoration: none; padding: 10px 0; }
@media (hover: hover) and (pointer: fine) { .footer-nav a:hover { color: var(--ink); } }
@media (min-width: 768px) { .footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; } }
.wordmark { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.055em; line-height: 1; padding-bottom: 0.06em; color: var(--line); font-size: clamp(5.5rem, 24vw, 23rem); margin-left: -0.04em; margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); white-space: nowrap; user-select: none; }
.legal { margin-top: 24px; font-size: 13px; color: var(--slate); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px max(20px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--mist) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 320ms var(--ease-out);
}
.mobile-bar.show { transform: none; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Scroll reveals ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-expo); transition-delay: var(--d, 0ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js [data-intro] { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .paper.drift { animation: none; }
  .how-scene { transition: opacity 200ms ease; transform: none; filter: none; }
  html.js .statement .w { color: var(--ink); transition: none; }
  .menu-sheet, .mobile-bar, .tabs-thumb { transition-duration: 1ms; }
}
