/* Studio Junction — new website prototype
   Wordmark and headlines: Plus Jakarta Sans. Body: Manrope. Two modes: light (Bone #FEFBF2 / black) and dark (black / Bone). Options tried: TYPE-OPTIONS.md. */

:root {
  --bg: #FEFBF2;
  --ink: #0a0a0a;
  --muted: rgba(10, 10, 10, 0.6);
  --line: rgba(10, 10, 10, 0.14);
  --soft: rgba(10, 10, 10, 0.04);
  --red: #E73A3A;
  --serif: "Plus Jakarta Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; /* headline face (name kept from the serif days) */
  --sans: "Manrope", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(24px, 6vw, 104px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head-h: 104px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a;
    --ink: #FEFBF2;
    --muted: rgba(254, 251, 242, 0.55);
    --line: rgba(254, 251, 242, 0.16);
    --soft: rgba(254, 251, 242, 0.05);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0a;
  --ink: #FEFBF2;
  --muted: rgba(254, 251, 242, 0.55);
  --line: rgba(254, 251, 242, 0.16);
  --soft: rgba(254, 251, 242, 0.05);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .5s ease, color .5s ease;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
::selection { background: var(--red); color: #fff; }

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

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.9vw, 7.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.h-big {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.012em;
  margin: 0 0 1.4em;
}
.h-mid {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.005em;
}
.lede {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  font-weight: 400;
  max-width: 38em;
  margin: 0;
}
.lede.-tight { max-width: 30em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
dd, li { text-wrap: pretty; }
.copy { max-width: 34em; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.6; }
.copy p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

/* Reveals. Heroes use D2 (in from the right, overshoot, ease back). Sections cycle A, B, C, I. */
.line { display: block; padding: .06em 0 .26em; margin: -.06em 0 -.26em; }
.line-in { display: inline-block; white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.fade { opacity: 0; }
.is-in .line-in, .is-in.line-in, .is-in .fade, .is-in.fade { opacity: 1; }

/* D2 — heroes */
.mv-d2 .line-in { transform: translate3d(.7em, 0, 0); }
.mv-d2.is-in .line-in { transition: opacity .8s ease; transition-delay: calc(var(--i, 0) * 130ms); animation: over-settle 1.5s cubic-bezier(.25, .8, .3, 1) forwards; animation-delay: calc(var(--i, 0) * 130ms); }
@keyframes over-settle { 0% { transform: translate3d(.7em, 0, 0); } 55% { transform: translate3d(-.3em, 0, 0); } 100% { transform: none; } }
.mv-d2 .fade { transform: translate3d(24px, 0, 0); }
.mv-d2.is-in .fade { transform: none; transition: opacity 1s ease, transform 1.3s cubic-bezier(.3, 1.7, .5, 1); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms) + 200ms); }

/* A — rises from below behind a mask, slight tilt */
.mv-a .line { overflow: hidden; }
.mv-a .line-in { opacity: 1; transform: translate3d(0, 115%, 0) rotate(1.5deg); transform-origin: 0 100%; }
.mv-a.is-in .line-in { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.mv-a .fade { transform: translate3d(0, 24px, 0); }
.mv-a.is-in .fade { transform: none; transition: opacity .9s ease, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms)); }

/* B — in from the right */
.mv-b .line-in { transform: translate3d(.6em, 0, 0); }
.mv-b.is-in .line-in { transform: none; transition: transform 1.2s var(--ease), opacity .9s ease; transition-delay: calc(var(--i, 0) * 120ms); }
.mv-b .fade { transform: translate3d(28px, 0, 0); }
.mv-b.is-in .fade { transform: none; transition: opacity .9s ease, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms)); }

/* C — in from the left */
.mv-c .line-in { transform: translate3d(-.6em, 0, 0); }
.mv-c.is-in .line-in { transform: none; transition: transform 1.2s var(--ease), opacity .9s ease; transition-delay: calc(var(--i, 0) * 120ms); }
.mv-c .fade { transform: translate3d(-28px, 0, 0); }
.mv-c.is-in .fade { transform: none; transition: opacity .9s ease, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms)); }

/* I — settles down from above */
.mv-i .line-in { transform: translate3d(0, -.3em, 0); }
.mv-i.is-in .line-in { transform: none; transition: transform 1.1s var(--ease), opacity .8s ease; transition-delay: calc(var(--i, 0) * 120ms); }
.mv-i .fade { transform: translate3d(0, -16px, 0); }
.mv-i.is-in .fade { transform: none; transition: opacity .9s ease, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms)); }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: background-color .5s ease, transform .5s var(--ease);
}
.site-head.-hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; position: relative; z-index: 46; }
.compass { width: 52px; height: 52px; color: var(--ink); display: block; }
.compass svg { width: 100%; height: 100%; overflow: visible; }
svg.compass { overflow: visible; }
.compass-live { will-change: transform; }
.compass-live.-scroll { transition: transform 1.1s var(--ease); transform: rotate(180deg); }
.compass-live.-scroll.-up { transform: rotate(0deg); }
.brand { gap: 18px; }
.compass-up { width: 36px; height: 36px; transition: transform .6s var(--ease); }
.compass-up:hover { transform: translateY(-4px); }
.wordmark { font-family: "Plus Jakarta Sans", var(--sans); font-weight: 600; font-size: 30px; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
/* the wordmark uses the dotless i (U+0131) and dotless j (U+0237) glyphs, so nothing needs masking */
/* the red full stop after a heading: always a drawn circle, so it is round in every typeface */
.red { display: inline-block; width: .15em; height: .15em; border-radius: 50%; background: var(--red); margin-left: .07em; vertical-align: baseline; overflow: hidden; line-height: 0; text-indent: -9999px; }
.stop { display: inline-block; width: .17em; height: .17em; border-radius: 50%; background: var(--red); margin-left: .07em; vertical-align: baseline; font-size: inherit; text-indent: -9999px; overflow: hidden; line-height: 0; }

.nav { position: fixed; inset: 0; z-index: 45; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); gap: 0; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .55s ease, transform .7s var(--ease), background-color .5s ease; }
body.menu-open .nav { opacity: 1; pointer-events: auto; transform: none; }
body.menu-open .site-head { transform: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { transition: opacity .3s ease; }
body.menu-open .brand { opacity: 0; pointer-events: none; }
.head-tools { position: relative; z-index: 46; }
.compass-btn { display: block; }
.compass-btn:hover .compass { color: var(--red); }
.nav .nav-foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: clamp(40px, 7vh, 80px); max-width: 760px; }
.nav .nav-foot .eyebrow { margin-bottom: .8rem; }
.nav .nav-foot .clock { margin-top: 6px; }
.nav .nav-foot .clock-faces .time { display: inline; }
.nav .nav-foot .clock-faces { min-width: max-content; }
.nav .nav-foot .theme { margin-top: 6px; }
@media (max-width: 640px) { .nav .nav-foot { grid-template-columns: 1fr 1fr; } .nav .nav-foot .foot-col:first-child { grid-column: 1 / -1; } }
.nav-link { position: relative; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.015em; font-weight: 400; padding: .12em 0; width: max-content; }
:root:not([data-hl="didot"]) .nav-link { font-weight: 600; letter-spacing: -0.03em; }
.nav-link .fl { display: inline-block; position: relative; height: 1.1em; overflow: hidden; vertical-align: top; }
.nav-link .fs { display: inline-block; width: .15em; height: .15em; border-radius: 50%; background: var(--red); margin-left: .09em; vertical-align: baseline; overflow: hidden; line-height: 0; text-indent: -9999px; opacity: 0; transition: opacity .35s ease; }
.nav-link.is-current .fs, .nav-link:hover .fs { opacity: 1; }

.head-tools { display: flex; justify-content: flex-end; align-items: center; gap: 26px; }
.foot-col .clock-faces .time { display: inline; }
.foot-col .clock-faces { min-width: max-content; }
.clock { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; font-weight: 600; font-variant-numeric: tabular-nums; }
.clock-faces { position: relative; height: 1.3em; overflow: hidden; min-width: 9.5ch; text-align: left; }
.clock-faces span { display: block; height: 1.3em; line-height: 1.3em; transition: transform .7s var(--ease); white-space: nowrap; }
.clock.-b .clock-faces span { transform: translateY(-100%); }
.clock-faces .code { color: var(--ink); }
.clock-faces .time { color: var(--muted); margin-left: .6em; }
.clock-pip { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pip 2s ease-in-out infinite; }
@keyframes pip { 50% { opacity: .25; } }
.theme { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; overflow: hidden; transition: transform .6s var(--ease); }
.theme::before { content: ""; position: absolute; inset: 0; width: 50%; background: var(--ink); }
.theme:hover { transform: rotate(180deg); }

@media (max-width: 820px) {
  .wordmark { font-size: 22px; }
  .compass { width: 40px; height: 40px; }
}

/* ---------- Sections ---------- */
main { padding-top: var(--head-h); }
.section { padding-block: clamp(96px, 14vw, 220px); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.hero { min-height: calc(100svh - var(--head-h)); display: grid; align-content: center; padding-block: clamp(80px, 12vw, 180px); }
.hero .eyebrow { margin-bottom: 2.6rem; }
.hero .lede { margin-top: clamp(40px, 6vw, 88px); }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(48px, 8vw, 110px); color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { display: block; width: 1px; height: 36px; background: var(--ink); transform-origin: top; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* What we do — sticky title, long list of offers */
.wwd-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.wwd-side { position: sticky; top: calc(var(--head-h) + 40px); }
.wwd-list { list-style: none; margin: 0; padding: 0; counter-reset: wwd; }
.wwd-item { padding: clamp(36px, 4.4vw, 64px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 4ch 1fr; gap: 18px; }
.wwd-item:last-child { border-bottom: 1px solid var(--line); }
.wwd-item .num { font-size: 12px; letter-spacing: .18em; color: var(--muted); padding-top: .9em; font-weight: 600; }
.wwd-item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3.3rem); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.01em; }
.wwd-item p { max-width: 34em; margin: 0; color: var(--ink); font-size: clamp(1rem, 1.2vw, 1.15rem); }
@media (max-width: 900px) { .wwd-grid { grid-template-columns: 1fr; } .wwd-side { position: static; } }

/* Manifesto teaser + drawer */
.mani { text-align: left; }
.mani .h-big { max-width: 12em; margin-bottom: 1.4em; }
.dot-btn { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.dot { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--red); flex: none; transition: transform .5s var(--ease); }
.dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--red); opacity: .6; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.dot-btn:hover .dot { transform: scale(1.25); }
.dot-btn .u { position: relative; }
.dot-btn .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.dot-btn:hover .u::after { transform: scaleX(1); transform-origin: left; }

.drawer-bg { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(720px, 100%); background: var(--ink); color: var(--bg); transform: translateX(102%); transition: transform .9s var(--ease); overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 5vw, 72px); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer .eyebrow { color: color-mix(in srgb, var(--bg) 60%, transparent); display: flex; justify-content: space-between; align-items: center; }
.drawer-close { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .16em; font-size: 11px; font-weight: 600; text-transform: uppercase; color: inherit; }
.drawer-close .dot { width: 14px; height: 14px; }
.drawer-close .dot::after { display: none; }
.drawer .mani-text { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.1rem); line-height: 1.3; margin-top: 2rem; }
.drawer .mani-text p { margin: 0 0 1em; text-wrap: pretty; }
.drawer .mani-text p.-run { margin-bottom: .35em; }
.drawer .mani-text p.-beat { margin-top: 1.8em; }
.drawer .mani-text .big { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; display: block; margin-bottom: 1.2em; }

/* Services */
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.6rem); line-height: 1.15; padding: .28em 0; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 24px; transition: padding-left .5s var(--ease); }
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.svc-list li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .4s var(--ease); flex: none; align-self: center; }
.svc-list li:hover { padding-left: .4em; }
.svc-list li:hover::after { transform: scale(1); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }

/* Expertise */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .02em; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.arrow-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.arrow-link:hover svg { transform: translate(4px, -4px); }

/* Clients — one long breath of names, not a logo grid */
.client-run { font-family: var(--serif); font-size: clamp(2rem, 5.6vw, 5.6rem); line-height: 1.08; letter-spacing: -0.012em; margin: 0; text-wrap: pretty; }
.client-run span { display: inline; transition: color .3s ease; }
.client-run:hover span { color: var(--muted); }
.client-run span:hover { color: var(--ink); }
.client-run .tail { white-space: normal; }

/* Contact teaser */
.touch .h-big { margin-bottom: .5em; }
.mail-big { display: inline-block; font-family: var(--serif); font-size: clamp(1.6rem, 4.2vw, 4.4rem); line-height: 1.1; margin-top: 1.2em; position: relative; letter-spacing: -0.01em; }
.mail-big::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.mail-big:hover::after { transform: scaleX(1); transform-origin: left; }

/* Contact page */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .eyebrow { margin-bottom: .8rem; }
.contact-list a { font-family: var(--serif); font-size: clamp(1.5rem, 4.4vw, 4.6rem); line-height: 1.05; letter-spacing: -0.012em; position: relative; display: inline-block; }
.contact-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.contact-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; width: 100%; outline: none; transition: border-color .3s ease; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; background: var(--ink); color: var(--bg); font-weight: 600; letter-spacing: .04em; border-radius: 999px; transition: transform .4s var(--ease), background-color .4s ease; }
.btn:hover { transform: translateY(-2px); background: var(--red); color: #fff; }
.tbc { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--red); border: 1px solid currentColor; padding: 4px 10px; border-radius: 999px; vertical-align: middle; margin-left: 12px; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* Values (About) */
.values { list-style: none; margin: 0; padding: 0; }
.values li { display: grid; grid-template-columns: 4ch minmax(0, 5fr) minmax(0, 7fr); gap: 18px clamp(20px, 4vw, 72px); padding: clamp(24px, 3vw, 44px) 0; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values .num { font-size: 12px; letter-spacing: .18em; color: var(--muted); font-weight: 600; padding-top: .8em; }
.values h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
.values p { margin: 0; max-width: 34em; font-size: clamp(1rem, 1.2vw, 1.15rem); }
@media (max-width: 900px) { .values li { grid-template-columns: 4ch 1fr; } .values p { grid-column: 2; } }

/* Who we work with */
.pull { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.25; max-width: 26em; margin: 0; }

/* Work page */
.soon { display: grid; place-items: center; text-align: center; min-height: 40vh; }
.soon .display { font-size: clamp(2.6rem, 8vw, 8rem); }

/* ---------- Footer ---------- */
.site-foot { padding-top: clamp(72px, 10vw, 160px); padding-bottom: 32px; }
.foot-mark { width: 100%; color: var(--ink); margin-bottom: clamp(40px, 7vw, 110px); line-height: .9; }
.wm-xl { display: block; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 600; font-size: clamp(2.6rem, 12.3vw, 15.5rem); letter-spacing: -0.04em; white-space: nowrap; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 6fr) repeat(3, minmax(0, 2fr)); gap: 32px; align-items: start; }
.foot-note { font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.3; max-width: 24em; margin: 0; }
.foot-col .eyebrow { margin-bottom: .9rem; }
.foot-col > a, .foot-col > span { display: block; font-size: 15px; padding: 4px 0; }
.foot-col .clock { margin-top: 6px; }
.foot-col a:hover { color: var(--red); }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(48px, 7vw, 100px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }

@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-note { grid-column: 1 / -1; } }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .line-in, .fade { transform: none !important; opacity: 1 !important; transition: none !important; animation: none !important; }
  .dot::after, .clock-pip, .scroll-cue i { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* hero: full clock even on small screens */
.hero-clock { flex: none; }
.hero-clock .clock-faces .time { display: inline; }
.hero-clock .clock-faces { min-width: max-content; }

@media (max-width: 820px) { :root { --head-h: 80px; } }




/* What we do — pinned; each panel fades in under the last as you scroll, continuously, both ways */
.wwd { padding-top: 0; }
.wwd-runway { height: calc(8 * 42vh + 100svh - var(--head-h)); }
.wwd-stage { position: sticky; top: var(--head-h); height: calc(100svh - var(--head-h)); align-items: start; align-content: start; padding-top: clamp(24px, 5vh, 64px); }
.wwd .wwd-side { position: static; }
.wwd .h-big { margin-bottom: .8em; }
.wwd-count { margin: 0; font-variant-numeric: tabular-nums; }
.wwd .wwd-item { --t: 0; --g: 0; border: 0; padding: 0 0 clamp(12px, 2.2vh, 22px); grid-template-columns: 4ch 1fr; gap: 14px; opacity: var(--t); transform: translate3d(0, calc((1 - var(--t)) * 24px), 0); will-change: opacity, transform; }
.wwd .wwd-item h3 { font-size: clamp(1.25rem, 1.85vw, 1.8rem); line-height: 1.1; margin: 0 0 .35em; color: color-mix(in srgb, var(--muted) calc(var(--g) * 100%), var(--ink)); }
.wwd .wwd-item .num { padding-top: .5em; font-size: 11px; }
.wwd .wwd-item p { margin: 0; font-size: clamp(.86rem, .95vw, .95rem); line-height: 1.45; max-width: 42em; color: color-mix(in srgb, var(--muted) calc(var(--g) * 100%), var(--ink)); opacity: calc(1 - var(--g) * .35); }
@media (max-width: 900px) {
  .wwd-runway { height: auto; }
  .wwd-stage { position: static; height: auto; display: block; }
  .wwd .wwd-item { --t: 1; padding: 20px 0; }
  .wwd .wwd-item h3 { font-size: 1.5rem; }
  .wwd-count { display: none; }
}

/* Corner clock on landing */
.corner-clock { position: fixed; right: var(--gutter); bottom: 28px; z-index: 30; font-size: 12px; letter-spacing: .14em; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .9s ease, transform .9s var(--ease); }
.corner-clock.-on { opacity: 1; transform: none; }
.corner-clock.-off { opacity: 0; pointer-events: none; }
.corner-clock .clock-faces .time { display: inline; }
.corner-clock .clock-faces { min-width: max-content; }

/* Menu: slot-machine letters */
.nav-link .reel { display: block; transition: transform var(--spin, .7s) cubic-bezier(.2,.9,.2,1); transition-delay: var(--dl, 0ms); }
.nav-link .reel span { display: block; height: 1.1em; line-height: 1.1em; white-space: nowrap; }
.nav-link:hover .reel, .nav-link:focus-visible .reel { transform: translateY(calc(-1.1em * var(--n))); }


/* What we do: one panel at a time, then the six together */
.wwd-stage { overflow: hidden; }
.wwd-right { position: relative; }
.wwd .wwd-list { position: absolute; inset: 0 0 auto 0; }
.wwd .wwd-item { --t: 0; --y: 0px; position: absolute; left: 0; top: 0; width: 100%; opacity: var(--t); transform: translate3d(0, var(--y), 0); padding: 0; border: 0; grid-template-columns: 4ch 1fr; gap: 18px; pointer-events: none; }
.wwd .wwd-item h3 { font-size: clamp(1.6rem, 3vw, 2.9rem); line-height: 1.08; margin: 0 0 .5em; color: var(--ink); }
.wwd .wwd-item .num { padding-top: .8em; font-size: 12px; }
.wwd .wwd-item p { margin: 0; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55; max-width: 34em; color: var(--ink); opacity: 1; }
.wwd-all { --t: 0; list-style: none; margin: 0; padding: 0; opacity: var(--t); transform: translate3d(0, calc((1 - var(--t)) * 24px), 0); pointer-events: none; }
.wwd-all li { display: grid; grid-template-columns: 4ch 1fr; gap: 18px; padding-bottom: clamp(8px, 1.4vh, 16px); }
.wwd-all .num { font-size: 11px; letter-spacing: .18em; color: var(--muted); font-weight: 600; padding-top: .5em; }
.wwd-all h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1rem, 2.15vh, 1.5rem); line-height: 1.1; margin: 0 0 .25em; }
.wwd-all p { margin: 0; font-size: clamp(.76rem, 1.5vh, .9rem); line-height: 1.38; color: var(--muted); max-width: 42em; }
@media (max-width: 900px) {
  .wwd .wwd-list { position: static; }
  .wwd .wwd-item { --t: 1; --y: 0px; position: static; padding: 20px 0; pointer-events: auto; }
  .wwd-all { display: none; }
}

/* Headline weights for Plus Jakarta Sans (selectors kept as they were when it was one option of several) */
:root:not([data-hl="didot"]) .display, :root:not([data-hl="didot"]) .h-big, :root:not([data-hl="didot"]) .h-mid, :root:not([data-hl="didot"]) .wwd-item h3, :root:not([data-hl="didot"]) .wwd-all h3, :root:not([data-hl="didot"]) .values h3, :root:not([data-hl="didot"]) .client-run, :root:not([data-hl="didot"]) .mail-big, :root:not([data-hl="didot"]) .contact-list a, :root:not([data-hl="didot"]) .svc-list li { font-weight: 600; letter-spacing: -0.035em; }
:root:not([data-hl="didot"]) .display { font-size: clamp(2.2rem, 6.3vw, 6.8rem); line-height: 1.02; }
:root:not([data-hl="didot"]) .h-big { line-height: 1.02; }
:root:not([data-hl="didot"]) .foot-note, :root:not([data-hl="didot"]) .pull, :root:not([data-hl="didot"]) .drawer .mani-text { font-weight: 500; }
:root:not([data-hl="didot"]) .drawer .big { font-weight: 600; letter-spacing: -0.03em; }


/* Menu close, discreet, top left under the wordmark */
.nav-close { position: absolute; left: var(--gutter); top: 0; height: var(--head-h); display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--muted); transition: color .3s ease; }
.nav-close span { font-size: 16px; line-height: 1; }
.nav-close:hover { color: var(--ink); }

/* Service pages */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 4ch 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .num { font-size: 12px; letter-spacing: .18em; color: var(--muted); font-weight: 600; padding-top: .35em; }
.steps p { margin: 0; max-width: 34em; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.faq { margin: 0; }
.faq > div { padding: 22px 0; border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.15; margin: 0 0 .5em; }
:root:not([data-hl="didot"]) .faq dt { font-weight: 600; letter-spacing: -0.02em; }
.faq dd { margin: 0; max-width: 36em; color: var(--ink); font-size: clamp(1rem, 1.15vw, 1.1rem); }
.svc-list li a { display: block; }

/* Dot cursor (pointer devices only): ink dot, red on anything you can press */
@media (hover: hover) and (pointer: fine) {
  body, a, button, input, textarea, label { cursor: none; }
  .cursor { position: fixed; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); pointer-events: none; z-index: 1000; transition: transform .35s var(--ease), opacity .3s ease, background-color .3s ease; opacity: 0; }
  .cursor.-on { opacity: 1; }
  .cursor.-hot { background: var(--red); transform: scale(1.35); }
  .cursor.-text { transform: scale(.5); }
}
@media not all and (hover: hover) and (pointer: fine) { .cursor { display: none; } }

/* In-copy links inside What we do: underlined in red, clickable only while their panel is showing */
.wwd .wwd-item { visibility: var(--vis, hidden); }
.wwd .wwd-item a, .wwd-all a, .copy a:not(.arrow-link) { pointer-events: auto; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .3s ease; }
.wwd-all a { text-decoration: none; }
.wwd .wwd-item a:hover, .wwd-all a:hover, .copy a:not(.arrow-link):hover { color: var(--red); }
.wwd-all { visibility: var(--vis, hidden); }


/* ---- Work: a little copy on the left, a big window on the right that grows as it arrives ---- */
.projects { padding-bottom: clamp(40px, 6vw, 96px); }
.proj { padding-block: clamp(40px, 7vw, 110px); }
.proj + .proj { padding-top: 0; }
.proj .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.proj-copy { position: sticky; top: calc(var(--head-h) + 48px); }
.proj-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.05; margin: 0 0 .7em; letter-spacing: -0.01em; }
:root:not([data-hl="didot"]) .proj-copy h2 { font-weight: 600; letter-spacing: -0.035em; }
.proj-copy p { max-width: 28em; margin: 0 0 1.4em; }
.proj-link { font-size: .9rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 2px; transition: color .3s ease; }
.proj-link:hover { color: var(--red); }
.proj-win { --sc: .88; --op: .6; position: relative; aspect-ratio: var(--ar, 16 / 10); border-radius: clamp(10px, 1.4vw, 18px); overflow: hidden; background: #111; transform: scale(var(--sc)); opacity: var(--op); transform-origin: 50% 60%; will-change: transform, opacity; isolation: isolate; }
.proj-win video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .proj .wrap { grid-template-columns: 1fr; gap: 20px; }
  .proj-copy { position: static; }
  .proj-win { transform: none; opacity: 1; }
}
/* Human Made Machine: their three Rive cards */
.proj-win.-hmm { background: #F4F5F5; }
.hmm-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4%; padding: 7% 6%; align-content: center; }
.hmm-card { margin: 0; min-width: 0; }
.hmm-cv { aspect-ratio: 1; background: #101214; border-radius: 6px; overflow: hidden; }
.hmm-cv canvas { display: block; width: 100%; height: 100%; }
.hmm-card figcaption { margin-top: 5%; font-weight: 600; font-size: clamp(.55rem, 1.05vw, 1rem); line-height: 1.25; color: #101214; letter-spacing: -0.01em; }
/* Click-through windows: a run of real screens, each held 4.5s, crossfading with a slow zoom (--n frames) */
.proj-win.-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: frames-cycle calc(var(--n) * 4.5s) ease-in-out infinite; animation-delay: calc(var(--i) * 4.5s); }
.proj-win.-frames.-wwf { background: #F3ECE4; }
.proj-win.-frames[style*="--n: 5"] img { animation-name: frames-cycle-5; }
@keyframes frames-cycle-5 { 0% { opacity: 0; transform: scale(1.015); } 4%, 20% { opacity: 1; } 25%, 100% { opacity: 0; transform: scale(1.04); } }
/* Lavanda: the hero in its three states */
.proj-win.-lav { background: #F3F1EC; }
.proj-win.-lav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: lav-cycle 13.5s ease-in-out infinite; animation-delay: calc(var(--i) * 4.5s); }
@keyframes lav-cycle { 0% { opacity: 0; transform: scale(1.015); } 7%, 33% { opacity: 1; } 40%, 100% { opacity: 0; transform: scale(1.05); } }
/* Storystacks: the canvas in use, simulated live in JS (site.js): a block is dragged and shoves its neighbours aside in a chain,
   everything snaps to the grid with an elastic settle, then a line is lettered onto the board. */
.proj-win.-ss { background: #F3F2EE; color: #121212; }
.ss-stage { position: absolute; left: 0; top: 0; width: 1200px; height: 750px; transform: scale(var(--s, 1)); transform-origin: 0 0; background-color: #F3F2EE; background-image: radial-gradient(#D6D3CC 1.2px, transparent 1.2px); background-size: 30px 30px; background-position: 60px 60px; font-family: var(--sans); overflow: hidden; }
.ss-board { position: absolute; left: 60px; top: 60px; width: 1080px; height: 630px; }
.ss-card { position: absolute; left: 0; top: 0; height: 150px; border-radius: 16px; padding: 22px 24px; font-size: 16px; line-height: 1.4; color: #121212; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 10px 30px -18px rgba(0,0,0,.25); will-change: transform; transition: box-shadow .35s ease; z-index: 2; }
.ss-card.-lift { box-shadow: 0 30px 50px -18px rgba(0,0,0,.35); z-index: 6; }
.ss-card b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 7px; }
.ss-letter { position: absolute; left: 90px; top: 462px; font-family: 'Urbanist', var(--sans); font-weight: 700; font-size: 48px; letter-spacing: -0.03em; line-height: 1.1; color: #918D87; white-space: nowrap; opacity: 0; transition: opacity .6s ease; z-index: 1; }
.ss-letter.-on { opacity: 1; }
.ss-caret { display: none; width: 3px; height: .9em; background: #918D87; vertical-align: -0.08em; margin-left: 4px; animation: ss-blink 1s steps(1) infinite; }
.ss-letter.-on .ss-caret { display: inline-block; }
@keyframes ss-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.ss-cur { position: absolute; left: 0; top: 0; z-index: 8; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); will-change: transform; }
.ss-name { position: absolute; left: 22px; top: 22px; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 7px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .proj-win.-lav img, .proj-win.-frames img { animation-duration: 0s !important; } .proj-win.-lav img[style*="--i:0"], .proj-win.-frames img[style*="--i:0"] { opacity: 1; } }


/* ---- WWF window: the Planet-Based Diets calculator, modelled live in JS (site.js) ---- */
.proj-win.-pb { background: #F3ECE4; color: #1a1a1a; }
.pb-stage { position: absolute; left: 0; top: 0; width: 1400px; height: 870px; transform: scale(var(--s, 1)); transform-origin: 0 0; background: #F3ECE4; font-family: var(--sans); overflow: hidden; --pbh: 'Oswald', 'Arial Narrow', sans-serif; }
.pb-left { position: absolute; left: 30px; top: 22px; width: 530px; height: 830px; }
.pb-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.pb-panda { font-family: var(--pbh); font-weight: 600; font-size: 22px; letter-spacing: .02em; border: 2.5px solid #1a1a1a; padding: 2px 6px; }
.pb-title { font-family: var(--pbh); font-weight: 500; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; }
.pb-eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.pb-select { background: #fff; border-radius: 6px; padding: 14px 18px; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pb-tabs { display: flex; align-items: center; gap: 18px; justify-content: center; margin: 36px 0 18px; font-family: var(--pbh); font-weight: 600; font-size: 25px; text-transform: uppercase; }
.pb-tabs em { font-style: normal; font-size: 10px; font-family: var(--sans); background: #fff; border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; }
.pb-tab { padding-bottom: 4px; border-bottom: 3px solid transparent; }
.pb-tab.is-on { border-bottom-color: #1a1a1a; }
.pb-sub { margin: 0 0 20px; text-align: center; font-size: 14.5px; line-height: 1.45; color: #333; }
.pb-sub b { font-size: 17px; color: #1a1a1a; }
.pb-listwrap { height: 470px; overflow: hidden; position: relative; }
.pb-listwrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(to bottom, rgba(243,236,228,0), #F3ECE4); pointer-events: none; }
.pb-list { transform: translate3d(0, 0, 0); transition: transform .9s cubic-bezier(.4, 0, .2, 1); }
.pb-card { background: #fff; border: 1.5px solid #5CB85C; border-radius: 8px; padding: 18px 22px 22px; margin-bottom: 16px; height: 150px; position: relative; }
.pb-card.-warn { border-color: #E8724F; }
.pb-card-h { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 26px; }
.pb-q { width: 16px; height: 16px; border-radius: 50%; background: #e9e4dc; font-size: 10px; display: inline-grid; place-items: center; }
.pb-alert { margin-left: auto; font-size: 14px; color: #E8724F; font-weight: 600; }
.pb-slider { position: relative; height: 40px; }
.pb-track { position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: #cfcac2; border-radius: 2px; }
.pb-band { position: absolute; top: 9px; height: 13px; background: #CDE8C7; border-radius: 2px; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); }
.pb-card.-warn .pb-band { background: #F4B6A6; }
.pb-handle { position: absolute; top: 15px; left: calc(var(--f) * 100%); width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; border: 2.5px solid #1a1a1a; display: grid; place-items: center; font-size: 13px; font-weight: 700; will-change: left; }
.pb-handle.-grab { background: #1a1a1a; color: #fff; }
.pb-portions { position: absolute; top: 36px; left: calc(var(--f) * 100%); transform: translateX(-50%); font-size: 11px; font-weight: 700; text-align: center; line-height: 1.1; }
.pb-portions small { display: block; font-size: 8px; letter-spacing: .04em; }
.pb-health { position: absolute; left: 30px; right: 30px; bottom: 6px; background: #FBEFC9; border: 1px solid #E8D28A; border-radius: 8px; padding: 10px 14px; display: flex; gap: 14px; align-items: center; font-size: 13px; line-height: 1.3; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.pb-kcal { background: #F2B632; border-radius: 6px; padding: 6px 10px; text-align: center; font-size: 10px; line-height: 1.1; }
.pb-kcal b { display: block; font-size: 16px; }
.pb-right { position: absolute; left: 598px; top: 18px; width: 770px; height: 834px; background: #fff; border-radius: 10px; padding: 22px 26px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.pb-h { margin: 0 0 18px; font-family: var(--pbh); font-weight: 600; font-size: 44px; text-transform: uppercase; line-height: 1; }
.pb-verdict { display: flex; gap: 16px; align-items: flex-start; border-radius: 8px; padding: 18px 20px; min-height: 104px; font-size: 15px; line-height: 1.45; transition: background-color .6s ease, border-color .6s ease; border: 1.5px solid transparent; }
.pb-verdict[data-tone="none"] { background: #f4f1ec; color: #999; }
.pb-verdict[data-tone="red"] { background: #F7D5CC; border-color: #E8724F; }
.pb-verdict[data-tone="amber"] { background: #FBEFC9; border-color: #F2B632; }
.pb-verdict[data-tone="green"] { background: #DFF1DB; border-color: #5CB85C; }
.pb-face { width: 30px; height: 30px; border-radius: 50%; flex: none; background: #999; display: grid; place-items: center; font-size: 17px; }
.pb-verdict[data-tone="red"] .pb-face { background: #E8724F; } .pb-verdict[data-tone="amber"] .pb-face { background: #F2B632; } .pb-verdict[data-tone="green"] .pb-face { background: #5CB85C; }
.pb-vtext b { display: block; margin-bottom: 2px; }
.pb-legend { margin: 22px 0 18px; font-size: 13px; color: #333; display: flex; gap: 8px; align-items: center; }
.pb-legend i { display: inline-block; width: 22px; height: 8px; border-radius: 4px; margin-left: 10px; }
.pb-legend i:first-child { margin-left: 0; }
.pb-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; height: 460px; align-items: end; }
.pb-bar { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 14px; }
.pb-col { position: relative; background: #f4f2ee; border-radius: 4px; overflow: visible; height: 100%; }
.pb-fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 1%); background: var(--c, #E8724F); border-radius: 4px 4px 0 0; transition: background-color .4s ease; }
.pb-line { position: absolute; left: -2px; right: -2px; bottom: calc(var(--b) * 1%); border-top: 2.5px dotted #1a1a1a; z-index: 2; }
.pb-chip { position: absolute; left: 0; right: 0; top: 0; min-height: 42px; border-radius: 4px 4px 0 0; padding: 10px 9px; font-size: 11.5px; line-height: 1.3; font-weight: 600; z-index: 3; background: var(--cc, transparent); color: #1a1a1a; opacity: var(--co, 0); transition: opacity .4s ease, background-color .4s ease; }
.pb-bar { position: relative; }
.pb-lab { font-size: 16px; font-weight: 700; line-height: 1.15; }
.pb-start { position: absolute; left: 50%; top: 420px; transform: translateX(-50%); width: 380px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); border-radius: 6px; padding: 20px 24px; font-size: 16px; line-height: 1.4; text-align: center; font-weight: 600; transition: opacity .5s ease; z-index: 4; }
.pb-right.-live .pb-start { opacity: 0; }
.pb-right:not(.-live) .pb-h, .pb-right:not(.-live) .pb-legend, .pb-right:not(.-live) .pb-bars, .pb-right:not(.-live) .pb-verdict { opacity: .3; }
.pb-right .pb-h, .pb-right .pb-legend, .pb-right .pb-bars, .pb-right .pb-verdict { transition: opacity .6s ease; }
.pb-cur { position: absolute; left: 0; top: 0; z-index: 20; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); will-change: transform; }

/* WWF window: landing, celebration and share prompt */
.pb-landing { position: absolute; inset: 0; background: #F3ECE4; z-index: 12; display: grid; align-content: center; justify-items: center; gap: 0; transition: opacity .5s ease; }
.pb-landing.-off { opacity: 0; pointer-events: none; }
.pb-land-brand { display: grid; justify-items: center; gap: 12px; margin-bottom: 34px; }
.pb-land-brand .pb-panda { font-size: 30px; padding: 6px 10px; }
.pb-land-brand .pb-title { font-size: 20px; }
.pb-land-h { margin: 0 0 46px; font-family: var(--pbh); font-weight: 600; font-size: 84px; line-height: 1.05; text-transform: uppercase; text-align: center; letter-spacing: -0.005em; }
.pb-hl { display: inline-block; background: #7CC47A; padding: 2px 18px 6px; transform: rotate(-2deg); }
.pb-land-select { position: relative; width: 350px; background: #fff; border-radius: 4px; padding: 16px 20px; font-size: 17px; color: #777; display: flex; justify-content: space-between; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.pb-land-select.-open .pb-land-ph { color: #1a1a1a; }
.pb-land-opt { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: #F6C945; padding: 12px 20px; font-size: 16px; color: #1a1a1a; border-radius: 3px; opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease; }
.pb-land-select.-open .pb-land-opt { opacity: 1; transform: none; }
.pb-balls { position: absolute; inset: 0; pointer-events: none; z-index: 14; overflow: hidden; }
.pb-balls i { position: absolute; top: -80px; left: calc(var(--x) * 1%); width: calc(var(--d) * 1px); height: calc(var(--d) * 1px); border-radius: 50%; background: var(--c); opacity: 0; }
.pb-balls.-go i { animation: pb-fall 1.9s cubic-bezier(.35, .1, .6, 1) forwards; animation-delay: calc(var(--t) * 1s); }
@keyframes pb-fall { 0% { transform: translateY(0) scale(.6); opacity: 0; } 8% { opacity: 1; } 72% { transform: translateY(calc(870px + 80px - var(--d) * 1px - 40px)) scale(1); } 84% { transform: translateY(calc(870px + 80px - var(--d) * 1px - 120px)); } 100% { transform: translateY(calc(870px + 80px - var(--d) * 1px - 40px)); opacity: 1; } }
.pb-dim { position: absolute; inset: 0; background: rgba(40, 32, 26, .55); opacity: 0; transition: opacity .5s ease; z-index: 15; }
.pb-modal { position: absolute; left: 340px; top: 95px; width: 720px; height: 680px; background: #F3ECE4; border-radius: 6px; z-index: 16; padding: 0 36px; opacity: 0; transform: scale(.92); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .3, 1.2); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.pb-modal.-on, .pb-dim.-on { opacity: 1; transform: none; }
.pb-modal-art { height: 170px; margin: 36px -36px 0; background: linear-gradient(180deg, #CFE7EE 0%, #CFE7EE 60%, #BFD9A6 60%, #BFD9A6 100%); display: flex; align-items: center; gap: 12px; padding: 0 36px; font-family: var(--pbh); font-weight: 500; font-size: 15px; text-transform: uppercase; }
.pb-panda.-sm { font-size: 16px; padding: 2px 5px; }
.pb-modal-x { position: absolute; right: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #1a1a1a; color: #fff; display: grid; place-items: center; font-size: 18px; }
.pb-modal h4 { margin: 150px 0 22px; font-family: var(--pbh); font-weight: 600; font-size: 50px; line-height: 1.02; text-transform: uppercase; }
.pb-modal p { margin: 0 0 40px; font-size: 17px; line-height: 1.45; color: #333; }
.pb-social { display: flex; gap: 14px; }
.pb-social span { width: 40px; height: 40px; border-radius: 50%; background: #1a1a1a; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.pb-health.-good { background: #DFF1DB; border-color: #5CB85C; }
.pb-health.-good .pb-kcal { background: #5CB85C; color: #fff; }

/* WWF window: the real ending. The page turns green, little Earths rain down, the share card carries its illustration */
.pb-stage, .pb-right, .pb-landing { transition: background-color .8s ease; }
.pb-stage.-success { background-color: #CFE3C9; }
.pb-stage.-success .pb-right { background: #E6F1E2; }
.pb-stage.-success .pb-card { border-color: #5CB85C; }
.pb-balls i { background: #4D9BE6; background-image: radial-gradient(circle at 28% 38%, #5CB85C 0 21%, transparent 22%), radial-gradient(circle at 72% 62%, #5CB85C 0 17%, transparent 18%), radial-gradient(circle at 60% 18%, #5CB85C 0 11%, transparent 12%), radial-gradient(circle at 20% 75%, #5CB85C 0 9%, transparent 10%), radial-gradient(circle at 30% 25%, rgba(255,255,255,.45) 0 12%, transparent 13%); box-shadow: inset -4px -4px 0 rgba(0,0,0,.12); }
.pb-balls.-go i { animation: pb-fall 2.1s cubic-bezier(.35, .1, .6, 1) forwards, pb-spin 2.1s linear forwards; animation-delay: calc(var(--t) * 1s), calc(var(--t) * 1s); }
@keyframes pb-spin { to { rotate: 160deg; } }
.pb-modal-art { position: relative; overflow: hidden; height: 190px; background: linear-gradient(180deg, #CFE7EE 0%, #CFE7EE 62%, #A9D39F 62%, #A9D39F 100%); }
.pb-modal-art::before { content: ""; position: absolute; left: 60%; top: 34%; width: 180px; height: 70px; background: #B8D8DD; border-radius: 40px 40px 0 0; opacity: .7; }
.pb-art-brand { position: absolute; left: 36px; top: 18px; display: flex; align-items: center; gap: 10px; }
.pb-globe { position: absolute; border-radius: 50%; background: #4D9BE6; background-image: radial-gradient(circle at 30% 40%, #5CB85C 0 22%, transparent 23%), radial-gradient(circle at 72% 64%, #5CB85C 0 18%, transparent 19%), radial-gradient(circle at 62% 18%, #5CB85C 0 12%, transparent 13%); box-shadow: inset -6px -6px 0 rgba(0,0,0,.12); }
.pb-globe.-big { width: 128px; height: 128px; left: 300px; top: 48px; }
.pb-globe.-big::after { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 30px; background: #1a1a1a; transform: translateX(-50%); }
.pb-eye { position: absolute; top: 46px; width: 12px; height: 16px; border-radius: 50%; background: #1a1a1a; }
.pb-eye.-l { left: 42px; } .pb-eye.-r { left: 72px; }
.pb-smile { position: absolute; left: 44px; top: 66px; width: 40px; height: 20px; border: 4px solid #1a1a1a; border-top: 0; border-radius: 0 0 24px 24px; box-sizing: border-box; }
.pb-veg { position: absolute; bottom: 10px; }
.pb-veg.-carrot { left: 470px; width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 90px solid #F08A3C; bottom: 8px; }
.pb-veg.-carrot-top { left: 476px; bottom: 92px; width: 20px; height: 30px; background: #5CB85C; border-radius: 10px 10px 0 0; }
.pb-veg.-avo { left: 150px; width: 70px; height: 92px; background: #3E7D3A; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; }
.pb-veg.-avo i { position: absolute; inset: 8px; background: #C9E27F; border-radius: inherit; }
.pb-veg.-avo i::after { content: ""; position: absolute; left: 50%; top: 52%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: #8B5A2B; }
.pb-veg.-loaf { left: 40px; width: 110px; height: 56px; background: #D9A066; border-radius: 28px 28px 10px 10px; }
.pb-veg.-bowl { left: 530px; width: 90px; height: 44px; background: #7FB2E5; border-radius: 0 0 45px 45px; }
.pb-veg.-bowl::before { content: ""; position: absolute; left: 10px; right: 10px; top: -14px; height: 26px; background: #fff; border-radius: 50%; }
.pb-veg.-tomato { left: 610px; width: 64px; height: 64px; background: #D9534F; border-radius: 50%; bottom: 14px; }
.pb-modal h4 { margin-top: 30px; }


/* ---- Site-model windows (HMM, Quandela, Lavanda): a scaled stage holding a long page that the script scrolls, with a cursor ---- */
.proj-win.-site { background: #fff; color: #111; }
.site-stage { position: absolute; left: 0; top: 0; width: 1400px; height: 870px; transform: scale(var(--s, 1)); transform-origin: 0 0; overflow: hidden; font-family: var(--sans); }
.site-page { position: absolute; left: 0; top: 0; width: 1400px; will-change: transform; }
.site-cur { position: absolute; left: 0; top: 0; z-index: 30; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); will-change: transform; }
.site-page h3, .site-page p { margin: 0; }
/* Human Made Machine */
.proj-win.-hmm { background: #F6F9FA; }
[data-model="hmm"] { background: #F6F9FA; color: #0F1416; --leaf: #3FD39B; }
.hm-nav { position: sticky; top: 0; z-index: 5; height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 56px; background: rgba(246,249,250,.92); border-bottom: 1px solid #E3EAEC; font-size: 15px; font-weight: 600; }
.hm-logo { font-size: 10px; line-height: 1.05; font-weight: 800; letter-spacing: .02em; border: 1.5px solid #0F1416; padding: 8px 9px; }
.hm-links { display: flex; gap: 36px; }
.hm-nav-r { display: flex; gap: 28px; align-items: center; }
.hm-btn { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid #0F1416; padding: 0 0 0 22px; height: 54px; font-size: 13px; font-weight: 700; letter-spacing: .06em; background: #fff; }
.hm-btn i { font-style: normal; margin-left: 22px; width: 54px; height: 100%; display: grid; place-items: center; border-left: 1.5px solid #0F1416; background: #fff; transition: background-color .35s ease, color .35s ease; }
.hm-btn.-hover i { background: var(--leaf); }
.hm-btn.-sm { height: 44px; font-size: 12px; } .hm-btn.-sm i { width: 44px; margin-left: 16px; }
.hm-btn.-lg { height: 64px; font-size: 15px; } .hm-btn.-lg i { width: 64px; }
.hm-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 120px 56px 110px; min-height: 780px; }
.hm-hero h3 { font-size: 78px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 30px; }
.hm-hero h3 em { font-style: normal; color: var(--leaf); }
.hm-hero p { font-size: 18px; line-height: 1.5; color: #3a4448; max-width: 520px; margin-bottom: 40px; }
.hm-case { font-size: 14px; margin-bottom: 18px; } .hm-case b { color: var(--leaf); }
.hm-thumb { position: relative; height: 380px; border-radius: 6px; background: radial-gradient(circle at 70% 30%, #3b4a55 0%, #15191c 55%, #0b0e10 100%); overflow: hidden; }
.hm-thumb::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px); }
.hm-thumb-word { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font-family: var(--serif); font-size: 92px; letter-spacing: .06em; color: #fff; }
.hm-thumb-sub { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: #cfd6d9; font-size: 14px; }
.hm-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.14); display: grid; place-items: center; transition: transform .4s cubic-bezier(.2,.9,.3,1.3), background-color .4s ease; }
.hm-play i { width: 0; height: 0; border-left: 26px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
.hm-play.-hover { transform: scale(1.18); background: var(--leaf); }
.hm-logos { padding: 60px 0; border-top: 1px solid #E3EAEC; border-bottom: 1px solid #E3EAEC; overflow: hidden; }
.hm-marq { display: flex; gap: 110px; width: max-content; animation: hm-marq 22s linear infinite; font-family: var(--serif); font-size: 34px; color: #5b6669; white-space: nowrap; }
@keyframes hm-marq { to { transform: translateX(-50%); } }
.hm-intro { padding: 150px 240px; text-align: center; }
.hm-intro h3 { font-size: 54px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 28px; }
.hm-intro p { font-size: 18px; line-height: 1.5; color: #3a4448; }
.hm-eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 26px; }
.hm-eyebrow i { width: 6px; height: 6px; background: var(--leaf); display: inline-block; }
.hm-why { padding: 60px 56px 150px; text-align: center; }
.hm-why h3, .hm-who h3 { font-size: 54px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 70px; }
.hm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; text-align: left; }
.hm-cards .hmm-card { background: #fff; padding: 0 0 30px; margin: 0; }
.hm-cards .hmm-cv { border-radius: 0; }
.hm-cards figcaption { padding: 26px 28px 0; font-size: 16px; line-height: 1.45; color: #3a4448; }
.hm-cards figcaption b { display: block; font-size: 24px; color: #0F1416; margin-bottom: 8px; letter-spacing: -0.02em; }
.hm-who { padding: 60px 56px 150px; text-align: center; }
.hm-who h3 { margin-bottom: 26px; }
.hm-sub { font-size: 18px; color: #3a4448; max-width: 760px; margin: 0 auto 70px !important; line-height: 1.5; }
.hm-who-grid { display: grid; grid-template-columns: 280px 1fr 320px; gap: 50px; align-items: center; text-align: left; }
.hm-tabs { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.hm-tabs li { padding: 18px 0 18px 28px; position: relative; color: #5b6669; transition: color .3s ease; }
.hm-tabs li i { position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--leaf); opacity: 0; transition: opacity .3s ease; }
.hm-tabs li.is-on { color: #0F1416; font-weight: 700; } .hm-tabs li.is-on i { opacity: 1; }
.hm-shot { position: relative; height: 520px; }
.hm-photo { position: absolute; left: 60px; top: 0; right: 0; bottom: 0; border-radius: 6px; background: linear-gradient(160deg, #2f4a3d 0%, #1d2f27 45%, #0f1416 100%); overflow: hidden; }
.hm-photo::after { content: ""; position: absolute; left: 36%; top: 18%; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #c89b7a, #8a5f45 70%); box-shadow: 0 150px 0 40px #27503f; }
.hm-dash { position: absolute; left: 0; top: 80px; width: 300px; background: #fff; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.18); padding: 18px; }
.hm-dash svg { width: 100%; height: auto; display: block; }
.hm-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: var(--dash, 0); transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1); }
.hm-line.-a { stroke: var(--leaf); } .hm-line.-b { stroke: #E8724F; }
.hm-tag { position: absolute; right: 50px; top: 56%; background: var(--leaf); color: #0F1416; font-size: 14px; font-weight: 700; padding: 10px 16px; display: inline-flex; gap: 8px; align-items: center; transform: scale(0); transition: transform .5s cubic-bezier(.2, .9, .3, 1.4); }
.hm-tag i { font-style: normal; background: #0F1416; color: #fff; width: 22px; height: 22px; display: grid; place-items: center; }
.hm-tag.-on { transform: scale(1); }
.hm-who-copy b { display: none; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 16px; }
.hm-who-copy p { display: none; font-size: 16px; line-height: 1.55; color: #3a4448; }
.hm-who-copy[data-on="0"] [data-t0], .hm-who-copy[data-on="1"] [data-t1], .hm-who-copy[data-on="2"] [data-t2] { display: block; }
.hm-cta { padding: 160px 56px 180px; text-align: center; background: #fff; border-top: 1px solid #E3EAEC; }
.hm-cta h3 { font-size: 62px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; max-width: 820px; margin: 0 auto 50px; }

/* Quandela */
.proj-win.-qd { background: #000; }
[data-model="qd"] { background: #000; color: #fff; --qblue: #4C6FFF; --qred: #E8604C; }
[data-model="qd"] h3 { font-family: 'Outfit', var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.qd-nav { position: sticky; top: 0; z-index: 5; height: 110px; display: flex; align-items: center; justify-content: space-between; padding: 0 56px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.qd-logo { font-family: 'Outfit', var(--sans); font-weight: 700; font-size: 40px; letter-spacing: .01em; }
.qd-logo b { font-size: 50px; position: relative; }
.qd-logo b::after { content: ""; position: absolute; left: 14px; bottom: 2px; width: 16px; height: 16px; background: #000; border-right: 4px solid #fff; border-bottom: 4px solid #fff; transform: skewX(-20deg); }
.qd-links { display: flex; gap: 30px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.qd-links .-red { color: var(--qred); }
.qd-pills { display: flex; gap: 10px; font-size: 11px; font-weight: 700; }
.qd-pills span { border: 1.5px solid #fff; border-radius: 999px; padding: 9px 16px; }
.qd-hero { position: relative; height: 870px; margin-top: -110px; overflow: hidden; }
.qd-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qd-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.75) 100%); }
.qd-h1 { position: absolute; left: 56px; bottom: 90px; font-size: 72px; line-height: 1.02; }
.qd-h1 span { display: block; transform: translateY(40px); opacity: 0; transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s ease; }
.qd-h1 span:nth-child(2) { transition-delay: .15s; }
.qd-h1.-in span { transform: none; opacity: 1; }
.qd-contact { position: absolute; right: 0; top: 420px; background: var(--qblue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; writing-mode: vertical-rl; padding: 18px 10px; border-radius: 6px 0 0 6px; }
.qd-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 60px 56px; }
.qd-news div { border-left: 1px solid #333; padding: 0 24px; font-size: 15px; line-height: 1.4; display: flex; flex-direction: column; gap: 16px; }
.qd-news i { font-style: normal; color: var(--qblue); font-size: 20px; }
.qd-eyebrow { color: var(--qred); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 18px !important; }
.qd-use, .qd-sol, .qd-who, .qd-join { padding: 120px 56px; text-align: center; }
.qd-use h3, .qd-sol h3, .qd-who h3, .qd-join h3 { font-size: 46px; line-height: 1.08; margin-bottom: 22px !important; }
.qd-sub { font-size: 16px; line-height: 1.55; color: #c9c9c9; max-width: 720px; margin: 0 auto 30px !important; }
.qd-pill { display: inline-block; border: 1.5px solid var(--qblue); color: #fff; border-radius: 999px; padding: 12px 22px; font-size: 11px; font-weight: 700; letter-spacing: .06em; transition: background-color .35s ease, transform .35s ease; }
.qd-pill.-fill { background: var(--qblue); }
.qd-pill.-hover { background: #fff; color: #000; border-color: #fff; transform: scale(1.04); }
.qd-carousel { position: relative; margin-top: 70px; overflow: hidden; }
.qd-track { display: flex; gap: 24px; transform: translateX(var(--x, 0px)); transition: transform 1.1s cubic-bezier(.4, 0, .2, 1); }
.qd-card { flex: none; width: 300px; height: 360px; border-radius: 10px; background: var(--g); position: relative; text-align: left; border: 1px solid #222; }
.qd-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.18), transparent 50%); border-radius: inherit; }
.qd-card span { position: absolute; left: 22px; bottom: 22px; font-size: 20px; font-weight: 700; line-height: 1.15; max-width: 200px; }
.qd-card i { position: absolute; right: 18px; bottom: 20px; font-style: normal; font-size: 22px; color: var(--qblue); }
.qd-arrow { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: 18px; transition: transform .3s ease, background-color .3s ease; }
.qd-arrow.-l { left: 10px; } .qd-arrow.-r { right: 10px; }
.qd-arrow.-hover { background: var(--qblue); color: #fff; transform: scale(1.1); }
.qd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 60px; border-top: 1px solid #2a2a2a; }
.qd-sol-card { text-align: left; padding: 48px 48px 56px; border-bottom: 1px solid #2a2a2a; border-right: 1px solid #2a2a2a; transition: background-color .5s ease, transform .5s ease; position: relative; }
.qd-sol-card:nth-child(even) { border-right: 0; }
.qd-sol-card h4 { margin: 20px 0 14px; font-family: 'Outfit', var(--sans); font-weight: 700; font-size: 30px; letter-spacing: .02em; }
.qd-sol-card b { display: block; font-size: 17px; margin-bottom: 14px; }
.qd-sol-card p { font-size: 15px; line-height: 1.55; color: #c9c9c9; margin-bottom: 26px !important; }
.qd-sol-card.-hover { background: #0e1230; transform: translateY(-6px); }
.qd-sol-card.-hover .qd-pill { background: var(--qblue); }
.qd-ico { display: block; width: 44px; height: 44px; border: 2.5px solid #fff; border-radius: 6px; position: relative; }
.qd-ico.-mosaiq::before { content: ""; position: absolute; inset: 8px; background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 10px); }
.qd-ico.-cloud { border-radius: 50% 50% 8px 8px; }
.qd-ico.-perceval::before { content: ""; position: absolute; left: 10px; right: 10px; top: 19px; height: 2.5px; background: #fff; box-shadow: 0 -8px 0 #fff, 0 8px 0 #fff; }
.qd-ico.-prometheus::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px #000, 0 0 0 8px #fff; }
.qd-btns { display: flex; gap: 14px; justify-content: center; }
.qd-marq-wrap { overflow: hidden; margin-top: 70px; padding: 30px 0; border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; }
.qd-marq { display: flex; gap: 120px; width: max-content; white-space: nowrap; animation: hm-marq 26s linear infinite; font-family: 'Outfit', var(--sans); font-weight: 700; font-size: 34px; color: #e8e8e8; }
.qd-photos { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-top: 60px; height: 520px; }
.qd-photos div { border-radius: 8px; background: var(--g); position: relative; overflow: hidden; }
.qd-photos div::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(76,111,255,.35), transparent 55%); }
.qd-photos div:nth-child(2) { grid-row: span 1; }

/* Lavanda: styled from getlavanda.com. Their Season fonts are loaded from their server (CORS allows it); white page, cream pills #F4F0E8, lilac #B195FF, plum #2E2249, lime #D9FF8C. */
.proj-win.-lav { background: #fff; }
[data-model="lav"] { background: #fff; color: #000; font-family: 'Season Sans', var(--sans); font-size: 18px; line-height: 1.22; --lilac: #B195FF; --plum: #2E2249; --lime: #D9FF8C; --cream: #F4F0E8; --warm: #7D6A52; }
[data-model="lav"] h3 { font-family: 'Season Mix', var(--serif); font-weight: 400; letter-spacing: 0; }
.lv-navwrap { position: sticky; top: 0; z-index: 6; display: flex; justify-content: space-between; padding: 24px 40px 0; gap: 10px; }
.lv-pill { display: flex; align-items: center; gap: 56px; background: var(--cream); border-radius: 100px; height: 56px; padding: 0 12px 0 24px; font-size: 16px; }
.lv-pill.-r { gap: 24px; padding-left: 24px; }
.lv-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 18px; }
.lv-mark-svg { width: 20px; height: 20px; }
.lv-links { display: flex; gap: 32px; } .lv-links i { font-style: normal; font-size: 12px; margin-left: 2px; }
.lv-btn { display: inline-block; background: var(--lilac); color: #000; border-radius: 100px; padding: 8px 24px; font-size: 16px; font-weight: 500; line-height: 1.6; transition: background-color .35s ease, transform .35s ease; }
.lv-btn.-hover { background: #9C7BF5; transform: scale(1.04); }
.lv-hero { text-align: center; padding: 86px 100px 60px; }
.lv-hero h3 { font-size: 112px; line-height: 1; margin-bottom: 34px !important; }
.lv-hero p { font-size: 18px; line-height: 1.22; max-width: 640px; margin: 0 auto 32px !important; }
.lv-show { display: grid; grid-template-columns: 360px 1fr; gap: 40px; padding: 70px 40px 100px; align-items: start; }
.lv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lv-step { position: relative; }
.lv-step-in { position: relative; background: var(--cream); border-radius: 28px; padding: 23px 24px 19px 60px; color: var(--warm); transition: background-color .5s ease, color .5s ease, box-shadow .5s ease; }
.lv-step-in::after { content: ""; position: absolute; left: 40px; bottom: -10px; width: 22px; height: 22px; background: inherit; border-radius: 0 0 6px 0; transform: rotate(45deg); box-shadow: inherit; clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.lv-step:last-child .lv-step-in::after { display: none; }
.lv-check { position: absolute; left: 24px; top: 24px; width: 24px; height: 24px; border-radius: 50%; background: #D9D2C4; color: #fff; display: grid; place-items: center; transition: background-color .5s ease, color .5s ease; }
.lv-step b { display: block; font-family: 'Season Mix', var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.lv-step-copy { display: none; margin-top: 18px; font-size: 15px; line-height: 1.3; color: #000; }
.lv-step-copy p + p { margin-top: 12px !important; }
.lv-step.is-on .lv-step-in { background: #fff; color: #000; box-shadow: inset 0 0 0 2px var(--cream); }
.lv-step.is-on .lv-step-in::after { box-shadow: inset -2px -2px 0 0 var(--cream); }
.lv-step.is-on .lv-check { background: var(--plum); color: var(--lime); }
.lv-step.is-on .lv-step-copy { display: block; }
.lv-screen { position: relative; height: 600px; border-radius: 28px; overflow: hidden; background: #E5E1DA; }
.lv-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #C6D8E6 0%, #DCE6EE 36%, #B07E5F 36%, #8C5B43 100%); }
.lv-bg::before { content: ""; position: absolute; left: 0; right: 0; top: 36%; bottom: 0; background: repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 44px, transparent 44px 104px), repeating-linear-gradient(180deg, rgba(0,0,0,.16) 0 38px, transparent 38px 92px); }
.lv-bg::after { content: ""; position: absolute; left: 64%; top: 18%; width: 400px; height: 82%; background: linear-gradient(180deg, #A86F56, #7A4B37); }
.lv-app { position: absolute; left: 56px; top: 84px; width: 600px; height: 430px; background: #fff; border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.25); padding: 18px 26px; font-size: 13px; line-height: 1.3; }
.lv-app-h { display: flex; justify-content: space-between; align-items: center; height: 30px; border-bottom: 1px solid #eee; margin-bottom: 18px; }
.lv-mark { display: inline-flex; } .lv-mark svg { width: 16px; height: 16px; }
.lv-avatar { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #e9c6b0 0 45%, #6b4a3a 46%); }
.lv-pane { display: none; }
.lv-app[data-s="0"] [data-p="0"], .lv-app[data-s="1"] [data-p="1"], .lv-app[data-s="2"] [data-p="2"] { display: block; }
.lv-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.lv-row b { font-family: 'Season Mix', var(--serif); font-weight: 400; font-size: 24px; }
.lv-chip { background: #F1EEF8; border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 500; }
.lv-ava { display: flex; align-items: center; gap: 12px; border: 1.5px solid #e4e0ee; border-radius: 999px; padding: 10px 14px; margin-bottom: 18px; height: 44px; }
.lv-ava i { font-style: normal; color: #8F6FE8; }
.lv-type { flex: 1; white-space: nowrap; overflow: hidden; }
.lv-type::after { content: ""; display: inline-block; width: 1.5px; height: 14px; background: #000; margin-left: 2px; vertical-align: -2px; animation: ss-blink 1s steps(1) infinite; }
.lv-ava em { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-size: 12px; }
.lv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lv-stat { border: 1.5px solid #ece9f2; border-radius: 10px; padding: 14px; position: relative; height: 150px; }
.lv-stat small { display: block; font-size: 11px; font-weight: 500; line-height: 1.3; } .lv-stat small span { color: #9a93aa; font-weight: 400; }
.lv-stat > b { position: absolute; left: 14px; bottom: 14px; font-family: 'Season Mix', var(--serif); font-weight: 400; font-size: 26px; }
.lv-stat svg { position: absolute; right: 12px; bottom: 12px; width: 150px; height: 75px; }
.lv-area { fill: #E4DBFA; opacity: var(--o, 0); transition: opacity 1.2s ease .6s; }
.lv-lineA, .lv-lineB { fill: none; stroke: #8F6FE8; stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: var(--d, 400); transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1); }
.lv-donut { position: absolute; right: 18px; bottom: 16px; width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(#8F6FE8 calc(var(--p, 0) * 1%), #E4DBFA calc(var(--p, 0) * 1%) calc(var(--p, 0) * 1% + 18%), #CFE8E1 0 100%); -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%); mask: radial-gradient(circle, transparent 55%, #000 56%); }
.lv-filters { display: flex; gap: 8px; margin-bottom: 14px; }
.lv-filters span { border: 1.5px solid #e4e0ee; border-radius: 999px; padding: 6px 12px; font-size: 11px; color: #6a6480; }
.lv-filters span b { color: #000; } .lv-filters .-on { background: #F1EEF8; border-color: #F1EEF8; }
.lv-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.lv-table th { text-align: left; color: #9a93aa; font-weight: 400; padding: 6px 0; border-bottom: 1px solid #eee; }
.lv-table td { padding: 10px 0; border-bottom: 1px solid #f1f1f1; }
.lv-table td:first-child { font-weight: 500; }
.lv-table tr { opacity: 0; transform: translateX(-8px); transition: opacity .4s ease, transform .4s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.lv-app.-rows .lv-table tr { opacity: 1; transform: none; }
.lv-table i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; } .lv-table i.-g { background: #4CAF50; } .lv-table i.-p { background: #8F6FE8; }
.lv-occ { width: 100%; height: 190px; }
.lv-dash { fill: none; stroke: #9a93aa; stroke-width: 1.5; stroke-dasharray: 4 5; }
.lv-fill { fill: #E4DBFA; opacity: var(--o, 0); transition: opacity 1s ease .5s; }
.lv-occ-num { margin-top: 10px; } .lv-occ-num small { display: block; color: #9a93aa; font-size: 11px; } .lv-occ-num b { font-family: 'Season Mix', var(--serif); font-weight: 400; font-size: 30px; display: block; } .lv-occ-num span { color: #4CAF50; font-size: 11px; }
.lv-float { position: absolute; right: 36px; bottom: 50px; width: 300px; background: #fff; border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.25); padding: 18px 20px; font-size: 12px; transform: translateY(30px); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s ease; }
.lv-float.-in { transform: none; opacity: 1; }
.lv-float small { display: block; font-weight: 500; } .lv-float b { font-family: 'Season Mix', var(--serif); font-weight: 400; font-size: 32px; display: block; margin: 6px 0 2px; } .lv-float span { color: #4CAF50; }
.lv-bars { display: flex; gap: 6px; align-items: flex-end; height: 70px; margin-top: 14px; }
.lv-bars i { flex: 1; background: #8F6FE8; border-radius: 3px 3px 0 0; height: calc(var(--h, 0) * 1%); transition: height .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 60ms); }
.lv-logos { display: flex; justify-content: space-between; align-items: center; padding: 30px 60px 110px; font-weight: 600; font-size: 15px; letter-spacing: .08em; color: #333; line-height: 1.1; text-align: center; }
.lv-logos .-lc { font-size: 24px; letter-spacing: -0.02em; font-weight: 600; } .lv-logos .-sm { font-size: 12px; letter-spacing: .02em; font-weight: 500; } .lv-logos .-serif { font-family: 'Season Serif', var(--serif); font-weight: 400; font-size: 22px; letter-spacing: 0; }
.lv-eyebrow { display: inline-block; background: var(--cream); border-radius: 4px; padding: 4px 8px; font-size: 12px; letter-spacing: .06em; margin-bottom: 24px; }
.lv-orch, .lv-plat, .lv-sect { padding: 110px 40px; }
.lv-orch, .lv-plat { text-align: center; }
.lv-orch h3, .lv-plat h3, .lv-sect h3, .lv-foot h3 { font-size: 72px; line-height: 1; margin-bottom: 26px !important; }
.lv-orch p, .lv-plat p { font-size: 18px; line-height: 1.22; max-width: 620px; margin: 0 auto !important; }
.lv-orch p.-tight { margin-top: 10px !important; }
.lv-diagram { display: grid; grid-template-columns: 1fr 1fr; height: 520px; margin: 40px 0 50px; }
.lv-cluster { position: relative; }
.lv-cluster small { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); font-size: 11px; letter-spacing: .1em; color: #666; }
.lv-glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, #D9FF8C 0%, rgba(217,255,140,.55) 35%, rgba(217,255,140,0) 70%); animation: lv-pulse 5s ease-in-out infinite; }
@keyframes lv-pulse { 0%, 100% { transform: scale(.9); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
.lv-op { position: absolute; left: 50%; top: 50%; transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))); background: #F3F3F3; border-radius: 140px; padding: 14px 24px; font-size: 18px; white-space: nowrap; animation: lv-drift 6s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.lv-op.-big { font-size: 25px; padding: 22px 34px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.lv-op.-w { background: #fff; }
@keyframes lv-drift { from { margin-top: -4px; } to { margin-top: 5px; } }
.lv-talk { margin-top: 28px; }
.lv-panel { position: relative; margin-top: 60px; background: var(--plum); border-radius: 28px; padding: 70px 70px 70px 560px; min-height: 560px; text-align: left; color: #fff; overflow: hidden; }
.lv-dots { position: absolute; left: 90px; top: 50%; width: 360px; height: 360px; margin-top: -180px; background-image: radial-gradient(circle, var(--lime) 0 5px, transparent 5.5px); background-size: 60px 60px; background-position: 30px 30px; -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 40%, transparent 72%); mask: radial-gradient(circle at 50% 50%, #000 0 40%, transparent 72%); animation: lv-dots 9s ease-in-out infinite; }
@keyframes lv-dots { 0%, 100% { transform: scale(.92) rotate(0deg); opacity: .8; } 50% { transform: scale(1.05) rotate(6deg); opacity: 1; } }
.lv-caps { display: grid; gap: 60px; }
.lv-cap { position: relative; padding-right: 110px; }
.lv-cap b { display: block; font-family: 'Season Mix', var(--serif); font-weight: 400; font-size: 40px; color: var(--lime); line-height: 1.05; }
.lv-cap em { display: block; font-style: normal; color: var(--lime); font-size: 16px; margin: 10px 0 18px; }
.lv-cap p { font-size: 16px; line-height: 1.3; color: #D8D0EA; max-width: 440px; margin: 0 !important; }
.lv-circ { position: absolute; right: 0; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1.5px solid var(--lilac); color: var(--lilac); display: grid; place-items: center; font-size: 20px; transition: background-color .4s ease, color .4s ease, transform .4s ease; }
.lv-circ.-hover { background: var(--lilac); color: #000; transform: scale(1.08); }
.lv-circ.-sm { position: static; margin: 20px 0 0; width: 40px; height: 40px; }
.lv-sect h3 { max-width: 900px; }
.lv-cards-wrap { margin-top: 50px; overflow: hidden; }
.lv-cards { display: flex; gap: 20px; transform: translateX(var(--x, 0px)); transition: transform 1.1s cubic-bezier(.4, 0, .2, 1); }
.lv-scard { flex: none; width: 440px; height: 460px; border-radius: 20px; overflow: hidden; background: var(--plum); color: #fff; display: grid; grid-template-rows: 46% 1fr; }
.lv-scard i { display: block; background: var(--g); }
.lv-scard div { padding: 24px 24px 20px; }
.lv-scard b { display: block; font-family: 'Season Mix', var(--serif); font-weight: 400; font-size: 40px; color: var(--lime); line-height: 1; margin-bottom: 14px; }
.lv-scard p { font-size: 15px; line-height: 1.3; color: #D8D0EA; margin: 0 !important; }
.lv-progress { position: relative; height: 2px; background: #E6E2DA; margin: 36px 20% 0; }
.lv-progress i { position: absolute; left: var(--l, 0%); top: 0; width: 34%; height: 100%; background: #000; transition: left 1.1s cubic-bezier(.4, 0, .2, 1); }
.lv-foot { background: var(--plum); color: #fff; text-align: center; padding: 150px 40px 170px; }
.lv-foot h3 { margin-bottom: 36px !important; }

.values p a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .3s ease; }
.values p a:hover { color: var(--red); }

[data-model="qd"] .site-cur { display: none; }

/* collaborator names in the Work copy: quiet until hovered, then red (same rule as the What we do panels) */
.proj-copy p a { color: inherit; text-decoration: none; transition: color .3s ease; }
.proj-copy p a:hover { color: var(--red); }

/* contact form: questions as labels (sentence case, body size), grey hints in the boxes (Evan 2026-11-09) */
.field label { font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }

/* letter form (Evan 2026-11-09: the generic form replaced by a letter with blanks to fill in) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.letter-sec .h-big { margin-bottom: .6em; }
.letter { max-width: 24em; font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.5; letter-spacing: -0.008em; }
.letter p { margin: 0 0 .55em; max-width: none; }
.letter .fld { position: relative; display: inline-block; vertical-align: baseline; min-width: 4ch; max-width: 100%; }
.letter .fld::after { content: attr(data-v); visibility: hidden; white-space: pre; display: inline-block; padding: 0 .35em 0 .12em; border-bottom: 1px solid transparent; }
.letter .fld input { position: absolute; inset: 0; }
.letter input, .letter textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--red); border-radius: 0; padding: 0 .12em; margin: 0; outline: none; line-height: inherit; transition: border-color .3s ease, background .3s ease; }
.letter input:focus, .letter textarea:focus { border-bottom-color: var(--ink); background: var(--soft); }
.letter input::placeholder, .letter textarea::placeholder { color: var(--muted); opacity: 1; }
.letter .-msg textarea { display: block; width: 100%; resize: none; overflow: hidden; margin-top: .1em; }
.letter .letter-q { font-family: inherit; font-size: .95rem; letter-spacing: 0; line-height: 1.4; min-height: 1.4em; margin: .2em 0 1.2em; transition: opacity .3s ease; font-family: "Manrope", system-ui, sans-serif; }
.letter .btn { font-family: "Manrope", system-ui, sans-serif; font-size: 1rem; letter-spacing: 0; }
.letter .form-note { font-family: "Manrope", system-ui, sans-serif; }
@media (max-width: 700px) { .letter { font-size: 1.35rem; } }
.letter .nw { white-space: nowrap; }
.letter .form-note { margin-left: 14px; font-size: 14px; }
.letter .form-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .18em; }
.letter .form-note a:hover { color: var(--red); }
.letter .letter-done { animation: rise .9s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.letter .btn:disabled { opacity: .6; transform: none; cursor: default; }
.foot-legal { margin: 18px auto 0; font-size: 11px; letter-spacing: .02em; color: var(--muted, inherit); opacity: .7; text-wrap: balance; max-width: 60ch; text-align: center; }

/* Headings in a two-column section size to their column, not the window, so a long line never runs past its edge (2026-11-10) */
.two > * { container-type: inline-size; }
.two .h-big { font-size: min(clamp(2.6rem, 6.4vw, 6.4rem), 13.5cqi); }

/* About: the studio statement runs the full width, the paragraph sits under it on the right (2026-11-10) */
.statement-row { grid-column: 1 / -1; }
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 5.8rem); line-height: 1.04; letter-spacing: -0.012em; margin: 0; max-width: 14em; text-wrap: balance; }
.after-statement { grid-column: 2; }
@media (max-width: 900px) { .after-statement { grid-column: auto; } }
:root:not([data-hl="didot"]) .statement { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }

/* A headline line wraps only when it cannot fit, so no title is ever clipped or pushes the page sideways on a phone (2026-11-10) */
.line-in { white-space: normal; max-width: 100%; text-wrap: balance; }

/* Hidden helpers sit at their box's corner, so they never stretch a page sideways (2026-11-10) */
.sr-only { left: 0; top: 0; }

/* Work mock-ups keep the serif they were drawn with; the site's own headline face changed to Plus Jakarta Sans (2026-11-10) */
[data-model] { --serif: "GFS Didot", "Didot", "Bodoni Moda", Georgia, serif; }

/* Contact: the longest address (partnerships@studiojunction.io) stays on a small phone screen (2026-11-10) */
.contact-list a { font-size: min(clamp(1.5rem, 4.4vw, 4.6rem), calc((100vw - 2 * var(--gutter)) / 15.2)); }

/* Small grey labels meet WCAG AA (4.5:1) on Bone and on black: no extra fade on the legal line (2026-11-10) */
.foot-legal { opacity: 1; }
