/* =========================================================================
   servet.ch — v2 stylesheet
   Editorial · warm paper · serif display · cinematic micro-motion
   ========================================================================= */

:root {
  /* Palette */
  --paper:        #f5f1ea;
  --paper-soft:   #ece5d6;
  --paper-warm:   #e8dfca;
  --ink:          #0e0e0e;
  --ink-soft:     #1c1b18;
  --text:         #121212;
  --text-mute:    #56503f;
  --text-mute-dk: #a59c84;
  --rule:         #d8cfb8;
  --rule-strong:  #1a1a1a;
  --rule-dk:      #2d2a24;
  --accent:       #6e1f2b;        /* deep burgundy */
  --accent-soft:  #c89d8a;        /* terracotta */
  --signal:       #d4a957;        /* warm gold */
  --good:         #2e7d4f;
  --meh:          #b48a2a;
  --bad:          #8b3a2e;

  /* Type */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --container:    1320px;
  --gutter:       clamp(20px, 5vw, 80px);
  --section-y:    clamp(96px, 14vw, 200px);
  --radius:       3px;

  /* Motion */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-strong:  cubic-bezier(0.85, 0, 0.15, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:     220ms;
  --dur:          480ms;
  --dur-slow:     900ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "kern";
  font-variation-settings: "wght" 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: var(--radius);
}
::selection { background: var(--ink); color: var(--paper); }

button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 200;
  font-weight: 500; font-size: 14px;
}
.skip-link:focus { left: 16px; top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
}

/* ---------- Background noise (paper grain) ---------- */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0 0.03 0 0 0 0.42 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: transparent;
  z-index: 100;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: width 80ms linear;
}

/* ---------- Cursor (subtle, desktop only) ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 150;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 200ms, transform 200ms var(--ease-out), width 250ms var(--ease-out), height 250ms var(--ease-out);
  will-change: transform;
}
.cursor {
  width: 32px; height: 32px;
  border: 1px solid #fff;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 4px; height: 4px;
  background: #fff;
  transform: translate(-50%, -50%);
}
body.cursor-ready .cursor,
body.cursor-ready .cursor-dot { opacity: 0.55; }
body.cursor-hover .cursor { width: 56px; height: 56px; border-color: #fff; opacity: 0.9; }
body.cursor-hover .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 80%, transparent);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-glyph {
  width: 32px; height: 32px;
  color: var(--ink);
  transition: transform var(--dur) var(--ease-out);
}
.brand:hover .brand-glyph { transform: rotate(-12deg); }
.brand-word {
  font-style: italic;
  font-variation-settings: "wght" 500, "SOFT" 50, "WONK" 1;
}
.brand-tld {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  font-style: normal;
  font-variation-settings: "wght" 400;
}

.primary-nav {
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px);
  font-size: 14px;
  font-weight: 500;
}
.primary-nav a {
  color: var(--text-mute);
  position: relative;
  display: inline-flex; align-items: baseline; gap: 6px;
  transition: color var(--dur-fast) var(--ease);
}
.primary-nav a::before {
  content: attr(data-section);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  opacity: 0.6;
  transition: opacity var(--dur-fast);
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a:hover::before { opacity: 1; }
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  color: var(--paper) !important;
  background: var(--ink);
  padding: 11px 18px 11px 20px !important;
  border-radius: 999px;
  display: inline-flex !important; align-items: center; gap: 10px !important;
  transition: background var(--dur-fast), transform var(--dur) var(--ease-out);
}
.nav-cta::before { display: none; }
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--paper) !important;
}
.nav-cta svg { transition: transform var(--dur) var(--ease-out); }
.nav-cta:hover svg { transform: translateX(4px); }

/* ---------- Dots / indicators ---------- */
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  vertical-align: middle;
}
.dot--live {
  background: var(--good);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 18%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
.dot--pilot {
  background: var(--signal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 20%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
  50%      { box-shadow: 0 0 0 9px color-mix(in srgb, currentColor 0%, transparent); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(80px, 12vw, 160px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Background-image set in v2.8 cleanup block below (mouse-following glow) */
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--rule) 50%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--rule) 50%, transparent) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.hero-meta { grid-row: 1; }

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "wght" 400, "SOFT" 60, "WONK" 1;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: -0.005em;
  color: var(--text-mute);
  text-transform: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  line-height: 1.4;
}
.eyebrow::before {
  content: "—";
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.9em;
  color: var(--accent);
  flex-shrink: 0;
}
/* Hide any leftover dot inside eyebrow — replaced by the em-dash */
.eyebrow .dot { display: none; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 120, "wght" 400, "SOFT" 30, "WONK" 0;
  font-size: clamp(48px, 9.2vw, 144px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 18px 0 36px;
  max-width: 16ch;
  color: var(--ink);
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 80, "WONK" 1;
}

.reveal-word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}
.is-visible .reveal-word,
.line.is-visible .reveal-word { transform: translateY(0); }

/* Stagger words by index */
.line .reveal-word:nth-child(1) { transition-delay: 0ms; }
.line .reveal-word:nth-child(2) { transition-delay: 80ms; }
.line .reveal-word:nth-child(3) { transition-delay: 160ms; }
.line .reveal-word:nth-child(4) { transition-delay: 240ms; }
.hero-headline .line:nth-child(2) .reveal-word { transition-delay: 200ms; }
.hero-headline .line:nth-child(3) .reveal-word { transition-delay: 400ms; }
.hero-headline .line:nth-child(4) .reveal-word { transition-delay: 600ms; }

.hero-lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 62ch;
  margin: 0 0 48px;
}
.hero-lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 96px;
}

.hero-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 56px);
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 6px; }
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  font-variation-settings: "opsz" 60, "wght" 400, "SOFT" 30;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.stat-suffix {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  font-variation-settings: normal;
}

.scroll-indicator {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-line {
  display: block;
  width: 1px; height: 48px;
  background: var(--text-mute);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 30%;
  background: var(--ink);
  animation: scrollDown 2.4s var(--ease-out) infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(330%); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur) var(--ease-out), border-color var(--dur-fast);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn-arrow {
  display: inline-flex;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur) var(--ease-out);
  z-index: -1;
}
.btn--primary:hover::before { transform: scaleY(1); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--invert {
  background: var(--paper);
  color: var(--ink);
}
.btn--invert::before { background: var(--signal); }
.btn--invert:hover { color: var(--ink); }

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---------- Marquee ---------- */
.marquee-section {
  background: var(--ink);
  color: var(--paper);
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee {
  display: flex;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
  white-space: nowrap;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.m-item {
  font-family: var(--font-sans);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.m-item--serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 100, "SOFT" 50, "WONK" 1;
  text-transform: none;
  letter-spacing: -0.01em;
}
.m-item--serif em {
  font-style: italic;
  color: var(--signal);
}
.m-dot {
  font-family: var(--font-display);
  color: var(--accent-soft);
  font-size: clamp(20px, 3vw, 36px);
  line-height: 0;
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 80ch;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-num {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}
.section-num .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  font-variation-settings: "opsz" 50, "SOFT" 60, "WONK" 1;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}
.section-num--light { color: var(--text-mute-dk); border-color: var(--rule-dk); }
.section-num--light .n { color: var(--paper); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 120, "wght" 400, "SOFT" 30, "WONK" 0;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
}
.section-title .line { display: block; overflow: hidden; }
.section-title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.section-lede {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 62ch;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Products overview ---------- */
.products {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  position: relative;
}

.product-cards {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.card--nota {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
}
.card--telra {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent-soft) 28%, transparent), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.card--telra::before {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--signal) 22%, transparent), transparent 50%);
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); }

.card-link {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 4vw, 56px);
  min-height: 460px;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--good);
}
.card-tag--pilot { color: var(--signal); }
.card--telra .card-tag { color: var(--good); }
.card-id { color: var(--text-mute); }
.card--telra .card-id { color: var(--text-mute-dk); }

.card-body { margin: 72px 0 24px; }
.card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 50, "WONK" 1;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  color: var(--ink);
}
.card--telra .card-title { color: var(--paper); }
.card-title-dot { color: var(--accent); }
.card--telra .card-title-dot { color: var(--signal); }

.card-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 60, "WONK" 1;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  color: var(--text-mute);
  margin: 0;
  max-width: 24ch;
}
.card--telra .card-sub { color: var(--text-mute-dk); }

.card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.card--telra .card-footer { border-top-color: var(--rule-dk); color: var(--text-mute-dk); }
.card-arrow {
  display: inline-flex;
  padding: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: transform var(--dur) var(--ease-out), background var(--dur-fast);
}
.card--telra .card-arrow { background: var(--paper); color: var(--ink); }
.card:hover .card-arrow { transform: translate(6px, -2px) rotate(-12deg); }

/* ---------- Product detail layout ---------- */
.product-detail {
  padding-block: var(--section-y);
  position: relative;
}
.product-detail--nota {
  background: var(--paper-soft);
  border-top: 1px solid var(--rule);
}
.product-detail--telra {
  background: var(--ink);
  color: var(--paper);
}
.product-detail--telra .section-title { color: var(--paper); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.product-detail-grid--reverse { grid-template-columns: 1fr 340px; }
.product-detail-grid--reverse .product-body { order: 1; }
.product-detail-grid--reverse .product-side { order: 2; }

.product-side {
  position: sticky;
  top: 110px;
  display: flex; flex-direction: column;
}
.product-side .section-num { margin-bottom: 32px; }
.product-side--dark .section-num { color: var(--text-mute-dk); border-bottom-color: var(--rule-dk); }
.product-side--dark .section-num .n { color: var(--paper); }

.spec-list { display: flex; flex-direction: column; }
.spec {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.product-side--dark .spec { border-color: var(--rule-dk); }
.spec:last-child { border-bottom: 1px solid var(--rule); }
.product-side--dark .spec:last-child { border-bottom-color: var(--rule-dk); }
.spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.product-side--dark .spec-label { color: var(--text-mute-dk); }
.spec-value {
  font-size: 15px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}

.product-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 30;
  font-size: clamp(38px, 5.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  color: var(--ink);
}
.product-title .line { display: block; overflow: hidden; }
.product-title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.product-body--dark .product-title { color: var(--paper); }
.product-body--dark .product-title em { color: var(--signal); }

.product-lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 62ch;
  margin: 0 0 56px;
}
.product-body--dark .product-lede { color: var(--text-mute-dk); }
.product-lede strong, .product-lede em {
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
}
.product-body--dark .product-lede strong,
.product-body--dark .product-lede em { color: var(--paper); }
.product-lede em { font-style: italic; font-family: var(--font-display); font-variation-settings: "opsz" 50, "SOFT" 50; }

/* ---------- Device mockups ---------- */
.device {
  margin: 0 0 64px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  perspective: 1400px;
}

/* Tablet mock */
.device--tablet { padding: 16px 0 24px; }
.tablet {
  position: relative;
  width: clamp(280px, 36vw, 460px);
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  transform: rotateX(8deg) rotateY(-6deg) rotateZ(0);
  transform-style: preserve-3d;
  transition: transform 1.2s var(--ease-out);
}
.device.is-visible .tablet { transform: rotateX(4deg) rotateY(-3deg); }
.tablet-bezel {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #2a2a2a, #0e0e0e);
  border-radius: 18px;
  padding: 14px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.35),
    0 10px 20px -10px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.tablet-shadow {
  position: absolute;
  bottom: -22px; left: 8%; right: 8%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.32), transparent 65%);
  filter: blur(6px);
  z-index: -1;
}
.tablet-screen {
  width: 100%; height: 100%;
  background: linear-gradient(165deg, #fafaf7, #ece5d6);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.pos-ui {
  height: 100%;
  display: flex; flex-direction: column;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--ink);
  font-family: var(--font-sans);
}
.pos-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.pos-table {
  font-family: var(--font-display);
  font-size: 18px;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 40;
  letter-spacing: -0.01em;
}
.pos-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

.pos-items {
  list-style: none; padding: 0; margin: 0 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
.pos-item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--rule) 80%, transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
}
.device.is-visible .pos-item { opacity: 1; transform: translateY(0); }
.device.is-visible .pos-item[data-delay="0"] { transition-delay: 200ms; }
.device.is-visible .pos-item[data-delay="1"] { transition-delay: 400ms; }
.device.is-visible .pos-item[data-delay="2"] { transition-delay: 600ms; }
.device.is-visible .pos-item[data-delay="3"] { transition-delay: 800ms; }
.pos-qty {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
}
.pos-name { font-weight: 500; }
.pos-price {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variation-settings: "tnum" 1;
  color: var(--ink);
}

.pos-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0 10px;
  border-top: 2px solid var(--ink);
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 360ms var(--ease-out) 1100ms;
}
.device.is-visible .pos-total { opacity: 1; }
.pos-total strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 30;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.pos-actions {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 360ms var(--ease-out) 1300ms, transform 360ms var(--ease-out) 1300ms;
}
.device.is-visible .pos-actions { opacity: 1; transform: translateY(0); }
.pos-btn {
  padding: 10px;
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: 4px;
  font-size: 11px;
  font-family: inherit;
  font-weight: 500;
  cursor: default;
  color: var(--ink);
}
.pos-btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Printer + receipt */
.printer {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  width: 140px;
  position: relative;
  margin-bottom: 8px;
}
.printer-body {
  width: 100%;
  height: 56px;
  background: linear-gradient(155deg, #353330, #16140f);
  border-radius: 8px 8px 4px 4px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 14px 30px -10px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}
.printer-body::after {
  content: "";
  position: absolute; bottom: -2px; left: 8px; right: 8px;
  height: 4px;
  background: var(--paper);
  border-radius: 2px;
}
.printer-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
}
.receipt {
  width: 95px;
  background: linear-gradient(180deg, #fefdfb, #f5f0e3);
  padding: 10px 8px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.5;
  color: #1a1a1a;
  letter-spacing: 0.02em;
  margin-top: 0;
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 900ms var(--ease-out) 1500ms;
  box-shadow:
    inset 0 -8px 12px -8px rgba(0,0,0,0.15);
  position: relative;
  border-radius: 1px 1px 0 0;
}
.device.is-visible .receipt { transform: scaleY(1); }
.receipt-head {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  font-size: 7px;
}
.receipt-line {
  border-top: 1px dashed currentColor;
  margin: 4px 0;
}
.receipt-row {
  display: flex; justify-content: space-between; gap: 4px;
  font-size: 7px;
}
.receipt-total { font-weight: 700; }
.receipt-foot {
  text-align: center;
  margin-top: 6px;
  letter-spacing: 0.15em;
  font-size: 6.5px;
}

/* Phone mock */
.device--phone {
  flex-direction: row;
  align-items: center;
}
.phone {
  flex-shrink: 0;
  width: clamp(180px, 22vw, 240px);
  aspect-ratio: 9 / 19;
  background: linear-gradient(155deg, #2a2826, #0a0a0a);
  border-radius: 30px;
  padding: 8px;
  position: relative;
  transform: rotate(-4deg) translateY(8px);
  transition: transform 1.2s var(--ease-out);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.5),
    0 10px 20px -10px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}
.device.is-visible .phone { transform: rotate(-3deg) translateY(0); }
.phone::after {
  content: "";
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 18px;
  background: #050505;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(170deg, #1d1d1c, #0e0e0e);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.call-incoming {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--paper);
  padding: 40px 12px 20px;
  text-align: center;
}
.call-pulse {
  position: relative;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.call-pulse span {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--signal) 70%, transparent);
  border-radius: 50%;
  opacity: 0;
}
.call-pulse span:nth-child(1) { animation: ring 2.4s var(--ease-out) infinite; }
.call-pulse span:nth-child(2) { animation: ring 2.4s var(--ease-out) infinite 0.6s; }
.call-pulse span:nth-child(3) { animation: ring 2.4s var(--ease-out) infinite 1.2s; }
@keyframes ring {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
.call-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: wiggle 1.8s var(--ease) infinite;
}
@keyframes wiggle {
  0%, 100%      { transform: rotate(0); }
  10%, 30%, 50% { transform: rotate(-8deg); }
  20%, 40%, 60% { transform: rotate(8deg); }
  70%           { transform: rotate(0); }
}
.call-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute-dk);
}
.call-number {
  font-family: var(--font-display);
  font-size: 18px;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 30;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1;
}
.call-buttons {
  display: flex; gap: 24px; margin-top: 18px;
}
.call-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
}
.call-btn--decline { background: #b03b3b; }
.call-btn--answer  { background: var(--good); }

/* Customer card */
.customer-card {
  flex: 1;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.4),
    0 10px 20px -10px rgba(0,0,0,0.25);
  transform: translateX(-40px);
  opacity: 0;
  transition: transform 900ms var(--ease-out) 600ms, opacity 900ms var(--ease-out) 600ms;
  position: relative;
}
.device.is-visible .customer-card { transform: translateX(0); opacity: 1; }
.customer-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  border-radius: 8px 0 0 8px;
}
.card-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.card-flag {
  background: color-mix(in srgb, var(--signal) 30%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink);
}
.card-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 30;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 6px 0 8px;
  color: var(--ink);
}
.card-address {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.card-notes {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.card-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.card-divider { height: 8px; }
.card-history { font-size: 13px; }
.card-history ul {
  list-style: none; padding: 6px 0 0; margin: 6px 0 0;
  display: flex; flex-direction: column; gap: 2px;
  color: var(--ink);
}
.card-history li {
  position: relative;
  padding-left: 14px;
}
.card-history li::before {
  content: "—";
  position: absolute; left: 0; color: var(--accent);
  font-family: var(--font-mono);
}
.card-total {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.card-total strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-variation-settings: "opsz" 60, "wght" 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.card-cta {
  margin-top: 16px;
  width: 100%;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  cursor: default;
}

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none; padding: 0; margin: 0 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.feature-list--dark { border-top-color: var(--rule-dk); }
.feature-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.feature-list--dark li { border-bottom-color: var(--rule-dk); }
.feature-list li:nth-child(2n) { padding-left: 36px; border-left: 1px solid var(--rule); }
.feature-list--dark li:nth-child(2n) { border-left-color: var(--rule-dk); }
.feat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 80, "SOFT" 60, "WONK" 1;
  font-size: 24px;
  color: var(--accent);
}
.feature-list--dark .feat-num { color: var(--signal); }
.feature-list h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 30;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature-list--dark h4 { color: var(--paper); }
.feature-list h4 em {
  font-style: italic;
  font-variation-settings: "opsz" 80, "SOFT" 60, "WONK" 1;
  color: var(--accent);
}
.feature-list--dark h4 em { color: var(--signal); }
.feature-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-mute);
  max-width: 42ch;
}
.feature-list--dark p { color: var(--text-mute-dk); }

.product-cta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.cta-note--dark { color: var(--text-mute-dk); }

/* ---------- STATS ---------- */
.stats-section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.stats-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 30;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 16px 0 80px;
  max-width: 22ch;
  color: var(--ink);
}
.stats-headline em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column;
  gap: 16px;
}
.stat:last-child { border-right: none; padding-right: 0; }
.stat:nth-child(n+2) { padding-left: 32px; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 30;
  font-size: clamp(56px, 6.5vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: inline-flex; align-items: baseline; gap: 6px;
  color: var(--ink);
}
.stat-unit {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.04em;
  color: var(--text-mute);
  font-variation-settings: normal;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.stat-detail {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
  max-width: 28ch;
}

/* ---------- PROCESS ---------- */
.process {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
}
.process-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.step {
  position: relative;
  padding: 48px 24px 48px 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px;
}
.step:last-child { border-right: none; padding-right: 0; }
.step:nth-child(n+2) { padding-left: 32px; }
.step-line {
  position: absolute;
  top: 24px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 1.2s var(--ease-out);
}
.step.is-visible .step-line { width: 100%; }
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--accent);
  line-height: 0.9;
  margin-bottom: 10px;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 30;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.step-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0;
}
.step-time {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------- COMPARE ---------- */
.compare {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  background: var(--paper-soft);
}
.compare-table {
  display: grid;
  border-top: 1px solid var(--ink);
}
.ct-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}
.ct-head {
  position: sticky; top: 76px;
  z-index: 4;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--ink);
}
.ct-cell {
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.ct-cell--feature { background: transparent; }
.ct-cell--feature strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "wght" 500;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ct-cell--feature span {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.45;
}
.ct-cell--us { background: color-mix(in srgb, var(--accent-soft) 20%, transparent); }
.ct-cell--them { }

.ct-head .ct-cell--us,
.ct-head .ct-cell--them {
  border-left: 1px solid var(--rule);
}
.ct-row:not(.ct-head) .ct-cell--us {
  border-left: 1px solid var(--rule);
}
.ct-row:not(.ct-head) .ct-cell--them {
  border-left: 1px solid var(--rule);
}

.ct-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 50, "WONK" 1;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.ct-head .ct-cell--them .ct-brand { color: var(--text-mute); font-style: normal; font-variation-settings: "opsz" 80, "wght" 400, "SOFT" 0, "WONK" 0; }
.ct-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.badge {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 500;
  align-self: flex-start;
  width: fit-content;
}
.badge--good { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.badge--meh  { background: color-mix(in srgb, var(--meh) 18%, transparent); color: var(--meh); }
.badge--bad  { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.ct-detail {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
}

/* ---------- STORY ---------- */
.story {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
}
.story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.story-meta { position: sticky; top: 110px; }
.story-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 60, "WONK" 1;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--ink);
  max-width: 22ch;
}
.story-title em {
  font-style: italic;
}
.story-text {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 64ch;
  margin: 0 0 36px;
}
.story-text strong { color: var(--ink); font-weight: 500; }

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  max-width: 540px;
}
.story-stats > div { display: flex; flex-direction: column; gap: 4px; }
.story-stats dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.story-stats dd { margin: 0; font-size: 15px; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  background: var(--paper-soft);
}
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 0;
  transition: background var(--dur-fast);
}
.faq-item:last-child { border-bottom: none; }
.faq-item[open] { background: color-mix(in srgb, var(--paper) 60%, transparent); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  gap: 24px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 30;
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.faq-icon {
  position: relative;
  width: 28px; height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease-out), background var(--dur-fast);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transition: transform var(--dur) var(--ease-out), background var(--dur-fast);
}
.faq-icon::before {
  width: 11px; height: 1px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1px; height: 11px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon { transform: rotate(135deg); background: var(--ink); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--paper); }
.faq-a {
  padding: 0 60px 28px 0;
  max-width: 80ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mute);
}
.faq-a p { margin: 0; }
.faq-a strong { color: var(--ink); font-weight: 500; }

/* ---------- FINAL CTA ---------- */
.final-cta {
  padding-block: var(--section-y);
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 20% 30%, color-mix(in srgb, var(--accent) 24%, transparent) 0%, transparent 60%),
    radial-gradient(40% 50% at 80% 70%, color-mix(in srgb, var(--signal) 16%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: end;
}
.final-cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 30;
  font-size: clamp(44px, 7vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 16px 0 24px;
  color: var(--paper);
}
.final-cta-title .line { display: block; overflow: hidden; }
.final-cta-title em {
  font-style: italic;
  color: var(--signal);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.final-cta-lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--text-mute-dk);
  max-width: 50ch;
  margin: 0;
}
.final-cta-lede em {
  font-style: italic;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 60, "SOFT" 60;
  color: var(--paper);
}

.final-cta-card {
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--rule-dk);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  gap: 0;
}
.cta-greeting {
  margin: 0 0 8px;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--paper);
}
.cta-greeting em {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "wght" 400, "SOFT" 70, "WONK" 1;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--paper);
}
.cta-greeting span {
  font-size: 14px;
  color: var(--text-mute-dk);
  line-height: 1.5;
}
.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr 14px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-dk);
  color: var(--paper);
  transition: padding var(--dur) var(--ease-out);
}
.contact-row:first-of-type { border-top: 1px solid var(--rule-dk); margin-top: 14px; }
.contact-row:last-of-type { border-bottom: none; }
.contact-row--static { cursor: default; color: var(--text-mute-dk); }
.contact-row:not(.contact-row--static):hover { padding-left: 6px; }
.contact-row svg {
  color: var(--text-mute-dk);
  transition: transform var(--dur) var(--ease-out), color var(--dur-fast);
}
.contact-row:not(.contact-row--static):hover svg { transform: translateX(4px); color: var(--signal); }
.contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute-dk);
}
.contact-val {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 30;
  letter-spacing: -0.01em;
}
.cta-aside {
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--rule-dk);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute-dk);
}
.cta-aside em {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 60;
  color: var(--paper);
}
.final-cta-card .btn { margin-top: 20px; }
.final-cta-card .cta-note {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: var(--text-mute-dk);
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(60px, 8vw, 100px) 0 32px;
  border-top: 1px solid var(--rule);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand .brand-word {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 50, "WONK" 1;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.footer-brand .brand-tld {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-mute);
  margin-left: 4px;
}
.footer-tag {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.55;
  max-width: 34ch;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-nav h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.footer-nav a {
  color: var(--ink);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.footer-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.footer-base .dot { background: var(--good); }

/* ---------- Reveals ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-word { transform: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-headline { font-size: clamp(44px, 10vw, 96px); }
  .product-detail-grid,
  .product-detail-grid--reverse { grid-template-columns: 1fr; gap: 48px; }
  .product-detail-grid--reverse .product-body { order: 0; }
  .product-detail-grid--reverse .product-side { order: 1; }
  .product-side { position: relative; top: 0; }
  .device--tablet { flex-direction: column; align-items: flex-start; gap: 24px; }
  .device--phone { flex-direction: column; gap: 32px; }
  .phone { transform: rotate(0); }
  .device.is-visible .phone { transform: rotate(0); }
  .customer-card { transform: translateY(20px); }
  .device.is-visible .customer-card { transform: translateY(0); }
}

@media (max-width: 980px) {
  .header-row { height: 64px; }
  .primary-nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 9px 14px !important; font-size: 13px; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero-stats dd { font-size: 28px; }

  .product-cards { grid-template-columns: 1fr; gap: 16px; }
  .card-link { min-height: 320px; padding: 28px; }
  .card-body { margin: 48px 0 16px; }

  .feature-list { grid-template-columns: 1fr; }
  .feature-list li:nth-child(2n) { padding-left: 0; border-left: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--rule); padding: 28px 16px 28px 0 !important; }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule) !important; padding-right: 16px !important; }
  .stat:nth-child(odd):nth-last-child(-n+2) { padding-bottom: 28px; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--rule); padding: 32px 16px 32px 0 !important; }
  .step:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 16px !important; }
  .step-line { display: none; }

  .ct-row { grid-template-columns: 1fr; }
  .ct-cell--us, .ct-cell--them { border-left: none !important; border-top: 1px solid var(--rule); }
  .ct-head { display: none; }
  .ct-cell::before { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); display: block; margin-bottom: 4px; }
  .ct-cell--us::before { content: "Nota"; color: var(--accent); }
  .ct-cell--them::before { content: "Cloud-POS"; }

  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-meta { position: relative; top: 0; }

  .final-cta-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-headline { font-size: clamp(40px, 12vw, 64px); margin-bottom: 24px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }

  .marquee-track { gap: 24px; animation-duration: 36s; }

  .card-title { font-size: clamp(52px, 14vw, 80px); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; padding: 24px 0 !important; }
  .stat:nth-child(odd) { border-right: none !important; }
  .stat-num { font-size: 56px; }

  .process-steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; padding: 28px 0 !important; }

  .device--tablet, .device--phone { flex-direction: column; }
  .tablet { width: 100%; }
  .phone { width: 200px; }

  .footer-nav { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   v2.1 — Multi-page, food imagery, WhatsApp
   ========================================================================= */

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow:
    0 10px 30px -8px rgba(37, 211, 102, 0.5),
    0 6px 12px -4px rgba(0, 0, 0, 0.2);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  animation: waPulse 2.4s var(--ease-out) infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
}
.whatsapp-fab-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.whatsapp-fab:hover .whatsapp-fab-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* WhatsApp inline button (in contact-card etc.) */
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn--whatsapp::before { background: #128c7e; }
.btn--whatsapp:hover { color: #fff; }
.btn--whatsapp svg { width: 18px; height: 18px; }

/* ---------- Cuisine tag strip ---------- */
.cuisine-strip {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 28px 0;
}
.cuisine-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.cuisine-tag:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.cuisine-tag .emoji {
  font-size: 14px;
  line-height: 1;
}

/* ---------- Food grid (Pizza, Pasta, Restaurant Vibes) ---------- */
.food-grid-section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
}
.food-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 16px;
  margin-top: 56px;
}
.food-cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  background: var(--paper-soft);
}
.food-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.4s var(--ease-out), filter var(--dur) var(--ease-out);
  filter: saturate(1.05) contrast(1.02);
}
.food-cell:hover img { transform: scale(1.12); filter: saturate(1.15) contrast(1.06); }
.food-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(190deg, transparent 50%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.food-cell-label {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 60, "WONK" 1;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.food-cell-meta {
  position: absolute;
  top: 12px; left: 14px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Grid placement — 6 cells arranged editorial-magazine style */
.food-cell--a { grid-column: span 5; grid-row: span 3; }
.food-cell--b { grid-column: span 4; grid-row: span 2; }
.food-cell--c { grid-column: span 3; grid-row: span 2; }
.food-cell--d { grid-column: span 3; grid-row: span 2; }
.food-cell--e { grid-column: span 4; grid-row: span 2; }
.food-cell--f { grid-column: span 5; grid-row: span 3; }

@media (max-width: 980px) {
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .food-cell--a, .food-cell--b, .food-cell--c,
  .food-cell--d, .food-cell--e, .food-cell--f {
    grid-column: span 1;
    grid-row: span 1;
  }
  .food-cell--a, .food-cell--f { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
  .food-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .food-cell--a, .food-cell--b, .food-cell--c,
  .food-cell--d, .food-cell--e, .food-cell--f {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ---------- Hero photo overlay (Pizza/Pasta vibe) ---------- */
.hero--with-photo {
  background:
    linear-gradient(170deg, color-mix(in srgb, var(--paper) 96%, transparent) 30%, color-mix(in srgb, var(--paper) 78%, transparent) 100%),
    var(--paper);
  position: relative;
}
.hero-photo-stack {
  position: absolute;
  bottom: -40px;
  right: -40px;
  z-index: 1;
  width: clamp(280px, 38vw, 520px);
  pointer-events: none;
}
.hero-photo-stack .ph {
  position: absolute;
  width: 100%;
  border-radius: 6px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.35),
    0 10px 20px -10px rgba(0,0,0,0.25);
  overflow: hidden;
}
.hero-photo-stack .ph img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.hero-photo-stack .ph--main {
  top: 0; right: 0;
  width: 78%;
  transform: rotate(3deg);
  z-index: 2;
}
.hero-photo-stack .ph--side {
  top: 30%; left: 0;
  width: 60%;
  transform: rotate(-5deg);
  z-index: 1;
}
@media (max-width: 1180px) {
  .hero-photo-stack { display: none; }
}

/* ---------- Restaurant/Use-Case strip ---------- */
.use-cases {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
}
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.use-case {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4/5;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--dur) var(--ease-out);
}
.use-case:hover { transform: translateY(-4px); }
.use-case-bg {
  position: absolute; inset: 0;
  z-index: -2;
  overflow: hidden;
}
.use-case-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.4s var(--ease-out);
}
.use-case:hover .use-case-bg img { transform: scale(1.15); }
.use-case::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.0) 30%, rgba(14,14,14,0.85) 100%);
  z-index: -1;
}
.use-case-body {
  padding: clamp(24px, 3vw, 36px);
  color: #fff;
}
.use-case-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 12px;
}
.use-case-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 30;
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #fff;
}
.use-case-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0 0 18px;
  max-width: 28ch;
}
.use-case-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap var(--dur) var(--ease-out);
}
.use-case-link:hover { gap: 12px; }
@media (max-width: 980px) {
  .use-case-grid { grid-template-columns: 1fr; gap: 16px; }
  .use-case { aspect-ratio: 4/3; }
}

/* ---------- Subpage hero (smaller, photo-rich) ---------- */
.subpage-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 7vw, 88px);
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.subpage-hero--dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: var(--rule-dk);
}
.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.subpage-hero-body { display: flex; flex-direction: column; gap: 28px; }
.subpage-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 30;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0;
  color: inherit;
}
.subpage-hero-title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.subpage-hero--dark .subpage-hero-title em { color: var(--signal); }

.subpage-hero-lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 50ch;
  margin: 0;
}
.subpage-hero--dark .subpage-hero-lede { color: var(--text-mute-dk); }
.subpage-hero-lede strong { color: var(--ink); font-weight: 500; }
.subpage-hero--dark .subpage-hero-lede strong { color: var(--paper); }

.subpage-hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.45),
    0 10px 30px -10px rgba(0,0,0,0.25);
}
.subpage-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.6s var(--ease-out);
}
.subpage-hero:hover .subpage-hero-photo img { transform: scale(1.0); }

/* Breadcrumb */
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.breadcrumb a {
  color: var(--text-mute);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.breadcrumb a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.subpage-hero--dark .breadcrumb,
.subpage-hero--dark .breadcrumb a { color: var(--text-mute-dk); }
.subpage-hero--dark .breadcrumb a:hover { color: var(--paper); border-bottom-color: var(--paper); }
.breadcrumb-sep { opacity: 0.5; }

/* ---------- Bundle / Pricing cards ---------- */
.bundles {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  background: var(--paper-soft);
}
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.bundle {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur-fast), box-shadow var(--dur) var(--ease-out);
}
.bundle:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.18);
}
.bundle--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.bundle--featured:hover { border-color: var(--accent); }
.bundle-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.bundle--featured .bundle-tag { color: var(--signal); }
.bundle-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 30;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 8px;
  color: var(--ink);
}
.bundle--featured .bundle-name { color: var(--paper); }
.bundle-sub {
  font-size: 14px;
  color: var(--text-mute);
  margin: 0 0 24px;
}
.bundle--featured .bundle-sub { color: var(--text-mute-dk); }
.bundle-price {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 30;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 16px 0 4px;
  display: flex; align-items: baseline; gap: 6px;
}
.bundle--featured .bundle-price { color: var(--paper); }
.bundle-price .bundle-currency {
  font-family: var(--font-mono);
  font-size: 14px;
  font-variation-settings: normal;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.bundle--featured .bundle-currency { color: var(--text-mute-dk); }
.bundle-price-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.bundle--featured .bundle-price-note { color: var(--text-mute-dk); }
.bundle ul.bundle-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.bundle-features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.bundle--featured .bundle-features li { color: var(--paper); }
.bundle-features li::before {
  content: "✓";
  color: var(--good);
  font-weight: 700;
  font-size: 12px;
  align-self: start;
  margin-top: 4px;
}
.bundle--featured .bundle-features li::before { color: var(--signal); }
.bundle-features li.no::before { content: "—"; color: var(--text-mute); font-weight: 400; }
.bundle .btn { margin-top: auto; }

@media (max-width: 980px) {
  .bundle-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact form ---------- */
.contact-form-section {
  padding-block: var(--section-y);
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.channel {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur-fast), background var(--dur-fast);
}
.channel:hover { transform: translateX(4px); border-color: var(--ink); }
.channel-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.channel--wa .channel-icon { background: #25D366; color: #fff; }
.channel-body { display: flex; flex-direction: column; gap: 2px; }
.channel-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.channel-val {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 30;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.channel-arrow {
  color: var(--text-mute);
  transition: transform var(--dur) var(--ease-out), color var(--dur-fast);
}
.channel:hover .channel-arrow { transform: translateX(4px); color: var(--ink); }

.form-wrap {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
}
.form-wrap h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 30;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--paper);
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute-dk);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-dk);
  padding: 10px 0;
  font: inherit;
  color: var(--paper);
  font-size: 16px;
  outline: none;
  transition: border-color var(--dur-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--signal); }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field select option { background: var(--ink); color: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-actions {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-mute-dk);
  text-align: center;
}

@media (max-width: 980px) {
  .contact-form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Page-specific accent on body ---------- */
body.page--nota .subpage-hero { background: var(--paper-soft); }
body.page--telra { /* full-dark hero via subpage-hero--dark */ }

/* ---------- Image lazy fade-in ---------- */
img.lazy {
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
img.lazy.loaded { opacity: 1; }

/* ---------- Centered section variants ---------- */
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 64ch; }
.section-head--center .section-num { justify-content: center; display: inline-flex; }

/* =========================================================================
   v2.3 — Award polish: loader, clip-reveal, hover-label cursor
   ========================================================================= */

/* ---------- Page Loader (cinematic intro) ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 28px;
  opacity: 1;
  transition: opacity 700ms var(--ease-out);
}
body.loaded .page-loader {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 700ms var(--ease-out), visibility 0s linear 700ms;
}
.page-loader-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 50, "WONK" 1;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.025em;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: loaderMarkIn 700ms var(--ease-out) 100ms forwards;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.page-loader-mark .dot { color: var(--accent); font-weight: 700; }
.page-loader-mark .tld {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 14px;
  color: var(--text-mute-dk);
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.page-loader-bar {
  width: 220px; height: 1px;
  background: var(--rule-dk);
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 400ms var(--ease-out) 300ms forwards;
}
.page-loader-bar span {
  display: block; width: 0; height: 100%;
  background: var(--signal);
  animation: loaderBarFill 1000ms var(--ease-out) 400ms forwards;
}
.page-loader-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute-dk);
  opacity: 0;
  animation: loaderFadeIn 400ms var(--ease-out) 600ms forwards;
}
@keyframes loaderMarkIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}
@keyframes loaderBarFill {
  to { width: 100%; }
}

/* ---------- Image clip-path reveal ---------- */
.clip-reveal {
  overflow: hidden;
  position: relative;
}
.clip-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 100% 0 0);
  transform: scale(1.08);
  transition: clip-path 1.6s var(--ease-out), transform 2.2s var(--ease-out);
  will-change: clip-path, transform;
}
.clip-reveal.is-visible img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}
.clip-reveal::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateX(0);
  transition: transform 1.6s var(--ease-out);
  pointer-events: none;
}
.clip-reveal.is-visible::after {
  transform: translateX(101%);
}

/* Apply clip-reveal to existing image containers automatically */
.subpage-hero-photo,
.use-case .use-case-bg,
.food-cell {
  overflow: hidden;
  position: relative;
}
.subpage-hero-photo img,
.food-cell img {
  will-change: clip-path, transform;
}
.subpage-hero-photo:not(.is-visible) img,
.food-cell:not(.is-visible) img {
  clip-path: inset(0 100% 0 0);
}
.subpage-hero-photo.is-visible img,
.food-cell.is-visible img {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.6s var(--ease-out), transform 2.2s var(--ease-out);
}

/* (Removed in v2.7: .cursor-label — JS handler was removed, CSS is dead.) */

/* ---------- Hero photo stack: improved clip animation ---------- */
.hero-photo-stack .ph {
  opacity: 0;
  transform: translateY(40px) rotate(0deg);
  transition:
    opacity 1.2s var(--ease-out) 200ms,
    transform 1.4s var(--ease-out) 200ms;
}
.hero-photo-stack .ph.is-visible { opacity: 1; }
.hero-photo-stack .ph--main.is-visible { transform: translateY(0) rotate(3deg); }
.hero-photo-stack .ph--side.is-visible { transform: translateY(0) rotate(-5deg); transition-delay: 400ms; }

.hero-photo-stack .ph img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s var(--ease-out) 400ms;
}
.hero-photo-stack .ph.is-visible img {
  clip-path: inset(0 0 0 0);
}
.hero-photo-stack .ph--side.is-visible img { transition-delay: 600ms; }

/* ---------- Hero polishing: scroll indicator + bg detail ---------- */
.hero::after {
  /* slightly subtler */
  opacity: 0.32;
}

/* ---------- Bigger emphasis on hero stats ---------- */
.hero-stats dd {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

/* ---------- Card hover state with text swap ---------- */
.card .card-arrow svg { transition: transform var(--dur) var(--ease-out); }
.card:hover .card-arrow svg { transform: rotate(-12deg); }

/* ---------- Story section: improved photo embed ---------- */
.story-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 32px;
}

/* ---------- Force loader on body until JS loads ---------- */
body:not(.loaded) {
  overflow: hidden;
}
body:not(.loaded) main,
body:not(.loaded) .site-header,
body:not(.loaded) .site-footer,
body:not(.loaded) .whatsapp-fab {
  opacity: 0;
  transition: opacity 800ms var(--ease-out) 400ms;
}
body.loaded main,
body.loaded .site-header,
body.loaded .site-footer,
body.loaded .whatsapp-fab {
  opacity: 1;
}

/* ---------- Section dividers (subtle visual rhythm) ---------- */
.section-divider {
  height: 1px;
  background: var(--rule);
  margin: 0;
  max-width: var(--container);
  margin-inline: auto;
}

/* ---------- App store badge (for Tap-to-Pay App reference) ---------- */
.app-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: transform var(--dur) var(--ease-out), background var(--dur-fast);
}
.app-badge:hover { background: var(--accent); transform: translateY(-2px); }
.app-badge .app-badge-icon {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
}
.app-badge .app-badge-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.app-badge .app-badge-top {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.app-badge .app-badge-bot {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
}

/* =========================================================================
   v2.4 — Program screenshots (CSS-art mocks of Nota & Telra)
   ========================================================================= */

.showcase {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  background: var(--paper-soft);
  overflow: hidden;
}
.showcase--dark { background: var(--ink); color: var(--paper); }
.showcase--dark .section-title { color: var(--paper); }
.showcase--dark .section-lede { color: var(--text-mute-dk); }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-top: 56px;
}

.showcase-item {
  display: flex; flex-direction: column;
  gap: 24px;
}

.showcase-device {
  position: relative;
  background: linear-gradient(155deg, #2c2c2a, #0d0d0d);
  border-radius: 16px;
  padding: 12px;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.4),
    0 14px 28px -14px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  transform: rotate(-1deg);
  transition: transform var(--dur) var(--ease-out);
  overflow: hidden;
}
.showcase-item:nth-child(even) .showcase-device { transform: rotate(1deg); }
.showcase-item:hover .showcase-device { transform: rotate(0); }

.showcase-device--landscape { aspect-ratio: 4/3; }
.showcase-device--portrait  { aspect-ratio: 9/16; width: clamp(180px, 26vw, 280px); margin: 0 auto; padding: 8px; border-radius: 28px; }

.showcase-screen {
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  font-family: var(--font-sans);
  color: var(--ink);
}
.showcase-device--portrait .showcase-screen { border-radius: 20px; background: #f9f6ef; }

.showcase-meta {
  display: flex; flex-direction: column; gap: 8px;
  padding-left: 4px;
}
.showcase-num {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 60, "WONK" 1;
  font-size: 22px;
  color: var(--accent);
}
.showcase--dark .showcase-num { color: var(--signal); }
.showcase-meta h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 30;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.showcase--dark .showcase-meta h3 { color: var(--paper); }
.showcase-meta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 36ch;
}
.showcase--dark .showcase-meta p { color: var(--text-mute-dk); }

/* ---- Screen: Top bar (Schweiz date / status) ---- */
.scr-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 80%, transparent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(255,255,255,0.6);
}
.scr-bar strong { color: var(--ink); font-weight: 600; }
.scr-bar .scr-bar-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--good);
}
.scr-bar .scr-bar-live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  animation: pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent);
}

/* ---- Screen: Tisch-Plan ---- */
.scr-tables {
  padding: 14px 14px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  align-content: start;
  height: 100%;
}
.scr-table {
  border-radius: 4px;
  padding: 8px 6px;
  text-align: center;
  font-size: 9px;
  font-weight: 500;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--rule);
  color: var(--text-mute);
}
.scr-table-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  line-height: 1;
}
.scr-table-detail { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.04em; }
.scr-table-total {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2px;
}
.scr-table--free { background: color-mix(in srgb, var(--good) 8%, white); border-color: color-mix(in srgb, var(--good) 28%, transparent); }
.scr-table--free .scr-table-num { color: var(--good); }
.scr-table--busy { background: color-mix(in srgb, var(--accent) 8%, white); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.scr-table--busy .scr-table-num { color: var(--accent); }
.scr-table--busy .scr-table-total { color: var(--accent); }
.scr-table--reserved { background: color-mix(in srgb, var(--signal) 12%, white); border-color: color-mix(in srgb, var(--signal) 35%, transparent); }
.scr-table--reserved .scr-table-num { color: #8a6014; }

/* ---- Screen: Bestellung erfassen ---- */
.scr-order {
  display: grid;
  grid-template-columns: 70px 1fr 110px;
  height: 100%;
  font-size: 10px;
}
.scr-order-cats {
  background: rgba(0,0,0,0.04);
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--rule);
}
.scr-cat {
  padding: 6px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.scr-cat--active { background: var(--ink); color: var(--paper); }

.scr-order-items {
  padding: 10px;
  display: flex; flex-direction: column; gap: 4px;
  overflow: hidden;
}
.scr-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--rule);
  font-size: 10px;
  font-weight: 500;
}
.scr-item--selected { background: color-mix(in srgb, var(--accent) 12%, white); border-color: var(--accent); color: var(--accent); }
.scr-item-price {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-mute);
  font-weight: 600;
}
.scr-item--selected .scr-item-price { color: var(--accent); }

.scr-order-cart {
  padding: 10px 12px;
  background: rgba(0,0,0,0.04);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--rule);
}
.scr-cart-title {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.scr-cart-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 9px;
  padding: 4px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--rule) 80%, transparent);
}
.scr-cart-line .scr-cart-name { font-weight: 500; }
.scr-cart-line .scr-cart-price { font-family: var(--font-mono); font-size: 8px; }
.scr-cart-total {
  margin-top: auto;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scr-cart-total strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-variation-settings: "opsz" 60, "wght" 600, "SOFT" 30;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.scr-cart-btn {
  margin-top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px;
  border-radius: 3px;
  text-align: center;
  font-size: 9px;
  font-weight: 500;
  border: none;
}

/* ---- Screen: Mobile Web-App (Handy) ---- */
.scr-mobile {
  display: flex; flex-direction: column;
  height: 100%;
  font-size: 11px;
  padding: 20px 14px 12px;
}
.scr-mobile-top {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex; justify-content: space-between;
  margin-bottom: 12px;
}
.scr-mobile-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 30;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}
.scr-mobile-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
  margin-bottom: 14px;
  align-self: flex-start;
}
.scr-mobile-list { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.scr-mobile-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(0,0,0,0.04);
  font-size: 11px;
  font-weight: 500;
}
.scr-mobile-row strong { font-family: var(--font-display); font-weight: 500; }
.scr-mobile-row span { font-family: var(--font-mono); font-size: 9px; color: var(--text-mute); }
.scr-mobile-row--active {
  background: var(--ink);
  color: var(--paper);
}
.scr-mobile-row--active span { color: rgba(245,241,234,0.7); }
.scr-mobile-cta {
  margin-top: 14px;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
}

/* ---- Screen: iOS Tap-to-Pay ---- */
.scr-paypay {
  background: linear-gradient(180deg, #f4eee0 0%, #ece4d0 100%);
  height: 100%;
  display: flex; flex-direction: column;
  padding: 24px 18px 16px;
  align-items: center;
  text-align: center;
  position: relative;
}
.scr-paypay-top {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.scr-paypay-amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 30;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 6px 0 4px;
}
.scr-paypay-amount .scr-paypay-currency {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  margin-right: 4px;
}
.scr-paypay-sub {
  font-size: 11px;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.scr-paypay-nfc {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  margin: 16px 0 18px;
}
.scr-paypay-nfc::before,
.scr-paypay-nfc::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  animation: nfcRing 2.2s var(--ease-out) infinite;
}
.scr-paypay-nfc::after { animation-delay: 1.1s; }
@keyframes nfcRing {
  0%   { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.scr-paypay-prompt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  font-variation-settings: "opsz" 60, "wght" 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.scr-paypay-hint {
  font-size: 10px;
  color: var(--text-mute);
  max-width: 28ch;
  margin: 0 auto 16px;
  line-height: 1.4;
}
.scr-paypay-cancel {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  margin-top: auto;
}

/* ---- Screen: Telra Anrufer-Liste ---- */
.scr-callers {
  height: 100%;
  display: flex; flex-direction: column;
  font-size: 11px;
}
.scr-callers-list { display: flex; flex-direction: column; padding: 8px 0; flex: 1; }
.scr-caller {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
  align-items: center;
}
.scr-caller--current {
  background: color-mix(in srgb, var(--signal) 14%, transparent);
  border-left: 3px solid var(--signal);
  padding-left: 11px;
}
.scr-caller-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
}
.scr-caller--star .scr-caller-avatar { background: var(--accent); }
.scr-caller-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 30;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1px;
}
.scr-caller-note {
  font-size: 10px;
  color: var(--text-mute);
}
.scr-caller-meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}
.scr-caller-tag {
  display: inline-block;
  margin-bottom: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scr-caller-tag--star { background: color-mix(in srgb, var(--signal) 30%, transparent); color: #8a6014; }
.scr-caller-tag--miss { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }
.scr-caller-tag--ok   { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-device--portrait { width: 60%; max-width: 280px; }
}

/* =========================================================================
   v2.5 — Hand-crafted editorial details + scroll-driven motion
   ========================================================================= */

/* ---------- Drop-cap (large editorial first letter) ---------- */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 80, "WONK" 1;
  float: left;
  font-size: 4.2em;
  line-height: 0.82;
  padding: 4px 14px 0 0;
  margin-top: 6px;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.dropcap-dk::first-letter { color: var(--signal); }

/* ---------- Pen-stroke underline on em words ---------- */
.pen-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.pen-underline svg {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.32em;
  pointer-events: none;
  overflow: visible;
  color: var(--accent);
}
.pen-underline svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}
.pen-underline.is-visible svg path { stroke-dashoffset: 0; }
.pen-underline--gold svg { color: var(--signal); }

/* ---------- Editorial pull-quote with big marks ---------- */
.pull-quote {
  position: relative;
  padding: 32px 0 32px 80px;
  margin: 0;
}
.pull-quote::before {
  content: "";
  position: absolute;
  left: 0; top: -10px;
  width: 60px; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='%236e1f2b' d='M16 12c-7 0-12 5-12 13s5 13 11 13c2 0 3 0 4-1l-1 4c-2 5-6 8-12 9l1 5c12-1 21-9 22-22 1-13-5-21-13-21zm32 0c-7 0-12 5-12 13s5 13 11 13c2 0 3 0 4-1l-1 4c-2 5-6 8-12 9l1 5c12-1 21-9 22-22 1-13-5-21-13-21z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pull-quote--dark::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='%23d4a957' d='M16 12c-7 0-12 5-12 13s5 13 11 13c2 0 3 0 4-1l-1 4c-2 5-6 8-12 9l1 5c12-1 21-9 22-22 1-13-5-21-13-21zm32 0c-7 0-12 5-12 13s5 13 11 13c2 0 3 0 4-1l-1 4c-2 5-6 8-12 9l1 5c12-1 21-9 22-22 1-13-5-21-13-21z'/%3E%3C/svg%3E");
}

/* ---------- Heartbeat dot (more lively live-indicator) ---------- */
.dot--heart {
  background: var(--good);
  position: relative;
  animation: heartbeat 1.6s ease-in-out infinite;
}
.dot--heart::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--good);
  opacity: 0;
  animation: heartbeatRing 1.6s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%      { transform: scale(1.25); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.18); }
  70%      { transform: scale(1); }
}
@keyframes heartbeatRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- Margin annotations (editorial side-notes) ---------- */
.margin-note {
  position: relative;
  display: block;
  margin: 0;
}
.margin-note::before {
  content: attr(data-note);
  position: absolute;
  right: 100%;
  top: 0.2em;
  margin-right: 24px;
  width: 180px;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 60, "wght" 400, "SOFT" 60, "WONK" 1;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-mute);
  white-space: pre-line;
}
.margin-note::after {
  content: "";
  position: absolute;
  right: calc(100% + 4px);
  top: 0.8em;
  width: 14px; height: 1px;
  background: var(--text-mute);
}
@media (max-width: 1180px) {
  .margin-note::before, .margin-note::after { display: none; }
}

/* ---------- Hand-drawn arrow scribble ---------- */
.hand-arrow {
  display: inline-block;
  vertical-align: middle;
  width: 48px; height: 32px;
  margin: 0 4px;
  overflow: visible;
}
.hand-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.2s var(--ease-out);
}
.hand-arrow.is-visible path { stroke-dashoffset: 0; }

/* ---------- Brand-glyph draw-on animation ---------- */
.brand-glyph .ring {
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  animation: brandDraw 1.4s var(--ease-out) 200ms forwards;
}
.brand-glyph .letter {
  opacity: 0;
  animation: brandLetter 600ms var(--ease-out) 1000ms forwards;
}
@keyframes brandDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes brandLetter {
  to { opacity: 1; }
}

/* Don't re-animate on re-render (only on initial page load) */
body.loaded .brand-glyph .ring { animation: none; stroke-dashoffset: 0; }
body.loaded .brand-glyph .letter { animation: none; opacity: 1; }

/* ---------- Two-speed marquee (richer texture) ---------- */
.marquee--row2 {
  border-top: 1px solid var(--rule-dk);
  padding-top: 16px;
  margin-top: 8px;
}
.marquee--row2 .marquee-track {
  animation-duration: 72s;
  animation-direction: reverse;
}
.marquee--row2 .m-item {
  font-size: clamp(16px, 2.4vw, 26px);
  color: var(--text-mute-dk);
}
.marquee--row2 .m-item--serif em { color: var(--accent-soft); }
.marquee--row2 .m-dot { color: var(--text-mute-dk); }

/* ---------- Parallax containers ---------- */
.parallax {
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.2, 0.65, 0.4, 1);
}

/* ---------- Scroll-progress on hero headline scale ---------- */
.hero-headline-wrap { perspective: 1000px; }

/* ---------- Buttons with text-swap (Y-axis) ---------- */
.btn { overflow: hidden; }
.btn .btn-label, .btn .btn-arrow {
  position: relative;
  z-index: 1;
}

/* ---------- Image scroll-parallax: subtle Y-shift ---------- */
.food-cell img,
.subpage-hero-photo img,
.use-case-bg img {
  transition: transform 1.4s var(--ease-out), clip-path 1.6s var(--ease-out);
}

/* ---------- Section opening: vertical rule that grows on scroll ---------- */
.section-rule {
  position: relative;
  height: 80px;
  margin: 0 auto;
  width: 1px;
  background: var(--rule);
  overflow: hidden;
}
.section-rule::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0%;
  background: var(--ink);
  transition: height 1.6s var(--ease-out);
}
.section-rule.is-visible::before { height: 100%; }

/* ---------- Initial-letter accents (decorative big I) ---------- */
.initial-i {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 80, "WONK" 1;
  font-size: 1.6em;
  line-height: 0;
  color: var(--accent);
  letter-spacing: -0.05em;
  position: relative;
  top: 0.1em;
}

/* ---------- Reveal-from-mask (text masked by ink) ---------- */
@keyframes maskWipe {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

/* ---------- Polished hero stats with counters ---------- */
.hero-stats dd {
  position: relative;
}
.hero-stats dd::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 1.2s var(--ease-out);
}
.hero-stats > div.is-visible dd::after { width: 32px; }

/* =========================================================================
   v2.6 — Authentic Sternen POS mock (real 3-column layout)
   ========================================================================= */

.showcase-full {
  margin: 0 auto;
  max-width: 1180px;
  background: linear-gradient(155deg, #2c2c2a, #0d0d0d);
  border-radius: 22px;
  padding: 14px;
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,0.5),
    0 20px 40px -20px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  transform: rotate(-0.4deg);
  transition: transform 1.4s var(--ease-out);
  overflow: hidden;
}
.showcase-full:hover { transform: rotate(0); }
.showcase-full-screen {
  background: #f7f5ef;
  border-radius: 8px;
  aspect-ratio: 16/10;
  overflow: hidden;
  font-family: "Inter", system-ui, sans-serif;
  color: #23211d;
  position: relative;
}

/* Sternen POS — real 3-col layout */
.scr-pos {
  display: grid;
  grid-template-columns: 210px 1fr 290px;
  gap: 10px;
  padding: 10px;
  height: 100%;
  font-size: 11px;
}
.scr-pos-panel {
  background: #fffdf8;
  border: 1px solid #ded8ca;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* --- Service Rail (left) --- */
.scr-rail-brand {
  display: flex; align-items: center; gap: 10px;
}
.scr-rail-mark {
  width: 38px; height: 38px;
  background: #23211d;
  color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  font-family: Inter, sans-serif;
}
.scr-rail-brand-name {
  font-size: 16px; font-weight: 800; line-height: 1; margin: 0;
}
.scr-rail-brand-sub {
  margin: 2px 0 0; font-size: 10px; color: #706b61; font-weight: 700;
}

.scr-rail-section-label {
  font-size: 9px; color: #706b61; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 4px 0 0;
}

.scr-rail-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.scr-rail-area {
  padding: 9px 6px;
  border-radius: 6px;
  background: #ebe5d7;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  color: #23211d;
}
.scr-rail-area--active { background: #23211d; color: #fff; }

.scr-rail-table-entry { display: flex; gap: 6px; align-items: center; }
.scr-rail-table-input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ded8ca;
  font-size: 12px;
  color: #706b61;
  font-style: italic;
}
.scr-rail-table-go {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: #23211d;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.scr-rail-table-go svg { width: 14px; height: 14px; }

.scr-rail-tables-header {
  display: flex; justify-content: space-between; align-items: baseline;
}
.scr-rail-tables-header span {
  font-size: 9px; color: #706b61; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.scr-rail-tables-header strong { font-size: 11px; font-weight: 800; }

.scr-rail-tables { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow: hidden; }
.scr-rail-table-chip {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  background: #ebe5d7;
  font-size: 11px;
  font-weight: 700;
}
.scr-rail-table-chip--active { background: #23211d; color: #fff; }
.scr-rail-table-chip strong { font-weight: 800; }

.scr-rail-status {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(34, 116, 91, 0.1);
  color: #22745b;
  font-size: 10px;
  margin-top: auto;
}
.scr-rail-status svg { width: 16px; height: 16px; flex-shrink: 0; }
.scr-rail-status strong { font-weight: 800; font-size: 11px; display: block; line-height: 1.1; }
.scr-rail-status span { font-size: 9px; color: #22745b; opacity: 0.7; }

/* --- Menu Panel (center) --- */
.scr-menu-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 8px;
  border-bottom: 1px solid #ded8ca;
}
.scr-menu-header-sub { margin: 0 0 2px; font-size: 9px; color: #706b61; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.scr-menu-header-title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1; }
.scr-menu-totals { text-align: right; }
.scr-menu-totals span { font-size: 9px; color: #706b61; font-weight: 800; text-transform: uppercase; }
.scr-menu-totals strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.1; margin-top: 2px; }

.scr-menu-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.scr-menu-cat {
  padding: 10px 4px;
  border-radius: 6px;
  background: #ebe5d7;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  color: #23211d;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.scr-menu-cat--active { background: #23211d; color: #fff; }
.scr-menu-cat svg { width: 16px; height: 16px; }

.scr-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.scr-menu-tile {
  padding: 10px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ded8ca;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 56px;
  gap: 8px;
}
.scr-menu-tile.station-pizza { box-shadow: inset 3px 0 0 #b8352a; }
.scr-menu-tile.station-kitchen { box-shadow: inset 3px 0 0 #22745b; }
.scr-menu-tile-name { font-size: 11px; font-weight: 800; line-height: 1.2; color: #23211d; }
.scr-menu-tile-meta { display: flex; justify-content: space-between; align-items: baseline; }
.scr-menu-tile-price { font-size: 12px; font-weight: 800; color: #23211d; }
.scr-menu-tile-station {
  font-size: 8px;
  font-style: italic;
  color: #706b61;
  padding: 1px 6px;
  border-radius: 999px;
  background: #ebe5d7;
}

/* --- Ticket Panel (right) --- */
.scr-ticket-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 8px;
  border-bottom: 1px solid #ded8ca;
}
.scr-ticket-header-sub { margin: 0 0 2px; font-size: 9px; color: #706b61; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.scr-ticket-header-title { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.1; }
.scr-ticket-header svg { width: 22px; height: 22px; color: #23211d; }

.scr-ticket-lines { display: flex; flex-direction: column; gap: 0; flex: 1; overflow: hidden; }
.scr-ticket-line {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed #ded8ca;
  gap: 8px;
}
.scr-ticket-line-name {
  display: flex; flex-direction: column;
  flex: 1;
  min-width: 0;
}
.scr-ticket-line-name strong { font-size: 11px; font-weight: 800; line-height: 1.2; }
.scr-ticket-line-name span { font-size: 9px; color: #706b61; margin-top: 2px; }
.scr-ticket-line-end {
  display: flex; align-items: center; gap: 6px;
}
.scr-ticket-line-total { font-weight: 800; font-size: 11px; }
.scr-ticket-line-remove {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: #f7f5ef;
  border: 1px solid #ded8ca;
  display: inline-flex; align-items: center; justify-content: center;
  color: #706b61;
}
.scr-ticket-line-remove svg { width: 12px; height: 12px; }

.scr-ticket-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid #23211d;
  padding-top: 10px;
  margin-top: 4px;
}
.scr-ticket-total span { font-size: 10px; font-weight: 800; text-transform: uppercase; color: #23211d; letter-spacing: 0.06em; }
.scr-ticket-total strong { font-size: 22px; font-weight: 800; line-height: 1; }

.scr-ticket-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.scr-ticket-send {
  background: #23211d; color: #fff;
  padding: 11px; border-radius: 6px; text-align: center;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.scr-ticket-send svg { width: 14px; height: 14px; }
.scr-ticket-pays { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.scr-ticket-pay {
  padding: 9px; border-radius: 6px;
  background: #fff; border: 1px solid #ded8ca;
  text-align: center; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  color: #23211d;
}
.scr-ticket-pay svg { width: 12px; height: 12px; }

.scr-ticket-queue {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 8px;
  border-top: 1px solid #ded8ca;
}
.scr-ticket-queue-header {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 9px; color: #706b61; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.scr-ticket-queue-jobs { display: flex; flex-direction: column; gap: 4px; }
.scr-ticket-queue-job {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 8px; align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(201, 143, 34, 0.1);
  border: 1px solid rgba(201, 143, 34, 0.3);
  font-size: 10px;
  color: #23211d;
}
.scr-ticket-queue-job--printed {
  background: rgba(34, 116, 91, 0.08);
  border-color: rgba(34, 116, 91, 0.25);
  color: #22745b;
}
.scr-ticket-queue-job svg { width: 12px; height: 12px; color: inherit; }
.scr-ticket-queue-job strong { font-weight: 700; font-size: 9px; }

.scr-pos-notice {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  background: rgba(35, 33, 29, 0.92);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-family: monospace;
  letter-spacing: 0.04em;
  z-index: 2;
  white-space: nowrap;
}

/* Responsive: hide third column on tablet, both side cols on phone */
@media (max-width: 980px) {
  .scr-pos { grid-template-columns: 180px 1fr; gap: 8px; padding: 8px; font-size: 10px; }
  .scr-pos-panel:last-child { display: none; }
  .scr-menu-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .scr-pos { grid-template-columns: 1fr; }
  .scr-pos-panel:first-child { display: none; }
  .scr-menu-cats { grid-template-columns: repeat(2, 1fr); }
  .scr-menu-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   v2.6 — Hero overhaul: massive type, layered composition, page-number
   ========================================================================= */

.hero {
  padding-bottom: clamp(120px, 14vw, 200px);
}

.hero-page-number {
  position: absolute;
  top: clamp(40px, 6vw, 80px);
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: right;
  z-index: 2;
  line-height: 1.5;
}
.hero-page-number strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 80, "WONK" 1;
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-top: -4px;
  text-align: right;
}
.hero-page-number small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}
@media (max-width: 980px) {
  .hero-page-number { display: none; }
}

.hero-headline {
  font-size: clamp(56px, 12vw, 188px) !important;
  letter-spacing: -0.045em !important;
  line-height: 0.92 !important;
  max-width: 12ch;
}

.hero-meta {
  position: relative;
  z-index: 2;
}

/* Hero composition with floating POS mock right */
.hero-mock-float {
  position: absolute;
  top: clamp(180px, 22vw, 360px);
  right: var(--gutter);
  width: clamp(280px, 32vw, 480px);
  z-index: 3;
  transform-origin: center center;
  pointer-events: none;
  opacity: 0;
  transform: translateX(40px) translateY(40px) rotate(2deg) scale(0.96);
  transition:
    opacity 1.4s var(--ease-out) 600ms,
    transform 1.4s var(--ease-out) 600ms;
}
body.loaded .hero-mock-float {
  opacity: 1;
  transform: translateX(0) translateY(0) rotate(2deg) scale(1);
}
.hero-mock-float-frame {
  background: linear-gradient(155deg, #2c2c2a, #0d0d0d);
  border-radius: 16px;
  padding: 10px;
  box-shadow:
    0 50px 100px -30px rgba(0,0,0,0.4),
    0 20px 40px -20px rgba(0,0,0,0.25);
  pointer-events: auto;
}
.hero-mock-float-screen {
  background: #f7f5ef;
  border-radius: 6px;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
  font-family: "Inter", sans-serif;
  color: #23211d;
}
@media (max-width: 1180px) {
  .hero-mock-float { display: none; }
}

.hero-mock-mini-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; color: #706b61; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid #ded8ca;
}
.hero-mock-mini-bar strong { color: #23211d; }
.hero-mock-mini-bar .live-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: #22745b;
  box-shadow: 0 0 0 3px rgba(34, 116, 91, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
  margin-right: 4px;
  vertical-align: middle;
}
.hero-mock-mini-table {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "opsz" 60, "wght" 700;
  font-size: 16px;
  color: #23211d;
  margin: 4px 0 2px;
  line-height: 1;
}
.hero-mock-mini-items {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 10px;
}
.hero-mock-mini-item {
  display: flex; justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #ded8ca;
}
.hero-mock-mini-item strong { font-weight: 700; }
.hero-mock-mini-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 6px;
  border-top: 2px solid #23211d;
  margin-top: 4px;
}
.hero-mock-mini-total span { font-size: 9px; font-weight: 800; text-transform: uppercase; color: #23211d; letter-spacing: 0.06em; }
.hero-mock-mini-total strong { font-size: 18px; font-weight: 800; }
.hero-mock-mini-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.hero-mock-mini-action {
  padding: 6px;
  border-radius: 4px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
}
.hero-mock-mini-action--cash {
  background: #fff;
  border: 1px solid #ded8ca;
  color: #23211d;
}
.hero-mock-mini-action--card {
  background: #23211d;
  color: #fff;
}

/* =========================================================================
   v2.7 — Engineer cleanup (less marketing pomp, more direct)
   ========================================================================= */

/* Footer code stack block */
.footer-stack {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-mute);
  overflow-x: auto;
  max-width: 32ch;
}
.footer-stack code {
  font-family: inherit;
  font-size: inherit;
  color: var(--ink);
  display: block;
  white-space: pre;
}

/* Quieter loader bar — less aggressive */
.page-loader-label { display: none; }

/* WhatsApp FAB — calmer pulse */
.whatsapp-fab::after { animation-duration: 3.6s; opacity: 0; }
.whatsapp-fab:hover::after { opacity: 0.3; }

/* Less aggressive cursor — smaller, no difference blend */
.cursor { width: 22px; height: 22px; mix-blend-mode: normal; border-color: var(--ink); opacity: 0; }
.cursor-dot { background: var(--ink); mix-blend-mode: normal; }
body.cursor-ready .cursor,
body.cursor-ready .cursor-dot { opacity: 0.35; }
body.cursor-hover .cursor { width: 40px; height: 40px; opacity: 0.7; }

/* Section-num: more code-like, less editorial */
.section-num .n {
  font-family: var(--font-mono);
  font-style: normal;
  font-variation-settings: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
}

/* Cuisine strip (when still used) — no emoji styling needed since they're out */
.cuisine-tag .emoji { display: none; }

/* Hero stats: more compact, mono-leaning */
.hero-stats dd a { transition: color var(--dur-fast); }
.hero-stats dd a:hover { color: var(--accent); }

/* =========================================================================
   v2.8 — Subtle interactivity: click ripple, mouse-glow, brand spin
   ========================================================================= */

/* ---------- Click ripple (anywhere on page) ---------- */
.click-ripple {
  position: fixed;
  width: 320px; height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  background: radial-gradient(circle,
    var(--ripple-color, color-mix(in srgb, var(--ink) 18%, transparent)) 0%,
    transparent 65%);
  transform: translate(-50%, -50%) scale(0);
  animation: clickRipple 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}
@keyframes clickRipple {
  0%   { transform: translate(-50%, -50%) scale(0);    opacity: 0.85; }
  60%  { opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1);    opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .click-ripple { display: none; }
}

/* ---------- Hero: mouse-following soft radial glow ---------- */
/* Adds a subtle accent-soft glow that follows cursor over hero.
   Uses global --mx / --my CSS vars set by JS on the documentElement. */
.hero::before {
  background-image:
    radial-gradient(600px circle at var(--mx, 8%) var(--my, 12%),
      color-mix(in srgb, var(--accent-soft) 18%, transparent),
      transparent 55%),
    radial-gradient(60% 60% at 96% 86%, color-mix(in srgb, var(--signal) 16%, transparent) 0%, transparent 60%);
  transition: background 600ms var(--ease-out);
}

/* ---------- Brand glyph: spin on click (easter-egg) ---------- */
.brand-glyph { transform-origin: center; }
.brand-glyph.brand-spin {
  animation: brandSpin 800ms cubic-bezier(0.34, 1.32, 0.64, 1);
}
@keyframes brandSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- Final-CTA: subtle animated mesh ---------- */
.final-cta {
  --mesh-x: 50%;
  --mesh-y: 50%;
}
.final-cta::before {
  /* Override existing radial with a mouse-aware version */
  background:
    radial-gradient(500px circle at var(--mx, 20%) var(--my, 30%),
      color-mix(in srgb, var(--accent) 22%, transparent) 0%,
      transparent 55%),
    radial-gradient(45% 55% at 80% 75%,
      color-mix(in srgb, var(--signal) 18%, transparent) 0%,
      transparent 60%);
  transition: background 700ms var(--ease-out);
}

/* ---------- Floating dots in Final-CTA (very subtle) ---------- */
.bg-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: dotDrift 22s ease-in-out infinite, dotFade 1200ms ease-out 400ms forwards;
}
.bg-dot--a {
  top: 22%; left: 14%;
  background: var(--signal);
  animation-delay: 0s, 600ms;
}
.bg-dot--b {
  top: 58%; left: 28%;
  background: var(--accent-soft);
  animation-duration: 28s, 1200ms;
  animation-delay: -7s, 900ms;
}
.bg-dot--c {
  top: 38%; left: 84%;
  background: var(--signal);
  animation-duration: 26s, 1200ms;
  animation-delay: -14s, 1200ms;
}
@keyframes dotDrift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(40px, -30px); }
  50%      { transform: translate(-20px, -60px); }
  75%      { transform: translate(-50px, 20px); }
}
@keyframes dotFade {
  to { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-dot { animation: none; opacity: 0.3; }
}

/* ---------- Subtle press feedback on all CTAs ---------- */
.btn:active { transform: scale(0.97); transition: transform 120ms; }
.card:active { transform: scale(0.995) translateY(-2px); transition: transform 120ms; }
.bundle:active { transform: scale(0.995); transition: transform 120ms; }
.channel:active { transform: scale(0.995); transition: transform 120ms; }
.whatsapp-fab:active { transform: scale(0.92); transition: transform 120ms; }

/* ---------- Subtle nav-cta press ---------- */
.nav-cta:active { transform: scale(0.96); }

/* ---------- Card hover: now also tilts very slightly toward mouse ---------- */
.card { transition: transform var(--dur) var(--ease-out), border-color var(--dur-fast); }

/* =========================================================================
   v2.9 — Nota architecture flow visualization
   ========================================================================= */

.flow-wrap {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--radius);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.flow-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 30% 70%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(40% 60% at 70% 30%, color-mix(in srgb, var(--signal) 10%, transparent), transparent 60%);
  pointer-events: none;
}

.nota-flow {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Connection lines */
.flow-line {
  fill: none;
  stroke: color-mix(in srgb, var(--paper) 22%, transparent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
}

/* Animated data pulses traveling along paths */
.flow-pulse-gold  { fill: var(--signal); }
.flow-pulse-red   { fill: #d98b7a; }
.flow-pulse-green { fill: #6cc59d; }
.flow-pulse-blue  { fill: #8bbedf; }

.flow-pulse-glow {
  opacity: 0.32;
  filter: blur(2px);
}

/* Station card backgrounds */
.station-bg {
  fill: var(--ink-soft);
  stroke: color-mix(in srgb, var(--paper) 12%, transparent);
  stroke-width: 1;
  transition: stroke 300ms var(--ease-out), fill 300ms var(--ease-out);
}
.station-bg--main {
  fill: color-mix(in srgb, var(--accent) 18%, var(--ink-soft));
  stroke: var(--accent);
}
.flow-station-group:hover .station-bg {
  stroke: var(--signal);
  fill: color-mix(in srgb, var(--signal) 6%, var(--ink-soft));
}

/* Station typography */
.station-num {
  fill: var(--text-mute-dk);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.station-title {
  fill: var(--paper);
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 50, "WONK" 1;
  letter-spacing: -0.01em;
}
.station-sub {
  fill: var(--text-mute-dk);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
}
.station-mono {
  fill: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.04em;
}
.station-icon { color: var(--paper); }
.flow-station-group:hover .station-icon { color: var(--signal); }
.flow-station-group--main .station-icon { color: var(--signal); }

/* Station live-dot (server) */
.station-livedot {
  fill: var(--good);
  animation: pulse 2.4s ease-in-out infinite;
  transform-origin: center;
}

/* =========================================================================
   Telra "incoming call" mock — extracted from inline styles
   ========================================================================= */

.tcall-screen {
  display: grid;
  grid-template-columns: 130px 1fr;
  height: 100%;
}
.tcall-sidebar {
  background: linear-gradient(180deg, var(--ink), var(--ink-soft));
  color: var(--paper);
  padding: 16px 12px;
  display: flex; flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.tcall-eyebrow {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute-dk);
  margin-bottom: 4px;
}
.tcall-ring-wrap {
  position: relative;
  width: 44px; height: 44px;
  margin: 4px 0 6px;
}
.tcall-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--signal);
  border-radius: 50%;
  opacity: 0.6;
  animation: ring 2.4s infinite var(--ease-out);
}
.tcall-ring--delay { opacity: 0.4; animation-delay: 0.6s; }
.tcall-icon-btn {
  position: absolute;
  inset: 6px;
  background: var(--signal);
  color: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tcall-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-variation-settings: "opsz" 60, "wght" 500;
  letter-spacing: -0.01em;
}
.tcall-since {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--text-mute-dk);
  margin-top: 4px;
}
.tcall-buttons {
  display: flex; gap: 8px; margin-top: 10px;
}
.tcall-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.tcall-btn--decline { background: #b03b3b; }
.tcall-btn--answer  { background: var(--good); font-size: 12px; }

.tcall-body {
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper);
  color: var(--ink);
}
.tcall-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.tcall-flag {
  background: color-mix(in srgb, var(--signal) 30%, transparent);
  color: #8a6014;
  padding: 2px 8px;
  border-radius: 999px;
}
.tcall-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 30;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}
.tcall-address {
  font-size: 10px;
  color: var(--text-mute);
}
.tcall-note {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 10px;
}
.tcall-note-key,
.tcall-history-key {
  font-family: var(--font-mono);
  color: var(--text-mute);
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 0.06em;
}
.tcall-history-key { margin-top: 4px; display: block; }
.tcall-history-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 1px;
  font-size: 10px;
}
.tcall-history-list li { padding-left: 10px; position: relative; }
.tcall-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 6px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.tcall-total-value {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
}
.tcall-cta {
  margin-top: 6px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px;
  border-radius: 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
}

/* @keyframes ring — already defined earlier (see telra phone pulse). */

/* Flow caption row underneath */
.flow-caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dk);
}
.flow-caption-item {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute-dk);
  letter-spacing: 0.06em;
}
.flow-caption-item strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 60, "wght" 500, "SOFT" 40;
  font-size: 14px;
  color: var(--paper);
  letter-spacing: -0.01em;
  text-transform: none;
}
@media (max-width: 720px) {
  .flow-caption { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .flow-caption { grid-template-columns: 1fr; }
}

/* =========================================================================
   v3.0 — Reusable schematic SVG decorations for empty space
   Engineer-style: schematic dots, wireframe outlines, signal waves,
   floor plans, receipt prints. Mostly monochrome, sparse animation.
   ========================================================================= */

/* All decorations share these base styles */
.dec {
  display: block;
  pointer-events: none;
  color: var(--ink);
  overflow: visible;
}
.dec--light { color: var(--text-mute); }
.dec--gold  { color: var(--signal); }
.dec--paper { color: var(--paper); }

/* ---------- 1. Schematic Network (dots + connections + pulse) ---------- */
.dec-net {
  width: 100%; height: 100%;
}
.dec-net .node {
  fill: currentColor;
  opacity: 0.85;
}
.dec-net .node--pulse {
  animation: decNodePulse 3s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.dec-net .conn {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.35;
  stroke-dasharray: 3 4;
}
.dec-net .grid-dot {
  fill: currentColor;
  opacity: 0.18;
}
.dec-net .traveler { fill: var(--signal); }

@keyframes decNodePulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.6); opacity: 1; }
}

/* ---------- 2. Wireframe Tablet (draw-on outline) ---------- */
.dec-tablet {
  width: 100%; height: auto;
  aspect-ratio: 4/3;
}
.dec-tablet .frame,
.dec-tablet .screen,
.dec-tablet .button {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.dec-tablet .frame { opacity: 0.7; }
.dec-tablet .screen { opacity: 0.4; stroke-dasharray: 2 3; }
.dec-tablet .live-dot {
  fill: var(--good);
  animation: pulse 2.4s ease-in-out infinite;
  transform-origin: center;
}
.dec-tablet .scan {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.5;
  opacity: 0.7;
  animation: tabletScan 4s linear infinite;
}
@keyframes tabletScan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  10%, 90% { opacity: 0.7; }
  50%      { transform: translateY(40px); opacity: 0.7; }
}

/* ---------- 3. WLAN signal waves ---------- */
.dec-waves {
  width: 56px; height: 56px;
}
.dec-waves .arc {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
  transform-origin: 50% 80%;
  animation: waveOut 2.4s ease-out infinite;
}
.dec-waves .arc:nth-child(1) { animation-delay: 0s; }
.dec-waves .arc:nth-child(2) { animation-delay: 0.6s; }
.dec-waves .arc:nth-child(3) { animation-delay: 1.2s; }
.dec-waves .node {
  fill: currentColor;
  opacity: 0.9;
}
@keyframes waveOut {
  0%   { opacity: 0; transform: scale(0.4); }
  30%  { opacity: 0.7; }
  100% { opacity: 0; transform: scale(1.2); }
}

/* ---------- 4. Schematic floor-plan (room with tables) ---------- */
.dec-floor {
  width: 100%;
  aspect-ratio: 5/3;
}
.dec-floor .room {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  opacity: 0.55;
}
.dec-floor .table {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.7;
}
.dec-floor .table--occupied {
  fill: currentColor;
  opacity: 0.18;
  stroke-width: 1;
}
.dec-floor .occupied-dot {
  fill: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.dec-floor .label {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  fill: currentColor;
  opacity: 0.65;
  text-transform: uppercase;
}

/* ---------- 5. Receipt print (paper coming out of printer) ---------- */
.dec-receipt {
  width: 100%;
  aspect-ratio: 5/4;
}
.dec-receipt .printer {
  fill: var(--ink-soft);
  stroke: currentColor;
  stroke-width: 1.2;
  opacity: 0.8;
}
.dec-receipt .printer-slot {
  fill: var(--paper);
  stroke: none;
}
.dec-receipt .paper {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.95;
  animation: paperPrint 4s ease-in-out infinite;
  transform-origin: top center;
  transform-box: fill-box;
}
.dec-receipt .line {
  stroke: currentColor;
  stroke-width: 0.8;
  opacity: 0.6;
}
@keyframes paperPrint {
  0%, 100% { transform: scaleY(0.2); }
  40%, 70% { transform: scaleY(1); }
}

/* Decoration containers — positioning helpers */
.has-dec { position: relative; }
.dec-slot {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.dec-slot--hero-bl { bottom: 32px; left: 4%; width: clamp(140px, 14vw, 200px); }
.dec-slot--story   { width: 100%; max-width: 240px; }
.dec-slot--bundle  { width: 64px; height: 64px; position: absolute; top: 22px; right: 22px; opacity: 0.5; }
.dec-slot--setup   { width: 100%; max-width: 280px; margin-top: 28px; }

/* =========================================================================
   v3.1 — Mobile mega-drawer + improved mobile header
   ========================================================================= */

/* Hide menu-toggle on desktop, show only on mobile */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 12px;
  align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast);
}
.menu-toggle:hover { background: var(--paper-soft); }
.menu-toggle:active { transform: scale(0.94); }

.menu-toggle-lines {
  position: relative;
  width: 18px; height: 12px;
  display: block;
}
.menu-toggle-lines span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.menu-toggle-lines span:nth-child(1) { top: 0; }
.menu-toggle-lines span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle-lines span:nth-child(3) { bottom: 0; }

body.drawer-open .menu-toggle-lines span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
body.drawer-open .menu-toggle-lines span:nth-child(2) { opacity: 0; }
body.drawer-open .menu-toggle-lines span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ---------- Mega Drawer (full-screen mobile menu) ---------- */
.mega-drawer {
  position: fixed; inset: 0;
  z-index: 90;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 500ms;
}
body.drawer-open .mega-drawer {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s linear 0s;
}

.mega-drawer-backdrop {
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--ink) 60%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
body.drawer-open .mega-drawer-backdrop { opacity: 1; }

.mega-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--ink);
  color: var(--paper);
  display: flex; flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 500ms var(--ease-out);
  box-shadow: -30px 0 80px -20px rgba(0,0,0,0.5);
}
body.drawer-open .mega-drawer-panel { transform: translateX(0); }

.mega-drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule-dk);
  position: sticky; top: 0;
  background: var(--ink);
  z-index: 2;
}
.mega-drawer-header .brand { color: var(--paper); }
.mega-drawer-header .brand-word { color: var(--paper); }
.mega-drawer-header .brand-tld { color: var(--text-mute-dk); }

.menu-close {
  width: 36px; height: 36px;
  background: var(--ink-soft);
  border: 1px solid var(--rule-dk);
  border-radius: 50%;
  color: var(--paper);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.menu-close:hover { background: var(--accent); }
.menu-close:active { transform: scale(0.92); }
.menu-close svg { width: 16px; height: 16px; }

.mega-nav {
  display: flex; flex-direction: column;
  gap: 12px;
  padding: 22px;
  flex: 1;
}

.mega-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  grid-template-rows: auto auto;
  grid-template-areas:
    "num title arrow"
    "num desc arrow";
  gap: 4px 14px;
  padding: 20px;
  background: var(--ink-soft);
  border: 1px solid var(--rule-dk);
  border-radius: 14px;
  color: var(--paper);
  align-items: center;
  overflow: hidden;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out),
    background var(--dur-fast),
    border-color var(--dur-fast);
}
body.drawer-open .mega-card { opacity: 1; transform: translateX(0); }
body.drawer-open .mega-card:nth-child(1) { transition-delay: 150ms; }
body.drawer-open .mega-card:nth-child(2) { transition-delay: 220ms; }
body.drawer-open .mega-card:nth-child(3) { transition-delay: 290ms; }
body.drawer-open .mega-card:nth-child(4) { transition-delay: 360ms; }

.mega-card:hover {
  background: color-mix(in srgb, var(--accent) 20%, var(--ink-soft));
  border-color: var(--accent);
}
.mega-card:active { transform: scale(0.985); }

.mega-card-num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-mute-dk);
  align-self: start;
  margin-top: 4px;
}
.mega-card-title {
  grid-area: title;
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 80, "wght" 500, "SOFT" 50, "WONK" 1;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--paper);
  margin: 0;
}
.mega-card-desc {
  grid-area: desc;
  font-size: 13px;
  color: var(--text-mute-dk);
  line-height: 1.4;
  margin: 2px 0 0;
}
.mega-card-arrow {
  grid-area: arrow;
  color: var(--text-mute-dk);
  transition: transform var(--dur) var(--ease-out), color var(--dur-fast);
}
.mega-card:hover .mega-card-arrow {
  color: var(--signal);
  transform: translateX(4px);
}
.mega-card-svg {
  position: absolute;
  bottom: -8px; right: -8px;
  width: 80px; height: 80px;
  opacity: 0.18;
  pointer-events: none;
  color: var(--paper);
}
.mega-card:hover .mega-card-svg { opacity: 0.35; }

.mega-card--telra {
  background: color-mix(in srgb, var(--signal) 8%, var(--ink-soft));
}
.mega-card--telra:hover {
  background: color-mix(in srgb, var(--signal) 22%, var(--ink-soft));
  border-color: var(--signal);
}
.mega-card--cta {
  background: var(--accent);
  border-color: var(--accent);
}
.mega-card--cta .mega-card-num { color: rgba(245,241,234,0.6); }
.mega-card--cta .mega-card-desc { color: rgba(245,241,234,0.85); }
.mega-card--cta:hover {
  background: color-mix(in srgb, var(--accent) 80%, white);
  border-color: var(--paper);
}

/* Bottom contact-channels in drawer */
.mega-drawer-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 22px;
  border-top: 1px solid var(--rule-dk);
  background: var(--ink);
  position: sticky; bottom: 0;
}
.mega-channel-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ink-soft);
  border: 1px solid var(--rule-dk);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.mega-channel-btn:hover { border-color: var(--paper); }
.mega-channel-btn:active { transform: scale(0.96); }
.mega-channel-btn--wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  grid-column: 1 / -1;
  justify-content: center;
  font-weight: 600;
}
.mega-channel-btn--wa:hover { background: #128c7e; border-color: #128c7e; }
.mega-channel-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.mega-channel-btn-label {
  display: flex; flex-direction: column;
  line-height: 1.2;
}
.mega-channel-btn-key {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute-dk);
}
.mega-channel-btn--wa .mega-channel-btn-key { color: rgba(255,255,255,0.7); }

/* Show toggle on mobile, hide desktop nav links */
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { gap: 0; }
  /* Hide all desktop nav links (including the CTA) — drawer covers all */
  .primary-nav a { display: none !important; }
}

/* When drawer is open, prevent body scroll */
body.drawer-open { overflow: hidden; }

/* Slightly bigger tap targets for mobile WhatsApp FAB to avoid mis-tap */
@media (max-width: 560px) {
  .whatsapp-fab { width: 56px; height: 56px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .whatsapp-fab-label { display: none; }
}

/* =========================================================================
   v3.2 — Hero quickfacts (3 large icon-cards for gastro-speed scanning)
   ========================================================================= */

.hero-quickfacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 64px;
  position: relative;
  z-index: 2;
}
.quickfact {
  position: relative;
  display: flex; flex-direction: column;
  gap: 12px;
  padding: 36px 30px 32px;
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--paper) 50%, white) 0%,
    color-mix(in srgb, var(--paper) 75%, white) 100%);
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition:
    transform var(--dur) var(--ease-out),
    border-color var(--dur-fast),
    box-shadow var(--dur) var(--ease-out);
  isolation: isolate;
  overflow: hidden;
  min-height: 220px;
}

/* Subtle gradient sweep behind on hover */
.quickfact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 100%,
    color-mix(in srgb, var(--accent-soft) 18%, transparent),
    transparent 55%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  z-index: -1;
}
.quickfact:hover::before { opacity: 1; }

/* Big background decoration SVG (per card type) */
.quickfact-bg {
  position: absolute;
  bottom: -22px; right: -22px;
  width: 140px; height: 140px;
  z-index: -1;
  color: var(--ink);
  opacity: 0.05;
  transition: opacity var(--dur) var(--ease-out), transform 1.2s var(--ease-out);
}
.quickfact:hover .quickfact-bg {
  opacity: 0.12;
  transform: scale(1.1) rotate(-4deg);
}

.quickfact:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow:
    0 20px 40px -20px rgba(48, 43, 35, 0.18),
    0 8px 16px -8px rgba(48, 43, 35, 0.1);
}
.quickfact:active { transform: scale(0.985) translateY(-2px); }

.quickfact-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.quickfact:hover .quickfact-icon-wrap {
  background: var(--ink);
  transform: rotate(-4deg) scale(1.05);
}
.quickfact-icon-wrap svg {
  width: 26px; height: 26px;
  color: var(--ink);
  stroke-width: 1.5;
  transition: color var(--dur-fast);
}
.quickfact:hover .quickfact-icon-wrap svg { color: var(--paper); }

.quickfact-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}
.quickfact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 50, "WONK" 1;
  font-style: italic;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
}
.quickfact-desc {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.45;
  margin: 0;
  max-width: 22ch;
  font-weight: 500;
}
.quickfact-price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.quickfact-arrow {
  color: var(--text-mute);
  transition: transform var(--dur) var(--ease-out), color var(--dur-fast);
}
.quickfact:hover .quickfact-arrow {
  color: var(--accent);
  transform: translateX(6px);
}

/* Featured (Telra middle card) — dark inverted with gold accent */
.quickfact--featured {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--paper);
  border-color: var(--ink);
}
.quickfact--featured::before {
  background: radial-gradient(120% 80% at 100% 100%,
    color-mix(in srgb, var(--signal) 22%, transparent),
    transparent 55%);
}
.quickfact--featured .quickfact-bg { color: var(--paper); opacity: 0.08; }
.quickfact--featured:hover .quickfact-bg { opacity: 0.18; }
.quickfact--featured .quickfact-icon-wrap {
  background: color-mix(in srgb, var(--signal) 18%, transparent);
}
.quickfact--featured .quickfact-icon-wrap svg { color: var(--signal); }
.quickfact--featured:hover .quickfact-icon-wrap {
  background: var(--signal);
  transform: rotate(-4deg) scale(1.05);
}
.quickfact--featured:hover .quickfact-icon-wrap svg { color: var(--ink); }
.quickfact--featured .quickfact-tag { color: var(--text-mute-dk); }
.quickfact--featured .quickfact-title { color: var(--paper); }
.quickfact--featured .quickfact-desc { color: var(--text-mute-dk); }
.quickfact--featured .quickfact-price {
  color: var(--signal);
  border-top-color: color-mix(in srgb, var(--paper) 12%, transparent);
}
.quickfact--featured .quickfact-arrow { color: var(--text-mute-dk); }
.quickfact--featured:hover .quickfact-arrow { color: var(--signal); }
.quickfact--featured:hover { border-color: var(--signal); }

/* Mobile: compact horizontal cards (one-glance scanning) */
@media (max-width: 880px) {
  .hero-quickfacts {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0 36px;
  }
  .quickfact {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    min-height: 0;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "icon title price"
      "icon desc desc";
  }
  .quickfact-icon-wrap {
    grid-area: icon;
    margin-bottom: 0;
    width: 48px; height: 48px;
  }
  .quickfact-tag { display: none; }
  .quickfact-title {
    grid-area: title;
    font-size: clamp(22px, 5vw, 28px);
  }
  .quickfact-desc {
    grid-area: desc;
    max-width: none;
    font-size: 13px;
    margin-top: 2px;
  }
  .quickfact-price {
    grid-area: price;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    text-align: right;
    font-size: 12px;
    align-self: start;
  }
  .quickfact-arrow { display: none; }
  .quickfact-bg { display: none; }
}

/* Container that holds the decoration with subtle label */
.dec-card {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.dec-card--dark {
  background: color-mix(in srgb, var(--paper) 6%, transparent);
  border-color: var(--rule-dk);
}
.dec-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex; justify-content: space-between; align-items: center;
}
.dec-card--dark .dec-card-label { color: var(--text-mute-dk); }

/* Layout helpers (extracted from repeated inline styles) */
.dec-card--gap { margin-top: 24px; }
.dec-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dec-card-status .dot { width: 6px; height: 6px; }
.use-photo {
  margin-bottom: 48px;
  aspect-ratio: 16 / 9;
}

/* =========================================================================
   v3.6 — Interactive micro-SVG upgrades
   ========================================================================= */

/* ---------- WhatsApp FAB: paper-plane flies on hover ---------- */
.whatsapp-fab {
  overflow: hidden;
}
.whatsapp-fab .wa-default,
.whatsapp-fab .wa-send {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 380ms var(--ease-out), opacity 280ms var(--ease-out);
  pointer-events: none;
}
.whatsapp-fab .wa-send {
  transform: translate(-110%, 110%);
  opacity: 0;
}
.whatsapp-fab:hover .wa-default,
.whatsapp-fab:focus-visible .wa-default {
  transform: translate(110%, -110%);
  opacity: 0;
}
.whatsapp-fab:hover .wa-send,
.whatsapp-fab:focus-visible .wa-send {
  transform: translate(0, 0);
  opacity: 1;
}

/* Live "online" dot top-right */
.whatsapp-fab .wa-live {
  position: absolute;
  top: 4px; right: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid #25D366;
  z-index: 2;
}
.whatsapp-fab .wa-live::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--good);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- Brand glyph: hover fills the ring ---------- */
.brand:hover .brand-glyph .ring {
  animation: brandRingHover 700ms var(--ease-out) forwards;
}
@keyframes brandRingHover {
  0%   { stroke-width: 1.2; }
  50%  { stroke-width: 2.2; }
  100% { stroke-width: 1.2; }
}
.brand-glyph .letter {
  transition: transform 400ms var(--ease-out);
}
.brand:hover .brand-glyph .letter {
  transform: scale(1.08);
  transform-origin: center;
}
/* re-target text element directly since SVG doesn't have transform-origin on text easily */
.brand-glyph text {
  transition: transform 400ms var(--ease-out);
  transform-box: fill-box;
  transform-origin: center;
}
.brand:hover .brand-glyph text {
  transform: scale(1.12);
}

/* ---------- Quickfact icons: draw-on entry + breathe on hover ---------- */
.quickfact-icon-wrap svg {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  transition:
    stroke-dashoffset 1s var(--ease-out),
    color var(--dur-fast);
}
.quickfact.is-visible .quickfact-icon-wrap svg,
[data-reveal].is-visible .quickfact-icon-wrap svg {
  stroke-dashoffset: 0;
}
/* Initial paint without IO (in case it's already visible) */
@keyframes qfDraw {
  to { stroke-dashoffset: 0; }
}
.quickfact .quickfact-icon-wrap svg {
  animation: qfDraw 1.2s var(--ease-out) 600ms forwards;
}
.quickfact:hover .quickfact-icon-wrap svg {
  animation: qfBreathe 1.6s ease-in-out infinite;
}
@keyframes qfBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .quickfact .quickfact-icon-wrap svg { animation: none; stroke-dashoffset: 0; }
  .whatsapp-fab .wa-default,
  .whatsapp-fab .wa-send { transition: none; }
}

