:root {
  --primary: #750D37;
  --primary-2: #5E0A2C;
  --primary-1: #690C32;
  --primary-1-2: #810E3D;
  --primary-2-2: #8C1042;
  --secondary: #210124;
  --secondary-2: #140116;
  --secondary-1: #1A011D;
  --secondary-1-2: #28012B;
  --secondary-2-2: #2E0132;
  --tertiary: #AF905B;
  --tertiary-2: #977C4E;
  --tertiary-1: #A38655;
  --tertiary-1-2: #BB9A61;
  --tertiary-2-2: #C8A468;
  --primary-highlight: #FDE6EF;
  --secondary-highlight: #F8E9FA;
  --tertiary-highlight: #FDEED2;

  /* Derived neutrals */
  --paper: #FFFAF2;
  --ink: var(--secondary);
  --ink-soft: rgba(33, 1, 36, 0.68);
  --ink-faint: rgba(33, 1, 36, 0.14);
  --line: rgba(33, 1, 36, 0.12);

  --font-title: "Inria Serif", Georgia, serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

/* No smooth scrolling: animating a long scroll forces every crayon section in between
   to render, which stutters on phones. Anchor links jump instantly instead (main.js). */
section[id] { scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px)); }

@keyframes arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
section[tabindex="-1"]:focus { outline: none; }
.is-arriving > .wrap { animation: arrive 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.13 0 0 0 0 0 0 0 0 0 0.14 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paints the phone status-bar strip above the sticky header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

/* Subtle paper grain over the whole page */
/* Paper grain lives in the body background (see body) so nothing repaints on scroll */

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(40px, 6.4vw, 84px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }

p { margin: 0; }

em { font-style: italic; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.muted { color: var(--ink-soft); }

.label {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { margin-top: 20px; font-size: 19px; color: var(--ink-soft); max-width: 620px; }

/* Crayon underline used to highlight words in titles */
.scribble {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.06' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='5'/%3E%3C/filter%3E%3Cpath filter='url(%23c)' d='M4 15 C 40 8, 80 19, 120 11 S 178 10, 196 13' fill='none' stroke='%23AF905B' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 0.42em;
  background-position: 0 92%;
  padding-bottom: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.scribble--pink {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.06' numOctaves='2' seed='8'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='5'/%3E%3C/filter%3E%3Cpath filter='url(%23c)' d='M4 13 C 50 18, 90 7, 130 13 S 180 15, 196 10' fill='none' stroke='%23F5A9C6' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Hand-drawn box outline (wobbly border) */
.sketch { position: relative; isolation: isolate; --sketch-img: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='r'%20x='-5%25'%20y='-5%25'%20width='110%25'%20height='110%25'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.08'%20numOctaves='2'%20seed='7'/%3E%3CfeDisplacementMap%20in='SourceGraphic'%20scale='1.4'%20xChannelSelector='R'%20yChannelSelector='G'%20result='w'/%3E%3C/filter%3E%3Crect%20x='1.2'%20y='1.6'%20width='97.6'%20height='96.8'%20rx='3'%20ry='4.800000000000001'%20fill='none'%20stroke='%23210124'%20stroke-opacity='1'%20stroke-width='2.5'%20vector-effect='non-scaling-stroke'%20filter='url%28%23r%29'/%3E%3C/svg%3E"); }
.sketch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sketch-img) no-repeat 0 0 / 100% 100%;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px) rotate(-0.6deg); }
.btn:focus-visible { outline: 3px solid var(--tertiary); outline-offset: 3px; }

.btn--primary { background: var(--primary); color: var(--paper); }
.btn--primary:hover { background: var(--primary-1-2); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--secondary); }
.btn--light:hover { background: var(--tertiary-highlight); }

/* Hero buttons: crayon outline + waxy fill, drawn on a filtered layer behind the label */
.hero__actions { gap: 16px; }
.hero__actions .btn {
  position: relative;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  padding: 18px 30px;
}
.hero__actions .btn svg { width: 20px; height: 20px; }
.hero__actions .btn::before,
.hero__actions .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  transition: background-color 0.18s ease;
}
/* solid fill with a wobbly edge */
.hero__actions .btn::after { z-index: -2; }
/* grainy crayon outline on top of the fill */
.hero__actions .btn::before { z-index: -1; inset: -3px; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='r'%20x='-5%25'%20y='-5%25'%20width='110%25'%20height='110%25'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.08'%20numOctaves='2'%20seed='7'/%3E%3CfeDisplacementMap%20in='SourceGraphic'%20scale='1.4'%20xChannelSelector='R'%20yChannelSelector='G'%20result='w'/%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.9'%20numOctaves='2'%20seed='4'%20result='g'/%3E%3CfeColorMatrix%20in='g'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20-1.8%200%200%200%201.85'%20result='m'/%3E%3CfeComposite%20in='w'%20in2='m'%20operator='in'/%3E%3C/filter%3E%3Crect%20x='1.2'%20y='1.6'%20width='97.6'%20height='96.8'%20rx='9'%20ry='48'%20fill='none'%20stroke='%23210124'%20stroke-opacity='1'%20stroke-width='3'%20vector-effect='non-scaling-stroke'%20filter='url%28%23r%29'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.hero__actions .btn--primary { color: var(--paper); }
.hero__actions .btn--primary::after { background: var(--primary); }
.hero__actions .btn--primary:hover::after { background: var(--primary-1-2); }
.hero__actions .btn--ghost { color: var(--ink); }
.hero__actions .btn--ghost:hover { background: transparent; color: var(--paper); }
.hero__actions .btn--ghost:hover::after { background: var(--secondary); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(255, 250, 242, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.brand svg { width: 34px; height: 34px; }
.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}
.nav__links a { white-space: nowrap; text-decoration: none; color: var(--ink-soft); transition: color 0.15s; }
.nav__links a:hover { color: var(--primary); }
.nav__cta { padding: 10px 18px; font-size: 15px; white-space: nowrap; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open .nav__links a { display: block; padding: 12px 0; font-size: 18px; color: var(--ink); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--primary-highlight);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero__badge span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--paper);
  font-size: 12px;
}
.hero__title { max-width: 980px; }
.hero__title .soft { color: var(--primary); }
.hero__lede {
  margin-top: 28px;
  font-size: clamp(18px, 1.6vw, 21px);
  max-width: 640px;
  color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Illustrated canvas, after the reference: flat color field + crayon marks + UI cards */
.canvas {
  position: relative;
  margin-top: clamp(48px, 7vw, 80px);
  aspect-ratio: 16 / 8.6;
  background: var(--primary);
  overflow: hidden;
  border-radius: var(--radius);
}
.canvas__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.canvas__inner { position: absolute; inset: 0; }
.canvas__inner > * { position: absolute; }

/* Scroll stage (enabled by main.js; without it the canvas is a plain card).
   The sticky viewport holds the canvas; JS grows the canvas box from card size to
   full screen and pushes the decorations outward. Only box size and transforms
   change, so the crayon artwork is never re-rendered while scrolling. */
.stage.is-live {
  position: relative;
  width: var(--vw);
  margin-left: calc((100% - var(--vw)) / 2);
  margin-top: var(--stage-mt);
  height: calc(var(--vh) + var(--pin));
}
.stage.is-live .stage__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
}
.hero:has(.stage.is-live) { padding-bottom: 0; }
/* The stage is pulled up over the hero buttons: let clicks pass through both layers */
.stage.is-live,
.stage.is-live .stage__sticky { pointer-events: none; }
.stage.is-live .canvas {
  pointer-events: auto;
  position: absolute;
  margin: 0;
  aspect-ratio: auto;
}
.stage.is-live .canvas__rings,
.stage.is-live .canvas__inner {
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.stage.is-live .canvas__rings { width: var(--vw); height: var(--vh); }
.stage.is-live .canvas__inner { width: var(--cw); height: var(--ch); }
.stage.is-live .tile,
.stage.is-live .flowers { will-change: transform; }
.tile {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.tile svg { width: 100%; height: 100%; }
.tile--dress { left: 6%; top: 12%; width: 15%; height: 30%; background: var(--tertiary-highlight); }
.tile--waves { right: 9%; top: 9%; width: 25%; height: 29%; background: var(--secondary); }
.tile--ring  { left: 9%; bottom: 10%; width: 26%; height: 27%; background: var(--secondary-highlight); }
.tile--bag   { right: 6%; bottom: 13%; width: 14%; height: 27%; background: var(--tertiary-2-2); }
.flowers { pointer-events: none; }
.flowers--a { left: 22%; top: 3%; width: 34%; }
.flowers--b { right: 17%; bottom: -4%; width: 22%; }

.prompt {
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(52%, 600px);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 14px 14px 12px 16px;
  box-shadow: 0 16px 40px -20px rgba(20, 1, 22, 0.55);
  z-index: 3;
  will-change: transform;
  contain: layout paint;
}
.prompt__row { display: flex; align-items: center; gap: 10px; }
.prompt__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--primary-highlight);
  display: grid;
  place-items: center;
}
.prompt__icon svg { width: 18px; height: 18px; }
.prompt__text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.45vw, 20px);
  color: var(--secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prompt__caret { display: inline-block; width: 2px; height: 1em; background: var(--primary); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 15px);
  padding: 6px 11px;
  border-radius: 4px;
  background: var(--tertiary-highlight);
  color: var(--secondary);
}
.send {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--primary);
  display: grid;
  place-items: center;
}
.send svg { width: 16px; height: 16px; }

.answer {
  left: 50%;
  top: 64%;
  transform: translateX(-38%);
  width: min(42%, 480px);
  background: var(--secondary);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.45;
  z-index: 3;
  box-shadow: 0 16px 40px -20px rgba(20, 1, 22, 0.7);
}
.answer b { color: var(--tertiary-2-2); font-weight: 500; }
.answer__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.answer__row:first-of-type { border-top: 0; }
.answer__title { font-family: var(--font-body); font-weight: 500; font-size: 0.85em; opacity: 0.7; margin-bottom: 4px; }

@media (max-width: 760px) {
  .canvas { aspect-ratio: 4 / 5.8; }
  .tile--dress { left: 6%; top: 4%; width: 30%; height: 21%; }
  .tile--waves { right: 6%; top: 7%; width: 50%; height: 15%; }
  .tile--ring  { left: 6%; bottom: 4%; width: 46%; height: 15%; }
  .tile--bag   { right: 7%; bottom: 5%; width: 30%; height: 17%; }
  .flowers--a { left: 20%; top: 1%; width: 64%; }
  .flowers--b { right: 4%; bottom: 12%; width: 44%; }
  .prompt { width: 88%; top: 35%; }
  .answer { width: 84%; top: 46%; transform: translateX(-50%); }
}

/* ---------- Problem ---------- */
.problem { background: var(--secondary); color: var(--paper); overflow: hidden; }
.problem .label { color: var(--tertiary-2-2); }
.problem .section-head p { color: rgba(255, 250, 242, 0.72); }
.problem__scrawl {
  position: absolute;
  right: -6%;
  top: -10%;
  width: 46%;
  opacity: 0.9;
  pointer-events: none;
}
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case {
  --sketch-img: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='r'%20x='-5%25'%20y='-5%25'%20width='110%25'%20height='110%25'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.08'%20numOctaves='2'%20seed='7'/%3E%3CfeDisplacementMap%20in='SourceGraphic'%20scale='1.4'%20xChannelSelector='R'%20yChannelSelector='G'%20result='w'/%3E%3C/filter%3E%3Crect%20x='1.2'%20y='1.6'%20width='97.6'%20height='96.8'%20rx='3'%20ry='4.800000000000001'%20fill='none'%20stroke='%23FFFAF2'%20stroke-opacity='0.55'%20stroke-width='2.5'%20vector-effect='non-scaling-stroke'%20filter='url%28%23r%29'/%3E%3C/svg%3E");
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--secondary-2-2);
}
.case__price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary-highlight);
}
.case__price small { font-size: 0.42em; font-weight: 700; color: rgba(255,250,242,0.6); margin-left: 6px; }
.case h3 { margin: 20px 0 12px; color: var(--paper); }
.case p { color: rgba(255, 250, 242, 0.72); }
.case__stamp {
  display: inline-flex;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  background: var(--tertiary-2-2);
  padding: 6px 12px;
  border-radius: 4px;
  transform: rotate(-1.5deg);
}

@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; }
  .problem__scrawl { width: 80%; right: -30%; top: -4%; opacity: 0.5; }
}

/* Owner pains, written as things they say */
.pains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pain {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.3;
  color: var(--paper);
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--secondary-2-2);
}
.pain:nth-child(3n+2) { transform: rotate(0.6deg); }
.pain:nth-child(3n) { transform: rotate(-0.5deg); }
.cases-head { margin: clamp(56px, 8vw, 88px) 0 24px; max-width: 680px; }
.cases-head h3 { font-size: clamp(26px, 2.8vw, 36px); color: var(--paper); }
.cases-head p { margin-top: 12px; color: rgba(255, 250, 242, 0.72); }

@media (max-width: 900px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } .pain { transform: none !important; } }

/* ---------- Comparison ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.compare { display: grid; }
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.6fr;
  align-items: stretch;
}
.compare__row > span { padding: 20px 22px; min-width: 0; }
.compare__row--head > span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 22px;
  padding-bottom: 16px;
  color: var(--ink-soft);
}
.compare__row--head .compare__brand {
  color: var(--paper);
  background: var(--primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding-top: 22px;
}
.compare__row:not(.compare__row--head) { border-top: 1px solid var(--line); }
.compare__topic { font-weight: 600; font-size: 16px; }
.compare__old, .compare__new { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.compare__old { color: var(--ink-soft); }
.compare__old svg, .compare__new svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.compare__old svg { stroke: rgba(33, 1, 36, 0.4); }
.compare__new svg { stroke: var(--primary); }
.compare__new { background: var(--primary-highlight); color: var(--secondary); font-weight: 500; }
.compare__row:last-child .compare__new { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

@media (max-width: 760px) {
  .compare__row--head { display: none; }
  .compare__row {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
  }
  .compare__row:not(.compare__row--head) { border-top: 1px solid var(--line); }
  .compare__row > span { padding: 14px 18px; }
  .compare__topic { font-family: var(--font-title); font-size: 20px; padding-bottom: 4px !important; }
  .compare__old, .compare__new { display: block; }
  .compare__old svg, .compare__new svg { display: inline-block; vertical-align: -4px; margin: 0 8px 0 0; }
  .compare__old::before, .compare__new::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
  }
  .compare__new::before { color: var(--primary); }
  .compare__row:last-child .compare__new { border-radius: 0; }
}

/* ---------- Solution ---------- */
.solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  padding: 32px 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.pillar__art {
  height: 140px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pillar__art svg { height: 112px; width: auto; }
.pillar:nth-child(1) .pillar__art { background: var(--primary-highlight); }
.pillar:nth-child(2) .pillar__art { background: var(--tertiary-highlight); }
.pillar:nth-child(3) .pillar__art { background: var(--secondary-highlight); }
.pillar p { margin-top: 12px; color: var(--ink-soft); }

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.duo > div { padding: clamp(28px, 4vw, 48px); }
.duo__out { background: var(--primary); color: var(--paper); }
.duo__in { background: var(--secondary); color: var(--paper); }
.duo .small { font-size: 15px; opacity: 0.7; margin-bottom: 12px; display: block; }
.duo h3 { font-size: clamp(22px, 2.4vw, 30px); }
.duo p { margin-top: 14px; opacity: 0.8; }

.agents-head { margin-top: clamp(48px, 6vw, 72px); margin-bottom: 20px; }
.agents-head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.agents { margin-top: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.agent {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--tertiary-highlight);
  font-size: 15px;
}
.agent__art { width: 100%; height: 92px; margin-bottom: 14px; }
.agent strong { display: block; font-family: var(--font-title); font-size: 20px; margin-bottom: 4px; color: var(--primary); }
.agent span { color: var(--ink-soft); }
.agent--analista { background: var(--primary-highlight); }
.agent--redator { background: var(--secondary-highlight); }
.agent--designer { background: var(--tertiary-highlight); }
.agent--fotografo { background: var(--secondary); }
.agent--estrategista { background: var(--primary); }
.agent--fotografo strong, .agent--estrategista strong { color: var(--tertiary-2-2); }
.agent--fotografo span, .agent--estrategista span { color: rgba(255, 250, 242, 0.8); }

@media (max-width: 960px) {
  .solution__grid { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .agents { grid-template-columns: 1fr 1fr; }
  .agent:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(120px, 40%) 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 20px;
    align-items: start;
  }
  .agent:last-child .agent__art { grid-row: 1 / span 2; margin: 0; height: 100%; min-height: 92px; }
}
@media (max-width: 520px) {
  .agents { grid-template-columns: 1fr; }
  .agent:last-child { display: flex; }
  .agent:last-child .agent__art { height: 92px; margin-bottom: 14px; }
}

/* ---------- Process ---------- */
.process { background: var(--tertiary-highlight); overflow: hidden; }
.process__path {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}
.step {
  --sketch-img: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='r'%20x='-5%25'%20y='-5%25'%20width='110%25'%20height='110%25'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.08'%20numOctaves='2'%20seed='7'/%3E%3CfeDisplacementMap%20in='SourceGraphic'%20scale='1.4'%20xChannelSelector='R'%20yChannelSelector='G'%20result='w'/%3E%3C/filter%3E%3Crect%20x='1.2'%20y='1.6'%20width='97.6'%20height='96.8'%20rx='3'%20ry='4.800000000000001'%20fill='none'%20stroke='%23210124'%20stroke-opacity='1'%20stroke-width='2.5'%20vector-effect='non-scaling-stroke'%20filter='url%28%23r%29'/%3E%3C/svg%3E");
  padding: 28px;
  background: var(--paper);
  border-radius: var(--radius-lg);
}
.step__num {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 20px;
}
.step__num svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.step p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.step__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.step__tags span {
  font-size: 13px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--secondary-highlight);
  color: var(--secondary);
}
.step { display: flex; flex-direction: column; }
.step__you {
  margin-top: auto !important;
  padding-top: 16px;
  font-size: 15px !important;
  color: var(--ink) !important;
}
.step__you b { color: var(--primary); font-weight: 600; }
.step--ai .step__you { color: var(--paper) !important; }
.step--ai .step__you b { color: var(--tertiary-2-2); }
.step--ai { background: var(--secondary); color: var(--paper); --sketch-img: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='r'%20x='-5%25'%20y='-5%25'%20width='110%25'%20height='110%25'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.08'%20numOctaves='2'%20seed='7'/%3E%3CfeDisplacementMap%20in='SourceGraphic'%20scale='1.4'%20xChannelSelector='R'%20yChannelSelector='G'%20result='w'/%3E%3C/filter%3E%3Crect%20x='1.2'%20y='1.6'%20width='97.6'%20height='96.8'%20rx='3'%20ry='4.800000000000001'%20fill='none'%20stroke='%23C8A468'%20stroke-opacity='1'%20stroke-width='2.5'%20vector-effect='non-scaling-stroke'%20filter='url%28%23r%29'/%3E%3C/svg%3E"); }
.step--ai p { color: rgba(255,250,242,0.75); }
.step--ai .step__num { color: var(--tertiary-2-2); }
.step--ai .step__tags span { background: var(--secondary-2-2); color: var(--tertiary-highlight); }

@media (max-width: 1080px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.service {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.service--wide { grid-column: span 3; }
.service__meta { font-size: 14px; font-weight: 500; opacity: 0.75; }
.service h3 { margin-top: 10px; }
.service ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 15.5px; }
.service li { display: flex; gap: 10px; align-items: flex-start; }
.service li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.service__doodle { position: absolute; right: -14px; bottom: -14px; width: 120px; height: 120px; opacity: 0.9; pointer-events: none; }
.service--a { background: var(--primary); color: var(--paper); }
.service--b { background: var(--primary-highlight); }
.service--c { background: var(--secondary-highlight); }
.service--d { background: var(--tertiary-highlight); }
.service--e { background: var(--secondary); color: var(--paper); }

@media (max-width: 960px) {
  .services__list { grid-template-columns: 1fr 1fr; }
  .service, .service--wide { grid-column: span 1; }
  .service--a { grid-column: span 2; }
}
@media (max-width: 620px) {
  .services__list { grid-template-columns: 1fr; }
  .service, .service--wide, .service--a { grid-column: span 1; min-height: 0; }
}

/* ---------- Results ---------- */
.results { background: var(--primary-highlight); }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chart {
  --sketch-img: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='r'%20x='-5%25'%20y='-5%25'%20width='110%25'%20height='110%25'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.08'%20numOctaves='2'%20seed='7'/%3E%3CfeDisplacementMap%20in='SourceGraphic'%20scale='1.4'%20xChannelSelector='R'%20yChannelSelector='G'%20result='w'/%3E%3C/filter%3E%3Crect%20x='1.2'%20y='1.6'%20width='97.6'%20height='96.8'%20rx='3'%20ry='4.800000000000001'%20fill='none'%20stroke='%23750D37'%20stroke-opacity='1'%20stroke-width='2.5'%20vector-effect='non-scaling-stroke'%20filter='url%28%23r%29'/%3E%3C/svg%3E");
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 24px 20px;
}
.chart__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.chart__who { font-size: 15px; color: var(--ink-soft); }
.chart__story { margin-top: 6px; font-size: 16px; font-weight: 500; color: var(--secondary); max-width: 320px; }
.chart__big {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  color: var(--primary);
}
.chart__big small { display: block; white-space: nowrap; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--ink-soft); margin-top: 6px; text-align: right; }
.chart svg { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.legend .agency { background: #E9B9CC; }
.legend .agmar { background: var(--primary); }
.results__note { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 900px) { .charts { grid-template-columns: 1fr; } }

/* ---------- ICP ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fit__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.fit__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.fit__list svg { flex: none; width: 26px; height: 26px; margin-top: 1px; }
.fit__art {
  aspect-ratio: 1 / 1;
  background: var(--secondary);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.fit__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } .fit__art { max-width: 520px; } }

/* ---------- Founder ---------- */
.founder { background: var(--secondary); color: var(--paper); overflow: hidden; }
.founder__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quote {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
}
.quote .q { color: var(--tertiary-2-2); }
.founder__note { margin-top: 24px; font-size: 18px; color: rgba(255,250,242,0.75); max-width: 560px; }
.founder__who { margin-top: 32px; display: flex; gap: 16px; align-items: center; }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-highlight);
  flex: none;
}
.founder__who strong { display: block; font-size: 18px; }
.founder__who span { color: rgba(255,250,242,0.7); font-size: 15px; }
.studio {
  --sketch-img: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='r'%20x='-5%25'%20y='-5%25'%20width='110%25'%20height='110%25'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.08'%20numOctaves='2'%20seed='7'/%3E%3CfeDisplacementMap%20in='SourceGraphic'%20scale='1.4'%20xChannelSelector='R'%20yChannelSelector='G'%20result='w'/%3E%3C/filter%3E%3Crect%20x='1.2'%20y='1.6'%20width='97.6'%20height='96.8'%20rx='3'%20ry='4.800000000000001'%20fill='none'%20stroke='%23FFFAF2'%20stroke-opacity='0.5'%20stroke-width='2.5'%20vector-effect='non-scaling-stroke'%20filter='url%28%23r%29'/%3E%3C/svg%3E");
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--secondary-2-2);
}
.studio h3 { font-size: 24px; }
.studio p { margin-top: 12px; color: rgba(255,250,242,0.75); }
.studio__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.studio__facts div { padding-top: 14px; border-top: 1px solid rgba(255,250,242,0.16); }
.studio__facts b { display: block; font-family: var(--font-title); font-size: 30px; color: var(--tertiary-2-2); }
.studio__facts span { font-size: 14px; color: rgba(255,250,242,0.7); }

@media (max-width: 900px) { .founder__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; transition: transform 0.2s ease; margin-top: 3px; color: var(--primary); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-soft); max-width: 640px; }

@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(72px, 10vw, 128px); }
.cta__box {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.cta__box > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta__box > *:not(svg) { position: relative; }
.cta__box h2 { max-width: 820px; margin: 0 auto; font-size: clamp(34px, 5vw, 64px); }
.cta__box p { margin: 20px auto 0; max-width: 560px; font-size: 19px; opacity: 0.85; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.cta__box .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.cta__box .btn--ghost:hover { background: var(--paper); color: var(--primary); }
.cta__email { user-select: all; }
.cta__hint { margin-top: 16px; font-size: 14px; opacity: 0.75; min-height: 1.4em; }

/* ---------- Lead form pop-up ---------- */
.lead {
  width: min(520px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lead[open] { animation: arrive 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.lead::backdrop { background: rgba(20, 1, 22, 0.7); }
.lead__panel { border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 40px) clamp(20px, 5vw, 40px); }
.lead h2 { font-size: clamp(28px, 4vw, 38px); padding-right: 36px; }
.lead__intro { margin-top: 12px; color: var(--ink-soft); }
.lead__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.lead__close:hover { color: var(--primary); }
.lead__close:focus-visible { outline: 3px solid var(--tertiary); }
.field { display: block; margin-top: 16px; }
.field__name { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; }
.field__name small { font-size: inherit; font-weight: 400; color: var(--ink-soft); }
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-faint);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px; /* below 16px iOS zooms into the field */
}
.field input:focus-visible { outline: 3px solid var(--tertiary); outline-offset: 1px; }
.field input:user-invalid { border-color: var(--primary); }
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__submit { width: 100%; justify-content: center; margin-top: 24px; }
.lead__submit:disabled { opacity: 0.65; cursor: wait; transform: none; }
.lead__error { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--primary-highlight); color: var(--primary); font-size: 15px; }
.lead__fine { margin-top: 14px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.lead__done:focus { outline: none; }
.lead__done .btn { margin-top: 24px; }
html.lead-lock { overflow: hidden; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 15px; color: var(--ink-soft); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer .brand { font-size: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--primary); }

/* ---------- Reveal on scroll ---------- */
.reveal.is-pending { transform: translateY(18px); }
.reveal { transition: transform 0.7s ease; }
.reveal.is-in { transform: none; }

/* Gentle wiggle for crayon doodles */
/* Doodles stay still: animating inside an SVG filter re-runs the filter every frame */

/* ---------- Intro splash ----------
   Stages (classes on .splash, added by main.js):
   is-in → s-strike → s-correct → s-replace → s-condense → s-mark → s-out */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--paper);
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1);
}
.splash[hidden] { display: none; }
.splash__rings { position: absolute; inset: 0; width: 100%; height: 100%; }

.splash__line {
  position: relative;
  margin: 0;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(32px, 8.4vw, 120px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  padding: 0 16px;
}

.splash .w {
  display: inline-block;
  position: relative;
  width: var(--w, auto);
  margin-right: 0.26em;
  opacity: 0;
  transform: translateY(0.4em);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    width 0.7s cubic-bezier(0.7, 0, 0.2, 1),
    margin 0.7s cubic-bezier(0.7, 0, 0.2, 1),
    color 0.5s ease;
}
.splash .w--mkt { margin-right: 0; }
.splash.is-in .w--agencia { opacity: 1; transform: none; }
.splash.is-in .w--de { opacity: 1; transform: none; transition-delay: 0.12s; }
.splash.is-in .w--mkt { opacity: 1; transform: none; transition-delay: 0.24s; }

/* Gold crayon strike through "Agência" */
.splash__strike {
  position: absolute;
  left: -4%;
  top: 38%;
  width: 108%;
  height: 0.34em;
  overflow: visible;
}
.splash__strike path,
.splash__underline path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.6, 0, 0.3, 1);
}
.splash__strike, .splash__underline { opacity: 0; transition: opacity 0.1s linear; }
.splash.s-strike .splash__strike, .splash.s-mark .splash__underline { opacity: 1; }
.splash.s-strike .splash__strike path { stroke-dashoffset: 0; }
/* Measure untransformed sizes */
.splash.is-measuring .w { transform: none !important; transition: none !important; }
.splash.s-strike .w--agencia { color: rgba(255, 250, 242, 0.55); }

/* "Agentic" is scribbled in above the line as a correction, then drops into place */
.splash .w--agentic {
  width: 0;
  margin-right: 0;
  color: var(--tertiary-2-2);
  transform: translate(0.1em, -0.95em) rotate(-4deg) scale(0.72);
  transform-origin: left bottom;
}
.splash .w--agentic .w__inner { display: inline-flex; }
.splash.s-correct .w--agentic { opacity: 1; }
.splash.s-replace .w--agentic {
  width: var(--w);
  margin-right: 0.26em;
  transform: none;
  color: var(--paper);
}
.splash.s-replace .w--agencia,
.splash.s-replace .w--de {
  width: 0;
  margin-right: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(0.25em);
}

/* Letters that fold away to leave "Ag" + "mar" */
.splash .l {
  display: inline-block;
  width: var(--w, auto);
  overflow: hidden;
  vertical-align: bottom;
  transition: width 0.7s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.45s ease;
}
.splash.s-condense .l:not(.l--keep) { width: 0; opacity: 0; }
.splash.s-condense .w--agentic { margin-right: 0; width: var(--w2); }

/* Brand mark lands */
.splash__flower {
  width: 0.62em;
  height: 0.62em;
  margin-left: 0.18em;
  align-self: center;
  opacity: 0;
  transform: scale(0.2) rotate(-90deg);
  transition: opacity 0.4s ease, transform 0.7s cubic-bezier(0.3, 1.6, 0.5, 1);
  position: absolute;
  right: -0.5em;
}
.splash__underline {
  position: absolute;
  left: 16px;
  bottom: -0.12em;
  width: calc(100% - 32px);
  height: 0.3em;
  overflow: visible;
}
.splash.s-mark .splash__flower { opacity: 1; transform: none; }
.splash.s-mark .splash__underline path { stroke-dashoffset: 0; }

.splash.s-out { transform: translateY(-100%); }

.splash__skip {
  position: absolute;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  background: none;
  border: 0;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 250, 242, 0.7);
  cursor: pointer;
  border-radius: 999px;
}
.splash__skip:hover { color: var(--paper); }
.splash__skip:focus-visible { outline: 2px solid var(--tertiary-2-2); outline-offset: 2px; }

body.splash-lock { overflow: hidden; }
.splash__line { transition: transform 0.8s cubic-bezier(0.3, 1.3, 0.5, 1); }
.splash.s-mark .splash__line { transform: scale(1.35); }
@media (max-width: 760px) { .splash.s-mark .splash__line { transform: scale(1.7); } }
