/* Cadence edition — deliberately isolated from the published site.
   Neutral surfaces. Cyan is reserved for navigation, selection and particle response. */
:root { --paper: #f4f4f2; --coal: #101113; --rule: rgba(18,18,20,.18); --page-gutter: clamp(24px,4.4vw,84px); }
html { scroll-behavior: auto !important; scroll-padding-top: 0; }
body.cadence-edition { background: var(--coal); }
::selection { background: #56cdd4; color: #101113; }
:focus-visible { outline: 2px solid #56cdd4; outline-offset: 6px; }
.cadence-edition main { overflow: visible; }
.wide { width: 100%; max-width: 1800px; padding-inline: var(--page-gutter); margin-inline: auto; }
.display { font-weight: 500; font-size: clamp(48px,7.2vw,116px); line-height: 1.04; letter-spacing: -.035em; white-space: pre-line; text-wrap: balance; }
[data-es] { white-space: pre-line; }
.body-copy { font-size: clamp(20px,1.85vw,28px); line-height: 1.42; letter-spacing: -.015em; }
.location { font-size: 14px; line-height: 1.5; color: #66686a; }
/* Retain the exact approved hero typography, shader and particles.
   The following sheet covers it naturally during its short sticky hold. */
.stage--hero { height: 170svh; }
.hero { height: 100svh; min-height: 0; }
.hero__flash { display: none; }
.hero__content { opacity: 1; transform: none; }
.hero::after { opacity: 1; }
.new-page { position: relative; z-index: 6; margin-top: -70svh; }
/* Translucent neutral buttons: paint alpha, never text alpha. */
.cadence-edition .btn,
.cadence-edition .site-header .header__cta {
  --btn-fg: var(--text); --btn-fg-hover: var(--text);
  background: transparent; color: var(--btn-fg); box-shadow: none;
  isolation: isolate; font-weight: 500; border: 1px solid rgba(244,244,245,.15);
  transition: color .3s, border-color .3s; overflow: hidden;
}
.cadence-edition .btn::before,
.cadence-edition .site-header .header__cta::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -2;
  pointer-events: none; opacity: 1; background: rgba(244,244,245,.13); transition: opacity .45s;
}
.cadence-edition .btn::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: rgba(10,11,13,.15); transform: translateY(101%); pointer-events: none;
  transition: transform .5s var(--ease-out);
}
.cadence-edition .btn:hover::before, .cadence-edition .btn:focus-visible::before { opacity: 0; }
.cadence-edition .btn:hover::after, .cadence-edition .btn:focus-visible::after { transform: none; }
.cadence-edition .btn:active { transform: translateY(1px); }
.cadence-edition .site-header.is-light .header__cta { --btn-fg: var(--ink); --btn-fg-hover: var(--ink); border-color: rgba(18,18,20,.14); }
.cadence-edition .site-header.is-light .header__cta::before { background: rgba(18,18,20,.07); }
.cadence-edition .lang-toggle, .cadence-edition .site-header .lang-toggle {
  background: rgba(244,244,245,.06); border: 1px solid rgba(244,244,245,.12);
  box-shadow: none; padding: 3px; height: 44px;
}
.cadence-edition .lang-toggle__thumb { background: rgba(244,244,245,.14); opacity: 1 !important; }
.cadence-edition .lang-toggle__btn { color: rgba(244,244,245,.6); }
.cadence-edition .lang-toggle .lang-toggle__btn.is-active { color: var(--text); }
.cadence-edition .lang-toggle:hover .lang-toggle__thumb { background: rgba(10,11,13,.15); }
.cadence-edition .site-header.is-light .lang-toggle { background: rgba(18,18,20,.04); border-color: rgba(18,18,20,.12); }
.cadence-edition .site-header.is-light .lang-toggle__btn { color: #67696b; }
.cadence-edition .site-header.is-light .lang-toggle__btn.is-active { color: var(--ink); }
.cadence-edition .site-header.is-light .lang-toggle__thumb { background: rgba(18,18,20,.1); }
/* A quiet, typographic opening. No decorative labels or counters. */
.manifesto { position: relative; color: var(--ink); background: var(--paper); padding-block: clamp(96px,13vw,190px) clamp(80px,10vw,150px); border-radius: 24px 24px 0 0; }
.manifesto .display { max-width: 13.2ch; font-size: clamp(54px,8.2vw,134px); }
.manifesto-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-top: clamp(40px,6vw,90px); align-items: end; }
.manifesto-foot .body-copy { max-width: 34ch; }
.statement-word { display: inline-block; white-space: nowrap; }
/* Scene wipes + stacking depth: normal document flow, no wheel interception.
   Media plays independently; only the scene overlap responds to scroll. */
.services-deck { position: relative; background: var(--coal); }
.service-scene { position: sticky; top: 0; height: max(700px,100svh); color: var(--text); }
.scene-body { position: relative; height: 100%; overflow: hidden; background: #0a0b0d; transform-origin: center top; }
.scene-media { position: absolute; inset: 0; overflow: hidden; }
.scene-media video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.scene-ai .scene-media { left: 18%; }
.scene-ai .scene-media video { object-position: 75% 50%; }
.scene-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#0a0b0d 0%,rgba(10,11,13,.1) 36%,transparent 65%); }
.scene-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding-block: clamp(100px,12svh,160px) clamp(40px,6svh,90px); }
.scene-copy .display { max-width: 9.5ch; font-size: clamp(48px,6.6vw,106px); }
.scene-bottom { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.scene-bottom > div { max-width: 31ch; }
.scene-bottom h3 { font-size: 16px; line-height: 1.4; font-weight: 500; margin-bottom: 18px; }
.scene-bottom p { font-size: clamp(17px,1.5vw,22px); line-height: 1.48; color: #bdbfc1; }
.quiet-link { font-size: 14px; line-height: 1.5; display: inline-block; width: fit-content; color: inherit; padding-block: 8px; background: linear-gradient(currentColor,currentColor) left bottom/100% 1px no-repeat; transition: background-size .45s var(--ease-out), opacity .3s; }
.quiet-link:hover { background-size: 25% 1px; opacity: .7; }
.scene-bottom .quiet-link { flex-shrink: 0; }
.scene-shade { position: absolute; inset: 0; z-index: 2; background: #101113; pointer-events: none; opacity: 0; }
.scene-web { color: var(--ink); }
.scene-web .scene-body { background: var(--paper); }
.scene-web .scene-media { left: 15%; top: 12%; }
.scene-web .scene-media::after { background: linear-gradient(90deg,var(--paper) 0%,rgba(244,244,242,.15) 25%,transparent 50%); }
.scene-web .scene-media video { object-fit: contain; object-position: 100% 50%; }
.scene-web .scene-bottom p { color: #56585a; }
.scene-vr .scene-media::after { background: linear-gradient(90deg,rgba(10,11,13,.82),rgba(10,11,13,.3) 50%,rgba(10,11,13,.08)),linear-gradient(0deg,rgba(10,11,13,.75),transparent 50%); }
.scene-vr .scene-media video { object-position: 65% 50%; }
.scene-vr .scene-copy .display { max-width: 12ch; }
/* Uninterrupted client ribbon, no caption and no hover pause. */
.client-ribbon { position: relative; overflow: hidden; background: var(--paper); padding-block: clamp(60px,8vw,110px); color: var(--ink); }
.client-track { display: flex; width: max-content; animation: client-drift 42s linear infinite; }
.client-set { display: flex; align-items: center; flex-shrink: 0; gap: clamp(56px,7vw,112px); padding-right: clamp(56px,7vw,112px); }
.client-set img { width: 135px; height: 58px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; }
.client-set img.invert { filter: grayscale(1) invert(1); }
.client-word { font-size: 27px; font-weight: 600; letter-spacing: -.03em; }
@keyframes client-drift { to { transform: translateX(-50%); } }
/* The team opens out of a narrow photographic aperture. */
.about { position: relative; background: var(--paper); color: var(--ink); }
.team-stage { position: relative; height: 165svh; }
.team-sticky { position: sticky; top: 0; height: 100svh; min-height: 650px; overflow: hidden; }
.team-title { position: absolute; left: 0; top: 28%; font-weight: 500; font-size: clamp(76px,12.5vw,200px); line-height: .97; letter-spacing: -.055em; }
.team-frame { position: absolute; inset: 6% 4.4%; margin: 0; overflow: hidden; background: #101113; }
.team-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; filter: grayscale(1); }
.team-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(10,11,13,.75),transparent 52%); }
.team-caption { position: absolute; z-index: 1; left: 5%; right: 5%; bottom: 6%; color: var(--text); font-size: clamp(36px,4.7vw,76px); line-height: 1.08; letter-spacing: -.03em; }
.about-copy { display: grid; grid-template-columns: 1fr 2fr; gap: 8%; padding-block: clamp(72px,10vw,160px); }
.pledge { font-size: clamp(28px,3vw,46px); line-height: 1.23; letter-spacing: -.02em; }
.about-detail { font-size: 18px; line-height: 1.6; color: #5c5e60; margin-top: 36px; max-width: 40ch; }
/* Hover / focus swaps. These are process steps, never decorative numbering. */
.process-new { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(76px,8vw,128px) clamp(110px,12vw,190px); border-top: 1px solid var(--rule); }
.process-new .display { font-size: clamp(44px,6.4vw,100px); max-width: 17ch; }
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; margin-top: clamp(60px,8vw,110px); }
.process-choices { display: flex; flex-direction: column; }
.process-choice { position: relative; width: 100%; text-align: left; cursor: pointer; font-size: clamp(28px,3.7vw,58px); line-height: 1.4; padding-block: 15px; border-top: 1px solid var(--rule); color: #898b8c; font-weight: 400; letter-spacing: -.025em; transition: color .25s; }
.process-choice::before { content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .65s var(--ease-out); }
.process-choice:hover, .process-choice.is-active { color: var(--ink); }
.process-choice.is-active::before { transform: scaleX(1); }
.process-panels { position: relative; min-height: 380px; }
.process-panel { padding-top: 24px; }
.process-panel[hidden] { display: none; }
.process-panel > p:first-child { font-size: clamp(26px,2.5vw,40px); line-height: 1.2; letter-spacing: -.02em; max-width: 17ch; }
.process-panel > p:nth-child(2) { font-size: 18px; line-height: 1.6; max-width: 36ch; margin-top: 26px; color: #5c5e60; }
.process-panel > span { display: block; margin-top: 38px; font-size: 14px; color: #707275; }
/* A dark closing sheet with its own parallax entrance and a real brand wordmark. */
.closing { position: relative; z-index: 0; background: var(--coal); color: var(--text); overflow: hidden; padding-block: clamp(90px,10vw,170px) 28px; }
.closing-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8%; align-items: end; }
.closing .display { font-size: clamp(56px,7.5vw,120px); max-width: 10ch; }
.closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 5px; }
.closing-actions p { font-size: 18px; line-height: 1.5; color: #bec0c1; }
.closing-word { width: 100%; aspect-ratio: 740.17/149.99; background: var(--text); mask: url('/assets/hero/media/wordmark.svg') center/contain no-repeat; -webkit-mask: url('/assets/hero/media/wordmark.svg') center/contain no-repeat; margin-block: clamp(90px,10vw,170px) 46px; }
.closing-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; padding-top: 22px; border-top: 1px solid rgba(244,244,245,.2); font-size: 13px; color: #b9bbbd; }
.closing-foot > div { display: flex; gap: 26px; }
.closing-foot a:hover, .ask-ai summary:hover { color: var(--text); }
.ask-ai { position: relative; }
.ask-ai summary { cursor: pointer; list-style: none; }
.ask-ai summary::-webkit-details-marker { display: none; }
.ask-ai summary::after { content: '+'; margin-left: 12px; font-family: Arial,sans-serif; }
.ask-ai[open] summary::after { content: '−'; }
.ask-ai > div { position: absolute; bottom: calc(100% + 18px); right: 0; display: grid; gap: 12px; padding: 20px 24px; min-width: 200px; background: #242527; border: 1px solid rgba(244,244,245,.15); border-radius: 12px; }
@media (min-width:861px) and (max-width:1190px) {
  .cadence-edition .nav { gap: 18px; }
  .cadence-edition .nav__link { min-width: 0; font-size: 14px; }
  .cadence-edition .header__cta { min-width: 172px; padding-inline: 18px; font-size: 13px; }
  .cadence-edition .header__actions { gap: 10px; }
}
@media (max-width:860px) {
  .display { font-size: clamp(42px,9.3vw,74px); letter-spacing: -.03em; }
  .manifesto { padding-block: 88px 72px; border-radius: 18px 18px 0 0; }
  .manifesto .display { font-size: clamp(46px,11vw,86px); max-width: 13ch; }
  .manifesto-foot { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .manifesto-foot .body-copy { max-width: 34ch; font-size: 21px; }
  .manifesto-foot .location { order: 2; }
  .service-scene { position: relative; height: auto; min-height: 860px; }
  .scene-body { min-height: 860px; }
  .scene-copy { min-height: 860px; padding-block: 70px 38px; }
  .scene-copy .display { font-size: clamp(44px,11vw,76px); max-width: 12ch; }
  .scene-media, .scene-ai .scene-media, .scene-web .scene-media { inset: 20% -20% 16% -20%; }
  .scene-media video { object-fit: contain; }
  .scene-ai .scene-media video { object-position: 60% 50%; }
  .scene-media::after, .scene-web .scene-media::after { background: none; }
  .scene-bottom { display: block; }
  .scene-bottom > div { max-width: 31ch; }
  .scene-bottom p { font-size: 17px; }
  .scene-bottom h3 { font-size: 15px; margin-bottom: 10px; }
  .scene-bottom .quiet-link { margin-top: 18px; }
  .scene-vr .scene-media { inset: 0; }
  .scene-vr .scene-media video { object-fit: cover; object-position: 61% 50%; }
  .scene-vr .scene-media::after { background: linear-gradient(0deg,rgba(10,11,13,.95),rgba(10,11,13,.07) 60%,rgba(10,11,13,.65)); }
  .client-ribbon { padding-block: 54px; }
  .client-set { gap: 54px; padding-right: 54px; }
  .client-set img { width: 110px; height: 48px; }
  .team-stage { height: 130svh; }
  .team-sticky { height: 100svh; min-height: 0; }
  .team-title { top: 18%; font-size: clamp(65px,15vw,125px); }
  .team-frame { inset: 5% 20px; }
  .team-frame img { object-position: 50% 50%; }
  .team-caption { font-size: 36px; bottom: 6%; }
  .about-copy { grid-template-columns: 1fr; gap: 28px; padding-block: 56px 76px; }
  .pledge { font-size: 30px; }
  .about-detail { font-size: 17px; margin-top: 26px; }
  .process-new { padding-block: 68px 86px; }
  .process-new .display { font-size: clamp(42px,9vw,70px); max-width: 15ch; }
  .process-layout { grid-template-columns: 1fr; gap: 34px; margin-top: 42px; }
  .process-choice { font-size: 34px; }
  .process-panels { min-height: 270px; }
  .process-panel { padding-top: 0; }
  .process-panel > p:first-child { font-size: 28px; }
  .process-panel > p:nth-child(2) { font-size: 17px; }
  .closing { padding-top: 78px; }
  .closing-top { grid-template-columns: 1fr; gap: 40px; }
  .closing .display { font-size: clamp(52px,12vw,86px); max-width: 11ch; }
  .closing-word { margin-block: 74px 30px; }
  .closing-foot { align-items: flex-start; flex-direction: column; gap: 18px; }
  .ask-ai > div { right: auto; left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stage--hero { height: 100svh !important; }
  .new-page { margin-top: 0; }
  .service-scene { position: relative; }
  .team-stage { height: auto; }
  .team-sticky { position: relative; min-height: 650px; height: 100svh; }
  .team-title { display: none; }
  .team-frame { clip-path: none !important; }
  .client-track { animation: none; flex-wrap: wrap; width: 100%; }
  .client-set { width: 100%; flex-wrap: wrap; justify-content: center; padding: 0 24px; gap: 40px; }
  .client-set[aria-hidden] { display: none; }
  .reveal, .reveal-lines, .statement-word { opacity: 1 !important; transform: none !important; filter: none !important; }
}
/* The trial face maps several punctuation glyphs to a box; retain its letterforms
   and source only these symbols from the same system fallback used in the hero. */
@font-face {
  font-family: 'Page punctuation'; src: local('Helvetica Neue'),local('Arial');
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0021-002F,U+003A-0040,U+005B-0060,U+007B-00BF,U+2018-201F,U+2212;
}
.cadence-edition { --font: 'Page punctuation','Name Sans','Helvetica Neue',Helvetica,Arial,sans-serif; }
.scene-bottom { display: block; }
.scene-bottom .quiet-link { margin-top: 16px; }
/* Normalize the original white-on-colour logos at render time. Source assets intact. */
.client-set img[src$="g70.webp"], .client-set img[src$="mba.webp"], .client-set img[src$="reallead.png"] {
  filter: grayscale(1) brightness(.66) contrast(24) invert(1);
}
.client-set img[src$="g70.webp"] { width: 125px; object-fit: cover; object-position: 50% 62%; }
.client-set img[src$="reallead.png"] { width: 150px; object-fit: cover; object-position: 50% 47%; }
@media (max-width:860px) {
  .scene-ai .scene-media { top: 27%; bottom: auto; left: 24px; right: 24px; height: 330px; }
  .scene-ai .scene-media video { object-fit: cover; object-position: 90% 50%; }
  .scene-web .scene-media { inset: 22% 0 25%; }
  .scene-web .scene-media video { object-fit: contain; }
  .team-frame { inset: 18% 20px 12%; }
  .team-caption { font-size: clamp(28px,7.7vw,42px); }
}
@media (max-width:860px) { .scene-copy { padding-top: 112px; } }
/* Blend the whole animated strip, outside its transform compositing boundary. */
.client-track { mix-blend-mode: multiply; }

/* Equal visible brand height; transparent vectors and non-destructive asset viewports. */
.client-set { --client-logo-height:34px; }
.client-mark { position:relative; display:block; flex:0 0 auto; height:var(--client-logo-height); width:calc(var(--client-logo-height) * var(--logo-ratio)); overflow:hidden; }
.client-set .client-mark .client-art { position:absolute; max-width:none; object-fit:fill; object-position:center; filter:none; mix-blend-mode:normal; }
.client-set .client-mark .white-on-alpha { filter:brightness(0); opacity:.9; }
.client-set .client-mark .dark-on-alpha { filter:grayscale(1); opacity:.9; }
.client-set .client-mark .white-on-colour { filter:grayscale(1) brightness(.66) contrast(24) invert(1); }
.client-set .client-word { display:block; flex:0 0 auto; font-size:calc(var(--client-logo-height) * 1.4); line-height:1; }
@media(max-width:860px){ .client-set { --client-logo-height:28px; } }
/* Reserve the same monitor band in the base prototype as in the five studies. */
@media(max-width:860px){
 .cadence-edition .scene-web .scene-copy{height:auto;min-height:0;justify-content:flex-start;padding-bottom:42px;}
 .cadence-edition .scene-web .scene-bottom{margin-top:clamp(480px,125vw,620px);}
 .cadence-edition .scene-web .scene-device{top:265px;width:min(86%,440px);left:auto!important;right:7%;}
 .cadence-edition .scene-web .scene-body{height:auto;}
}
