@font-face {
  font-family: "Bricolage Grotesque";
  src: url(assets/fonts/bricolage-grotesque.woff2) format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --paper: #f5f7ee;
  --ink: #20201f;
  --lime: #c0ff42;
  --lavender: #b8a5f9;
  --coral: #ff764f;
  --sky: #8ecde9;
  --yellow: #f7e255;
  --violet: #5b3df5;
  /* side gutter that also caps the content width on very wide screens */
  --gutter: max(clamp(1rem, 4vw, 4rem), calc((100vw - 100rem) / 2));
  --line: 1.5px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

/* No smooth scrolling on purpose: a menu click lands on its section directly
   instead of dragging the visitor through every pinned scene on the way. */
html { scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.5 "Bricolage Grotesque", system-ui, sans-serif;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; }

h2 {
  font-size: clamp(2.6rem, 7vw, 6.75rem);
  font-weight: 800;
  font-stretch: 88%;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lead { font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em; }

.skip {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--paper); border-radius: 999px;
}
.skip:focus { top: 1rem; }

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0 1.2rem;
  border: var(--line); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-size: 1.0625rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--lime); color: var(--ink); }
.btn-lime { background: var(--lime); }
.btn-lime:hover { background: var(--ink); color: var(--lime); }
.btn-big { min-height: 3.5rem; padding: 0 1.75rem; font-size: 1.125rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.text-link { font-weight: 700; color: inherit; background: none; border: 0; padding: 0; font-size: inherit; font-family: inherit; text-decoration: underline; cursor: pointer; text-underline-offset: 0.25em; text-decoration-thickness: 1.5px; }
.text-link:hover { text-decoration-thickness: 3px; }

/* ---------- floating bar ---------- */

.bar {
  position: fixed; z-index: 50;
  top: 0.75rem; left: var(--gutter); right: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 3.75rem; padding: 0 0.5rem 0 1.4rem;
  background: var(--paper); border: var(--line); border-radius: 999px;
}
.wordmark { display: inline-flex; align-items: center; font-size: 1.5rem; font-weight: 300; letter-spacing: -0.04em; text-decoration: none; }
.wordmark b { font-weight: 800; }
.mark { fill: currentColor; }
.wordmark .mark { flex: none; width: 1.1em; height: 1.1em; margin-right: 0.35em; }
.foot-line .mark { display: block; width: 4.5rem; margin: 0 0 1.5rem -0.25rem; color: var(--lime); }
.bar-links { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); }
.bar-links a { font-size: 1.0625rem; font-weight: 600; text-decoration: none; }
.bar-links a:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.bar-end { display: flex; gap: 0.4rem; }
.bar-menu { display: none; }

.menu {
  inset: 5rem var(--gutter) auto auto; margin: 0;
  padding: 0.5rem; min-width: 14rem;
  background: var(--paper); border: var(--line); border-radius: 1.25rem;
}
.menu a { display: block; padding: 0.8rem 1rem; border-radius: 0.8rem; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.menu a:hover { background: var(--lime); }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  padding: 7rem var(--gutter) clamp(1.5rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
}

.hero h1 {
  position: relative;
  margin-top: auto;
  font-size: clamp(3.3rem, 12.5vw, 14rem);
  font-stretch: 88%;
  line-height: 0.84;
}
.hero h1 > span { display: block; white-space: nowrap; }
/* The idea is drawn thin; the real thing lands heavy. */
.h-idea { font-weight: 200; letter-spacing: -0.035em; }
.h-idea i { font-style: normal; transition: font-weight 0.3s; }
.h-real { font-weight: 800; letter-spacing: -0.035em; }

.hero-foot {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 27rem) auto; justify-content: start; align-items: end;
  gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* Hero art: four socials fly into one page, then the page pops the buttons customers press. One 7s loop. */
.merge {
  position: absolute; top: 5.5rem; right: var(--gutter);
  width: clamp(15rem, 36vw, 36rem); aspect-ratio: 1;
}
.page {
  position: absolute; left: 30%; top: 14%; width: 40%; height: 72%;
  display: flex; flex-direction: column; gap: 3.5%; padding: 7% 7%;
  background: var(--paper); border: var(--line); border-radius: 1.2rem;
  box-shadow: 0.6rem 0.6rem 0 var(--ink);
  animation: page-pulse 7s ease-in-out infinite;
}
.page-bar { height: 4%; width: 45%; border-radius: 99px; background: var(--ink); }
.page-pic { height: 24%; border-radius: 0.6rem; background: linear-gradient(135deg, var(--lime), var(--sky)); border: var(--line); }
.page-line { height: 3.5%; border-radius: 99px; background: rgb(32 32 31 / 0.25); }
.page-line.short { width: 60%; }
.page-btn {
  display: grid; place-items: center; height: 10.5%; flex: none;
  border: var(--line); border-radius: 99px; background: var(--lime);
  font-size: clamp(0.7rem, 1.25vw, 1.15rem); font-weight: 800;
  animation: pop 7s cubic-bezier(0.3, 1.6, 0.5, 1) infinite;
}
.page-btn.b2 { background: var(--coral); animation-delay: 0.18s; }
.page-btn.b3 { background: var(--yellow); animation-delay: 0.36s; }
.soc {
  position: absolute; width: 19%; overflow: visible;
  filter: drop-shadow(0.25rem 0.25rem 0 var(--ink));
  animation: fly 7s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
.soc-fb { left: 0; top: 4%; --dx: 150%; --dy: 130%; }
.soc-ig { right: 0; top: 0; --dx: -150%; --dy: 150%; animation-delay: 0.15s; }
.soc-tt { left: 2%; bottom: 6%; --dx: 150%; --dy: -140%; animation-delay: 0.3s; }
.soc-yt { right: 0; bottom: 4%; --dx: -150%; --dy: -130%; animation-delay: 0.45s; }
@keyframes fly {
  0%, 12% { translate: 0 0; scale: 1; opacity: 1; rotate: 0deg; }
  20%, 25% { translate: calc(var(--dx) * 0.15) calc(var(--dy) * 0.15); scale: 1.08; rotate: -6deg; }
  40% { translate: var(--dx) var(--dy); scale: 0.2; opacity: 0; rotate: 20deg; }
  88% { translate: 0 0; scale: 0.4; opacity: 0; }
  100% { translate: 0 0; scale: 1; opacity: 1; rotate: 0deg; }
}
@keyframes page-pulse {
  0%, 38%, 52%, 100% { scale: 1; }
  44% { scale: 1.06; }
}
@keyframes pop {
  0%, 44% { scale: 0; opacity: 0; }
  52%, 86% { scale: 1; opacity: 1; }
  94%, 100% { scale: 0; opacity: 0; }
}
@keyframes realize { from { font-weight: 200; } }

/* ---------- Google can't read Facebook ---------- */

.seen { padding: clamp(5rem, 11vw, 10rem) var(--gutter); background: var(--ink); color: var(--paper); }
.seen h2 { max-width: 14ch; }
.seen h2 { color: var(--lime); }
.serps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 3rem); }
.serp { margin: 0; }
.serp figcaption { margin-bottom: 0.9rem; font-weight: 700; font-size: 1.15rem; }
.serp-card {
  display: grid; gap: 0.55rem; align-content: start; min-height: 15rem;
  padding: clamp(1.25rem, 2.5vw, 2rem); border-radius: 1.2rem;
  background: #fff; color: #202124; font-family: Arial, system-ui, sans-serif;
}
.serp-url { font-size: 0.9rem; color: #4d5156; }
.serp-title { font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: #1a0dab; line-height: 1.3; }
.serp-text { font-size: 1rem; color: #4d5156; line-height: 1.5; }
.serp-gap { height: 0.8rem; border-radius: 99px; background: repeating-linear-gradient(90deg, #eceff1 0 1.5rem, transparent 1.5rem 2rem); }
.serp-gap.short { width: 55%; }
.serp-miss { margin-top: auto; padding-top: 1rem; font: 800 1.15rem/1.3 "Bricolage Grotesque", sans-serif; color: #b3261e; }
.serp-fb .serp-card { background: #e8e8e6; }
.serp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.serp-chips li {
  padding: 0.45rem 0.95rem; border-radius: 99px; border: 1px solid #dadce0;
  font-size: 0.95rem; color: #1a0dab; background: #f8f9fa;
}
.serp-chips li:first-child { background: var(--lime); border-color: var(--ink); color: var(--ink); font-weight: 700; }
/* the good result fills itself in as it scrolls into view; browsers without scroll timelines just show it */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .serp-chips li { animation: pop-in linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
    .serp-chips li:nth-child(2) { animation-range: entry 50% cover 45%; }
    .serp-chips li:nth-child(3) { animation-range: entry 60% cover 50%; }
    .serp-chips li:nth-child(4) { animation-range: entry 70% cover 55%; }
  }
}
@keyframes pop-in { from { opacity: 0; scale: 0.4; } }

/* ---------- section scaffolding ---------- */

.services { padding: clamp(5rem, 11vw, 10rem) var(--gutter); }
/* These sections open with generous padding of their own, so a menu jump can land them higher:
   the heading still clears the floating bar, and less of the section above is left showing. */
.way, .services, .contact { scroll-margin-top: -4rem; }

.sec-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.sec-head p { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.4; max-width: 34rem; }

/* Both pinned stages (ELISA, Work): the stage sticks while its tall parent scrolls by. */
.is-live .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- ELISA ---------- */

.way { padding-top: clamp(5rem, 11vw, 10rem); }
.way .sec-head { padding: 0 var(--gutter); }

/* Default: five stacked panels (no JS, reduced motion, or a very short screen). */
.scene {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  background: var(--bg);
}
.scene-glyph { order: 2; font-size: clamp(9rem, 32vw, 26rem); font-weight: 800; line-height: 0.75; letter-spacing: -0.04em; }
.scene-copy { display: grid; gap: 1.25rem; justify-items: start; max-width: 31rem; }
.scene-word { font-size: 1.3rem; font-weight: 700; }
.scene h3 {
  font-size: clamp(2.5rem, 5.6vw, 5.5rem); font-weight: 800; font-stretch: 88%;
  line-height: 0.95; letter-spacing: -0.025em;
}
.scene-copy > p:not([class]) { font-size: 1.3rem; line-height: 1.4; max-width: 27rem; }
.elisa canvas, .letters, .scene-you { display: none; }

/* Live: one pinned stage, the canvas draws the letters, scroll position picks the scene. */
.elisa.is-live { height: 650vh; }
.elisa.is-live .stage { background: #c0ff42; }
.is-live canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.is-live .scene {
  position: absolute; inset: 0;
  padding-block: 6rem 6.5rem; background: none;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.is-live .scene.is-on { opacity: 1; }
.is-live .scene.is-on .scene-copy { pointer-events: auto; }
.is-live .scene-glyph { display: none; }

/* The sixth scene: the visitor's own brand, lime dots on ink. */
.is-live .scene-you { display: grid; color: var(--paper); }
.scene-you :focus-visible { outline-color: var(--lime); }
.you-field { width: min(100%, 22rem); }
.field.you-field input { font-size: 1.3rem; font-weight: 700; }

.is-live .letters { display: flex; gap: 0.4rem; position: absolute; z-index: 1; left: var(--gutter); bottom: 1.5rem; }
.letters button {
  min-width: 2.9rem; height: 2.9rem; padding: 0 1rem;
  border: var(--line); border-radius: 999px; background: transparent;
  font-size: 1.1rem; font-weight: 800;
}
.letters button:hover, .letters [aria-current] { background: var(--ink); color: var(--paper); }
.letters span { display: none; }
.letters [aria-current] span { display: inline; }
.stage:has(.scene-you.is-on) .letters button { border-color: var(--paper); color: var(--paper); }
.stage:has(.scene-you.is-on) .letters :is(button:hover, [aria-current]) { background: var(--paper); color: var(--ink); }

/* ---------- services ---------- */

.offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.offer h3 {
  margin-bottom: 1.75rem;
  font-size: clamp(4.5rem, 13vw, 13rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em;
}
/* Build stands square and solid; Motion leans into its next frame. */
.offer-build h3 { font-stretch: 75%; letter-spacing: -0.02em; }
.offer-motion h3 { font-weight: 300; transform: skewX(-12deg); transform-origin: bottom left; }
.offer li { padding: 1rem 0; border-top: var(--line); font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -0.01em; }
.offer li:last-child { border-bottom: var(--line); }

.process { margin-top: clamp(4rem, 9vw, 8rem); }
.process > h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 2rem; }
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 3rem); counter-reset: step; }
.process li { counter-increment: step; }
.process li::before {
  content: counter(step); display: block;
  font-size: clamp(4rem, 8vw, 8rem); line-height: 0.9; letter-spacing: -0.05em; font-weight: 200;
  margin-bottom: 1rem;
}
/* the numerals thicken as the idea becomes real */
.process li:nth-child(2)::before { font-weight: 400; }
.process li:nth-child(3)::before { font-weight: 600; }
.process li:nth-child(4)::before { font-weight: 800; }
.grow {
  margin-top: clamp(3rem, 6vw, 5rem); padding: 1.4rem 1.6rem; max-width: 52rem;
  border: 1.5px dashed var(--ink); border-radius: 1.2rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}
.grow b { font-weight: 800; }
.process h4 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.3rem; }

/* ---------- work ---------- */

/* The stage carries its own clearance for the floating bar, so "Work" in the menu lands with it
   pinned edge to edge: the negative margin cancels the page-wide scroll padding. */
.work { background: var(--ink); color: var(--paper); scroll-margin-top: -5.5rem; }
.work :focus-visible { outline-color: var(--lime); }
.work .stage { padding: 6.5rem var(--gutter) 3rem; }
.work h2 { margin-bottom: 2rem; font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 700; font-stretch: 100%; line-height: 1.2; letter-spacing: -0.02em; }

/* Default: a plain list (no JS, reduced motion, or a very short screen). */
.project {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding: 2.5rem 0; border-top: 1px solid rgb(245 247 238 / 0.3);
}
.p-info { display: grid; gap: 0.75rem; justify-items: start; }
.p-info h3 {
  display: flex; align-items: center; gap: 0.3em 0.75rem; flex-wrap: wrap;
  font-size: clamp(2.2rem, 4.6vw, 4.25rem); font-weight: 800; font-stretch: 88%;
  line-height: 1; letter-spacing: -0.025em;
}
.p-icon { width: 1.15em; height: 1.15em; border-radius: 24%; }
.p-info p { font-size: 1.3rem; line-height: 1.35; max-width: 25rem; }
.p-info .p-fine { font-size: 1rem; }
.tag {
  padding: 0.3em 0.8em; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  font-size: 0.95rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0;
}
.p-media { position: relative; display: flex; justify-content: center; align-items: center; gap: 4%; }
.p-media img { min-width: 0; max-height: 26rem; width: auto; border-radius: 0.9rem; }
.p-media img:has(+ img), .p-media img + img { max-width: 48%; }
.film-open { position: absolute; left: 1rem; bottom: 1rem; border-color: var(--ink); }
.film-open small { margin-left: 0.6rem; font-size: 0.85em; font-weight: 400; }
.rail { display: none; }

/* Live: one pinned screen. The symbols are the way around, the picture gathers out of dots. */
.work .pin.is-live { height: 450vh; }
@media (max-width: 47.5rem) { .elisa.is-live { height: 300vh; } .work .pin.is-live { height: 250vh; } }
.work .is-live .stage {
  display: grid; column-gap: clamp(2rem, 5vw, 5rem);
  grid-template: "head media" auto ". media" 1fr "rail media" auto "info media" auto ". media" 1.5fr / minmax(0, 5fr) minmax(0, 7fr);
}
.work .is-live h2 { grid-area: head; margin: 0; }
.is-live .rail { grid-area: rail; display: flex; align-items: end; gap: 0.6rem; height: 4.5rem; margin-bottom: 1.5rem; }
.rail button {
  width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 24%; overflow: hidden;
  background: none; opacity: 0.45;
  transition: width 0.25s, height 0.25s, opacity 0.25s;
}
.rail button:hover { opacity: 0.85; }
.rail [aria-current] { width: 4.5rem; height: 4.5rem; opacity: 1; }
.rail .p-icon { width: 100%; height: 100%; border-radius: 0; }

/* Each project's two halves drop into the same two cells of the stage and take turns. */
.is-live .project { display: contents; }
.is-live .project > * { opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.is-live .project.is-on > * { opacity: 1; pointer-events: auto; }
.is-live .p-info { grid-area: info; align-self: start; }
.is-live .p-media {
  grid-area: media; align-self: center; justify-self: center;
  /* --g runs 0..1 as the scene arrives (app.js). Dots swell from nothing until they overlap,
     while a solid front crosses from the bottom right: the ElisaLabs symbol, played on a picture. */
  --cell: clamp(0.75rem, 1.25vw, 1.15rem);
  mask:
    linear-gradient(to top left, #000 calc(var(--g, 1) * 160% - 55%), transparent calc(var(--g, 1) * 160% - 45%)),
    radial-gradient(circle, #000 calc(var(--g, 1) * 0.75 * var(--cell) - 1px), transparent calc(var(--g, 1) * 0.75 * var(--cell))) 0 0 / var(--cell) var(--cell);
}
.is-live .p-media img { max-height: min(66svh, 40rem); }

/* ---------- contact ---------- */

.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 7rem);
  padding: clamp(5rem, 11vw, 10rem) var(--gutter);
  background: var(--lime);
}
.contact h2 { font-size: clamp(3.6rem, 10vw, 10rem); line-height: 0.86; }
.contact-intro .lead { margin: 2rem 0 1.5rem; max-width: 26rem; }
.contact-intro li { padding: 0.9rem 0; border-top: var(--line); max-width: 26rem; font-weight: 600; }

.brief { display: grid; gap: 1.5rem; align-content: start; }
.brief fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.brief legend, .field { font-weight: 700; }
.brief legend { margin-bottom: 0.75rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }

.chip {
  position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem;
  border: var(--line); border-radius: 999px; font-weight: 700; cursor: pointer;
}
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:has(:checked) { background: var(--ink); color: var(--lime); }
.chip:has(:focus-visible) { outline: 2.5px solid var(--violet); outline-offset: 2px; }

.field input, .field textarea {
  display: block; width: 100%; margin-top: 0.5rem; padding: 0.85rem 1rem;
  border: var(--line); border-radius: 0.8rem; background: var(--paper);
  font: inherit; font-weight: 400; color: var(--ink); resize: vertical;
}
.field ::placeholder { color: var(--ink); opacity: 0.5; }
/* The focus ring is drawn inside the field's own box, on top of its border:
   same size, same corners, never touching the label above. */
.field input:focus-visible, .field textarea:focus-visible { outline: 2.5px solid var(--violet); outline-offset: -2.5px; }

/* Idea starters are dashed: still a sketch until the visitor picks one up. */
.starters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: -0.5rem; }
.starters p { flex-basis: 100%; font-size: 1rem; }
.starters button {
  min-height: 2.5rem; padding: 0.3rem 1rem; border: 1.5px dashed var(--ink); border-radius: 999px;
  background: none; font-size: 1rem; font-weight: 600; text-align: left;
}
.starters button:hover { border-style: solid; background: var(--ink); color: var(--lime); }

.field small { font-weight: 400; opacity: 0.7; }
.hp { position: absolute; left: -9999px; }
.brief-send { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.brief-send p { flex: 1 1 14rem; font-size: 1rem; line-height: 1.35; }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: var(--paper); padding: clamp(3rem, 7vw, 6rem) var(--gutter) 1.5rem; overflow: clip; }
.foot :focus-visible { outline-color: var(--lime); }
.foot-top { display: flex; justify-content: space-between; align-items: start; gap: 2rem; flex-wrap: wrap; }
.foot-line { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.foot nav { display: grid; grid-template-columns: auto auto; gap: 0.6rem 2.5rem; }
.foot nav a, .foot nav button { padding: 0; border: 0; background: none; text-align: left; font-weight: 600; text-decoration: none; }
.foot nav :is(a, button):hover { color: var(--lime); }
.foot-mark {
  margin: clamp(2rem, 6vw, 5rem) 0 0 -0.04em;
  font-size: min(27vw, 30rem); font-weight: 200; font-stretch: 88%;
  line-height: 0.8; letter-spacing: -0.03em; color: var(--lime); white-space: nowrap;
}
.foot-mark b { font-weight: 800; }
.foot-base { margin-top: 2rem; font-size: 1rem; }
.foot-base span { margin-left: 0.5rem; }

/* ---------- privacy sheet and film dialog ---------- */

.sheet {
  max-width: min(30rem, calc(100vw - 2rem)); padding: 2rem;
  background: var(--paper); color: var(--ink); border: var(--line); border-radius: 1.5rem;
}
.sheet h2 { font-size: 2rem; margin-bottom: 1rem; }
.sheet p { margin-bottom: 1rem; }
.sheet::backdrop, .film::backdrop { background: rgb(32 32 31 / 0.7); }

.film { max-width: calc(100vw - 2rem); padding: 0; border: 0; background: none; overflow: visible; }
.film video { width: auto; max-width: min(64rem, 100%); max-height: calc(100svh - 6rem); border-radius: 1rem; background: #000; }
.film form { margin-top: 0.75rem; text-align: right; }

/* ---------- small screens ---------- */

@media (max-width: 62rem) {
  .bar-links { display: none; }
  .bar-menu { display: inline-flex; }
  .process ol { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  /* live Work on a narrow screen: picture on top, symbols and words underneath */
  .work .is-live .stage { grid-template: "head" auto "." 1fr "media" auto "rail" auto "info" auto "." 1.4fr / minmax(0, 1fr); }
  .is-live .p-media { margin-bottom: 1.5rem; }
  .is-live .p-media img { max-height: 40svh; }
}

@media (max-width: 47.5rem) {
  .bar { padding: 0 0.4rem 0 0.9rem; gap: 0.4rem; }
  .bar .btn { padding: 0 0.7rem; font-size: 0.95rem; }
  .wordmark { font-size: 1.3rem; }
  /* narrowest phones: the bar only has room for the name */
  @media (max-width: 23.9rem) { .wordmark .mark { display: none; } .bar .btn { padding: 0 0.6rem; font-size: 0.9rem; } }
  .hero { padding-top: 6rem; }
  .hero h1 { font-size: 19.5vw; }
  .hero-foot { grid-template-columns: 1fr; }
  .merge { top: 5.5rem; right: calc(50% - 10rem); width: 20rem; }
  .serps { grid-template-columns: 1fr; }
  .offers, .field-row { grid-template-columns: 1fr; }

  .scene { grid-template-columns: 1fr; }
  .scene-glyph { order: 0; }
  /* live ELISA on a phone: letter on top, words underneath */
  .is-live .scene { align-items: end; padding-block: 5.5rem 5.75rem; }
  .is-live .scene-copy { gap: 0.75rem; }
  .is-live .scene-copy > p:not([class]) { font-size: 1.15rem; }
  .is-live .letters { right: var(--gutter); justify-content: space-between; bottom: 1.1rem; }
  .letters button { min-width: 2.75rem; height: 2.75rem; padding: 0 0.8rem; }
  .letters [aria-current] span { display: none; }
  /* the brand scene turns over: the input sits up top so the on-screen keyboard never covers the name */
  .is-live .scene-you { align-items: stretch; }
  .is-live .scene-you .scene-copy { display: flex; flex-direction: column; align-items: start; }
  .scene-you .scene-word { order: -2; }
  .scene-you .you-field { order: -1; margin-bottom: auto; }
  .scene-you h3 { display: none; } /* the label above the input already says it; the room goes to the name */

  .project { grid-template-columns: 1fr; }
  .p-info p { font-size: 1.15rem; }
  .work .is-live .stage { padding: 5.5rem var(--gutter) 1.25rem; }
  .is-live .p-media { margin-bottom: 1.25rem; }
  .is-live .p-media img { max-height: 32svh; }
  .is-live .rail { height: 3.5rem; margin-bottom: 0.9rem; }
  .rail button { width: 2.1rem; height: 2.1rem; }
  .rail [aria-current] { width: 3.5rem; height: 3.5rem; }
  .is-live .p-info { gap: 0.5rem; }
  .is-live .p-info .p-fine { font-size: 0.9rem; line-height: 1.3; }
  .film-open { left: 0.5rem; bottom: 0.5rem; min-height: 2.5rem; padding: 0 0.9rem; font-size: 0.95rem; }
  /* short phones: the heading gives its room to the project */
  @media (max-height: 40rem) {
    .work .is-live h2, .film-open small { display: none; }
    .is-live .p-media img { max-height: 27svh; }
  }
}

@media (prefers-reduced-motion: no-preference) {
  .h-real { animation: realize 1.3s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  .soc, .page, .page-btn { animation: none; }
  * { transition: none !important; }
}

/* Audit additions: mock-up note, the plain answer under the Google section, who we are, the folded note. */
.serp-note { margin-top: 1rem; font-size: 0.85rem; opacity: 0.7; }
.why { margin-top: clamp(2.5rem, 6vw, 4rem); max-width: 44rem; display: grid; gap: 1rem; justify-items: start; }
.why h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; }
.why p { font-size: 1.1rem; line-height: 1.55; }
.who { max-width: 44rem; margin-top: 2rem; font-size: 1.1rem; line-height: 1.55; }
.alt-contact { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.8rem; }
.more summary { cursor: pointer; font-weight: 600; padding: 0.6rem 0; }
.more[open] summary { margin-bottom: 0.6rem; }
.why summary { cursor: pointer; list-style: none; display: flex; gap: 0.6rem; align-items: baseline; }
.why summary::-webkit-details-marker { display: none; }
.why summary::after { content: "+"; font-size: 1.6rem; font-weight: 800; color: var(--lime); }
.why details[open] summary::after { content: "–"; }
.why details p { margin-top: 1rem; }
