/* ==========================================================================
   Wild Places — site (v4 "paper first")
   Language carried over from capes.wildplaces.co: PS Times Regular at tight
   leading, small 500-weight sans, 12-col grid, hairlines not boxes, numbering
   on everything, slow hovers, body colour morph between paper and ink.
   ========================================================================== */

@font-face { font-family: 'PS Times'; src: url(../fonts/PSTimes-Regular.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'HN'; src: url(../fonts/helveticaneueltpro-roman.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'HN'; src: local('Helvetica Neue Medium'), local('HelveticaNeue-Medium'), url(../fonts/helveticaneueltpro-roman.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'HN'; src: url(../fonts/helveticaneueltpro-bd.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'HN'; src: url(../fonts/helveticaneueltpro-it.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

@property --bg   { syntax: '<color>'; inherits: true; initial-value: #f3f1ec; }
@property --fg   { syntax: '<color>'; inherits: true; initial-value: #0d0d14; }
@property --fg2  { syntax: '<color>'; inherits: true; initial-value: rgba(13, 13, 20, .6); }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(13, 13, 20, .13); }
@property --card { syntax: '<color>'; inherits: true; initial-value: #fbfaf9; }
@property --mute { syntax: '<color>'; inherits: true; initial-value: #62627a; }

:root {
  --ink: #0d0d14; --paper: #f3f1ec; --paper-2: #fbfaf9; --meadow: #d2e0c7;
  --voltage: #c1ff2e; --mist: #babace; --mute: #9a9ab3; --grey: #666;
  --serif: 'PS Times', 'Times New Roman', Times, serif;
  --sans: 'HN', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --ease-img: cubic-bezier(.22, .61, .36, 1);
  --gut: 40px; --gap: 20px; --r: 14px; --nav-h: 76px;
  --sec: clamp(96px, 15vh, 190px);
}
@media (max-width: 1199px) { :root { --gut: 28px; } }
@media (max-width: 599px)  { :root { --gut: 16px; --gap: 12px; --r: 10px; --nav-h: 64px; } }

body, body[data-theme='paper'] { --bg: #f3f1ec; --fg: #0d0d14; --fg2: rgba(13, 13, 20, .66); --line: rgba(13, 13, 20, .13); --card: #fbfaf9; --mute: #62627a; }
body[data-theme='white']  { --bg: #fbfaf9; --fg: #0d0d14; --fg2: rgba(13, 13, 20, .66); --line: rgba(13, 13, 20, .12); --card: #f3f1ec; --mute: #62627a; }
body[data-theme='ink']    { --bg: #0d0d14; --fg: #f3f1ec; --fg2: rgba(243, 241, 236, .66); --line: rgba(243, 241, 236, .14); --card: #16161f; --mute: #a3a3bb; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg);
  font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-synthesis: none; text-rendering: optimizeLegibility; overflow-x: clip;
  transition: --bg .9s var(--ease), --fg .9s var(--ease), --fg2 .9s var(--ease), --line .9s var(--ease), --card .9s var(--ease), --mute .9s var(--ease);
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
::selection { background: var(--voltage); color: var(--ink); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; transform: translateY(-160%); transition: transform .3s; }
.skip:focus { transform: none; }
.hidden { display: none !important; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1920px; margin-inline: auto; padding-inline: var(--gut); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sec { padding: var(--sec) 0; position: relative; }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.sec--flush-top { padding-top: 0; }

/* ---------- type ---------- */
.display, .h2, .h3, .giant { font-family: var(--serif); font-weight: 400; font-synthesis: none; letter-spacing: 0; text-wrap: balance; }
.giant   { font-size: clamp(76px, 14.2vw, 300px); line-height: .8; }
.display { font-size: clamp(44px, 6.1vw, 120px); line-height: .88; }
.h2      { font-size: clamp(36px, 4.2vw, 84px); line-height: .9; }
.h3      { font-size: clamp(28px, 2.6vw, 48px); line-height: .98; }
.lede    { font-size: clamp(17px, 1.25vw, 21px); line-height: 1.45; color: var(--fg2); max-width: 38em; }
.body    { font-size: 16px; line-height: 1.55; color: var(--fg2); max-width: 34em; }
.label   { font: 500 13px/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.num     { font-variant-numeric: tabular-nums; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px 11px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font: 500 14px/1 var(--sans); white-space: nowrap; justify-self: start; width: max-content;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li, .tag { display: inline-flex; align-items: center; padding: 9px 12px 8px; border-radius: 999px; border: 1px solid var(--line); font: 500 13px/1 var(--sans); color: var(--fg); transition: background .3s, color .3s, border-color .3s; }
a.tag:hover, button.tag:hover, .tag[aria-pressed='true'] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* section head: pill + title left, lede right */
.head { align-items: end; row-gap: 28px; margin-bottom: clamp(40px, 7vh, 96px); }
.head__t { grid-column: 1 / span 7; display: grid; gap: 26px; justify-items: start; }
.head__s { grid-column: 9 / span 4; }
@media (max-width: 899px) { .head__t, .head__s { grid-column: 1 / -1; } }

/* ---------- links + buttons ---------- */
.lnk { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1.2 var(--sans); padding-bottom: 5px; }
.lnk::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform .6s var(--ease); }
.lnk:hover::after { animation: lnk .9s var(--ease); }
@keyframes lnk { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.ar { width: 18px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.lnk:hover .ar, .btn:hover .ar { transform: translateX(5px); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 46px; padding: 1px 20px 0; border-radius: 8px; border: 1px solid transparent;
  background: var(--fg); color: var(--bg); font: 500 15px/1.25 var(--sans); white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s; will-change: transform;
}
.btn__l { position: relative; display: block; height: 1.25em; overflow: hidden; }
.btn__l span { display: block; transition: transform .7s var(--ease); }
.btn__l span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__l span { transform: translateY(-100%); }
.btn--cta { background: var(--voltage); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { height: 40px; padding-inline: 16px; font-size: 14px; }

/* ---------- reveal primitives (all gated on html.anim) ---------- */
html.anim [data-fade] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.anim [data-fade].is-in { opacity: 1; transform: none; }
.sw { display: inline-block; overflow: clip; vertical-align: top; padding: .2em .1em .14em; margin: -.2em -.1em -.14em; }
.sw-i { display: inline-block; will-change: transform; }
html.anim [data-split] .sw-i { transform: translate3d(0, 112%, 0) rotate(2deg); transition: transform 1.15s var(--ease); transition-delay: calc(var(--wi, 0) * 38ms + var(--d, 0s)); }
html.anim [data-split].is-in .sw-i { transform: none; }
html.anim [data-read] .rw { opacity: .16; transition: opacity .5s linear; }
html.anim [data-read] .rw.is-lit { opacity: 1; }

/* figures: slow hover scale, pixel-dissolve reveal */
.fig { position: relative; overflow: hidden; border-radius: var(--r); background: var(--card); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: opacity .2s, transform 1.8s var(--ease-img); will-change: transform; backface-visibility: hidden; }
a:hover > .fig img, .fig--hover:hover img { transform: scale(1.035); }
html.anim figure[data-pixel]:not(.is-px) img { opacity: 0; }
.pxr { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.fig[data-par] img { transform: translate3d(0, calc(var(--py, 0) * 1%), 0) scale(1.12); transition: opacity .2s; }

/* pixel corner: the brand's overlay motif, in the live page colour */
.pxc { position: absolute; z-index: 3; width: clamp(64px, 7.2vw, 150px); aspect-ratio: 1; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); pointer-events: none; }
.pxc[data-corner='br'] { right: -1px; bottom: -1px; } .pxc[data-corner='bl'] { left: -1px; bottom: -1px; } .pxc[data-corner='tr'] { right: -1px; top: -1px; } .pxc[data-corner='tl'] { left: -1px; top: -1px; }
.pxc b { background: var(--bg); }

/* placeholder (intentional blank) */
.ph { position: absolute; inset: 0; background: var(--card); }
.ph::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 15px, var(--line) 15px 16px); opacity: .55; }
.ph::after { content: attr(data-label); position: absolute; left: 16px; bottom: 14px; font: 500 12px/1 var(--sans); color: var(--mute); }

/* grain */
.grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; background: url(../tex/grain.png) repeat; background-size: 160px; opacity: .35; mix-blend-mode: overlay; }
html.anim .grain { animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { background-position: 0 0; } 17% { background-position: -22px 14px; } 33% { background-position: 18px -26px; } 50% { background-position: -12px 30px; } 67% { background-position: 28px 8px; } 83% { background-position: -30px -12px; } 100% { background-position: 0 0; } }

/* ==========================================================================
   NAV — logotype · floating pill with sliding marker · CTA
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 58; height: var(--nav-h); pointer-events: none; transition: transform .6s var(--ease), opacity .4s; }
.nav.is-hidden { transform: translate3d(0, -110%, 0); opacity: 0; }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .5s var(--ease); }
.nav.is-float::before { opacity: 1; }
.nav__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.nav__in > * { pointer-events: auto; }
.nav__logo { justify-self: start; display: block; color: var(--fg); transition: color .9s var(--ease); }
.nav__logo svg { height: 19px; width: auto; }
.nav__logo .logo-fill, .logo-fill { fill: currentColor; }
.snav { position: relative; display: flex; align-items: center; padding: 4px; border-radius: 999px; background: rgba(13, 13, 20, .88); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px rgba(243, 241, 236, .08); }
.snav a { position: relative; z-index: 1; padding: 11px 15px 10px; border-radius: 999px; font: 500 14px/1 var(--sans); color: rgba(243, 241, 236, .62); transition: color .35s; white-space: nowrap; }
.snav a:hover { color: var(--paper); }
.snav a.is-on { color: var(--ink); }
.snav__ind { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: var(--paper); opacity: 0; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
.snav__ind.is-on { opacity: 1; }
.nav__r { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav__clock { font: 500 13px/1 var(--sans); color: var(--fg2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav__menu { display: none; height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); font: 500 14px/1 var(--sans); align-items: center; gap: 10px; }
.nav__menu i { display: grid; grid-template-columns: 6px 6px; gap: 3px; }
.nav__menu i b { width: 6px; height: 6px; background: currentColor; transition: transform .35s var(--ease); }
.nav__menu:hover i b:nth-child(1) { transform: translate(9px, 0); } .nav__menu:hover i b:nth-child(2) { transform: translate(-9px, 0); }
@media (max-width: 1239px) { .nav__clock { display: none; } }
@media (max-width: 899px) { .snav { display: none; } .nav__menu { display: inline-flex; } .nav__in { grid-template-columns: 1fr auto; } .nav__r .btn { display: none; } }

.menu { position: fixed; inset: 0; z-index: 59; background: var(--ink); color: var(--paper); display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--gut) 28px; clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s; }
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.menu__top svg { height: 19px; width: auto; }
.menu__links { align-self: center; display: grid; }
.menu__links a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(243, 241, 236, .14); font-family: var(--serif); font-size: clamp(40px, 10vw, 76px); line-height: 1; transition: transform .5s var(--ease); }
.menu__links a:hover { transform: translateX(10px); }
.menu__links small { font: 500 13px/1 var(--sans); color: var(--mute); }
.menu__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font: 500 13px/1 var(--sans); color: var(--mute); }

/* fixed partner badge (official Webflow asset) */
.wf-fixed { position: fixed; left: 18px; bottom: 18px; z-index: 40; width: 196px; opacity: .78; transition: opacity .35s, transform .6s var(--ease); filter: drop-shadow(0 8px 20px rgba(13, 13, 20, .22)); }
.wf-fixed:hover { opacity: 1; transform: translateY(-3px); }
.wf-fixed img { width: 100%; height: auto; }
.wf-fixed.is-off { opacity: 0; transform: translateY(10px); pointer-events: none; }
@media (max-width: 899px) { .wf-fixed { display: none; } }

/* cursor label + index preview */
.cur { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; padding: 10px 14px 9px; border-radius: 999px; background: var(--voltage); color: var(--ink); font: 500 13px/1 var(--sans); opacity: 0; transform-origin: 0 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(18px, 24px) scale(.5); transition: opacity .3s; }
.cur.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(18px, 24px) scale(1); }
.pv { position: fixed; left: 0; top: 0; z-index: 45; width: clamp(220px, 19vw, 360px); aspect-ratio: 970 / 934; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.86) rotate(-3deg); transition: opacity .35s; box-shadow: 0 30px 60px -20px rgba(13, 13, 20, .45); background: var(--card); }
.pv.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1) rotate(0deg); }
.pv img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px), (hover: none) { .pv, .cur { display: none; } }

/* ==========================================================================
   HERO — statement + work stage
   ========================================================================== */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(28px, 6vh, 80px)) 0 0; }
.hero__px { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__top { position: relative; z-index: 1; align-items: end; row-gap: 32px; }
.hero__title { grid-column: 1 / span 9; font-size: clamp(48px, 7.4vw, 148px); line-height: .86; }
.hero__side { grid-column: 10 / span 3; display: grid; gap: 22px; justify-items: start; padding-bottom: .6vw; }
.hero__side p { font-size: 16px; line-height: 1.5; color: var(--fg2); max-width: 30ch; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1099px) { .hero__title, .hero__side { grid-column: 1 / -1; } }

.stage { position: relative; z-index: 1; margin-top: clamp(36px, 7vh, 84px); }
.stage__frame { --w0: calc(min(100%, 1920px) - 2 * var(--gut)); position: relative; display: block; margin-inline: auto; width: var(--w0); aspect-ratio: 21 / 9; border-radius: var(--r); overflow: hidden; background: var(--card); touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
/* opening up to full width is a transform from the top edge: layout (and so the page height) stays put while it happens */
.stage.is-live .stage__frame { transform-origin: 50% 0; transform: scale(calc(1 + (var(--s1, 1) - 1) * var(--grow, 0))); border-radius: calc(var(--r) * (1 - var(--grow, 0) * var(--edge, 1))); will-change: transform; }
.stage.is-live { padding-bottom: calc(var(--gut) * 2 * 9 / 21); }
.stage.is-drag .stage__frame { cursor: grabbing; }
.stage__nav { display: inline-flex; gap: 4px; margin-block: -8px; }
.stage__nav button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--fg); transition: background .3s, color .3s, border-color .3s; }
.stage__nav button:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.stage__nav svg { width: 12px; height: 12px; }
/* touch only: a small "Swipe" cue on the frame until the first swipe (a mouse gets the pointer label instead). Drawn in CSS so it is not read as part of the link's name. */
@media (hover: none) { .stage.is-live .stage__frame::after { content: '\2194\00a0\00a0Swipe'; position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 9px 13px 8px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 13px/1 var(--sans); pointer-events: none; transition: opacity .4s; }
  .stage.has-swiped .stage__frame::after, .stage.is-drag .stage__frame::after { opacity: 0; } }
.stage__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.stage__bar { margin-bottom: 16px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.stage__cap { grid-column: 1 / span 5; display: flex; gap: 18px; align-items: center; font: 500 14px/1.3 var(--sans); }
.stage__cap .n { color: var(--mute); min-width: 44px; }
.stage__cap .nm { position: relative; flex: 1; overflow: hidden; height: 1.3em; }
.stage__cap .nm span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: transform .7s var(--ease); }
.stage__tabs { grid-column: 6 / span 7; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; }
.stage__tabs button { position: relative; padding: 0 0 8px; font: 500 14px/1.3 var(--sans); color: var(--mute); transition: color .35s; }
.stage__tabs button:hover, .stage__tabs button[aria-selected='true'] { color: var(--fg); }
.stage__tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.stage__tabs button[aria-selected='true']::after { transform: scaleX(var(--p, 0)); }
@media (max-width: 899px) { .stage__frame { aspect-ratio: 4 / 3; } .stage__cap, .stage__tabs { grid-column: 1 / -1; } .stage__tabs { justify-content: flex-start; margin-top: 14px; } }

/* ==========================================================================
   WORK — editorial feature grid, cards, index rows
   ========================================================================== */
.wk { display: block; }
.wk .fig { aspect-ratio: var(--ar, 16 / 10); }
.wk__cap { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding-top: 16px; }
.wk__n { font: 500 13px/1.3 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.wk__nm { font-family: var(--serif); font-size: clamp(24px, 1.9vw, 36px); line-height: 1.05; transition: transform .6s var(--ease); }
.wk__line { grid-column: 2; font-size: 15px; line-height: 1.4; color: var(--fg2); max-width: 44ch; }
.wk__go { grid-row: 1; grid-column: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .35s, transform .5s var(--ease), border-color .35s, color .35s; }
.wk__go .ar { width: 14px; }
.wk:hover .wk__go { background: var(--voltage); border-color: var(--voltage); color: var(--ink); transform: rotate(-45deg); }
.wk:hover .wk__nm { transform: translateX(8px); }
.wk__tags { grid-column: 2 / -1; font: 500 13px/1.3 var(--sans); color: var(--mute); }

@media (max-width: 899px) { .feat > .wk { grid-column: 1 / -1 !important; margin-top: 0 !important; --ar: 5 / 4 !important; } }

/* index rows (capes work index) */
.ix { border-bottom: 1px solid var(--line); }
.ix a { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 44px; align-items: center; gap: 12px; padding: 20px 0 19px; border-top: 1px solid var(--line); }
.ix a::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.ix a:hover::before { transform: scaleX(1); }
.ix .n { font: 500 13px/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.ix .nm { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 52px); line-height: 1; transition: transform .6s var(--ease); }
.ix a:hover .nm { transform: translateX(14px); }
.ix .tg { font: 500 13px/1.3 var(--sans); color: var(--mute); text-align: right; }
.ix .go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; justify-self: end; transition: background .35s, transform .5s var(--ease), border-color .35s, color .35s; }
.ix .go .ar { width: 13px; }
.ix a:hover .go { background: var(--voltage); border-color: var(--voltage); color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 899px) { .ix a { grid-template-columns: 36px minmax(0, 1fr) 34px; } .ix .tg { display: none; } }

/* work page */
.wk-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-bottom: 28px; }
.wk-view { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); position: relative; }
.wk-view button { position: relative; z-index: 1; padding: 9px 14px 8px; border-radius: 999px; font: 500 13px/1 var(--sans); color: var(--fg2); transition: color .35s; }
.wk-view button[aria-pressed='true'] { color: var(--bg); }
.wk-view i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 50%; border-radius: 999px; background: var(--fg); transition: transform .55s var(--ease), width .55s var(--ease); }
.wk-grid { row-gap: clamp(44px, 7vh, 90px); }
.wk-grid > .wk { grid-column: span 4; --ar: 5 / 4; }
.wk-grid > .wk.w-7 { grid-column: span 7; --ar: 7 / 5; } .wk-grid > .wk.w-5 { grid-column: span 5; --ar: 1 / 1; }
.wk-grid > .wk.w-6 { grid-column: span 6; --ar: 6 / 5; } .wk-grid > .wk.w-12 { grid-column: 1 / -1; --ar: 21 / 9; }
.wk-grid > .wk.w-8 { grid-column: span 8; --ar: 8 / 5; } .wk-grid > .wk.w-4 { grid-column: span 4; --ar: 4 / 5; }
.wk-grid.is-filtered > .wk { grid-column: span 4 !important; --ar: 5 / 4 !important; }
@media (max-width: 899px) { .wk-grid > .wk { grid-column: 1 / -1 !important; --ar: 5 / 4 !important; } }
[data-view='list'] .wk-grid, [data-view='grid'] .wk-list { display: none; }

/* archive strip */
.strip { overflow: hidden; cursor: grab; }
.strip__t { display: flex; gap: var(--gap); width: max-content; will-change: transform; }
.strip figure { width: clamp(220px, 22vw, 420px); }
.strip .fig { aspect-ratio: 4 / 5; }
.strip figcaption { padding-top: 12px; font: 500 13px/1.3 var(--sans); color: var(--mute); display: flex; justify-content: space-between; }

/* ==========================================================================
   STATEMENT · CLIENTS · CAPABILITIES · STATS
   ========================================================================== */
.stmt { text-align: center; display: grid; justify-items: center; gap: 30px; }
.stmt .display { max-width: 15.5em; }
.stmt .lede { max-width: 52ch; }

.clients__side { grid-column: 1 / span 4; position: sticky; top: 14vh; align-self: start; }
.clients__list { margin-top: 7vh; font: 500 14px/24px var(--sans); columns: 2; column-gap: 24px; max-width: 420px; }
.clients__list li { display: flex; gap: 14px; color: var(--mute); transition: color .25s; cursor: default; break-inside: avoid; }
.clients__list .n { font-variant-numeric: tabular-nums; min-width: 20px; }
.clients__list li.is-hot { color: var(--fg); }
.clients__board { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px var(--gap); }
.tile { grid-column: calc(var(--c) + 1); grid-row: calc(var(--r) + 1); display: flex; flex-direction: column; gap: 9px; }
.tile__card { display: grid; place-items: center; aspect-ratio: 170 / 104; border-radius: 7px; background: var(--paper-2); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .7s var(--ease); }
.tile__card img { width: calc(var(--lw) * 1.05px); max-width: 58%; max-height: 42%; object-fit: contain; }
.tile__n { font: 500 12px/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; transition: color .25s; }
.tile.is-hot .tile__card { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .75); background: #fff; }
.tile.is-hot .tile__n { color: var(--fg); }
.tile--empty { grid-column: calc(var(--c) + 1); grid-row: calc(var(--r) + 1); position: relative; }
.tile--empty::before { content: ''; position: absolute; left: 50%; top: calc(50% - 10px); width: 9px; height: 9px; transform: translate(-50%, -50%); background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat; }
html.anim .clients__board .tile { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--k) * 34ms); }
html.anim .clients__board.is-in .tile { opacity: 1; transform: none; }
@media (max-width: 1099px) { .clients__side, .clients__board { grid-column: 1 / -1; position: static; } .clients__list { display: none; } .clients__board { margin-top: 40px; } }
@media (max-width: 699px) { .clients__board { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; } .tile, .tile--empty { grid-column: auto; grid-row: auto; } .tile--empty { display: none; } .tile__card img { width: calc(var(--lw) * .8px); max-width: 64%; } }

/* capabilities switcher: rows left, sticky image right */
.caps__rows { grid-column: 1 / span 6; border-bottom: 1px solid var(--line); }
.caps__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 12px; align-items: baseline; width: 100%; text-align: left; padding: 22px 0 21px; border-top: 1px solid var(--line); cursor: pointer; }
.caps__row .n { font: 500 13px/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.caps__row .t { font-family: var(--serif); font-size: clamp(26px, 2.5vw, 46px); line-height: 1; color: var(--fg2); transition: color .4s, transform .6s var(--ease); }
.caps__row .sq { width: 10px; height: 10px; background: var(--fg); transform: scale(0); transition: transform .45s var(--ease); align-self: center; justify-self: end; }
.caps__row .d { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.caps__row .d > span { overflow: hidden; font-size: 15px; line-height: 1.5; color: var(--fg2); max-width: 46ch; }
.caps__row .d > span::before { content: ''; display: block; height: 12px; }
.caps__row.is-on .t, .caps__row:hover .t { color: var(--fg); }
.caps__row.is-on .t { transform: translateX(10px); }
.caps__row.is-on .sq { transform: scale(1); }
.caps__row.is-on .d { grid-template-rows: 1fr; }
.caps__media { grid-column: 8 / span 5; position: sticky; top: 14vh; align-self: start; }
.caps__media .fig { aspect-ratio: 4 / 5; }
.caps__media img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease-img); }
.caps__media img.is-on { opacity: 1; transform: scale(1.001); }
.caps__k { display: flex; justify-content: space-between; padding-top: 12px; font: 500 13px/1.3 var(--sans); color: var(--mute); }
@media (max-width: 899px) { .caps__rows, .caps__media { grid-column: 1 / -1; position: static; } .caps__media { margin-top: 28px; } .caps__media .fig { aspect-ratio: 5 / 4; } }

.stats { border-top: 1px solid var(--line); }
.stats > div { grid-column: span 3; padding: 26px 0 0; display: grid; gap: 14px; align-content: start; }
.stats > div + div { border-left: 1px solid var(--line); padding-left: var(--gap); }
.stats b { font: 400 clamp(46px, 5vw, 96px)/.9 var(--serif); font-variant-numeric: tabular-nums; }
.stats > div > span { font-size: 15px; line-height: 1.45; color: var(--fg2); max-width: 26ch; }
.stats small { font: 500 13px/1 var(--sans); color: var(--mute); }
@media (max-width: 899px) { .stats > div { grid-column: span 6; padding-bottom: 26px; } .stats > div:nth-child(3) { border-left: 0; padding-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ==========================================================================
   WEBFLOW · BREAKPOINTS · SUMMIT HOUSE
   ========================================================================== */
.win { border-radius: 16px; overflow: hidden; background: #16161f; box-shadow: 0 40px 80px -40px rgba(13, 13, 20, .5); }
.win__bar { display: flex; gap: 6px; padding: 12px 14px; }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(243, 241, 236, .22); }
.win img { width: 100%; display: block; }
.wfx__copy { grid-column: 1 / span 4; display: grid; gap: 24px; align-content: start; justify-items: start; position: sticky; top: 14vh; align-self: start; }
.wfx__media { grid-column: 6 / span 7; }
.spec { margin-top: clamp(40px, 7vh, 80px); border-top: 1px solid var(--line); row-gap: 0; }
.spec > div { grid-column: span 3; padding: 22px 0 6px; display: grid; gap: 10px; align-content: start; }
.spec b { display: flex; align-items: center; gap: 10px; font: 500 15px/1.3 var(--sans); }
.spec b::before { content: ''; width: 8px; height: 8px; background: var(--fg); flex: none; }
.spec span { font-size: 15px; line-height: 1.5; color: var(--fg2); max-width: 30ch; }
@media (max-width: 1099px) { .wfx__copy, .wfx__media { grid-column: 1 / -1; position: static; } .wfx__media { margin-top: 36px; } .spec > div { grid-column: span 6; } }
@media (max-width: 599px) { .spec > div { grid-column: 1 / -1; } }

.bp-word { font-family: var(--serif); font-size: clamp(48px, 8.4vw, 170px); line-height: .84; }
.bp { row-gap: clamp(40px, 6vh, 72px); }
.bp > .post { grid-column: span 4; }
.bp > .post--lg { grid-column: span 8; }
.post .fig { aspect-ratio: 4 / 3; }
.post--lg .fig { aspect-ratio: 16 / 9; }
.post__m { display: flex; justify-content: space-between; padding-top: 14px; font: 500 13px/1.3 var(--sans); color: var(--mute); }
.post__t { font-family: var(--serif); font-size: clamp(24px, 2vw, 36px); line-height: 1.05; margin-top: 8px; max-width: 22em; transition: transform .6s var(--ease); }
.post--lg .post__t { font-size: clamp(30px, 3vw, 56px); line-height: 1; }
.post:hover .post__t { transform: translateX(8px); }
.post .ph::after { content: attr(data-label); }
@media (max-width: 899px) { .bp > .post, .bp > .post--lg { grid-column: 1 / -1; } }

.shg { border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.shg a { position: relative; display: grid; align-content: space-between; gap: 48px; min-height: clamp(170px, 22vh, 240px); padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.shg a::before { content: ''; position: absolute; inset: 0; background: var(--fg); transform: translateY(101%); transition: transform .7s var(--ease); }
.shg a > * { position: relative; transition: color .5s, filter .5s; }
.shg img { height: clamp(20px, 2vw, 30px); width: auto; max-width: 190px; object-fit: contain; object-position: left; }
.shg img.tall { height: clamp(28px, 2.8vw, 42px); }
.shg b { display: block; font: 500 15px/1.3 var(--sans); }
.shg span { font: 500 13px/1.3 var(--sans); color: var(--mute); }
.shg a:hover::before { transform: none; }
.shg a:hover b { color: var(--bg); }
.shg img { filter: brightness(0); }
.shg a:hover img { filter: brightness(0) invert(1); }
body[data-theme='ink'] .shg img { filter: brightness(0) invert(1); } body[data-theme='ink'] .shg a:hover img { filter: brightness(0); }
@media (max-width: 799px) { .shg { grid-template-columns: 1fr 1fr; } .shg a { padding: 20px; min-height: 150px; } }

/* ==========================================================================
   CASE STUDY
   ========================================================================== */
.case-top { padding-top: calc(var(--nav-h) + clamp(40px, 9vh, 120px)); }
.case-top__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 26px; }
.case-top__title { font-size: clamp(52px, 9vw, 190px); line-height: .84; }
.case-top__row { margin-top: clamp(28px, 5vh, 56px); padding-top: 18px; border-top: 1px solid var(--line); row-gap: 18px; }
.case-top__row > div { grid-column: span 3; display: grid; gap: 8px; align-content: start; font-size: 15px; line-height: 1.4; }
.case-top__row dt { font: 500 13px/1 var(--sans); color: var(--mute); }
.case-top__row dd { color: var(--fg); }
@media (max-width: 899px) { .case-top__row > div { grid-column: span 6; } }
.case-cover { margin-top: clamp(36px, 6vh, 72px); }
.case-cover .fig { aspect-ratio: 16 / 9; }
.case__info { grid-column: 1 / span 4; }
.case__sticky { position: sticky; top: calc(var(--nav-h) + 4vh); display: grid; gap: 26px; padding-bottom: 6vh; }
.case__line { font-family: var(--serif); font-size: clamp(28px, 2.5vw, 46px); line-height: 1; }
.case__body { display: grid; gap: 1em; font-size: 16px; line-height: 1.55; color: var(--fg2); max-width: 34em; }
.case__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); border-top: 1px solid var(--line); }
.case__stats div { padding: 14px 0 12px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.case__stats dt { font: 400 clamp(30px, 2.6vw, 46px)/1 var(--serif); }
.case__stats dd { font: 500 13px/1.3 var(--sans); color: var(--mute); }
.case__gallery { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: var(--gap); }
.g--hero { aspect-ratio: 6 / 5; } .g--full { aspect-ratio: 16 / 9; } .g--tall { aspect-ratio: 4 / 5; } .g--sq { aspect-ratio: 1; }
.g-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.g-pair .fig { aspect-ratio: 8 / 9; }
.g-pair.g-pair--tall .fig { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .case__info, .case__gallery { grid-column: 1 / -1; } .case__sticky { position: static; } .case__gallery { margin-top: 12px; } }
.next { display: block; border-top: 1px solid var(--line); padding: clamp(40px, 8vh, 96px) 0; }
.next__in { align-items: end; }
.next__t { grid-column: 1 / span 7; display: grid; gap: 18px; }
.next__t .giant { font-size: clamp(56px, 9.6vw, 200px); transition: transform .9s var(--ease); }
.next:hover .next__t .giant { transform: translateX(1.2vw); }
.next__m { grid-column: 9 / span 4; }
.next__m .fig { aspect-ratio: 6 / 5; }
@media (max-width: 899px) { .next__t, .next__m { grid-column: 1 / -1; } .next__m { margin-top: 28px; } }

/* ==========================================================================
   SERVICES · STUDIO · CONTACT · ARTICLE
   ========================================================================== */
.page-top { padding-top: calc(var(--nav-h) + clamp(48px, 11vh, 150px)); }
.page-top__in { align-items: end; row-gap: 28px; }
.page-top__t { grid-column: 1 / span 8; display: grid; gap: 26px; justify-items: start; }
.page-top__s { grid-column: 10 / span 3; display: grid; gap: 20px; justify-items: start; }
@media (max-width: 1099px) { .page-top__t, .page-top__s { grid-column: 1 / -1; } }

.svc__list { grid-column: 1 / span 5; }
.svc__aside { grid-column: 7 / span 6; }
.svc--flip .svc__list { grid-column: 8 / span 5; grid-row: 1; }
.svc--flip .svc__aside { grid-column: 1 / span 6; grid-row: 1; }
.svc__sticky { position: sticky; top: 14vh; display: grid; gap: 24px; }
.rows { border-bottom: 1px solid var(--line); margin-top: 7vh; }
.rows li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 14px; align-items: center; padding: 15px 0 14px; border-top: 1px solid var(--line); font: 400 clamp(20px, 1.75vw, 30px)/1.15 var(--sans); color: var(--grey); transition: color .3s, padding .5s var(--ease); cursor: default; }
.rows li .n { font: 500 12px/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.rows li::after { content: ''; width: 10px; height: 10px; background: var(--fg); transform: scale(0); transition: transform .45s var(--ease); }
.rows li:hover { color: var(--fg); padding-left: 10px; }
.rows li:hover::after { transform: scale(1); }
body[data-theme='ink'] .rows li { color: var(--fg2); }
.steps { display: flex; flex-wrap: wrap; gap: 6px; }
.steps button { padding: 11px 15px 10px; border-radius: 999px; border: 1px solid var(--line); font: 500 14px/1 var(--sans); transition: background .35s, color .35s, transform .35s var(--ease), border-color .35s; }
.steps button:hover { transform: translateY(-2px); }
.steps button[aria-selected='true'] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.steps__track { height: 1px; background: var(--line); position: relative; }
.steps__track span { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, .25) * 100%); background: var(--fg); transition: width .6s var(--ease); }
.svc__text { font-size: 17px; line-height: 1.55; columns: 2; column-gap: var(--gap); }
.svc__text .cl { transition: opacity .6s var(--ease); }
.svc__text.is-live .cl { opacity: .26; }
.svc__text.is-live .cl.is-on { opacity: 1; }
.svc__aside .fig { aspect-ratio: 1065 / 506; }
@media (max-width: 1099px) { .svc__list, .svc__aside, .svc--flip .svc__list, .svc--flip .svc__aside { grid-column: 1 / -1; grid-row: auto; } .svc__sticky { position: static; margin-top: 40px; } .svc__text { columns: 1; } }

.cols4 { border-top: 1px solid var(--line); }
.cols4 > div { grid-column: span 3; padding: 24px 0 0; display: grid; gap: 14px; align-content: start; }
.cols4 > div + div { border-left: 1px solid var(--line); padding-left: var(--gap); }
.cols4 h3 { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 40px); line-height: 1; }
.cols4 p { font-size: 15px; line-height: 1.5; color: var(--fg2); max-width: 30ch; }
@media (max-width: 899px) { .cols4 > div { grid-column: span 6; padding-bottom: 24px; } .cols4 > div:nth-child(odd) { border-left: 0; padding-left: 0; } .cols4 > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.pairs { columns: 2; column-gap: var(--gap); }
.pairs li { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0 15px; border-bottom: 1px solid var(--line); break-inside: avoid; font-family: var(--serif); font-size: clamp(22px, 1.9vw, 34px); line-height: 1; }
.pairs span { color: var(--mute); }
@media (max-width: 699px) { .pairs { columns: 1; } }

.mosaic { display: flex; gap: 3px; height: clamp(240px, 46vh, 520px); }
.mosaic li { flex: 1 1 0; min-width: 0; background-position: center; background-size: cover; background-repeat: no-repeat; filter: saturate(.9); transition: flex-grow 1s var(--ease), filter .6s; }
.mosaic li:first-child { border-radius: var(--r) 0 0 var(--r); } .mosaic li:last-child { border-radius: 0 var(--r) var(--r) 0; }
.mosaic li:hover { flex-grow: 3.2; filter: none; }

.team { row-gap: 40px; }
.team > li { grid-column: span 3; }
.team .fig { aspect-ratio: 4 / 5; }
.team .fig img { filter: grayscale(1); transition: filter .8s, transform 1.8s var(--ease-img); }
.team li:hover .fig img { transform: scale(1.035); }
.team b { display: block; padding-top: 12px; font: 500 15px/1.3 var(--sans); }
.team span { font: 500 13px/1.3 var(--sans); color: var(--mute); }
@media (max-width: 899px) { .team > li { grid-column: span 6; } }

.acc { border-bottom: 1px solid var(--line); }
.acc__row { border-top: 1px solid var(--line); }
.acc__h { width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr) 34px; align-items: center; gap: 12px; padding: 22px 0 21px; text-align: left; }
.acc__h .n { font: 500 13px/1 var(--sans); color: var(--mute); }
.acc__h .t { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 44px); line-height: 1.02; transition: transform .6s var(--ease); }
.acc__h:hover .t { transform: translateX(12px); }
.acc__h .x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .35s, transform .6s var(--ease), border-color .35s; }
.acc__h .x::before, .acc__h .x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.acc__h .x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .6s var(--ease); }
.acc__row.is-open .x { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.acc__row.is-open .x::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.acc__row.is-open .acc__b { grid-template-rows: 1fr; }
.acc__b > div { overflow: hidden; }
.acc__b p { padding: 0 0 30px 84px; font-size: 17px; line-height: 1.55; color: var(--fg2); max-width: 46em; }
@media (max-width: 899px) { .acc__h { grid-template-columns: 36px minmax(0, 1fr) 34px; } .acc__b p { padding-left: 48px; } }

.form { display: grid; gap: 34px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.form legend { font: 500 13px/1 var(--sans); color: var(--mute); margin-bottom: 14px; padding: 0; }
.form .two { display: grid; gap: 16px var(--gap); grid-template-columns: 1fr 1fr; }
@media (max-width: 699px) { .form .two { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; }
.field label { font: 500 13px/1 var(--sans); color: var(--mute); padding-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 0 11px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--fg); font: 400 19px/1.3 var(--sans); outline: none; transition: border-color .4s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; padding: 11px 15px 10px; border-radius: 999px; border: 1px solid var(--line); font: 500 14px/1 var(--sans); cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.chips span:hover { transform: translateY(-2px); }
.chips input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chips input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.form__ok { display: grid; gap: 14px; padding: 28px 0; border-top: 1px solid var(--line); }
.cinfo { border-top: 1px solid var(--line); }
.cinfo li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 16px 0 15px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.cinfo b { font: 500 13px/1.6 var(--sans); color: var(--mute); }

.article { max-width: 780px; margin-inline: auto; }
.article__meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font: 500 13px/1 var(--sans); color: var(--mute); }
.prose { display: grid; gap: 1.2em; font-size: 19px; line-height: 1.6; color: var(--fg2); }
.prose h2, .prose h3 { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; color: var(--fg); margin-top: .8em; }
.prose blockquote { padding-left: 24px; border-left: 1px solid var(--fg); font-family: var(--serif); font-size: clamp(24px, 2.2vw, 36px); line-height: 1.15; color: var(--fg); }
.prose .note { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); font-size: 16px; }
.byline { display: flex; align-items: center; gap: 12px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.byline b { display: block; font: 500 15px/1.3 var(--sans); }
.byline span { font: 500 13px/1.3 var(--sans); color: var(--mute); }

/* ==========================================================================
   END CARD — CTA · logotype + colophon · image strip · Ruckus
   ========================================================================== */
.end { position: relative; padding-top: var(--sec); overflow: hidden; }
.end__cta { display: grid; gap: 34px; justify-items: start; }
.end__cta .giant { font-size: clamp(60px, 10.4vw, 220px); max-width: 9.5em; }
.end__top { margin-top: clamp(80px, 16vh, 200px); align-items: end; row-gap: 40px; }
.end__logo { grid-column: 1 / span 6; max-width: 680px; }
.end__logo svg { width: 100%; height: auto; }
.end__links { grid-column: 9 / span 4; border-bottom: 1px solid var(--line); }
.end__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 0 12px; border-top: 1px solid var(--line); font: 500 14px/1.3 var(--sans); }
.end__row span:first-child { transition: transform .6s var(--ease); }
.end__row .ar { width: 12px; transform: rotate(-45deg); transition: transform .6s var(--ease), color .3s; color: var(--mute); }
a.end__row:hover span:first-child { transform: translateX(6px); }
a.end__row:hover .ar { color: var(--voltage); transform: rotate(-45deg) translateX(3px); }
.end__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 26px; font: 500 14px/1 var(--sans); color: var(--fg2); }
.end__nav a { transition: color .3s; } .end__nav a:hover { color: var(--fg); }
.end__stage { position: relative; margin-top: clamp(60px, 11vh, 130px); }
.end__strip { display: flex; gap: 3px; height: clamp(180px, 30vh, 340px); border-top: 2px solid var(--paper); }
.end__strip li { flex: 1 1 0; min-width: 0; background-position: center; background-size: cover; background-repeat: no-repeat; filter: saturate(.9); transition: flex-grow 1s var(--ease), filter .6s; }
.end__strip li:hover { flex-grow: 3.2; filter: none; }
.end__ruckus { position: absolute; right: 9%; bottom: 100%; z-index: 2; width: clamp(84px, 7vw, 132px); color: var(--paper); transform: translateY(25.6%); transform-origin: 50% 74%; }
.end__ruckus svg { width: 100%; height: auto; }
html.anim .end__ruckus svg { transform: translateY(62%); clip-path: inset(0 0 87.6% 0); }
html.anim .end__ruckus.is-in svg { animation: peek 1.5s cubic-bezier(.3, .7, .2, 1) forwards; }
@keyframes peek { to { transform: none; clip-path: inset(0 0 25% 0); } }
html:not(.anim) .end__ruckus svg { clip-path: inset(0 0 25% 0); }
.end__ruckus:hover { animation: roar .7s var(--ease); }
@keyframes roar { 30% { transform: translateY(25.6%) rotate(-5deg); } 60% { transform: translateY(25.6%) rotate(4deg); } }
.end__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 18px 22px; font: 500 13px/1 var(--sans); color: var(--mute); }
@media (max-width: 899px) { .end__logo, .end__links { grid-column: 1 / -1; } .end__strip { height: 34vw; gap: 2px; } .end__ruckus { right: 7%; width: 76px; } }

/* ==========================================================================
   v5 — review round 1 (Nov 2026)
   ========================================================================== */

/* custom pointer: a pixel arrow in the brand's own grid */
html.ptr-on:not(.rv-placing), html.ptr-on:not(.rv-placing) * { cursor: none !important; }
html.ptr-on:not(.rv-placing) :is(input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='submit']), textarea) { cursor: text !important; }
.ptr { --pf: #0d0d14; --pl: #f3f1ec; position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity .15s; will-change: transform; }
.ptr.is-on { opacity: 1; }
.ptr.is-txt, html.rv-placing .ptr { opacity: 0; }
.ptr svg { display: block; width: 20px; height: 30px; overflow: visible; transform-origin: 1px 1px; transition: transform .22s var(--ease); shape-rendering: crispEdges; }
.ptr .f { fill: var(--pf); transition: fill .2s; } .ptr .l { fill: var(--pl); transition: fill .2s; }
body[data-theme='ink'] .ptr { --pf: #f3f1ec; --pl: #0d0d14; }
.ptr.is-hot, body[data-theme='ink'] .ptr.is-hot { --pf: #c1ff2e; --pl: #0d0d14; }
.ptr.is-hot svg { transform: scale(1.16); } .ptr.is-down svg { transform: scale(.86); }
@media print { .ptr { display: none; } }

/* statement pill sits on the same centre line as the copy */
.stmt .pill { justify-self: center; }

/* clients: hovering one quiets the rest */
.clients__list li { transition: color .25s, opacity .35s; }
.tile__card { transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .7s var(--ease), opacity .35s; }
.clients:has(li.is-hot) .clients__list li:not(.is-hot) { opacity: .34; }
.clients:has(.is-hot) .tile:not(.is-hot) .tile__card { opacity: .4; }
.clients:has(.is-hot) .tile:not(.is-hot) .tile__n { opacity: .4; }

/* featured work: three even rows, wide and tall alternating, shared row heights */
.feat { row-gap: 0; }
.feat > .wk { display: grid; grid-template-rows: subgrid; grid-row: span 2; margin-bottom: clamp(44px, 7vh, 96px); }
.feat > .wk:nth-last-child(-n+2) { margin-bottom: 0; }
.feat > .wk--w { grid-column: span 8; --ar: 16 / 10; }
.feat > .wk--t { grid-column: span 4; --ar: auto; }
.feat > .wk--t .fig img { position: absolute; inset: 0; }

/* every stack */
.stack { margin-top: clamp(40px, 7vh, 80px); padding-top: 26px; border-top: 1px solid var(--line); row-gap: 20px; align-items: start; }
.stack__k { grid-column: 1 / span 3; display: flex; align-items: center; gap: 10px; font: 500 15px/1.3 var(--sans); }
.stack__k::before { content: ''; width: 8px; height: 8px; background: var(--fg); flex: none; }
.stack__b { grid-column: 4 / span 5; display: grid; gap: 14px; }
.stack__b .body { max-width: 46ch; }
.stack__t { grid-column: 10 / span 3; align-content: start; }
@media (max-width: 1099px) { .stack__k, .stack__b, .stack__t { grid-column: 1 / -1; } }

/* breakpoints: even cards, generative covers */
.bp { row-gap: 0; }
.bp > .post { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; margin-bottom: clamp(40px, 6vh, 72px); }
.post--fill .fig { aspect-ratio: auto; }
.bpc canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 899px) { .post--fill .fig { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) { .bp > .post:nth-last-child(-n+3) { margin-bottom: 0; } }
@media (max-width: 899px) { .bp > .post:last-child { margin-bottom: 0; } .feat > .wk:nth-last-child(2) { margin-bottom: clamp(44px, 7vh, 96px); } }

/* ---------- ecosystem wheel ---------- */
.ecox { align-items: center; row-gap: 48px; }
.eco { grid-column: 1 / span 7; --ring-in: 1; }
html.anim .eco:not(.is-in) { --ring-in: .15; }
.eco__list { grid-column: 9 / span 4; }
.eco__stage { position: relative; width: min(100%, 880px); aspect-ratio: 1; margin-inline: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.eco__stage::before { content: ''; position: absolute; inset: 13%; border-radius: 50%; border: 1px solid var(--line); transform: scale(var(--ring-in)); opacity: var(--ring-in); transition: transform 1.8s var(--ease), opacity 1.2s; }
.eco__ring { position: absolute; inset: 0; transform: rotate(var(--rot, 0deg)); }
.eco__t { position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; transform: rotate(var(--ta, var(--a))) translateY(calc(var(--rad, -247%) * var(--ring-in))); transition: transform 1.7s var(--ease); transition-delay: calc(var(--k) * 45ms); }
.eco__t i { position: relative; display: block; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: var(--card); transform: rotate(calc(-1 * (var(--ta, var(--a)) + var(--rot, 0deg)) + var(--tw, 0deg))); transition: opacity .5s, scale .5s var(--ease); }
.eco__t img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.eco__t--logo i { overflow: visible; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.eco__t--logo img { width: 68%; height: 42%; object-fit: contain; filter: brightness(0); }
.eco__t em { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 6px 9px 5px; border-radius: 999px; background: var(--fg); color: var(--bg); font: 500 11px/1 var(--sans); white-space: nowrap; }
.eco.is-busy .eco__t i { transition: transform 1.3s var(--ease), opacity .5s, scale .5s var(--ease); }
.eco.is-busy .eco__t em { opacity: 0; }
.eco.is-burst .eco__t { transition-duration: .65s; transition-delay: calc(var(--k) * 12ms); }
.eco.is-pairs .eco__t { transition-duration: 1.3s; transition-delay: calc(var(--k) * 30ms); }
.eco[data-hot] .eco__t i { opacity: .3; }
.eco[data-hot='0'] .eco__t[data-ag='0'] i, .eco[data-hot='1'] .eco__t[data-ag='1'] i, .eco[data-hot='2'] .eco__t[data-ag='2'] i, .eco[data-hot='3'] .eco__t[data-ag='3'] i, .eco[data-hot='4'] .eco__t[data-ag='4'] i, .eco[data-hot='5'] .eco__t[data-ag='5'] i { opacity: 1; scale: 1.14; }
.eco__c { position: absolute; inset: 29%; display: grid; place-items: center; text-align: center; pointer-events: none; }
.eco__c > * { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .7s var(--ease); }
.eco__home { display: grid; justify-items: center; gap: 14px; }
.eco__home img { height: clamp(38px, 4vw, 66px); width: auto; }
.eco__home p, .eco__msg { font: 400 clamp(20px, 2.9vw, 50px)/.98 var(--serif); }
.eco__spin { pointer-events: auto; margin-top: 4px; padding: 10px 16px 9px; border-radius: 999px; border: 1px solid var(--line); font: 500 13px/1 var(--sans); transition: border-color .3s, background .3s, color .3s; }
.eco__spin:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.eco__info { display: grid; justify-items: center; gap: 14px; opacity: 0; transform: translateY(10px); }
.eco__info img { height: clamp(24px, 2.8vw, 46px); width: auto; max-width: 78%; object-fit: contain; filter: brightness(0); }
.eco__info b { font: 500 15px/1.3 var(--sans); max-width: 22ch; }
.eco__info span { font: 500 13px/1 var(--sans); color: var(--mute); }
.eco[data-hot] .eco__home { opacity: 0; transform: translateY(-10px); }
.eco[data-hot='0'] .eco__info[data-ag='0'], .eco[data-hot='1'] .eco__info[data-ag='1'], .eco[data-hot='2'] .eco__info[data-ag='2'], .eco[data-hot='3'] .eco__info[data-ag='3'], .eco[data-hot='4'] .eco__info[data-ag='4'], .eco[data-hot='5'] .eco__info[data-ag='5'] { opacity: 1; transform: none; }
.eco__msg { opacity: 0; transform: translateY(12px); }
.eco.is-busy .eco__home, .eco.is-busy .eco__info { opacity: 0; }
.eco.is-pairs .eco__msg { opacity: 1; transform: none; transition-delay: .3s; }
.eco.is-busy:not(.is-burst):not(.is-pairs) .eco__home { opacity: 1; transition-delay: .5s; }
.eco__list a { grid-template-columns: 44px minmax(0, 1fr) 34px; padding: 17px 0 16px; }
.eco__list .nm { display: grid; gap: 7px; font-size: clamp(24px, 2.1vw, 38px); }
.eco__list .nm small { font: 500 13px/1.3 var(--sans); color: var(--mute); }
.eco__list a.is-hot::before { transform: scaleX(1); }
.eco__list a.is-hot .nm { transform: translateX(14px); }
.eco__list a.is-hot .go { background: var(--voltage); border-color: var(--voltage); color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 1099px) { .eco, .eco__list { grid-column: 1 / -1; } }
@media (max-width: 599px) { .eco__spin, .eco__home .label { display: none; } .eco__t em { display: none; } .eco__info b { font-size: 12px; } .eco__info span { display: none; } }

/* ---------- WP Atlas: live sample workspace ---------- */
@property --p-ring { syntax: '<number>'; inherits: false; initial-value: 0; }
.atlx { container-type: inline-size; }
.atlx figcaption, .g-win figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font: 500 13px/1.3 var(--sans); color: var(--mute); }
.atl { --a-ink: #0d0d14; --a-mut: #65656d; --a-acc: #02ca87; position: relative; display: grid; grid-template-columns: 21% minmax(0, 1fr); aspect-ratio: 16 / 10; border-radius: 1.2em; overflow: hidden; background: var(--a-ink); color: #f5f5f7; font: 500 clamp(6.4px, 1.34cqw, 13.5px)/1.3 var(--sans); text-align: left; box-shadow: 0 40px 80px -40px rgba(13, 13, 20, .5); }
.atl p, .atl ul, .atl ol { margin: 0; }
.atl__side { padding: 1.6em 1.1em 1.2em 1.5em; display: flex; flex-direction: column; gap: .3em; min-width: 0; }
.atl__logo { font: 700 1.6em/1 var(--sans); letter-spacing: -.02em; margin-bottom: 1.1em !important; }
.atl__back { color: #b7b7bf; font-size: .9em; display: flex; align-items: center; gap: .6em; }
.atl__back i { width: .45em; height: .45em; border-left: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin-left: .2em; }
.atl__client { font-weight: 700; margin: .5em 0 .7em !important; }
.atl__find { display: flex; justify-content: space-between; padding: .6em .8em; border: 1px solid #303035; border-radius: .6em; color: #b7b7bf; margin-bottom: .6em !important; }
.atl__find kbd { font: inherit; }
.atl__grp { color: #8b8b95; font-size: .84em; margin: .9em 0 .2em !important; }
.atl__side button { text-align: left; padding: .6em .8em; border-radius: .6em; color: #d9d9df; font: inherit; transition: background .3s, color .3s, box-shadow .3s; }
.atl__side button:hover { background: #1c1c24; }
.atl__side button.is-on { background: #2a2a33; color: #fff; box-shadow: inset 0 0 0 1px #3a3a44; }
.atl__theme { margin-top: auto !important; display: flex; gap: .3em; padding: .3em; border: 1px solid #303035; border-radius: .6em; width: max-content; }
.atl__theme i { width: 1.5em; height: 1.5em; border-radius: .4em; } .atl__theme i:first-child { background: #2a2a33; }
.atl__main { position: relative; margin: .7em .7em .7em 0; border-radius: .9em; background: #f3f1ec; color: var(--a-ink); overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.atl__bar { display: flex; align-items: center; gap: 1em; padding: 1.1em 1.4em .9em; }
.atl__title { font: 700 1.5em/1 var(--sans); letter-spacing: -.02em; }
.atl__meta { color: var(--a-mut); font-size: .9em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atl__seg { display: flex; gap: .25em; }
.atl__seg i { width: 2em; height: .42em; border-radius: 1em; background: #dcdad4; transition: background .5s; } .atl__seg i.is-on { background: var(--a-acc); }
.atl__v { grid-area: 2 / 1; padding: .3em 1.4em 1.4em; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.atl__v.is-on { opacity: 1; visibility: visible; transition: opacity .45s .1s; }
.atl__ptr { position: absolute; left: 0; top: 0; z-index: 9; width: 1.35em; height: 1.75em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M2 2v19l5-4.4 3.3 7.6 3.2-1.4-3.3-7.5H17z' fill='%230d0d14' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 0 / contain; transform: translate(var(--px, 40em), var(--py, 30em)); transition: transform .9s var(--ease-io), scale .15s, opacity .3s; pointer-events: none; }
.atl__ptr.is-click { scale: .8; }
.atl:hover .atl__ptr { opacity: 0; }
html:not(.anim) .atl__ptr { display: none; }
@keyframes atl-in { from { opacity: 0; transform: translateY(.8em); } }
@keyframes atl-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes atl-grow { from { transform: scaleX(0); } }
@keyframes atl-growy { from { transform: scaleY(0); } }
@keyframes atl-flip { from { opacity: 0; transform: perspective(40em) rotateX(-70deg); } }
@keyframes atl-fade { from { opacity: 0; } }
@keyframes atl-ring { from { --p-ring: 0; } }
html.anim .atl__v.is-on [style*='--i'] { animation: atl-in .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms + .15s); }
/* research */
.rs { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: .8em; }
.rs__rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.rs__ring { background: #fff; border-radius: .8em; padding: .9em 1em; display: grid; grid-template-columns: 4.4em 1fr; align-items: center; gap: 1em; }
.rs__ring::before { content: ''; grid-area: 1 / 1; width: 4.4em; aspect-ratio: 1; border-radius: 50%; --p-ring: var(--v); background: conic-gradient(var(--a-ink) calc(var(--p-ring) * 1%), #e9e7e2 0); -webkit-mask: radial-gradient(circle, transparent 57%, #000 58%); mask: radial-gradient(circle, transparent 57%, #000 58%); }
html.anim .atl__v.is-on .rs__ring::before { animation: atl-ring 1.3s var(--ease) both; animation-delay: calc(var(--i) * 130ms + .3s); }
.rs__ring b { grid-area: 1 / 1; justify-self: center; font: 700 1.25em/1 var(--sans); }
.rs__ring span { color: var(--a-mut); font-size: .95em; }
.rs__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.rs__facts li { background: #fff; border-radius: .8em; padding: .8em 1em; color: var(--a-mut); font-size: .9em; }
.rs__facts b { display: block; color: var(--a-ink); font: 700 1.7em/1.1 var(--sans); }
.rs__bars { background: #fff; border-radius: .8em; padding: 1em 1.2em; display: grid; gap: .55em; align-content: center; }
.rs__bars p { color: var(--a-mut); font-size: .9em; margin-bottom: .2em !important; }
.rs__bars div { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 1em; font-size: .92em; }
.rs__bars i { display: block; height: .7em; width: var(--w); border-radius: 1em; background: var(--a-ink); transform-origin: left; } .rs__bars i.is-accent { background: var(--a-acc); }
html.anim .atl__v.is-on .rs__bars i { animation: atl-grow .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + .3s); }
/* sitemap */
.sm { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; background: #fff; border-radius: .8em; padding: 1.5em 1.2em 3.4em; }
.sm__root { position: relative; display: grid; justify-items: center; padding-bottom: 1.5em; }
.sm__root::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 1px; height: 1.5em; background: #c9c7c1; transform-origin: top; }
.sm__n { display: inline-flex; padding: .55em .9em; border-radius: .5em; background: var(--a-ink); color: #fff; font-weight: 700; white-space: nowrap; }
.sm__cols { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5em; padding-top: 1.4em; align-items: start; }
.sm__cols::before { content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: #c9c7c1; }
.sm__col { position: relative; display: grid; justify-items: center; gap: .8em; }
.sm__col::before { content: ''; position: absolute; left: 50%; top: -1.4em; width: 1px; height: 1.4em; background: #c9c7c1; transform-origin: top; }
.sm__col .sm__n { background: #f3f1ec; color: var(--a-ink); box-shadow: inset 0 0 0 1px #dcdad4; }
.sm__col ul { display: grid; gap: .5em; padding-left: .9em; border-left: 1px solid #dcdad4; font-size: .9em; color: #3a3a40; }
.sm__col li { position: relative; white-space: nowrap; }
.sm__col li::before { content: ''; position: absolute; left: -.9em; top: 50%; width: .55em; height: 1px; background: #dcdad4; }
.sm__col em { font-style: normal; margin-left: .35em; padding: .15em .5em; border-radius: 1em; background: var(--a-acc); color: #0d0d14; font-size: .82em; font-weight: 700; }
.sm__note { position: absolute; left: 1.3em; right: 1.3em; bottom: 1em; display: flex; align-items: center; gap: .6em; color: var(--a-mut); font-size: .9em; padding-top: .8em; border-top: 1px solid #eceae5; }
.sm__note i { width: .55em; height: .55em; border-radius: 50%; background: var(--a-acc); }
html.anim .atl__v.is-on .sm__root .sm__n { animation: atl-pop .5s var(--ease) .15s both; }
html.anim .atl__v.is-on .sm__root::after { animation: atl-growy .4s var(--ease) .4s both; }
html.anim .atl__v.is-on .sm__cols::before { animation: atl-grow .6s var(--ease) .6s both; }
html.anim .atl__v.is-on .sm__col::before { animation: atl-growy .4s var(--ease) both; animation-delay: calc(var(--i) * 80ms + .9s); }
html.anim .atl__v.is-on .sm__col[style] { animation: none; }
html.anim .atl__v.is-on .sm__col .sm__n { animation: atl-pop .5s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 1.05s); }
html.anim .atl__v.is-on .sm__col ul { animation: atl-in .6s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 1.4s); }
html.anim .atl__v.is-on .sm__col em { animation: atl-pop .5s var(--ease) 2.6s both; }
html.anim .atl__v.is-on .sm__note { animation: atl-in .6s var(--ease) 2.3s both; }
/* wireframes */
.wf { position: relative; height: 100%; }
.wf__top { position: absolute; left: 0; top: 0; z-index: 2; display: flex; gap: .6em; align-items: center; background: #fff; border-radius: .8em; padding: .5em .6em; box-shadow: 0 .6em 1.6em -.8em rgba(13, 13, 20, .3); }
.wf__sel { font-weight: 700; padding: .2em .5em; }
.wf__st { display: grid; }
.wf__st em { grid-area: 1 / 1; font-style: normal; padding: .35em .7em; border-radius: .5em; background: #f0efea; color: #65656d; font-weight: 700; font-size: .9em; white-space: nowrap; }
.wf__st em + em { background: var(--a-acc); color: #0d0d14; text-align: center; }
.wf__page { position: absolute; left: 11%; right: 11%; top: 2.6em; bottom: -2em; background: #fff; border-radius: .3em; box-shadow: 0 0 0 1px #e4e3e0; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.wf__nav { display: flex; align-items: center; gap: 1.2em; padding: 1em 1.4em; border-bottom: 1px solid #e4e3e0; }
.wf__nav b { font-weight: 700; } .wf__nav i { width: 3.4em; height: .45em; border-radius: 1em; background: #eceae5; }
.wf__hero { position: relative; padding: 2.6em 3em 0; border: 1.5px solid #55555e; display: grid; justify-items: center; gap: .8em; align-content: start; }
.wf__tag { position: absolute; left: .6em; top: .6em; background: #0d0d14; color: #fff; padding: .3em .6em; border-radius: .3em; font-size: .85em; }
.wf__h { width: 46%; height: 1.6em; border-radius: .3em; background: #0d0d14; }
.wf__l { width: 62%; height: .45em; border-radius: 1em; background: #eceae5; } .wf__l--s { width: 44%; }
.wf__cta { padding: .6em 1.2em; border-radius: .5em; background: #55555e; color: #fff; font-weight: 700; font-size: .9em; }
.wf__img { width: 86%; height: 9em; border-radius: .6em; background: #f0efea; }
.wf__pin { position: absolute; right: 14%; top: 6.4em; z-index: 3; width: 2.1em; height: 2.1em; border-radius: 50% 50% 50% .2em; background: #0d0d14; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9em; }
.wf__pop { position: absolute; right: 2.5%; top: 9em; z-index: 3; width: 37%; background: #fff; border-radius: .8em; padding: .9em 1em; box-shadow: 0 1.4em 3em -1.2em rgba(13, 13, 20, .45); display: grid; gap: .7em; }
.wf__c { color: #3a3a40; font-size: .92em; } .wf__c b { display: block; color: #0d0d14; font-weight: 700; margin-bottom: .15em; }
.wf__c--r { padding-top: .7em; border-top: 1px solid #e4e3e0; }
.wf__tool { position: absolute; left: 50%; bottom: .2em; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: .7em; background: #fff; border-radius: .9em; padding: .5em .8em; box-shadow: 0 .8em 2em -1em rgba(13, 13, 20, .35); }
.wf__tool i { width: 1.5em; height: 1.5em; border-radius: .45em; background: #eceae5; } .wf__tool i.is-on { background: #0d0d14; }
.wf__tool span { color: #65656d; } .wf__tool b { font-weight: 700; }
@keyframes wf-cta { from { transform: translateY(9.8em); } }
@keyframes wf-img { from { transform: translateY(-3.05em); } }
html.anim .atl__v.is-on .wf__pin { animation: atl-pop .5s var(--ease) .6s both; }
html.anim .atl__v.is-on .wf__pop { animation: atl-in .5s var(--ease) 1s both; }
html.anim .atl__v.is-on .wf__c--r { animation: atl-in .5s var(--ease) 2.3s both; }
html.anim .atl__v.is-on .wf__cta { animation: wf-cta .8s var(--ease-io) 3s both; }
html.anim .atl__v.is-on .wf__img { animation: wf-img .8s var(--ease-io) 3s both; }
html.anim .atl__v.is-on .wf__st em + em { animation: atl-fade .4s 4s both; }
/* design system */
.ds { height: 100%; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto minmax(0, 1fr); gap: .8em; }
.ds__sw { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: .7em; }
.ds__sw span { aspect-ratio: 5 / 3.3; border-radius: .7em; background: var(--c); padding: .8em; display: flex; flex-direction: column; justify-content: flex-end; font-size: .85em; color: rgba(13, 13, 20, .65); box-shadow: inset 0 0 0 1px rgba(13, 13, 20, .07); }
.ds__sw b { color: #0d0d14; font-weight: 700; } .ds__sw .is-dk { color: rgba(255, 255, 255, .75); } .ds__sw .is-dk b { color: #fff; }
html.anim .atl__v.is-on .ds__sw span { animation-name: atl-flip; animation-duration: .7s; }
.ds__type { background: #fff; border-radius: .8em; padding: 1em 1.3em; display: grid; grid-template-columns: auto 1fr; gap: 1.5em; align-items: center; }
.ds__type > b { font: 400 6.4em/.9 var(--serif); }
.ds__type ul { display: grid; gap: .5em; font-size: .9em; color: #65656d; }
.ds__type li { display: flex; justify-content: space-between; border-bottom: 1px solid #eceae5; padding-bottom: .4em; } .ds__type li span { color: #0d0d14; font-weight: 700; }
.ds__comp { background: #fff; border-radius: .8em; padding: 1em 1.2em; display: flex; flex-wrap: wrap; gap: .6em; align-content: center; align-items: center; }
.ds__btn { padding: .7em 1.1em; border-radius: .5em; background: #1f3d2b; color: #fff; font-weight: 700; } .ds__btn--o { background: transparent; color: #1f3d2b; box-shadow: inset 0 0 0 1.5px #1f3d2b; }
.ds__chip { padding: .4em .8em; border-radius: 1em; background: #c9d6b8; font-weight: 700; font-size: .9em; }
.ds__in { flex: 1 1 8em; padding: .7em .9em; border-radius: .5em; box-shadow: inset 0 0 0 1px #d4d4d9; color: #8b8b95; }
.ds__aa { padding: .45em .7em; border-radius: .5em; background: #0d0d14; color: #fff; font-size: .85em; font-weight: 700; }
html.anim .atl__v.is-on .ds__aa { animation: atl-pop .5s var(--ease) 1.6s both; }
/* timeline */
.tl { --lab: 9.6em; position: relative; height: 100%; background: #fff; border-radius: .8em; padding: 1em 1.2em 1.1em; display: grid; grid-template-rows: auto repeat(6, minmax(0, 1fr)); }
.tl__wk { display: grid; grid-template-columns: var(--lab) repeat(7, 1fr); color: #8b8b95; font-size: .82em; padding-bottom: .7em; border-bottom: 1px solid #eceae5; }
.tl__wk i { font-style: normal; }
.tl__row { position: relative; display: grid; grid-template-columns: var(--lab) 1fr; align-items: center; border-bottom: 1px solid #f3f1ec; }
.tl__row[style] { animation: none !important; }
.tl__row span { font-weight: 700; font-size: .95em; }
.tl__row i { display: block; height: 44%; min-height: .9em; margin-left: calc(var(--s) * 1%); width: calc((var(--e) - var(--s)) * 1%); border-radius: .5em; background: #dcdad4; transform-origin: left; }
.tl__row i.is-done { background: #0d0d14; } .tl__row i.is-now { background: var(--a-acc); }
.tl__row em { position: absolute; right: 0; bottom: 76%; font-style: normal; font-size: .82em; font-weight: 700; background: #0d0d14; color: #fff; padding: .25em .55em; border-radius: .4em; white-space: nowrap; }
.tl__today { position: absolute; top: 2.7em; bottom: 1em; left: calc(1.2em + var(--lab) + (100% - 2.4em - var(--lab)) * .44); width: 1.5px; background: var(--a-ink); transform-origin: top; }
.tl__today span { position: absolute; top: -.2em; left: 50%; transform: translateX(-50%); font-size: .8em; font-weight: 700; background: var(--a-ink); color: #fff; padding: .2em .5em; border-radius: .4em; }
html.anim .atl__v.is-on .tl__row i { animation: atl-grow .9s var(--ease) both; animation-delay: calc(var(--i) * 110ms + .25s); }
html.anim .atl__v.is-on .tl__row em { animation: atl-pop .5s var(--ease) 1.7s both; }
html.anim .atl__v.is-on .tl__today { animation: atl-growy .7s var(--ease) 1.1s both; }
/* decisions */
.dc { height: 100%; background: #fff; border-radius: .8em; padding: .4em 1.3em; display: grid; align-content: center; }
.dc li { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: center; gap: 1em; padding: .95em 0; border-bottom: 1px solid #eceae5; } .dc li:last-child { border: 0; }
.dc i { position: relative; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--a-acc); }
.dc i::after { content: ''; position: absolute; left: 36%; top: 20%; width: 24%; height: 46%; border: solid #0d0d14; border-width: 0 .16em .16em 0; transform: rotate(40deg); }
.dc b { font-weight: 700; } .dc span { color: #65656d; font-size: .9em; }
.dc .is-open i { background: transparent; box-shadow: inset 0 0 0 1.5px #b7b7bf; } .dc .is-open i::after { display: none; }
.dc .is-open span { color: #0d0d14; background: #f0efea; padding: .3em .7em; border-radius: .5em; font-weight: 700; }
html.anim .atl__v.is-on .dc i { animation: atl-pop .5s var(--ease) both; animation-delay: calc(var(--i) * 170ms + .55s); }

/* ---------- studio: Summit House leadership (compact, secondary to the team grid) ---------- */
.leaders { margin-top: clamp(56px, 9vh, 110px); padding-top: 26px; border-top: 1px solid var(--line); }
.leaders__h { align-items: start; row-gap: 16px; margin-bottom: 10px; }
.leaders__h .pill { grid-column: 1 / span 4; }
.leaders__h .body { grid-column: 7 / span 6; max-width: 52ch; }
.leaders__k { margin: 30px 0 12px; }
.leaders__g { row-gap: 0; border-bottom: 1px solid var(--line); }
.leaders__g li { grid-column: span 3; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.leaders__g img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; filter: grayscale(1); transition: filter .6s; }
.leaders__g span { font: 500 13px/1.35 var(--sans); color: var(--mute); }
.leaders__g b { display: block; font: 500 15px/1.3 var(--sans); color: var(--fg); padding-bottom: 3px; }
@media (max-width: 1099px) { .leaders__g li { grid-column: span 6; } .leaders__h .pill, .leaders__h .body { grid-column: 1 / -1; } }
@media (max-width: 599px) { .leaders__g li { grid-column: 1 / -1; grid-template-columns: 64px minmax(0, 1fr); } .leaders__g img { width: 64px; height: 64px; } }

/* ---------- forms: honeypot, wild slider, trail permit ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form.is-sending button[type='submit'] { opacity: .55; pointer-events: none; }
.form__err { color: var(--fg); }
.wild legend span { margin-left: 6px; font-weight: 400; }  /* weight, not opacity, sets it back: opacity dropped it below AA contrast */
.wild__box { position: relative; display: grid; gap: 10px; padding: 14px 16px 13px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.wild__cv { display: block; width: 100%; height: 92px; }
.wild__r { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; }
.wild__r::-webkit-slider-runnable-track { height: 1px; background: var(--fg); }
.wild__r::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -9px; background: var(--fg); border: 0; border-radius: 0; transition: transform .25s var(--ease); }
.wild__r:active::-webkit-slider-thumb { transform: scale(1.25); }
.wild__r::-moz-range-track { height: 1px; background: var(--fg); }
.wild__r::-moz-range-thumb { width: 18px; height: 18px; background: var(--fg); border: 0; border-radius: 0; }
.wild__r:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.wild__row { display: flex; justify-content: space-between; gap: 12px; font: 500 14px/1.2 var(--sans); }
.wild__ft { color: var(--mute); font-variant-numeric: tabular-nums; }
.permit { position: relative; display: grid; gap: 16px; padding: 26px 26px 20px; border: 1px solid var(--fg); border-radius: var(--r); background: var(--card); }
.permit::before, .permit::after { content: ''; position: absolute; top: 132px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg); }
.permit::before { left: -12px; clip-path: inset(0 0 0 50%); } .permit::after { right: -12px; clip-path: inset(0 50% 0 0); }
.permit__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.permit__top b { font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.permit__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); margin-top: 6px; border-top: 1px dashed var(--fg); }
.permit__rows div { display: grid; gap: 5px; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.permit__rows dt { font: 500 12px/1 var(--sans); color: var(--mute); } .permit__rows dd { font: 500 15px/1.3 var(--sans); }
.permit__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.permit__foot img { width: 54px; height: auto; }
html.anim .form__ok.is-in .permit { animation: permit 1s var(--ease) both; }
@keyframes permit { from { opacity: 0; transform: translateY(26px) rotate(-1.6deg); } }

/* ---------- case study: coming soon, section labels, video, scrolling browser windows ---------- */
.tags .tag--soon { gap: 8px; border-style: dashed; }
.tag--soon i { width: 7px; height: 7px; background: var(--fg); animation: blink 1.4s steps(2, jump-none) infinite; }
.tag--soon span { color: var(--mute); }
@keyframes blink { to { opacity: .15; } }
.g-h { display: grid; gap: 12px; justify-items: start; padding: clamp(24px, 4vh, 48px) 0 2px; }
.g-h p { font-size: 16px; line-height: 1.5; color: var(--fg2); max-width: 46ch; }
.g--video video, .fig--video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.win__bar { align-items: center; }
.win__bar span { margin-left: 10px; font: 500 11px/1 var(--sans); color: rgba(243, 241, 236, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; touch-action: pan-y; }
.win__view img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transform: translate3d(0, calc(var(--sy, 0) * -1px), 0); will-change: transform; -webkit-user-drag: none; user-select: none; }
.g-win.win--m { width: min(100%, 320px); margin-inline: auto; } .win--m .win__view { aspect-ratio: 9 / 17; }
.g-phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.g-phones .fig { aspect-ratio: 1170 / 2532; border-radius: clamp(10px, 1.2vw, 20px); }
@media (max-width: 899px) { .g-phones { grid-template-columns: 1fr 1fr; } }
.g-pair.g-pair--nat .fig { aspect-ratio: var(--ar); }
.g--nat, .g-pair--nat .fig, .g-phones .fig { outline: 1px solid var(--line); outline-offset: -1px; }
.g-wins { display: flex; justify-content: center; gap: clamp(20px, 4vw, 72px); align-items: flex-start; }
.g-wins .g-win.win--m { flex: 0 1 300px; width: auto; margin: 0; }

/* ---------- wp.breakpoints articles: charts, diagrams, screenshots, sources ---------- */
.prose > p, .prose > ul, .prose > h2, .prose > h3, .prose > blockquote { max-width: 100%; }
.prose p, .prose li { text-wrap: pretty; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.prose a:hover { color: var(--fg); }
.prose strong { color: var(--fg); font-weight: 500; }
.prose ul { display: grid; gap: .55em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--fg); }
.prose figure { margin: .6em 0; }
.prose figcaption { display: flex; justify-content: space-between; gap: 6px 18px; flex-wrap: wrap; font: 500 13px/1.4 var(--sans); color: var(--mute); }
.prose figcaption b { font-weight: 500; color: var(--fg); }
.cht { display: grid; gap: 9px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.cht figcaption { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.cht__r { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr) 62px; gap: 14px; align-items: center; font: 500 14px/1.25 var(--sans); color: var(--fg2); }
.cht__r > span { color: var(--fg); }
.cht__r > i { display: block; height: 14px; width: calc(var(--v) * 1%); min-width: 2px; background: color-mix(in srgb, var(--fg) 26%, transparent); transform-origin: left; }
.cht__r.is-key > i { background: var(--fg); }
.cht__r > b { font-weight: 500; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
html.anim .cht[data-fade] .cht__r > i { transform: scaleX(0); transition: transform 1.1s var(--ease); }
html.anim .cht[data-fade].is-in .cht__r > i { transform: none; }
html.anim .cht .cht__r:nth-of-type(2) > i { transition-delay: .08s; } html.anim .cht .cht__r:nth-of-type(3) > i { transition-delay: .16s; } html.anim .cht .cht__r:nth-of-type(4) > i { transition-delay: .24s; } html.anim .cht .cht__r:nth-of-type(5) > i { transition-delay: .32s; } html.anim .cht .cht__r:nth-of-type(6) > i { transition-delay: .4s; }
.cht__n { font: 400 13px/1.45 var(--sans); color: var(--mute); padding-top: 8px; }
.foldmap { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.foldmap__page { position: relative; height: 520px; border: 1px solid var(--fg); border-radius: 8px 8px 0 0; border-bottom-style: dashed; overflow: hidden; background: var(--bg); }
.foldmap__page::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: var(--fg); }
.foldmap__w { position: absolute; left: 6%; background: color-mix(in srgb, var(--fg) 14%, transparent); border-radius: 3px; }
.foldmap__l { position: absolute; left: 0; right: 0; top: calc(var(--y) / 1200 * 100%); border-top: 1px dashed var(--fg); }
.foldmap__l span { position: absolute; left: var(--x, 4%); top: -9px; padding: 3px 7px 2px; border-radius: 4px; background: var(--fg); color: var(--bg); font: 500 11px/1.2 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 599px) { .foldmap__l span { font-size: 9px; padding: 2px 4px; } }
.loopmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.loopmap div { padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); display: grid; gap: 8px; align-content: start; font: 400 14px/1.45 var(--sans); color: var(--fg2); }
.loopmap b { font: 400 22px/1.05 var(--serif); color: var(--fg); }
.loopmap small { font: 500 12px/1 var(--sans); color: var(--mute); }
.loopmap .is-key { border-color: var(--fg); }
@media (max-width: 699px) { .loopmap { grid-template-columns: 1fr; } }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.swatches div { aspect-ratio: 4 / 5; border-radius: 10px; background: var(--c); display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; font: 500 12px/1.35 var(--sans); color: var(--t, #0d0d14); box-shadow: inset 0 0 0 1px rgba(13, 13, 20, .08); }
.swatches b { font-weight: 500; font-size: 14px; }
@media (max-width: 599px) { .swatches { grid-template-columns: 1fr 1fr; } }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); display: grid; gap: 10px; align-content: start; }
.ba div.is-key { border-color: var(--fg); }
.ba small { font: 500 12px/1 var(--sans); color: var(--mute); }
.ba p { font-size: 15px; line-height: 1.5; color: var(--fg2); } .ba .is-key p { color: var(--fg); font-size: 17px; }
@media (max-width: 699px) { .ba { grid-template-columns: 1fr; } }
.shot .win { box-shadow: 0 30px 60px -36px rgba(13, 13, 20, .45); }
.shot figcaption { padding-top: 12px; }
.shot--plain img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.prose .src { display: grid; gap: 8px; margin-top: .4em; padding: 20px 0 0 0; border-top: 1px solid var(--line); counter-reset: src; font: 400 14px/1.5 var(--sans); color: var(--fg2); list-style: none; }
.prose .src li { counter-increment: src; display: grid; grid-template-columns: 34px minmax(0, 1fr); }
.prose .src li::before { content: counter(src, decimal-leading-zero); font: 500 12px/1.9 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.prose .src a { overflow-wrap: anywhere; }
.prose .src-h { font: 500 13px/1 var(--sans); color: var(--mute); margin-top: 1.4em; }
.prose sup { font: 500 11px/1 var(--sans); color: var(--mute); padding-left: 2px; }
.prose sup a { text-decoration: none; }
.prose .rule { padding: 20px 22px; border: 1px solid var(--fg); border-radius: var(--r); font-size: 17px; color: var(--fg); display: grid; gap: 8px; }
.prose .rule b { font: 500 13px/1 var(--sans); color: var(--mute); }

/* ---------- easter eggs ---------- */
.egg-run { position: fixed; left: 0; bottom: 0; z-index: 90; pointer-events: none; transform: translate3d(var(--x, -40vw), 0, 0); will-change: transform; }
.egg-run img { display: none; height: clamp(96px, 10vw, 150px); width: auto; } .egg-run img.is-on { display: block; }
body[data-theme='ink'] .egg-run img, body[data-theme='ink'] .egg-scratch img { filter: invert(1); }
.egg-paw { position: fixed; z-index: 89; width: 4px; height: 4px; pointer-events: none; color: var(--fg); background: currentColor; box-shadow: -6px -7px 0 currentColor, 0 -9px 0 currentColor, 6px -7px 0 currentColor, -4px 0 0 currentColor, 4px 0 0 currentColor, 0 4px 0 currentColor, -4px 4px 0 currentColor, 4px 4px 0 currentColor; animation: paw 2.5s linear forwards; }
@keyframes paw { 60% { opacity: 1; } to { opacity: 0; } }
.egg-scratch { position: fixed; inset: 0; z-index: 91; display: grid; place-items: center; pointer-events: none; }
.egg-scratch img { width: min(64vh, 56vw); animation: scratch 1.6s var(--ease) both; }
@keyframes scratch { 0% { clip-path: inset(0 0 100% 100%); transform: scale(1.1); } 22% { clip-path: inset(0); transform: none; } 75% { opacity: 1; } 100% { opacity: 0; } }
html.egg-shake main { animation: shake .42s linear; }
@keyframes shake { 20% { transform: translate(-7px, 3px); } 40% { transform: translate(6px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }
.egg-grid { position: fixed; inset: 0; z-index: 88; pointer-events: none; opacity: 0; transition: opacity .3s; }
.egg-grid.is-on { opacity: 1; }
.egg-grid div { height: 100%; width: 100%; max-width: 1920px; margin-inline: auto; padding-inline: var(--gut); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.egg-grid i { background: rgba(143, 132, 251, .16); box-shadow: inset 1px 0 0 rgba(143, 132, 251, .5), inset -1px 0 0 rgba(143, 132, 251, .5); }
.egg-toast { position: fixed; left: 50%; bottom: 28px; z-index: 92; padding: 12px 16px 11px; border-radius: 999px; background: #0d0d14; color: #f3f1ec; font: 500 13px/1 var(--sans); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 10px); transition: opacity .4s, transform .5s var(--ease); box-shadow: 0 0 0 1px rgba(243, 241, 236, .12); }
.egg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.egg-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 93; pointer-events: none; }
html.wild .btn--cta { background: #0d0d14; color: #c1ff2e; }
html.wild body[data-theme] { --bg: #c1ff2e; --card: #b4f219; --fg: #0d0d14; --fg2: rgba(13, 13, 20, .72); --line: rgba(13, 13, 20, .22); }

/* ---------- round 3: jump nav in cases, ways out to Summit House ---------- */
.tlk { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .3s; }
.tlk:hover { text-decoration-color: currentColor; }
.jump { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.jump .label { margin-right: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 8px; border-radius: 999px; border: 1px solid var(--line); font: 500 13px/1 var(--sans); color: var(--fg); transition: background .3s, color .3s, border-color .3s; }
.jump a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .35; transition: opacity .3s; }
.jump a:hover { border-color: var(--fg); }
.jump--side a.is-on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.jump--side a.is-on::before { opacity: 1; }
.jump--top { margin-left: auto; margin-right: clamp(16px, 3vw, 48px); }
.jump--side { padding-top: 22px; border-top: 1px solid var(--line); }
.jump--side .label { flex-basis: 100%; margin: 0 0 6px; }
#gallery, .g-h[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }
@media (max-width: 899px) { .jump--side { display: none; } .case-top__meta { flex-wrap: wrap; } .jump--top { order: 3; flex-basis: 100%; margin: 6px 0 0; } }
.eco__shl { pointer-events: auto; display: grid; justify-items: center; gap: 14px; }
.eco__shl .label { position: relative; padding-bottom: 4px; }
.eco__shl .label::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.eco__shl:hover .label::after, .eco__shl:focus-visible .label::after { transform: scaleX(1); }
.eco[data-hot] .eco__shl, .eco.is-busy .eco__shl { pointer-events: none; }
.eco__list .eco__sh .n img { display: block; width: 18px; height: 18px; }
.eco__list .eco__sh .go { transform: rotate(-45deg); }
.eco__list .eco__sh a:hover .go { transform: rotate(-45deg) scale(1.08); }

/* ---------- round 4: a video as a case's main hero (cards, case cover, home stage) ---------- */
.wk .fig--video, .next__m .fig--video, .case-cover .fig--video { background: #0a0b0d; }
.wk .fig--video video, .case-cover .fig--video video { object-position: 0 50%; }               /* a touch narrower than 16:9: keep the left edge of the page */
.wk-grid.is-filtered .fig--video video, .next__m .fig--video video { object-fit: contain; }   /* much narrower: show the whole frame */
.stage__vid { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.stage__frame.has-vid .stage__vid.is-ready { opacity: 1; }
@media (max-width: 899px) { .wk .fig--video video, .stage__vid { object-fit: contain; } }

.end__base a { transition: color .3s; } .end__base a:hover { color: var(--fg); }

/* Consent Pro popup: use the site's sans (custom properties inherit into its shadow roots) */
:root { --consentpro-font-family: 'HN', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* ---------- Safari + phone QA (2026-11-13) ---------- */
/* Card images in the shared-row grids (home featured work, article cards) are sized by a padding spacer, not aspect-ratio.
   Safari gives an aspect-ratio box in a subgrid row too little height, which hid the captions behind the images. */
.feat > .wk .fig, .bp > .post .fig { aspect-ratio: auto; }
.feat > .wk .fig::before, .bp > .post .fig::before { content: ''; display: block; padding-top: var(--pt, 75%); }
.feat > .wk .fig > img, .feat > .wk .fig > video, .bp > .post .fig > img { position: absolute; inset: 0; }
.feat > .wk--w { --pt: 62.5%; }
.bp > .post--lg { --pt: 56.25%; }
.feat > .wk--t .fig::before, .bp > .post--fill .fig::before { display: none; }
@media (max-width: 899px) {
  .feat > .wk { --pt: 80%; }
  .bp > .post, .bp > .post--lg { --pt: 75%; }
  .feat > .wk--t .fig::before, .bp > .post--fill .fig::before { display: block; }
}
/* The wheel's rotating ring is a square, so its corners swing past the screen edge on phones and widened the page. */
@media (max-width: 1099px) { .eco { overflow-x: clip; } }
html, body { overflow-x: clip; }

/* phones: comfortable tap targets, article measure, a readable Atlas sample, a smaller consent popup */
@media (pointer: coarse) {
  .lnk::before { content: ''; position: absolute; inset: -11px -8px; }
  .nav__logo { padding-block: 12px; margin-block: -12px; }
  .end__base a, .end__nav a { display: inline-block; padding-block: 8px; margin-block: -8px; }
}
/* footer links wrap onto rows on small screens and touch devices: rows must not overlap, each link keeps a 28px target */
@media (pointer: coarse), (max-width: 899px) { .end__nav { row-gap: 0; } .end__nav a { display: inline-block; padding-block: 7px; margin-block: 0; } }
@media (max-width: 899px) {
  .stage__tabs { gap: 2px 20px; }
  .stage__tabs button { padding: 9px 0 10px; }
}
@media (max-width: 599px) {
  .prose { font-size: 17px; }
  /* the sample workspace is drawn for a wide screen: let it run wider than the phone and scroll sideways */
  .atlx { container-type: normal; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .atlx::-webkit-scrollbar { display: none; }
  .atlx .atl { width: 640px; font-size: 8.6px; }
  .atlx figcaption { position: sticky; left: 0; }
  :root { --consentpro-font-size-base: 13px; --consentpro-font-size-small: 12px; --consentpro-space-lg: 14px; --consentpro-space-md: 10px; --consentpro-banner-offset-right: 10px; --consentpro-banner-offset-bottom: 10px; --consentpro-banner-offset-left: 10px; }
  consentpro-banner { --consentpro-banner-max-width: calc(100vw - 48px) !important; }  /* its box is content-box: 20px of side offsets + 28px of padding */
}

/* ---------- accessibility pass (2026-11-13) ---------- */
/* Muted text is theme-aware (see the body themes at the top): dark enough on paper and white, light enough on ink. */
/* topic filter on the article listing */
@media (min-width: 900px) { .bp.is-filtered > .post, .bp.is-filtered > .post--lg { grid-column: span 4; --pt: 75%; margin-bottom: clamp(40px, 6vh, 72px); } .bp.is-filtered > .post--fill .fig::before { display: block; } }
.bp__none { grid-column: 1 / -1; color: var(--fg2); }

/* cross-document page transition */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* inline column placements collapse to a single column on small screens */
@media (max-width: 899px) { .grid > [style*="grid-column"] { grid-column: 1 / -1 !important; justify-self: start !important; } .grid > form[style*="grid-column"] { justify-self: stretch !important; } }
