/* ==========================================================================
   Juli Jasa — Portfolio v2
   Rounded, playful, interactive. Shared by the home and the case studies.
   ========================================================================== */

:root {
  --cream: #FFFAEB;   /* Oat Milk */
  --paper: #FFFDF6;
  --cocoa: #4E2C13;   /* Toffee Brown */
  --cocoa-2: #765640;
  --line: rgba(78, 44, 19, .14);
  --pink: #FFD0DB;    /* Strawberry Frosting */
  --mint: #BDE9D3;    /* Mint Macaron */

  --font: 'Outfit', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --script: 'Caveat', 'Bradley Hand', cursive;

  --px: clamp(1rem, 4vw, 3rem);
  --nav-h: 76px;
  --radius: clamp(24px, 3vw, 36px);
  --section: clamp(5.5rem, 11vw, 10rem);

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--cream); color: var(--cocoa);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--pink); color: var(--cocoa); }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; border-radius: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 300; background: var(--cocoa); color: var(--cream); padding: .8rem 1.2rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--px); }
.script { font-family: var(--script); font-weight: 600; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(189, 233, 211, .25); flex: none; }

/* Pills (buttons) */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 3rem; padding: 0 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .45s var(--spring), background-color .3s, color .3s, box-shadow .3s;
}
.pill:hover { transform: translateY(-3px) rotate(-1.5deg); }
.pill:active { transform: scale(.96); }
.pill--lg { height: 3.6rem; padding: 0 2rem; font-size: 1.05rem; }
.pill--dark { background: var(--cocoa); color: var(--cream); }
.pill--dark:hover { box-shadow: 0 14px 30px -14px rgba(42, 27, 21, .6); }
.pill--line { box-shadow: inset 0 0 0 2px var(--cocoa); }
.pill--line:hover { background: var(--cocoa); color: var(--cream); }
.pill--light { background: var(--cream); color: var(--cocoa); }
.pill--pink { background: var(--pink); color: var(--cocoa); }
.pill--ghost { box-shadow: inset 0 0 0 1.5px rgba(78, 44, 19, .35); color: var(--cocoa); }
.pill--ghost:hover { background: var(--cocoa); color: var(--cream); }
.pill--accent { background: var(--accent); color: var(--accent-fg); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem 1rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; font-weight: 500; }

/* Nav --------------------------------------------------------------------- */
.nav {
  position: fixed; z-index: 60; top: 14px; left: 50%; translate: -50% 0;
  width: min(1120px, calc(100% - 24px)); height: 64px;
  display: flex; align-items: center; gap: 1rem;
  padding: 0 8px 0 24px; border-radius: 999px;
  background: rgba(255, 251, 245, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(42, 27, 21, .35);
  transition: transform .6s var(--ease), translate .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; display: flex; align-items: baseline; gap: .2rem; }
.nav__logo span { font-family: var(--script); font-weight: 700; font-size: 1.5rem; color: var(--cocoa); letter-spacing: 0; }
.nav__links { display: flex; gap: .3rem; margin-left: auto; }
.nav__links a { padding: .55rem 1rem; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background-color .3s, color .3s; }
.nav__links a:hover, .nav__links a.is-active { background: var(--cocoa); color: var(--cream); }
.nav__cta { height: 48px; margin-left: .4rem; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--cocoa); margin-left: auto; place-content: center; gap: 5px; }
.nav__burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .4s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--px) 2rem;
  clip-path: circle(0% at calc(100% - 44px) 46px); transition: clip-path .7s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 46px); }
.menu nav { display: grid; }
.menu nav a { font-size: clamp(2.6rem, 13vw, 4.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; padding-block: .2rem; border-bottom: 2px dashed var(--line); }
.menu__foot { display: flex; align-items: center; gap: .7rem; font-weight: 500; }

/* Page curtain ----------------------------------------------------------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: var(--pink); color: var(--cocoa);
  display: grid; place-items: center;
  transform: translateY(101%);
  border-radius: 48px 48px 0 0;
}
.curtain span { font-weight: 800; font-size: clamp(2.5rem, 8vw, 6rem); letter-spacing: -.05em; }
.is-entering .curtain { transform: none; border-radius: 0; transition: none; }
.curtain-out .curtain { transform: translateY(-101%); border-radius: 0 0 48px 48px; transition: transform .8s var(--ease-io), border-radius .8s; }
.is-leaving .curtain { transform: none; border-radius: 0; transition: transform .6s var(--ease-io), border-radius .6s; pointer-events: auto; }

/* Cursor bubble ---------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; }
.cursor__label {
  display: block; translate: 16px 16px; scale: 0; transform-origin: 0 0;
  background: var(--cocoa); color: var(--cream); font-weight: 600; font-size: .85rem;
  padding: .45rem .9rem; border-radius: 999px; white-space: nowrap;
  transition: scale .35s var(--spring);
}
.cursor.is-on .cursor__label { scale: 1; }

/* Toast ------------------------------------------------------------------ */
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 24px; translate: -50% 0;
  background: var(--cocoa); color: var(--cream); padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600;
  opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .3s, transform .5s var(--spring); pointer-events: none;
}
.toast.is-on { opacity: 1; transform: none; }

/* Section heads ---------------------------------------------------------- */
.head { display: grid; justify-items: start; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.head__script { font-size: clamp(2rem, 4.2vw, 3.4rem); color: var(--cocoa); rotate: -5deg; margin: 0 0 -.45em .3em; position: relative; z-index: 1; line-height: 1; }
.head__title { font-size: clamp(3.2rem, 10vw, 9rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; text-transform: lowercase; max-width: 12ch; }
.head__title sup { font-size: .22em; letter-spacing: 0; vertical-align: top; position: relative; top: .5em; color: var(--cocoa-2); font-weight: 600; }
.head__lede { margin-top: 1.4rem; max-width: 38ch; font-size: 1.15rem; color: var(--cocoa-2); }

/* =========================================================================
   HOME
   ========================================================================= */

/* Cover: one giant word and a signature ---------------------------------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 560px);
  display: flex; flex-direction: column; justify-content: center;
  --pad: clamp(.75rem, 1.4vw, 1.5rem);
  padding: calc(var(--nav-h) + 1rem) var(--pad) 6rem;
  background: var(--pink); color: var(--cocoa); overflow: hidden;
  border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
}
.hero__center { width: 100%; will-change: transform; }
.hero__type { position: relative; display: block; font-weight: 800; font-size: calc((100vw - 2 * var(--pad)) / 3.64); line-height: .8; letter-spacing: -.065em; }
.hero__small { display: block; font-size: .34em; line-height: 1; letter-spacing: -.055em; color: var(--cream); margin: 0 0 -.16em .1em; position: relative; z-index: 1; }
.hero__big { display: block; color: var(--cocoa); }
.hero__sign {
  position: absolute; z-index: 2; right: 2%; bottom: -.4em;
  font-family: 'Mrs Saint Delafield', var(--script); font-weight: 400; font-size: .4em; line-height: 1; letter-spacing: 0;
  color: var(--cream); rotate: -7deg; white-space: nowrap;
  paint-order: stroke fill; -webkit-text-stroke: .03em var(--cocoa);
}
.hero__foot { position: absolute; left: calc(var(--pad) + .3rem); right: calc(var(--pad) + .3rem); bottom: clamp(1.25rem, 3vw, 2.25rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero__foot p { display: flex; align-items: center; gap: .7rem; font-size: 1rem; font-weight: 500; }

/* Work stack ------------------------------------------------------------- */
.work { padding-top: var(--section); }
.stack { display: grid; gap: 6vh; padding-bottom: 8vh; }
.card {
  position: sticky; top: calc(var(--nav-h) + 22px + var(--i) * 16px);
  height: min(78vh, 720px); min-height: 540px;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: 1rem;
  padding: clamp(1.5rem, 3.2vw, 3rem);
  border-radius: var(--radius); background: var(--bg); color: var(--fg);
  overflow: hidden; transform-origin: 50% 0; will-change: transform;
  box-shadow: 0 -10px 40px -24px rgba(42, 27, 21, .35);
}
.card__info { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; position: relative; z-index: 2; }
.card__num { padding: .3rem .8rem; border-radius: 999px; background: var(--chip); font-weight: 700; font-size: .85rem; }
.card__title { font-size: clamp(2.6rem, 5.6vw, 5.6rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; }
.card__desc { max-width: 30ch; font-size: 1.08rem; opacity: .88; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { padding: .35rem .85rem; border-radius: 999px; background: var(--chip); font-size: .85rem; font-weight: 500; }
.card__btn { margin-top: auto; }
.card__media { position: relative; display: block; }
.card__browser {
  position: absolute; top: 4%; left: 4%; width: 112%;
  border-radius: 18px; overflow: hidden; background: #fff; padding-top: 22px;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .45);
  rotate: -3deg; transition: rotate .7s var(--spring), scale .7s var(--spring);
}
.card__browser::before { content: ""; position: absolute; top: 8px; left: 12px; width: 42px; height: 8px; background: radial-gradient(circle, #FF6A5C 3.5px, transparent 4px) 0 0 / 14px 8px repeat-x; }
.card__browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.card__phone {
  position: absolute; left: -2%; bottom: 2%; width: clamp(90px, 20%, 170px);
  border-radius: 24px; overflow: hidden; border: 6px solid #14100E; background: #14100E;
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5); rotate: 5deg;
  transition: rotate .7s var(--spring), translate .7s var(--spring);
}
.card__phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.card__media:hover .card__browser { rotate: 0deg; scale: 1.02; }
.card__media:hover .card__phone { rotate: -3deg; translate: 0 -12px; }

/* Panels ----------------------------------------------------------------- */
.panel { margin-inline: clamp(.5rem, 1.5vw, 1.25rem); border-radius: clamp(32px, 4.5vw, 64px); padding-block: var(--section); position: relative; overflow: hidden; }
.panel--mint { background: var(--mint); color: var(--cocoa); }

/* Services bento --------------------------------------------------------- */
.services { padding-block: var(--section); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 1rem; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .7rem;
  padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--radius);
  transition: transform .6s var(--spring), box-shadow .4s;
}
.tile:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 50px -36px rgba(42, 27, 21, .55); }
.tile h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.tile p { max-width: 32ch; opacity: .9; }
.tile--web { grid-column: span 2; grid-row: span 2; background: var(--mint); }
.tile__browser { margin-top: auto; border-radius: 16px; overflow: hidden; padding-top: 20px; background: #fff; box-shadow: 0 30px 50px -30px rgba(42, 27, 21, .5), inset 0 0 0 1px var(--line); rotate: 3deg; translate: 8% 10%; transition: rotate .7s var(--spring), translate .7s var(--spring); position: relative; }
.tile__browser::before { content: ""; position: absolute; top: 7px; left: 12px; width: 42px; height: 8px; background: radial-gradient(circle, #FF6A5C 3.5px, transparent 4px) 0 0 / 14px 8px repeat-x; }
.tile__browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tile--web:hover .tile__browser { rotate: 0deg; translate: 4% 4%; }
.tile--brand { grid-column: span 2; min-height: 270px; background: var(--pink); }
.tile--tools { grid-column: span 4; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); gap: 1.4rem; }

/* About ------------------------------------------------------------------ */
.about { padding-block: var(--section); }
.about__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__photo { position: relative; display: grid; place-items: center; }
.about__intro--solo { grid-template-columns: minmax(0, 1fr); }
.about__intro--solo .about__body .head__title { max-width: 16ch; }

.polaroid { position: relative; width: min(100%, 380px); padding: 14px 14px 64px; background: #fff; border-radius: 6px; rotate: -5deg; box-shadow: 0 30px 50px -26px rgba(42, 27, 21, .5); cursor: grab; touch-action: none; user-select: none; }
.polaroid.is-dragging { cursor: grabbing; }
.polaroid__img { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 3px; background: var(--pink); }
.polaroid__mono { font-weight: 800; font-size: clamp(5rem, 12vw, 9rem); letter-spacing: -.08em; color: var(--cocoa); }
.polaroid__cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 1.8rem; }
.polaroid__tape { position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; translate: -50% 0; rotate: 3deg; background: rgba(189, 233, 211, .85); }
.about__body { display: grid; justify-items: start; gap: 1.2rem; }
.about__body .head__title { margin-bottom: .4rem; max-width: 11ch; font-size: clamp(3rem, 6.6vw, 6.2rem); }
.about__text { display: grid; gap: 1rem; max-width: 60ch; }
.about__text p { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.7; color: var(--cocoa-2); }
.about__body > p:not(.about__lede):not(.head__script) { color: var(--cocoa-2); max-width: 46ch; }

/* Contact ---------------------------------------------------------------- */
.contact { padding-bottom: clamp(.5rem, 1.5vw, 1.25rem); }
.contact .head__script { margin-bottom: .75em; }
.contact__title { font-size: clamp(2.8rem, 8vw, 7.5rem); font-weight: 800; letter-spacing: -.055em; line-height: .92; max-width: 13ch; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.mail { position: relative; text-align: left; }
.mail__text { font-size: clamp(1.3rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat; padding-bottom: .1em; transition: background-size .5s var(--ease); word-break: break-all; }
.mail:hover .mail__text { background-size: 0 3px; background-position: 100% 100%; }
.mail__hint { position: absolute; left: 100%; top: -1rem; margin-left: .4rem; background: var(--pink); color: var(--cocoa); font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; rotate: 8deg; white-space: nowrap; scale: 0; transition: scale .4s var(--spring); }
.mail:hover .mail__hint, .mail:focus-visible .mail__hint { scale: 1; }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(4rem, 9vw, 8rem); padding-top: 1.4rem; border-top: 1px solid rgba(78, 44, 19, .2); font-size: .9rem; color: rgba(78, 44, 19, .85); }
.footer a:hover { opacity: .7; }

/* =========================================================================
   CASE STUDY PAGES
   ========================================================================= */
.case-page { background: var(--cream); }
.cs-hero { padding-top: calc(var(--nav-h) + 4rem); }
.cs-back { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; padding: .5rem 1rem .5rem .6rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--spring); }
.cs-back:hover { transform: translateX(-4px); }
.cs-back span { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--cocoa); color: var(--cream); }
.cs-title-wrap { display: grid; justify-items: start; margin-top: clamp(2rem, 5vw, 3.5rem); }
.cs-title-wrap .head__script { color: var(--accent-ink, var(--cocoa)); }
.cs-title { font-size: clamp(3.6rem, 13vw, 12rem); font-weight: 800; letter-spacing: -.065em; line-height: .85; }
.cs-tagline { margin-top: 1.4rem; max-width: 34ch; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.35; font-weight: 500; }
.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); padding-block: 1.4rem; border-block: 2px dashed var(--line); }
.cs-meta dt { font-family: var(--script); font-size: 1.4rem; color: var(--cocoa-2); line-height: 1; margin-bottom: .3rem; }
.cs-meta dd { font-weight: 600; }
.cs-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

.cs-cover { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.cs-cover__frame { position: relative; border-radius: var(--radius); background: var(--accent); padding: clamp(1.2rem, 5vw, 5rem) clamp(1.2rem, 6vw, 6rem) 0; overflow: hidden; }
.cs-cover__browser { position: relative; border-radius: 18px 18px 0 0; overflow: hidden; background: #fff; padding-top: 26px; box-shadow: 0 -10px 60px -20px rgba(0, 0, 0, .35); }
.cs-cover__browser::before, .cs-live__browser::before { content: ""; position: absolute; top: 9px; left: 14px; width: 46px; height: 9px; background: radial-gradient(circle, #FF6A5C 4px, transparent 4.5px) 0 0 / 15px 9px repeat-x; z-index: 1; }
.cs-cover__browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.cs-section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.cs-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.cs-overview h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 1rem; }
.cs-overview p { color: var(--cocoa-2); font-size: 1.1rem; max-width: 44ch; }
.cs-overview p + p { margin-top: .9rem; }
.cs-overview .chips { margin-top: 1.4rem; }

.cs-live { background: var(--paper); }
.cs-live .head { justify-items: center; text-align: center; margin-inline: auto; }
.cs-live .head__title { max-width: 14ch; font-size: clamp(2.6rem, 7vw, 6rem); }
.cs-live .head__script { justify-self: center; margin-left: 0; }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); margin: 0 auto 2rem; }
.seg button { height: 2.6rem; padding: 0 1.2rem; border-radius: 999px; font-weight: 600; transition: background-color .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--cocoa); color: var(--cream); }
.cs-live__center { display: grid; justify-items: center; }
.cs-live__stage { width: 100%; display: grid; place-items: center; }
.cs-live__browser { position: relative; width: 100%; border-radius: 18px; overflow: hidden; background: #fff; padding-top: 30px; box-shadow: 0 50px 80px -40px rgba(42, 27, 21, .55), inset 0 0 0 1px var(--line); }
.cs-live__viewport { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.cs-live__viewport iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; }
.cs-live__phone { position: relative; width: min(330px, 80vw); border-radius: 46px; padding: 12px; background: #14100E; box-shadow: 0 50px 80px -40px rgba(42, 27, 21, .6); }
.cs-live__phone .cs-live__viewport { aspect-ratio: 390 / 844; border-radius: 34px; }
.cs-live__phone iframe { width: 390px; height: 844px; }
.cs-live__note { margin-top: 1.2rem; font-family: var(--script); font-size: 1.5rem; color: var(--cocoa-2); text-align: center; }
.cs-live__poster { position: absolute; inset: 0; display: grid; place-items: center; background: center top / cover no-repeat; cursor: pointer; }
.cs-live__poster span { background: var(--cocoa); color: var(--cream); padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); transition: transform .4s var(--spring); }
.cs-live__poster:hover span { transform: scale(1.06); }

.cs-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hl { border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--spring); }
.hl:hover { transform: translateY(-8px) rotate(-.6deg); }
.hl img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.hl__text { padding: 1.4rem 1.5rem 1.6rem; }
.hl__text b { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-size: .85rem; margin-bottom: .8rem; }
.hl h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .4rem; }
.hl p { color: var(--cocoa-2); font-size: .98rem; }

.cs-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.cs-gallery figure { border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.g-wide { grid-column: span 12; aspect-ratio: 16 / 9; }
.g-half { grid-column: span 6; aspect-ratio: 16 / 10; }
.g-phones { grid-column: span 12; display: flex; justify-content: center; gap: clamp(1rem, 4vw, 4rem); padding: clamp(2rem, 5vw, 4rem); background: var(--accent) !important; }
.g-phones span { width: clamp(130px, 22vw, 260px); border-radius: 30px; overflow: hidden; border: 8px solid #14100E; background: #14100E; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .5); }
.g-phones span:nth-child(odd) { rotate: -4deg; }
.g-phones span:nth-child(even) { rotate: 4deg; translate: 0 8%; }
.g-phones img { aspect-ratio: 390 / 844; }

.cs-next { padding-bottom: clamp(.5rem, 1.5vw, 1.25rem); }
.next-card { display: block; margin-inline: clamp(.5rem, 1.5vw, 1.25rem); border-radius: clamp(32px, 4.5vw, 64px); background: var(--next-bg); color: var(--next-fg); padding: clamp(3rem, 8vw, 7rem) var(--px); text-align: center; position: relative; overflow: hidden; transition: border-radius .6s var(--ease); }
.next-card:hover { border-radius: 24px; }
.next-card .script { font-size: clamp(1.8rem, 3.6vw, 3rem); display: block; }
.next-card strong { display: block; font-size: clamp(3.4rem, 12vw, 11rem); font-weight: 800; letter-spacing: -.065em; line-height: .9; transition: letter-spacing .6s var(--ease); }
.next-card:hover strong { letter-spacing: -.03em; }
.next-card .pill { margin-top: 2rem; }
.case-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 2rem var(--px); font-size: .9rem; color: var(--cocoa-2); max-width: 1360px; margin-inline: auto; }

/* =========================================================================
   Motion
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform 1s var(--spring); transition-delay: calc(var(--d, 0) * 1ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg); transform-origin: 0 100%; transition: opacity .6s var(--ease), transform .9s var(--spring); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-split].is-in .w { opacity: 1; transform: none; }

  .js [data-hero] { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .8s var(--ease), transform 1.1s var(--spring); }
  .js.is-ready [data-hero] { opacity: 1; transform: none; }
  .js.is-ready [data-hero]:nth-child(2) { transition-delay: .08s; }
  .js.is-ready [data-hero]:nth-child(3) { transition-delay: .2s; }
  .js.is-ready [data-hero]:nth-child(4) { transition-delay: .28s; }
  .js.is-ready [data-hero]:nth-child(5) { transition-delay: .36s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: min(84vh, 760px); }
  .card__info { gap: .7rem; }
  .card__btn { margin-top: .4rem; }
  .card__browser { width: 92%; left: 8%; top: 6%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--tools { grid-column: span 2; }
  .cs-highlights { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --nav-h: 70px; }
  .nav { height: 58px; padding-left: 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }


  .about__intro { grid-template-columns: 1fr; }
  .about__photo { width: 100%; max-width: 340px; margin-inline: auto; }
  .cs-overview { grid-template-columns: 1fr; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .g-half { grid-column: span 12; }
}

@media (max-width: 560px) {
  .card { min-height: 600px; height: 86vh; padding: 1.4rem; }
  .card__title { font-size: 2.8rem; }
  .card__desc { font-size: 1rem; }
  .card__phone { width: 28%; }
  .bento { grid-template-columns: 1fr; }
  .tile--web, .tile--social, .tile--brand, .tile--tools { grid-column: span 1; }
  .tile--web { grid-row: span 1; }
  .contact__actions .pill { width: 100%; }
  .mail__hint { display: none; }
  .cs-highlights { grid-template-columns: 1fr; }
}

/* Fixes after review */
.cs-title-wrap .head__script { margin-bottom: -.2em; }
.cs-live .head__script { margin-bottom: .05em; }

/* =========================================================================
   Branding
   ========================================================================= */
.brand-sec { padding-top: clamp(4rem, 8vw, 7rem); }
.brand-card {
  --chip: rgba(78, 44, 19, .1);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3.2vw, 3rem); border-radius: var(--radius);
  background: var(--mint); color: var(--cocoa); overflow: hidden;
}
.brand-card__info { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.brand-card__media { display: block; border-radius: calc(var(--radius) - 10px); overflow: hidden; }
.brand-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.brand-card:hover .brand-card__media img { transform: scale(1.04); }

.pk { transition: transform .6s var(--spring); transform-box: fill-box; cursor: pointer; }
.pk:hover { transform: translateY(-14px); }

@media (max-width: 820px) {
  .brand-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
}

/* =========================================================================
   Social media
   ========================================================================= */
.social { padding-top: clamp(4rem, 8vw, 7rem); }
.lightbox { width: min(94vw, 1100px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--cocoa); overflow: auto; }
.lightbox::backdrop { background: rgba(42, 27, 21, .78); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lightbox-in .5s var(--spring); }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.92) translateY(20px); } }
.lightbox img { display: block; width: 100%; max-height: 84vh; object-fit: contain; background: var(--cream); }
.lightbox p { padding: .9rem 1.2rem 1.1rem; font-weight: 600; }
.lightbox__close { position: sticky; top: .8rem; float: right; z-index: 1; width: 2.8rem; height: 2.8rem; margin: .8rem .8rem -3.6rem 0; border-radius: 50%; background: var(--cocoa); color: var(--cream); font-size: 1.4rem; line-height: 1; }

@media (max-width: 820px) {
}

.panel--social { background: var(--ig-bg, #F8E7D0); transition: background-color .7s var(--ease); }
.ig-tabs { flex-wrap: wrap; border-radius: 28px; background: rgba(255, 255, 255, .55); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ig { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; animation: ig-in .7s var(--ease); }
@keyframes ig-in { from { opacity: 0; transform: translateY(18px); } }
.ig-side { display: grid; justify-items: center; gap: .9rem; }
.ig-hint { font-size: 1.45rem; line-height: 1.1; text-align: center; color: var(--ig-accent); }

.ig-phone { position: relative; width: min(350px, 86vw); height: min(700px, 150vw); padding: 11px; border-radius: 52px; background: #14100E; box-shadow: 0 50px 80px -40px rgba(42, 27, 21, .6); }
.ig-phone::before { content: ""; position: absolute; z-index: 6; top: 20px; left: 50%; width: 92px; height: 24px; translate: -50% 0; border-radius: 99px; background: #14100E; pointer-events: none; }
.ig-screen { width: 100%; height: 100%; overflow-y: auto; border-radius: 41px; background: #fff; color: #111; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 13px; line-height: 1.35; scrollbar-width: none; }
.ig-screen::-webkit-scrollbar { display: none; }
.ig-bar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 50px 16px 10px; background: #fff; font-size: 12px; }
.ig-bar span { font-weight: 600; }
.ig-bar b { font-size: 14px; font-weight: 700; }
.ig-profile { display: flex; align-items: center; gap: 14px; padding: 4px 16px 12px; }
.ig-avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ig-accent); }
.ig-profile div { min-width: 0; }
.ig-profile b, .ig-profile span { display: block; }
.ig-profile b { font-size: 14px; }
.ig-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 16px 14px; }
.ig-actions span { padding: 7px; border-radius: 9px; background: #EFEFEF; text-align: center; font-weight: 600; }
.ig-actions span:first-child { background: var(--ig-accent); color: var(--ig-accent-fg); }
.ig-hls { display: flex; gap: 12px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
.ig-hls::-webkit-scrollbar { display: none; }
.ig-hl { flex: none; display: grid; justify-items: center; gap: 5px; width: 62px; font-size: 11px; transition: transform .45s var(--spring); }
.ig-hl__ring { display: block; width: 58px; height: 58px; padding: 3px; border-radius: 50%; background: var(--ig-accent); }
.ig-hl__ring img { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.ig-hl__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-gridtab { display: grid; place-items: center; padding: 8px; border-top: 1px solid #E8E8E8; }
.ig-gridtab i { width: 18px; height: 18px; background: linear-gradient(#111 0 0) 0 33% / 100% 1.5px no-repeat, linear-gradient(#111 0 0) 0 66% / 100% 1.5px no-repeat, linear-gradient(#111 0 0) 33% 0 / 1.5px 100% no-repeat, linear-gradient(#111 0 0) 66% 0 / 1.5px 100% no-repeat; box-shadow: inset 0 0 0 1.5px #111; border-radius: 3px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-grid button { display: block; aspect-ratio: var(--ig-cell); overflow: hidden; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-grid button:hover img { transform: scale(1.06); }


.ig-info { display: grid; justify-items: start; gap: .9rem; min-width: 0; }
.ig-name { font-size: clamp(2.6rem, 5.4vw, 5.2rem); font-weight: 800; letter-spacing: -.055em; line-height: .95; color: var(--ig-accent); }
.ig-desc { max-width: 44ch; font-size: 1.1rem; color: var(--cocoa); }
.ig-sub { margin-top: 1rem; font-size: 1.7rem; line-height: 1; color: var(--ig-accent); font-weight: 600; }
.ig-hls--big { width: 100%; gap: clamp(.7rem, 1.6vw, 1.4rem); padding: .3rem .1rem .4rem; }
.ig-hl--big { width: clamp(72px, 8vw, 100px); font-size: .9rem; font-weight: 600; }
.ig-hl--big .ig-hl__ring { width: clamp(68px, 7.6vw, 96px); height: clamp(68px, 7.6vw, 96px); }
.ig-palette { display: flex; flex-wrap: wrap; gap: .5rem; }
.ig-palette li { display: flex; align-items: flex-end; width: clamp(68px, 7.4vw, 92px); height: 64px; padding: .4rem .5rem; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--spring); }
.ig-palette li:hover { transform: translateY(-4px) rotate(-2deg); }
.ig-palette span { padding: .05rem .3rem; border-radius: 6px; background: rgba(255, 255, 255, .85); color: var(--cocoa); font-size: .68rem; font-weight: 600; }
.ig-strip { display: flex; gap: .7rem; width: 100%; padding: .2rem 0 .9rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--ig-accent) transparent; cursor: grab; }
.ig-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ig-strip button { flex: none; width: clamp(130px, 13vw, 170px); overflow: hidden; border-radius: 16px; scroll-snap-align: start; cursor: inherit; }
.ig-strip img { width: 100%; aspect-ratio: var(--ig-cell); object-fit: cover; user-select: none; transition: transform .6s var(--ease); }
.ig-strip button:hover img { transform: scale(1.05); }
noscript img { width: 100%; margin-bottom: 1rem; border-radius: var(--radius); }

.tile--social { grid-column: span 2; min-height: 270px; background: var(--mint); }
.tile--social .tile__text, .tile--brand .tile__text { position: relative; z-index: 1; max-width: 46%; }
.tile__posts { position: absolute; right: 4%; bottom: -14%; display: flex; align-items: flex-end; }
.tile__posts img { width: clamp(84px, 9.5vw, 132px); aspect-ratio: 4 / 5; margin-left: -18px; object-fit: cover; border: 4px solid #fff; border-radius: 14px; box-shadow: 0 18px 28px -16px rgba(42, 27, 21, .5); transition: rotate .6s var(--spring), translate .6s var(--spring); }
.tile__posts img:nth-child(1) { rotate: -9deg; }
.tile__posts img:nth-child(2) { rotate: 2deg; translate: 0 -14px; z-index: 1; }
.tile__posts img:nth-child(3) { rotate: 10deg; }
.tile--social:hover .tile__posts img:nth-child(1) { rotate: -15deg; translate: -10px -10px; }
.tile--social:hover .tile__posts img:nth-child(2) { translate: 0 -30px; }
.tile--social:hover .tile__posts img:nth-child(3) { rotate: 16deg; translate: 10px -10px; }

@media (max-width: 1024px) {
  .tile--social { grid-column: span 2; }
}
@media (max-width: 900px) {
  .ig { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tile--social { grid-column: span 1; min-height: 340px; }
  .tile--social .tile__text, .tile--brand .tile__text { max-width: none; }
  .tile__posts { right: 8%; bottom: -8%; }
}
@media (max-width: 480px) {
  .ig-tabs { flex-wrap: nowrap; width: 100%; }
  .ig-tabs button { flex: 1 1 auto; height: 2.5rem; padding: 0 .6rem; font-size: .84rem; white-space: nowrap; }
}

/* Services are the doors to the work */
.tile__text { display: grid; justify-items: start; gap: .7rem; }
.tile__go { height: 2.6rem; padding: 0 1.1rem; font-size: .88rem; margin-top: .3rem; }
.tile:hover .tile__go { transform: translateY(-2px) rotate(-1.5deg); }
.tile__pack { position: absolute; right: -5%; bottom: -12%; width: 56%; overflow: hidden; border: 4px solid #fff; border-radius: 18px; rotate: -4deg; box-shadow: 0 24px 36px -20px rgba(42, 27, 21, .5); transition: rotate .7s var(--spring), translate .7s var(--spring); }
.tile__pack img { width: 100%; }
.tile--brand:hover .tile__pack { rotate: -1deg; translate: -8px -12px; }

/* Service pages */
.svc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: calc(var(--nav-h) + 3rem); }
.svc-switch { margin: 0; flex-wrap: wrap; border-radius: 28px; }
.svc-switch a { display: inline-flex; align-items: center; height: 2.6rem; padding: 0 1.1rem; border-radius: 999px; font-weight: 600; transition: background-color .3s, color .3s; }
.svc-switch a:hover { background: rgba(42, 27, 21, .08); }
.svc-switch a[aria-current] { background: var(--cocoa); color: var(--cream); }
.svc-page .work, .svc-page .brand-sec, .svc-page .social { padding-top: clamp(2.5rem, 5vw, 4rem); }
.svc-page .brand-sec { padding-bottom: clamp(3rem, 6vw, 5rem); }
.svc-page .social { padding-bottom: clamp(3rem, 6vw, 5rem); }

@media (max-width: 560px) {
  .tile--brand { min-height: 360px; }
  .tile__pack { width: 84%; right: 8%; bottom: -6%; }
  .svc-switch { width: 100%; flex-wrap: nowrap; }
  .svc-switch a { flex: 1 1 auto; justify-content: center; height: 2.5rem; padding: 0 .5rem; font-size: .82rem; white-space: nowrap; }
}

/* Keep scrolling light */
.cs-live__viewport { contain: layout paint; }
@media (max-width: 820px) {
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 251, 245, .97); }
  .card { will-change: auto; }
  .lightbox::backdrop { backdrop-filter: none; }
}

/* Nav sits straight on the cover until you scroll past it */
.nav { transition: transform .6s var(--ease), translate .6s var(--ease), width .5s var(--ease), padding .5s var(--ease), background-color .4s, color .4s, box-shadow .4s; }
.nav.is-top { width: calc(100% - 2 * clamp(.75rem, 1.4vw, 1.5rem) - .6rem); padding: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; color: var(--cocoa); }
.hero__foot .dot, .menu__foot .dot { background: var(--cocoa); box-shadow: 0 0 0 4px rgba(78, 44, 19, .14); }
.services { padding-top: clamp(4.5rem, 9vw, 8rem); }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__sign { clip-path: inset(-60% 100% -60% -10%); }
  .js.is-ready .hero__sign { clip-path: inset(-60% -10% -60% -10%); transition: clip-path 1.7s var(--ease-io) .55s; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 7rem; }
  .hero__foot p { font-size: .9rem; }
  .hero__foot .pill { height: 2.75rem; padding: 0 1.1rem; font-size: .9rem; }
}

/* UX/UI tile: desktop and phone together */
.tile__phone { position: absolute; z-index: 1; left: 5%; bottom: -5%; width: clamp(92px, 19%, 150px); overflow: hidden; border: 5px solid #14100E; border-radius: 22px; background: #14100E; rotate: -5deg; box-shadow: 0 26px 36px -18px rgba(42, 27, 21, .5); transition: rotate .7s var(--spring), translate .7s var(--spring); }
.tile__phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.tile--web:hover .tile__phone { rotate: -1deg; translate: 0 -12px; }
.tile--web .tile__browser { translate: 14% 8%; }
.tile--web:hover .tile__browser { translate: 11% 3%; }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 1.2rem .8rem; }
.tools li { display: grid; justify-items: center; gap: .6rem; text-align: center; font-size: .92rem; font-weight: 500; line-height: 1.2; }
.tool__icon { display: grid; place-items: center; width: clamp(58px, 5.6vw, 76px); aspect-ratio: 1; border-radius: 22%; font-size: clamp(1.45rem, 2.2vw, 1.95rem); font-weight: 600; letter-spacing: -.02em; box-shadow: 0 16px 24px -16px rgba(42, 27, 21, .55); transition: transform .5s var(--spring); }
.tool__icon svg { width: 56%; height: 56%; }
.tools li:hover .tool__icon { transform: translateY(-6px) rotate(-5deg); }

/* Profile */
.about__block { margin-top: clamp(3.5rem, 7vw, 6rem); }
.about__sub { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1; rotate: -3deg; transform-origin: left; margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.xp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.xp__card { display: grid; justify-items: start; align-content: start; gap: .5rem; padding: clamp(1.5rem, 3vw, 2.6rem); border-radius: var(--radius); }
.xp__card--pink { background: var(--pink); }
.xp__card--mint { background: var(--mint); }
.xp__when { padding: .3rem .85rem; border-radius: 999px; background: rgba(255, 250, 235, .7); font-size: .88rem; font-weight: 600; margin-bottom: clamp(1rem, 3vw, 2.2rem); }
.xp__card h4 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.xp__where { font-weight: 600; }
.xp__card p:last-child { max-width: 36ch; opacity: .9; }
.studies { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); padding-top: 2.2rem; }
.studies::before { content: ""; position: absolute; left: 0; right: 0; top: .55rem; height: 2px; background: var(--cocoa); transform-origin: left; }
.studies li { position: relative; display: grid; gap: .25rem; align-content: start; }
.studies li::before { content: ""; position: absolute; left: 0; top: -2.2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px var(--cocoa); }
.studies li:nth-child(2)::before { background: var(--mint); }
.studies li:nth-child(3)::before { background: var(--cream); }
.studies b { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.studies span { font-weight: 500; max-width: 26ch; }
.studies small { font-size: .9rem; color: var(--cocoa-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .studies::before { transform: scaleX(0); transition: transform 1.5s var(--ease-io) .2s; }
  .js .studies.is-in::before { transform: none; }
}
@media (max-width: 820px) {
  .xp { grid-template-columns: 1fr; }
  .studies { grid-template-columns: 1fr; padding: 0 0 0 2.2rem; gap: 2rem; }
  .studies::before { left: .55rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; }
  .js .studies::before { transform: scaleY(0); }
  .studies li::before { left: -2.2rem; top: .15rem; }
  .tile--web .tile__browser { translate: 12% 8%; }
}

/* Live preview: the whole frame fits on screen, and the page keeps the wheel until you click in */
.cs-live__browser { width: min(100%, calc((100svh - 150px) * 1.6)); }
.cs-live__phone { width: min(330px, 80vw, calc((100svh - 110px) / 2.22)); }
.cs-live__shield { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.2rem; cursor: pointer; background: transparent; }
.cs-live__shield[hidden] { display: none; }
.cs-live__shield span { padding: .6rem 1.1rem; border-radius: 999px; background: var(--cocoa); color: var(--cream); font-size: .88rem; font-weight: 600; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); transition: transform .4s var(--spring); }
.cs-live__shield:hover span { transform: scale(1.06); }

/* UX case: research, persona, path, decisions, next tests */
.ux .head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ux .head__lede { max-width: 52ch; }
.ux-honest { margin-top: 1rem; max-width: 62ch; font-size: .95rem; color: var(--cocoa-2); }
.ux-block { padding-block: clamp(2rem, 4vw, 3.2rem); border-top: 1px solid var(--line); }
.ux-step { display: flex; align-items: center; gap: .8rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ux-step span { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-size: .9rem; font-weight: 700; letter-spacing: 0; }

.ux-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ux-stats li { display: flex; flex-direction: column; padding: clamp(1.3rem, 2.4vw, 2rem); border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ux-stats li:nth-child(1) { background: var(--pink); box-shadow: none; }
.ux-stats li:nth-child(2) { background: var(--mint); box-shadow: none; }
.ux-stats b { font-size: clamp(2.8rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.ux-stats p { margin-top: .8rem; font-size: 1rem; line-height: 1.45; }
.ux-stats small { margin-top: auto; padding-top: 1rem; font-size: .8rem; font-weight: 600; opacity: .75; }

.ux-table { margin-top: 1rem; overflow-x: auto; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ux-table table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.ux-table th, .ux-table td { padding: 1rem clamp(1rem, 2vw, 1.6rem); vertical-align: top; font-size: .98rem; line-height: 1.4; }
.ux-table thead th { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cocoa-2); }
.ux-table tbody tr { border-top: 1px solid var(--line); }
.ux-table tbody th { font-weight: 700; white-space: nowrap; }
.ux-table tbody td:last-child { font-weight: 600; }
.ux-note { margin-top: .8rem; font-size: .85rem; color: var(--cocoa-2); }

.ux-persona { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ux-persona__who { padding: clamp(1.4rem, 2.6vw, 2.2rem); background: var(--accent); color: var(--accent-fg); }
.ux-persona__who > span { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin-bottom: 1rem; border-radius: 50%; background: var(--cream); color: var(--cocoa); font-size: 1.9rem; font-weight: 800; }
.ux-persona__who h4 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ux-persona__who p { margin-top: .35rem; }
.ux-persona__who small { display: block; margin-top: 1.1rem; font-size: .8rem; font-weight: 600; opacity: .8; }
.ux-persona__body { padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.ux-persona__goal { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.ux-persona__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.ux-persona__lists h4 { margin-bottom: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cocoa-2); }
.ux-persona__lists li { padding-block: .4rem; border-top: 1px solid var(--line); font-size: .98rem; line-height: 1.35; }

.ux-flow { display: flex; flex-wrap: wrap; gap: .6rem 1.7rem; }
.ux-flow li { position: relative; padding: .6rem 1.05rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; font-weight: 600; }
.ux-flow li:not(:last-child)::after { content: "→"; position: absolute; left: 100%; top: 50%; width: 1.7rem; transform: translateY(-50%); text-align: center; font-weight: 700; }
.ux-flow li:last-child { background: var(--accent); color: var(--accent-fg); box-shadow: none; }

.ux-wires { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.ux-wire { margin: 0; }
.ux-wire__frame { display: flex; flex-direction: column; gap: .4rem; aspect-ratio: 4 / 3; padding: .8rem; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ux-wire__row { display: flex; gap: .4rem; flex: var(--h) 1 0; min-height: 0; }
.ux-wire__row span { display: grid; place-items: center; flex: var(--f) 1 0; min-width: 0; padding: .2rem .35rem; border-radius: 10px; border: 1.5px dashed rgba(78, 44, 19, .28); color: var(--cocoa-2); font-size: clamp(.62rem, .9vw, .76rem); font-weight: 600; line-height: 1.15; text-align: center; overflow: hidden; }
.ux-wire__row .is-hot { border: 0; background: var(--accent); color: var(--accent-fg); }
.ux-wire figcaption { margin-top: .7rem; color: var(--cocoa-2); font-size: .95rem; line-height: 1.35; }
.ux-wire figcaption b { display: block; color: var(--cocoa); font-weight: 700; }

.ux-decisions { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); }
.ux-decision { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.2rem, 3.5vw, 3rem); align-items: center; }
.ux-decision:nth-child(even) .ux-decision__shot { order: 2; }
.ux-decision__shot { display: block; width: 100%; padding: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 22px 44px -28px rgba(78, 44, 19, .55); cursor: zoom-in; }
.ux-decision__shot img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.ux-decision__shot:hover img { transform: scale(1.03); }
.ux-decision h4 { font-size: clamp(1.45rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.ux-why, .ux-what { margin-top: .9rem; color: var(--cocoa-2); font-size: 1.02rem; line-height: 1.45; }
.ux-why b, .ux-what b { display: block; margin-bottom: .1rem; color: var(--cocoa); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.ux-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ux-next li { display: flex; flex-direction: column; padding: clamp(1.2rem, 2.2vw, 1.8rem); border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ux-next h4 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.ux-next p { margin-top: .55rem; color: var(--cocoa-2); font-size: .98rem; line-height: 1.4; }
.ux-next small { margin-top: auto; padding-top: .9rem; font-size: .82rem; font-weight: 700; }


@media (max-width: 820px) {
  .ux-stats, .ux-wires, .ux-next, .ux-persona, .ux-decision { grid-template-columns: minmax(0, 1fr); }
  .ux-decision:nth-child(even) .ux-decision__shot { order: 0; }
  .ux-flow { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .ux-flow li:not(:last-child)::after { content: "↓"; left: 1.2rem; top: 100%; width: 1.2rem; height: 1.5rem; transform: none; line-height: 1.5rem; }
}
@media (max-width: 520px) {
  .ux-persona__lists { grid-template-columns: minmax(0, 1fr); }
}

.ux .head__script { margin-bottom: .4rem; }

/* One block of its own per case: STACKD tap counter, Mellis sample grid, Triplio journey map */
.ux-taps__count { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.ux-taps__count b { font-size: clamp(5rem, 11vw, 9rem); font-weight: 800; letter-spacing: -.07em; line-height: .85; }
.ux-taps__count span { max-width: 15ch; font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.ux-taps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ux-taps li { position: relative; padding: clamp(1.1rem, 2vw, 1.6rem); border-radius: var(--radius); background: var(--accent); color: var(--accent-fg); }
.ux-taps li:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; top: 50%; right: -1rem; width: 1rem; transform: translateY(-50%); text-align: center; font-size: .9rem; font-weight: 700; }
.ux-taps li > span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 1.6rem; border-radius: 50%; background: var(--cream); color: var(--cocoa); font-size: .85rem; font-weight: 700; }
.ux-taps h4 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ux-taps li p { margin-top: .4rem; font-size: .95rem; line-height: 1.35; }
.ux-taps .ux-note { max-width: 78ch; }
.ux-taps + .ux-wires { margin-top: 2rem; }

.ux-sample { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 1rem; }
.ux-sample__main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; margin: 0; padding: clamp(1.3rem, 2.8vw, 2.2rem); border-radius: var(--radius); background: var(--pink); }
.ux-sample__dots { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: clamp(3px, .45vw, 6px); }
.ux-sample__dots i { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--cream); }
.ux-sample__dots .is-hit { background: var(--cocoa); }
.ux-sample figcaption b { display: block; font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; }
.ux-sample figcaption p { margin-top: .7rem; font-size: 1rem; line-height: 1.4; }
.ux-sample .ux-sample__take { font-weight: 700; }
.ux-sample figcaption small { display: block; margin-top: .8rem; font-size: .8rem; font-weight: 600; opacity: .75; }
.ux-stats--side { grid-template-columns: minmax(0, 1fr); }
.ux-stats--side li:nth-child(1) { background: var(--mint); }
.ux-stats--side li:nth-child(2) { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ux-stats--side b { font-size: clamp(2.2rem, 3.8vw, 3.2rem); }
.ux-stats--side p { font-size: .94rem; }

.ux-journey__intro { max-width: 68ch; margin-bottom: 1.2rem; color: var(--cocoa-2); font-size: 1.05rem; line-height: 1.45; }
.ux-journey { overflow-x: auto; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ux-journey__inner { min-width: 860px; padding: clamp(1.2rem, 2.4vw, 2rem); }
.ux-journey__chart { position: relative; height: clamp(170px, 18vw, 240px); margin-bottom: 1.4rem; }
.ux-journey__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ux-journey__line { fill: none; stroke: var(--cocoa); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ux-journey__fill { fill: var(--accent); opacity: .55; }
.ux-journey__chart > i { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 3px var(--cocoa); }
.ux-journey__chart > i.is-low { width: 24px; height: 24px; margin: -12px 0 0 -12px; background: var(--mint); }
.ux-journey__axis { position: absolute; left: 0; z-index: 1; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cocoa-2); }
.ux-journey__axis--top { top: 0; }
.ux-journey__axis--bottom { bottom: 0; }
.ux-journey__cols { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: .9rem; }
.ux-journey__cols li { padding-top: .8rem; border-top: 1px solid var(--line); }
.ux-journey__cols h4 { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.ux-journey__cols p { margin-top: .4rem; color: var(--cocoa-2); font-size: .88rem; line-height: 1.3; }
.ux-journey__cols .ux-journey__thought { color: var(--cocoa); font-size: 1.3rem; line-height: 1.05; }

@media (max-width: 960px) {
  .ux-sample, .ux-sample__main { grid-template-columns: minmax(0, 1fr); }
  .ux-stats--side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .ux-taps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ux-taps li:not(:last-child)::after { display: none; }
}
@media (max-width: 620px) {
  .ux-stats--side { grid-template-columns: minmax(0, 1fr); }
}

/* DUGS brand case ---------------------------------------------------------------- */
.dugs-page { --dg-pearl: #EFEADC; --dg-powder: #8EA7C1; --dg-cocoa: #7F5B3B; --dg-truffle: #4B2F24; }
.dg-fredoka { font-family: 'Fredoka', var(--font, sans-serif); }
.dg-inter { font-family: 'Inter', system-ui, sans-serif; }
/* White-on-transparent artwork painted in the current colour */
.dg-m { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

.dg-logo { position: relative; display: block; width: 100%; aspect-ratio: 1186 / 447; color: var(--fg, var(--dg-truffle)); cursor: pointer; }
.dg-logo i, .dg-logo__head { position: absolute; inset: 0; }
.dg-logo__head { transform-origin: 62% 27%; }
.dg-logo__wink { transform-origin: 65.35% 19.8%; }
@keyframes dg-wink { 0%, 100% { transform: none; } 40%, 62% { transform: scaleY(.1); } }
@keyframes dg-wink-idle { 0%, 86%, 100% { transform: none; } 90%, 94% { transform: scaleY(.1); } }
@keyframes dg-wiggle {
  0% { transform: none; }
  18% { transform: translateY(-4%) rotate(-8deg); }
  42% { transform: translateY(-2%) rotate(7deg); }
  66% { transform: rotate(-4deg); }
  84% { transform: rotate(2deg); }
  100% { transform: none; }
}@keyframes dg-hello {
  0% { transform: none; }
  18% { transform: translateY(-4%) rotate(-8deg); }
  42% { transform: translateY(-2%) rotate(7deg); }
  66% { transform: rotate(-4deg); }
  84% { transform: rotate(2deg); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .dg-logo:hover .dg-logo__head, .dg-logo.is-wiggling .dg-logo__head, .dg-var:hover .dg-logo__head { animation: dg-wiggle 1s var(--ease); }
  /* A separate name, so a later tap can restart the wiggle */
  .dg-logo--cover .dg-logo__head { animation: dg-hello 1.1s var(--ease) 1.2s; }
  /* Every few seconds the cover dog winks; on hover or tap it winks right away */
  .dg-logo--cover .dg-logo__wink { animation: dg-wink-idle 4.5s ease-in-out 2.6s infinite; }
  .dg-logo:hover .dg-logo__wink, .dg-logo.is-wiggling .dg-logo__wink, .dg-var:hover .dg-logo__wink { animation: dg-wink .5s ease-in-out .2s; }
}

.dg-cover { display: grid; justify-items: center; gap: 1.4rem; padding: clamp(4rem, 11vw, 9rem) clamp(1.5rem, 8vw, 8rem); border-radius: var(--radius); background: var(--dg-pearl); }
.dg-cover > div { width: min(100%, 760px); }
.dg-cover .script { color: var(--dg-cocoa); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }

.dg-idea { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; }
.dg-idea figure { display: grid; align-content: center; gap: 1.4rem; margin: 0; padding: clamp(1.6rem, 4vw, 3.4rem); border-radius: var(--radius); color: var(--dg-truffle); }
.dg-idea__eq { background: var(--dg-pearl); }
.dg-idea__eq i { width: 100%; aspect-ratio: 866 / 203; }
.dg-idea__face { background: var(--dg-powder); }
.dg-idea__face i { width: 84%; justify-self: center; aspect-ratio: 960 / 579; }
.dg-idea figcaption { font-size: 1rem; line-height: 1.4; }
.dg-idea__eq figcaption { font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--dg-cocoa); }

.dg-vars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dg-var { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--bg); color: var(--fg); transition: transform .6s var(--spring); }
.dg-var:hover { transform: translateY(-6px) rotate(-.6deg); }
.dg-var .dg-logo { width: 64%; }
.dg-var--line { box-shadow: inset 0 0 0 2px var(--dg-truffle); }
.dg-var__label { position: absolute; left: 1.4rem; bottom: 1.1rem; font-size: .85rem; font-weight: 600; opacity: .8; }

.dg-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.dg-swatches button { display: grid; justify-items: start; gap: .25rem; width: 100%; text-align: left; transition: transform .6s var(--spring); }
.dg-swatches button:hover { transform: translateY(-6px); }
.dg-swatch__arch { width: 100%; aspect-ratio: 4 / 5; margin-bottom: .8rem; border-radius: 999px 999px 18px 18px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(75, 47, 36, .12); }
.dg-swatches b { font-family: 'Fredoka', sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--dg-truffle); }
.dg-swatches span:not(.dg-swatch__arch) { font-weight: 600; letter-spacing: .04em; color: var(--cocoa-2); }
.dg-swatches small { margin-top: .3rem; font-size: .92rem; line-height: 1.35; color: var(--cocoa-2); }

.dg-type { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; }
.dg-type__card { display: grid; align-content: start; gap: 1.2rem; padding: clamp(1.5rem, 3.5vw, 2.8rem); border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--dg-truffle); }
.dg-type__card--main { background: var(--dg-pearl); box-shadow: none; }
.dg-type__aa { font-size: clamp(5.5rem, 11vw, 9rem); font-weight: 700; line-height: .9; }
.dg-type__card h3 { font-family: 'Fredoka', sans-serif; font-size: 2rem; font-weight: 600; }
.dg-type__card h3.dg-inter { font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: -.02em; }
.dg-type__card p:not(.dg-type__aa):not(.dg-type__name) { margin-top: .4rem; color: var(--cocoa-2); line-height: 1.45; }
.dg-type__try { display: grid; gap: .45rem; font-size: .85rem; font-weight: 600; }
.dg-type__try input { width: min(100%, 280px); height: 3rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: #fff; color: var(--dg-truffle); font: 600 1.05rem 'Fredoka', sans-serif; box-shadow: inset 0 0 0 2px var(--dg-powder); }
.dg-type__try input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--dg-truffle); }
.dg-type__name { min-height: 1em; font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; line-height: 1; overflow-wrap: anywhere; }
.dg-type .dg-type__sample { padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--dg-pearl); color: var(--dg-truffle); font-size: .95rem; line-height: 1.6; }

.dg-voice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dg-voice li { display: flex; flex-direction: column; gap: .7rem; padding: clamp(1.4rem, 2.6vw, 2rem); border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--dg-truffle); }
.dg-voice__n { font-family: var(--script); font-size: 1.6rem; color: var(--dg-cocoa); line-height: 1; }
.dg-voice h3 { font-family: 'Fredoka', sans-serif; font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.dg-voice li > p:not([class]) { color: var(--cocoa-2); line-height: 1.45; }
.dg-voice__say { margin-top: auto; padding: 1rem 1.1rem; border-radius: 18px; background: var(--dg-pearl); font-family: 'Fredoka', sans-serif; font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.dg-voice__say b, .dg-voice__not b { display: block; margin-bottom: .3rem; font-family: var(--font, sans-serif); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cocoa-2); }
.dg-voice__say small, .dg-voice__not small { display: block; margin-top: .35rem; font-family: var(--font, sans-serif); font-size: .85rem; font-weight: 500; color: var(--cocoa-2); }
.dg-voice__not { padding: 0 1.1rem; color: var(--cocoa-2); font-size: .95rem; }
.dg-voice__not s { text-decoration-color: var(--dg-cocoa); text-decoration-thickness: 2px; }
.dg-words { display: grid; gap: .8rem; margin-top: 1rem; }
.dg-words p { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.dg-words b { min-width: 9rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cocoa-2); }
.dg-words span, .dg-words s { padding: .4rem .95rem; border-radius: 999px; font-family: 'Fredoka', sans-serif; font-weight: 500; }
.dg-words span { background: var(--dg-powder); color: var(--dg-truffle); }
.dg-words s { box-shadow: inset 0 0 0 1px var(--line); color: var(--cocoa-2); text-decoration-color: var(--dg-cocoa); }

.dg-icons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.dg-icons li { display: grid; justify-items: center; gap: .8rem; padding: 1.4rem 1rem 1.1rem; border-radius: var(--radius); background: var(--dg-pearl); color: var(--dg-truffle); font-size: .9rem; font-weight: 600; }
.dg-icons i { width: 58%; aspect-ratio: 1; transition: transform .6s var(--spring); }
.dg-icons li:hover i { transform: translateY(-6px) rotate(-8deg) scale(1.06); }
.dg-bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1rem; }
.dg-bento__pattern { grid-row: span 2; }
.dg-bento .dg-shot { box-shadow: none; border-radius: 17%; }
.dg-bento .dg-bento__pattern { border-radius: 9.5%; }
.dg-bento .dg-shot img { height: 100%; object-fit: cover; }

.dg-shot { display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; box-shadow: 0 30px 60px -40px rgba(75, 47, 36, .6); }
.dg-shot img { display: block; width: 100%; height: auto; transition: transform .9s var(--ease); }
.dg-shot:hover img { transform: scale(1.03); }
.dg-band { background: var(--dg-pearl); }
.dg-wide { margin-bottom: 1rem; }
.dg-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dg-duo .dg-shot img { aspect-ratio: 5 / 4; object-fit: cover; }

.dg-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); max-width: 1040px; margin-inline: auto; }
.dg-stories li { display: grid; gap: .8rem; justify-items: center; }
.dg-stories .dg-shot { border-radius: 30px; }
.dg-stories p, .dg-world figcaption { font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--dg-cocoa); }
.dg-world { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dg-world figure { display: grid; gap: .8rem; margin: 0; }
.dg-world .dg-shot img { aspect-ratio: 1 / 2; object-fit: cover; }
.dg-world__wide { display: grid; gap: .8rem; margin: 1rem 0 0; }
.dg-world__wide .dg-wide { margin-bottom: 0; }

@media (max-width: 900px) {
  .dg-idea, .dg-type, .dg-voice { grid-template-columns: minmax(0, 1fr); }
  .dg-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dg-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dg-vars, .dg-bento, .dg-duo { grid-template-columns: minmax(0, 1fr); }
  .dg-bento__pattern { grid-row: auto; }
  /* Tall pieces slide sideways instead of shrinking */
  .dg-stories, .dg-world { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--px) * -1); padding: 0 var(--px) .6rem; scrollbar-width: none; }
  .dg-stories::-webkit-scrollbar, .dg-world::-webkit-scrollbar { display: none; }
  .dg-stories li, .dg-world figure { flex: 0 0 72%; scroll-snap-align: center; }
}
.brand-card + .brand-card { margin-top: 1rem; background: var(--pink); }

/* BOOST brand case ------------------------------------------------------------- */
.boost-page { --bo-indigo: #2B1E66; --bo-lilac: #C7B0FF; --bo-yellow: #FFE164; --bo-brown: #4E2A1F; --bo-cream: #FFF6EC; }
.bo-m { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.bo-logo { display: grid; justify-items: center; gap: 4%; width: 100%; color: var(--fg, var(--bo-cream)); }
.bo-logo__word { width: 100%; aspect-ratio: 1070 / 245; }
.bo-logo__tag { width: 64.3%; aspect-ratio: 688 / 52; }

/* The cover changes flavour */
[data-way="bo-original"] { --bf-bg: #2B1E66; --bf-fg: #FFF6EC; }
[data-way="bo-blueberry"] { --bf-bg: #C7B0FF; --bf-fg: #2B1E66; }
[data-way="bo-banana"] { --bf-bg: #FFE164; --bf-fg: #4E2A1F; }
[data-way="bo-brownie"] { --bf-bg: #4E2A1F; --bf-fg: #FFC4B0; }
[data-way="bo-strawberry"] { --bf-bg: #FFB3D6; --bf-fg: #4E2A1F; }
[data-way="bo-cookies"] { --bf-bg: #A9DBFF; --bf-fg: #2B1E66; }
[data-way="bo-peanut"] { --bf-bg: #FF8A2B; --bf-fg: #4E2A1F; }
.bo-cover { display: grid; place-items: center; padding: clamp(4rem, 11vw, 9rem) clamp(1.5rem, 10vw, 10rem); border-radius: var(--radius); background: var(--bf-bg); transition: background .6s var(--ease); }
.bo-cover > div { width: min(100%, 720px); }
.bo-cover .bo-logo { --fg: var(--bf-fg); transition: color .6s var(--ease); }
.bo-cover .bo-m { transition: background-color .6s var(--ease); }
.bo-seg { flex-wrap: wrap; justify-content: center; margin: 1.2rem auto 0; border-radius: 28px; width: fit-content; max-width: 100%; }
.bo-seg button { display: inline-flex; align-items: center; gap: .45rem; }
.bo-seg button span, .bo-flavours__pick span { width: .85rem; height: .85rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 30, 102, .25); }

/* Claims running across the page */
.bo-marquee { overflow: hidden; margin-top: clamp(3rem, 6vw, 5rem); padding: 1.1rem 0; background: var(--bo-indigo); color: var(--bo-yellow); transform: rotate(-2deg) scale(1.02); }
.bo-marquee > div { display: flex; width: max-content; }
.bo-marquee p { display: flex; align-items: center; gap: 1.4rem; padding-right: 1.4rem; white-space: nowrap; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; font-style: italic; }
.bo-marquee i { font-style: normal; color: var(--bo-lilac); font-size: .7em; }
@media (prefers-reduced-motion: no-preference) {
  .bo-marquee > div { animation: bo-run 28s linear infinite; }
}
@keyframes bo-run { to { transform: translateX(-50%); } }

.bo-eq { padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 8vw, 7rem); border-radius: var(--radius); background: var(--bo-lilac); color: var(--bo-indigo); transform: skewX(-6deg); }
.bo-eq .bo-m { width: 100%; aspect-ratio: 1592 / 156; transform: skewX(6deg); }
.bo-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.bo-way { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--bg); transform: skewX(-6deg); transition: transform .6s var(--spring); }
.bo-way:hover { transform: skewX(-6deg) translateY(-6px); }
.bo-way > span { width: 72%; transform: skewX(6deg); }
.bo-way .bo-logo { --fg: inherit; color: var(--fg); }

/* Colour: slanted cards, like the brand's own boards */
.bo-colour-sec { overflow: hidden; }
.bo-swatches { display: grid; gap: clamp(.8rem, 2vw, 1.4rem); }
.bo-swatches__row { display: flex; gap: clamp(.8rem, 2vw, 1.4rem); margin-inline: -6vw; animation: bo-slide 7s ease-in-out infinite alternate; }
.bo-swatches__row:nth-child(2) { animation-direction: alternate-reverse; }
.bo-swatches__row:nth-child(3) { animation-delay: -3.5s; }
.bo-swatches:hover .bo-swatches__row { animation-play-state: paused; }
@keyframes bo-slide { from { translate: -4vw 0; } to { translate: 4vw 0; } }
@media (prefers-reduced-motion: reduce) { .bo-swatches__row { animation: none; margin-inline: 0; } }
.bo-swatches button { flex: 1; display: grid; place-items: center; min-height: clamp(150px, 17vw, 230px); border-radius: 22px; background: var(--c); color: var(--f); transform: skewX(-14deg); transition: transform .6s var(--spring); }
.bo-swatches button:hover { transform: skewX(-14deg) translateY(-6px); }
.bo-swatches button > span { display: grid; justify-items: center; gap: .5rem; text-align: center; transform: skewX(14deg); }
.bo-swatches b { font-family: 'Unbounded', var(--font, sans-serif); font-size: clamp(1.25rem, 2.3vw, 2.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; }
.bo-swatches small { font-family: 'Barlow Condensed', var(--font, sans-serif); font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: .02em; }

.bo-type { display: grid; gap: 0; }
.bo-type .head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.bo-type__card { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); padding: clamp(1.5rem, 3.5vw, 2.8rem); border-radius: var(--radius); background: var(--bo-lilac); color: var(--bo-indigo); }
.bo-type__aa { width: clamp(130px, 16vw, 200px); aspect-ratio: 163 / 98; }
.bo-type__card > div { flex: 1 1 240px; }
.bo-type__card h3 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; }
.bo-type__card p { margin-top: .5rem; line-height: 1.45; }
.bo-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.bo-pillars li { display: grid; justify-items: start; gap: .5rem; padding: clamp(1.3rem, 2.5vw, 2rem); border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--bo-indigo); }
.bo-pillars .bo-m { width: 2.8rem; height: 2.8rem; margin-bottom: .4rem; transition: transform .6s var(--spring); }
.bo-pillars li:hover .bo-m { transform: rotate(-10deg) scale(1.12); }
.bo-pillars h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.bo-pillars p { color: var(--cocoa-2); line-height: 1.4; }

/* Flavour picker: the section takes the wrapper's colour */
.bo-flavour-sec { background: var(--bf-bg, var(--bo-lilac)); transition: background .6s var(--ease); }
.bo-flavour-sec:has([data-way="bo-blueberry"]) { --bf-bg: #C7B0FF; --bf-fg: #2B1E66; }
.bo-flavour-sec:has([data-way="bo-banana"]) { --bf-bg: #FFE164; --bf-fg: #4E2A1F; }
.bo-flavour-sec:has([data-way="bo-brownie"]) { --bf-bg: #4E2A1F; --bf-fg: #FFC4B0; }
.bo-flavour-sec:has([data-way="bo-strawberry"]) { --bf-bg: #FFB3D6; --bf-fg: #4E2A1F; }
.bo-flavour-sec:has([data-way="bo-cookies"]) { --bf-bg: #A9DBFF; --bf-fg: #2B1E66; }
.bo-flavour-sec:has([data-way="bo-peanut"]) { --bf-bg: #FF8A2B; --bf-fg: #4E2A1F; }
.bo-flavour-sec .head__script, .bo-flavour-sec .head__title { color: var(--bf-fg, var(--cocoa)); transition: color .6s var(--ease); }
.bo-flavours { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "stage info" "stage pick"; gap: 1rem clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.bo-flavours__stage { grid-area: stage; display: grid; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); background: #6B44B8; }
.bo-flavours__bar { grid-area: 1 / 1; width: 100%; height: auto; border-radius: 10px; opacity: 0; transform: rotate(-8deg) scale(.9) translateY(12px); transition: opacity .45s var(--ease), transform .7s var(--spring); }
.bo-flavours__info { grid-area: info; display: grid; color: var(--bf-fg); }
.bo-flavours__note { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); font-size: 1.05rem; line-height: 1.4; }
.bo-flavours__note b { display: block; margin-bottom: .3rem; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.bo-flavours__pick { grid-area: pick; display: flex; flex-wrap: wrap; gap: .5rem; align-self: start; }
.bo-flavours__pick button { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .55); color: #2B1E66; font-size: .9rem; font-weight: 600; transition: background .3s, transform .4s var(--spring); }
.bo-flavours__pick button:hover { transform: translateY(-2px); }
.bo-flavours__pick button[aria-pressed="true"] { background: #2B1E66; color: #FFF6EC; }
.bo-flavours[data-way="bo-blueberry"] .bo-flavours__bar--blueberry, .bo-flavours[data-way="bo-banana"] .bo-flavours__bar--banana,
.bo-flavours[data-way="bo-brownie"] .bo-flavours__bar--brownie, .bo-flavours[data-way="bo-strawberry"] .bo-flavours__bar--strawberry,
.bo-flavours[data-way="bo-cookies"] .bo-flavours__bar--cookies, .bo-flavours[data-way="bo-peanut"] .bo-flavours__bar--peanut { opacity: 1; transform: rotate(-4deg); }
.bo-flavours[data-way="bo-blueberry"] .bo-flavours__note--blueberry, .bo-flavours[data-way="bo-banana"] .bo-flavours__note--banana,
.bo-flavours[data-way="bo-brownie"] .bo-flavours__note--brownie, .bo-flavours[data-way="bo-strawberry"] .bo-flavours__note--strawberry,
.bo-flavours[data-way="bo-cookies"] .bo-flavours__note--cookies, .bo-flavours[data-way="bo-peanut"] .bo-flavours__note--peanut { opacity: 1; transform: none; }

.bo-shot { display: block; width: 100%; padding: 0; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; box-shadow: 0 30px 60px -40px rgba(43, 30, 102, .7); }
.bo-shot img { display: block; width: 100%; height: auto; transition: transform .9s var(--ease); }
.bo-shot:hover img { transform: scale(1.03); }
.bo-pack { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 1rem; align-items: stretch; }
.bo-pack .bo-shot img { height: 100%; object-fit: cover; }
.bo-posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.bo-posters .bo-shot { border-radius: 26px; }
.bo-world { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.bo-world figure { display: grid; gap: .8rem; margin: 0; }
.bo-world figcaption { font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--cocoa-2); }

@media (max-width: 900px) {
  .bo-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-type, .bo-pillars, .bo-pack, .bo-world { grid-template-columns: minmax(0, 1fr); }
  .bo-flavours { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "info" "pick"; }
}
@media (max-width: 640px) {
  .bo-swatches__row { flex-wrap: wrap; }
  .bo-swatches button { flex: 1 1 40%; min-height: 120px; }
  .bo-posters { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--px) * -1); padding: 0 var(--px) .6rem; scrollbar-width: none; }
  .bo-posters::-webkit-scrollbar { display: none; }
  .bo-posters li { flex: 0 0 72%; scroll-snap-align: center; }
}
.boost-page main { overflow-x: clip; }

.brand-card + .brand-card + .brand-card { background: var(--mint); }

/* Cairo gelato brand case --------------------------------------------------------- */
.cairo-page { --ca-cherry: #7A0019; --ca-rasp: #C53A55; --ca-pink: #E8A5B3; --ca-cream: #F8EDE1; --ca-pista: #576145; --ca-sans: 'Montserrat', var(--font); --ca-script: 'Yellowtail', var(--script); }
.cairo-page main { overflow-x: clip; }
.ca-m { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* Logo: the oval is SVG so it can draw itself, the script is a mask so it can be written in */
.ca-logo { position: relative; display: block; width: 100%; aspect-ratio: 480 / 296; color: var(--fg, var(--ca-cream)); }
.ca-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ca-logo__ring { fill: none; stroke: currentColor; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ca-logo__script { position: absolute; inset: 0; }

/* Wavy pink swirl */
.ca-swirl { display: block; width: 200%; max-width: none; height: 100%; overflow: visible; will-change: transform; }
.ca-swirl path { fill: none; stroke: var(--ca-pink); stroke-width: clamp(14px, 2.2vw, 26px); stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Cover */
.ca-cover { position: relative; overflow: hidden; display: grid; place-items: center; padding: clamp(3.5rem, 9vw, 7rem) clamp(1.5rem, 8vw, 6rem) clamp(7rem, 13vw, 10rem); border-radius: var(--radius); background: var(--ca-cherry); }
.ca-cover__mark { display: grid; justify-items: center; gap: clamp(1rem, 2.5vw, 1.6rem); width: min(100%, 520px); transition: transform .9s var(--spring); }
.ca-cover:hover .ca-cover__mark { transform: rotate(-3deg) scale(1.03); }
.ca-gelato { display: flex; margin-right: -.45em; font-family: var(--ca-sans); font-weight: 500; font-size: clamp(1rem, 2.4vw, 1.6rem); letter-spacing: .45em; color: var(--ca-cream); }
.ca-gelato span { display: inline-block; }
.ca-cover__swirl { position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vw, 2.2rem); height: clamp(60px, 10vw, 130px); overflow: hidden; }
.ca-cover__swirl .ca-swirl path { stroke-width: clamp(16px, 2.6vw, 32px); }

/* Flavour names running past */
.ca-flavours { overflow: hidden; margin-top: clamp(2.5rem, 5vw, 4rem); padding: .7rem 0 .9rem; background: var(--ca-pink); color: var(--ca-cherry); }
.ca-flavours > div { display: flex; width: max-content; will-change: transform; }
.ca-flavours p { display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; white-space: nowrap; font-family: var(--ca-script); font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.2; }
.ca-flavours i { font-style: normal; font-size: .5em; color: var(--ca-rasp); }

/* Logo colourways */
.ca-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ca-way { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 0 14%; border-radius: var(--radius); background: var(--bg); box-shadow: inset 0 0 0 1px rgba(122, 0, 25, .08); }
.ca-way .ca-logo { color: var(--fg); }

/* Colour: scalloped stars that spin */
.ca-stars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.4rem, 1.6vw, 1.4rem); margin-top: clamp(.5rem, 2vw, 1.5rem); }
.ca-stars button { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: .25rem; width: 100%; height: 100%; padding: 1.2rem .6rem 1.4rem; border-radius: var(--radius); text-align: center; }
.ca-star { display: block; width: min(100%, 170px); aspect-ratio: 1; margin-bottom: .9rem; transition: scale .5s var(--spring); }
.ca-stars button:hover .ca-star { scale: 1.08; }
.ca-stars button:active .ca-star { scale: .94; }
.ca-star svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ca-star path { fill: var(--c); stroke: rgba(78, 44, 19, .14); stroke-width: .8; }
.ca-stars b { font-family: var(--ca-script); font-weight: 400; font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.1; color: var(--ca-cherry); }
.ca-stars small { font-family: var(--ca-sans); font-weight: 600; font-size: .85rem; letter-spacing: .14em; color: var(--cocoa-2); }
.ca-stars__note { max-width: 22ch; margin-top: .35rem; font-size: .92rem; line-height: 1.35; color: var(--cocoa-2); }

@media (prefers-reduced-motion: no-preference) {
  .ca-logo--intro .ca-logo__ring { animation: ca-ring 1.6s var(--ease) .3s backwards; }
  .ca-logo--intro .ca-logo__script { animation: ca-write 1.4s cubic-bezier(.6, .1, .3, 1) .9s backwards; }
  .ca-gelato span { animation: ca-up .8s var(--spring) backwards; animation-delay: calc(2s + var(--i) * 70ms); }
  .ca-cover__swirl .ca-swirl { animation: ca-slide 10s linear infinite; }
  .ca-flavours > div { animation: ca-run 34s linear infinite; }
  .ca-way:hover .ca-logo__ring { animation: ca-ring 1.1s var(--ease); }
  .ca-way:hover .ca-logo__script { animation: ca-write 1s cubic-bezier(.6, .1, .3, 1) .2s backwards; }
  .ca-stars.is-in li { animation: ca-pop 1s var(--spring) backwards; animation-delay: calc(.2s + var(--i) * 110ms); }
  .ca-star svg { animation: ca-spin calc(18s + var(--i) * 3s) linear infinite; will-change: transform; }
  .ca-stars li:nth-child(even) .ca-star svg { animation-direction: reverse; }
  .ca-type__card--script.is-in .ca-type__aa { animation: ca-write 1.5s cubic-bezier(.6, .1, .3, 1) .4s backwards; }
  .ca-bit--swirl .ca-swirl { animation: ca-slide 8s linear infinite; }
  .ca-bit--cone:hover .ca-m { animation: ca-wobble .9s ease; }
  .ca-bit--check > div::before { animation: ca-checks 8s linear infinite; }
  .ca-bit--stripes > div::before { animation: ca-stripes 3s linear infinite; }
}
@keyframes ca-ring { from { stroke-dashoffset: 1; } }
@keyframes ca-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ca-up { from { opacity: 0; transform: translateY(.7em); } }
@keyframes ca-slide { to { transform: translateX(-50%); } }
@keyframes ca-run { from { transform: translateX(-50%); } to { transform: none; } }
@keyframes ca-pop { from { opacity: 0; transform: scale(.3) rotate(-120deg); } }
@keyframes ca-spin { to { transform: rotate(360deg); } }
@keyframes ca-wobble { 25% { transform: rotate(-8deg); } 50% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); } }
@keyframes ca-checks { to { transform: translateX(-96px); } }
@keyframes ca-stripes { to { transform: translateY(22px); } }

/* Typography */
.ca-type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ca-type__card { display: grid; align-content: start; gap: .6rem; padding: clamp(1.6rem, 3.5vw, 2.8rem); border-radius: var(--radius); }
.ca-type__card h3 { margin-top: .6rem; font-family: var(--ca-sans); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; }
.ca-type__card p { max-width: 38ch; line-height: 1.45; }
.ca-type__card--script { background: var(--ca-cherry); color: var(--ca-cream); }
.ca-type__aa { width: clamp(150px, 18vw, 230px); aspect-ratio: 676 / 372; color: var(--ca-pink); }
.ca-type__card--sans { background: var(--ca-pink); color: var(--ca-cherry); }
.ca-type__sans { font-family: var(--ca-sans); font-weight: 500; font-size: clamp(4.4rem, 9vw, 6.8rem); line-height: 1.05; letter-spacing: -.02em; }
.ca-type__spaced { font-family: var(--ca-sans); font-weight: 600; letter-spacing: .3em; transition: letter-spacing .7s var(--spring); }
.ca-type__card--sans:hover .ca-type__spaced { letter-spacing: .6em; }

/* Brand elements */
.ca-bits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.ca-bit { display: grid; grid-template-rows: 1fr auto auto; gap: .35rem; min-height: 300px; padding: 1.5rem; border-radius: var(--radius); overflow: hidden; }
.ca-bit > :first-child { align-self: center; margin-bottom: 1rem; }
.ca-bit h3 { font-family: var(--ca-sans); font-size: 1.2rem; font-weight: 700; letter-spacing: .02em; }
.ca-bit p { font-size: .95rem; line-height: 1.4; opacity: .85; }
.ca-bit--swirl { grid-column: span 2; background: var(--ca-cherry); color: var(--ca-cream); }
.ca-bit--swirl > div { height: clamp(70px, 9vw, 110px); margin-inline: -1.5rem; overflow: hidden; }
.ca-bit--cone { background: var(--ca-pink); color: var(--ca-cherry); }
.ca-bit--cone .ca-m { justify-self: center; width: 76px; aspect-ratio: 300 / 416; transform-origin: 50% 100%; }
.ca-bit--check { background: var(--ca-cream); color: var(--ca-cherry); box-shadow: inset 0 0 0 1px rgba(122, 0, 25, .08); }
.ca-bit--check > div, .ca-bit--stripes > div { position: relative; align-self: stretch; min-height: 120px; overflow: hidden; border-radius: 16px; }
.ca-bit--check > div::before, .ca-bit--stripes > div::before { content: ""; position: absolute; will-change: transform; }
.ca-bit--check > div::before { top: 0; bottom: 0; left: 0; width: calc(100% + 192px); background: repeating-conic-gradient(var(--ca-cherry) 0 25%, var(--ca-cream) 0 50%) 0 0 / 48px 48px; }
.ca-bit--stripes { background: var(--ca-rasp); color: var(--ca-cream); }
.ca-bit--stripes > div::before { top: -22px; bottom: 0; left: 0; right: 0; background: linear-gradient(var(--ca-cream) 0 10px, transparent 10px) 0 0 / 100% 22px; }

/* Voice: three lines, like stickers */
.ca-lines { display: grid; gap: clamp(.8rem, 2vw, 1.2rem); }
.ca-lines li { width: fit-content; max-width: 100%; padding: .55em 1.1em; border-radius: 999px; background: var(--ca-cherry); color: var(--ca-cream); font-family: var(--ca-sans); font-weight: 700; font-size: clamp(1.2rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: .03em; text-transform: uppercase; rotate: -1.5deg; transition: rotate .6s var(--spring), scale .6s var(--spring); }
.ca-lines li:nth-child(2) { justify-self: end; background: var(--ca-pink); color: var(--ca-cherry); rotate: 1.5deg; }
.ca-lines li:nth-child(3) { justify-self: center; background: var(--ca-cream); color: var(--ca-cherry); box-shadow: inset 0 0 0 2px var(--ca-cherry); rotate: -.5deg; }
.ca-lines li:hover { rotate: 0deg; scale: 1.03; }
.ca-lines em { font-family: var(--ca-script); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ca-rasp); }

/* Photos */
.ca-shot { display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; box-shadow: 0 30px 60px -42px rgba(122, 0, 25, .7); }
.ca-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ca-shot:hover img { transform: scale(1.03); }
.ca-pack { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; }
.ca-world { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem; }
.ca-world figure { display: grid; grid-template-rows: 1fr auto; gap: .8rem; margin: 0; }
.ca-world figcaption { font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--cocoa-2); }

@media (max-width: 900px) {
  .ca-type { grid-template-columns: minmax(0, 1fr); }
  .ca-bits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-bit { min-height: 240px; }
}
@media (max-width: 640px) {
  .ca-ways { grid-template-columns: minmax(0, 1fr); }
  .ca-way { aspect-ratio: 16 / 9; padding: 0 22%; }
  .ca-stars { display: flex; flex-wrap: wrap; justify-content: center; }
  .ca-stars li { flex: 0 0 calc(33.333% - .4rem); }
  .ca-stars button { padding: .8rem .2rem 1rem; }
  .ca-stars__note { display: none; }
  .ca-stars small { font-size: .72rem; letter-spacing: .08em; }
  .ca-pack, .ca-world { grid-template-columns: minmax(0, 1fr); }
  .ca-bit { padding: 1.2rem; min-height: 210px; }
  .ca-bit--swirl > div { margin-inline: -1.2rem; }
}
