/* ==========================================================================
   Kairos Pro — styles
   Palette: black, white and the logo blue (#00A1FE, sampled from the artwork).
   Blue is never used for text on light backgrounds (contrast); it carries
   brackets, rules, fills and text on black only.
   ========================================================================== */

:root {
  --black: #000;
  --ink: #0b0b0b;
  --white: #fff;
  --paper: #f5f5f1;
  --blue: #00a1fe;
  --grey-900: #141414;
  --grey-800: #232323;
  --grey-700: #3a3a3a;
  --grey-400: #a3a3a3;
  --grey-300: #c9c9c6;
  --rule-light: #cfcfc9;
  --text-muted-light: #454545;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(76px, 10vw, 152px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.light :focus-visible, .blue :focus-visible, .form :focus-visible { outline-color: var(--black); }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--blue); color: var(--black);
  padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.dark  { background: var(--black); color: var(--white); }
.light { background: var(--paper); color: var(--black); }
.blue  { background: var(--blue);  color: var(--black); }

.section { padding-block: var(--section); position: relative; }

/* ---------- Bracket label ---------- */
.label {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
}
.label::before, .label::after {
  font-family: var(--sans); font-weight: 900; font-size: 1.5em; line-height: 1;
  transform: translateY(-.06em);
}
.label::before { content: "["; }
.label::after  { content: "]"; color: var(--blue); }
.blue .label::after { color: var(--white); }
.label--center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: .85em 1.3em;
  border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.1; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--lg { padding: 1.1em 1.6em; font-size: 1.02rem; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--blue  { background: var(--blue); color: var(--black); border-color: var(--blue); }
.btn--blue:hover { background: var(--white); border-color: var(--white); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--black:hover { background: var(--blue); color: var(--black); }
.btn[disabled] { opacity: .55; cursor: progress; }

.link { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { color: var(--blue); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  max-width: 1192px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 11px 11px 11px 19px;
  position: relative; z-index: 0;
}
/* The blurred backing lives on a pseudo-element: backdrop-filter on the bar itself
   would make it the containing block for the fixed full-screen mobile menu. */
.site-header__bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 8, 8, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .25s, border-color .25s;
}
.site-header.is-scrolled .site-header__bar::before { background: rgba(0, 0, 0, .94); border-color: rgba(255, 255, 255, .28); }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.site-nav__cta { white-space: nowrap; }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav ul a {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: 10px 2px; display: block; position: relative; color: var(--grey-300); white-space: nowrap;
  transition: color .2s;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav ul a:hover { color: var(--white); }
.site-nav ul a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none; align-items: center; gap: 12px;
  background: none; border: 2px solid var(--white); padding: 10px 14px; cursor: pointer;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 18px; height: 10px; }
.menu-toggle__icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .site-header__logo img { height: clamp(30px, 10vw, 40px); }
  .site-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 118px var(--gutter) 32px;
    background: var(--black);
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity .2s, visibility 0s .2s;
  }
  .menu-open .site-nav { visibility: visible; opacity: 1; transition: opacity .2s; }
  .menu-open, .menu-open body { overflow: hidden; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--grey-800); }
  .site-nav ul a {
    font-family: var(--sans); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; text-transform: none;
    color: var(--white); padding: 14px 0; border-bottom: 1px solid var(--grey-800);
  }
  .site-nav ul a::after { display: none; }
  .site-nav__cta { padding-block: 1.1em; font-size: 1.05rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(132px, 17vh, 190px) 0 clamp(56px, 8vw, 96px);
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero > .wrap { position: relative; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 0%, transparent 78%);
}

.hero__frame {
  --bw: clamp(7px, 1.1vw, 16px);
  --bx: clamp(18px, 4vw, 62px);
  position: relative;
  max-width: 1180px; margin-inline: auto;
  padding: clamp(40px, 6vw, 84px) min(8vw, 140px);
  text-align: center;
}
.hero__frame::before, .hero__frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: var(--bx);
  border: var(--bw) solid var(--white);
}
.hero__frame::before { left: 0; border-right: 0; }
.hero__frame::after  { right: 0; border-left: 0; border-color: var(--blue); }

.hero__title {
  margin-top: clamp(22px, 3vw, 36px);
  font-size: clamp(2.3rem, 6vw, 5.6rem);
  font-weight: 900; line-height: .95; letter-spacing: -.045em;
}
.hero__line { display: block; white-space: nowrap; }
.hero__title .w { display: inline-block; }
.hero__lede {
  max-width: 40em; margin: clamp(24px, 3vw, 38px) auto 0;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--grey-300);
}
.hero__actions { margin-top: clamp(28px, 3.4vw, 42px); display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.offplate {
  margin-top: clamp(44px, 6vw, 80px);
  display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: start;
}
.offplate .label { padding-top: 12px; color: var(--grey-300); }
.offplate__list { display: flex; flex-wrap: wrap; gap: 10px; }
.offplate__list li {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .01em;
  padding: 10px 14px; border: 1px solid var(--grey-700); color: var(--grey-300);
}
.offplate__list span {
  background: linear-gradient(var(--blue), var(--blue)) no-repeat left 55% / 100% 2px;
}

@media (max-width: 760px) {
  .offplate { grid-template-columns: 1fr; }
  .offplate .label { padding-top: 0; }
}
@media (max-width: 560px) {
  .hero { align-items: flex-start; }
  .hero__frame { padding-inline: calc(var(--bx) + 14px); }
  .hero__frame .label { display: block; font-size: .66rem; letter-spacing: .06em; line-height: 1.7; }
  .hero__frame .label::before { margin-right: .5em; }
  .hero__frame .label::after { margin-left: .5em; }
  .hero__title { font-size: clamp(2.2rem, 11vw, 3.6rem); line-height: .98; }
  .hero__line { white-space: normal; }
  .hero__actions .btn { width: 100%; padding-inline: .8em; font-size: .9rem; gap: .5em; }
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { background: var(--blue); color: var(--black); overflow: hidden; border-block: 2px solid var(--black); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span {
  flex: none; padding: 16px 0; font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
}
.ticker span::after { content: "]["; margin-inline: 1.1em; font-weight: 900; color: var(--white); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Who we are
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__intro h2 { margin-top: clamp(18px, 2.4vw, 30px); }
.about__body > p { color: var(--grey-300); max-width: 40em; }
.about__body > p + p { margin-top: 18px; }
.about__body .about__lead { color: var(--white); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 650; line-height: 1.3; letter-spacing: -.015em; }
.about__sub { margin-top: clamp(34px, 4vw, 52px); font-family: var(--mono); font-size: .78rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-300); }
.benefits { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 1px solid var(--grey-800); }
.benefits li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--grey-800); font-weight: 600; }
.benefits li::before { content: "]"; position: absolute; left: 4px; top: 11px; font-weight: 900; font-size: 1.15rem; color: var(--blue); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: clamp(18px, 2.4vw, 30px);
  align-items: end; margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head .label { grid-column: 1 / -1; justify-self: start; }
.section-head h2 { grid-column: span 8; }
.section-head__aside { grid-column: span 4; font-size: 1.05rem; padding-bottom: .5em; }
.dark .section-head__aside { color: var(--grey-300); }
.light .section-head__aside { color: var(--text-muted-light); }
.light .section-head__aside strong { color: var(--black); }

h2 {
  font-size: clamp(2.1rem, 5.1vw, 4.6rem);
  font-weight: 850; line-height: 1; letter-spacing: -.04em; text-wrap: balance;
}

@media (max-width: 900px) {
  .section-head h2, .section-head__aside { grid-column: 1 / -1; }
  .section-head__aside { max-width: 38em; }
}

/* ==========================================================================
   Workflow demo
   ========================================================================== */
.demo { border: 2px solid var(--black); background: var(--white); }
.demo__top {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between;
  border-bottom: 2px solid var(--black);
}
.demo__tabs { display: none; flex-wrap: wrap; }
.demo.is-enhanced .demo__tabs { display: flex; }
.demo__tab {
  background: none; border: 0; border-right: 2px solid var(--black); cursor: pointer;
  padding: 18px 22px;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.demo__tab:hover { background: var(--paper); }
.demo__tab[aria-selected="true"] { background: var(--black); color: var(--white); }
.demo__tab:focus-visible { outline-offset: -5px; outline-color: var(--blue); }
.demo__meta { display: flex; align-items: center; gap: 16px; padding: 10px 16px; margin-left: auto; }
.demo__badge {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 10px; background: var(--blue); color: var(--black); font-weight: 700;
}
.demo__play {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px;
}
.demo__panel { padding: clamp(20px, 3vw, 40px); }
.demo__panel[hidden] { display: none; }
.demo__panel-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.demo.is-enhanced .demo__panel-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.flow { display: grid; grid-template-columns: repeat(5, 1fr); }
.flow__step {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px 18px 22px;
  border-top: 4px solid var(--rule-light);
  min-height: 250px;
  transition: background-color .35s, color .35s, border-color .35s;
}
.flow__step::before {
  content: ""; position: absolute; top: -11px; left: 18px; width: 18px; height: 18px;
  background: var(--white); border: 4px solid var(--rule-light);
  transition: background-color .35s, border-color .35s;
}
.flow__n { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; }
.flow__n::before { content: "["; }
.flow__n::after { content: "]"; }
.flow__step h4 { font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.flow__step p { font-size: .95rem; line-height: 1.45; color: var(--text-muted-light); transition: color .35s; }
.flow__step .tag { margin-top: auto; }

.flow__step.is-done { border-top-color: var(--blue); }
.flow__step.is-done::before { background: var(--blue); border-color: var(--black); }
.flow__step.is-active { background: var(--black); color: var(--white); border-top-color: var(--blue); }
.flow__step.is-active::before { background: var(--blue); border-color: var(--blue); }
.flow__step.is-active p { color: var(--grey-300); }

.tag {
  display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 8px; border: 1.5px solid currentColor; line-height: 1.2;
}
.tag--auto { background: var(--black); color: var(--white); border-color: var(--black); }
.tag--ai { background: var(--blue); color: var(--black); border-color: var(--blue); }
.tag--human { border-style: dashed; }
.is-active .tag--auto { background: var(--white); color: var(--black); border-color: var(--white); }

.demo__note {
  border-top: 2px solid var(--black); padding: 14px clamp(20px, 3vw, 40px);
  font-family: var(--mono); font-size: .76rem; line-height: 1.5; color: var(--text-muted-light);
}

@media (max-width: 1040px) {
  .flow { grid-template-columns: 1fr; margin-left: 9px; }
  .flow__step {
    min-height: 0; border-top: 0; border-left: 4px solid var(--rule-light);
    padding: 16px 16px 22px 26px;
  }
  .flow__step::before { top: 0; left: -11px; }
  .flow__step .tag { margin-top: 4px; }
  .flow__step.is-done { border-left-color: var(--blue); }
  .flow__step.is-active { border-left-color: var(--blue); }
}
@media (max-width: 640px) {
  .demo.is-enhanced .demo__tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-bottom: 2px solid var(--black); }
  .demo__tab { padding: 14px 8px; font-size: .7rem; letter-spacing: .05em; line-height: 1.35; }
  .demo__tab:last-child { border-right: 0; }
  .demo__meta { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.service {
  display: flex; flex-direction: column; gap: 28px;
  background: var(--ink); border: 1px solid var(--grey-800);
  padding: clamp(24px, 3vw, 44px);
  transition: border-color .3s;
}
.service:hover { border-color: var(--blue); }
.service--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); }
.service--flip .service__text { order: 2; }
.service__n { font-family: var(--mono); font-size: .82rem; letter-spacing: .1em; color: var(--blue); }
.service__n::before { content: "["; }
.service__n::after { content: "]"; }
.service h3 { margin-top: 14px; font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.02; }
.service__text > p { margin-top: 16px; color: var(--grey-300); max-width: 34em; }
.service__list { margin-top: 22px; border-top: 1px solid var(--grey-800); }
.service__list li {
  font-family: var(--mono); font-size: .82rem; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--grey-800); position: relative;
}
.service__list li::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.service__art { margin-top: auto; }
.service--wide .service__art { margin-top: 0; }
.service__art svg { width: 100%; }

.art-line { stroke: var(--grey-700); stroke-width: 2; }
.art-line--dash { stroke: var(--blue); stroke-dasharray: 7 7; animation: dash 1.4s linear infinite; }
.art-box { stroke: var(--white); stroke-width: 2; fill: var(--ink); }
.art-box--blue { stroke: var(--blue); }
.art-solid { fill: var(--ink); }
.art-fill { fill: var(--grey-700); }
.art-fill--blue { fill: var(--blue); }
.art-bracket { stroke: var(--white); stroke-width: 7; stroke-linecap: square; }
.art-bracket--blue { stroke: var(--blue); }
.art-bar { fill: var(--grey-800); }
.art-bar--blue { fill: var(--blue); }
.art-cursor { fill: var(--white); animation: blink 1.1s steps(1) infinite; }
@keyframes dash { to { stroke-dashoffset: -14; } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .service--wide { display: flex; }
  .service--flip .service__text { order: 0; }
}

/* ==========================================================================
   Example use cases
   ========================================================================== */
.cases { border-bottom: 2px solid var(--black); }
.cases__head, .case {
  display: grid; grid-template-columns: .95fr 1.2fr 1.25fr 1fr; column-gap: clamp(18px, 2.6vw, 40px);
}
.cases__head {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: 12px; color: var(--text-muted-light);
}
.case { border-top: 2px solid var(--black); padding: clamp(22px, 2.6vw, 34px) 0; align-items: start; transition: background-color .25s, padding .25s; }
.case:hover { background: var(--white); }
.case header { display: flex; flex-direction: column; gap: 10px; padding-left: 0; transition: padding .25s var(--ease); }
.case:hover header { padding-left: 14px; }
.case__n { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; }
.case h3 { font-size: clamp(1.25rem, 1.9vw, 1.65rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.case p { font-size: 1rem; }
.case__before { color: var(--text-muted-light); }
.case__after { font-weight: 600; padding-left: 18px; border-left: 4px solid var(--blue); }
.case__benefit { font-weight: 700; padding-right: 14px; }
.case__k { display: none; }

@media (max-width: 860px) {
  .cases__head { display: none; }
  .case { grid-template-columns: 1fr; row-gap: 16px; }
  .case:hover header { padding-left: 0; }
  .case:hover { background: none; }
  .case__k {
    display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
    font-weight: 400; color: var(--text-muted-light); margin-bottom: 5px;
  }
  .case__benefit { padding-right: 0; }
}

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.process__step { border-top: 6px solid var(--black); padding-top: 18px; }
.process__step:nth-child(2) { margin-top: 56px; }
.process__step:nth-child(3) { margin-top: 112px; }
.process__step:nth-child(4) { margin-top: 168px; }
.process__n {
  display: block; font-size: clamp(3.4rem, 7vw, 6.5rem); font-weight: 900; letter-spacing: -.06em; line-height: .9;
  /* fill matches the background and is painted over the stroke, which hides glyph-overlap seams */
  color: var(--blue); -webkit-text-stroke: clamp(2.5px, .35vw, 4px) var(--black); paint-order: stroke fill;
}
.process__step h3 { margin-top: 14px; font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.process__step h3::after { content: "]"; color: var(--white); margin-left: .12em; }
.process__step h3::before { content: "["; margin-right: .06em; }
.process__step p { margin-top: 14px; font-size: 1rem; font-weight: 500; }

@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process__step:nth-child(n) { margin-top: 0; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process__step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: end; }
  .process__step h3 { margin: 0 0 4px; }
  .process__step p { grid-column: 1 / -1; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro h2 { margin-top: clamp(18px, 2.4vw, 30px); }
.faq__intro > p:last-child { margin-top: 24px; color: var(--grey-300); }
.faq__list { border-bottom: 1px solid var(--grey-700); }
.faq__item { border-top: 1px solid var(--grey-700); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.2;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__item summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border: 2px solid currentColor; font-family: var(--mono); font-size: 1.2rem; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.faq__item[open] summary::after { content: "–"; background: var(--blue); color: var(--black); border-color: var(--blue); }
.faq__a { padding: 0 58px 28px 0; color: var(--grey-300); max-width: 46em; }

@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq__a { padding-right: 0; }
}

/* ==========================================================================
   Enquiry
   ========================================================================== */
.enquiry { border-top: 1px solid var(--grey-800); }
.enquiry__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.enquiry__intro h2 { margin-top: clamp(18px, 2.4vw, 30px); font-size: clamp(2.6rem, 6vw, 5.4rem); }
.enquiry__lede { margin-top: 24px; font-size: 1.12rem; color: var(--grey-300); max-width: 30em; }
.enquiry__points { margin-top: 28px; margin-bottom: 32px; }
.enquiry__points li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--grey-800); font-family: var(--mono); font-size: .84rem; }
.enquiry__points li:last-child { border-bottom: 1px solid var(--grey-800); }
.enquiry__points li::before { content: "]"; position: absolute; left: 4px; top: 7px; font-family: var(--sans); font-weight: 900; font-size: 1.1rem; color: var(--blue); }

.form {
  background: var(--white); color: var(--black);
  padding: clamp(22px, 3.4vw, 48px);
  --lift: clamp(8px, 1.2vw, 16px);
  box-shadow: var(--lift) var(--lift) 0 var(--blue);
  margin: 0 var(--lift) var(--lift) 0;
  display: grid; gap: 22px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.field__opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-muted-light); }
.field input, .field textarea {
  width: 100%; background: var(--paper); border: 2px solid var(--black); border-radius: 0;
  padding: 14px 14px; font-size: 1rem; line-height: 1.4;
  transition: background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { background: var(--white); outline: none; box-shadow: 0 0 0 3px var(--blue), 0 0 0 5px var(--black); }
.field [aria-invalid="true"] { border-color: #b00020; }
.field__error { font-size: .86rem; font-weight: 600; color: #b00020; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.form__status { flex: 1 1 240px; font-size: .95rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-error { color: #b00020; }
.form__status.is-ok { padding-left: 12px; border-left: 4px solid var(--blue); }

@media (max-width: 900px) {
  .enquiry__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: clamp(56px, 8vw, 110px) 0 28px; }
.site-footer__shout {
  font-size: clamp(1.9rem, 7vw, 7rem); font-weight: 900; letter-spacing: -.05em; line-height: .92;
  display: flex; flex-direction: column;
}
.site-footer__shout span:last-child { letter-spacing: -.025em; color: var(--paper); -webkit-text-stroke: clamp(2px, .4vw, 6px) var(--black); paint-order: stroke fill; }
.site-footer__grid {
  margin-top: clamp(40px, 6vw, 84px); padding-top: 32px; border-top: 2px solid var(--black);
  display: grid; grid-template-columns: 1fr auto; gap: 32px clamp(32px, 8vw, 120px); align-items: start;
}
.site-footer__brand img { width: min(250px, 62vw); height: auto; margin-left: -4px; }
.site-footer__brand p { margin-top: 14px; max-width: 24em; color: var(--text-muted-light); }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 44px; }
.site-footer__nav a, .site-footer__base a {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  display: inline-block; padding: 7px 0;
}
.site-footer__nav a:hover, .site-footer__base a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.site-footer__base {
  margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rule-light);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  font-family: var(--mono); font-size: .8rem; color: var(--text-muted-light);
}
.site-footer__base a { color: var(--black); }

@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion — only when JS is running and the visitor has not asked for less
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .process__step.reveal:nth-child(2), .js .case.reveal:nth-child(odd) { transition-delay: .08s; }
  .js .process__step.reveal:nth-child(3) { transition-delay: .16s; }
  .js .process__step.reveal:nth-child(4) { transition-delay: .24s; }

  .js .hero__title .w { opacity: 1; filter: none; transform: none; }
  .js .hero.is-in .hero__title .w { opacity: 1; filter: none; transform: none; }
  .js .hero__line:nth-child(1) .w:nth-child(2) { transition-delay: .1s; }
  .js .hero__line:nth-child(1) .w:nth-child(3) { transition-delay: .2s; }
  .js .hero__line:nth-child(2) .w:nth-child(1) { transition-delay: .3s; }
  .js .hero__line:nth-child(2) .w:nth-child(2) { transition-delay: .4s; }
  .js .hero__line:nth-child(2) .w:nth-child(3) { transition-delay: .5s; }

  .js .hero__frame::before, .js .hero__frame::after { opacity: 0; transition: opacity .6s, transform .9s var(--ease); }
  .js .hero__frame::before { transform: translateX(-40px); }
  .js .hero__frame::after { transform: translateX(40px); }
  .js .hero.is-in .hero__frame::before, .js .hero.is-in .hero__frame::after { opacity: 1; transform: none; }

  .js .hero__frame .label, .js .hero__lede, .js .hero__actions { opacity: 1; }
  .js .hero.is-in .hero__frame .label, .js .hero.is-in .hero__lede, .js .hero.is-in .hero__actions { opacity: 1; }

  .js .offplate__list span { background-size: 0 2px; transition: background-size 1.6s ease-in-out; }
  .js .offplate.is-in .offplate__list span { background-size: 100% 2px; }
  .js .offplate__list li:nth-child(1) span { transition-delay: 3s; }
  .js .offplate__list li:nth-child(2) span { transition-delay: 5s; }
  .js .offplate__list li:nth-child(3) span { transition-delay: 7s; }
  .js .offplate__list li:nth-child(4) span { transition-delay: 9s; }
  .js .offplate__list li:nth-child(5) span { transition-delay: 11s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker__track span:nth-child(n+6) { display: none; }
}

/* Keep the full brand and contact action readable on narrow phones. */
@media (max-width: 360px) {
  .site-header__bar { gap: 10px; padding-inline: 10px; }
  .site-header__logo img { height: 30px; }
  .menu-toggle { gap: 8px; padding-inline: 10px; }
  .hero__actions .btn { font-size: .78rem; padding-inline: .4em; }
}

/* Final readability and interaction refinements. */
h1, h2, h3 { text-wrap: balance; }
.hero__lede, .about__body p { text-wrap: pretty; }
.btn, .menu-toggle { min-height: 44px; }
.btn:disabled { cursor: not-allowed; }
.form__notice { padding: 14px 16px; border-left: 4px solid var(--blue); background: var(--paper); font-size: .9rem; line-height: 1.5; }
.field input:disabled, .field textarea:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 560px) {
  .case { row-gap: 12px; }
  .case__k { letter-spacing: .06em; }
  .service__art svg { max-height: 170px; }
}

/* Service pages: readable measures, flexible grids and crawlable service links. */
.service__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; min-height: 44px; font-size: 1rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.service__more:hover { color: var(--blue); }
.service__text, .about__body, .enquiry__intro, .detail-card, .detail-steps li { min-width: 0; }
.detail-hero { padding: 136px 0 76px; }
.breadcrumb { color: var(--grey-300); font-size: .9rem; margin-bottom: 44px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.breadcrumb > span { align-self: center; }
.detail-hero h1 { font-size: clamp(2.4rem,6.1vw,5.4rem); line-height: 1.02; letter-spacing: -.045em; max-width: 15ch; margin-top: 26px; }
.detail-lede { color: var(--grey-300); font-size: clamp(1.05rem,1.5vw,1.3rem); max-width: 54ch; margin: 28px 0 32px; }
.detail-heading { max-width: 820px; margin-bottom: 44px; }
.detail-heading h2, .detail-split h2 { margin-top: 24px; }
.detail-heading > p:not(.label) { margin-top: 26px; max-width: 64ch; font-size: 1.1rem; }
.detail-heading .btn { margin-top: 30px; }
.detail-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.detail-card { border-top: 4px solid var(--black); padding: 24px 0; }
.detail-card h3, .detail-steps h3 { font-size: 1.4rem; line-height: 1.15; letter-spacing: -.025em; }
.detail-card p, .detail-steps p { margin-top: 16px; color: var(--text-muted-light); }
.detail-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; }
.detail-example { border-left: 4px solid var(--blue); padding-left: 28px; }
.detail-example > p:not(.label) { color: var(--grey-300); margin-top: 22px; max-width: 58ch; }
.detail-example h3 { margin-top: 34px; font-size: 1.4rem; }
.detail-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.detail-steps li { border-top: 2px solid var(--black); padding-top: 20px; }
.detail-step { font-family: var(--mono); display: block; margin-bottom: 16px; }
.detail-related-title { font-size: 1.3rem; margin-top: 50px; }
.detail-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 20px; }
.detail-related { border-top: 2px solid var(--black); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; text-underline-offset: 5px; }
.site-footer__nav a, .site-footer__base a { display: inline-flex; align-items: center; min-height: 44px; }
.demo__play { min-height: 44px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (max-width: 900px) {
 .detail-cards, .detail-related-grid { grid-template-columns: 1fr; }
 .detail-split { grid-template-columns: 1fr; gap: 34px; }
 .detail-card { padding-block: 20px; }
}
@media (max-width: 560px) {
 .detail-hero { padding-top: 112px; padding-bottom: 54px; }
 .detail-hero .label { line-height: 1.5; font-size: .7rem; letter-spacing: .04em; }
 .detail-hero .btn { max-width: 100%; font-size: .9rem; padding-inline: 1em; }
 .detail-steps { grid-template-columns: 1fr; gap: 28px; }
 .breadcrumb { margin-bottom: 28px; }
 .detail-example { padding-left: 20px; }
 .detail-heading { margin-bottom: 32px; }
}
/* Short landscape viewports need an independently scrollable navigation menu. */
@media (max-height: 600px) and (max-width: 1120px) {
 .site-nav { padding-top: 96px; gap: 16px; }
 .site-nav ul a { font-size: 1.35rem; padding-block: 9px; }
}

/* Direct contact remains available without JavaScript or a configured mail app form. */
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 22px 0; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; font-size: 1.05rem; font-weight: 650; text-underline-offset: 5px; }
.contact-links a:hover { text-decoration-thickness: 2px; }

/* Privacy notice */
.privacy-copy {max-width: 54rem; padding-top: 5rem; padding-bottom: 3rem;}
.privacy-copy h1 {font-size: clamp(2.25rem,6vw,4rem); margin-bottom: 2rem;}
.privacy-copy h2 {font-size: clamp(1.35rem,3vw,1.75rem); margin: 2rem 0 1rem;}
.privacy-copy p {line-height: 1.7; margin-bottom: 1rem;}
.privacy-copy a {text-decoration: underline; overflow-wrap: anywhere;}
