/* ==========================================================================
   BizzBoost | style.css  (v2: light, colorful, bold, work-first)
   Cream base. One color per service: Websites blue, SEO green, Ads coral.
   Yellow is for main actions, stickers and marker strokes.
   Real client screens in device frames are the hero visual everywhere.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0B1020;
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --primary: #2E7FFF;
  --primary-deep: #1A66E8;
  --seo: #12B76A;
  --ads: #FF6B4A;
  --accent: #FFD23F;
  --accent-deep: #F5B700;
  --night: #0B1020;
  --line: #E6E0D6;
  --muted: #5B6478;

  /* Derived */
  --cream-2: #F3EEE4;          /* one step darker than the page, for wells */
  --on-night: #F5F7FA;
  --on-night-soft: #B9C0CF;
  --line-night: #232B40;

  /* Ranking data (maps only) */
  --rank-top: #12B76A;
  --rank-mid: #F79009;
  --rank-low: #E5484D;
  --error: #D92D20;

  --fs-h1: clamp(2.75rem, 1.6rem + 5.2vw, 6rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.8vw, 3.5rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1.1vw, 2rem);
  --fs-h4: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-small: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --fs-lede: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --fs-mega: clamp(3rem, 1.4rem + 7vw, 7.5rem);

  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  --r-slab: clamp(24px, 3.5vw, 44px);   /* big color slabs */
  --r-card: 24px;
  --r-control: 14px;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --shadow-device: 0 40px 70px -30px rgba(11, 16, 32, 0.45), 0 12px 24px -12px rgba(11, 16, 32, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html.is-locked { overflow: hidden; }
html.is-locked body { padding-right: var(--sbw, 0px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Decorative shapes and tilted devices may poke past the edge: clip them without making a scroll container */
main { overflow-x: clip; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: manual;
}
h1 { font-size: var(--fs-h1); line-height: 0.93; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 0.98; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--primary-deep);
  outline-offset: 3px;
  border-radius: 8px;
}
.on-night :focus-visible, .night :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink); color: #fff;
  border-radius: var(--r-control);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }

.head { display: grid; gap: 1.1rem; max-width: 50rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.head p { font-size: var(--fs-lede); line-height: 1.5; color: var(--muted); max-width: 40rem; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }

.lede { font-size: var(--fs-lede); line-height: 1.5; max-width: 38rem; }
.muted { color: var(--muted); }

/* Inset color slab: the big rounded blocks that carry each service color */
.slab {
  position: relative;
  width: min(100% - 2 * var(--gutter) + 2 * min(var(--gutter), 24px), 1440px);
  margin-inline: auto;
  border-radius: var(--r-slab);
}
.slab--blue { background: var(--primary); }
.slab--green { background: var(--seo); }
.slab--coral { background: var(--ads); }
.slab--yellow { background: var(--accent); }
.slab--night { background: var(--night); color: var(--on-night); }
.slab--white { background: var(--surface); }

.night { background: var(--night); color: var(--on-night); }
.night .muted, .night .head p { color: var(--on-night-soft); }

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.split > .a { grid-column: 1 / span 6; }
.split > .b { grid-column: 7 / -1; }
.split--7-5 > .a { grid-column: 1 / span 7; }
.split--7-5 > .b { grid-column: 8 / -1; }
.split--5-7 > .a { grid-column: 1 / span 5; }
.split--5-7 > .b { grid-column: 6 / -1; }
@media (max-width: 900px) {
  .split > .a, .split > .b,
  .split--7-5 > .a, .split--7-5 > .b,
  .split--5-7 > .a, .split--5-7 > .b { grid-column: 1 / -1; }
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--spring), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-icon { width: 20px; height: 20px; flex: none; }

/* Main CTA: yellow with ink text */
.btn-cta { background: var(--accent); color: var(--ink); box-shadow: 0 3px 0 var(--ink); border-color: var(--ink); }
.btn-cta:hover { background: var(--accent-deep); box-shadow: 0 5px 0 var(--ink); }
.btn-cta:active { box-shadow: 0 1px 0 var(--ink); }

/* On yellow surfaces the main action turns ink */
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1c2438; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.night .btn-outline, .on-night .btn-outline { color: var(--on-night); border-color: var(--on-night); }
.night .btn-outline:hover, .on-night .btn-outline:hover { background: var(--on-night); color: var(--ink); }

.btn-sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.text-link {
  color: var(--primary-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 0.2s var(--ease);
}
.text-link:hover { color: var(--ink); }
.night .text-link, .on-night .text-link { color: var(--accent); }
.night .text-link:hover, .on-night .text-link:hover { color: #fff; }
.link-ink { color: var(--ink); }
.link-ink:hover { color: var(--ink); text-decoration-thickness: 3px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 243, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.92);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
/* No backdrop-filter while the menu is open: it would trap the fixed menu panel inside the header */
html.menu-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 48px; flex: none; text-decoration: none; }
.brand .logo { width: auto; height: 38px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 0.35rem; list-style: none; }
.site-nav a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.site-nav a:hover { background: var(--cream-2); }
.site-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; flex: none;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1140px) {
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .site-nav { display: none; margin-left: 0; }
  .site-nav.is-open {
    display: flex; flex-direction: column; gap: 2rem;
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 59;
    padding: 1.5rem var(--gutter) 3rem;
    background: var(--bg);
    overflow-y: auto;
  }
  .site-nav.is-open ul { flex-direction: column; gap: 0.25rem; }
  .site-nav.is-open a {
    display: flex;
    padding: 0.7rem 1.1rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .site-nav.is-open .nav-extra { display: grid; gap: 1rem; justify-items: start; padding-inline: 1.1rem; }
}
@media (max-width: 520px) {
  :root { --header-h: 66px; }
  .header-inner { gap: 0.6rem; }
  .brand .logo { height: 29px; }
  .header-actions .btn { min-height: 44px; padding: 0.5rem 0.85rem; font-size: 0.85rem; box-shadow: 0 2px 0 var(--ink); }
  .nav-toggle { width: 44px; height: 44px; }
}
@media (max-width: 374px) {
  .header-actions .btn { display: none; }
}

/* ---------- 6. Marker strokes (hand-drawn underline and circle) ---------- */
.marker { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.marker-svg {
  position: absolute;
  left: -3%; bottom: -0.16em;
  width: 106%; height: 0.36em;
  overflow: visible;
  z-index: -1;
  pointer-events: none;
}
.marker-svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s 0.25s var(--ease);
}
.marker--circle .marker-svg { left: -9%; top: -18%; bottom: auto; width: 118%; height: 136%; }
.marker--circle .marker-svg path { stroke-width: 2.4; }
.marker--ink .marker-svg path { stroke: var(--ink); }
.marker--white .marker-svg path { stroke: #fff; }
.is-drawn .marker-svg path, .marker.is-drawn .marker-svg path { stroke-dashoffset: 0; }
html:not(.js) .marker-svg path { stroke-dashoffset: 0; }

/* ---------- 7. Guarantee sticker ---------- */
.sticker {
  position: relative;
  width: var(--sticker-size, 150px);
  aspect-ratio: 1;
  flex: none;
  filter: drop-shadow(0 10px 18px rgba(11, 16, 32, 0.22));
}
.sticker svg { width: 100%; height: 100%; overflow: visible; }
.sticker-disc { fill: var(--accent); stroke: var(--ink); stroke-width: 3; }
.sticker-ring { transform-origin: 100px 100px; animation: spin 24s linear infinite; }
.sticker-ring text { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; letter-spacing: 0.02em; fill: var(--ink); }
.sticker-num { font-family: var(--font-display); font-size: 64px; font-weight: 700; letter-spacing: -0.04em; fill: var(--ink); text-anchor: middle; }
.sticker-sub { font-family: var(--font-body); font-size: 15px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.sticker--green .sticker-disc { fill: var(--seo); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 8. Device mockups ---------- */
.laptop { position: relative; width: 100%; }
.laptop-lid {
  position: relative;
  padding: 2.4% 2.4% 3%;
  background: var(--night);
  border-radius: 16px 16px 6px 6px;
  box-shadow: var(--shadow-device);
}
.laptop-lid::before {
  content: ""; position: absolute; top: 1%; left: 50%;
  width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: #2a3350;
}
.laptop-base {
  position: relative;
  width: 114%; margin-left: -7%;
  height: clamp(9px, 1.3vw, 18px);
  background: #D9D2C5;
  border-radius: 2px 2px 14px 14px / 2px 2px 100% 100%;
  box-shadow: 0 16px 30px -18px rgba(11, 16, 32, 0.6);
}
.laptop-base::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 16%; height: 40%;
  transform: translateX(-50%);
  background: #C2B9A8;
  border-radius: 0 0 8px 8px;
}
.screen { position: relative; overflow: hidden; background: var(--surface); }
.laptop .screen { aspect-ratio: 16 / 10; border-radius: 3px; }
.screen img { width: 100%; height: auto; }
.work-card .screen > img, .phone .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screen > img, .screen-slide { position: absolute; inset: 0; }
.screen-slide { opacity: 0; transition: opacity 0.9s var(--ease); }
.screen-slide.is-active { opacity: 1; }
.screen-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  padding: 3.6%;
  background: var(--night);
  border-radius: 15% / 7%;
  box-shadow: var(--shadow-device);
}
.phone::before {
  content: ""; position: absolute; z-index: 2;
  top: 3.2%; left: 50%;
  width: 30%; height: 2.8%;
  transform: translateX(-50%);
  background: var(--night);
  border-radius: 999px;
}
.phone .screen { width: 100%; height: 100%; border-radius: 12% / 5.6%; }

/* Layered stack: laptop behind, phone in front, sticker on top */
.device-stack { position: relative; padding: 4% 0 8% 8%; }
.device-stack .laptop { width: 92%; margin-left: auto; transform: rotate(-2.5deg); }
.device-stack .phone-wrap { position: absolute; left: 0; bottom: 0; width: 27%; transform: rotate(5deg); z-index: 2; }
.device-stack .sticker { position: absolute; top: -4%; right: -2%; z-index: 3; --sticker-size: clamp(104px, 13vw, 168px); }
.device-caption {
  position: absolute; right: 2%; bottom: -1%; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 3px 0 var(--ink);
  white-space: nowrap;
  max-width: 70%; overflow: hidden; text-overflow: ellipsis;
}
.device-caption span { font-weight: 500; color: var(--muted); }
@media (max-width: 600px) { .device-caption { font-size: 0.78rem; right: 0; max-width: 92%; padding: 0.35rem 0.7rem; } }

.float { animation: float 7s ease-in-out infinite; }
.float--slow { animation-duration: 9s; animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

[data-parallax] { will-change: transform; }

/* Reserve space for parts drawn by JavaScript so nothing jumps while the page loads */
.device-stack { aspect-ratio: 1.36; }
[data-geogrid]:empty { aspect-ratio: 10 / 13; }
@media (max-width: 600px) { [data-geogrid]:empty { aspect-ratio: 10 / 14; } }
.marquee:empty { min-height: 56px; }

/* ---------- 9. Home hero ---------- */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-copy { grid-column: 1 / span 6; }
.hero-visual { grid-column: 7 / -1; position: relative; }
.hero h1 { font-size: clamp(2.9rem, 1.5rem + 5.4vw, 6.4rem); margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.hero .lede { margin-bottom: 2rem; color: #2a3146; }
.hero-note { margin-top: 1.5rem; font-size: 0.98rem; font-weight: 500; color: var(--muted); }
/* Home: the copy block dissolves into the grid so the headline can run the full width */
.hero-grid > .hero-copy { display: contents; }
.hero-grid > .hero-copy > h1 { grid-column: 1 / -1; grid-row: 1; max-width: 18ch; font-size: clamp(2.9rem, 1.2rem + 6.2vw, 6.9rem); margin-bottom: 0; }
.hero-grid > .hero-copy > :not(h1) { grid-column: 1 / span 5; align-self: start; }
.hero-grid > .hero-copy > .lede { grid-row: 2; margin: 0; }
.hero-grid > .hero-copy > .cta-row { grid-row: 3; }
.hero-grid > .hero-copy > .hero-note { grid-row: 4; margin: 0; }
.hero-grid > .hero-visual { grid-column: 6 / -1; grid-row: 2 / span 4; margin-top: clamp(-1.5rem, -1vw, 0rem); }
.hero-grid > .hero-copy > h1 { position: relative; z-index: 2; }
.hero-grid { row-gap: clamp(1.25rem, 2.5vw, 2rem); }
.br-lg { display: none; }
@media (min-width: 961px) { .br-lg { display: inline; } }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1;
  inset: 6% -6% 10% 10%;
  background: var(--primary);
  border-radius: var(--r-slab);
  transform: rotate(3deg);
}
.hero-visual::after {
  content: ""; position: absolute; z-index: -1;
  width: 26%; aspect-ratio: 1;
  left: 2%; top: 2%;
  background: var(--seo);
  border-radius: 50%;
}
@media (max-width: 960px) {
  .hero-copy, .hero-visual { grid-column: 1 / -1; }
  .hero-grid > .hero-copy > :not(h1), .hero-grid > .hero-visual { grid-column: 1 / -1; grid-row: auto; }
  .hero-grid > .hero-visual { margin-top: 1rem; }
}

/* Page load: one orchestrated entrance for hero copy */
html.js .hero-copy > * { animation: rise 0.8s var(--ease) both; }
/* The headline is the largest paint: it moves in but is never invisible */
html.js .hero-copy > h1 { animation-name: rise-in-place; }
@keyframes rise-in-place { from { transform: translateY(22px); } to { transform: none; } }
html.js .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
html.js .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
html.js .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
html.js .hero-visual, html.js .page-hero-visual { animation: pop-in 1s 0.15s var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- 10. Service page hero (color slab) ---------- */
.page-hero { padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.page-hero .slab {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.25rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 5rem);
  overflow: hidden;
  color: var(--ink);
}
.page-hero-copy { grid-column: 1 / span 6; position: relative; z-index: 1; }
.page-hero-visual { grid-column: 7 / -1; position: relative; }
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero .lede { margin-bottom: 2rem; font-weight: 500; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  background: var(--surface);
  border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
}
.page-hero-tag i { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.page-hero-tag svg { width: 15px; height: 15px; color: #fff; }
@media (max-width: 960px) {
  .page-hero-copy, .page-hero-visual { grid-column: 1 / -1; }
}

/* ---------- 11. Logo marquee ---------- */
.logos { padding-block: clamp(2rem, 4vw, 3rem); }
.logos-inner { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.logos-label { flex: none; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }

.marquee {
  flex: 1; min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-duration, 40s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); padding-right: clamp(2.5rem, 5vw, 4.5rem); list-style: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.is-static { -webkit-mask-image: none; mask-image: none; }
.marquee.is-static .marquee-track { width: auto; animation: none; }
.marquee.is-static .marquee-set { flex-wrap: wrap; row-gap: 1.25rem; padding-right: 0; }

.client-logo {
  display: inline-flex; align-items: center;
  min-height: 56px;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease), transform 0.25s var(--spring);
}
.client-logo:hover, .client-logo:focus-visible { opacity: 1; filter: none; transform: scale(1.06); }
.client-logo img { width: auto; height: 44px; max-width: 190px; object-fit: contain; }
.client-logo img.is-square { height: 58px; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.1; white-space: nowrap; }
/* logoBg: 'dark' (a white logo) sits on a night tile */
.client-mark.is-dark { color: var(--on-night); }
.client-logo .client-mark.is-dark { display: inline-flex; align-items: center; padding: 0.4rem 0.85rem; background: var(--night); border-radius: 12px; }
.client-logo .client-mark.is-dark img { height: 40px; }
@media (max-width: 640px) {
  .logos-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .marquee { width: 100%; }
}

/* ---------- 12. Home: service panels ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.service {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--r-slab);
  color: var(--ink);
  transition: transform 0.4s var(--spring);
}
.service:nth-child(2) { margin-top: clamp(0rem, 4vw, 3.5rem); }
.service:nth-child(3) { margin-top: clamp(0rem, 8vw, 7rem); }
.service--web { background: var(--primary); }
.service--seo { background: var(--seo); }
.service--ads { background: var(--ads); }
.service-visual { margin-bottom: 1.75rem; }
.service h3 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); letter-spacing: -0.035em; margin-bottom: 0.75rem; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service p { font-size: 1.1rem; line-height: 1.5; font-weight: 500; margin-bottom: 1.5rem; max-width: 26rem; }
.service-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; position: relative; z-index: 1; }
.service-actions .text-link { color: var(--ink); }
@media (hover: hover) and (min-width: 768px) {
  .service:hover { transform: translateY(-8px) rotate(-0.6deg); }
  .service:nth-child(2):hover { transform: translateY(-8px) rotate(0.6deg); }
}
@media (max-width: 960px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(2), .service:nth-child(3) { margin-top: 0; }
}

/* Mini visual frame */
.mini {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
}

/* Websites: a browser window assembling a page */
.mb-bar { display: flex; align-items: center; height: 30px; padding: 0 10px; border-bottom: 2px solid var(--ink); background: var(--cream-2); }
.mb-url { height: 14px; width: 55%; margin: 0 auto; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-size: 9px; line-height: 11px; text-align: center; font-weight: 700; color: var(--muted); }
.mb-body { position: relative; padding: 12px; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 10px auto auto; gap: 8px 12px; }
.mb-body > * { display: block; border-radius: 6px; }
.mb-nav { grid-column: 1 / -1; height: 10px; background: var(--ink); width: 40%; }
.mb-h { height: 34px; background: var(--primary); }
.mb-img { grid-row: span 2; background: var(--accent); min-height: 70px; }
.mb-lines { display: grid; gap: 5px; background: transparent; }
.mb-lines i { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.mb-lines i:last-child { width: 60%; }
.mb-btn { grid-column: 1; height: 20px; width: 55%; border-radius: 999px; background: var(--ads); }
.mini.is-inview .mb-body > * { animation: assemble 6s var(--spring) infinite; }
.mini.is-inview .mb-body > :nth-child(2) { animation-delay: 0.25s; }
.mini.is-inview .mb-body > :nth-child(3) { animation-delay: 0.5s; }
.mini.is-inview .mb-body > :nth-child(4) { animation-delay: 0.75s; }
.mini.is-inview .mb-body > :nth-child(5) { animation-delay: 1s; }
@keyframes assemble {
  0% { opacity: 0; transform: translateY(14px) scale(0.9); }
  10%, 80% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* SEO: small ranking map, red to green */
.mm { display: grid; place-items: center; height: 100%; background: var(--cream-2); }
.mm-grid { display: grid; grid-template-columns: repeat(5, 26px); gap: 9px; }
.mm-dot { position: relative; width: 26px; height: 26px; }
.mm-dot::before, .mm-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.mm-dot::before { background: var(--rank-low); }
.mm-dot::after { background: var(--rank-top); opacity: 0; transform: scale(0.4); }
.mm-dot.is-you { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 50%; }
.mini.is-inview .mm-dot::after { animation: go-green 6s var(--spring) infinite; animation-delay: var(--d, 0s); }
@keyframes go-green {
  0%, 8% { opacity: 0; transform: scale(0.4); }
  22%, 82% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: scale(0.4); }
}

/* Advertising: a phone feed scrolling past ad cards */
.mf { display: grid; place-items: center; height: 100%; background: var(--cream-2); overflow: hidden; }
.mf-phone { width: 128px; height: 250px; margin-top: 40px; padding: 7px; background: var(--ink); border-radius: 22px; }
.mf-screen { height: 100%; overflow: hidden; border-radius: 16px; background: var(--surface); }
.mf-feed { display: grid; gap: 6px; padding: 6px; }
.mini.is-inview .mf-feed { animation: feed 9s linear infinite; }
@keyframes feed { to { transform: translateY(-50%); } }
.mf-card { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.mf-card b { display: block; height: 62px; }
.mf-card i { display: block; height: 6px; margin: 5px; width: 70%; border-radius: 3px; background: var(--line); }
.mf-card:nth-child(4n+1) b { background: var(--ads); }
.mf-card:nth-child(4n+2) b { background: var(--accent); }
.mf-card:nth-child(4n+3) b { background: var(--primary); }
.mf-card:nth-child(4n+4) b { background: var(--seo); }

/* ---------- 13. Home: Our work gallery (horizontal snap) ---------- */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.work-head h2 { max-width: 18ch; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.5rem); }
.gallery-nav { display: flex; gap: 0.6rem; }
.round-btn {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.2s var(--spring), background-color 0.2s var(--ease);
}
.round-btn:hover { background: var(--accent); transform: translateY(-2px); }
.round-btn svg { width: 22px; height: 22px; }
.round-btn[disabled] { opacity: 0.35; cursor: default; transform: none; background: var(--surface); }

.gallery {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0.5rem var(--gutter) 2rem;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(var(--gutter), calc(50vw - var(--wrap) / 2));
  scrollbar-width: none;
  list-style: none;
  position: relative;
}
.gallery::-webkit-scrollbar { display: none; }
.work-card {
  position: relative;
  flex: 0 0 min(86vw, 1040px);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3.5vw, 3rem);
  border-radius: var(--r-slab);
  color: var(--ink);
}
.work-visual { position: relative; padding: 2% 12% 6% 0; }
.work-visual .phone-wrap { position: absolute; right: 0; bottom: 0; width: 25%; transform: rotate(4deg); }
.work-card h3 { font-size: clamp(1.7rem, 1rem + 1.5vw, 2.3rem); letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.work-meta { margin: 0 0 1.1rem; font-weight: 500; line-height: 1.45; }
.work-meta span { display: block; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin-bottom: 1.4rem; }
.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem 0.3rem 0.45rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  font-size: 0.85rem; font-weight: 700;
  color: var(--ink);
}
.tag::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--ink)); border: 1.5px solid var(--ink); }
.tag--web { --c: var(--primary); }
.tag--seo { --c: var(--seo); }
.tag--ads { --c: var(--ads); }
.tag--store { --c: var(--accent); }
/* (speed badge no longer used) */
.speed-badge {
  display: inline-grid; grid-template-columns: auto 1fr; gap: 0 0.7rem; align-items: center;
  margin-bottom: 1.4rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  background: var(--surface);
  border-radius: 16px;
  font-size: 0.85rem; line-height: 1.3;
}
.speed-badge b { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--seo); font-size: 1.05rem; }
.speed-badge span { font-weight: 700; }
.speed-badge small { color: var(--muted); font-size: 0.8rem; }
.card-blue { background: var(--primary); }
.card-green { background: var(--seo); }
.card-coral { background: var(--ads); }
.card-yellow { background: var(--accent); }
.gallery-hint { display: none; margin-top: -1rem; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 820px) {
  .work-card { grid-template-columns: 1fr; flex-basis: 88vw; }
  .work-visual { padding-right: 16%; }
  .gallery-hint { display: block; }
}
@media (hover: hover) and (min-width: 768px) {
  [data-tilt] { transition: transform 0.35s var(--ease); transform: perspective(1200px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(var(--lift, 0)); }
  [data-tilt]:hover { --lift: -6px; }
}

/* ---------- 14. Websites: showcase panels ---------- */
.showcase { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.show {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border-radius: var(--r-slab);
}
.show-visual { grid-column: 1 / span 7; position: relative; padding: 2% 14% 6% 0; }
.show-info { grid-column: 8 / -1; }
.show:nth-child(even) .show-visual { grid-column: 6 / -1; grid-row: 1; padding: 2% 0 6% 14%; }
.show:nth-child(even) .show-info { grid-column: 1 / span 5; grid-row: 1; }
.show-visual .phone-wrap { position: absolute; right: 0; bottom: 0; width: 23%; transform: rotate(4deg); }
.show:nth-child(even) .show-visual .phone-wrap { right: auto; left: 0; transform: rotate(-4deg); }
.show h3, .work-card h3 { overflow-wrap: anywhere; }
.show h3 { font-size: clamp(1.8rem, 1rem + 1.9vw, 2.9rem); letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.scroll-hint { font-size: 0.85rem; font-weight: 700; margin: -0.5rem 0 1rem; }
@media (max-width: 900px) {
  .show-visual, .show-info,
  .show:nth-child(even) .show-visual, .show:nth-child(even) .show-info { grid-column: 1 / -1; grid-row: auto; }
  .show:nth-child(even) .show-visual { padding: 2% 14% 6% 0; }
  .show:nth-child(even) .show-visual .phone-wrap { left: auto; right: 0; transform: rotate(4deg); }
}

/* Full-page screenshot that scrolls inside the laptop */
.screen--scroll img { position: absolute; top: 0; left: 0; width: 100%; height: auto; transform: translateY(0); transition: transform var(--scroll-time, 6s) cubic-bezier(0.45, 0, 0.55, 1); }
@media (hover: hover) and (min-width: 768px) {
  .laptop:hover .screen--scroll img { transform: translateY(calc(-1 * var(--scroll-dist, 0px))); }
}
@media (max-width: 767px) {
  .screen--scroll.is-inview img { animation: auto-scroll var(--scroll-time, 14s) ease-in-out infinite alternate; }
}
@keyframes auto-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-1 * var(--scroll-dist, 0px))); } }

/* Screenshot marquee band */
.shot-band { padding-block: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.shot-band .head { margin-bottom: 2rem; }
.shot-track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 60s linear infinite; }
.shot-band:hover .shot-track { animation-play-state: paused; }
.shot-track img { width: clamp(240px, 30vw, 420px); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px; border: 3px solid #1d2438; }
.shot-track li { list-style: none; }
.shot-track li:nth-child(odd) { transform: rotate(-1.5deg); }
.shot-track li:nth-child(even) { transform: rotate(1.5deg) translateY(12px); }
.shot-band.is-static .shot-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }

/* ---------- 15. Flow: how the three fit together ---------- */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(0.75rem, 2vw, 1.25rem); max-width: 60rem; margin-inline: auto; }
.flow-box {
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 5px 0 var(--ink);
}
.flow-box h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 0.25rem; }
.flow-box p { margin: 0; font-weight: 500; line-height: 1.4; }
.flow-box--seo { background: var(--seo); }
.flow-box--ads { background: var(--ads); }
.flow-box--web { grid-column: 1 / -1; background: var(--primary); text-align: center; padding-block: clamp(1.5rem, 3.5vw, 2.5rem); }
.flow-box--web h3 { font-size: clamp(2.4rem, 1.4rem + 3.5vw, 4.5rem); }
.flow-arrows { grid-column: 1 / -1; height: clamp(56px, 8vw, 90px); }
.flow-arrows svg { width: 100%; height: 100%; overflow: visible; }
.flow-arrows path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 10; }
.flow-arrows .head-arrow { stroke-dasharray: none; }
.flow.is-inview .flow-arrows path:not(.head-arrow) { animation: dash-flow 1.2s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -18; } }
.flow-loop {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 0.9rem;
  margin: 1.5rem auto 0;
  padding: 0.8rem 1.2rem;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 700;
  max-width: 44rem;
}
.flow-loop svg { flex: none; width: 28px; height: 28px; }
@media (max-width: 560px) {
  .flow-loop { border-radius: 20px; align-items: flex-start; }
}

/* ---------- 16. Home guarantee (night, short) ---------- */
.guar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
}
.guar .sticker { --sticker-size: clamp(170px, 22vw, 290px); }
.guar h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); margin-bottom: 1.5rem; max-width: 22ch; }
@media (max-width: 760px) {
  .guar { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- 17. Testimonials ---------- */
.carousel-viewport { overflow: hidden; border-radius: var(--r-slab); }
.carousel-track { display: flex; transition: transform 0.7s var(--ease); }
.t-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.75rem, 5vw, 4rem);
  color: var(--ink);
}
.t-slide > * { min-width: 0; }
.t-slide.card-blue, .t-slide.card-green, .t-slide.card-coral { color: var(--ink); }
.t-quote { margin: 0; }
.t-quote p { font-family: var(--font-display); font-size: clamp(1.8rem, 1.1rem + 2.7vw, 3.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.t-meta { display: grid; gap: 0.8rem; align-content: start; }
.t-logo { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 0.9rem 1.1rem; background: var(--surface); border-radius: 18px; }
.t-logo.is-dark { background: var(--night); }
.t-logo .client-mark { display: flex; justify-content: center; max-width: 100%; }
/* A fixed height: a width: auto logo inside a shrink-to-fit box otherwise collapses to 0 x 0 */
.t-logo img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.t-logo .wordmark { white-space: normal; text-align: center; }
.t-business { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.t-meta .tags { margin-bottom: 0.25rem; }
.carousel-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.carousel-controls .round-btn { flex: none; }
.carousel-dots { display: flex; gap: 0.25rem; list-style: none; margin-inline: 0.5rem; }
.carousel-dots button { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; padding: 0; }
.carousel-dots button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; transition: background-color 0.25s var(--ease), transform 0.25s var(--spring); }
.carousel-dots button[aria-current="true"]::before { background: var(--ink); transform: scale(1.2); }
.carousel.is-static .carousel-viewport { overflow: visible; border-radius: 0; }
.carousel.is-static .carousel-track { flex-direction: column; gap: 1rem; transform: none !important; }
.carousel.is-static .t-slide { border-radius: var(--r-slab); }
@media (max-width: 760px) {
  .t-slide { grid-template-columns: 1fr; }
}
/* Phones: the six dots get their own row, the buttons sit below. Both rows stay left, clear of the WhatsApp button. */
@media (max-width: 560px) {
  .carousel-controls { flex-wrap: wrap; row-gap: 0.5rem; }
  .carousel-dots { order: -1; flex-basis: 100%; gap: 0; margin-inline: 0; }
}

/* ---------- 18. Team ---------- */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.teaser h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); margin-bottom: 1.25rem; }
.team-fan { display: flex; justify-content: center; list-style: none; padding: 1rem 0; }
.team-fan li { width: 34%; margin-inline: -2%; }
.team-fan li:nth-child(1) { transform: rotate(-6deg) translateY(12px); }
.team-fan li:nth-child(2) { transform: rotate(2deg); z-index: 1; }
.team-fan li:nth-child(3) { transform: rotate(7deg) translateY(18px); }
.polaroid { margin: 0; padding: 8px 8px 12px; background: var(--surface); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 11px; }
.polaroid figcaption { padding-top: 0.5rem; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.team-fan li:nth-child(1) .polaroid { background: var(--primary); }
.team-fan li:nth-child(2) .polaroid { background: var(--seo); }
.team-fan li:nth-child(3) .polaroid { background: var(--ads); }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); list-style: none; }
.team-card { padding: 10px 10px 1.5rem; border-radius: var(--r-card); border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.team-card:nth-child(1) { background: var(--primary); }
.team-card:nth-child(2) { background: var(--seo); transform: translateY(clamp(0px, 3vw, 36px)); }
.team-card:nth-child(3) { background: var(--ads); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: var(--cream-2); }
.team-card h3 { margin: 1.1rem 0.75rem 0.35rem; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); }
.team-card p { margin: 0 0.75rem; font-weight: 500; }
.team-initial { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; background: var(--accent); color: var(--ink); font-family: var(--font-display); font-size: clamp(4rem, 3rem + 5vw, 8rem); font-weight: 700; line-height: 1; }
.polaroid .team-initial { border-radius: 11px; font-size: clamp(3rem, 2rem + 4vw, 5rem); }
.team-card picture, .polaroid picture { display: block; }
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
  .team-card:nth-child(2) { transform: none; }
}

/* ---------- 19. Closing band ---------- */
.closing { padding-block: clamp(1rem, 3vw, 2rem) var(--section-y); }
.closing .slab {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}
.closing h2 { font-size: var(--fs-mega); line-height: 0.9; letter-spacing: -0.04em; max-width: 11ch; margin-bottom: 1.5rem; }
.closing .lede { margin-bottom: 2rem; font-weight: 500; }
.closing-copy { position: relative; z-index: 1; max-width: 46rem; }
.closing .sticker { position: absolute; right: clamp(1rem, 6vw, 6rem); top: 50%; transform: translateY(-50%) rotate(8deg); --sticker-size: clamp(150px, 20vw, 280px); }
.closing .sticker .sticker-disc { fill: var(--surface); }
@media (max-width: 860px) {
  .closing .sticker { position: relative; right: auto; top: auto; transform: rotate(8deg); margin-top: 2rem; --sticker-size: 150px; }
}

/* ---------- 20. FAQ ---------- */
.faq { max-width: 56rem; display: grid; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; }
.faq-item h3 { font-size: inherit; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  width: 100%; min-height: 64px;
  padding: 1.1rem 1.4rem;
  background: transparent; border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 14px; left: 8px; width: 14px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 1.4rem 1.4rem; max-width: 46rem; font-size: 1.05rem; }
.faq-a:not([hidden]) { animation: fade-down 0.35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 21. Checklists ---------- */
.checklist { display: grid; gap: 0.9rem; list-style: none; }
.checklist li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0.85rem; align-items: start; font-weight: 500; }
.checklist .tick { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c, var(--accent)); }
.checklist .tick svg { width: 18px; height: 18px; }
.checklist li:nth-child(4n+1) .tick { --c: var(--primary); }
.checklist li:nth-child(4n+2) .tick { --c: var(--seo); }
.checklist li:nth-child(4n+3) .tick { --c: var(--ads); }
.checklist li:nth-child(4n+4) .tick { --c: var(--accent); }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2.5rem; }
@media (max-width: 700px) { .checklist--2 { grid-template-columns: 1fr; } }

/* ---------- 22. Websites: why + journey ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; }
.why li { display: grid; gap: 0.9rem; align-content: start; }
.why-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.why-icon svg { width: 38px; height: 38px; }
.why li:nth-child(1) .why-icon { background: var(--accent); transform: rotate(-4deg); }
.why li:nth-child(2) .why-icon { background: var(--seo); transform: rotate(3deg); }
.why li:nth-child(3) .why-icon { background: var(--ads); transform: rotate(-2deg); }
.why li:nth-child(4) .why-icon { background: var(--primary); transform: rotate(4deg); }
.why h3 { font-size: var(--fs-h4); }
.why p { margin: 0; color: var(--muted); }
.catch {
  position: relative;
  max-width: 44rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 1.6rem 1.8rem;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 6px 0 var(--ink);
  transform: rotate(-1.2deg);
  font-size: 1.15rem;
  font-weight: 500;
}
.catch strong { font-family: var(--font-display); font-size: 1.5rem; display: block; margin-bottom: 0.35rem; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); list-style: none; counter-reset: step; }
.journey li { position: relative; display: grid; gap: 0.9rem; align-content: start; }
.journey-art {
  position: relative;
  height: 150px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}
.journey-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.journey h3 { font-size: var(--fs-h4); }
.journey p { margin: 0; color: var(--muted); font-size: 1rem; }
.journey li:not(:last-child)::after {
  content: ""; position: absolute; top: 75px; right: calc(-1 * clamp(0.75rem, 1.5vw, 1.25rem));
  width: clamp(0.75rem, 1.5vw, 1.25rem); height: 2px; background: var(--ink);
}
/* the five small visuals */
.ja-book { width: 70px; height: 92px; border-radius: 6px 10px 10px 6px; background: var(--primary); border: 2px solid var(--ink); position: relative; }
.ja-book::before { content: ""; position: absolute; inset: 18px 12px auto; height: 20px; border-radius: 5px; background: var(--accent); border: 2px solid var(--ink); }
.ja-book::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px; height: 6px; border-radius: 3px; background: #fff; box-shadow: 0 -12px 0 #fff; }
.ja-design { display: grid; grid-template-columns: repeat(3, 26px); gap: 6px; }
.ja-design i { height: 26px; border-radius: 8px; border: 2px solid var(--ink); }
.ja-design i:nth-child(1) { background: var(--primary); } .ja-design i:nth-child(2) { background: var(--accent); border-radius: 50%; } .ja-design i:nth-child(3) { background: var(--seo); }
.ja-design i:nth-child(4) { background: var(--ads); border-radius: 50%; } .ja-design i:nth-child(5) { background: var(--night); } .ja-design i:nth-child(6) { background: var(--cream-2); }
.ja-phone { width: 56px; height: 104px; border-radius: 12px; background: var(--night); padding: 5px; }
.ja-phone i { display: block; height: 100%; border-radius: 8px; background: var(--seo); position: relative; }
.ja-phone i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 12px; border: solid var(--ink); border-width: 0 0 4px 4px; transform: translate(-50%, -70%) rotate(-45deg); }
.ja-live { width: 110px; height: 72px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; position: relative; overflow: hidden; }
.ja-live::before { content: ""; position: absolute; inset: 0 0 auto; height: 16px; background: var(--accent); border-bottom: 2px solid var(--ink); }
.ja-live::after { content: "LIVE"; position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 999px; background: var(--ads); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; }
.ja-grow { display: flex; align-items: flex-end; gap: 7px; height: 90px; }
.ja-grow i { width: 18px; border-radius: 6px 6px 2px 2px; border: 2px solid var(--ink); }
.ja-grow i:nth-child(1) { height: 30%; background: var(--primary); } .ja-grow i:nth-child(2) { height: 52%; background: var(--seo); }
.ja-grow i:nth-child(3) { height: 74%; background: var(--ads); } .ja-grow i:nth-child(4) { height: 100%; background: var(--accent); }
@media (max-width: 1000px) {
  .journey { grid-template-columns: 1fr; gap: 1rem; }
  .journey li { grid-template-columns: 120px minmax(0, 1fr); column-gap: 1.25rem; }
  .journey-art { grid-row: span 3; height: 120px; }
  .journey li::after { display: none; }
}

.included { padding: clamp(1.75rem, 5vw, 4rem); }

/* ---------- 23. Rank map (SEO) ---------- */
.geo {
  --geo-card: var(--surface);
  --geo-well: #F1ECE2;
  --geo-street: #DDD5C6;
  --geo-river: #CFE0F5;
  --geo-park: #D8EDD9;
  --geo-text: var(--ink);
  --geo-muted: var(--muted);
  --geo-line: var(--line);
  background: var(--geo-card);
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: clamp(0.75rem, 2vw, 1.1rem);
  box-shadow: 0 8px 0 var(--ink);
  color: var(--geo-text);
}
.geo--night {
  --geo-card: #121A2E;
  --geo-well: #0E1528;
  --geo-street: #243049;
  --geo-river: #16294A;
  --geo-park: #14301F;
  --geo-text: var(--on-night);
  --geo-muted: var(--on-night-soft);
  --geo-line: var(--line-night);
  border-color: #2b3550;
  box-shadow: none;
}
.geo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.25rem 0.25rem 0.9rem; }
.geo-query { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.95rem; background: var(--geo-well); border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.geo-query svg { width: 16px; height: 16px; }
.geo-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--geo-well); }
.geo-toggle button { min-height: 44px; padding: 0.4rem 0.9rem; border: 0; border-radius: 999px; background: transparent; color: var(--geo-muted); font-weight: 700; font-size: 0.85rem; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.geo-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.geo--night .geo-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.geo-map { border-radius: 18px; overflow: hidden; background: var(--geo-well); }
.geo-map svg { width: 100%; height: auto; }
.geo-street { stroke: var(--geo-street); }
.geo-river { stroke: var(--geo-river); }
.geo-park { fill: var(--geo-park); }
.geo-pin .dot { transition: fill 0.5s var(--ease); }
.geo-pin text { font-family: var(--font-body); font-size: 16px; font-weight: 700; text-anchor: middle; dominant-baseline: central; transition: fill 0.5s var(--ease); }
.geo-pin.r-top .dot { fill: var(--rank-top); }
.geo-pin.r-mid .dot { fill: var(--rank-mid); }
.geo-pin.r-low .dot { fill: var(--rank-low); }
.geo-pin.r-top text, .geo-pin.r-mid text { fill: var(--ink); }
.geo-pin.r-low text { fill: #fff; }
.geo-pin .pop { transform-box: fill-box; transform-origin: center; }
.geo-pin.is-flipping .pop { animation: pin-pop 0.5s var(--spring); }
@keyframes pin-pop { 40% { transform: scale(1.25); } }
.geo-you { fill: none; stroke: var(--ink); stroke-width: 3.5; }
.geo--night .geo-you { stroke: var(--accent); }
.geo-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.25rem; padding: 0.9rem 0.25rem 0.2rem; }
.geo-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; list-style: none; font-size: var(--fs-small); font-weight: 500; color: var(--geo-muted); }
.geo-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.geo-swatch { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.geo-swatch.top { background: var(--rank-top); }
.geo-swatch.mid { background: var(--rank-mid); }
.geo-swatch.low { background: var(--rank-low); }
.geo-swatch.you { background: transparent; border: 2.5px solid var(--ink); }
.geo--night .geo-swatch.you { border-color: var(--accent); }
.geo-status { margin: 0; font-size: var(--fs-small); font-weight: 700; color: var(--geo-muted); }

/* Scroll-driven night map */
.scrollmap { position: relative; height: 220vh; }
.scrollmap-sticky {
  position: sticky; top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  display: grid; align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.scrollmap .split { align-items: center; }
.scrollmap h2 { margin-bottom: 1.25rem; }
.scrollmap .geo { max-width: min(640px, 100%); margin-left: auto; }
.scroll-progress { display: flex; gap: 0.5rem; align-items: center; margin-top: 1.75rem; font-weight: 700; font-size: 0.95rem; }
.scroll-progress-bar { width: 160px; height: 8px; border-radius: 4px; background: var(--line-night); overflow: hidden; }
.scroll-progress-bar i { display: block; height: 100%; width: 100%; background: var(--seo); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 900px) {
  .scroll-progress { display: none; }
  .scrollmap { height: auto; }
  .scrollmap-sticky { position: relative; top: 0; min-height: 0; }
  .scrollmap .geo { margin: 0 auto; }
}
html.no-scrollfx .scrollmap { height: auto; }
html.no-scrollfx .scrollmap-sticky { position: relative; top: 0; min-height: 0; }

/* Google Maps "top 3" mock */
.serp {
  max-width: 28rem;
  padding: 1.1rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 8px 0 var(--ink);
  transform: rotate(1.5deg);
}
.serp-search { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; margin-bottom: 0.5rem; background: var(--cream-2); border-radius: 999px; font-weight: 700; }
.serp-search svg { width: 18px; height: 18px; }
.serp-list { list-style: none; }
.serp-item { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0.9rem; align-items: center; padding: 0.8rem 0.4rem; border-bottom: 1.5px solid var(--line); }
.serp-rank { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--rank-top); font-weight: 700; }
.serp-lines { display: grid; gap: 0.45rem; }
.serp-lines span { display: block; height: 9px; border-radius: 5px; background: var(--cream-2); }
.serp-lines span:first-child { width: 70%; height: 12px; background: #D9D2C5; }
.serp-lines span:last-child { width: 45%; }
.serp-fold { margin: 0.9rem 0.4rem 0.6rem; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.serp-item.is-you { border-bottom: 0; }
.serp-item.is-you .serp-rank { background: var(--rank-low); color: #fff; }
.serp-you { font-weight: 700; }
.serp-you small { display: block; font-weight: 500; color: var(--muted); font-size: 0.9rem; }

/* 10-week plan: horizontal on desktop, vertical on mobile */
.plan-ruler { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin-bottom: 1.25rem; }
.plan-ruler span { font-weight: 700; font-size: 0.8rem; color: var(--muted); text-align: center; }
.plan-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin-bottom: 2rem; }
.plan-bars i { height: 22px; border-radius: 999px; border: 2px solid var(--ink); transform-origin: left; }
.plan-bars.is-inview i { animation: bar-in 0.8s var(--spring) both; animation-delay: var(--d, 0s); }
@keyframes bar-in { from { transform: scaleX(0); } }
.plan { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); list-style: none; }
.plan li { padding-top: 1rem; border-top: 6px solid var(--c); }
.plan-week { display: inline-block; margin-bottom: 0.6rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--c); border: 2px solid var(--ink); font-weight: 700; font-size: 0.85rem; }
.plan h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; }
.plan p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.c-night { --c: var(--night); } .c-yellow { --c: var(--accent); } .c-green { --c: var(--seo); } .c-blue { --c: var(--primary); } .c-coral { --c: var(--ads); }
.plan .c-night .plan-week { color: #fff; }
.plan-bars .c-night, .plan-bars .c-yellow, .plan-bars .c-green, .plan-bars .c-blue, .plan-bars .c-coral { background: var(--c); }
.friday {
  display: flex; gap: 1rem; align-items: center;
  margin-top: 2.5rem; padding: 1.1rem 1.4rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 20px;
  max-width: 46rem;
  font-weight: 500;
}
.friday svg { flex: none; width: 34px; height: 34px; }
@media (max-width: 900px) {
  .plan-ruler, .plan-bars { display: none; }
  .plan { grid-template-columns: 1fr; gap: 0; border-left: 4px solid var(--line); margin-left: 12px; }
  .plan li { position: relative; padding: 0 0 1.75rem 1.5rem; border-top: 0; }
  .plan li::before { content: ""; position: absolute; left: -14px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
}

/* Reviews + photos blocks */
.two-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.big-block { position: relative; overflow: hidden; padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: var(--r-slab); border: 2px solid var(--ink); min-height: 320px; display: flex; flex-direction: column; }
.big-block h3 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.big-block p { font-size: 1.15rem; font-weight: 500; max-width: 24rem; }
.big-block-art { margin-top: auto; display: flex; gap: 0.5rem; padding-top: 1.5rem; }
.stars svg { width: clamp(34px, 5vw, 52px); height: auto; }
.snaps { display: flex; }
.snaps i { width: clamp(60px, 9vw, 96px); aspect-ratio: 1; border-radius: 14px; border: 2px solid var(--ink); margin-right: -10px; }
.snaps i:nth-child(1) { background: var(--primary); transform: rotate(-8deg); }
.snaps i:nth-child(2) { background: var(--accent); transform: rotate(4deg) translateY(-8px); }
.snaps i:nth-child(3) { background: var(--surface); transform: rotate(-3deg); }
@media (max-width: 760px) { .two-blocks { grid-template-columns: 1fr; } .big-block { min-height: 0; } }

/* White hat */
.whitehat { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; max-width: 60rem; }
.whitehat-badge { flex: none; display: grid; place-items: center; width: clamp(88px, 12vw, 128px); aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.whitehat-badge svg { width: 56%; height: auto; }
.whitehat h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); margin-bottom: 0.75rem; }
.whitehat p { font-size: 1.15rem; font-weight: 500; margin: 0; }
@media (max-width: 560px) { .whitehat { flex-direction: column; align-items: flex-start; } }

/* Written guarantee panel (SEO page) */
.agreement {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.75rem, 5vw, 4.5rem);
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--r-slab);
  box-shadow: 0 10px 0 var(--ink);
}
.agreement h2 { margin-bottom: 1.5rem; }
.agreement-text { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; max-width: 34rem; }
.agreement .sticker { position: absolute; top: clamp(-60px, -5vw, -30px); right: clamp(-20px, -1vw, 0px); --sticker-size: clamp(120px, 14vw, 180px); transform: rotate(10deg); }
.terms { display: grid; gap: 1.4rem; align-content: start; margin: 0; }
.terms div { display: grid; gap: 0.35rem; }
.terms dt { font-size: 0.9rem; font-weight: 700; color: var(--muted); }
.terms dd { margin: 0; min-height: 2.4rem; padding-bottom: 0.4rem; border-bottom: 2px dashed #bdb4a4; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; display: flex; align-items: flex-end; }
.terms dd.is-blank { color: var(--muted); font-family: var(--font-body); font-size: 1rem; font-weight: 500; }
.admission { margin-top: 2rem; padding: 1rem 1.2rem; background: var(--cream-2); border-radius: 16px; font-size: 1.05rem; font-weight: 500; max-width: 34rem; }
@media (max-width: 860px) { .agreement { grid-template-columns: 1fr; } .agreement h2 { padding-right: 90px; } }

/* ---------- 24. Advertising ---------- */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: 2% 0 4%; }
.phones figure { margin: 0; display: grid; justify-items: center; gap: 0.9rem; }
.phones figure:first-child { width: 48%; transform: rotate(-5deg); z-index: 1; }
.phones figure:last-child { width: 44%; margin-left: -6%; transform: rotate(6deg) translateY(-6%); }
.phones figcaption { padding: 0.3rem 0.8rem; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 0.85rem; }

.ig { height: 100%; display: flex; flex-direction: column; background: var(--surface); font-size: clamp(9px, 1vw, 12px); }
.ig-top { display: flex; justify-content: space-between; align-items: center; padding: 18% 7% 4%; font-family: var(--font-display); font-weight: 600; font-size: 1.35em; border-bottom: 1px solid var(--line); }
.ig-top i { width: 1.4em; height: 1.4em; border-radius: 50%; border: 2px solid var(--ink); }
.ig-feed-wrap { flex: 1; overflow: hidden; }
.ig-feed { display: grid; }
.ig-feed.is-inview { animation: feed 26s linear infinite; }
.ig-post { padding-bottom: 0.7em; border-bottom: 1px solid var(--line); }
.ig-head { display: flex; align-items: center; gap: 0.6em; padding: 0.7em 0.8em; }
.ig-head b { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); flex: none; }
.ig-head span { font-weight: 700; line-height: 1.2; }
.ig-head small { display: block; font-weight: 500; color: var(--muted); }
.ig-creative { display: grid; place-items: center; aspect-ratio: 1; padding: 10%; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 2em; line-height: 1; letter-spacing: -0.02em; }
.ig-creative.cr-coral { background: var(--ads); }
.ig-creative.cr-yellow { background: var(--accent); }
.ig-creative.cr-blue { background: var(--primary); }
.ig-creative.cr-green { background: var(--seo); }
.ig-creative.cr-night { background: var(--night); color: var(--accent); }
.ig-cta { display: flex; justify-content: space-between; align-items: center; margin: 0.6em 0.8em 0; padding: 0.5em 0.7em; border-radius: 6px; background: var(--cream-2); font-weight: 700; }

.gsearch { height: 100%; background: var(--surface); padding: 18% 7% 6%; font-size: clamp(9px, 1vw, 12px); }
.gsearch-bar { display: flex; align-items: center; gap: 0.6em; padding: 0.8em 1em; border-radius: 999px; border: 1.5px solid var(--line); box-shadow: 0 2px 6px rgba(11, 16, 32, 0.08); font-weight: 500; margin-bottom: 1.2em; }
.gsearch-bar svg { width: 1.3em; height: 1.3em; flex: none; }
.gad { padding: 1em; border-radius: 12px; border: 2px solid var(--ink); background: #FFF9E0; margin-bottom: 1.1em; }
.gad-label { font-weight: 700; font-size: 0.95em; margin-bottom: 0.3em; }
.gad-site { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.4em; font-size: 0.95em; }
.gad-site b { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); flex: none; }
.gad-title { font-weight: 700; color: var(--primary-deep); font-size: 1.25em; line-height: 1.2; margin-bottom: 0.35em; }
.gad-desc { color: #3b4257; line-height: 1.4; }
.gorg { display: grid; gap: 0.45em; padding: 0.8em 0.2em; border-bottom: 1px solid var(--line); }
.gorg span { display: block; height: 0.75em; border-radius: 4px; background: var(--cream-2); }
.gorg span:first-child { width: 60%; background: #D9D2C5; }
.gorg span:last-child { width: 80%; }

/* 10 / 90 split (night) */
.budget { padding: clamp(2rem, 6vw, 5rem); }
.budget h2 { margin-bottom: 1rem; }
.budget-bar { position: relative; display: flex; gap: 6px; height: clamp(64px, 9vw, 96px); margin-block: clamp(2rem, 4vw, 3rem) 1rem; }
.budget-bar div { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 18px; font-weight: 700; color: var(--ink); overflow: hidden; }
.budget-bar div::before { content: ""; position: absolute; inset: 0; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.budget-bar div span { position: relative; opacity: 0; transition: opacity 0.4s var(--ease); }
.budget-test { flex: 0 0 10%; --c: var(--accent); }
.budget-scale { flex: 1; --c: var(--ads); }
.budget-bar.is-inview div::before { transform: scaleX(1); }
.budget-bar.is-inview .budget-scale::before { transition-delay: 0.9s; transition-duration: 1.6s; }
.budget-bar.is-inview div span { opacity: 1; transition-delay: 0.6s; }
.budget-bar.is-inview .budget-scale span { transition-delay: 2s; }
.budget-legend { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; color: var(--on-night-soft); font-size: 0.95rem; }
.budget-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); list-style: none; }
.budget-steps li { padding: 1.25rem; border-radius: 20px; border: 2px solid var(--line-night); }
.budget-steps b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); margin-bottom: 0.75rem; }
.budget-steps h3 { font-size: var(--fs-h4); margin-bottom: 0.35rem; }
.budget-steps p { margin: 0; color: var(--on-night-soft); }
@media (max-width: 760px) { .budget-steps { grid-template-columns: 1fr; } .budget-test { flex-basis: 22%; } }

/* Platforms */
.platforms { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.platform { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-slab); border: 2px solid var(--ink); display: grid; gap: 1rem; align-content: start; }
.platform--meta { background: var(--ads); }
.platform--google { background: var(--surface); transform: translateY(clamp(0px, 3vw, 40px)); }
.platform h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -0.03em; }
.platform p { font-size: 1.15rem; font-weight: 500; margin: 0; }
.platform-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--surface); border: 2px solid var(--ink); }
.platform--google .platform-icon { background: var(--accent); }
.platform-icon svg { width: 32px; height: 32px; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } .platform--google { transform: none; } }

/* Five steps as a path */
.path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); list-style: none; position: relative; }
.path::before { content: ""; position: absolute; top: 28px; left: 5%; right: 5%; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 22px); }
.path li { position: relative; display: grid; gap: 0.6rem; align-content: start; }
.path-num { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c, var(--surface)); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; box-shadow: 0 4px 0 var(--ink); }
.path li:nth-child(1) { --c: var(--accent); } .path li:nth-child(2) { --c: var(--ads); } .path li:nth-child(3) { --c: var(--seo); } .path li:nth-child(4) { --c: var(--primary); } .path li:nth-child(5) { --c: var(--surface); }
.path h3 { font-size: var(--fs-h4); margin-top: 0.4rem; }
.path p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 1000px) {
  .path { grid-template-columns: 1fr; gap: 1.25rem; }
  .path::before { top: 10px; bottom: 10px; left: 27px; right: auto; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 12px, transparent 12px 22px); }
  .path li { grid-template-columns: 58px minmax(0, 1fr); column-gap: 1rem; }
  .path-num { grid-row: span 2; }
  .path h3 { margin-top: 0; align-self: end; }
}

/* The numbers we watch: an equation */
.equation { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(0.5rem, 1.5vw, 1rem); align-items: stretch; }
.eq-term { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 24px; border: 2px solid var(--ink); background: var(--surface); display: grid; gap: 0.6rem; align-content: start; }
.eq-term h3 { font-size: var(--fs-h4); }
.eq-term p { margin: 0; color: var(--muted); }
.eq-term--worth { background: var(--seo); }
.eq-term--worth p { color: var(--ink); }
.eq-op { display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem); font-weight: 700; }
.eq-result { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1.25rem; background: var(--accent); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; }
@media (max-width: 900px) {
  .equation { grid-template-columns: 1fr; }
  .eq-op { justify-self: start; padding-left: 1.5rem; line-height: 1; }
  .eq-op--arrow svg { transform: rotate(90deg); }
}

.control { padding: clamp(1.75rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.control-art { display: grid; place-items: center; }
.control-art svg { width: min(100%, 260px); height: auto; }
@media (max-width: 860px) { .control { grid-template-columns: 1fr; } .control-art svg { width: 140px; } }

/* ---------- 25. About ---------- */
.about-slab .page-hero-copy { grid-column: 1 / span 7; }
.about-slab .story { grid-column: 8 / -1; align-self: end; display: grid; gap: 1rem; font-size: var(--fs-lede); font-weight: 500; line-height: 1.5; }
.about-slab .story p { margin: 0; }
.about-slab h1 { font-size: clamp(2.9rem, 1.4rem + 5.4vw, 6.4rem); margin-bottom: 0; }
@media (max-width: 960px) { .about-slab .page-hero-copy, .about-slab .story { grid-column: 1 / -1; } }
.about-hero { padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-slab); border: 2px solid var(--ink); }
.about-photo .sticker { position: absolute; right: clamp(0.75rem, 3vw, 2.5rem); bottom: clamp(-50px, -4vw, -30px); --sticker-size: clamp(110px, 13vw, 170px); transform: rotate(-8deg); }
.photo-note { position: absolute; left: 1rem; top: 1rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--surface); border: 2px solid var(--ink); font-size: 0.8rem; font-weight: 700; }
.about-copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 5vw, 4rem); }
.about-copy h1 { grid-column: 1 / span 7; }
.about-copy .story { grid-column: 8 / -1; align-self: end; display: grid; gap: 1rem; font-size: var(--fs-lede); font-weight: 500; line-height: 1.5; }
.about-copy .story p { margin: 0; }
@media (max-width: 900px) { .about-copy h1, .about-copy .story { grid-column: 1 / -1; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); list-style: none; align-items: start; }
.value { padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-slab); border: 2px solid var(--ink); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.value:nth-child(1) { background: var(--primary); transform: rotate(-1.5deg); }
.value:nth-child(2) { background: var(--seo); margin-top: clamp(0px, 5vw, 60px); }
.value:nth-child(3) { background: var(--ads); transform: rotate(1.5deg); }
.value h3 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem); letter-spacing: -0.03em; }
.value p { margin: 0; font-size: 1.15rem; font-weight: 500; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value { min-height: 0; } .value:nth-child(2) { margin-top: 0; } }

/* ---------- 26. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.scan-block { padding: clamp(1.75rem, 5vw, 4rem); border-radius: var(--r-slab); border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink); }
.scan-block h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); margin-bottom: 1rem; }
.scan-block .checklist { margin-block: 1.75rem 2.25rem; }
.scan-block .checklist li { font-size: 1.1rem; }
.reach { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-slab); }
.reach h2 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.reach > p { color: var(--muted); }
.channels { list-style: none; display: grid; gap: 0; margin-top: 1rem; }
.channels li { display: grid; gap: 0.15rem; padding-block: 1rem; border-top: 1.5px solid var(--line); }
.channel-label { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.channel-value { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; overflow-wrap: anywhere; text-decoration: none; }
a.channel-value:hover { text-decoration: underline; text-underline-offset: 5px; }
.social-big { display: grid; gap: 0.6rem; list-style: none; margin-top: 1.25rem; }
.social-big a, .social-big button {
  width: 100%;
  font-family: inherit;
  text-align: left;
  display: flex; align-items: center; gap: 0.9rem;
  min-height: 60px; padding: 0.7rem 1.2rem;
  border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 700; font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s var(--spring), box-shadow 0.2s var(--ease);
}
.social-big a:hover, .social-big button:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.social-big .s-wa { background: var(--surface); color: var(--ink); }
.social-big svg { width: 26px; height: 26px; flex: none; }
.social-big .s-fb { background: var(--primary-deep); color: #fff; }
.social-big .s-ig { background: var(--ads); color: var(--ink); }
.social-big .s-li { background: var(--accent); color: var(--ink); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 27. Footer (night) ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); }
.footer-brand .logo { height: 36px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--on-night-soft); max-width: 22rem; margin-bottom: 1.5rem; }
.footer-title { margin: 0 0 1rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; color: var(--accent); letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: 0.2rem; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--on-night-soft); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: #fff; }
.footer-contact { font-style: normal; display: grid; gap: 0.1rem; justify-items: start; color: var(--on-night-soft); }
.footer-contact > * { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand > a { display: inline-flex; min-height: 44px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 0.5rem; list-style: none; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); transition: transform 0.2s var(--spring); }
.socials li:nth-child(1) a { background: var(--primary); }
.socials li:nth-child(2) a { background: var(--ads); }
.socials li:nth-child(3) a { background: var(--accent); }
.socials a:hover { transform: translateY(-3px) rotate(-6deg); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-night); font-size: var(--fs-small); color: var(--on-night-soft); }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 28. Scan wizard (light) ---------- */
.scan-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(0.5rem, 3vw, 2rem); }
.scan-modal[hidden] { display: none; }
.scan-backdrop { position: absolute; inset: 0; background: rgba(11, 16, 32, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s var(--ease); }
.scan-dialog {
  position: relative;
  width: min(100%, 46rem);
  max-height: min(100%, 54rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 12px 0 var(--ink), 0 40px 80px -20px rgba(11, 16, 32, 0.5);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--spring);
}
.scan-modal.is-open .scan-backdrop { opacity: 1; }
.scan-modal.is-open .scan-dialog { opacity: 1; transform: none; }
.scan-close { position: absolute; top: 0.9rem; right: 0.9rem; display: grid; place-items: center; width: 46px; height: 46px; background: var(--cream-2); border: 2px solid var(--ink); border-radius: 50%; color: var(--ink); }
.scan-close:hover { background: var(--accent); }
.scan-close svg { width: 18px; height: 18px; }
.scan-title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); padding-right: 3.5rem; margin-bottom: 1.4rem; }
.scan-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; list-style: none; margin-bottom: 1.75rem; }
.scan-progress li { padding-top: 0.7rem; border-top: 5px solid var(--line); border-radius: 3px; font-size: 0.92rem; font-weight: 700; color: var(--muted); transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.scan-progress .num { margin-right: 0.35rem; }
.scan-progress li[aria-current="step"] { border-top-color: var(--primary); color: var(--ink); }
.scan-progress li.is-done { border-top-color: var(--seo); color: var(--ink); }
.scan-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.scan-legend { padding: 0; margin-bottom: 1.1rem; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.01em; }
.scan-legend:focus { outline: none; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label { display: grid; gap: 0.2rem; height: 100%; padding: 1rem 1.1rem; background: var(--bg); border: 2px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--spring); }
.choice label strong { font-size: 1.05rem; }
.choice label span { font-size: 0.92rem; color: var(--muted); line-height: 1.4; }
.choice input:hover + label { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--ink); background: var(--accent); box-shadow: 0 4px 0 var(--ink); transform: translateY(-2px); }
.choice input:checked + label span { color: var(--ink); }
.choice input:focus-visible + label { outline: 3px solid var(--primary-deep); outline-offset: 2px; }
.choice--wide { grid-column: 1 / -1; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; font-weight: 700; }
.field .optional { color: var(--muted); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 0.7rem 0.95rem;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--r-control);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1020' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #8a90a0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8b0a2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(46, 127, 255, 0.25); }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; font-size: 0.88rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.field-hint { margin: 0; font-size: 0.88rem; color: var(--muted); }
.check { display: flex; gap: 0.6rem; align-items: center; min-height: 44px; font-size: 0.98rem; font-weight: 500; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--primary-deep); margin: 0; }
.scan-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.scan-nav .btn:only-child { margin-left: auto; }
.scan-error { margin: 1.25rem 0 0; padding: 0.85rem 1rem; border: 2px solid var(--error); border-radius: var(--r-control); background: #FEF3F2; color: var(--error); font-weight: 700; font-size: 0.95rem; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(11, 16, 32, 0.25); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; }
.scan-success { display: grid; justify-items: start; gap: 1.1rem; padding-block: 1rem 0.5rem; }
.scan-success h3 { font-size: var(--fs-h3); max-width: 22ch; }
.scan-success h3:focus { outline: none; }
.scan-success p { color: var(--muted); margin: 0; }
.check-anim { width: 84px; height: 84px; }
.check-anim circle { fill: var(--seo); stroke: var(--ink); stroke-width: 3; transform-origin: center; transform: scale(0); }
.check-anim path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; }
.scan-success.is-shown .check-anim circle { animation: pop 0.5s var(--spring) forwards; }
.scan-success.is-shown .check-anim path { animation: draw 0.4s 0.35s var(--ease) forwards; }
@keyframes pop { to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) { .choice-grid, .field-grid { grid-template-columns: 1fr; } }

/* ---------- 28b. WhatsApp chat button + popup ---------- */
.wa {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
}
.wa > * { pointer-events: auto; }
.wa-fab {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.25s var(--spring), opacity 0.25s var(--ease), visibility 0.25s;
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: translateY(-2px) rotate(-6deg); }
.wa-fab:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
html.js .wa-fab { animation: wa-in 0.6s 1.2s var(--spring) both; }
@keyframes wa-in { from { opacity: 0; transform: scale(0.4) rotate(-20deg); } }
.wa.is-dodging .wa-fab { opacity: 0; visibility: hidden; transform: scale(0.6); }
html.is-locked .wa { visibility: hidden; }

.wa-card {
  position: relative;
  width: min(340px, calc(100vw - 32px));
  padding: 1.25rem 1.35rem 1.4rem;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 8px 0 var(--ink);
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.22s var(--ease), transform 0.35s var(--spring);
}
.wa-card.is-open { opacity: 1; transform: none; }
.wa-close {
  position: absolute; top: 0.7rem; right: 0.7rem;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
}
.wa-close:hover { background: var(--accent); }
.wa-close svg { width: 16px; height: 16px; }
.wa-bubble { display: inline-flex; gap: 5px; margin-bottom: 0.9rem; padding: 0.7rem 0.9rem; background: var(--cream-2); border-radius: 16px 16px 16px 4px; }
.wa-bubble i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: 0.35; }
.wa-card.is-open .wa-bubble i { animation: wa-dot 1.2s ease-in-out infinite; }
.wa-card.is-open .wa-bubble i:nth-child(2) { animation-delay: 0.15s; }
.wa-card.is-open .wa-bubble i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wa-dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-title { padding-right: 2.75rem; margin-bottom: 0.55rem; font-size: 1.45rem; line-height: 1.08; letter-spacing: -0.02em; }
.wa-text { margin-bottom: 1.15rem; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.wa-start { width: 100%; }
.wa-start svg { width: 20px; height: 20px; flex: none; }

/* ---------- 29. Scroll reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
html.js [data-reveal="left"] { transform: translateX(-40px); }
html.js [data-reveal="right"] { transform: translateX(40px); }
html.js [data-reveal="pop"] { transform: scale(0.9) rotate(-2deg); transition-timing-function: var(--spring); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.8s var(--spring); }
html.js .stagger.is-visible > * { opacity: 1; transform: none; }
html.js .stagger.is-visible > :nth-child(2) { transition-delay: 0.1s; }
html.js .stagger.is-visible > :nth-child(3) { transition-delay: 0.2s; }
html.js .stagger.is-visible > :nth-child(4) { transition-delay: 0.3s; }
html.js .stagger.is-visible > :nth-child(5) { transition-delay: 0.4s; }
html.js .stagger.is-visible > :nth-child(6) { transition-delay: 0.5s; }

/* Keep revealed elements' own transforms (tilts) after the reveal */
html.js .service.stagger-child { transition-property: opacity, transform; }

/* ---------- 30. Mobile motion limits ---------- */
@media (max-width: 767px) {
  [data-parallax] { transform: none !important; }
  .float { animation: none; }
}

/* ---------- 31. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  html.js [data-reveal], html.js .stagger > * { opacity: 1; transform: none; }
  html.js [data-reveal="pop"] { transform: none; }
  .marker-svg path { stroke-dashoffset: 0; }
  .marquee-track, .shot-track, .sticker-ring, .float, .ig-feed, .mf-feed, .wa-fab, .wa-bubble i { animation: none !important; }
  [data-parallax] { transform: none !important; }
  .mini .mb-body > * { opacity: 1; transform: none; animation: none !important; }
  .mm-dot::after { opacity: 1; transform: none; animation: none !important; }
  .mm-dot:nth-child(5n+1)::after, .mm-dot:nth-child(-n+5)::after, .mm-dot:nth-child(n+21)::after, .mm-dot:nth-child(5n)::after { opacity: 0; }
  .budget-bar div::before { transform: scaleX(1); }
  .budget-bar div span { opacity: 1; }
  .screen--scroll img { animation: none !important; transform: none !important; }
  .scan-success .check-anim circle { transform: scale(1); }
  .scan-success .check-anim path { stroke-dashoffset: 0; }
  .spinner { animation: none !important; border-top-color: rgba(11, 16, 32, 0.25); border-right-color: var(--ink); }
  .scrollmap { height: auto; }
  .scrollmap-sticky { position: relative; top: 0; min-height: 0; }
  .scroll-progress { display: none; }
}
