/* =========================================================
   AVILTER — Creative Ad Studio
   Brand guidelines v1.0: black & white only, Montserrat +
   IBM Plex Mono, sharp corners, 1.5px line icons.
   ========================================================= */
:root {
  /* Brand palette (exact) */
  --black: #000000;
  --raised: #0D0D0D;
  --line: #2B2B2B;
  --steel: #4A4A4A;
  --gray: #A6A6A6;
  --white: #FFFFFF;

  /* Light sections: soft matte off-white (never pure white) */
  --paper: #E9E7E3;
  --paper-2: #DCD9D4;
  --ink: #111111;
  --ink-2: #555555;

  /* Derived alphas of white / black only */
  --w-dim: rgba(255,255,255,.62);
  --w-faint: rgba(255,255,255,.12);
  --k-faint: rgba(0,0,0,.12);

  --ff: "Montserrat", system-ui, sans-serif;
  --fd: "Montserrat", system-ui, sans-serif;
  --fm: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--ff);
  color: var(--white);
  background: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.mono { font-family: var(--fm); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; line-height: 1.6; }
.small { font-size: 10.5px; }
.display { font-family: var(--fd); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; }
.gray { color: var(--gray); }
.steel { color: var(--gray); }
.dim { opacity: .55; }
.muted { color: var(--w-dim); }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }

/* Section label — mirrors the guideline headers: ■ LABEL */
.label { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: .22em; font-size: 11px; margin-bottom: 22px; }
.label::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
.section-title { font-size: clamp(34px, 5.4vw, 76px); }
.section-title.left { text-align: left; }
.sub { max-width: 470px; margin: 24px auto 0; color: var(--w-dim); font-size: 14px; }
.sub.left { margin-left: 0; }
h2, h2.display, h2.headline { line-height: 1.15; letter-spacing: -0.01em; }
.headline { font-family: var(--ff); font-weight: 600; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.03em; }

/* ---------- Buttons: sharp, mono caps, 48px ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 28px;
  font-family: var(--ff); font-weight: 600; font-size: 14px; letter-spacing: .02em; text-transform: none;
  white-space: nowrap; border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .ico { width: 16px; height: 16px; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-outline { color: var(--white); border-color: var(--gray); }
.btn-dark-fill { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color .4s, padding .4s;
}
.nav.scrolled { background: rgba(0,0,0,.6); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); padding-block: 10px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; letter-spacing: .32em; font-size: 14px; }
.brand-mark { width: 36px; height: 30px; color: var(--white); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { padding: 12px 0; font-family: var(--fm); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: left; bottom: 6px; transition: transform .35s var(--ease); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { height: 42px; padding: 0 20px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.97); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 0 var(--gutter);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.mobile-menu a:not(.btn) { font-family: var(--fd); font-weight: 700; font-size: 40px; letter-spacing: -.02em; text-transform: uppercase; line-height: 1.1; }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 760px);
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(95% 75% at 50% 42%, var(--raised) 0%, var(--black) 70%);
}
#beam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid {
  position: absolute; inset: auto 0 0 0; height: 46%; z-index: -2; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 104px var(--gutter) 128px; display: flex; flex-direction: column; align-items: center; }
/* Primary lockup — clear space X (¼ symbol height) kept free around it */
.hero-logo { width: clamp(132px, 13vw, 176px); height: auto; margin-bottom: clamp(34px, 4vw, 48px); }
.hero-title { font-size: clamp(42px, 8.2vw, 112px); }
.hero-title .line { display: block; }
.lede { max-width: 440px; margin-top: 28px; color: var(--w-dim); font-size: 15px; text-shadow: 0 2px 12px #000; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.hero-trust { margin-top: 18px; color: var(--gray); font-size: 10.5px; letter-spacing: .16em; opacity: 0; animation: rise 1.1s var(--ease) .95s forwards; }

.hero-title .line, .lede, .hero-cta, .hero-logo { opacity: 0; transform: translateY(30px); animation: rise 1.1s var(--ease) forwards; }
.hero-logo { animation-delay: .1s; }
.hero-title .line:nth-child(1) { animation-delay: .3s; }
.hero-title .line:nth-child(2) { animation-delay: .42s; }
.hero-title .line:nth-child(3) { animation-delay: .54s; }
.lede { animation-delay: .75s; } .hero-cta { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.platform { position: absolute; left: 50%; bottom: -60px; width: min(760px, 120vw); height: 220px; transform: translateX(-50%); z-index: 0; pointer-events: none; }
.platform::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255,255,255,.05) 60%, transparent);
  filter: blur(18px);
}
.platform i {
  position: absolute; left: 10%; right: 10%; top: 28%; height: 70px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7);
  box-shadow: 0 0 40px rgba(255,255,255,.25), inset 0 0 40px rgba(255,255,255,.15);
  animation: pulse 4s ease-in-out 1;
}
@keyframes pulse { 50% { opacity: .55; } }

.tiles { position: absolute; inset: 0; z-index: 1; pointer-events: none; perspective: 900px; }
.tile {
  --mx: 0; --my: 0; --s: 1;
  position: absolute; width: 104px; height: 104px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.02) 55%), var(--raised);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 14px 22px 40px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.4);
  transform: translate3d(calc(var(--mx) * 1px), calc(var(--my) * 1px), 0) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)) scale(var(--s));
  animation: bob 7s ease-in-out 1;
  transition: transform .9s var(--ease);
}
.tile span { font-family: var(--fd); font-weight: 700; font-size: 34px; letter-spacing: .04em; color: var(--white); }
.tile .ico { width: 44%; height: 44%; color: var(--white); stroke-width: 1.2; }
.tile.dark { background: linear-gradient(150deg, var(--line), var(--black)); opacity: .8; }
.t1 { --rx: 18deg; --ry: -24deg; --rz: -10deg; top: 16%; left: 7%; }
.t2 { --rx: -12deg; --ry: 30deg; --rz: 12deg; top: 20%; right: 8%; width: 120px; height: 92px; }
.t3 { --rx: 22deg; --ry: 18deg; --rz: -6deg; bottom: 22%; right: 13%; width: 128px; height: 128px; animation-delay: -2s; }
.t4 { --rx: -16deg; --ry: -28deg; --rz: 8deg; bottom: 26%; left: 11%; width: 116px; height: 116px; animation-delay: -4s; }
.t5 { --rx: 30deg; --ry: 30deg; --rz: 20deg; top: 52%; left: 2%; width: 70px; height: 70px; animation-delay: -1s; }
.t6 { --rx: -24deg; --ry: -18deg; --rz: -18deg; top: 50%; right: 3%; width: 64px; height: 64px; animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -14px; } }

.hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; display: flex; justify-content: space-between; color: var(--gray); font-size: 10.5px; z-index: 3; }
.sq { display: inline-flex; align-items: center; gap: 10px; }
.sq::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.scroll-hint { animation: blink 2.4s ease-in-out 1; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- Hero: two concept images ---------- */
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: min(600px, 100%); margin-top: 52px; opacity: 0; transform: translateY(30px); animation: rise 1.1s var(--ease) 1.05s forwards; }
.hero-work { margin: 0; min-width: 0; }
.hero-work-btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--steel); background: var(--raised); cursor: zoom-in; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(0,0,0,.6), 0 0 0 7px var(--line), 0 40px 80px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(255,255,255,.12); transition: border-color .3s; }
.hero-work-btn img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s var(--ease); }
.hero-work-zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--white); color: var(--black); }
.hero-work-zoom .ico { width: 16px; height: 16px; }
.hero-work figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; color: var(--gray); font-size: 10px; text-align: left; }
.hero-work figcaption span:last-child { color: var(--white); }

/* ---------- Concept work ---------- */
.work { padding: clamp(88px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.work { overflow: hidden; }
.work-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 56px var(--gutter) 10px; scroll-padding-inline: var(--gutter); cursor: grab; outline: none;
}
.work-track:focus-visible { outline: 1px solid var(--white); outline-offset: -1px; }
.work-track::-webkit-scrollbar { display: none; }
.work-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.work-track.dragging * { pointer-events: none; user-select: none; }
.work-track .concept { flex: 0 0 min(360px, 78vw); scroll-snap-align: start; }
.work-controls { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.work-bar { flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.work-bar span { display: block; height: 100%; width: 20%; background: var(--white); transition: transform .2s linear; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 48px; height: 48px; border: 1px solid var(--gray); color: var(--white); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.arrow .ico { width: 18px; height: 18px; }
.arrow:active { transform: scale(.94); }
.concept { position: relative; margin: 0; background: var(--black); outline: 1px solid var(--line); }
.concept-open { display: block; width: 100%; padding: 0; border: 0; background: var(--raised); cursor: zoom-in; overflow: hidden; position: relative; }
.concept-open img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.concept-open .hero-work-zoom { opacity: 0; transition: opacity .3s; }
.concept-open:focus-visible .hero-work-zoom { opacity: 1; }
.concept-open:focus-visible { outline: 1px solid var(--white); outline-offset: -4px; }
.concept figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.concept h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.concept figcaption .mono { color: var(--gray); font-size: 10px; white-space: nowrap; }

/* ---------- Sections ---------- */
.dark-sec { background: var(--black); color: var(--white); }
main > section + section { border-top: 1px solid var(--line); }
main > section.light, main > section.light + section { border-top: 0; }
.light { background: var(--paper); color: var(--ink); }
/* soft 120px fade where black meets off-white (extra padding keeps text out of the fade) */
.light.fade-top { background: linear-gradient(to bottom, var(--black) 0, var(--paper) 120px); padding-top: clamp(170px, 15vw, 210px); }
.light.fade-bottom { background: linear-gradient(to bottom, var(--paper) calc(100% - 120px), var(--black) 100%); padding-bottom: clamp(170px, 15vw, 210px); }
.light.fade-top.fade-bottom { background: linear-gradient(to bottom, var(--black) 0, var(--paper) 120px, var(--paper) calc(100% - 120px), var(--black) 100%); }
/* readable text on off-white */
.light .gray, .light .steel { color: var(--ink-2); }
.light .label { color: var(--ink); }
.light .sub, .light .muted { color: var(--ink-2); }
.light .btn-light { border-color: var(--ink); }

/* ---------- Impact ---------- */
.impact { position: relative; padding: clamp(88px, 10vw, 144px) 0; overflow: hidden; }
.stripes {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 15px, rgba(0,0,0,.05) 15px 16px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 45%, transparent 70%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 45%, transparent 70%, #000 100%);
}
.impact-wrap { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.impact-title { font-size: clamp(40px, 5.8vw, 84px); color: var(--ink); }
.impact-title .gray { color: var(--ink-2); }
.impact-note { margin-top: 32px; max-width: 360px; line-height: 1.7; color: var(--ink-2); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 20px 20px 16px; min-height: 208px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--ease); }
.stat header { display: flex; justify-content: space-between; gap: 10px; }
.stat header .mono { font-size: 11px; line-height: 1.35; }
.stat-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid currentColor; }
.stat-ico .ico { width: 18px; height: 18px; }
.stat-num { font-size: clamp(48px, 5vw, 72px); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-black { grid-column: 2; grid-row: 1; background: var(--black); color: var(--white); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.stat-steel { grid-column: 1; grid-row: 2; background: var(--steel); color: var(--white); }
.stat-white { grid-column: 2; grid-row: 2; background: var(--paper-2); color: var(--ink); border: 1px solid var(--ink); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-top { align-items: start; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(96px, 11vw, 152px) 0; overflow: hidden; }
.manifesto-art { position: relative; height: 520px; }
.draw-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#drawPath { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
#drawDot { fill: var(--ink); }
.float-card { position: absolute; z-index: 1; width: 196px; background: var(--paper-2); padding: 0 0 16px; border: 1px solid var(--ink); box-shadow: 0 30px 60px -24px rgba(0,0,0,.3), 0 8px 16px -8px rgba(0,0,0,.15); transform: perspective(800px) rotateY(14deg) rotateX(4deg); transition: transform .8s var(--ease); }
.float-card p, .float-card h4 { padding: 0 14px; }
.float-card .mono { font-size: 9.5px; color: var(--ink-2); margin-top: 12px; }
.float-card .mono.dim { margin-top: 2px; }
.float-card h4 { font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ink); }
.fc-img { display: block; width: 100%; height: 150px; object-fit: cover; border-bottom: 1px solid var(--ink); }
.fc1 { top: 14%; left: 0; }
.fc2 { bottom: 6%; right: 6%; transform: perspective(800px) rotateY(-16deg) rotateX(6deg); }
.manifesto-copy p { color: var(--ink-2); font-size: 15px; max-width: 460px; margin-top: 16px; }
.manifesto-copy p b { color: var(--ink); font-weight: 600; }
.kicker { margin: 20px 0 10px; color: var(--ink-2) !important; letter-spacing: .25em !important; font-size: 11px !important; }

/* ---------- Services ---------- */
.services { padding: clamp(96px, 11vw, 152px) 0; }
.services-head { position: sticky; top: 112px; }
.services-head .btn { margin-top: 32px; }
.service-list { list-style: none; border-top: 1px solid var(--line); }
.service-list li { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); position: relative; }
.service-list li > div { transition: transform .45s var(--ease); }
.service-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; background: var(--white); transform: translateY(-50%) scale(0); transition: transform .4s var(--ease); }
.service-list h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.service-list p { font-size: 13.5px; color: var(--w-dim); margin-top: 4px; max-width: 420px; line-height: 1.6; }
.service-list .mono { color: var(--gray); padding-top: 4px; }
.service-list-more { border-top: 0; }
.more-services > summary { list-style: none; margin-top: 28px; cursor: pointer; }
.more-services > summary::-webkit-details-marker { display: none; }
.more-services[open] > summary { display: none; }

/* ---------- Process ---------- */
.process { padding: clamp(96px, 11vw, 152px) 0; }
.process-head { position: sticky; top: 112px; }
.process-head .muted { margin-top: 20px; max-width: 360px; font-size: 15px; }
.steps { list-style: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; padding: 28px 0; border-bottom: 1px solid var(--paper-2); }
.steps li:first-child { border-top: 1px solid var(--paper-2); }
.steps .mono { padding-top: 6px; color: var(--ink-2); font-weight: 500; }
.steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); font-size: 14px; margin-top: 4px; max-width: 440px; line-height: 1.65; }

/* ---------- Honest note ---------- */
.note { padding: clamp(80px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.note-inner { max-width: 760px; text-align: center; }
.note .headline { font-size: clamp(26px, 3.4vw, 42px); }
.note p { margin: 22px auto 0; max-width: 600px; color: var(--w-dim); font-size: 16px; }

/* ---------- Offer ---------- */
.pricing {
  padding: clamp(96px, 11vw, 144px) 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--black);
  position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line);
}
.pricing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 45%, rgba(0,0,0,.4), var(--black) 85%); }
.offer-card {
  max-width: 560px; margin-inline: auto; padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(180deg, #151515, var(--raised) 45%); border: 1.5px solid var(--white);
  box-shadow: 0 0 0 6px var(--black), 0 0 0 7px var(--line), 0 50px 100px -40px rgba(255,255,255,.14), 0 30px 60px -20px rgba(0,0,0,.9);
}
.offer-card .label { color: var(--gray); margin-bottom: 14px; }
.offer-title { font-size: clamp(32px, 4.4vw, 52px); }
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.offer-num { font-size: clamp(56px, 8vw, 88px); font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.offer-cur { font-family: var(--fm); font-weight: 500; font-size: 15px; letter-spacing: .2em; color: var(--gray); }
.offer-compare { margin-top: 14px; color: var(--w-dim); font-size: 14px; line-height: 1.6; }
.offer-inc { color: var(--gray); font-size: 10.5px; margin-bottom: 16px; }
.offer-terms { color: var(--white); font-size: 11px; margin-bottom: 6px; }
.offer-assure { color: var(--w-dim); font-size: 13px; line-height: 1.5; margin-bottom: 22px; }
.plan-feats { list-style: none; display: grid; gap: 12px; }
.plan-feats li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); }
.plan-feats .ico { width: 18px; height: 18px; padding: 3px; margin-top: 2px; color: var(--black); background: var(--white); stroke-width: 2.2; }
.plan-rule { border: 0; border-top: 1px solid var(--line); margin: 28px 0 24px; }
.plan-btn { width: 100%; }

/* ---------- Free sample ---------- */
.sample { padding: clamp(96px, 11vw, 150px) 0; }
.sample-inner { max-width: 820px; text-align: center; }
.sample-text { margin: 26px auto 14px; max-width: 540px; color: var(--ink-2); font-size: 16px; }

.sample-small { margin-bottom: 30px; color: var(--ink-2); font-size: 10.5px; letter-spacing: .16em; }

/* ---------- Closing line above the pixel logo ---------- */
.next { padding: clamp(96px, 11vw, 150px) 0 clamp(56px, 7vw, 88px); text-align: center; }
.next-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.next-title { font-size: clamp(32px, 5.2vw, 68px); max-width: 16ch; }

/* ---------- Footer: pixel signature + social row ---------- */
.footer { background: var(--black); }
.sig { position: relative; height: 100vh; min-height: 560px; border-top: 1px solid var(--line); overflow: hidden; }
.sig canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* top is set by signature.js to 48px under the word; bottom fallback if JS is off */
.sig-below { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; flex-direction: column; align-items: center; padding-inline: var(--gutter); z-index: 1; }
.sig-below.placed { bottom: auto; }
.foot-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 40px; font-size: 11px; transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s linear 0s; }
.foot-social.is-waiting { opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; }
.foot-social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--w-dim); transition: color .3s; }
.foot-social a span { position: relative; }
.foot-social a span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.foot-social a:focus-visible { color: var(--white); }
.foot-social a:focus-visible span::after { transform: scaleX(1); }
.foot-social a:active { opacity: .7; }
.foot-social .ico { width: 18px; height: 18px; }
.foot-bot { margin-top: 32px; font-size: 10.5px; color: var(--steel); text-align: center; }

/* ---------- Floating WhatsApp (mobile only) ---------- */
.wa-float { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 72px 16px 32px; background: rgba(0,0,0,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: zoom-out; opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; pointer-events: none; }
.lb-figure img, .lb-figure figcaption { pointer-events: auto; cursor: default; }
.lb-figure img { display: block; max-width: min(1200px, 100%); max-height: calc(100vh - 160px); max-height: calc(100svh - 160px); width: auto; height: auto; min-width: 0; min-height: 0; object-fit: contain; border: 1px solid var(--line); transform: scale(.97); transition: transform .4s var(--ease); }
.lightbox.open .lb-figure img { transform: none; }
.lb-figure figcaption { color: var(--gray); font-size: 10.5px; text-align: center; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gray); color: var(--white); background: var(--black); transition: background-color .3s, color .3s; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hover (mouse / trackpad only, so taps never stick) ---------- */
@media (hover: hover) and (pointer: fine) {
  .arrow:hover { background: var(--white); color: var(--black); border-color: var(--white); }
  .btn:hover { transform: translateY(-2px); }
  .btn-light:hover { background: var(--gray); border-color: var(--gray); }
  .btn-outline:hover { border-color: var(--white); background: var(--white); color: var(--black); }
  .btn-dark-fill:hover { background: var(--steel); border-color: var(--steel); }
  .nav-links a:hover { color: var(--white); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .hero-work-btn:hover { border-color: var(--white); }
  .hero-work-btn:hover img { transform: scale(1.04); }
  .concept-open:hover img { transform: scale(1.04); }
  .concept-open:hover .hero-work-zoom { opacity: 1; }
  .float-card:hover { transform: perspective(800px) rotateY(0) rotateX(0) translateY(-6px); }
  .service-list li:hover > div { transform: translateX(12px); }
  .service-list li:hover::before { transform: translateY(-50%) scale(1); }
  .foot-social a:hover { color: var(--white); }
  .foot-social a:hover span::after { transform: scaleX(1); }
  .lb-close:hover { background: var(--white); color: var(--black); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .impact-wrap, .split { grid-template-columns: 1fr; }
  .services-head, .process-head { position: static; }
  .manifesto-art { height: 400px; order: 2; }
  .t5, .t6 { display: none; }
}
@media (max-width: 768px) {
  .wa-float {
    position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px;
    display: grid; place-items: center; background: var(--white); color: var(--black);
    box-shadow: 0 0 0 1px var(--black), 0 14px 30px -8px rgba(0,0,0,.7);
    transition: transform .35s var(--ease), opacity .3s;
  }
  .wa-float .ico { width: 26px; height: 26px; }
  .wa-float:active { transform: scale(.94); }
  body.menu-open .wa-float, body.lb-open .wa-float, body.wa-visible .wa-float { opacity: 0; pointer-events: none; }
  /* shorter page on phones */
  .hero-pair { grid-template-columns: 1fr; width: min(320px, 100%); }
  .hero-pair .hero-work:nth-child(2) { display: none; }
  .sig { height: 35vh; min-height: 250px; }
  /* keep the floating WhatsApp button off the last content */
  main > section:last-child, .footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .tile { width: 60px !important; height: 60px !important; }
  .tile span { font-size: 20px !important; }
  .t1 { top: 11%; left: 4%; } .t2 { top: 13%; right: 4%; }
  .t3 { bottom: 2.5%; right: 5%; } .t4 { bottom: 3.5%; left: 5%; }
  .hero-inner { padding-bottom: 150px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-black, .stat-steel, .stat-white { grid-column: auto; grid-row: auto; }
  .stat { min-height: 164px; }
  .work-controls { gap: 16px; }
  .hero-pair { grid-template-columns: 1fr; width: min(320px, 100%); gap: 28px; }
  .lede { text-shadow: 0 0 6px #000, 0 2px 14px #000; }
  .hero-foot span:first-child, .hero-foot span:last-child { display: none; }
  .hero-foot { justify-content: center; }
  .btn { padding: 0 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .manifesto-art { height: 440px; }
  .float-card { width: 160px; }
  .fc-img { height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-property: opacity, color, background-color, border-color !important;
    transition-duration: .2s !important;
    transition-timing-function: ease !important;
  }
  /* things that normally rise in: just fade (or show) without moving */
  .reveal, .reveal.in { transform: none !important; }
  .hero-title .line, .lede, .hero-cta, .hero-logo, .hero-pair { opacity: 1; transform: none; }
  .foot-social.is-waiting { transform: none; }
  .lb-figure img { transform: none !important; }
}
