/* ==========================================================================
   Perennus — homepage
   White and warm paper, ink, one rust accent (action, focus, and the
   break/loss). Green only for recovered results. Centred statements; the
   instrument explains the method.
   ========================================================================== */
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

body.v3 {
  --f: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: var(--f);
  --bg: #FFFFFF; --fg: #191918; --fg-2: #55524D; --fg-3: #8B867F;
  --line: rgba(20, 16, 12, 0.09); --line-2: rgba(20, 16, 12, 0.16);
  --wash: #F7F6F3; --wash-2: #EFEEEA;
  --acc: #C04F25; --acc-2: #A2401C; --acc-t: #FBEEE7; --acc-i: #963815;
  --red: var(--acc); --red-t: var(--acc-t); --red-i: var(--acc-i);
  --green: #18A060; --green-t: #E8F6EE; --green-i: #0D7A46;
  --amber: #DE9B00; --amber-t: #FDF4DE; --amber-i: #946500;
  --lilac: #7A5CFA; --lilac-t: #F2EFFF; --lilac-i: #5A3BDD;
  --sig: var(--acc);
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --head-h: 64px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f); font-size: 1rem; line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "ss03";
  font-optical-sizing: auto;
}
.v3 ::selection { background: var(--acc-t); color: var(--acc-i); }
.v3 :focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.v3 .wrap { max-width: var(--max); }
.v3 .wrap--narrow { max-width: 780px; }

/* ---------- Header ---------- */
.v3 .site-head, .v3 .site-head.is-scrolled, .v3 .site-head[data-surface] {
  --fg: #191918; --fg-2: #55524D; --line: rgba(20, 16, 12, 0.09);
  background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: none; color: var(--fg);
}
.v3 .site-head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.v3 .brand .mark { width: 20px; }
.v3 .site-nav { margin-left: 28px; margin-right: auto; }
.v3 .site-nav ul { gap: 4px; }
.v3 .site-nav a { font-size: 0.9375rem; font-weight: 500; color: var(--fg); padding: 7px 12px; border-radius: 8px; transition: background-color 120ms linear; }
.v3 .site-nav a::after { display: none; }
.v3 .site-nav a:hover { background: var(--wash); }
.v3 .site-head__actions { gap: 8px; }
.head-link { font-size: 0.9375rem; font-weight: 500; text-decoration: none; padding: 7px 12px; border-radius: 8px; }
.head-link:hover { background: var(--wash); }

.v3 .site-menu { background: #fff; color: var(--fg); --fg: #191918; --fg-3: #8B867F; --bg: #fff; --line: rgba(20,16,12,.09); }
.v3 .site-menu__list a { font-family: var(--f); font-weight: 650; letter-spacing: -0.025em; }
.v3 .site-menu__list::before, .v3 .site-menu__dot, .v3 .site-menu__n { display: none; }
.v3 .site-menu__foot { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.v3 .menu-toggle__label, .v3 .menu-close { font-family: var(--f); font-size: 0.9375rem; text-transform: none; letter-spacing: 0; font-weight: 500; }

/* ---------- Buttons & links ---------- */
.v3 .btn {
  font-family: var(--f); font-size: 1rem; font-weight: 550; letter-spacing: -0.005em;
  padding: 11px 20px; border-radius: 10px; gap: 8px; line-height: 1.2;
  transition: background-color 120ms linear, box-shadow 120ms linear, transform 120ms ease;
}
.v3 .btn:active { transform: translateY(1px); }
.v3 .btn--sm { font-size: 0.9375rem; padding: 8px 14px; border-radius: 9px; }
.v3 .btn--primary { background: var(--acc); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(162, 64, 28, .28); }
.v3 .btn--primary:hover { background: var(--acc-2); }
.btn--soft { background: var(--acc-t); color: var(--acc-i); }

.arw { width: 16px; height: 16px; flex: none; transition: transform 160ms ease; }
a:hover > .arw { transform: translateX(2px); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; color: var(--acc); text-decoration: none; }
a:hover .link, .link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-row--center { justify-content: center; margin-top: 48px; }

/* ---------- Pills & chips ---------- */
.pill { display: inline-block; white-space: nowrap; padding: 0 0.2em 0.02em 0.14em; border-radius: 0.24em; line-height: 1.08; }
.pill i { display: inline-block; width: 0.22em; height: 0.22em; border-radius: 50%; margin-right: 0.14em; vertical-align: 0.24em; }
.pill { background: var(--acc-t); color: var(--acc-i); }
.pill i { background: var(--acc); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; line-height: 1.4; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--green { background: var(--green-t); color: var(--green-i); }
.chip--red { background: var(--red-t); color: var(--red-i); }
.chip--amber { background: var(--amber-t); color: var(--amber-i); }
.chip--blue { background: var(--acc-t); color: var(--acc-i); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--red { background: var(--red); } .dot--amber { background: var(--amber); }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 500; color: var(--fg-2); background: var(--wash); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }

/* ---------- Type ---------- */
.kicker { font-size: 0.9375rem; font-weight: 600; color: var(--acc); margin-bottom: 14px; }
.h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.032em; text-wrap: balance; }
.h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.sub { margin-top: 18px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; color: var(--fg-2); max-width: 46ch; margin-inline: auto; text-wrap: pretty; }
.head { text-align: center; margin: 0 auto clamp(40px, 5vw, 60px); max-width: 880px; }
.note { margin-top: 16px; text-align: center; font-size: 0.9375rem; color: var(--fg-3); }
.note a { color: var(--fg); }

.sec { padding-block: clamp(80px, 9vw, 128px); }
.sec--tight { padding-block: clamp(40px, 5vw, 72px); }
.sec--wash { background: var(--wash); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-top: calc(var(--head-h) + clamp(44px, 6.5vw, 84px)); text-align: center; }
.hero__copy { display: grid; justify-items: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line); font-size: 0.875rem; font-weight: 500; color: var(--fg-2); text-decoration: none;
  margin-bottom: 28px; transition: box-shadow 120ms linear;
}
.announce:hover { box-shadow: 0 0 0 1px var(--line-2); }
.announce__tag { background: var(--acc-t); color: var(--acc-i); font-weight: 600; padding: 2px 9px; border-radius: 999px; font-size: 0.8125rem; }
.announce__go { display: inline-flex; align-items: center; gap: 4px; color: var(--acc); font-weight: 550; }
.announce__go .arw { width: 14px; height: 14px; }
.hero__title { font-size: clamp(2.7rem, 1rem + 6vw, 5.25rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.042em; max-width: 16ch; text-wrap: balance; }
.hero__sub { margin-top: 24px; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.45; color: var(--fg-2); max-width: 38ch; text-wrap: pretty; }
.hero .cta-row { margin-top: 32px; justify-content: center; }
.hero .btn { font-size: 1.0625rem; padding: 13px 22px; }

/* ==========================================================================
   OUTCOMES (marquee)
   ========================================================================== */
.outcomes { padding-top: clamp(56px, 7vw, 88px); text-align: center; overflow: hidden; }
.outcomes__title { font-size: 0.9375rem; color: var(--fg-3); font-weight: 500; }
.marquee { display: flex; margin-top: 22px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0 56px 0 0; display: flex; gap: 56px; flex: none; animation: marquee 50s linear infinite; }
.marquee__track li { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 0.9375rem; color: var(--fg-2); }
.marquee__track b { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; color: var(--fg); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.h2 .pill--sm { font-size: 0.94em; }
.panel { background: var(--wash); border-radius: 24px; padding: clamp(20px, 4.5vw, 64px); }
.problem__cards { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.mini { background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px -12px rgba(20,16,12,.12); display: grid; gap: 14px; justify-items: start; align-content: start; height: 100%; }
.mini__k { font-size: 0.8125rem; font-weight: 600; color: var(--fg-3); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-weight: 500; font-size: 1.0625rem; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--green-t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6 5.4-5.6' fill='none' stroke='%230D7A46' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.mini--hot { box-shadow: 0 0 0 1.5px var(--red), 0 16px 36px -14px rgba(229, 72, 77, .32); }
.mini__big { font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--red-i); }
.mini__l { color: var(--fg-2); }
.problem__arrow { height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 11px); position: relative; }
.problem__arrow::after { content: ""; position: absolute; right: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* ==========================================================================
   HOW — bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--wash); border-radius: 24px; padding: 30px 30px 0; display: grid; grid-template-rows: auto 1fr; gap: 28px; overflow: hidden; min-height: 420px; }
.tile__copy { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: end; }
.tile__k { grid-column: 1 / -1; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.k--blue { color: var(--acc); } .k--red { color: var(--red-i); } .k--lilac { color: var(--lilac-i); } .k--green { color: var(--green-i); }
.tile h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.round { width: 34px; height: 34px; border-radius: 50%; background: var(--fg); color: #fff; display: grid; place-items: center; transition: transform 160ms ease; }
.round:hover { transform: scale(1.07); }
.ui { align-self: end; background: #fff; border-radius: 14px 14px 0 0; padding: 22px 22px 24px; box-shadow: 0 0 0 1px var(--line), 0 -8px 28px -14px rgba(20,16,12,.14); display: grid; gap: 10px; align-content: start; font-size: 0.875rem; }
.ui__h { font-weight: 600; font-size: 0.9375rem; margin-bottom: 4px; }
.ui__foot { font-size: 0.8125rem; color: var(--fg-3); }
.field { display: grid; gap: 4px; }
.field span { font-size: 0.75rem; color: var(--fg-3); font-weight: 500; }
.field b { font-weight: 500; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; }
.field .mask { letter-spacing: 0.1em; color: var(--fg-3); }
.ui .chip { justify-self: start; }
.progress { height: 6px; border-radius: 3px; background: var(--wash-2); overflow: hidden; margin-top: 4px; }
.progress span { display: block; height: 100%; width: 62%; border-radius: 3px; background: var(--acc); animation: prog 3.2s ease-in-out infinite alternate; }
@keyframes prog { from { width: 22%; } to { width: 88%; } }
.rank { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); font-weight: 500; }
.rank:first-of-type { box-shadow: 0 0 0 1.5px var(--red); }
.rank__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; background: var(--wash-2); }
.rank:first-of-type .rank__n { background: var(--red); color: #fff; }
.ui--flow { justify-items: center; text-align: center; gap: 0; }
.node { font-weight: 500; padding: 8px 14px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-2); background: #fff; position: relative; }
.ui--flow > * + * { margin-top: 18px; }
.ui--flow > * + *::before { content: ""; position: absolute; left: 50%; top: -18px; width: 1.5px; height: 18px; background: var(--line-2); }
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.split .node { font-size: 0.8125rem; }
.node--trigger { background: var(--lilac-t); color: var(--lilac-i); box-shadow: none; font-weight: 600; }
.node--goal { background: var(--green-t); color: var(--green-i); box-shadow: none; font-weight: 600; }
.node--yes { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--green) 60%, transparent); }
.node--no { box-shadow: 0 0 0 1px var(--line-2); }
.bars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; height: 190px; padding: 0 16px; }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar b { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 8px; }
.bar span { width: 70%; border-radius: 8px 8px 0 0; background: #DAD6CF; height: 0; transition: height 1200ms cubic-bezier(.2,.7,.1,1) 250ms; }
.bar--after span { background: var(--green); }
.bar--after b { color: var(--green-i); }
.is-in .bar span, .no-js .bar span { height: calc(var(--h) * 1.15); }
.bar small { width: 100%; text-align: center; font-size: 0.75rem; color: var(--fg-3); padding-top: 8px; border-top: 1px solid var(--line-2); }

/* ==========================================================================
   STUDIO — service rows
   ========================================================================== */
.svc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc__item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding: 22px 24px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 160ms linear; }
.svc__item:hover { box-shadow: 0 0 0 1px var(--line-2), 0 12px 32px -16px rgba(20,16,12,.2); }
.svc__item h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.02em; }
.svc__item p { margin-top: 4px; color: var(--fg-2); font-size: 0.9375rem; }
.svc__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.svc__ic svg { width: 22px; height: 22px; }
.svc__ic--blue { background: var(--acc-t); color: var(--acc); }
.svc__ic--lilac { background: var(--lilac-t); color: var(--lilac-i); }
.svc__ic--green { background: var(--green-t); color: var(--green-i); }
.svc__ic--amber { background: var(--amber-t); color: var(--amber-i); }
.svc__ic--red { background: var(--red-t); color: var(--red-i); }
.svc__ic--ink { background: var(--wash-2); color: var(--fg); }

/* ==========================================================================
   WORK
   ========================================================================== */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--wash); border-radius: 24px; padding: clamp(24px, 4vw, 52px); }
.feature__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.875rem; color: var(--fg-3); }
.feature h3 { margin-top: 18px; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.25rem); font-weight: 700; letter-spacing: -0.034em; line-height: 1.12; text-wrap: balance; }
.feature__copy > p { margin-top: 14px; color: var(--fg-2); }
.feature__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.feature__stats div { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.feature__stats dt { font-size: 0.8125rem; color: var(--fg-3); line-height: 1.35; }
.feature__stats dd { margin: 0; display: flex; flex-direction: column; line-height: 1.1; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.035em; color: var(--green-i); }
.feature__stats dd s { font-size: 0.8125rem; font-weight: 500; color: var(--fg-3); letter-spacing: 0; text-decoration-color: rgba(0,0,0,.3); margin-bottom: 2px; }
.feature__ev { background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(20,16,12,.3); }
.feature__ev img { width: 100%; height: auto; border-radius: 9px; }
.feature__ev figcaption { font-size: 0.8125rem; color: var(--fg-3); padding: 10px 4px 2px; }

.cases { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { display: grid; gap: 10px; align-content: start; height: 100%; text-decoration: none; padding: 12px 12px 22px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 160ms linear; }
.case:hover { box-shadow: 0 0 0 1px var(--line-2), 0 18px 44px -22px rgba(20,16,12,.28); }
.case__art { display: grid; align-content: end; gap: 6px; aspect-ratio: 16 / 10; border-radius: 14px; padding: 22px; margin-bottom: 10px; overflow: hidden; position: relative; }
.case__art b { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.case__art span { font-size: 0.875rem; font-weight: 500; }
.case__art::before { content: ""; position: absolute; left: 22px; right: 34px; top: 30px; height: 2px; background: currentColor; opacity: .35; }
.case__art::after { content: ""; position: absolute; right: 22px; top: 25px; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.case__art--green { background: var(--green-t); color: var(--green-i); }
.case__art--amber { background: var(--amber-t); color: var(--amber-i); }
.case__art--lilac { background: var(--lilac-t); color: var(--lilac-i); }
.case__tag, .case__t, .case__meta, .case .link { padding-inline: 10px; }
.case__tag { font-size: 0.875rem; font-weight: 600; }
.case__t { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.022em; line-height: 1.3; text-wrap: balance; }
.case__meta { font-size: 0.875rem; color: var(--fg-3); }
.case .link { margin-top: 6px; }

/* ==========================================================================
   VOICES
   ========================================================================== */
.lead-q { max-width: 900px; margin: 0 auto; text-align: center; }
.lead-q blockquote p { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 550; letter-spacing: -0.026em; line-height: 1.36; text-wrap: balance; }
.lead-q blockquote p::before { content: "“"; } .lead-q blockquote p::after { content: "”"; }
.lead-q figcaption { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; text-align: left; font-size: 0.9375rem; color: var(--fg-2); }
.lead-q figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; }
.lead-q figcaption span { display: grid; }
.lead-q figcaption b { color: var(--fg); font-weight: 600; }
.quotes { list-style: none; padding: 0; margin: clamp(48px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.q { background: #fff; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; box-shadow: 0 0 0 1px var(--line); }
.q blockquote p { font-size: 1rem; line-height: 1.6; }
.q blockquote p::before { content: "“"; } .q blockquote p::after { content: "”"; }
.q__who { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--fg-2); }
.q__who img, .q__init { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.q__init { display: grid; place-items: center; background: var(--wash-2); color: var(--fg); font-weight: 600; font-size: 0.8125rem; }
.q__who > span { display: grid; }
.q__who b { color: var(--fg); font-weight: 600; }
.q__who em { font-style: normal; color: var(--amber-i); font-size: 0.8125rem; font-weight: 500; }

/* ==========================================================================
   RESEARCH
   ========================================================================== */
.rsgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rs { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; height: 100%; text-decoration: none; padding: 12px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 160ms linear; }
.rs:hover { box-shadow: 0 0 0 1px var(--line-2), 0 18px 44px -22px rgba(20,16,12,.28); }
.rs__art { display: grid; align-content: space-between; gap: 18px; border-radius: 14px; padding: 20px; min-height: 230px; }
.rs__co { font-size: 0.9375rem; font-weight: 650; }
.rs__art b { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; display: block; }
.rs__art > span:last-child { font-size: 0.8125rem; font-weight: 500; margin-top: -10px; }
.rs__art--blue { background: var(--acc-t); color: var(--acc-i); }
.rs__art--ink { background: var(--fg); color: #fff; }
.rs__art--green { background: var(--green-t); color: var(--green-i); }
.rs__art--amber { background: var(--amber-t); color: var(--amber-i); }
.rs__body { display: flex; flex-direction: column; gap: 14px; padding: 10px 10px 8px 0; }
.rs__t { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.022em; line-height: 1.25; }
.rs__reply { font-size: 0.9375rem; line-height: 1.5; color: var(--fg); border-left: 2px solid var(--acc); padding-left: 12px; }
.rs__reply small { display: block; margin-top: 8px; font-size: 0.8125rem; color: var(--fg-3); }
.rs .link { margin-top: auto; }
.letter { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 24px 28px; border-radius: 22px; background: var(--wash); }
.letter__t { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; }
.letter p:not(.letter__t) { color: var(--fg-2); margin-top: 2px; }

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--wash); border-radius: 28px; padding: clamp(14px, 1.8vw, 18px); }
.founder__img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 16px; }
.founder__copy { padding: 12px clamp(8px, 3vw, 40px) 12px 0; }
.founder__copy .h3 { max-width: 22ch; }
.founder__copy > p:not(.kicker) { margin-top: 16px; color: var(--fg-2); max-width: 58ch; }
.founder .cta-row { margin-top: 24px; }

/* ==========================================================================
   FAQ + FINAL + FOOTER
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 4px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 1px; background: var(--fg-3); transition: transform 200ms ease; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { padding: 0 40px 22px 4px; color: var(--fg-2); }

.final { text-align: center; background: var(--wash); padding-block: clamp(80px, 9vw, 120px); }
.final .cta-row--center { margin-top: 32px; }

.v3 .site-foot { background: #fff; color: var(--fg); padding-block: 64px 32px; border: 0; --fg: #191918; --fg-2: #55524D; --fg-3: #8B867F; --line: rgba(20,16,12,.09); }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot__brand p { margin-top: 16px; color: var(--fg-2); max-width: 34ch; font-size: 0.9375rem; }
.v3 .foot__brand .brand .mark { width: 18px; }
.v3 .foot__brand .brand__word { font-family: var(--f); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.foot__col { display: grid; gap: 8px; align-content: start; font-size: 0.9375rem; }
.foot__col h2 { font-size: 0.875rem; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.foot__col a { color: var(--fg-2); text-decoration: none; overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--fg); }
.foot__meta { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8125rem; color: var(--fg-3); }
.foot__meta a { color: inherit; text-decoration: none; }
.foot__meta a:hover { color: var(--fg); }

/* Reveal: gentler than the default */
.js .v3 [data-reveal] { transform: translateY(12px); transition-duration: 700ms; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .v3 .site-head__actions { display: flex; margin-left: auto; }
  .v3 .head-link { display: none; }
  .v3 .menu-toggle { margin-left: 4px; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .rsgrid { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  .hero__title { font-size: clamp(2.5rem, 0.9rem + 8.4vw, 3.4rem); }
  .hero .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .announce { font-size: 0.8125rem; }
  .announce__go { display: none; }
  .problem__cards { grid-template-columns: minmax(0, 1fr); }
  .problem__arrow { width: 2px; height: 40px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--red) 0 6px, transparent 6px 11px); }
  .problem__arrow::after { right: -4px; top: auto; bottom: -2px; }
  .bento, .svc, .cases { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; padding: 24px 18px 0; }
  .feature__stats { grid-template-columns: minmax(0, 1fr); }
  .rs { grid-template-columns: minmax(0, 1fr); }
  .rs__art { min-height: 170px; }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .founder__img { aspect-ratio: 1; }
  .founder__copy { padding: 4px 8px 12px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc__item { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) .marquee__track, :root:not([data-motion="full"])   :root:not([data-motion="full"]) .marquee { justify-content: center; mask-image: none; -webkit-mask-image: none; }
  :root:not([data-motion="full"]) .marquee__track { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 12px; padding: 0 20px; }
  :root:not([data-motion="full"]) .marquee__track[aria-hidden] { display: none; }
  :root:not([data-motion="full"]) .bar span { transition: none; }
}
.ui .chip { white-space: normal; }
.v3 .kicker { color: var(--acc); font-family: var(--f); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ==========================================================================
   THE INSTRUMENT — a concept of how Perennus reads one transition.
   States are dots, transitions are lines; the evidence has four states.
   ========================================================================== */
.inst { margin: clamp(56px, 7vw, 88px) auto 0; max-width: 1120px; }
.inst__card {
  background: #fff; border-radius: 20px; text-align: left;
  padding: clamp(20px, 3vw, 34px) clamp(18px, 3.6vw, 44px) clamp(20px, 3.4vw, 40px);
  box-shadow: 0 0 0 1px var(--line), 0 2px 4px rgba(20,16,12,.03), 0 32px 72px -28px rgba(20,16,12,.2);
}
.inst__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.inst__tag { color: var(--acc-i); background: var(--acc-t); padding: 4px 8px; border-radius: 6px; }

.inst__line { list-style: none; margin: 70px 0 0; padding: 0 0 38px; display: flex; align-items: center; }
.inst__s { position: relative; width: 12px; height: 12px; flex: none; }
.inst__dot { position: absolute; inset: 0; border-radius: 50%; background: var(--fg); animation: in-dot 420ms var(--ease-out) calc(250ms + var(--k, 0) * 1ms) both; }
.inst__s.is-from .inst__dot, .inst__s.is-to .inst__dot { background: var(--acc); box-shadow: 0 0 0 5px var(--m-bg), 0 0 0 6.5px var(--acc); }
.inst__name { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%); font-size: 0.9375rem; font-weight: 500; color: var(--fg-2); white-space: nowrap; }
.inst__s:first-child .inst__name, .inst__s:first-child .inst__i { left: 0; transform: none; }
.inst__s:last-child .inst__name, .inst__s:last-child .inst__i { left: auto; right: 0; transform: none; }
.inst__s.is-from .inst__name, .inst__s.is-to .inst__name { color: var(--fg); font-weight: 650; }
.inst__i { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.6875rem; color: var(--fg-3); }
.inst__t { position: relative; flex: 1 1 0; height: 1.5px; background: var(--fg); transform-origin: 0 50%; animation: in-grow 520ms var(--ease-inout) 300ms both; }
.inst__t.is-open { flex-grow: 1.6; height: 2.5px; background: var(--acc); }
.inst__lens { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--m-bg); box-shadow: inset 0 0 0 2px var(--acc), 0 0 0 6px var(--m-bg); animation: in-pop 500ms var(--ease-out) 900ms both; }
.inst__lens::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--acc); }

.inst__open { position: relative; margin-top: 18px; background: var(--wash); border-radius: 16px; padding: clamp(16px, 2.2vw, 24px); animation: in-rise 700ms var(--ease-out) 1100ms both; }
/* The connector drops from the lens: it sits over the second transition, whose centre is
   2 dots + 1.8 of 5.6 flex units along the line. */
.inst__open::before { content: ""; position: absolute; left: calc(24px + (100% - 72px) * 0.3214); top: -58px; height: 58px; width: 0; border-left: 1.5px dashed var(--acc); }
.inst__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.inst__h span { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc-i); }
.inst__h b { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.015em; }

.evl { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.evl__i { background: #fff; border-radius: 12px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 0 0 1px var(--line); }
.evl__g { display: block; width: 48px; height: 10px; margin-bottom: 6px; --c: var(--fg); }
.evl--observed .evl__g { background: linear-gradient(var(--c), var(--c)) center / 100% 2px no-repeat; }
.evl--derived .evl__g { background: linear-gradient(var(--c), var(--c)) 0 2px / 100% 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 6.5px / 100% 1.5px no-repeat; }
.evl--inferred .evl__g { background: repeating-linear-gradient(90deg, var(--c) 0 6px, transparent 6px 10px) center / 100% 2px no-repeat; }
.evl--unknown .evl__g { background: linear-gradient(var(--c), var(--c)) left center / 12px 2px no-repeat, linear-gradient(var(--c), var(--c)) right center / 12px 2px no-repeat, repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 55%, transparent) 0 1.5px, transparent 1.5px 4px) center / 20px 10px no-repeat; }
.evl__k { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.evl__i b { font-size: 1rem; font-weight: 650; letter-spacing: -0.012em; line-height: 1.3; }
.evl__d { font-size: 0.875rem; color: var(--fg-2); line-height: 1.45; }
.evl__slot { margin-top: auto; padding-top: 10px; }
.evl__slot { display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.02em; color: var(--fg-2); border-top: 1px dashed var(--line-2); }
.evl--unknown { box-shadow: 0 0 0 1.5px var(--acc); }
.evl--unknown .evl__g { --c: var(--acc); }
.evl__slot--withheld { color: var(--acc-i); font-weight: 500; }
.inst figcaption { margin: 16px auto 0; max-width: 60ch; text-align: center; font-size: 0.875rem; color: var(--fg-3); }

@keyframes in-dot { from { opacity: 0; transform: scale(0); } }
@keyframes in-grow { from { transform: scaleX(0); } }
@keyframes in-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes in-rise { from { opacity: 0; transform: translateY(10px); } }
.inst__t:nth-child(2) { animation-delay: 300ms; } .inst__t:nth-child(4) { animation-delay: 420ms; } .inst__t:nth-child(6) { animation-delay: 540ms; } .inst__t:nth-child(8) { animation-delay: 660ms; } .inst__t:nth-child(10) { animation-delay: 780ms; }

@media (max-width: 900px) { .evl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .inst__line { margin-top: 56px; }
  .inst__name { font-size: 0.8125rem; }
  .inst__s:not(.is-from):not(.is-to) .inst__name { font-size: 0; }
  .inst__s:not(.is-from):not(.is-to) .inst__name::after { content: attr(data-short); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
  .inst__t.is-open { flex-grow: 3; }
  .inst__open::before { left: calc(24px + (100% - 72px) * 0.3571); }
  .evl { grid-template-columns: minmax(0, 1fr); }
  .inst__bar { font-size: 0.625rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) .inst * { animation: none !important; }
}

/* ==========================================================================
   COLOUR DISCIPLINE — the accent is for action and focus only; red and green
   carry meaning (lost / recovered). Decorative tints are neutralised.
   ========================================================================== */
.svc__ic, .svc__ic--blue, .svc__ic--lilac, .svc__ic--green, .svc__ic--amber, .svc__ic--red, .svc__ic--ink { background: var(--wash-2); color: var(--fg); }
.case__art, .case__art--green, .case__art--amber, .case__art--lilac, .case__art--blue { background: var(--wash); color: var(--fg); }
.case__art::before { background: var(--fg); opacity: .18; }
.case__art::after { background: var(--acc); }
.case__art span { color: var(--fg-2); }
.rs__art--blue, .rs__art--green, .rs__art--amber { background: var(--wash); color: var(--fg); }
.rs__art > span:last-child { opacity: .75; }
.k--blue, .k--red, .k--lilac, .k--green { color: var(--acc); }
.node--trigger { background: var(--acc-t); color: var(--acc-i); }
.q__who em, .cs__quote em { color: var(--fg-3); }
.v3 .btn--soft:hover { background: color-mix(in srgb, var(--acc-t) 70%, var(--acc) 12%); }

@media (max-width: 759px) {
  .inst__s:not(.is-from):not(.is-to) .inst__name, .inst__i { display: none; }
  .inst__line { padding-bottom: 20px; }
  .inst__open::before { top: -40px; height: 40px; }
  .evl__d { display: none; }
  .evl__i { padding: 14px; }
}

/* Diagnose tile: the evidence model, not priced placeholders */
.read { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 2px; border-top: 1px solid var(--line); }
.read__k { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.read__q { font-weight: 550; }
.read__e { font-family: var(--mono); font-size: 0.6875rem; color: var(--fg-3); white-space: nowrap; }
.read--withheld .read__k, .read--withheld .read__e { color: var(--acc-i); }
.read--withheld { border-bottom: 1px solid var(--line); }

/* ==========================================================================
   MOBILE: the instrument becomes a readout. Same idea, compact composition:
   the full lifecycle (quiet), the pair emphasised, then four rows.
   ========================================================================== */
@media (max-width: 759px) {
  .inst { margin-top: 44px; }
  .inst__card { padding: 16px 16px 14px; border-radius: 16px; }
  .inst__bar { font-size: 0.625rem; }
  .inst__tag { background: none; padding: 0; color: var(--fg-3); }
  .inst__line { margin-top: 40px; padding-bottom: 14px; }
  .inst__s { width: 8px; height: 8px; }
  .inst__s:not(.is-from):not(.is-to) .inst__dot { background: var(--m-bg); box-shadow: inset 0 0 0 1.5px var(--fg-3); }
  .inst__s.is-from .inst__dot, .inst__s.is-to .inst__dot { box-shadow: 0 0 0 3px var(--m-bg), 0 0 0 4.5px var(--acc); }
  .inst__s:not(.is-from):not(.is-to) .inst__name, .inst__i { display: none; }
  .inst__name { font-size: 0.75rem; bottom: calc(100% + 10px); }
  .inst__t { height: 1px; background: var(--fg-3); }
  .inst__t.is-open { height: 2.5px; background: var(--acc); flex-grow: 3; }
  .inst__lens { width: 18px; height: 18px; margin: -9px 0 0 -9px; box-shadow: inset 0 0 0 1.5px var(--acc), 0 0 0 4px var(--m-bg); }
  .inst__lens::after { inset: 6px; }
  .inst__open { margin-top: 12px; padding: 0; background: none; border-radius: 0; }
  .inst__open::before { display: none; }
  .inst__h { padding: 10px 0 8px; border-top: 1px solid var(--line); gap: 2px 10px; }
  .inst__h b { font-size: 0.9375rem; }
  .evl { margin: 0; gap: 0; grid-template-columns: minmax(0, 1fr); }
  .evl__i { display: grid; grid-template-columns: 22px 74px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 9px 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
  .evl__g { width: 22px; margin: 0; }
  .evl__k { font-size: 0.625rem; }
  .evl__i b { font-size: 0.875rem; font-weight: 550; }
  .evl__d, .evl__slot { display: none; }
  .evl--unknown { box-shadow: none; }
  .evl--unknown .evl__k, .evl--unknown b { color: var(--acc-i); }
  .evl--unknown .evl__slot--withheld { display: block; grid-column: 3; margin: 2px 0 0; padding: 0; border: 0; font-size: 0.625rem; color: var(--acc-i); }
  .inst figcaption { font-size: 0.8125rem; margin-top: 12px; }
}
.tile__k { color: var(--acc); }
.tile h3 { text-wrap: balance; }
.ui--connect .chip--green { background: var(--wash); color: var(--fg-2); }


/* ==========================================================================
   MATERIAL — the instrument is a surface, not a floating card.
   page (white) → instrument (--m-bg) → investigation panel (--m-panel) → cells (--m-cell)
   Separation by tone and hairline, not shadow.
   ========================================================================== */
body.v3 {
  /* Warm Paper */
  --m-bg: #F7F5F0; --m-panel: #EFECE5; --m-cell: #FCFBF8; --m-edge: #E6E1D6; --m-edge-2: #DDD7CA;
}

.inst__card { background: var(--m-bg); box-shadow: 0 0 0 1px var(--m-edge); }
.inst__open { background: var(--m-panel); box-shadow: inset 0 0 0 1px var(--m-edge); }
.evl__i { background: var(--m-cell); box-shadow: 0 0 0 1px var(--m-edge-2); }
.evl--unknown { box-shadow: 0 0 0 1.5px var(--acc); }
.inst__tag { background: color-mix(in srgb, var(--acc-t) 80%, var(--m-bg)); }
@media (max-width: 759px) {
  .inst__open { box-shadow: none; background: none; }
  .evl__i, .evl--unknown { background: none; box-shadow: none; }
}

/* ==========================================================================
   POLISH — fewer cards, more field. Typography first, evidence second,
   restrained UI third, rust only when something matters.
   ========================================================================== */
/* Hero: more room between action and the instrument */
.hero .cta-row { margin-top: 36px; }
.inst { margin-top: clamp(64px, 8vw, 112px); }
.hero__sub { color: var(--fg-2); }

/* How it works: white tiles on a hairline; the inner UI shares the instrument's material */
.tile { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ui { background: var(--m-bg); box-shadow: 0 0 0 1px var(--m-edge); }
.ui .field b { background: var(--m-cell); border-color: var(--m-edge-2); }
.ui .node { background: var(--m-cell); box-shadow: 0 0 0 1px var(--m-edge-2); }
.ui .node--trigger { background: var(--acc-t); box-shadow: none; }
.ui .node--goal { box-shadow: none; }
.read { border-top-color: var(--m-edge); }
.read--withheld { border-bottom-color: var(--m-edge); }
.bar small { border-top-color: var(--m-edge-2); }

/* Problem: the comparison sits on the same material */
.panel { background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge); }
.mini { box-shadow: 0 0 0 1px var(--m-edge-2); }
.mini--hot { box-shadow: 0 0 0 1.5px var(--acc); }

/* Studio: an editorial list, not six cards */
.svc { gap: 0 56px; border-top: 1px solid var(--line); }
.svc__item { border-radius: 0; box-shadow: none; padding: 26px 0; border-bottom: 1px solid var(--line); }
.svc__item:hover { box-shadow: none; }
.svc__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--m-bg) !important; box-shadow: inset 0 0 0 1px var(--m-edge); }

/* Clients: quotes as columns under a rule, not boxed cards */
.quotes { gap: 40px; }
.q { background: none; box-shadow: none; border-radius: 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); }

/* Case and research cards: lighter frame, material art */
.case, .rs { box-shadow: 0 0 0 1px var(--line); }
.case__art, .rs__art--blue, .rs__art--green, .rs__art--amber { background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge); }
.feature, .letter, .founder { background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge); }
.feature__stats div { background: var(--m-cell); box-shadow: 0 0 0 1px var(--m-edge-2); }
.sec--wash, .final { background: var(--m-bg); }
@media (max-width: 759px) {
  .svc { gap: 0; }
  .svc__item { padding: 20px 0; }
  .quotes { gap: 28px; }
}
@media (max-width: 759px) { .inst__tag { background: none; padding: 0; } }


/* ==========================================================================
   RESULTS — proof, not metadata: a static ledger under a rule
   ========================================================================== */
.outcomes { padding-top: clamp(64px, 8vw, 104px); text-align: left; overflow: visible; }
.outcomes__title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; font-size: 0.9375rem; font-weight: 600; color: var(--fg); padding-bottom: 16px; border-bottom: 1px solid var(--fg); }
.outcomes__title a { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; color: var(--acc); text-decoration: none; }
.outcomes__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.proofs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proofs li { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.proofs li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.proofs__n { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.proofs__n s { font-size: 1.0625rem; font-weight: 500; color: var(--fg-3); text-decoration-color: rgba(20,16,12,.35); }
.proofs__to { color: var(--acc); font-weight: 600; }
.proofs__n b { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.proofs__l { margin-top: 8px; color: var(--fg-2); font-size: 0.9375rem; }
@media (max-width: 759px) {
  .proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proofs li, .proofs li:not(:nth-child(3n + 1)) { padding: 20px 14px 20px 0; border-left: 0; }
  .proofs li:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
  .proofs__n b { font-size: 1.75rem; }
  .proofs__n s { font-size: 0.875rem; }
  .proofs__l { font-size: 0.875rem; }
}

/* ==========================================================================
   RESEARCH — the Notion autopsy is the flagship; the rest sit beneath it
   ========================================================================== */
.rsgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rsgrid .rs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rsgrid .rs__art { min-height: 180px; }
.rsgrid .rs__body { padding: 4px 8px 8px; }
.rsgrid .is-flagship { grid-column: 1 / -1; }
.rsgrid .is-flagship .rs { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); }
.rsgrid .is-flagship .rs__art { min-height: 300px; padding: 28px; }
.rsgrid .is-flagship .rs__art b { font-size: clamp(4rem, 3rem + 3vw, 6rem); }
.rsgrid .is-flagship .rs__body { padding: 24px 24px 20px 0; justify-content: center; }
.rsgrid .is-flagship .rs__t { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.rsgrid .is-flagship .rs__reply { font-size: 1.0625rem; }
.rs__co { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rs__co em { font-style: normal; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc); }
.rs__art--ink { background: #1A1714; color: #F6F1E9; }
.rs__art--ink > span:last-child { color: #CFC6B8; }
.rs__reply { border-left-color: var(--acc); }
.rs__finding { font-size: 0.9375rem; line-height: 1.5; color: var(--fg); border-left: 2px solid var(--line-2); padding-left: 12px; }
.rs__finding small { display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
@media (max-width: 1080px) {
  .rsgrid { grid-template-columns: minmax(0, 1fr); }
  .rsgrid .is-flagship .rs { grid-template-columns: minmax(0, 1fr); }
  .rsgrid .is-flagship .rs__art { min-height: 220px; }
  .rsgrid .is-flagship .rs__body { padding: 4px 8px 8px; }
}
.rs__art:not(.rs__art--ink) { background: var(--m-bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--m-edge); }
/* Diagnose: the economics note wraps beneath its question */
.read--withheld { grid-template-columns: 88px minmax(0, 1fr); }
.read--withheld .read__e { grid-column: 2; white-space: normal; margin-top: -6px; }
@media (max-width: 759px) { .foot__col:last-child { grid-column: 1 / -1; } }

/* ==========================================================================
   SERVICES DROPDOWN
   ========================================================================== */
.v3 .site-head__inner { position: relative; }
.nav-dd { position: static; }
.v3 .site-nav .nav-dd__link { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd__chev { width: 12px; height: 12px; transition: transform 160ms ease; }
.nav-dd.is-open .nav-dd__chev { transform: rotate(180deg); }
.dd { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 6px); padding-top: 6px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity 140ms linear, transform 160ms ease, visibility 0s linear 160ms; z-index: 95; }
.nav-dd.is-open .dd, .no-js .nav-dd:hover .dd, .no-js .nav-dd:focus-within .dd { visibility: visible; opacity: 1; transform: none; transition: opacity 140ms linear, transform 160ms ease; }
.dd__inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr) minmax(0, 0.9fr); gap: 8px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(20, 16, 12, 0.28); }
.dd__intro, .dd__aside { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.dd__intro { background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge); border-radius: 12px; }
.dd__k { font-size: 0.8125rem; font-weight: 600; color: var(--acc); }
.dd__lead { font-size: 0.9375rem; line-height: 1.45; color: var(--fg); flex: 1; }
.dd__aside p:not(.dd__k) { font-size: 0.875rem; line-height: 1.45; color: var(--fg-2); flex: 1; }
.dd .link { font-size: 0.875rem; }
.dd__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.v3 .site-nav .dd__list a { display: grid; align-content: start; gap: 4px; height: 100%; padding: 16px; border-radius: 12px; color: var(--fg); }
.v3 .site-nav .dd__list a:hover, .v3 .site-nav .dd__list a:focus-visible { background: var(--wash); }
.dd__step { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.dd__list b { font-size: 1rem; font-weight: 650; letter-spacing: -0.015em; }
.dd__short { font-size: 0.875rem; line-height: 1.45; color: var(--fg-2); font-weight: 400; }
.dd__type { margin-top: 6px; justify-self: start; font-size: 0.75rem; font-weight: 500; color: var(--fg-2); background: var(--wash-2); border-radius: 6px; padding: 2px 8px; }
.v3 .site-nav .dd a::after { display: none; }
@media (max-width: 1180px) { .dd__inner { grid-template-columns: minmax(0, 2fr) minmax(0, 0.9fr); } .dd__intro { display: none; } }

/* Mobile menu: the services listed under Services */
.site-menu__sub { list-style: none; margin: 4px 0 10px; padding: 0 0 0 2px; display: grid; gap: 2px; }
.v3 .site-menu__sub a { display: grid; gap: 1px; padding: 8px 0; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.site-menu__sub a span { font-size: 0.8125rem; font-weight: 400; color: var(--fg-3); letter-spacing: 0; }
.v3 .site-menu { overflow-y: auto; }

/* ==========================================================================
   STUDIO ENGAGEMENTS — three cards on one line (Diagnose → Build → Run)
   ========================================================================== */
.eng { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.eng::before { content: ""; position: absolute; top: 5px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; background: var(--fg); opacity: .85; }
.eng__item { position: relative; display: grid; }
.eng__dot { position: absolute; top: -22px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 5px #fff; }
.eng__item:first-child .eng__dot { background: var(--acc); box-shadow: 0 0 0 5px #fff, 0 0 0 6.5px var(--acc); }
.eng__card { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 22px; margin-top: 18px; border-radius: 20px; text-decoration: none; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 160ms linear; }
.eng__card:hover { box-shadow: 0 0 0 1px var(--line-2), 0 18px 44px -22px rgba(20, 16, 12, .28); }
.eng__step { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.eng__name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.eng__short { color: var(--fg-2); line-height: 1.5; flex: 1; }
.eng__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.eng__type { font-size: 0.75rem; font-weight: 500; color: var(--fg-2); background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge); border-radius: 6px; padding: 3px 8px; }
@media (max-width: 900px) {
  .eng { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 26px; gap: 12px; }
  .eng::before { top: 24px; bottom: 24px; left: 5px; right: auto; width: 2px; height: auto; background: var(--fg); }
  .eng__dot { top: 28px; left: -26px; margin-left: 0; }
  .eng__card { margin-top: 0; }
}
.letter__t a { color: inherit; text-decoration: none; } .letter__t a:hover { color: var(--acc); }
.v3 .site-nav ul { align-items: center; } .v3 .site-nav .nav-dd__link { line-height: inherit; }
.v3 .site-menu__sub a { line-height: 1.3; gap: 3px; } .site-menu__sub a span { line-height: 1.4; }

/* ==========================================================================
   Portfolio feel: Satoshi, floating pill navigation, sticker covers
   ========================================================================== */
body.v3 { font-size: 1rem; line-height: 1.5; letter-spacing: -0.005em; font-feature-settings: normal; --head-h: 84px; }
.nw { white-space: nowrap; }

/* ---------- Type ---------- */
.hero__title { font-size: clamp(2.5rem, 1rem + 6.4vw, 5rem); font-weight: 900; line-height: 1; letter-spacing: -0.04em; max-width: 13ch; }
.hero__sub { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; max-width: 34ch; margin-top: 22px; }
.h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.035em; }
.h3 { font-weight: 900; letter-spacing: -0.03em; }
.sub { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); line-height: 1.6; }
.kicker { font-weight: 700; }
.tile h3, .case__t, .rs__t, .svc__item h3 { font-weight: 700; }
.mini__big, .bar b, .marquee__track b { font-weight: 900; }

/* ---------- Buttons ---------- */
.v3 .btn { font-weight: 700; border-radius: 999px; padding: 12px 22px; }
.v3 .btn--sm { border-radius: 999px; padding: 8px 15px; }
.hero .btn { font-size: 1rem; padding: 14px 26px; }
.btn--quiet { background: #fff; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--quiet:hover { background: var(--wash); }

/* ---------- Floating pill navigation ---------- */
.v3 .site-head, .v3 .site-head.is-scrolled, .v3 .site-head[data-surface], .no-js .v3 .site-head {
  inset: clamp(12px, 2.2vh, 22px) 0 auto 0; height: auto; padding-inline: 16px;
  display: flex; justify-content: center; pointer-events: none;
  background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.v3 .site-head::before {
  content: ""; position: fixed; inset: 0 0 auto 0; height: 104px; z-index: -1; pointer-events: none;
  background: linear-gradient(#fff 20%, rgba(255, 255, 255, 0)); opacity: 0; transition: opacity 240ms linear;
}
.v3 .site-head.is-scrolled::before { opacity: 0.92; }
.navpill {
  pointer-events: auto; position: relative; display: flex; align-items: center; gap: 2px;
  padding: 5px 5px 5px 6px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color 240ms linear, border-color 240ms linear, box-shadow 240ms linear;
}
.is-scrolled .navpill, .no-js .navpill {
  background: rgba(255, 255, 255, 0.82); border-color: var(--line-2);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 24px 60px -30px rgba(20, 16, 12, 0.4);
}
.navpill__mark { display: inline-flex; align-items: center; gap: 9px; padding-right: 12px; text-decoration: none; color: var(--fg); }
.navpill__mk { width: 38px; height: 38px; border-radius: 50%; background: var(--fg); color: #fff; display: grid; place-items: center; flex: none; }
.navpill__mk .mark { width: 13px; height: auto; }
.navpill__word { font-size: 1.0625rem; font-weight: 900; letter-spacing: -0.035em; }
.v3 .navpill .site-nav { margin: 0 4px; }
.v3 .navpill .site-nav ul { gap: 2px; }
.v3 .site-nav > ul > li > a {
  font-size: 0.84375rem; font-weight: 500; color: var(--fg-2); padding: 9px 12px; border-radius: 999px; line-height: 1.2;
  transition: background-color 140ms linear, color 140ms linear;
}
.v3 .site-nav > ul > li > a:hover, .nav-dd.is-open > .nav-dd__link { background: var(--wash-2); color: var(--fg); }
.navpill__cta {
  font-size: 0.84375rem; font-weight: 700; color: var(--fg); text-decoration: none; white-space: nowrap;
  padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); margin-left: 4px;
  transition: background-color 200ms linear, color 200ms linear, box-shadow 200ms linear;
}
.navpill__cta:hover { background: var(--wash); }
.is-scrolled .navpill__cta, .no-js .navpill__cta { background: var(--acc); color: #fff; box-shadow: none; }
.is-scrolled .navpill__cta:hover { background: var(--acc-2); }
.v3 .menu-toggle, .v3 .menu-close {
  font-family: var(--f); font-size: 0.84375rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  padding: 9px 14px; border-radius: 999px; color: var(--fg);
}
.v3 .menu-toggle { display: none; margin-left: auto; }
.v3 .menu-toggle:hover, .v3 .menu-close:hover { background: var(--wash-2); }
.v3 .menu-close { box-shadow: inset 0 0 0 1px var(--line-2); }

/* Services dropdown hangs centred under the pill */
.v3 .navpill .dd { left: 50%; right: auto; width: min(1080px, calc(100vw - 32px)); top: 100%; padding-top: 10px; transform: translate(-50%, -4px); }
.v3 .navpill .nav-dd.is-open .dd, .no-js .navpill .nav-dd:hover .dd, .no-js .navpill .nav-dd:focus-within .dd { transform: translate(-50%, 0); }
.v3 .navpill .dd__inner { border-radius: 22px; }
.v3 .site-nav .dd .link { padding: 0; font-size: 0.875rem; color: var(--acc); }
.v3 .site-nav .dd .link:hover { background: none; }

@media (max-width: 1080px) {
  .v3 .navpill { width: 100%; max-width: 560px; }
  .v3 .navpill .site-nav { display: none; }
  .v3 .menu-toggle { display: inline-flex; }
  .v3 .navpill { background: rgba(255, 255, 255, 0.82); border-color: var(--line-2); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 24px 60px -30px rgba(20, 16, 12, 0.4); }
  .v3 .navpill__cta { background: var(--acc); color: #fff; box-shadow: none; }
}

/* Full-screen menu */
.v3 .site-menu { padding: 0 20px 28px; }
.v3 .site-menu__top { height: auto; padding: calc(clamp(12px, 2.2vh, 22px) + 6px) 6px 0 7px; }
.v3 .site-menu__list { padding: 36px 0 28px; }
.v3 .site-menu__list > li > a {
  font-family: var(--f); font-size: clamp(2.125rem, 8vw, 3rem); font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.05; padding-block: 8px; color: var(--fg);
}
.v3 .site-menu__list > li > a:hover { color: var(--acc); }
.v3 .site-menu__list > li > a.site-menu__alt { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; color: var(--acc); margin-top: 18px; }
.v3 .site-menu__sub { margin: 2px 0 14px; padding-left: 2px; }
.v3 .site-menu__sub a { font-weight: 700; }
.v3 .site-menu__foot { gap: 14px 18px; align-items: center; }
.v3 .site-menu__foot .btn { padding: 14px 26px; }
.site-menu__mail { font-size: 0.9375rem; color: var(--fg-2); }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--head-h) + clamp(40px, 6vw, 80px)); }
.announce { font-weight: 500; }
.announce__tag, .announce__go { font-weight: 700; }
@media (max-width: 759px) {
  .hero__title { font-size: clamp(2.5rem, 1rem + 6.4vw, 3.25rem); }
  .hero .cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; gap: 10px; margin-top: 28px; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
}

/* ---------- Case covers: stickers on a canvas ---------- */
.art {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; margin-bottom: 10px; overflow: hidden;
  container-type: inline-size;
  background: radial-gradient(circle at 1px 1px, rgba(20, 16, 12, 0.13) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--m-bg);
  box-shadow: inset 0 0 0 1px var(--m-edge);
}
.st {
  position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r, 0deg));
  display: grid; gap: 2px; justify-items: start; white-space: nowrap;
  font-size: clamp(10px, 3.9cqi, 14px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; color: var(--fg);
  background: #fff; border-radius: 12px; padding: 0.6em 0.85em 0.65em;
  box-shadow: 0 0 0 1px var(--m-edge-2), 0 14px 26px -18px rgba(20, 16, 12, 0.45);
  transition: transform 260ms cubic-bezier(.2, .7, .2, 1);
}
.st small { font-size: 0.78em; font-weight: 500; color: var(--fg-3); letter-spacing: 0; }
.st b { font-weight: 900; letter-spacing: -0.02em; }
.st--green { background: var(--green-t); color: var(--green-i); box-shadow: 0 0 0 1px color-mix(in srgb, var(--green) 28%, transparent), 0 14px 26px -18px rgba(13, 122, 70, 0.5); }
.st--green small { color: var(--green-i); opacity: 0.75; }
.st--rust { background: var(--acc); color: #fff; box-shadow: 0 14px 26px -16px rgba(162, 64, 28, 0.6); }
.st--rust small { color: rgba(255, 255, 255, 0.78); }
.st--node i { font-style: normal; font-size: 0.8em; font-weight: 600; padding: 0.15em 0.55em; border-radius: 999px; margin-top: 3px; }
.st--node .yes { background: var(--green-t); color: var(--green-i); }
.st--node .no { background: var(--acc-t); color: var(--acc-i); }
.st--box { min-width: 38%; box-shadow: 0 0 0 1.5px var(--fg), 0 14px 26px -18px rgba(20, 16, 12, 0.45); }
.st--tier { display: flex; align-items: center; gap: 0.5em; }
.st--tier i { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--c); }
.st--tier em { font-style: normal; font-weight: 500; color: var(--fg-3); }
.case:hover .st { transform: rotate(calc(var(--r, 0deg) * 1.7)) translateY(-3px); }

/* ---------- Research covers: the company's mark, the figure, the finding ---------- */
.rart {
  --brand: var(--fg);
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: space-between; gap: 16px;
  min-height: 210px; padding: 20px; border-radius: 16px; color: var(--fg);
  background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge);
}
.rart::before {
  content: ""; position: absolute; z-index: -1; right: -70px; top: -70px; width: 230px; height: 230px; border-radius: 50%;
  background: var(--brand); opacity: 0.16;
}
.rart--kit { --brand: #44B1FF; }
.rart--chowdeck { --brand: #FFC501; }
.rart--glovo { --brand: #FFC059; }
.rart--risevest { --brand: #0898A0; }
.rart__top { display: flex; align-items: center; gap: 12px; }
.rart__icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; transform: rotate(-5deg); box-shadow: 0 0 0 1px var(--m-edge-2), 0 12px 22px -14px rgba(20, 16, 12, 0.5); transition: transform 260ms cubic-bezier(.2, .7, .2, 1); }
.rart__co { font-size: 1rem; font-weight: 700; letter-spacing: -0.015em; }
.rart__top em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc); }
.rart__big { display: block; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.25rem); font-weight: 900; letter-spacing: -0.05em; line-height: 0.95; }
.rart__l { font-size: 0.8125rem; font-weight: 500; color: var(--fg-2); margin-top: -8px; max-width: 26ch; }
.rart__st { left: auto; right: 16px; top: auto; bottom: 64%; --r: 4deg; font-size: 0.75rem; }
.rs:hover .rart__icon { transform: rotate(-9deg) scale(1.04); }
.rs:hover .rart__st { transform: rotate(7deg) translateY(-3px); }
.rsgrid .rs { align-content: start; }
/* Notion, the flagship: dark, like its own brand */
.rart--flag { background: #191918; color: #F6F1E9; box-shadow: none; min-height: 300px; padding: 28px; }
.rart--flag::before { background: var(--acc); opacity: 0.22; width: 320px; height: 320px; right: -110px; top: -110px; }
.rart--flag .rart__l { color: #CFC6B8; }
.rart--flag .rart__big { font-size: clamp(4.5rem, 3rem + 4vw, 7rem); }
.rart--flag .rart__icon { box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.6); }
.rart--flag .rart__top em { color: #F2A27E; }
.rart--flag .rart__st { bottom: 40%; }
@media (max-width: 759px) {
  .rart { min-height: 190px; }
  .rart--flag { min-height: 240px; padding: 22px; }
  .rart--flag .rart__st { bottom: 58%; }
}

@media (prefers-reduced-motion: reduce) {
  .st, .rart__icon { transition: none; }
  .case:hover .st { transform: rotate(var(--r, 0deg)); }
  .rs:hover .rart__icon { transform: rotate(-5deg); }
  .rs:hover .rart__st { transform: rotate(4deg); }
}
.sec { padding-block: clamp(72px, 7.5vw, 108px); }
/* Tablet: one case per row, cover beside the copy, so the stickers keep their size */
@media (min-width: 760px) and (max-width: 1080px) {
  .cases { grid-template-columns: minmax(0, 1fr); }
  .case { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 24px; align-content: center; }
  .case .art { grid-row: 1 / span 5; margin-bottom: 0; }
  .case > :not(.art) { grid-column: 2; }
  .case__tag { align-self: end; }
}

/* ==========================================================================
   Round 2: Notion-size buttons, tighter hero, ticker, dark bands, slider
   ========================================================================== */
/* ---------- Buttons at Notion's size ---------- */
.v3 .btn { font-size: 0.9375rem; padding: 9px 16px; line-height: 1.35; }
.v3 .btn--sm { font-size: 0.875rem; padding: 7px 13px; }
.hero .btn { font-size: 1rem; padding: 10px 20px; }

/* ---------- Hero: less air ---------- */
.hero { padding-top: calc(var(--head-h) + clamp(20px, 3.5vw, 52px)); }
.announce { margin-bottom: 22px; }
.hero__sub { margin-top: 18px; }
.hero .cta-row { margin-top: 26px; }
.inst { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 759px) {
  .hero { padding-top: calc(var(--head-h) + 12px); }
  .announce { margin-bottom: 18px; }
  .hero__sub { margin-top: 14px; font-size: 1rem; }
  .hero .cta-row { margin-top: 22px; gap: 8px; }
  .hero .btn { padding: 11px 20px; }
}

/* ---------- Instrument: one evidence level at a time on small screens ---------- */
.evl-tabs { display: none; }
@media (max-width: 759px) {
  .js .evl-tabs { display: flex; gap: 4px; margin-top: 14px; padding: 3px; border-radius: 999px; background: var(--m-panel); box-shadow: inset 0 0 0 1px var(--m-edge); }
  .evl-tab { flex: 1; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); padding: 7px 0; border-radius: 999px; transition: background-color 200ms linear, color 200ms linear; }
  .evl-tab[aria-pressed="true"] { background: #fff; color: var(--fg); box-shadow: 0 1px 3px rgba(20, 16, 12, .12); }
  .evl-tab--unknown[aria-pressed="true"] { color: var(--acc-i); }
  .evl.is-stepper { margin-top: 10px; }
  .evl.is-stepper .evl__i { display: none; }
  .evl.is-stepper .evl__i.is-on {
    display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; border: 0;
    background: var(--m-cell); box-shadow: 0 0 0 1px var(--m-edge-2); animation: evl-in 420ms var(--ease-out) both; text-align: left; align-items: flex-start;
  }
  .evl.is-stepper .evl--unknown.is-on { box-shadow: 0 0 0 1.5px var(--acc); }
  .evl.is-stepper .evl__i.is-on .evl__g { width: 48px; margin-bottom: 4px; }
  .evl.is-stepper .evl__i.is-on b { font-size: 1.0625rem; font-weight: 700; }
  .evl.is-stepper .evl__i.is-on .evl__d { display: block; }
  .evl.is-stepper .evl__i.is-on .evl__slot { display: block; margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 0.6875rem; }
  .evl.is-stepper .evl__k { display: none; }
}
@keyframes evl-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Results ticker ---------- */
.outcomes { padding-top: clamp(56px, 7vw, 88px); overflow: hidden; }
.outcomes__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.outcomes__head .outcomes__title { display: block; padding: 0; border: 0; font-size: 0.9375rem; font-weight: 700; color: var(--fg); }
.outcomes__head .link { font-size: 0.9375rem; }
.ticker {
  display: flex; margin-top: 18px; outline-offset: -2px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { list-style: none; margin: 0; padding: 0 12px 0 0; display: flex; gap: 12px; flex: none; animation: marquee 60s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker:active .ticker__track { animation-play-state: paused; }
.tk { flex: none; width: 272px; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge); }
.tk__n { display: flex; align-items: baseline; gap: 8px; }
.tk__n s { font-size: 0.875rem; color: var(--fg-3); }
.tk__to { color: var(--acc); font-weight: 700; }
.tk__n b { font-size: 2rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.tk__l { font-size: 0.875rem; line-height: 1.4; color: var(--fg-2); flex: 1; }
.tk__src { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 759px) { .tk { width: 236px; padding: 16px; } .tk__n b { font-size: 1.75rem; } .ticker__track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) .ticker { overflow-x: auto; scroll-snap-type: x mandatory; mask-image: none; -webkit-mask-image: none; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  :root:not([data-motion="full"]) .ticker__track { animation: none; }
  :root:not([data-motion="full"]) .ticker__track[aria-hidden] { display: none; }
  :root:not([data-motion="full"]) .tk { scroll-snap-align: start; }
}

/* ---------- Problem: the heading, and the panel comes alive ---------- */
.js .problem .ticks li { opacity: 0; transform: translateX(-8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.js .problem.is-in .ticks li { opacity: 1; transform: none; }
.js .problem .ticks li:nth-child(1) { transition-delay: 250ms; }
.js .problem .ticks li:nth-child(2) { transition-delay: 400ms; }
.js .problem .ticks li:nth-child(3) { transition-delay: 550ms; }
.js .problem .mini:first-child .chip { opacity: 0; transition: opacity 400ms linear 800ms; }
.js .problem.is-in .mini:first-child .chip { opacity: 1; }
.js .problem .problem__arrow { clip-path: inset(0 100% 0 0); transition: clip-path 600ms var(--ease-inout) 1000ms; }
.js .problem.is-in .problem__arrow { clip-path: inset(0); }
.js .problem .mini--hot { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity 500ms var(--ease-out) 1400ms, transform 500ms var(--ease-out) 1400ms; }
.js .problem.is-in .mini--hot { opacity: 1; transform: none; animation: hot 2.4s ease-in-out 2.2s 2; }
@keyframes hot { 50% { box-shadow: 0 0 0 1.5px var(--red), 0 0 0 8px color-mix(in srgb, var(--acc) 14%, transparent), 0 16px 36px -14px rgba(229, 72, 77, .32); } }
@media (max-width: 759px) {
  .js .problem .problem__arrow { clip-path: inset(0 0 100% 0); }
  .panel.problem { padding: 14px; border-radius: 22px; }
  .mini { padding: 20px; }
}

/* ---------- Dark bands ---------- */
.sec--dark {
  --fg: #F4EEE6; --fg-2: #C9C0B3; --fg-3: #968C7F;
  --line: rgba(255, 244, 230, 0.11); --line-2: rgba(255, 244, 230, 0.2);
  --wash: rgba(255, 244, 230, 0.06); --wash-2: rgba(255, 244, 230, 0.1);
  --m-bg: #1F1B17; --m-edge: rgba(255, 244, 230, 0.09); --m-edge-2: rgba(255, 244, 230, 0.14);
  --acc-t: rgba(224, 122, 79, 0.16); --acc-i: #F2A27E;
  background: #15120E; color: var(--fg);
}
.sec--dark .kicker, .sec--dark .link { color: #EE8B5F; }
.sec--dark ::selection { background: #EE8B5F; color: #15120E; }
.sec--dark .btn--quiet { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.sec--dark .btn--quiet:hover { background: var(--wash-2); }
.sec--dark .note, .sec--dark .note a { color: var(--fg-3); }
.sec--dark .st { --fg: #191918; --fg-3: #8B867F; --m-edge-2: #DDD7CA; color: #191918; }
.sec--dark .st--green { --green-i: #0D7A46; color: #0D7A46; }
.sec--dark .st--rust { color: #fff; }
.sec--dark :focus-visible { outline-color: #EE8B5F; }

/* Studio on dark: the arc and the cards */
.studio .eng::before { background: var(--line-2); opacity: 1; }
.studio .eng__dot { background: var(--fg); box-shadow: 0 0 0 5px #15120E; }
.studio .eng__item:first-child .eng__dot { background: var(--acc); box-shadow: 0 0 0 5px #15120E, 0 0 0 6.5px var(--acc); }
.studio .eng__card { background: #1C1915; box-shadow: 0 0 0 1px var(--line); padding: 12px 12px 20px; }
.studio .eng__card:hover { box-shadow: 0 0 0 1px var(--line-2), 0 24px 48px -24px rgba(0, 0, 0, .6); }
.studio .eng__card > :not(.eart) { margin-inline: 12px; }
.studio .eng__type { background: var(--wash-2); box-shadow: none; }
.eart {
  position: relative; display: block; aspect-ratio: 16 / 10; margin-bottom: 8px; border-radius: 14px; overflow: hidden; container-type: inline-size;
  background: radial-gradient(circle at 1px 1px, rgba(255, 244, 230, 0.14) 1px, transparent 1.4px) 0 0 / 18px 18px, #24201B;
  color: rgba(255, 244, 230, 0.4);
}
.eart__line { position: absolute; left: 10%; right: 10%; top: 45%; height: 2px; background: rgba(255, 244, 230, 0.3); display: flex; justify-content: space-between; align-items: center; }
.eart__line::after { content: ""; position: absolute; left: 25%; width: 25%; top: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--acc) 0 5px, #24201B 5px 9px); }
.eart__line i { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: #F4EEE6; }
.eart__line i.is-break { width: 26px; height: 26px; margin-inline: -8px; background: #24201B; box-shadow: inset 0 0 0 2px var(--acc), 0 0 0 5px #24201B; animation: lens 2.6s ease-in-out infinite; }
@keyframes lens { 50% { box-shadow: inset 0 0 0 2px var(--acc), 0 0 0 5px #24201B, 0 0 0 10px rgba(192, 79, 37, 0.22); } }
.eart__wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.eart__ring { position: absolute; left: 50%; top: 50%; width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed rgba(255, 244, 230, 0.32); animation: spin 48s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.eng__card:hover .st { transform: rotate(calc(var(--r, 0deg) * 1.7)) translateY(-3px); }

/* Research on dark: every cover dark, lit by the company's colour */
#research .rs { background: #1B1814; box-shadow: 0 0 0 1px var(--line); }
#research .rs:hover { box-shadow: 0 0 0 1px var(--line-2), 0 24px 48px -24px rgba(0, 0, 0, .6); }
.sec--dark .rart { background: #0F0D0A; color: #F6F1E9; box-shadow: inset 0 0 0 1px rgba(255, 244, 230, 0.08); }
.sec--dark .rart::before { opacity: 0.5; filter: blur(28px); width: 260px; height: 260px; right: -60px; top: -80px; }
.sec--dark .rart--notion::before { background: var(--acc); }
.sec--dark .rart__l { color: #CFC6B8; }
.sec--dark .rart__icon { box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.7); }
.sec--dark .rs__reply { border-left-color: #EE8B5F; }
.sec--dark .rs__finding { border-left-color: var(--line-2); }
.sec--dark .rart__top em { color: #F2A27E; }

/* ---------- Case cards: the independent label, the Notion cover ---------- */
.case__ind { display: inline-block; margin-left: 8px; font-style: normal; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc-i); background: var(--acc-t); padding: 2px 7px; border-radius: 999px; vertical-align: 0.15em; }
.st--logo { padding: 0.35em; border-radius: 14px; }
.st--logo img { width: 2.6em; height: 2.6em; display: block; border-radius: 9px; }
.st__chips { display: flex; gap: 4px; margin-top: 3px; }
.st__chips i { font-style: normal; font-size: 0.8em; font-weight: 600; padding: 0.2em 0.55em; border-radius: 999px; background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge-2); }

/* ---------- Reviews: a slider ---------- */
.voices { overflow: hidden; }
.voices__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.voices__head .kicker { margin-bottom: 10px; }
.slider__ctl { display: flex; align-items: center; gap: 10px; flex: none; }
.slider__ctl[hidden] { display: none; }
.slider__btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--fg); box-shadow: inset 0 0 0 1px var(--m-edge-2); transition: background-color 140ms linear; }
.slider__btn:hover { background: var(--m-panel); }
.slider__btn svg { width: 16px; height: 16px; }
.slider__n { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--fg-3); min-width: 3.4em; text-align: center; }
.slider { --pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; outline-offset: -3px; }
.slider::-webkit-scrollbar { display: none; }
.slider.is-transform { overflow: hidden; }
.slider__track {
  list-style: none; margin: 0; display: flex; gap: 16px; width: max-content;
  padding: 0 var(--pad);
  transition: transform 700ms cubic-bezier(.2, .7, .1, 1);
}
.vq {
  flex: none; width: min(600px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--m-edge), 0 24px 48px -32px rgba(20, 16, 12, .35);
  transition: opacity 400ms linear, transform 500ms var(--ease-out);
}
.slider.is-live .vq:not(.is-active) { opacity: 0.45; transform: scale(0.97); cursor: pointer; }
.vq blockquote p { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 500; line-height: 1.45; letter-spacing: -0.015em; text-wrap: pretty; }
.vq blockquote p::before { content: "“"; } .vq blockquote p::after { content: "”"; }
.vq__who { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--fg-2); }
.vq__who img, .vq__who .q__init { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.vq__who > span { display: grid; }
.vq__who b { color: var(--fg); font-weight: 700; }
.vq__who em { font-style: normal; color: var(--fg-3); font-size: 0.8125rem; }
@media (max-width: 759px) {
  .voices__head { align-items: flex-end; }
  .slider__btn { width: 38px; height: 38px; }
  .slider__n { display: none; }
  .vq { width: 86vw; border-radius: 20px; gap: 22px; }
  .slider__track { gap: 10px; }
}

/* ---------- Mobile menu: Services as a dropdown ---------- */
.site-menu__acc {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  font-family: var(--f); font-size: clamp(2.125rem, 8vw, 3rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; padding-block: 8px; color: var(--fg);
}
.site-menu__chev { width: 0.5em; height: 0.5em; margin-top: 0.08em; padding: 0.1em; box-sizing: content-box; border-radius: 50%; background: var(--acc-t); color: var(--acc); transition: transform 240ms var(--ease-out); }
.site-menu__acc[aria-expanded="true"] { color: var(--acc); }
.site-menu__acc[aria-expanded="true"] .site-menu__chev { transform: rotate(180deg); }
.v3 .site-menu__sub { margin: 6px 0 12px; padding: 4px; display: grid; gap: 2px; border-radius: 18px; background: var(--m-bg); box-shadow: inset 0 0 0 1px var(--m-edge); }
.v3 .site-menu__sub[hidden] { display: none; }
.v3 .site-menu__sub a { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; color: var(--fg); line-height: 1.25; }
.v3 .site-menu__sub a:hover, .v3 .site-menu__sub a:active { background: #fff; color: var(--acc); }
.v3 .site-menu__sub .site-menu__sn { grid-column: 1; font-family: var(--mono); font-size: 0.625rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.v3 .site-menu__sub a b { grid-column: 1; font-weight: 700; }
.v3 .site-menu__sub a .arw { grid-column: 2; grid-row: 1 / span 2; color: var(--acc); }
.v3 .site-menu__sub .site-menu__all { grid-template-columns: auto auto; justify-content: start; font-size: 0.9375rem; color: var(--acc); }
.v3 .site-menu__sub .site-menu__all .arw { grid-row: auto; }

@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) .eart__ring, :root:not([data-motion="full"]) .eart__line i.is-break { animation: none; }
  :root:not([data-motion="full"]) .problem .ticks li, :root:not([data-motion="full"]) .problem .mini--hot, :root:not([data-motion="full"]) .problem .mini .chip { opacity: 1; transform: none; animation: none; }
  :root:not([data-motion="full"]) .problem .problem__arrow { clip-path: none; }
}
.sec--dark .rart--flag::before { width: 380px; height: 380px; right: -100px; top: -130px; }
