/* Kubit Solutions — homepage
   White ground, ink type, orange as the deliberate accent.
   Albert Sans is self-hosted (fonts/albert-sans, SIL OFL 1.1). */


:root {
  --step--1: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --step-2:  clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  --step-4:  clamp(2.25rem, 1.8rem + 2.25vw, 3.5rem);
  --step-5:  clamp(2.75rem, 2rem + 3.75vw, 5rem);
  --display: clamp(2.25rem, 1.3rem + 4.2vw, 5.125rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --white: #ffffff;
  --paper: #f6f5f2;
  --stage: #dcdbda;
  --ink: #09091a;
  --ink-2: #33333d;
  --ink-3: #5c5c66;
  --line: #e4e2dd;
  --line-strong: #8a8a90;
  --orange: #FF6F00;
  --orange-deep: #b84a00;
  --orange-tint: #fff3e8;
  --blue: #1878F1;
  --focus: #F89800;
  --error: #b3261e;
  --success: #1b6b3a;

  --font: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --gutter: var(--space-4);
  --section-y: var(--space-12);
  --max: 1200px;
}

@media (min-width: 768px) {
  :root { --gutter: var(--space-8); --section-y: var(--space-16); }
}
@media (min-width: 1024px) {
  :root { --section-y: var(--space-24); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  caret-color: var(--orange);
  scrollbar-color: var(--line-strong) var(--paper);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { max-width: 65ch; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
strong { font-weight: 700; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-3) var(--space-4); background: var(--ink); color: var(--white);
  font-weight: 700; border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-4); }

main { padding-top: calc(var(--nav-top) + var(--nav-h)); }
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

h2 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }

.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); }
.section-note, .section-lede { color: var(--ink-3); }
.section-lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.meta { font-size: var(--step--1); font-weight: 600; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-width: 120px; min-height: 52px; padding: var(--space-3) var(--space-6);
  font: inherit; font-size: var(--step-0); font-weight: 700; text-decoration: none;
  border-radius: 999px; border: 0; cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 0.2s ease; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff8424; color: var(--ink); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { background: #e86500; transform: translateY(1px); }

.btn-text {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange);
  text-decoration-thickness: 2px; text-underline-offset: 0.3em;
}
.btn-text:hover { color: var(--orange-deep); }
.btn-text:active { color: var(--ink); }

/* ---------- Hero ---------- */
/* Mobile order: heading, sentence, actions, then artwork. */
.hero {
  display: grid; gap: var(--space-6);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding: var(--space-8) var(--gutter) var(--space-12);
}
.hero-copy { display: grid; gap: var(--space-6); justify-items: start; }
.hero-title {
  font-size: clamp(2.5rem, 1rem + 3.4vw, 4.5rem); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.035em; max-width: 7.2em; text-wrap: wrap;
}
.hero-lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 24ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-8); }
.btn-text--arrow { gap: var(--space-2); text-decoration: none; }
.btn-text--arrow svg { width: 20px; height: 20px; flex: none; color: var(--orange-deep); transition: transform 0.2s ease; }
.btn-text--arrow:hover svg { transform: translateX(3px); }
.btn-text--arrow:hover { text-decoration: underline; text-decoration-color: var(--orange); }

/* Transparent artwork: no frame, no crop. Space is reserved by width/height + aspect-ratio. */
.hero-art { margin-inline: calc(-1 * var(--space-2)); }
.hero-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.hero-art figcaption {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin: var(--space-2) var(--space-2) 0;
  font-size: var(--step--1); font-weight: 600; color: var(--ink-3);
}
.hero-art figcaption svg { width: 22px; height: 16px; flex: none; color: var(--orange); }

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-8); align-items: center;
    min-height: min(calc(100svh - var(--nav-h)), 860px);
    padding-block: var(--space-8) var(--space-12);
  }
  .hero-copy { gap: var(--space-8); }
  .hero-art { margin-inline: 0 calc(-1 * var(--space-4)); }
  .hero-art img { max-height: calc(100svh - var(--nav-h) - var(--space-12)); }
  .hero-art figcaption { display: flex; justify-content: center; margin-top: 0; }
}
@media (min-width: 1280px) {
  /* Image-led: the artwork takes the right margin and tucks slightly under the copy column.
     Its transparent edge padding keeps panels clear of the text (checked at 1280–1920). */
  .hero { min-height: 0; padding-block: var(--space-12) var(--space-16); gap: 0; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-art {
    margin-left: calc(-1 * var(--space-12));
    margin-right: calc(-1 * min(10rem, max(0px, (100vw - var(--max)) / 2 - var(--space-8))));
  }
  .hero-art img { max-height: none; }
}

/* ---------- Use cases ---------- */
/* Blue band per the use-case brief: white type, white outline CTA, white focus ring for 3:1 on blue. */
.use-cases { --uc-blue: #2B5BA8; background: var(--uc-blue); color: var(--white); }
.use-cases h2, .use-cases h3 { color: var(--white); }
.use-cases .section-lede, .use-cases .uc p { color: rgba(255, 255, 255, 0.88); }
.use-cases .uc-note { color: rgba(255, 255, 255, 0.8); }
.use-cases :focus-visible { outline-color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--uc-blue); }
.btn-outline-light:hover svg { transform: translateX(3px); }
.btn-outline-light:active { background: rgba(255, 255, 255, 0.86); transform: translateY(1px); }
.uc-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-12); }
.uc-head h2 { font-size: var(--step-5); line-height: 1.02; }
.uc-dot { color: var(--orange); }
.uc-note { order: -1; }
.uc-gallery { display: grid; gap: var(--space-12) var(--space-8); }
.uc { display: grid; align-content: start; gap: var(--space-2); }
.uc-art { aspect-ratio: 3 / 2; margin-bottom: var(--space-2); }
.uc-art img { width: 100%; height: 100%; object-fit: contain; }
.uc h3 { font-size: var(--step-2); }
.uc p { max-width: 40ch; }
.uc-cta { margin-top: var(--space-12); }
@media (max-width: 767px) {
  .uc-gallery { gap: var(--space-8); }
  .uc { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--space-4); align-items: center; }
  .uc-art { grid-row: 1 / span 2; margin-bottom: 0; }
  .uc h3 { align-self: end; font-size: var(--step-1); }
  .uc p { align-self: start; }
}
@media (min-width: 768px) {
  .uc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc:last-child { grid-column: 1 / -1; }
  .uc:last-child .uc-art { width: min(100%, 640px); }
}
@media (min-width: 1024px) {
  .uc-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-16) var(--space-12); }
  .uc { grid-column: span 2; }
  .uc:nth-child(4), .uc:nth-child(5) { grid-column: span 3; }
  .uc:last-child .uc-art { width: 100%; }
  .uc-cta { display: flex; justify-content: flex-end; }
}

/* ---------- Hero: light along the pipes ---------- */
.hero-art { position: relative; }
.hero-art picture { display: block; }
/* The overlay copies the image box (width, 3:2 ratio, max-height); the default
   preserveAspectRatio "meet" then letterboxes exactly like object-fit: contain. */
.hero-flow {
  position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 3 / 2;
  pointer-events: none; overflow: visible;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-flow { max-height: calc(100svh - var(--nav-h) - var(--space-12)); }
}

.hf-run path { fill: none; stroke-linecap: round; stroke-dasharray: 12 200; stroke-dashoffset: 12; }
.hf-halo { stroke: #fff0c2; stroke-width: 30; filter: url(#hf-blur); }
.hf-core { stroke: #ffffff; stroke-width: 9; }
.hf-hub { opacity: 0; transform-box: fill-box; transform-origin: center; }
.hf-done { fill: none; stroke: #2fb463; stroke-width: 6; opacity: 0; transform-box: fill-box; transform-origin: center; }

/* One pass, about 4.2s: three inputs converge, the hub brightens, two outputs leave, Completed acknowledges. */
.hero-flow.is-playing .hf-run path { animation: hf-travel 1.4s cubic-bezier(0.45, 0, 0.25, 1) both; }
.hero-flow.is-playing .hf-docs path    { animation-delay: 0s; }
.hero-flow.is-playing .hf-inbox path   { animation-delay: 0.2s; }
.hero-flow.is-playing .hf-records path { animation-delay: 0.4s; }
.hero-flow.is-playing .hf-hub          { animation: hf-hub 1.3s ease-out 1.2s both; }
.hero-flow.is-playing .hf-review path  { animation-delay: 1.9s; animation-duration: 1.2s; }
.hero-flow.is-playing .hf-done-run path { animation-delay: 2.05s; animation-duration: 1.4s; }
.hero-flow.is-playing .hf-done         { animation: hf-done 0.9s ease-out 3.3s both; }

@keyframes hf-travel {
  from { stroke-dashoffset: 12; }
  to   { stroke-dashoffset: -112; }
}
@keyframes hf-hub {
  0%   { opacity: 0; transform: scale(0.85); }
  35%  { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}
@keyframes hf-done {
  0%   { opacity: 0; transform: scale(0.8); }
  30%  { opacity: 0.9; }
  100% { opacity: 0; transform: scale(2.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flow { display: none; }
}

/* ---------- Services ---------- */
.svx-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); }
.svx-head .section-lede { max-width: 46ch; }
.svx-head .btn-text { justify-self: start; }

.svx-grid { display: grid; gap: var(--space-4); }
.svx-card a {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  height: 100%; padding: var(--space-6);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.svx-num {
  font-size: var(--step--1); font-weight: 700; color: var(--orange-deep);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.svx-card h3 { font-size: var(--step-2); }
.svx-card p { color: var(--ink-3); }
.svx-go {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-top: auto; align-self: flex-end;
  border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.svx-go svg { width: 20px; height: 20px; }
.svx-card a:hover { border-color: var(--orange); box-shadow: 0 14px 30px -18px rgba(9, 9, 26, 0.25); transform: translateY(-2px); }
.svx-card a:hover h3 { color: var(--orange-deep); }
.svx-card a:hover .svx-go { background: var(--orange); border-color: var(--orange); transform: translateX(3px); }
.svx-card a:active { transform: translateY(0); }
.svx-card a:active .svx-go { background: #e86500; }

/* Specialist sector: warmer, larger, leads the set. */
.svx-lead a { background: var(--orange-tint); border-color: transparent; gap: var(--space-4); padding: var(--space-8) var(--space-6); }
.svx-lead h3 { font-size: var(--step-3); }
.svx-lead p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; max-width: 34ch; }
.svx-lead .svx-go { width: 56px; height: 56px; background: var(--orange); border-color: var(--orange); }
.svx-lead a:hover .svx-go { background: #ff8424; }
.svx-tag {
  align-self: flex-start;
  padding: 2px var(--space-3); border-radius: 999px; background: var(--white);
  font-size: var(--step--1); font-weight: 700; color: var(--orange-deep);
}

/* Also available: one quiet row of linked items. */
.svx-also { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.svx-also h3 { font-size: var(--step-1); margin-bottom: var(--space-4); }
.svx-also ul { display: grid; gap: var(--space-2); }
.svx-also a {
  display: grid; grid-template-columns: auto 1fr; justify-items: start; gap: var(--space-1) var(--space-4); align-items: center;
  min-height: 44px; padding: var(--space-3) 0; text-decoration: none; color: var(--ink);
}
.svx-also strong { font-weight: 700; }
.svx-also span { grid-column: 1 / -1; color: var(--ink-3); font-size: var(--step--1); }
.svx-also svg { grid-column: 2; grid-row: 1; width: 20px; height: 20px; color: var(--orange-deep); transition: transform 0.2s ease; }
.svx-also a:hover strong { color: var(--orange-deep); text-decoration: underline; text-decoration-color: var(--orange); }
.svx-also a:hover svg { transform: translateX(3px); }

@media (min-width: 480px) {
  .svx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svx-lead { grid-column: 1 / -1; }
  .svx-card a { min-height: 220px; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .svx-card a { padding: var(--space-4); }
  .svx-card h3 { font-size: var(--step-1); }
  .svx-lead a { padding: var(--space-6); }
  .svx-lead h3 { font-size: var(--step-2); }
  .svx-go { width: 44px; height: 44px; }
  .svx-lead .svx-go { width: 48px; height: 48px; }
}
@media (min-width: 768px) {
  .svx-also ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-8); }
}
@media (min-width: 1024px) {
  .svx-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: var(--space-16); }
  .svx-head h2 { grid-row: 1 / span 2; }
  .svx-head .section-lede { padding-top: var(--space-2); }
  /* Specialist sector as a wide lead banner: title | description | action. */
  .svx-lead a {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
    align-items: center; column-gap: var(--space-12); row-gap: var(--space-3);
    min-height: 0; padding: var(--space-12) var(--space-12);
  }
  .svx-lead .svx-tag { grid-column: 1; grid-row: 1; justify-self: start; align-self: end; }
  .svx-lead h3 { grid-column: 1; grid-row: 2; align-self: start; }
  .svx-lead p { grid-column: 2; grid-row: 1 / span 2; }
  .svx-lead .svx-go { grid-column: 3; grid-row: 1 / span 2; margin: 0; align-self: center; }
}
@media (min-width: 1280px) {
  .svx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svx-card h3 { font-size: var(--step-1); }
  .svx-lead h3 { font-size: var(--step-3); }
}

/* ---------- Illustrative workflow ---------- */
.workflow { background: var(--orange-tint); }
.statement { font-size: var(--step-3); font-weight: 800; line-height: 1.18; max-width: 28ch; margin-bottom: var(--space-12); }
.wf { display: grid; gap: var(--space-8); }
.wf-intro { display: grid; gap: var(--space-3); max-width: 60ch; }
.wf-intro h3 { font-size: var(--step-1); }
.wf-intro p { color: var(--ink-2); }
.wf-intro a { font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.wf-steps { display: grid; gap: var(--space-3); counter-reset: wf; }
.wf-step {
  position: relative; display: grid; align-content: start; gap: var(--space-2);
  padding: var(--space-6); background: var(--white); border-radius: var(--radius);
  border: 1px solid transparent;
  counter-increment: wf;
}
.wf-step::before {
  content: counter(wf);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-bottom: var(--space-2); border-radius: 50%;
  background: var(--ink); color: var(--white); font-size: var(--step--1); font-weight: 700;
}
.wf-step--person { border-color: var(--orange); }
.wf-step--person::before { background: var(--orange); color: var(--ink); }
.wf-step p { color: var(--ink-2); font-size: var(--step--1); line-height: 1.55; }
.wf-sample { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: auto; padding-top: var(--space-3); }
.wf-sample span {
  padding: 2px var(--space-2); border-radius: 6px; background: var(--paper);
  font-size: 0.875rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
}
.wf-checks { color: var(--ink-2); max-width: 80ch; }
.wf-checks strong { color: var(--ink); }
@media (min-width: 768px) {
  .wf-steps { grid-template-columns: repeat(2, 1fr); }
  .wf-step:last-child { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .wf-steps { grid-template-columns: repeat(5, 1fr); }
  .wf-step:last-child { grid-column: auto; }
}

/* ---------- Work ---------- */
.feature {
  display: grid; overflow: hidden;
  border-radius: var(--radius); background: var(--paper);
}
.feature-copy { display: grid; align-content: center; gap: var(--space-4); padding: var(--space-8) var(--space-6); }
.feature-copy h3 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
.feature-copy > p:not(.meta) { color: var(--ink-2); }
.feature-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.feature-art {
  position: relative; display: grid; place-items: center;
  padding: var(--space-12) var(--space-6) var(--space-16);
}
.feature-art img { width: auto; max-height: 520px; filter: drop-shadow(0 24px 36px rgba(9, 9, 26, 0.16)); }
.feature-art figcaption {
  position: absolute; left: var(--space-4); bottom: var(--space-4);
  font-size: var(--step--1); font-weight: 600; color: var(--ink-3);
}
.clients { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.client {
  display: grid; align-content: start; gap: var(--space-2);
  padding: var(--space-6);
  border-radius: var(--radius); border: 1px solid var(--line);
}
.client h3 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
.client > p:not(.meta) { color: var(--ink-2); }
.client .meta { order: -1; }
@media (min-width: 768px) {
  .clients { grid-template-columns: 1fr 1fr; }
  .feature-copy { padding: var(--space-12); }
}
@media (min-width: 1024px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 620px; }
  .feature-copy { padding: var(--space-16); }
  .feature-art { padding: var(--space-12); }
}

/* ---------- Team & process ---------- */
.approach { background: var(--paper); }
.team { display: grid; gap: var(--space-8); }
.team-copy { display: grid; align-content: start; gap: var(--space-4); }
.team-copy p { color: var(--ink-2); }
.team-faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.team-faces img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); background: var(--stage); filter: grayscale(1) contrast(1.04); }
.team-faces figcaption { display: grid; margin-top: var(--space-2); font-size: var(--step--1); color: var(--ink-3); line-height: 1.4; }
.team-faces strong { color: var(--ink); }
@media (min-width: 1024px) {
  .team { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--space-16); align-items: start; }
  .team-faces { gap: var(--space-6); }
}

/* ---------- Delivery path ---------- */
/* Orange glass artwork (recoloured from the blue originals) with a brand-orange connector. */
.delivery { background: var(--white); }
.delivery .section-head { justify-items: center; text-align: center; }
.delivery-flow { --stage-gap: var(--space-8); position: relative; container-type: inline-size; }
.delivery-stages { position: relative; z-index: 1; display: grid; gap: var(--space-4); }
.delivery-stage { display: grid; justify-items: center; align-content: start; gap: var(--space-2); text-align: center; }
.delivery-stage img {
  width: 100%; max-width: 200px; height: auto; aspect-ratio: 1; object-fit: contain;
  margin-block: calc(-1 * var(--space-4)) 0;
}
/* Optical base alignment: the plinths sit at slightly different heights in the source renders. */
.delivery-stage--discover img { translate: 0 4.5%; }
.delivery-stage--prototype img { translate: 0 -2.5%; }
.delivery-stage--build img { translate: 0 2.5%; }
.delivery-stage h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; }
.delivery-stage p { color: var(--ink-3); }
/* Single column: a short vertical connector between stages. */
.delivery-stage:not(:last-child)::after {
  content: ""; width: 2px; height: var(--space-6); margin-top: var(--space-3);
  background: var(--orange); border-radius: 1px;
}
.delivery-track { display: none; }
@media (min-width: 768px) {
  .delivery-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12) var(--stage-gap); }
  .delivery-stage img { max-width: 300px; margin-block: 0 var(--space-2); }
  .delivery-stage:not(:last-child)::after { display: none; }
}
@media (min-width: 1024px) {
  .delivery-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .delivery-stage img { max-width: none; }
  /* Runs centre-to-centre at plinth height, behind the artwork. */
  .delivery-track {
    --col: calc((100cqw - 3 * var(--stage-gap)) / 4);
    display: block; position: absolute; z-index: 0;
    left: calc(var(--col) / 2); right: calc(var(--col) / 2);
    top: calc(var(--col) * 0.8 - 2px); width: calc(100% - var(--col)); height: 4px; overflow: visible;
  }
  .delivery-track path { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }
  .delivery-path { opacity: 0.55; }
  .delivery-pulse { stroke-dasharray: 0 100; stroke-linecap: round; stroke-width: 4; }
}
/* Motion is opt-in: script.js adds .is-armed only when motion is allowed, so content stays visible without JS. */
@media (prefers-reduced-motion: no-preference) {
  .delivery.is-armed .delivery-stage { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .delivery.is-armed .delivery-stage:nth-child(2) { transition-delay: 0.15s; }
  .delivery.is-armed .delivery-stage:nth-child(3) { transition-delay: 0.3s; }
  .delivery.is-armed .delivery-stage:nth-child(4) { transition-delay: 0.45s; }
  .delivery.is-in .delivery-stage { opacity: 1; transform: none; }
  .delivery.is-in .delivery-pulse { animation: delivery-pulse 4.2s ease-in-out 0.6s 1 both; }
}
@keyframes delivery-pulse {
  from { stroke-dasharray: 6 100; stroke-dashoffset: 6; opacity: 1; }
  90% { opacity: 1; }
  to { stroke-dasharray: 6 100; stroke-dashoffset: -100; opacity: 0; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--space-8); }
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 60px; padding: var(--space-4) 0;
  font-weight: 700; font-size: var(--step-1); cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: ''; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--orange-deep); }
.faq-q:active { color: var(--ink); }
.faq-a { padding: 0 0 var(--space-6); color: var(--ink-2); }
.faq-a a { font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-16); }
}

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-layout { display: grid; gap: var(--space-8); }
.contact-intro { display: grid; align-content: start; gap: var(--space-6); }
.contact-intro > p { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.contact-cells { display: grid; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.contact-cells dt { font-size: var(--step--1); font-weight: 700; color: var(--ink-3); }
.contact-cells dd a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; font-size: var(--step-1); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

.form-block { background: var(--white); border-radius: var(--radius); padding: var(--space-6) var(--space-4); box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(9, 9, 26, 0.25); }
.form-intro { font-size: var(--step--1); color: var(--ink-3); margin-bottom: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 var(--space-4); }
.form-group { position: relative; margin-bottom: var(--space-4); }
.form-label { display: block; font-size: var(--step--1); font-weight: 700; margin-bottom: var(--space-2); }
.form-hint { font-size: var(--step--1); color: var(--ink-3); margin-bottom: var(--space-2); }
.form-input, .form-textarea {
  display: block; width: 100%; min-height: 48px;
  padding: var(--space-2) var(--space-3);
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:hover, .form-textarea:hover { border-color: var(--ink); }
.form-input:focus-visible, .form-textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.form-select {
  appearance: none; -webkit-appearance: none;
  padding-right: var(--space-8);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-input.error, .form-textarea.error { border-color: var(--error); border-width: 2px; }
.form-error {
  display: none; align-items: center; gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--step--1); font-weight: 600; color: var(--error);
}
.form-error.show { display: flex; }
.form-error svg { flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-bottom: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: #fdecea; color: var(--error); font-weight: 600; font-size: var(--step--1); }
.form-status a { color: inherit; font-weight: 800; }
.form-submit {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 56px; padding: var(--space-3) var(--space-6);
  background: var(--orange); color: var(--ink);
  font: inherit; font-size: var(--step-1); font-weight: 700;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s ease;
}
.form-submit:hover { background: #ff8424; }
.form-submit:active { background: #e86500; }
.form-submit:disabled { background: var(--line); color: var(--ink-3); cursor: progress; }
.form-privacy { margin-top: var(--space-3); font-size: var(--step--1); color: var(--ink-3); }
.form-privacy a { color: var(--ink); font-weight: 700; }
.form-success { padding: var(--space-8) var(--space-6); background: var(--white); border-radius: var(--radius); }
.form-success h3 { color: var(--success); margin-bottom: var(--space-2); }
.form-success-mark { width: 40px; height: 40px; margin-bottom: var(--space-4); color: var(--success); }
.form-success p { color: var(--ink-2); }
.form-success a { color: var(--ink); font-weight: 700; }
@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-block { padding: var(--space-8); }
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-16); }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
