/* ---------- TOKENS ---------- */
:root {
  /* OKLCH neutrals, warmed slightly toward amber (60-70 hue) for paper feel */
  --bg:            oklch(0.985 0.008 80);
  --bg-soft:       oklch(0.965 0.012 75);
  --bg-warm:       oklch(0.955 0.020 70);
  --bg-deep:       oklch(0.18  0.020 245);
  --bg-deep-soft:  oklch(0.24  0.018 245);

  --text:          oklch(0.20  0.015 245);
  --text-mute:     oklch(0.46  0.012 245);
  --text-faint:    oklch(0.62  0.010 245);
  --text-on-deep:  oklch(0.96  0.006 245);
  --text-on-deep-mute: oklch(0.74 0.010 245);

  --line:          oklch(0.88  0.012 75);
  --line-strong:   oklch(0.78  0.014 70);
  --line-on-deep:  oklch(0.32  0.020 245);

  /* safety amber, chroma low to avoid AI-glow */
  --accent:        oklch(0.72  0.16  65);
  --accent-deep:   oklch(0.58  0.17  55);
  --accent-soft:   oklch(0.95  0.05  78);

  /* live status colors */
  --ok:            oklch(0.62  0.14 145);
  --ok-soft:       oklch(0.94  0.05 145);

  /* shadow tinted toward brand hue, not raw black */
  --shadow-sm: 0 1px 2px oklch(0.18 0.02 245 / 0.06);
  --shadow-md: 0 8px 24px -8px oklch(0.18 0.02 245 / 0.12), 0 2px 4px oklch(0.18 0.02 245 / 0.04);
  --shadow-lg: 0 24px 48px -16px oklch(0.18 0.02 245 / 0.18), 0 4px 8px oklch(0.18 0.02 245 / 0.04);

  /* easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* z-scale */
  --z-sticky: 200;
  --z-modal:  400;

  /* layout */
  --content: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'ss02';
  font-optical-sizing: auto;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.0625rem);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--accent-soft); color: var(--text); }

/* ---------- TYPE ---------- */
.display {
  font-family: 'Cabinet Grotesk', 'Satoshi', -apple-system, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.95;
  font-size: clamp(2.75rem, 5vw + 0.5rem, 5.25rem);
  text-wrap: balance;
  margin: 0;
}
.display em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, var(--accent-soft) 62%);
  padding: 0 0.05em;
}
.display--md {
  font-size: clamp(2rem, 2.4vw + 1.1rem, 3.25rem);
  line-height: 0.98;
}
.lead {
  font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.25rem);
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 56ch;
  text-wrap: pretty;
  margin: 1.25rem 0 0;
}
.eyebrow {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- BUTTONS ---------- */
.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--text-on-deep);
  --btn-bd: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms var(--ease-out-quart),
              color 160ms var(--ease-out-quart),
              border-color 160ms var(--ease-out-quart),
              transform 120ms var(--ease-out-quart);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn--primary {
  --btn-bg: var(--text);
  --btn-fg: var(--text-on-deep);
  --btn-bd: var(--text);
}
.btn--primary:hover { --btn-bg: oklch(0.10 0.020 245); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover { --btn-bd: var(--text); }
.btn--lg { height: 56px; padding: 0 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out-quart);
}
.nav[data-scrolled] { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0.875rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  height: 28px;
}
.nav__brand-logo {
  height: 26px;
  width: auto;
  filter: invert(1) brightness(0.15);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav__lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  padding: 0 0.5rem;
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  text-decoration: none;
  border-radius: 999px;
  transition: background 160ms var(--ease-out-quart),
              color 160ms var(--ease-out-quart);
}
.nav__lang-link:hover { color: var(--text); }
.nav__lang-link.is-current {
  background: var(--text);
  color: var(--text-on-deep);
}
@media (max-width: 720px) {
  .nav__lang { display: none; }
}
.nav__phone {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 160ms var(--ease-out-quart);
}
.nav__phone:hover { border-bottom-color: var(--text); }
@media (max-width: 720px) {
  .nav__phone { display: none; }
  .nav__cta { height: 44px; padding: 0 1rem; font-size: 0.875rem; }
}

/* ---------- HERO ---------- */
.hero {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; align-items: stretch; }
}
.hero__col-right {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 380px;
  width: 100%;
  justify-self: end;
}
@media (max-width: 960px) {
  .hero__col-right { max-width: none; justify-self: stretch; }
}
.hero__copy { max-width: 56rem; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2rem;
  color: var(--text-mute);
  font-size: 0.9375rem;
}
.trust-row li {
  position: relative;
  padding-left: 1.25rem;
}
.trust-row li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: var(--accent);
}

/* 3D viewer (right hero column) */
.viewer3d {
  position: relative;
  width: 100%;
  height: clamp(420px, 56vh, 560px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 110% 70% at 50% 110%, oklch(0.86 0.012 245) 0%, transparent 70%),
    linear-gradient(180deg, oklch(0.97 0.005 245) 0%, oklch(0.93 0.008 245) 100%);
  box-shadow: var(--shadow-md);
}
@media (max-width: 960px) {
  .viewer3d { height: clamp(360px, 60vw, 480px); }
}
.viewer3d__mv {
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: var(--accent-deep);
  --progress-mask: oklch(0.95 0.005 245);
  --min-hotspot-opacity: 0;
}
.viewer3d__poster {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem 1.5rem 2.5rem;
  background: transparent;
}
.viewer3d__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--text);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  border: 1px solid var(--line);
  padding: 0.375rem 0.625rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.viewer3d__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-transform: uppercase;
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  padding: 0.3125rem 0.625rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  white-space: nowrap;
}
/* hero card chips removed: see #boka form Step 1 for height selection */

/* hero activity feed */
.hero__feed {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.125rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.feed__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
}
.feed__pulse {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--ok);
  position: relative;
  flex: 0 0 8px;
}
.feed__pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: var(--ok);
  opacity: 0.35;
  animation: pulseRing 1800ms var(--ease-out-quart) infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(0.6); opacity: 0.4; }
  80%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.feed__title {
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: -0.005em;
  color: var(--text);
}
.feed__count {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  background: var(--bg-warm);
  padding: 0.1875rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.feed__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.feed__item {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: 0 0.625rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.3;
}
.feed__item:last-child { border-bottom: 0; }
.feed__when {
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.feed__where {
  color: var(--text);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed__model {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  padding: 0.125rem 0.375rem;
  background: var(--bg-warm);
  border-radius: 4px;
  border: 1px solid var(--line);
}
.feed__status {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-mute);
  padding-left: 0.375rem;
}
.feed__status--green { color: var(--ok); }
.feed__status--amber { color: var(--accent-deep); }
.feed__foot {
  margin: 0.25rem 0 0;
  font-size: 0.6875rem;
  color: var(--text-faint);
  letter-spacing: 0.01em;
}

/* ---------- SECTION SCAFFOLDING ---------- */
.section__head {
  max-width: 64rem;
  margin: 0 auto clamp(2rem, 3vw, 3rem);
  padding: 0 var(--gutter);
}
section { scroll-margin-top: 80px; }

/* ---------- PROMISES STRIP ---------- */
.promises {
  background: var(--bg-deep);
  color: var(--text-on-deep);
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.promises__list {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-on-deep);
}
@media (max-width: 1024px) {
  .promises__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .promises__list { grid-template-columns: 1fr; }
}
.promises__list > li {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line-on-deep);
  position: relative;
}
.promises__list > li + li { padding-left: 1.5rem; border-left: 1px solid var(--line-on-deep); }
@media (max-width: 1024px) {
  .promises__list > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .promises__list > li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line-on-deep); }
}
@media (max-width: 600px) {
  .promises__list > li,
  .promises__list > li + li { padding: 1.5rem 0; border-left: 0; }
}
.promises__num {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--text-on-deep-mute);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 0.875rem;
}
.promises h3 {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.375rem;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
.promises p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-on-deep-mute);
  text-wrap: pretty;
}

/* ---------- LOGISTICS / GIFS ---------- */
.logistics {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(4rem, 6vw, 6rem) 0 clamp(2rem, 3vw, 3rem);
}
.logistics__grid {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .logistics__grid { grid-template-columns: 1fr; gap: 1.25rem; } }
.logistics__step {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.logistics__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: oklch(0.92 0.008 245);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.logistics__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logistics__num {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
  margin: 0.25rem 0 0;
}
.logistics__step h3 {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.logistics__step p {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- TIMELINE ---------- */
.timeline {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(4rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
}
.timeline__list {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) {
  .timeline__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .timeline__list { grid-template-columns: 1fr; gap: 1.75rem; }
}
.timeline__item {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.25rem;
  position: relative;
}
.timeline__item::before {
  content: '';
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  background: var(--text);
  border-radius: 999px;
}
.timeline__when {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.875rem;
  font-variant-numeric: tabular-nums;
}
.timeline__item h3 {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0 0 0.625rem;
  text-wrap: balance;
}
.timeline__item p {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- USE CASES ---------- */
.cases {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.cases__grid {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .cases__grid { grid-template-columns: 1fr; } }
.case {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}
.case__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: oklch(0.94 0.006 245);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case__media img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 600ms var(--ease-out-quart);
}
.case:hover .case__media img {
  transform: scale(1.04);
}
.case > p,
.case > h3 { padding-left: 1.75rem; padding-right: 1.75rem; }
.case > h3 { padding-top: 0.25rem; }
.case__height {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.case h3 {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.case p {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.case__tag {
  margin-top: auto;
  padding: 1rem 1.75rem 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ---------- CUSTOMER WALL ---------- */
.wall {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(3rem, 5vw, 5rem);
}
.wall__head {
  max-width: 64rem;
}
.wall__title {
  font-variant-numeric: tabular-nums;
}
.wall__count {
  font-feature-settings: 'ss01', 'tnum';
  background: linear-gradient(180deg, transparent 62%, var(--accent-soft) 62%);
  padding: 0 0.05em;
}
.wall__lead {
  margin-top: 1rem;
}
.wall__grid {
  margin: 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
@media (max-width: 1100px) { .wall__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px)  { .wall__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .wall__grid { grid-template-columns: repeat(2, 1fr); } }
.wall__cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
}
.wall__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease-out-quart),
              filter 300ms var(--ease-out-quart);
}
.wall__cell:hover img {
  transform: scale(1.05);
}
.wall__cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, oklch(0.18 0.02 245 / 0.18));
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms var(--ease-out-quart);
}
.wall__cell:hover::after { opacity: 1; }

/* ---------- TESTIMONIAL ---------- */
.quote {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
}
.quote figure { margin: 0; }
.quote__body {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw + 0.4rem, 2.375rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
  text-wrap: pretty;
}
.quote__body::before {
  content: '"';
  display: inline;
  margin-right: 0.05em;
  color: var(--accent-deep);
}
.quote__cite {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.9375rem;
}
.quote__name { font-weight: 700; color: var(--text); }
.quote__role { color: var(--text-mute); }
.quote__placeholder {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* ---------- LOGOS ---------- */
.logos {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(2rem, 3vw, 3rem) var(--gutter) clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.logos__lead {
  font-size: 0.8125rem;
  color: var(--text-mute);
  margin: 0 0 1.5rem;
  letter-spacing: 0.04em;
}
.logos__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
@media (max-width: 900px) { .logos__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logos__grid { grid-template-columns: repeat(3, 1fr); } }
.logos__grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}
.logos__grid img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 220ms var(--ease-out-quart),
              opacity 220ms var(--ease-out-quart);
}
.logos__grid li:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
}
.faq__list {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  text-wrap: balance;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq__plus {
  position: relative;
  flex: 0 0 24px;
  height: 24px;
}
.faq__plus::before, .faq__plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ease-out-quart);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body {
  padding: 0 0 1.5rem;
  color: var(--text-mute);
  max-width: 64ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.faq__body p { margin: 0 0 0.75rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- BOOK / FORM ---------- */
.book {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) var(--gutter) clamp(4rem, 6vw, 6rem);
}
.book__head { padding: 0; margin-bottom: clamp(2rem, 3vw, 3rem); max-width: none; }
.book__form {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

/* steps pip */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0 0 2rem;
}
.steps__item {
  font-size: 0.8125rem;
  color: var(--text-faint);
  padding-top: 0.625rem;
  border-top: 2px solid var(--line);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 200ms var(--ease-out-quart),
              border-color 200ms var(--ease-out-quart);
}
.steps__item.is-active {
  color: var(--text);
  border-top-color: var(--text);
}
.steps__item.is-done {
  color: var(--text-mute);
  border-top-color: var(--text-mute);
}

/* step container */
.step {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.step.is-active {
  display: block;
  animation: stepIn 320ms var(--ease-out-expo);
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.step__legend {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 1.6vw + 0.7rem, 2rem);
  line-height: 1.1;
  margin: 0 0 0.625rem;
  padding: 0;
  text-wrap: balance;
}
.step__help {
  margin: 0 0 1.75rem;
  color: var(--text-mute);
  font-size: 0.9375rem;
  max-width: 60ch;
  text-wrap: pretty;
}
.step__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* height cards (full form variant) */
.height-picker--lg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 700px) { .height-picker--lg { grid-template-columns: 1fr; } }
.height-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out-quart),
              box-shadow 160ms var(--ease-out-quart),
              transform 120ms var(--ease-out-quart);
  min-height: 88px;
}
.height-card:hover { border-color: var(--line-strong); }
.height-card:active { transform: scale(0.99); }
.height-card input { position: absolute; opacity: 0; pointer-events: none; }
.height-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.height-card:has(input:checked) {
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--text);
}
.height-card__num {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.height-card__sub {
  color: var(--text-mute);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* choice list (radio) */
.choice-list {
  display: grid;
  gap: 0.5rem;
}
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out-quart),
              box-shadow 160ms var(--ease-out-quart);
  min-height: 52px;
  font-size: 0.9375rem;
}
.choice:hover { border-color: var(--line-strong); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice::before {
  content: '';
  flex: 0 0 18px;
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  transition: border-color 160ms var(--ease-out-quart),
              box-shadow 160ms var(--ease-out-quart);
}
.choice:has(input:checked)::before {
  border-color: var(--text);
  box-shadow: inset 0 0 0 4px var(--text);
}
.choice:has(input:checked) {
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--text);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* fields */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field--wide { grid-column: 1 / -1; }
.field__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.01em;
}
.field input,
.field select {
  height: 48px;
  padding: 0 0.875rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 160ms var(--ease-out-quart),
              box-shadow 160ms var(--ease-out-quart);
  width: 100%;
  min-width: 0;
}
.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input[aria-invalid='true'] {
  border-color: oklch(0.55 0.18 25);
  box-shadow: 0 0 0 3px oklch(0.55 0.18 25 / 0.12);
}
.field__hint {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.25rem;
}
.field__hint[data-error] {
  color: oklch(0.45 0.16 25);
}
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-mute);
  line-height: 1.5;
}
.field--check input {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  accent-color: var(--text);
}

/* DONE */
.step--done { text-align: left; padding: 1rem 0; }
.done__check {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--accent-soft);
  margin: 0 0 1.25rem;
  position: relative;
}
.done__check::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 38%, var(--accent-deep) 38%, var(--accent-deep) 44%, transparent 44%, transparent 56%, var(--accent-deep) 56%, var(--accent-deep) 64%, transparent 64%);
  -webkit-mask: linear-gradient(#000, #000);
  border-radius: 999px;
}
.done__title {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 2vw + 0.8rem, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.875rem;
}
.done__body {
  font-size: 1.0625rem;
  color: var(--text-mute);
  margin: 0 0 0.5rem;
  max-width: 50ch;
}
.done__small {
  font-size: 0.875rem;
  color: var(--text-faint);
  margin: 0;
}

/* ---------- FOOTER ---------- */
.foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.foot__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 3.5rem) var(--gutter) clamp(2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-mute);
}
.foot__quality {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  max-width: 760px;
}
.foot__flag {
  width: 56px;
  height: 35px;
  border-radius: 4px;
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.08);
  flex: 0 0 56px;
  margin-top: 0.25rem;
}
.foot__quality-head {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
.foot__quality-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-mute);
  text-wrap: pretty;
  max-width: 60ch;
}
.foot__rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.foot__contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.foot__brand {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 0.125rem;
}
.foot__line { margin: 0; }
.foot__line--mute { color: var(--text-faint); }
.foot__line a { color: var(--text); border-bottom: 1px solid var(--line-strong); text-decoration: none; }
.foot__line a:hover { border-bottom-color: var(--text); }

/* ---------- STICKY MOBILE CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
}
@media (max-width: 720px) {
  .sticky-cta { display: block; }
  main { padding-bottom: 5rem; }
}

/* ---------- REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease-out-expo),
              transform 600ms var(--ease-out-expo);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- MOBILE TIGHTENING (≤ 480 px) ----------
   Fixes: H1 too large, line-heights too tight on small screens, promises strip
   stuck with left border on 4th item, footer flag/text cramped, sticky CTA
   clearance, form padding, hero whitespace. */

@media (max-width: 600px) {
  /* Promises strip — override the (max-width: 1024px) :nth-child rules with same specificity */
  .promises__list > li:nth-child(odd),
  .promises__list > li:nth-child(even) {
    padding: 1.5rem 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  /* Sticky CTA clearance — 5rem was tight if iOS adds safe-area-inset */
  main { padding-bottom: 6rem; }
}

@media (max-width: 480px) {
  /* === Display headings — relax to fit phone width with comfortable line-height === */
  .display {
    font-size: clamp(2.125rem, 8.4vw, 2.75rem);   /* 34–44 px on phones */
    line-height: 1.02;
    letter-spacing: -0.02em;
  }
  .display--md {
    font-size: clamp(1.625rem, 6vw, 2.125rem);    /* 26–34 px */
    line-height: 1.1;
  }

  /* === Hero — tighter vertical rhythm === */
  .hero { padding-top: 2rem; padding-bottom: 2rem; }
  .hero__copy { max-width: 100%; }
  .hero__ctas { gap: 0.625rem; margin-top: 1.5rem; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .trust-row { gap: 0.5rem 1.25rem; margin-top: 1.5rem; font-size: 0.875rem; }

  /* === Section heads + section padding === */
  .section__head { padding: 0 1rem; }
  .lead { font-size: 1rem; }

  /* === Promises strip pad — slimmer on phones === */
  .promises { padding: 2.5rem 1rem; }
  .promises h3 { font-size: 1.25rem; }
  .promises p { font-size: 0.9375rem; }

  /* === Logistics / cases / timeline / wall sections === */
  .logistics, .cases, .timeline, .quote, .faq { padding-left: 0.25rem; padding-right: 0.25rem; }
  .logistics { padding-top: 3rem; padding-bottom: 2rem; }
  .timeline { padding-top: 3rem; padding-bottom: 2rem; }
  .cases { padding-top: 2rem; padding-bottom: 2rem; }
  .quote { padding-top: 2rem; padding-bottom: 2rem; }
  .faq { padding-top: 2rem; padding-bottom: 2rem; }

  /* Cases — slightly less tall image on phones */
  .case__media { aspect-ratio: 4 / 3; }
  .case h3 { font-size: 1.25rem; }
  .case > p,
  .case > h3 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .case__tag { padding: 0.875rem 1.25rem 1.25rem; }

  /* Timeline — slightly tighter */
  .timeline__item h3 { font-size: 1.125rem; }
  .timeline__item p { font-size: 0.9375rem; }

  /* === Quote === */
  .quote__body { font-size: 1.25rem; line-height: 1.25; }

  /* === Wall === */
  .wall { padding: 2.5rem 0 2.5rem; }
  .wall__grid { padding: 0 0.5rem; gap: 0.375rem; }
  .wall__lead { font-size: 1rem; }

  /* === Logos wall — smaller cells on phones === */
  .logos { padding: 2rem 1rem; }
  .logos__grid { gap: 1rem 1.25rem; }
  .logos__grid li { height: 56px; }
  .logos__grid img { max-height: 36px; }

  /* === FAQ === */
  .faq { padding-left: 1rem; padding-right: 1rem; }
  .faq__item summary { padding: 1.25rem 0; font-size: 1rem; }

  /* === Form === */
  .book { padding: 2.5rem 1rem 4rem; }
  .book__form { padding: 1.25rem; border-radius: 16px; }
  .step__legend { font-size: 1.375rem; line-height: 1.15; }
  .step__help { font-size: 0.9375rem; margin-bottom: 1.25rem; }
  .step__nav { gap: 0.5rem; }
  .step__nav .btn { flex: 1 1 auto; }
  .height-card { padding: 1rem; min-height: 76px; }
  .height-card__num { font-size: 1.25rem; }
  .height-card__sub { font-size: 0.8125rem; }
  .field input, .field select { height: 44px; font-size: 1rem; }
  .field--check { font-size: 0.8125rem; }

  /* === Footer — stack flag + quality block on phones === */
  .foot__inner { padding: 2.5rem 1rem 2rem; gap: 1.25rem; }
  .foot__quality {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .foot__flag { width: 48px; height: 30px; }
  .foot__quality-head { font-size: 1.125rem; }
  .foot__quality-body { font-size: 0.9375rem; }

  /* === 3D viewer — smaller height on phones, stays prominent === */
  .viewer3d { height: clamp(320px, 88vw, 420px); }

  /* === Sticky CTA — make sure it doesn't crowd the form done state === */
  .sticky-cta { padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom)); }
  .sticky-cta .btn { height: 48px; font-size: 0.9375rem; }
}

@media (max-width: 360px) {
  /* Very small phones (iPhone SE 1st gen, older Android) */
  .display { font-size: 2rem; line-height: 1.05; }
  .hero__ctas .btn { font-size: 0.875rem; padding: 0 1rem; }
  .nav__cta { font-size: 0.8125rem; padding: 0 0.875rem; }
  .promises__list > li { padding: 1.25rem 0; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
