/* =========================================================
   "Story Mode" — a digital marketer's portfolio
   Pop-brutalist: thick outlines, hard shadows, brand kits
   ========================================================= */

:root,
:root[data-kit="cobalt"] {
  --brand: #2f3cff;
  --pop: #ff6ad5;
  --sun: #ffe14a;
  --mint: #4be0a4;
  --paper: #f5f3ee;
  --paper-2: #ffffff;
}
:root[data-kit="tomato"] {
  --brand: #ff4b1f;
  --pop: #ffb3c9;
  --sun: #ffd23f;
  --mint: #2cc7a6;
  --paper: #fbf2e6;
  --paper-2: #fffaf3;
}
:root[data-kit="grape"] {
  --brand: #7b2cff;
  --pop: #c6ff3d;
  --sun: #ffd84a;
  --mint: #5fe3ff;
  --paper: #f3f0fa;
  --paper-2: #fdfcff;
}

:root {
  --ink: #0e0e10;
  --muted: #55545c;
  --bw: 2.5px;
  --line: var(--bw) solid var(--ink);
  --sh-s: 4px 4px 0 var(--ink);
  --sh: 7px 7px 0 var(--ink);
  --sh-l: 11px 11px 0 var(--ink);
  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-body: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, Consolas, monospace;
  --pop-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pad: clamp(16px, 4vw, 48px);
}

@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.4s;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { display: block; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--f-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.02em; }

/* ---------- buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px;
  border: var(--line); border-radius: 999px;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  box-shadow: var(--sh-s);
  transition: transform 0.25s var(--pop-ease), box-shadow 0.25s var(--pop-ease), background-color 0.3s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn span { transition: transform 0.3s var(--pop-ease); }
.btn:hover span { transform: translateX(4px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-paper { background: var(--paper-2); color: var(--ink); }
.btn-sm { height: 46px; padding: 0 20px; font-size: 0.92rem; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: var(--line); border-radius: 999px; font-weight: 700; font-size: 0.86rem; background: var(--paper-2); }
.pill-live i { width: 9px; height: 9px; border-radius: 50%; background: #1fb85c; box-shadow: 0 0 0 0 rgba(31, 184, 92, 0.6); animation: live 1.6s infinite; }
.pill-ink { background: var(--ink); color: var(--paper-2); }

.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker span { display: inline-grid; place-items: center; min-width: 38px; height: 28px; padding: 0 8px; border: var(--line); border-radius: 8px; background: var(--sun); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 7.4rem);
  line-height: 0.9; text-transform: uppercase; letter-spacing: -0.005em;
}
.hl {
  font-style: normal; display: inline-block;
  background: var(--sun); color: var(--ink);
  padding: 0.02em 0.12em 0;
  border: var(--line); border-radius: 0.12em;
  box-shadow: var(--sh-s);
  transform: rotate(-2deg);
}
.body { margin-top: 20px; font-size: 1.12rem; max-width: 500px; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- reveal ---------- */
.rv { transition: opacity 0.6s var(--ease), translate 0.9s var(--pop-ease), rotate 0.9s var(--pop-ease), transform 0.3s var(--pop-ease), box-shadow 0.3s var(--pop-ease), background-color 0.3s, color 0.3s, border-color 0.3s; transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s, 0s, 0s; }
.js .rv { opacity: 0; translate: 0 46px; rotate: 1.5deg; }
.js .rv.is-shown, .failsafe .rv { opacity: 1; translate: none; rotate: none; }

/* ---------- intro countdown ---------- */
.intro { display: none; }
.js .intro { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--sun); transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1); }
.intro-top { top: 0; border-bottom: var(--line); }
.intro-bot { bottom: 0; }
.intro-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); text-transform: uppercase; color: var(--ink); }
.intro-num span { grid-area: 1 / 1; font-size: clamp(9rem, 34vw, 26rem); line-height: 1; opacity: 0; transform: scale(0.4) rotate(-12deg); }
.intro-num .go { font-size: clamp(4rem, 15vw, 12rem); background: var(--brand); color: #fff; padding: 0 0.2em; border: 4px solid var(--ink); border-radius: 0.1em; box-shadow: 12px 12px 0 var(--ink); }
.intro-num span.on { animation: tick 0.42s var(--pop-ease) forwards; }
.intro-num span.go.on { animation: tickGo 0.6s var(--pop-ease) forwards; }
.intro.is-done .intro-top { transform: translateY(-101%); }
.intro.is-done .intro-bot { transform: translateY(101%); }
.intro.is-done .intro-num { opacity: 0; transition: opacity 0.25s; }
.intro.is-gone, .failsafe .intro { display: none !important; }

/* ---------- dock ---------- */
.dock {
  position: fixed; left: 50%; bottom: 14px; z-index: 100;
  display: flex; align-items: flex-end; gap: 8px;
  padding: 8px;
  background: var(--ink);
  border-radius: 22px;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.08) inset;
  transform: translate(-50%, 160%);
  transition: transform 0.8s var(--pop-ease);
}
.is-ready .dock, .failsafe .dock { transform: translate(-50%, 0); }
.dock-items { display: flex; align-items: flex-end; gap: 4px; }
.dock-item {
  --s: 1;
  position: relative;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--paper);
  transform: scale(var(--s)); transform-origin: 50% 100%;
  transition: transform 0.18s ease-out, background-color 0.3s, color 0.3s;
}
.dock-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dock-item:hover { background: rgba(255, 255, 255, 0.12); }
.dock-item.is-active { background: var(--brand); color: #fff; }
.dock-item.is-active::before { content: ""; position: absolute; bottom: -5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sun); }
.dock-cta { background: var(--sun); color: var(--ink); }
.dock-cta:hover { background: var(--sun); }
.dock-cta.is-active { background: var(--sun); color: var(--ink); }
[data-label]::after {
  content: attr(data-label);
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  padding: 5px 10px; border-radius: 8px;
  background: var(--paper-2); color: var(--ink); border: 2px solid var(--ink);
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; white-space: nowrap;
  transform: translate(-50%, 6px) scale(calc(1 / var(--s, 1))); opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.25s var(--pop-ease);
}
[data-label]:hover::after, [data-label]:focus-visible::after { opacity: 1; transform: translate(-50%, 0) scale(calc(1 / var(--s, 1))); }
.dock-sep { width: 2px; height: 34px; margin: 0 4px 7px; background: rgba(255, 255, 255, 0.18); border-radius: 2px; }
.kits { display: flex; gap: 8px; align-items: center; height: 48px; padding: 0 6px; }
.kit { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--paper); transition: transform 0.3s var(--pop-ease); }
.kit[data-kit="cobalt"] { background: conic-gradient(#2f3cff 0 50%, #ff6ad5 50% 75%, #ffe14a 75%); }
.kit[data-kit="tomato"] { background: conic-gradient(#ff4b1f 0 50%, #2cc7a6 50% 75%, #ffd23f 75%); }
.kit[data-kit="grape"] { background: conic-gradient(#7b2cff 0 50%, #c6ff3d 50% 75%, #ffd84a 75%); }
.kit:hover { transform: scale(1.2); }
.kit[aria-checked="true"] { outline: 2px solid var(--sun); outline-offset: 3px; }
.kits-foot { justify-content: center; height: auto; padding: 0; }
.kits-foot .kit { border-color: var(--paper); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-bottom: 60px;
  background-image:
    linear-gradient(rgba(14, 14, 16, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 14, 16, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.logo { font-family: var(--f-display); font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.logo sup { font-family: var(--f-body); font-size: 0.8rem; color: var(--brand); }
.topbar-meta { color: var(--muted); }

.hero-stage { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: clamp(30px, 4vw, 70px); align-items: center; padding-top: clamp(10px, 3vh, 40px); }
.mega {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.72rem, 6.88vw, 7.68rem);
  line-height: 0.88; text-transform: uppercase;
}
.line { display: block; overflow: clip; overflow-clip-margin: 0.22em; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(105%); transition: transform 1s var(--pop-ease); }
.line:nth-child(2) > span { transition-delay: 0.1s; }
.line:nth-child(3) > span { transition-delay: 0.2s; }
.is-ready .line > span, .failsafe .line > span { transform: none; }
.boxed {
  font-style: normal; display: inline-block;
  background: var(--pop); color: var(--ink);
  padding: 0.04em 0.12em 0;
  margin: 0.06em 0;
  border: 3px solid var(--ink); border-radius: 0.1em;
  box-shadow: 0.06em 0.06em 0 var(--ink);
  transform: rotate(-1.6deg);
}

.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-top: clamp(26px, 4vh, 46px); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 520px; }
.lead b { background: var(--sun); padding: 0 4px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* stories phone */
.phone-wrap { position: relative; width: clamp(260px, 22vw, 320px); }
.js .phone-wrap { opacity: 0; transform: translateY(60px) rotate(8deg); transition: opacity 0.6s, transform 1.1s var(--pop-ease) 0.25s; }
.is-ready .phone-wrap, .failsafe .phone-wrap { opacity: 1; transform: none; }
.phone {
  --fg: #fff;
  position: relative;
  aspect-ratio: 9 / 18;
  border: 3px solid var(--ink); border-radius: 38px;
  background: var(--ink);
  box-shadow: var(--sh-l);
  overflow: hidden;
  transform: rotate(3deg);
  user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.st-bars { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 4; display: flex; gap: 4px; }
.st-bars i { flex: 1; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--fg) 32%, transparent); overflow: hidden; }
.st-bars b { display: block; height: 100%; width: 0; background: var(--fg); border-radius: inherit; }
.st-bars i.done b { width: 100%; }
.st-bars i.run b { animation: stLoad var(--st-dur, 4.6s) linear forwards; }
.phone.is-paused .st-bars b { animation-play-state: paused; }
.st-head { position: absolute; top: 28px; left: 14px; right: 14px; z-index: 4; display: flex; align-items: center; gap: 9px; color: var(--fg); line-height: 1.15; }
.st-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); border: 2px solid var(--ink); font-family: var(--f-mono); font-size: 0.66rem; font-weight: 700; box-shadow: 0 0 0 2px var(--fg); }
.st-head p { font-size: 0.82rem; }
.st-head b { display: block; }
.st-head small { opacity: 0.75; font-size: 0.7rem; }
.st-dots { margin-left: auto; letter-spacing: 1px; opacity: 0.8; }
.st-slides { position: absolute; inset: 0; }
.st-slide {
  position: absolute; inset: 0;
  padding: 86px 22px 70px;
  background: var(--sbg); color: var(--sfg);
  display: flex; flex-direction: column;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.35s, transform 0.6s var(--ease);
}
.st-slide.is-on { opacity: 1; transform: none; z-index: 2; }
.st-kick { opacity: 0.8; font-size: 0.68rem; }
.st-big { font-family: var(--f-display); font-size: clamp(4rem, 6vw, 5.4rem); line-height: 0.95; margin-top: 10px; }
.st-sub { font-weight: 600; font-size: 0.98rem; margin-top: 10px; line-height: 1.35; }
.st-art { margin-top: auto; }
.st-bars-art { height: 90px; display: flex; align-items: flex-end; gap: 6px; }
.st-bars-art i { flex: 1; height: 0; background: var(--sun); border: 2px solid var(--ink); border-radius: 6px 6px 2px 2px; transition: height 0.8s var(--pop-ease); }
.st-slide.is-on .st-bars-art i { height: var(--h); }
.st-slide.is-on .st-bars-art i:nth-child(2) { transition-delay: 0.06s; }
.st-slide.is-on .st-bars-art i:nth-child(3) { transition-delay: 0.12s; }
.st-slide.is-on .st-bars-art i:nth-child(4) { transition-delay: 0.18s; }
.st-slide.is-on .st-bars-art i:nth-child(5) { transition-delay: 0.24s; }
.st-slide.is-on .st-bars-art i:nth-child(6) { transition-delay: 0.3s; }
.st-serp { display: flex; flex-direction: column; gap: 8px; }
.st-serp span { display: block; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper-2); font-family: var(--f-mono); font-weight: 700; font-size: 0.78rem; box-shadow: 3px 3px 0 var(--ink); }
.st-serp span::after { content: " yourbrand.com ↑"; font-weight: 400; }
.st-coins { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 1.8rem; }
.st-coins span:first-child { text-decoration: line-through; opacity: 0.55; }
.st-coins span:last-child { background: var(--paper-2); border: 2px solid var(--ink); border-radius: 12px; padding: 2px 12px; box-shadow: 3px 3px 0 var(--ink); }
.st-hearts { display: flex; gap: 10px; font-size: 2.2rem; color: var(--pop); }
.st-slide.is-on .st-hearts span { animation: beat 1.1s var(--pop-ease) infinite; }
.st-hearts span:nth-child(2) { animation-delay: 0.15s !important; }
.st-hearts span:nth-child(3) { animation-delay: 0.3s !important; }
.st-link { position: relative; z-index: 6; margin-top: auto; align-self: flex-start; padding: 10px 16px; border: var(--line); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25); }
.st-tap { position: absolute; top: 70px; bottom: 64px; z-index: 5; }
.st-prev { left: 0; width: 34%; }
.st-next { right: 0; width: 66%; }
.st-tap:focus-visible { outline-offset: -4px; }
.st-reply { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 4; display: flex; align-items: center; gap: 10px; color: var(--fg); }
.st-reply span { flex: 1; padding: 9px 14px; border: 1.5px solid color-mix(in srgb, var(--fg) 55%, transparent); border-radius: 999px; font-size: 0.8rem; opacity: 0.85; }
.phone-hint { text-align: center; margin-top: 22px; color: var(--muted); font-size: 0.68rem; }

.sticker { position: absolute; z-index: 3; pointer-events: none; }
.sticker-burst { width: 118px; height: 118px; top: -36px; left: -58px; display: grid; place-items: center; }
.sticker-burst svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker-burst path { fill: var(--sun); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.sticker-burst .burst-text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; font-family: var(--f-display); text-transform: uppercase; text-align: center; line-height: 1; }
.sticker-burst .burst-text b { font-weight: 400; font-size: 2rem; line-height: 0.9; white-space: nowrap; }
.sticker-burst .burst-text small { display: block; font-size: 0.72rem; letter-spacing: 0.06em; line-height: 1; white-space: nowrap; }
.sticker-rate { right: -40px; bottom: 90px; padding: 8px 14px; border: var(--line); border-radius: 12px; background: var(--mint); font-weight: 700; font-size: 0.86rem; box-shadow: var(--sh-s); transform: rotate(-7deg); animation: bob 3.4s ease-in-out infinite; }

/* ---------- tape ---------- */
.tape {
  position: relative; z-index: 2;
  margin: -14px -20px 0;
  background: var(--sun);
  border-block: 3px solid var(--ink);
  transform: rotate(-1.6deg);
  overflow: hidden;
  padding: 12px 0;
}
.tape::before, .tape::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, transparent 8px 16px); }
.tape::before { top: 0; }
.tape::after { bottom: 0; }
.tape-track { display: flex; align-items: center; width: max-content; animation: marquee 26s linear infinite; }
.tape-track span { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.6rem); text-transform: uppercase; padding: 0 22px; white-space: nowrap; }
.tape-track b { font-size: 1.8rem; color: var(--brand); display: inline-block; animation: spin 6s linear infinite; }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: clamp(70px, 9vw, 120px); }
.num-box {
  background: var(--nb); color: var(--nf);
  border: var(--line); border-radius: 22px;
  padding: 24px;
  box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 6px;
}
.num-box:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: var(--sh-l); }
.num-box .mono { font-weight: 700; opacity: 0.85; }
.num-big { font-family: var(--f-display); font-size: clamp(3.2rem, 5.6vw, 5.4rem); line-height: 1; font-variant-numeric: tabular-nums; margin: 6px 0; }
.num-box p:last-child { font-weight: 500; font-size: 0.95rem; }

/* ---------- services deck ---------- */
.services { background: var(--brand); color: #fff; margin-top: clamp(70px, 9vw, 120px); border-block: 3px solid var(--ink); }
.services .kicker span { background: var(--pop); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.deck-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.round-btn { width: 58px; height: 58px; border-radius: 50%; border: var(--line); background: var(--paper-2); color: var(--ink); font-size: 1.3rem; font-weight: 700; box-shadow: var(--sh-s); transition: transform 0.25s var(--pop-ease), box-shadow 0.25s var(--pop-ease); }
.round-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.round-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.round-brand { background: var(--sun); }
.deck-count { font-size: 1rem; }
.deck-count b { font-family: var(--f-display); font-size: 2rem; font-weight: 400; }
.deck-index { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.deck-index button { padding: 7px 14px; border: 2px solid rgba(255, 255, 255, 0.45); border-radius: 999px; font-size: 0.88rem; font-weight: 600; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.deck-index button:hover { border-color: #fff; }
.deck-index button.is-on { background: var(--sun); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }

.deck-zone { display: grid; place-items: center; padding: 20px 20px 40px; }
.deck { position: relative; width: min(410px, 100%); height: 500px; }
.dcard {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 28px;
  background: var(--cb); color: var(--cf);
  border: 3px solid var(--ink); border-radius: 26px;
  box-shadow: var(--sh);
  cursor: grab; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  transition: transform 0.55s var(--pop-ease), opacity 0.4s;
  will-change: transform;
}
.dcard.is-dragging { transition: none; cursor: grabbing; }
.dcard:not(.is-top) { pointer-events: none; }
.dc-top { display: flex; justify-content: space-between; align-items: center; }
.dc-top .mono { font-weight: 700; }
.dc-ico { width: 46px; height: 46px; border-radius: 50%; border: var(--line); display: grid; place-items: center; font-size: 1.3rem; background: var(--paper-2); color: var(--ink); }
.dcard h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 3.6vw, 3.3rem); line-height: 0.95; text-transform: uppercase; margin-top: 26px; }
.dcard > p { margin-top: 14px; font-size: 1.02rem; }
.dcard ul { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.dcard li { display: flex; gap: 10px; align-items: center; }
.dcard li::before { content: "✓"; width: 24px; height: 24px; flex: none; border-radius: 6px; border: 2px solid currentColor; display: grid; place-items: center; font-size: 0.8rem; }
.dc-win { margin-top: auto !important; padding: 12px 14px; border: 2px dashed currentColor; border-radius: 14px; font-size: 0.92rem !important; }

/* ---------- work ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(20px, 3vw, 36px);
  background: var(--paper-2);
  border: 3px solid var(--ink); border-radius: 30px;
  box-shadow: var(--sh-l);
}
.feat-copy h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 0.98; text-transform: uppercase; margin: 18px 0 14px; }
.feat-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.feat-stats div { border: var(--line); border-radius: 14px; padding: 12px; background: var(--paper); }
.feat-stats dt { color: var(--muted); font-size: 0.68rem; }
.feat-stats dd { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; margin-top: 4px; }

.ba { position: relative; height: clamp(300px, 30vw, 400px); border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; touch-action: pan-y; }
.ba.is-nudging { transition: --pos 0.5s cubic-bezier(0.45, 0, 0.2, 1); }
.ba-pane { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 20px; }
.ba-after { background: var(--brand); color: #fff; }
.ba-before { background: #d8d5ce; color: var(--ink); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label { align-self: flex-start; padding: 4px 12px; border: var(--line); border-radius: 999px; background: var(--paper-2); color: var(--ink); font-family: var(--f-mono); font-weight: 700; font-size: 0.74rem; text-transform: uppercase; }
.ba-after .ba-label { align-self: flex-end; background: var(--sun); }
.ba-chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; margin-top: 14px; order: 2; }
.ba-chart i { flex: 1; height: var(--h); border: 2px solid var(--ink); border-radius: 8px 8px 2px 2px; background: var(--sun); }
.ba-before .ba-chart i { background: #a9a59c; }
.ba-num { order: 1; margin-top: 12px; font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; text-shadow: 3px 3px 0 var(--ink); }
.ba-num small { font-family: var(--f-body); font-size: 0.9rem; text-shadow: none; margin-left: 4px; }
.ba-after .ba-num { align-self: flex-end; color: #fff; }
.ba-before .ba-num { align-self: flex-start; color: var(--paper-2); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--ink); pointer-events: none; }
.ba-handle b { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: 3px solid var(--ink); background: var(--sun); display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--sh-s); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-handle b, .ba:has(.ba-range:focus-visible) .ba-handle b { outline: 3px solid var(--brand); outline-offset: 3px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(46px, 6vw, 70px) 0 24px; }
.chip { padding: 9px 20px; border: var(--line); border-radius: 999px; background: var(--paper-2); font-weight: 700; transition: background-color 0.25s, color 0.25s, transform 0.25s var(--pop-ease), box-shadow 0.25s var(--pop-ease); }
.chip:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-s); }
.chip.is-on { background: var(--ink); color: var(--paper-2); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  background: var(--cb); color: var(--cf, var(--ink));
  border: var(--line); border-radius: 22px;
  padding: 24px; box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 6px;
}
.case:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: var(--sh-l); }
.case .mono { font-weight: 700; opacity: 0.85; }
.case-big { font-family: var(--f-display); font-size: clamp(3.2rem, 5vw, 4.6rem); line-height: 1; margin: 8px 0 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.tags li { padding: 3px 10px; border: 2px solid currentColor; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.js .case.is-out { opacity: 0 !important; transform: scale(0.85) rotate(-3deg); }
.case[hidden] { display: none; }

/* ---------- playbook ---------- */
.playbook { background: var(--ink); color: var(--paper); }
.plays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.play {
  position: relative;
  border: var(--bw) solid var(--paper); border-radius: 24px;
  padding: 26px; min-height: 340px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.play:hover { background: var(--sun); color: var(--ink); border-color: var(--ink); transform: translateY(-8px) rotate(-1.5deg); }
.play-n { font-family: var(--f-display); font-size: 5.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--paper); transition: color 0.3s, -webkit-text-stroke-color 0.3s; }
.play:hover .play-n { color: var(--brand); -webkit-text-stroke-color: var(--ink); }
.play b { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; text-transform: uppercase; line-height: 1; margin-top: auto; }
.play .mono { opacity: 0.7; }
.play p { margin-top: 10px; }

/* ---------- toolkit ---------- */
.tk-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.tk-panel { margin-top: 32px; padding: 24px; background: var(--paper-2); border: 3px solid var(--ink); border-radius: 24px; box-shadow: var(--sh); }
.tk-key b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 6px; background: var(--sun); margin-left: 4px; }
.tk-name { font-family: var(--f-display); font-size: clamp(2.4rem, 3.6vw, 3.4rem); text-transform: uppercase; line-height: 1; margin: 12px 0 8px; }
.tk-note { min-height: 3.1em; }
.tk-meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 16px; }
.tk-bar { height: 14px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper); }
.tk-bar i { display: block; height: 100%; width: 0; background: var(--brand); border-right: 2px solid var(--ink); transition: width 0.7s var(--pop-ease); }
.tk-pct { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; }

.keyboard { padding: 18px; background: var(--ink); border-radius: 28px; box-shadow: var(--sh-l); box-shadow: 11px 11px 0 var(--brand); display: flex; flex-direction: column; gap: 10px; }
.kb-row { display: flex; gap: 10px; }
.kb-row:nth-child(2) { padding-left: 22px; }
.kb-row:nth-child(3) { padding-left: 44px; }
.key {
  flex: 1; min-width: 0;
  height: 88px; padding: 9px 10px 10px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  background: var(--paper-2); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 0 6px 0 #45444c;
  text-align: left;
  transition: transform 0.08s, box-shadow 0.08s, background-color 0.2s;
}
.key-l { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 700; opacity: 0.6; }
.key-n { font-weight: 700; font-size: 0.82rem; line-height: 1.1; }
.key:hover { background: var(--paper); }
.key.is-on { background: var(--sun); }
.key.is-down, .key:active { transform: translateY(5px); box-shadow: 0 1px 0 #45444c; }
.key-space { flex: 1; height: 60px; flex-direction: row; justify-content: center; align-items: center; gap: 10px; background: var(--brand); color: #fff; }
.key-space .key-l { opacity: 0.85; }
.key-space:hover { background: var(--brand); filter: brightness(1.1); }

/* ---------- career / receipt ---------- */
.career { background: var(--sun); border-block: 3px solid var(--ink); }
.career .kicker span { background: var(--paper-2); }
.career .hl { background: var(--pop); }
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.about-card { margin-top: 32px; display: flex; gap: 16px; align-items: center; padding: 18px; background: var(--paper-2); border: var(--line); border-radius: 20px; box-shadow: var(--sh); max-width: 480px; font-weight: 500; }
.about-av { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; border: var(--line); font-family: var(--f-display); font-size: 2rem; }

.printer { width: min(440px, 100%); margin: 0 auto; }
.printer-slot { height: 40px; border-radius: 16px; background: var(--ink); padding: 14px 18px; box-shadow: var(--sh-s); position: relative; z-index: 2; }
.printer-slot span { display: block; height: 6px; border-radius: 3px; background: #2c2b31; }
.paper-clip { margin: -8px 22px 0; overflow: hidden; padding: 0 10px 24px; filter: drop-shadow(6px 6px 0 rgba(14, 14, 16, 0.85)); }
.receipt {
  background: #fffef8; color: var(--ink);
  font-family: var(--f-mono); font-size: 0.8rem; line-height: 1.5;
  padding: 30px 22px 44px;
  --zz: 14px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zz) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zz) 100%;
}
.js .receipt { transform: translateY(-101%); transition: transform 2.6s steps(30); }
.js .printer.is-shown .receipt, .failsafe .receipt { transform: none; }
.rc-c { text-align: center; }
.rc-hr { border-top: 2px dashed var(--ink); margin: 14px 0; }
.rc-sec { font-weight: 700; margin: 14px 0 6px; text-decoration: underline; }
.rc-row { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; }
.rc-row span { min-width: 0; }
.rc-row small { display: block; opacity: 0.6; font-size: 0.72rem; text-transform: none; }
.rc-row b { white-space: nowrap; }
.rc-total { border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); margin-top: 10px; padding: 8px 0; font-size: 0.95rem; font-weight: 700; }
.rc-barcode { height: 54px; margin: 22px 10px 12px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px, var(--ink) 13px 16px, transparent 16px 17px); }

/* ---------- reviews / chat ---------- */
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.reviews .hl { background: var(--mint); }
.rev-score { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.rev-score > b { font-family: var(--f-display); font-weight: 400; font-size: 6rem; line-height: 1; }
.rev-score span { color: #f5a200; font-size: 1.5rem; letter-spacing: 2px; line-height: 1.2; }
.rev-score small { display: block; color: var(--muted); letter-spacing: 0; }

.chat { width: min(460px, 100%); margin: 0 auto; border: 3px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--paper-2); box-shadow: 11px 11px 0 var(--pop); box-shadow: var(--sh-l); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--paper-2); }
.chat-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font-size: 1.2rem; }
.chat-head p { flex: 1; line-height: 1.2; min-width: 0; }
.chat-head small { display: block; opacity: 0.65; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-replay { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--paper-2); font-size: 1.1rem; transition: transform 0.5s var(--pop-ease); }
.chat-replay:hover { transform: rotate(-200deg); }
.chat-body {
  height: 460px; overflow-y: auto;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(14, 14, 16, 0.09) 1.2px, transparent 1.4px);
  background-size: 18px 18px;
  scroll-behavior: smooth;
}
.msg { max-width: 84%; align-self: flex-start; padding: 10px 14px 8px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 18px 18px 18px 4px; box-shadow: 3px 3px 0 var(--ink); font-size: 0.95rem; line-height: 1.4; }
.msg b { display: block; font-size: 0.74rem; color: var(--brand); margin-bottom: 2px; }
.msg time { display: block; text-align: right; font-family: var(--f-mono); font-size: 0.64rem; opacity: 0.6; margin-top: 2px; }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-radius: 18px 18px 4px 18px; }
.msg.is-hidden { display: none; }
.msg.pop-in { animation: msgIn 0.45s var(--pop-ease) both; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 18px 18px 18px 4px; }
.typing.me { align-self: flex-end; background: var(--brand); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.5; animation: dot 1s infinite; }
.typing.me i { background: #fff; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
.chat-foot { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: var(--line); }
.chat-foot span { flex: 1; padding: 9px 14px; border: 2px solid var(--ink); border-radius: 999px; color: var(--muted); font-size: 0.88rem; }
.chat-foot b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; border: 2px solid var(--ink); }

/* ---------- book ---------- */
.book { background: var(--brand); color: #fff; border-top: 3px solid var(--ink); }
.kicker-light span { background: var(--mint); }
.book-grid { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.booker { background: var(--paper-2); color: var(--ink); border: 3px solid var(--ink); border-radius: 30px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--sh-l); display: flex; flex-direction: column; gap: 28px; }
.booker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.booker legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-family: var(--f-display); font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.booker legend small { font-size: 0.75rem; color: var(--muted); }
.step { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); border: var(--line); font-family: var(--f-mono); font-size: 0.9rem; font-weight: 700; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.days input, .times input { position: absolute; opacity: 0; pointer-events: none; }
.days span, .times span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: var(--line); border-radius: 14px; background: var(--paper);
  cursor: pointer; user-select: none;
  transition: transform 0.2s var(--pop-ease), box-shadow 0.2s var(--pop-ease), background-color 0.2s, color 0.2s;
}
.days span { padding: 8px 4px; line-height: 1.1; }
.days span small { font-family: var(--f-mono); font-size: 0.66rem; text-transform: uppercase; opacity: 0.7; }
.days span b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; }
.times span { padding: 9px 16px; font-family: var(--f-mono); font-weight: 700; font-size: 0.9rem; }
.days span:hover, .times span:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-s); }
.days input:checked + span, .times input:checked + span { background: var(--brand); color: #fff; box-shadow: var(--sh-s); transform: translate(-2px, -2px); }
.days input:focus-visible + span, .times input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 3px; }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field .mono { font-weight: 700; font-size: 0.7rem; }
.field input { width: 100%; padding: 13px 15px; border: var(--line); border-radius: 14px; background: var(--paper); font-size: 1rem; transition: box-shadow 0.2s, transform 0.2s; }
.field input:focus { outline: none; box-shadow: 4px 4px 0 var(--brand); transform: translate(-2px, -2px); }
.field.has-error input { border-color: #e0352b; box-shadow: 4px 4px 0 #e0352b; }
.book-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 2px dashed var(--ink); }
.book-summary { font-weight: 700; font-size: 1.02rem; }
.book-summary.ok { background: var(--sun); padding: 4px 10px; border: 2px solid var(--ink); border-radius: 10px; }
.book-msg { min-height: 1.2em; text-transform: none; color: var(--brand); font-weight: 700; margin-top: -12px; }
.book-msg.err { color: #d0281c; }

.direct { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; position: sticky; top: 40px; align-self: start; }
.direct .mono { opacity: 0.8; }
.copy-mail { font-family: var(--f-display); font-size: clamp(1.8rem, 2.6vw, 2.5rem); text-transform: uppercase; line-height: 1; text-align: left; word-break: break-all; background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 100% / 0% 0.18em; transition: background-size 0.4s var(--ease); padding-bottom: 4px; }
.copy-mail:hover { background-size: 100% 0.18em; }
.direct-hint { margin-bottom: 14px; font-size: 0.68rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(60px, 8vw, 100px) 0 120px; overflow: hidden; }
.foot-mega { font-family: var(--f-display); font-size: clamp(4rem, 15vw, 16rem); line-height: 0.88; text-transform: uppercase; text-align: center; white-space: nowrap; }
.foot-mega em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--pop); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(30px, 5vw, 60px); padding-top: 22px; border-top: 2px solid rgba(255, 255, 255, 0.15); }
.foot-row .mono { opacity: 0.75; }
.foot-top { padding: 6px 14px; border: 2px solid var(--paper); border-radius: 999px; opacity: 1 !important; transition: background-color 0.3s, color 0.3s; }
.foot-top:hover { background: var(--paper); color: var(--ink); }
.foot-kits { display: none; justify-content: center; align-items: center; gap: 12px; margin-top: 26px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 150; padding: 10px 18px; border: var(--line); border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; box-shadow: var(--sh-s); transform: translate(-50%, 30px) scale(0.8); opacity: 0; pointer-events: none; transition: transform 0.4s var(--pop-ease), opacity 0.3s; }
.toast.is-on { transform: translate(-50%, 0) scale(1); opacity: 1; }

/* ---------- keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(31, 184, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 184, 92, 0); } }
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-8px); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.3); } 40% { transform: scale(1); } }
@keyframes stLoad { from { width: 0; } to { width: 100%; } }
@keyframes tick { 0% { opacity: 0; transform: scale(0.4) rotate(-12deg); } 60% { opacity: 1; transform: scale(1.08) rotate(3deg); } 100% { opacity: 0; transform: scale(1.4) rotate(0); } }
@keyframes tickGo { 0% { opacity: 0; transform: scale(0.4) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(-3deg); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-4px); opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: 1fr; }
  .phone-wrap { margin: 40px auto 0; }
  .svc-grid, .tk-grid, .career-grid, .rev-grid, .book-grid { grid-template-columns: 1fr; }
  .direct { position: static; }
  .feature { grid-template-columns: 1fr; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .plays { grid-template-columns: repeat(2, 1fr); }
  .play { min-height: 280px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar-meta { display: none; }
  .mega { font-size: clamp(2.32rem, 11.2vw, 3.68rem); }
  .ctas .btn { flex: 1 1 auto; }
  .phone-wrap { width: min(280px, 78vw); }
  .sticker-burst { width: 96px; height: 96px; left: -34px; top: -30px; }
  .sticker-burst .burst-text { gap: 4px; }
  .sticker-burst .burst-text b { font-size: 1.6rem; }
  .sticker-burst .burst-text small { font-size: 0.62rem; }
  .sticker-rate { right: -16px; }
  .numbers { gap: 12px; }
  .num-box { padding: 16px; border-radius: 18px; }
  .num-box p:last-child { font-size: 0.84rem; }
  .deck { height: 470px; }
  .dcard { padding: 22px; }
  .feat-stats { grid-template-columns: 1fr 1fr 1fr; }
  .feat-stats dd { font-size: 1.1rem; }
  .cases, .plays { grid-template-columns: 1fr; }
  .play { min-height: 0; }
  .play-n { font-size: 4rem; }
  .keyboard { padding: 10px; gap: 7px; border-radius: 20px; }
  .kb-row { gap: 6px; }
  .kb-row:nth-child(2) { padding-left: 10px; }
  .kb-row:nth-child(3) { padding-left: 20px; }
  .key { height: 64px; padding: 6px; border-radius: 10px; }
  .key-n { font-size: 0.6rem; overflow-wrap: anywhere; hyphens: auto; }
  .ba-num { font-size: 1.7rem; }
  .ba-num small { font-size: 0.7rem; }
  .key-l { font-size: 0.62rem; }
  .key-space { height: 48px; }
  .inputs { grid-template-columns: 1fr; }
  .chat-body { height: 420px; }
  .rev-score > b { font-size: 4.6rem; }
  .dock { gap: 4px; padding: 6px; border-radius: 18px; bottom: 10px; }
  .dock-item { width: 42px; height: 42px; border-radius: 12px; }
  .dock-item svg { width: 20px; height: 20px; }
  .dock-sep, .dock .kits { display: none; }
  [data-label]::after { display: none; }
  .foot-kits { display: flex; }
  .tape { margin-top: -6px; }
}

@media (max-width: 380px) {
  .dock-item { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .tape-track, .sticker-burst svg { animation: none !important; }
  .js .intro { display: none; }
}

/* ---------- personal portfolio additions ---------- */
.wave { display: inline-block; font-size: 0.8em; transform-origin: 70% 80%; animation: wave 2.4s ease-in-out infinite; }
.st-av, .about-av { position: relative; overflow: hidden; }
.me-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.no-photo .me-img { display: none; }
.about-me { gap: 18px; }
.about-me .about-av { width: 92px; height: 92px; font-size: 2.8rem; }
.about-name { font-family: var(--f-display); font-size: 2rem; text-transform: uppercase; line-height: 1; }
.about-me .mono { color: var(--muted); margin-top: 6px; }
.about-text { margin-top: 24px; max-width: 520px; display: flex; flex-direction: column; gap: 14px; font-size: 1.06rem; }
.fun-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.fun-facts li { padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper-2); font-weight: 600; font-size: 0.88rem; box-shadow: 3px 3px 0 var(--ink); }
.about-text .btn { align-self: flex-start; margin-top: 6px; }
.direct-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .wave { animation: none; } }

/* ---------- Lenis smooth scroll ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis, .lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
