/* ============================================================
   ZEN DIGITAL SYSTEMS — "Zen, electrified"
   Dark-first design system. Deep teal-black canvas, cream type,
   restrained gold + luminous jade glow. Fraunces × Inter.
   ============================================================ */

:root {
  /* Canvas */
  --ink-950: #050F0E;
  --ink-900: #071615;   /* page background */
  --ink-800: #0A1F1E;   /* raised surfaces */
  --ink-700: #0E2A28;   /* panels */
  --ink-600: #143634;

  /* Light band */
  --paper: #F6F1E5;
  --paper-hi: #FFFDF6;
  --paper-line: #E2D9C3;
  --charcoal: #232826;
  --stone: #55605B;

  /* Type on dark */
  --cream: #F6F1E5;
  --cream-dim: #C7D3CD;
  --muted: #94A7A0;

  /* Accents */
  --gold: #D4AF5A;
  --gold-deep: #C29B3C;
  --gold-dark: #7E621C;
  --jade: #38D4B4;
  --jade-dim: #1E7A69;

  --line: rgba(246, 241, 229, 0.1);
  --line-strong: rgba(246, 241, 229, 0.18);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --space-section: clamp(3.5rem, 7vw, 6.5rem);
  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-glow: 0 0 40px -8px rgba(56, 212, 180, 0.25);
  --shadow-gold: 0 14px 34px -12px rgba(194, 155, 60, 0.45);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--cream-dim);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); }

a { color: var(--cream); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold); }

::selection { background: var(--gold-deep); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 3px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--space-section); position: relative; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.gold { color: var(--gold); }
.jade { color: var(--jade); }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--jade); border-radius: 2px; }

.section-head { max-width: 52rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 90;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--jade), var(--gold));
  pointer-events: none;
}

/* ---------- Cursor glow (desktop) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 95;
  transform: translate(-50%, -50%);
  display: none;
}
.cursor-dot { width: 8px; height: 8px; background: var(--gold); }
/* The cursor ring IS the enso — our open circle with its gold rest point */
.cursor-ring {
  width: 46px; height: 46px;
  opacity: 0.8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M102.5 48.6 A44 44 0 1 1 71.4 17.5' fill='none' stroke='%23F6F1E5' stroke-width='6' stroke-linecap='round' opacity='0.7'/%3E%3Ccircle cx='91.1' cy='28.9' r='6.5' fill='%23D4AF5A'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s var(--ease), filter 0.3s var(--ease);
}
.cursor-ring.is-active {
  width: 68px; height: 68px;
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(212, 175, 90, 0.55));
}
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink-950);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader svg { width: 96px; height: 96px; }
.loader .loader-stroke {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: enso-draw 1s var(--ease-snap) 0.05s forwards;
}
.loader .loader-dot { opacity: 0; animation: dot-in 0.35s var(--ease) 1s forwards; transform-box: fill-box; transform-origin: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 22, 21, 0.86);
  background: color-mix(in srgb, var(--ink-900) 82%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 34px -18px rgba(0, 0, 0, 0.6); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand svg circle { transform-box: fill-box; transform-origin: center; }
.brand:hover svg circle { animation: dot-in 0.7s var(--ease); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 560;
  letter-spacing: 0.15em;
  line-height: 1;
  color: var(--cream);
}
.brand__sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--jade);
  margin-top: 0.3rem;
}

.nav__links { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 560;
  color: var(--cream-dim);
  padding-block: 0.4rem;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.28s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current]::after { right: 0; }
.nav__links a[aria-current] { color: var(--cream); }

/* Subbrand tabs: quiet pills set apart from primary nav */
.nav__sub { display: flex; align-items: center; gap: 0.5rem; padding-left: 1rem; border-left: 1px solid var(--line-strong); }
.nav__sub a {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}
.nav__sub a::after { display: none; }
.nav__sub a:hover { color: var(--ink-950); background: var(--jade); border-color: var(--jade); }
.nav__sub a[aria-current="page"] { color: var(--ink-950); background: var(--gold); border-color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 640;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); color: var(--ink-950); box-shadow: var(--shadow-gold); }
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 253, 246, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
}
/* Keep dark text on gold in every state; generic link rules (a:hover, .nav__links a, .nav__links a:hover) would otherwise recolour it. */
.btn.btn--gold, .btn.btn--gold:is(:hover, :focus-visible, :active, :visited) { color: var(--ink-950); }
.btn.btn--gold:is(:hover, :focus-visible) { box-shadow: 0 10px 28px -8px rgba(212, 175, 90, 0.55); }
.btn--gold:hover::after { animation: btn-shine 0.8s var(--ease); }
@keyframes btn-shine { to { transform: translateX(120%); } }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--jade); color: var(--jade); box-shadow: var(--shadow-glow); }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 640; color: var(--gold); }
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover::after { transform: translateX(5px); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--cream);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle path { transform-box: fill-box; transform-origin: center; transition: transform 0.32s var(--ease), opacity 0.22s var(--ease); }
.nav-toggle.is-open .nav-toggle__a { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__b { opacity: 0; }
.nav-toggle.is-open .nav-toggle__c { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--ink-800);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav__menu.is-open { display: block; animation: menu-in 0.4s var(--ease); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .nav__links a { display: block; padding: 0.7rem 0.25rem; font-size: 1.05rem; }
  .nav__sub { border-left: 0; padding-left: 0; margin-top: 0.6rem; gap: 0.6rem; }
  .nav__sub a { flex: 1; text-align: center; padding: 0.7rem 0.85rem; font-size: 0.9rem; }
  .nav__links a.btn, .nav__links button.btn { display: flex; width: 100%; justify-content: center; padding: 0.9rem 1.5rem; font-size: 1rem; }
  .nav__install { margin-top: 1rem; }
  .nav__cta { margin-top: 0.6rem; }
  .nav__menu.is-open .nav__links > li { animation: rise 0.45s var(--ease) both; }
  .nav__menu.is-open .nav__links > li:nth-child(1) { animation-delay: 0.03s; }
  .nav__menu.is-open .nav__links > li:nth-child(2) { animation-delay: 0.06s; }
  .nav__menu.is-open .nav__links > li:nth-child(3) { animation-delay: 0.09s; }
  .nav__menu.is-open .nav__links > li:nth-child(4) { animation-delay: 0.12s; }
  .nav__menu.is-open .nav__links > li:nth-child(5) { animation-delay: 0.15s; }
  .nav__menu.is-open .nav__links > li:nth-child(6) { animation-delay: 0.18s; }
  .nav__menu.is-open .nav__links > li:nth-child(7) { animation-delay: 0.21s; }
  .nav__menu.is-open .nav__links > li:nth-child(8) { animation-delay: 0.24s; }
  .nav__menu.is-open .nav__links > li:nth-child(9) { animation-delay: 0.27s; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (min-width: 1021px) { .nav__install { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(1.5rem, 4vh, 3.5rem);
  background: var(--ink-900);
}
.hero > .container { width: 100%; position: relative; z-index: 3; }

/* Aurora: two slow glow blobs, transform-only */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.aurora span {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.aurora span:nth-child(1) {
  background: radial-gradient(circle at center, rgba(30, 122, 105, 0.35), transparent 60%);
  top: -25%; left: -12%;
  animation: aurora-a 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  background: radial-gradient(circle at center, rgba(194, 155, 60, 0.16), transparent 60%);
  bottom: -30%; right: -15%;
  animation: aurora-b 30s ease-in-out infinite alternate;
}
@keyframes aurora-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(10%, 8%, 0) scale(1.15); } }
@keyframes aurora-b { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-8%, -10%, 0) scale(0.95); } }

/* Enso watermark */
.hero__enso {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(620px, 52vw);
  opacity: 0.2;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 720px) { .hero__enso { width: 460px; right: -40%; opacity: 0.12; } }
.enso-stroke { stroke-dasharray: 1; stroke-dashoffset: 1; animation: enso-draw 2.2s var(--ease-snap) 0.35s forwards; }
@keyframes enso-draw { to { stroke-dashoffset: 0; } }
.enso-dot { opacity: 0; transform-box: fill-box; transform-origin: center; animation: dot-in 0.55s var(--ease) 2.3s forwards; }
@keyframes dot-in {
  from { opacity: 0; transform: scale(0); }
  60% { opacity: 1; transform: scale(1.4); }
  to { opacity: 1; transform: scale(1); }
}

/* Zen dust — JS-generated glowing motes for any [data-dust] host */
.dust { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.dust span {
  position: absolute;
  bottom: -3%;
  border-radius: 50%;
  opacity: 0;
  animation: dust-rise linear infinite;
}
@keyframes dust-rise {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 0.65; }
  60% { opacity: 0.35; }
  100% { transform: translateY(-108vh) translateX(4vw); opacity: 0; }
}
/* Keep section content painting above the dust */
.section > .container { position: relative; z-index: 1; }

.hero h1 { max-width: 17ch; }
.hero h1 .gradient-word {
  background: linear-gradient(100deg, var(--gold) 20%, #F2E3B8 45%, var(--gold) 65%, var(--jade) 110%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 3s var(--ease) 1.8s infinite;
  animation-iteration-count: 2;
}
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -60% 0; } }

/* Rotating word */
.swap-word {
  display: inline-block;
  color: var(--jade);
  font-style: italic;
  min-width: 6ch;
}
.swap-word.is-out { animation: word-out 0.35s var(--ease-snap) forwards; }
.swap-word.is-in { animation: word-in 0.4s var(--ease) forwards; }
@keyframes word-out { to { opacity: 0; transform: translateY(-16px) skewY(-3deg); } }
@keyframes word-in { from { opacity: 0; transform: translateY(18px) skewY(3deg); } to { opacity: 1; transform: none; } }

.hero .lead { max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

/* Entrance choreography */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .page-hero .eyebrow { animation: rise 0.8s var(--ease) 0.1s both; }
.hero h1, .page-hero h1 { animation: rise 0.9s var(--ease) 0.24s both; }
.hero .lead, .page-hero .lead { animation: rise 0.9s var(--ease) 0.4s both; }
.hero .hero__actions, .page-hero .hero__actions { animation: rise 0.9s var(--ease) 0.55s both; }
.hero .hero__stats { animation: rise 1s var(--ease) 0.7s both; }

/* Stats */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.6rem;
  margin-top: clamp(1.6rem, 3.5vh, 2.6rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero__stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 560;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.hero__stats .stat strong span { font: inherit; color: inherit; }
.hero__stats .stat strong .plus { color: var(--gold); }
.hero__stats .stat > span { font-size: 0.85rem; color: var(--muted); }

/* Scroll cue */
.hero__cue {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  width: 2px; height: 42px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(246, 241, 229, 0.14);
  z-index: 3;
}
.hero__cue span {
  position: absolute;
  left: 0; top: -14px;
  width: 2px; height: 14px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue-fall 2.4s var(--ease-snap) 3.2s infinite;
}
@keyframes cue-fall { 0% { top: -14px; } 60% { top: 42px; } 100% { top: 42px; } }
@media (max-height: 760px) { .hero__cue { display: none; } }

/* Compact heights */
@media (max-height: 760px) {
  .hero { padding-block: 1.25rem; }
  .hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
  .hero .lead { font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: 0.8em; }
  .hero__actions { margin-top: 1.3rem; }
  .hero__stats { margin-top: 1.4rem; padding-top: 1rem; }
  .hero__stats .stat strong { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.45rem; }
  .hero .lead { font-size: 1.05rem; line-height: 1.6; }
  .hero__actions { margin-top: 1.4rem; }
  .hero__stats { gap: 0.9rem 1.6rem; margin-top: 1.4rem; padding-top: 1rem; font-size: 0.85rem; }
  .hero__stats .stat strong { font-size: 1.45rem; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); max-width: 22ch; }
.page-hero .lead { max-width: 42rem; }
.page-hero .hero__enso { width: 420px; opacity: 0.15; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 0.9rem;
  overflow: hidden;
  position: relative;
  background: var(--ink-950);
}
.marquee__track {
  display: flex;
  gap: 2.8rem;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 241, 229, 0.56);
}
.marquee span:nth-child(4n+2) { color: var(--gold); -webkit-text-stroke: 0; }
.marquee span:nth-child(4n) { color: var(--jade); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Icon marquee: official tech marks, quiet type */
.marquee--icons { padding-block: 1.05rem; }
.marquee--icons .marquee__track { gap: 3rem; align-items: center; }
.marquee--icons span,
.marquee--icons span:nth-child(4n),
.marquee--icons span:nth-child(4n+2) {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: none;
  color: var(--cream-dim);
  -webkit-text-stroke: 0;
}
.marquee--icons svg, .marquee--icons img { width: 24px; height: 24px; flex: none; }

/* ---------- Service cards (spotlight + tilt) ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  overflow: hidden;
  box-shadow: 0 14px 36px -24px rgba(0, 0, 0, 0.65);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(56, 212, 180, 0.09), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover { border-color: rgba(56, 212, 180, 0.35); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }
.card .link-arrow { margin-top: 1rem; font-size: 0.92rem; }

.card__icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(56, 212, 180, 0.08);
  border: 1px solid rgba(56, 212, 180, 0.2);
  color: var(--jade);
  margin-bottom: 1.2rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: rgba(212, 175, 90, 0.12); border-color: rgba(212, 175, 90, 0.4); color: var(--gold); transform: rotate(-6deg) scale(1.06); }

/* ---------- Counters band ---------- */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 760px) { .counters { grid-template-columns: repeat(2, 1fr); } }
.counter strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.counter strong span { font: inherit; color: inherit; display: inline; margin: 0; }
.counter strong .plus { color: var(--gold); }
.counter > span { display: block; margin-top: 0.5rem; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 620; }

/* ---------- Track record ---------- */
.track {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: proj;
  display: grid;
  gap: 0.9rem;
}
.track li {
  counter-increment: proj;
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1.2fr 1fr auto;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(180deg, rgba(246, 241, 229, 0.05), rgba(246, 241, 229, 0.02));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.track li::before {
  content: counter(proj, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-deep);
  transition: color 0.3s var(--ease);
}
/* Gold-to-jade accent bar sweeps in on hover */
.track li::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--jade));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.track li:hover {
  transform: translateX(8px);
  background: linear-gradient(180deg, rgba(246, 241, 229, 0.085), rgba(246, 241, 229, 0.04));
  border-color: rgba(56, 212, 180, 0.45);
  box-shadow: var(--shadow-glow);
}
.track li:hover::before { color: var(--gold); }
.track li:hover::after { transform: scaleY(1); }
.track h3 { font-size: 1.25rem; margin: 0; }
.track .desc { color: var(--muted); font-size: 0.94rem; margin: 0; }
.track .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jade);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .track li { grid-template-columns: 3rem 1fr; }
  .track .tag { grid-column: 2; }
}

/* Tech chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.chip {
  font-size: 0.76rem;
  font-weight: 640;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Paper band (light contrast section) ---------- */
.paper-band { background: var(--paper); color: var(--stone); }
.paper-band > .container { background-color: var(--paper); }
.paper-band h2, .paper-band h3 { color: var(--charcoal); }
.paper-band .lead, .paper-band .muted { color: var(--stone); }
.paper-band .eyebrow { color: var(--gold-dark); background-color: var(--paper); }
.paper-band .eyebrow::before { background: var(--jade-dim); }
.paper-band .link-arrow { color: var(--gold-dark); }
.paper-band a:hover { color: var(--gold-dark); }

/* Process timeline */
.process { position: relative; padding-left: 2.2rem; max-width: 44rem; }
.process::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--jade-dim), var(--gold-deep));
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
  transition: transform 0.2s linear;
}
.process__step { position: relative; padding-bottom: 1.9rem; }
.process__step:last-child { padding-bottom: 0; }
.process__step::before {
  content: "";
  position: absolute;
  left: -2.2rem; top: 8px;
  width: 14px; height: 14px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--jade-dim);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process__step.is-active::before { background: var(--gold-deep); border-color: var(--gold-deep); box-shadow: 0 0 0 6px rgba(194, 155, 60, 0.18); }
.process__step h3 { font-size: 1.25rem; margin-bottom: 0.25em; }
.process__step p { color: var(--stone); font-size: 0.97rem; margin: 0; max-width: 52ch; }

/* ---------- Quote ---------- */
.big-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  font-weight: 480;
  line-height: 1.3;
  color: var(--cream);
  max-width: 26ch;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}
.big-quote em { font-style: italic; color: var(--gold); }
.big-quote .attribution {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jade);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 320px at 85% -20%, rgba(56, 212, 180, 0.12), transparent 60%),
    radial-gradient(700px 340px at 10% 120%, rgba(194, 155, 60, 0.12), transparent 60%),
    var(--ink-800);
  padding: clamp(2.5rem, 5.5vw, 4.5rem);
  text-align: center;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.cta-band .lead { max-width: 36rem; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 640; margin-bottom: 0.4rem; color: var(--cream); }
input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--ink-800);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--cream);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(56, 212, 180, 0.15);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- Feature rows ---------- */
.feature-row { display: flex; gap: 0.9rem; align-items: flex-start; }
.feature-row + .feature-row { margin-top: 1.3rem; }
.feature-row__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-top: 0.6rem; }
.feature-row h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 640; letter-spacing: 0; margin: 0 0 0.15em; }
.feature-row p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 46rem; }
.faq details {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq details:hover { border-color: rgba(56, 212, 180, 0.3); }
.faq details[open] { border-color: rgba(56, 212, 180, 0.45); box-shadow: var(--shadow-glow); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 640;
  color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: 0.97rem; margin: 0; }
.faq details[open] .faq__body { animation: rise 0.45s var(--ease); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-top: clamp(2.5rem, 4.5vw, 3.75rem);
  font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 2rem; padding-bottom: 2.25rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; grid-auto-flow: row; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; grid-auto-flow: row; } }
.site-footer h3 {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { color: var(--muted); display: inline-block; padding-block: 0.3rem; }
.site-footer a:hover { color: var(--gold); }
.footer-brand svg { width: 190px; margin-bottom: 1rem; }
.footer-brand p { max-width: 30rem; font-size: 0.92rem; }
.footer-install { background: none; border: 0; padding: 0.3rem 0; color: var(--muted); cursor: pointer; font: inherit; text-align: left; transition: color 0.2s var(--ease); }
.footer-install:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Install sheet ---------- */
.install-sheet {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  color: var(--cream-dim);
  max-width: 26rem;
  width: calc(100vw - 2.5rem);
  padding: 1.7rem 1.8rem;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.install-sheet::backdrop { background: rgba(5, 15, 14, 0.7); backdrop-filter: blur(4px); }
.install-sheet h3 { margin-bottom: 0.6em; }
.install-sheet ol { margin: 0 0 1.3rem; padding-left: 1.2em; }
.install-sheet li + li { margin-top: 0.5rem; }

/* ---------- Reveals ---------- */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal { transform: translateY(24px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.stagger-done > * { transition-delay: 0ms; }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.divider-glow {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.notice {
  border-left: 3px solid var(--gold-deep);
  background: var(--ink-800);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.3rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  background: rgba(56, 212, 180, 0.08);
  border: 1px solid rgba(56, 212, 180, 0.25);
  color: var(--jade);
}
.pill--gold { background: rgba(212, 175, 90, 0.1); border-color: rgba(212, 175, 90, 0.35); color: var(--gold); }
.pill--pulse::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 90, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(212, 175, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 90, 0); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow, .page-hero .eyebrow, .hero h1, .page-hero h1,
  .hero .lead, .page-hero .lead, .hero .hero__actions, .page-hero .hero__actions,
  .hero .hero__stats { animation: none; }
  .enso-stroke { animation: none; stroke-dashoffset: 0; }
  .enso-dot { animation: none; opacity: 1; }
  .dust, .cursor-dot, .cursor-ring { display: none; }
  .aurora span { animation: none; }
  .marquee__track { animation: none; }
  .hero h1 .gradient-word { animation: none; }
  .swap-word.is-out, .swap-word.is-in { animation: none; opacity: 1; transform: none; }
  .hero__cue span { animation: none; top: 14px; }
  .pill--pulse::before { animation: none; }
  .loader { display: none; }
  .btn, .card, .card__icon, .track li { transition: none; }
  .btn--gold:hover::after { animation: none; }
  .nav__menu.is-open, .nav__menu.is-open .nav__links > li { animation: none; }
  .scroll-progress { display: none; }
}

/* ============================================================
   Free web parts (catalogue cards + detail pages)
   ============================================================ */
.wp-card { display: flex; flex-direction: column; color: inherit; height: 100%; }
.wp-card:hover { color: inherit; }
.wp-card p { flex: 1; }
.wp-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 0.8rem; }
.wp-card .card__icon { margin-bottom: 1rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--cream-dim);
  white-space: nowrap;
}
.badge--free { background: rgba(56, 212, 180, 0.12); border-color: rgba(56, 212, 180, 0.45); color: var(--jade); }
.badge--soon { background: rgba(212, 175, 90, 0.1); border-color: rgba(212, 175, 90, 0.4); color: var(--gold); }

.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--muted); opacity: 0.6; }
.breadcrumbs a { color: var(--cream-dim); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--cream); }

.wp-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.btn.is-disabled { background: rgba(212, 175, 90, 0.1); color: var(--gold); border: 1.5px dashed rgba(212, 175, 90, 0.55); box-shadow: none; cursor: not-allowed; pointer-events: none; }
.btn.is-disabled::after { display: none; }

/* Detail layout: main column + "at a glance" panel */
.wp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.wp-layout > * { min-width: 0; }
.wp-aside { position: sticky; top: calc(var(--header-h) + 1rem); }
.wp-aside .card { padding: 1.4rem 1.5rem; }
.wp-aside h2 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1rem; margin: 0; font-size: 0.93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--cream); text-align: right; }
.wp-aside .btn { width: 100%; margin-top: 1.2rem; }
.wp-aside .btn + .btn { margin-top: 0.6rem; }
@media (max-width: 900px) {
  .wp-layout { grid-template-columns: 1fr; }
  .wp-aside { position: static; }
}

.wp-block + .wp-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.wp-block > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.wp-block > .lead { max-width: 44rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 2rem; }
.feature-grid .feature-row + .feature-row { margin-top: 0; }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ink-800); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--cream); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ink-700); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--cream); font-weight: 600; }
.spec-table td { color: var(--cream-dim); }
.spec-table code, .wp-block code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.88em; color: var(--gold); overflow-wrap: anywhere; }
.spec-table td:first-child code { white-space: nowrap; overflow-wrap: normal; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.steps li { counter-increment: step; position: relative; padding: 1.05rem 1.2rem 1.05rem 3.5rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ink-800); }
.steps li::before {
  content: counter(step);
  position: absolute; left: 1.05rem; top: 1rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink-950);
  font-weight: 700; font-size: 0.85rem;
}
.steps h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 640; letter-spacing: 0; margin: 0 0 0.2em; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.sample-slot {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  background: rgba(10, 31, 30, 0.55);
}
.sample-slot h3 { margin-bottom: 0.3em; }
.sample-slot p { color: var(--muted); max-width: 34rem; margin: 0 auto 1.2rem; }

/* ============================================================
   Phones: a slightly "zoomed-out" scale so more fits on screen
   ============================================================ */
@media (max-width: 620px) {
  body { font-size: 0.97rem; line-height: 1.65; }
  h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  h2 { font-size: clamp(1.6rem, 6.8vw, 2.05rem); }
  h3 { font-size: 1.15rem; }
  .lead { font-size: 1rem; }
  .container { padding-inline: 1rem; }
  .section { padding-block: 2.75rem; }
  .section-head { margin-bottom: 1.5rem; }
  .card { padding: 1.25rem; border-radius: var(--radius); }
  .card__icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 0.9rem; }
  .card__icon svg { width: 22px; height: 22px; }
  .btn { padding: 0.8rem 1.35rem; font-size: 0.93rem; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.35rem); }
  .hero .lead { font-size: 0.98rem; }
  :root { --header-h: 64px; }
  .brand { gap: 0.6rem; }
  .brand svg { width: 36px; height: 36px; }
  .brand__name { font-size: 1.15rem; }
  .hero { min-height: auto; padding-block: 2.75rem 3.25rem; }
  .hero__cue { display: none; }
  .hero__stats { gap: 0.9rem 1.2rem; }
  .hero__stats .stat > span { font-size: 0.8rem; }
  .hero__stats .stat strong { font-size: 1.3rem; }
  .page-hero { padding-block: 2.25rem 2.5rem; }
  .page-hero h1 { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  .cta-band h2 { font-size: clamp(1.6rem, 6.8vw, 2rem); }
  .spec-table { font-size: 0.88rem; }
  .spec-table th, .spec-table td { padding: 0.65rem 0.75rem; }
  .steps li { padding: 0.95rem 1rem 0.95rem 3.1rem; }
  .steps li::before { left: 0.85rem; top: 0.9rem; }
}

/* Keep the whole ensō visible on small screens instead of cropping it off the right edge */
@media (max-width: 720px) {
  .hero .hero__enso {
    width: min(86vw, 380px);
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.13;
  }
  .page-hero .hero__enso {
    width: min(46vw, 210px);
    right: 0.75rem;
    top: 1rem;
    transform: none;
    opacity: 0.12;
  }
}

/* ---------- Contact form states ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:empty { display: none; }
.form-note.is-success { color: var(--jade); }
.form-note.is-error { color: #F2B8A0; }
.btn:disabled { opacity: 0.7; cursor: progress; }

/* ---------- Install instructions sheet ---------- */
.install-sheet p { color: var(--muted); font-size: 0.95rem; }
.install-sheet__icon { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; color: var(--jade); }
