/* =========================================================
   CULTURE CREATIVES — site styles
   Brand palette (Brand Guidelines Phase 001):
     Dandelion #FBFCF2 · Pickle #929E4F · Prunes #544566
   Brand fonts: Boney Rocket (display) · Keep Calm (body)
   Drop licensed font files into /assets/fonts (see README).
   ========================================================= */

@font-face {
  font-family: "Boney Rocket";
  src: local("Boney Rocket"), local("BoneyRocket"),
       url("../fonts/BoneyRocket.woff2") format("woff2"),
       url("../fonts/BoneyRocket.woff") format("woff"),
       url("../fonts/BoneyRocket.otf") format("opentype"),
       url("../fonts/BoneyRocket.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Keep Calm";
  src: local("Keep Calm"), local("KeepCalm-Medium"), local("Keep Calm Medium"),
       url("../fonts/KeepCalm.woff2") format("woff2"),
       url("../fonts/KeepCalm.woff") format("woff"),
       url("../fonts/KeepCalm.otf") format("opentype"),
       url("../fonts/KeepCalm.ttf") format("truetype");
  font-display: swap;
}

:root {
  --dandelion: #FBFCF2;
  --pickle: #929E4F;
  --prunes: #544566;

  /* tints & shades of the three brand colours */
  --prunes-deep: #3A2F48;
  --prunes-ink: #2B2236;
  --prunes-soft: #E9E4EE;
  --pickle-deep: #6F7A36;
  --pickle-soft: #E9ECD6;
  --pickle-glow: #B8C27A;
  --cream-2: #F3F5E4;

  --display: "Boney Rocket", "Chewy", "Comic Neue", cursive;
  --body: "Keep Calm", "Questrial", "Helvetica Neue", Arial, sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 30px 60px -30px rgba(58, 47, 72, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
main { overflow-x: clip; }
body {
  margin: 0;
  background: var(--dandelion);
  color: var(--prunes);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--pickle); color: var(--dandelion); }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .01em;
  margin: 0;
}
h1 { font-size: clamp(3rem, 9vw, 8.5rem); }
h2 { font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.5; max-width: 46ch; }
.muted { opacity: .78; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hl-pickle { color: var(--pickle); }
.hl-prunes { color: var(--prunes); }
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -4%; bottom: -.18em; width: 108%; height: .42em; overflow: visible; }
.scribble path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.in .scribble path, .scribble.in path { stroke-dashoffset: 0; }

/* ---------- Pills / buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .45em 1em; border-radius: 999px;
  border: 1.5px solid currentColor; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.btn {
  --bg: var(--prunes); --fg: var(--dandelion);
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: 1em 1.6em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; letter-spacing: .02em; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 6px 0 0 var(--prunes-ink);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pickle);
  transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 0 var(--prunes-ink); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 0 var(--prunes-ink); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn--light { --bg: var(--dandelion); --fg: var(--prunes); box-shadow: 0 6px 0 0 var(--pickle-deep); }
.btn--light:hover { box-shadow: 0 9px 0 0 var(--pickle-deep); }
.btn--pickle { --bg: var(--pickle); --fg: var(--dandelion); box-shadow: 0 6px 0 0 var(--pickle-deep); }
.btn--pickle::after { background: var(--prunes); }
.btn--ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::after { background: currentColor; opacity: .12; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .4s var(--ease), padding .4s var(--ease), transform .5s var(--ease), box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(251, 252, 242, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 10px; box-shadow: 0 1px 0 rgba(84, 69, 102, .1);
}
.site-header.hide { transform: translateY(-110%); }
.brand { display: flex; align-items: center; height: 52px; }
.brand img { height: 100%; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand { height: 42px; }
.brand .light { display: none; }
.site-header.on-dark:not(.scrolled) .brand .dark { display: none; }
.site-header.on-dark:not(.scrolled) .brand .light { display: flex; }
.brand .light { align-items: center; gap: 10px; height: 100%; }
.brand .light img { height: 100%; }
.brand .light img + img { height: 88%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }
@media (min-width: 760px) { .header-cta { display: inline-flex; padding: .75em 1.3em; font-size: .9rem; } }
.site-header.on-dark:not(.scrolled) .header-cta { --bg: var(--dandelion); --fg: var(--prunes); box-shadow: 0 6px 0 0 var(--pickle-deep); }

.menu-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent;
  display: grid; place-items: center; position: relative; z-index: 70;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.menu-btn:hover { transform: rotate(90deg); }
.site-header.on-dark:not(.scrolled) .menu-btn { color: var(--dandelion); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .4s var(--ease), background .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
body.menu-open .menu-btn { color: var(--dandelion); border-color: var(--dandelion); }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--prunes); color: var(--dandelion);
  clip-path: circle(0% at calc(100% - 50px) 44px);
  transition: clip-path .8s var(--ease);
  display: grid; grid-template-columns: 1fr; align-content: center;
  padding: 100px var(--gutter) 40px; overflow-y: auto;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 44px); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { z-index: 80; transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .site-header .brand .dark, body.menu-open .site-header .header-cta { display: none; }
body.menu-open .site-header .brand .light { display: flex; }
.menu-inner { width: min(100%, var(--max)); margin-inline: auto; display: grid; gap: 40px; }
@media (min-width: 900px) { .menu-inner { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.menu nav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu nav li { counter-increment: m; overflow: hidden; }
.menu nav a {
  display: inline-flex; align-items: baseline; gap: .4em;
  font-family: var(--display); font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1.05;
  transform: translateY(110%); transition: transform .7s var(--ease), color .3s;
}
.menu nav a::before { content: "0" counter(m); font-family: var(--body); font-size: .9rem; opacity: .6; letter-spacing: .1em; }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--pickle-glow); }
body.menu-open .menu nav a { transform: none; }
body.menu-open .menu nav li:nth-child(2) a { transition-delay: .05s; }
body.menu-open .menu nav li:nth-child(3) a { transition-delay: .1s; }
body.menu-open .menu nav li:nth-child(4) a { transition-delay: .15s; }
body.menu-open .menu nav li:nth-child(5) a { transition-delay: .2s; }
body.menu-open .menu nav li:nth-child(6) a { transition-delay: .25s; }
.menu-aside { display: grid; gap: 22px; opacity: 0; transform: translateY(20px); transition: .6s var(--ease) .3s; }
body.menu-open .menu-aside { opacity: 1; transform: none; }
.menu-aside .coin-wrap { width: 120px; }

/* ---------- Socials ---------- */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid currentColor; transition: background .3s, color .3s, transform .4s var(--ease);
}
.socials a:hover { background: var(--pickle); border-color: var(--pickle); color: var(--dandelion); transform: translateY(-4px) rotate(-8deg); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 170px) 0; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.bg-prunes { background: var(--prunes); color: var(--dandelion); }
.bg-deep { background: var(--prunes-deep); color: var(--dandelion); }
.bg-pickle { background: var(--pickle); color: var(--dandelion); }
.bg-cream { background: var(--cream-2); }
.bg-pattern { position: relative; }
.bg-pattern::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; border-radius: inherit;
  background-image: url("../img/pattern-tile.png"); background-size: 180px 180px;
  animation: drift 60s linear infinite;
}
@keyframes drift { to { background-position: 180px -180px; } }
.rounded-top { border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0; margin-top: calc(clamp(28px, 5vw, 64px) * -1); }
.rounded { border-radius: clamp(28px, 5vw, 64px); }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.split-words.in .w > span { transform: none; }

/* ---------- Media slots (client photos / videos go here) ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--prunes-soft);
  isolation: isolate;
}
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media::after { /* slot label, shown only in ?slots preview mode */
  content: attr(data-slot); position: absolute; left: 12px; top: 12px; z-index: 5;
  background: var(--pickle); color: var(--dandelion); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .4em .8em; border-radius: 999px; display: none;
}
body.show-slots .media { outline: 3px dashed var(--pickle); outline-offset: -3px; }
body.show-slots .media::after { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 100svh; position: relative; color: var(--dandelion);
  display: grid; align-items: end; padding: 140px 0 clamp(40px, 6vw, 80px); overflow: hidden;
  background: var(--prunes-ink);
}
.hero-media { position: absolute; inset: 0; border-radius: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(43,34,54,.55) 0%, rgba(43,34,54,.1) 35%, rgba(43,34,54,.75) 100%),
    radial-gradient(70% 60% at 85% 100%, rgba(146,158,79,.45), transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 32px; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.hero h1 { font-size: clamp(3.2rem, 10vw, 9.5rem); }
.hero h1 .swap {
  display: inline-grid; color: var(--pickle-glow); vertical-align: bottom; overflow: hidden; height: 1.12em; line-height: 1.1;
}
.hero h1 .swap > span { grid-area: 1/1; transform: translateY(110%); transition: transform .8s var(--ease); }
.hero h1 .swap > span.on { transform: none; }
.hero h1 .swap > span.out { transform: translateY(-110%); }
.hero-side { display: grid; gap: 18px; max-width: 380px; }
.hero-side p { margin: 0; opacity: .9; }
.play-pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(251,252,242,.14); border: 1px solid rgba(251,252,242,.35); backdrop-filter: blur(10px); width: max-content;
  transition: background .3s;
}
.play-pill:hover { background: rgba(251,252,242,.25); }
.play-pill i { width: 38px; height: 38px; border-radius: 50%; background: var(--dandelion); display: grid; place-items: center; }
.play-pill i::before { content: ""; border-left: 11px solid var(--prunes); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(251,252,242,.6); border-radius: 20px; display: none;
}
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--dandelion); border-radius: 4px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 980px) { .scroll-cue { display: block; } }

/* floating 3D platform bubbles in hero */
.float-badges { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.badge3d {
  position: absolute; width: clamp(54px, 6vw, 86px); aspect-ratio: 1; border-radius: 26%;
  display: grid; place-items: center; color: var(--dandelion);
  background: linear-gradient(145deg, var(--pickle-glow), var(--pickle) 45%, var(--pickle-deep));
  box-shadow: inset -6px -8px 14px rgba(0,0,0,.25), inset 6px 8px 14px rgba(255,255,255,.35), 0 24px 40px -14px rgba(0,0,0,.5);
  animation: bob 6s ease-in-out infinite;
}
.badge3d.p { background: linear-gradient(145deg, #8B79A0, var(--prunes) 45%, var(--prunes-ink)); }
.badge3d.c { background: linear-gradient(145deg, #fff, var(--dandelion) 45%, #DADDC6); color: var(--prunes); }
.badge3d svg { width: 46%; height: 46%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--r, -8deg)); } 50% { transform: translateY(-18px) rotate(calc(var(--r, -8deg) * -1)); } }
@media (max-width: 700px) { .float-badges .badge3d:nth-child(n+3) { display: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; display: flex; user-select: none; }
.marquee-track { display: inline-flex; flex-shrink: 0; gap: 0; animation: marquee var(--speed, 30s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-100%); } }
.ticker { background: var(--pickle); color: var(--dandelion); padding: 18px 0; transform: rotate(-1.6deg); margin: -26px -10px 0; position: relative; z-index: 3; box-shadow: 0 20px 40px -20px rgba(58,47,72,.5); }
.ticker .item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.8rem); }
.ticker .item svg { width: .9em; height: .9em; }
.ticker.alt { background: var(--prunes); transform: rotate(1.2deg); margin-top: -12px; z-index: 2; }

/* ---------- Intro (home) ---------- */
.intro { display: grid; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (min-width: 980px) { .intro { grid-template-columns: 1.1fr 1fr; } }
.intro h2 { font-size: clamp(2.6rem, 5.8vw, 5.4rem); }

/* 3D phone stack */
.phones { position: relative; height: clamp(440px, 52vw, 640px); perspective: 1400px; }
.phone {
  position: absolute; width: clamp(170px, 19vw, 250px); aspect-ratio: 9 / 19; border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #4a3d5b, var(--prunes-ink)); box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,.08);
  transform-style: preserve-3d; transition: transform .8s var(--ease);
}
.phone .media { width: 100%; height: 100%; border-radius: 26px; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 12px; background: var(--prunes-ink); z-index: 6; }
.phone .ui { position: absolute; inset: auto 20px 26px 20px; z-index: 6; color: #fff; font-size: .72rem; display: grid; gap: 6px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.phone .ui b { font-size: .8rem; }
.phone .rail { position: absolute; right: 14px; bottom: 90px; z-index: 6; display: grid; gap: 14px; color: #fff; }
.phone .rail svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.phone.p1 { left: 4%; top: 12%; transform: rotateY(18deg) rotateZ(-8deg) translateZ(-60px); }
.phone.p2 { left: 32%; top: 0; z-index: 2; transform: rotateY(-4deg) rotateX(4deg) translateZ(40px); }
.phone.p3 { left: 60%; top: 16%; transform: rotateY(-20deg) rotateZ(8deg) translateZ(-60px); }
.phones:hover .phone.p1 { transform: rotateY(10deg) rotateZ(-12deg) translate3d(-20px, 0, -30px); }
.phones:hover .phone.p3 { transform: rotateY(-10deg) rotateZ(12deg) translate3d(20px, 0, -30px); }
.sticker {
  position: absolute; z-index: 5; font-family: var(--display); padding: .5em .9em; border-radius: 14px;
  background: var(--dandelion); color: var(--prunes); box-shadow: 0 14px 30px -12px rgba(58,47,72,.45); font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: .4em; animation: bob 7s ease-in-out infinite;
}
.sticker.green { background: var(--pickle); color: var(--dandelion); }
.sticker.purple { background: var(--prunes); color: var(--dandelion); }

/* ---------- Horizontal work reel ---------- */
.reel-section { height: 320vh; }
.reel-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 36px; }
.reel-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-left: var(--gutter); will-change: transform; }
.reel-card { flex: 0 0 auto; width: clamp(260px, 30vw, 420px); display: grid; gap: 14px; }
.reel-card .media { aspect-ratio: 4 / 5; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.reel-card:nth-child(even) .media { aspect-ratio: 9 / 13; }
.reel-card:hover .media { transform: scale(.97) rotate(-1deg); border-radius: 44px; }
.reel-card .tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pickle-glow); }
.reel-card h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.reel-card .plat { position: absolute; right: 14px; top: 14px; z-index: 4; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(251,252,242,.9); color: var(--prunes); }
.reel-card .plat svg { width: 20px; height: 20px; }
.reel-progress { height: 3px; background: rgba(251,252,242,.15); border-radius: 3px; overflow: hidden; }
.reel-progress span { display: block; height: 100%; width: 0; background: var(--pickle-glow); }
.reel-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .reel-section { height: auto; }
  .reel-sticky { position: static; height: auto; padding: 80px 0; }
  .reel-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--gutter); transform: none !important; scrollbar-width: none; }
  .reel-track::-webkit-scrollbar { display: none; }
  .reel-card { scroll-snap-align: start; width: 74vw; }
}

/* ---------- Two pillars (home) ---------- */
.pillars { display: grid; gap: 22px; }
@media (min-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar {
  position: relative; border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); min-height: 520px;
  display: grid; align-content: space-between; gap: 30px; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease);
}
.pillar:hover { transform: translateY(-8px); }
.pillar.one { background: var(--pickle); color: var(--dandelion); }
.pillar.two { background: var(--prunes); color: var(--dandelion); }
.pillar .num { font-family: var(--display); font-size: clamp(5rem, 12vw, 10rem); line-height: .8; opacity: .18; position: absolute; right: 24px; top: 18px; }
.pillar h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.pillar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pillar li { padding: .4em .9em; border-radius: 999px; background: rgba(251,252,242,.15); font-size: .9rem; }
.pillar .media { position: absolute; z-index: -1; width: 44%; aspect-ratio: 3/4; right: -6%; bottom: -8%; transform: rotate(8deg); border-radius: 24px; opacity: .9; transition: transform .8s var(--ease); }
.pillar:hover .media { transform: rotate(2deg) translateY(-14px); }
.pillar .content { max-width: 62%; display: grid; gap: 16px; }
@media (max-width: 600px) { .pillar .content { max-width: 100%; } .pillar .media { opacity: .35; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(84,69,102,.18); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 34px 20px 10px; text-align: center; display: grid; gap: 10px; justify-items: center; border-right: 1px solid rgba(84,69,102,.18); }
.stat:last-child { border-right: 0; }
@media (max-width: 899px) { .stat:nth-child(2n) { border-right: 0; } .stat { border-bottom: 1px solid rgba(84,69,102,.18); } }
.stat .n { font-family: var(--display); font-size: clamp(2.8rem, 5.5vw, 4.8rem); line-height: 1; color: var(--prunes); }
.stat .n em { font-style: normal; color: var(--pickle); }
.stat small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; max-width: 18ch; }

/* ---------- Logo wall ---------- */
.logos .marquee-track { gap: 0; }
.logo-chip {
  display: inline-grid; place-items: center; width: 220px; height: 110px; margin-right: 16px; border-radius: 20px;
  border: 1.5px dashed rgba(84,69,102,.3); font-family: var(--display); font-size: 1.4rem; color: rgba(84,69,102,.55);
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; overflow: hidden; }
.cta-band h2 { font-size: clamp(3rem, 9vw, 8rem); }
.cta-band .wrap { display: grid; gap: 30px; justify-items: center; position: relative; z-index: 2; }
.coin-wrap { width: clamp(110px, 14vw, 170px); aspect-ratio: 1; perspective: 800px; }
.coin { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: spin 9s linear infinite; }
.coin > div { position: absolute; inset: 0; border-radius: 50%; background: var(--pickle-deep); }
.coin .face { background: url("../img/logo-icon.png") center/contain no-repeat; backface-visibility: hidden; }
.coin .face.back { transform: rotateY(180deg); }
@keyframes spin { to { transform: rotateY(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--prunes-ink); color: var(--dandelion); padding: clamp(70px, 9vw, 120px) 0 30px; overflow: hidden; position: relative; }
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { margin: 0 0 16px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pickle-glow); font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { opacity: .85; transition: opacity .2s, color .2s; }
.footer-grid a:hover { opacity: 1; color: var(--pickle-glow); }
.footer-logo { display: flex; align-items: center; gap: 14px; height: 70px; margin-bottom: 22px; }
.footer-logo img { height: 100%; width: auto; }
.footer-logo img + img { height: 86%; }
.footer-big {
  font-family: var(--display); font-size: clamp(2.6rem, 10.5vw, 11rem); line-height: .9; margin-top: 70px; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(251,252,242,.25); text-align: center; letter-spacing: .02em;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; opacity: .6; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(251,252,242,.12); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; min-height: 88svh; color: var(--dandelion); display: grid; align-items: end;
  padding: 140px 0 clamp(40px, 5vw, 70px); overflow: hidden; background: var(--prunes-ink);
}
.page-hero .media { position: absolute; inset: 0; border-radius: 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(43,34,54,.5), rgba(43,34,54,.15) 40%, rgba(43,34,54,.85)); }
.page-hero .wrap { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.page-hero h1 { font-size: clamp(3.6rem, 12vw, 11rem); }
.page-hero .quip { max-width: 340px; font-size: 1.05rem; }
.page-hero .quip strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--pickle-glow); margin-bottom: 4px; }
.crumb { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-bottom: 14px; display: block; }

/* page hero variant: illustrated (no photo) */
.page-hero.illus { background: var(--pickle); }
.page-hero.illus::before { background: radial-gradient(60% 70% at 80% 30%, rgba(251,252,242,.18), transparent 70%); }
.page-hero.prunes { background: var(--prunes); }

/* ---------- Services ---------- */
.big-statement { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.1; max-width: 22ch; }
.big-statement .dim { opacity: .35; transition: opacity .4s; }

.platforms { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .platforms { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .platforms { grid-template-columns: repeat(4, 1fr); } }
.flip { perspective: 1200px; height: 440px; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip:hover .flip-inner, .flip:focus-within .flip-inner, .flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius); padding: 28px; display: grid; align-content: space-between; overflow: hidden;
}
.flip-front { background: var(--prunes); color: var(--dandelion); }
.flip:nth-child(even) .flip-front { background: var(--pickle); }
.flip-front .icon3d { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; transform: rotate(-8deg);
  background: linear-gradient(145deg, rgba(255,255,255,.35), rgba(255,255,255,.05)); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3), 0 20px 40px -10px rgba(0,0,0,.35); }
.flip-front .icon3d svg { width: 48px; height: 48px; }
.flip-front h3 { font-size: 2.6rem; }
.flip-front .hint { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; opacity: .75; }
.flip-back { background: var(--dandelion); border: 1.5px solid var(--prunes); transform: rotateY(180deg); color: var(--prunes); }
.flip-back ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.flip-back li { display: flex; gap: 10px; align-items: baseline; }
.flip-back li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pickle); flex: 0 0 auto; transform: translateY(-2px); }
.flip-back h4 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: 0 0 6px; }

.split-feature { display: grid; gap: clamp(30px, 5vw, 80px); align-items: center; }
@media (min-width: 980px) { .split-feature { grid-template-columns: 1fr 1fr; } .split-feature.flipx > :first-child { order: 2; } }
.split-feature .media { aspect-ratio: 4 / 5; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.checklist li i { width: 34px; height: 34px; border-radius: 50%; background: var(--pickle); color: var(--dandelion); display: grid; place-items: center; font-style: normal; font-size: .9rem; }
.checklist li b { display: block; }

.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  counter-increment: s; border-radius: var(--radius); padding: 28px; min-height: 320px; display: grid; align-content: space-between; gap: 22px;
  border: 1.5px solid rgba(251,252,242,.25); position: relative; overflow: hidden; transition: background .4s, transform .5s var(--ease);
}
.step:hover { background: rgba(251,252,242,.07); transform: translateY(-6px); }
.step::before { content: "0" counter(s); font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--pickle-glow); }
.step h3 { font-size: 1.9rem; margin-bottom: 8px; }
.step p { font-size: .95rem; opacity: .85; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: .75rem; padding: .35em .8em; border-radius: 999px; border: 1px solid rgba(251,252,242,.35); }

.extras { display: grid; gap: 14px; }
@media (min-width: 800px) { .extras { grid-template-columns: repeat(3, 1fr); } }
.extra { padding: 26px; border-radius: 22px; background: var(--dandelion); border: 1.5px solid rgba(84,69,102,.15); display: grid; gap: 10px; transition: border-color .3s, transform .4s var(--ease); }
.extra:hover { border-color: var(--pickle); transform: rotate(-1deg) translateY(-4px); }
.extra h3 { font-size: 1.5rem; }
.extra p { margin: 0; font-size: .95rem; }

/* ---------- Work grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { padding: .7em 1.3em; border-radius: 999px; border: 1.5px solid var(--prunes); background: transparent; transition: background .3s, color .3s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--prunes); color: var(--dandelion); }
.work-grid { columns: 1; column-gap: 20px; }
@media (min-width: 640px) { .work-grid { columns: 2; } }
@media (min-width: 1050px) { .work-grid { columns: 3; } }
.work-item { break-inside: avoid; margin-bottom: 20px; display: grid; gap: 12px; transition: opacity .4s, transform .4s var(--ease); }
.work-item.hidden { display: none; }
.work-item .media { aspect-ratio: var(--ar, 4/5); }
.work-item .meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.work-item .meta h3 { font-size: 1.45rem; }
.work-item .meta span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pickle-deep); white-space: nowrap; }
.work-item .media .overlay {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(84,69,102,.0);
  transition: background .4s; color: var(--dandelion);
}
.work-item .media .overlay b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; opacity: 0; transform: translateY(14px) rotate(-4deg); transition: .4s var(--ease); background: var(--pickle); padding: .3em .8em; border-radius: 12px; }
.work-item:hover .media .overlay { background: rgba(84,69,102,.35); }
.work-item:hover .media .overlay b { opacity: 1; transform: none; }

.case { display: grid; gap: 30px; align-items: center; }
@media (min-width: 980px) { .case { grid-template-columns: 1.2fr 1fr; } }
.case .media { aspect-ratio: 16 / 10; }
.case-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.case-kpis div { padding: 18px; border-radius: 18px; background: rgba(251,252,242,.1); }
.case-kpis b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--pickle-glow); line-height: 1; }
.case-kpis small { font-size: .78rem; opacity: .8; }

/* ---------- About ---------- */
.roots { display: grid; gap: 20px; }
@media (min-width: 900px) { .roots { grid-template-columns: repeat(3, 1fr); } }
.root-card { border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; align-content: start; min-height: 320px; }
.root-card:nth-child(1) { background: var(--pickle-soft); }
.root-card:nth-child(2) { background: var(--prunes-soft); transform: translateY(40px); }
.root-card:nth-child(3) { background: var(--cream-2); }
@media (max-width: 899px) { .root-card:nth-child(2) { transform: none; } }
.root-card .ico { width: 64px; height: 64px; }
.root-card h3 { font-size: 2rem; }
.root-card p { margin: 0; }

.tree-story { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .tree-story { grid-template-columns: 1fr 1fr; } }
.tree-svg { width: 100%; max-width: 520px; margin-inline: auto; }
.tree-svg .grow { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s var(--ease); }
.tree-svg.in .grow { stroke-dashoffset: 0; }
.tree-svg .leaf { transform-origin: center; transform-box: fill-box; transform: scale(0); transition: transform .9s var(--ease); }
.tree-svg.in .leaf { transform: scale(1); }

.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.member { display: grid; gap: 12px; }
.member .media { aspect-ratio: 3 / 4; }
.member .media img { filter: grayscale(.35) contrast(1.02); transition: filter .5s, transform .8s var(--ease); }
.member:hover .media img { filter: none; transform: scale(1.05); }
.member h3 { font-size: 1.5rem; }
.member small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pickle-deep); }
.mode-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--prunes-soft); gap: 4px; }
.mode-toggle button { border: 0; background: transparent; padding: .6em 1.1em; border-radius: 999px; font-size: .85rem; }
.mode-toggle button[aria-pressed="true"] { background: var(--prunes); color: var(--dandelion); }
.member .fun { display: none; font-size: .9rem; font-style: italic; }
.team.fun-mode .member .fun { display: block; }
.team.fun-mode .member .media img { transform: rotate(-3deg) scale(1.06); filter: saturate(1.3); }
.team.fun-mode .member:nth-child(even) .media img { transform: rotate(3deg) scale(1.06); }

.values { display: grid; gap: 0; }
.value { display: grid; gap: 10px; padding: 30px 0; border-top: 1.5px solid rgba(251,252,242,.2); }
@media (min-width: 900px) { .value { grid-template-columns: 90px 1fr 1.2fr; align-items: baseline; gap: 30px; } }
.value .k { font-family: var(--display); color: var(--pickle-glow); font-size: 1.6rem; }
.value h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.value p { margin: 0; opacity: .85; }

/* ---------- Pricing / approach ---------- */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why { border-radius: var(--radius); padding: 30px; background: var(--dandelion); color: var(--prunes); display: grid; gap: 12px; align-content: start; box-shadow: 0 8px 0 0 var(--pickle-deep); }
.why h3 { font-size: 1.9rem; }
.why p { margin: 0; }
.why .emoji { font-size: 2.2rem; }

.builder { display: grid; gap: 28px; }
@media (min-width: 980px) { .builder { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.builder fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.builder legend { font-family: var(--display); font-size: 1.6rem; margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-flex; align-items: center; gap: 8px; padding: .7em 1.2em; border-radius: 999px; border: 1.5px solid var(--prunes);
  cursor: pointer; transition: background .25s, color .25s, transform .3s var(--ease); user-select: none;
}
.opt span svg { width: 18px; height: 18px; }
.opt input:checked + span { background: var(--prunes); color: var(--dandelion); transform: rotate(-2deg); }
.opt input:focus-visible + span { outline: 3px solid var(--pickle); outline-offset: 2px; }
.summary-card { position: sticky; top: 100px; border-radius: var(--radius); padding: 32px; background: var(--prunes); color: var(--dandelion); display: grid; gap: 18px; }
.summary-card h3 { font-size: 2.2rem; }
.summary-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.summary-card li { padding: .35em .8em; border-radius: 999px; background: rgba(251,252,242,.14); font-size: .85rem; }
.meter { height: 14px; border-radius: 10px; background: rgba(251,252,242,.15); overflow: hidden; }
.meter span { display: block; height: 100%; width: 8%; background: linear-gradient(90deg, var(--pickle), var(--pickle-glow)); border-radius: inherit; transition: width .6s var(--ease); }

.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: 20px; background: var(--dandelion); border: 1.5px solid rgba(84,69,102,.15); padding: 0 24px; transition: border-color .3s; }
.faq details[open] { border-color: var(--pickle); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--display); font-size: 1.4rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-size: 1.6rem; width: 40px; height: 40px; border-radius: 50%; background: var(--pickle-soft); display: grid; place-items: center; flex: 0 0 auto; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(30px, 5vw, 70px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.25fr; } }
.contact-card { border-radius: var(--radius); padding: 32px; background: var(--pickle); color: var(--dandelion); display: grid; gap: 22px; align-content: start; }
.contact-card a.big { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); word-break: break-word; }
.contact-card a.big:hover { color: var(--prunes); }
form.contact { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--prunes); background: transparent; border: 0; border-bottom: 2px solid rgba(84,69,102,.3);
  padding: 12px 2px; border-radius: 0; transition: border-color .3s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pickle); }
.row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .85rem; opacity: .75; }
.form-success { display: none; padding: 22px; border-radius: 20px; background: var(--pickle-soft); }
form.sent .form-success { display: block; }
.timeline-mini { display: grid; gap: 14px; counter-reset: t; }
.timeline-mini li { list-style: none; counter-increment: t; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.timeline-mini li::before { content: counter(t); width: 44px; height: 44px; border-radius: 50%; background: var(--dandelion); color: var(--prunes); display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; }
.timeline-mini { padding: 0; margin: 0; }

/* ---------- Misc decorative ---------- */
.doodle { position: absolute; pointer-events: none; z-index: 0; }
.spin-slow { animation: spin2d 22s linear infinite; }
@keyframes spin2d { to { transform: rotate(360deg); } }
.rotating-badge { width: clamp(110px, 12vw, 150px); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.rotating-badge svg { position: absolute; inset: 0; animation: spin2d 18s linear infinite; }
.rotating-badge img { width: 44%; }

.cursor-dot { position: fixed; z-index: 100; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--pickle); pointer-events: none; mix-blend-mode: multiply; transition: width .3s, height .3s, margin .3s, opacity .3s; opacity: 0; }
.cursor-dot.big { width: 70px; height: 70px; margin: -35px 0 0 -35px; opacity: .35; }
@media (hover: none) { .cursor-dot { display: none; } }

.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }
.center { text-align: center; }
.flex { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal, .split-words .w > span { opacity: 1; transform: none; }
}
