/* Opus Automations: page styles on top of kit/slab.css. */
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 300 500; font-style: italic; font-display: swap; }

:root {
  --world-1: #EFECE5; --world-2: #CFCAC0; --world-3: #B8AFA0; --world-4: #8E877B;
  --slab: #151513; --card: #2B2A27; --ink: #151513; --ink-on-dark: #EFECE5; --muted-on-dark: #A8A296;
  --accent: #E5482F; --accent-ink: #C42B1C; --rim: rgba(239, 236, 229, 0.12);
  --sans: "Schibsted Grotesk", system-ui, sans-serif; --serif: "Newsreader", Georgia, serif;
  --fs-h1: 92; --fs-h2: 76; --fs-stmt: 188; --fs-h3: 40; --fs-line: 32; --fs-body: 18; --fs-small: 14;
  --fs-path: 17; --fs-quote: 40; --fs-big: 56; --pad: 120; --rail: 300;
  --ink-soft: rgba(21, 21, 19, 0.72);
}
@media (max-width: 900px), (max-height: 520px) {
  :root { --fs-h1: 48; --fs-h2: 38; --fs-stmt: 56; --fs-h3: 28; --fs-line: 22; --fs-body: 16; --fs-small: 13;
    --fs-path: 15; --fs-quote: 24; --fs-big: 34; --pad: 22; }
}

body { font-size: max(15px, calc(var(--fs-body) * var(--w))); line-height: 1.5; letter-spacing: -0.005em; }
a { color: inherit; }
p, h1, h2, h3, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--world-1); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--slab); color: var(--world-1); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }

/* shared type */
.h1, .h2, .h3, .stmt { font-weight: 400; color: inherit; }
.h1 { font-size: calc(var(--fs-h1) * var(--w)); letter-spacing: -0.062em; line-height: 0.92; }
.h2 { font-size: calc(var(--fs-h2) * var(--w)); letter-spacing: -0.056em; line-height: 0.96; }
.h3 { font-size: calc(var(--fs-h3) * var(--w)); letter-spacing: -0.045em; line-height: 1.02; }
.swap { font-size: 1.04em; letter-spacing: -0.02em; padding-right: 0.02em; }
.small { font-size: max(12px, calc(var(--fs-small) * var(--w))); line-height: 1.45; }
.meta { font-size: max(12px, calc(var(--fs-small) * var(--w))); font-weight: 500; letter-spacing: -0.005em; }
.path { font-size: max(14px, calc(var(--fs-path) * var(--w))); font-weight: 500; letter-spacing: -0.02em; }
.slab .path, .slab .meta { color: var(--muted-on-dark); }
.muted { color: var(--muted-on-dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: max(46px, calc(56 * var(--w)));
  padding: 0 max(20px, calc(28 * var(--w))); border-radius: 999px; font-weight: 500; text-decoration: none;
  font-size: max(15px, calc(16 * var(--w))); letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .3s; }
.btn-dark { background: var(--slab); color: var(--world-1);
  box-shadow: inset 0 1px 0 rgba(239, 236, 229, .14), 0 14px 28px -14px rgba(21, 21, 19, .7); }
.btn-dark:hover { background: var(--card); }
.btn-red { background: var(--accent); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(21, 21, 19, .16), 0 18px 36px -16px rgba(229, 72, 47, .55); }
.btn-red:hover { background: #ec5a40; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em;
  font-size: max(15px, calc(16 * var(--w))); }
.link:hover { text-decoration-thickness: 2px; }

/* nav pill and its menu (one glass element, it grows to hold the menu) */
.nav-pill { flex-direction: column; align-items: stretch; gap: 0; padding: 6px; border-radius: 30px; width: max-content; max-width: calc(100vw - 24px); box-sizing: border-box; }
.nav-row { display: flex; align-items: center; gap: max(8px, calc(10 * var(--w))); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); padding: 0 6px 0 4px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.025em; }
.brand .mark { flex: none; display: block; width: 28px; height: 23px; background: currentColor;   /* the Opus mark as a mask, so it takes the text colour (same as the live site's Logo) */
  -webkit-mask: url(logos/opus-icon-mono.png) center / contain no-repeat; mask: url(logos/opus-icon-mono.png) center / contain no-repeat; }
.btn-s { height: 38px; padding: 0 16px; font-size: 14px; }
.menu-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(239, 236, 229, .7); color: var(--ink);
  font: 500 19px/1 var(--sans); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(21, 21, 19, .14); transition: transform .35s; }
.menu-btn:hover { background: var(--world-1); }
.nav-pill.open .menu-btn { transform: rotate(-30deg); }
.menu { display: none; padding: 8px 4px 4px; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.nav-pill.open { border-radius: 24px; }
.nav-pill.open .menu { display: block; }
.menu a { display: flex; align-items: baseline; gap: 14px; padding: 10px 12px; border-radius: 14px; text-decoration: none; }
.menu a:hover { background: rgba(239, 236, 229, .7); }
.menu b { font-weight: 500; font-size: 15px; letter-spacing: -0.02em; min-width: 74px; }
.menu span { font-size: 13px; color: var(--ink-soft); }

/* section scaffolding */
main { position: relative; z-index: 1; }
section { scroll-margin-top: 70px; }
.sec-head { display: grid; grid-template-columns: calc(var(--rail) * var(--w)) 1fr; }
.sec-head .path { grid-row: 1 / span 2; padding-top: calc(var(--fs-h2) * var(--w) * 0.2); }
.sec-head .h2, .sec-head .intro { grid-column: 2; }
.sec-head .h2 { max-width: 13.5em; }
.intro { max-width: calc(600 * var(--w)); margin-top: calc(30 * var(--w)); }
.slab .intro { color: var(--muted-on-dark); }
.world-sec { padding: calc(190 * var(--w)) calc(var(--pad) * var(--w)) calc(150 * var(--w)); position: relative; }
.world-sec .intro, .world-sec .body-ink { color: var(--ink-soft); }
.slab { padding: calc(140 * var(--w)) calc(var(--pad) * var(--w)) calc(160 * var(--w)); }

/* 1. hero */
.hero { position: relative; height: 200vh; z-index: 1; }
.stage { position: sticky; top: 0; height: 100vh; overflow: clip; }
.hero-mark { left: 50%; top: 53%; transform: translate(-50%, -50%); font-size: calc(660 * var(--w)); color: var(--world-4); opacity: .4; }
.hero-copy { position: absolute; z-index: 2; left: calc(96 * var(--w)); top: 50%; transform: translateY(-58%); width: calc(640 * var(--w)); }
.kicker { font-size: max(13px, calc(15 * var(--w))); font-weight: 500; letter-spacing: -0.01em; color: var(--ink-soft); margin-bottom: calc(26 * var(--w)); }
.hero .h1 { color: var(--ink); }
.lead { margin-top: calc(30 * var(--w)); max-width: calc(500 * var(--w)); color: var(--ink-soft); }
.ctas { display: flex; align-items: center; flex-wrap: wrap; gap: max(14px, calc(26 * var(--w))); margin-top: calc(38 * var(--w)); }
.readouts { position: absolute; z-index: 2; left: calc(96 * var(--w)); bottom: calc(52 * var(--w)); display: flex; }
.readouts li { padding: 0 calc(34 * var(--w)) 0 calc(18 * var(--w)); border-left: 1px solid rgba(21, 21, 19, .22); }
.readouts li:first-child { padding-left: 0; border-left: 0; }
.readouts b { display: block; font-weight: 400; font-size: max(24px, calc(38 * var(--w))); letter-spacing: -0.05em; line-height: 1; }
.readouts span { display: block; margin-top: 8px; color: var(--ink-soft); }
.sculpture { position: absolute; z-index: 1; right: calc(60 * var(--w)); top: 50%; transform: translateY(-47%);
  width: min(calc(640 * var(--w)), calc(74vh * 1.0423)); aspect-ratio: 1.0423; }
.sculpture canvas { display: block; width: 100%; height: 100%; }
.sculpture { position: absolute; }
.sculpture .still-img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.sculpture.show-still .still-img { display: block; }
.sculpture.show-still canvas { visibility: hidden; }
/* A wide, short window (1920 x 840) has less height than the 1440 x 900 design, so the pinned hero
   scales by whichever is smaller, width or height. The side margins keep the page-wide scale (--gw). */
@media (min-width: 901px) and (min-height: 521px) {
  .stage { --gw: calc(100vw / 1440); --w: min(calc(100vw / 1440), calc(100vh / 800)); }
  .hero-copy, .readouts { left: calc(96 * var(--gw)); }
  .sculpture { right: calc(60 * var(--gw)); }
}

/* hero pins: a dot on the block, a leader, a small frosted tag. Out of sight until pins.js has put
   them on their points (it adds .placed), so they are never drawn in a pile at the corner. */
.pins { position: absolute; inset: 0; }
.pin { position: absolute; left: 0; top: 0; transform: translate(var(--x, 0), var(--y, 0)); text-decoration: none; color: var(--ink);
  --len: max(34px, calc(52 * var(--w))); visibility: hidden; }
.pins.placed .pin { visibility: visible; }
.pin i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--world-1);
  box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 7px rgba(239, 236, 229, .38); }
.pin::before { content: ""; position: absolute; left: 0; top: 0; width: var(--len); height: 1px; background: var(--ink);
  transform-origin: 0 50%; transform: rotate(var(--ang)); opacity: .7; }
.pin span { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 7px 13px 8px; border-radius: 999px;
  font-size: max(13px, calc(15 * var(--w))); font-weight: 500; letter-spacing: -0.02em; line-height: 1;
  transform: translate(calc(cos(var(--ang)) * var(--len)), calc(sin(var(--ang)) * var(--len))) translate(var(--ox), -50%);
  transition: background-color .3s, color .3s; }
.pin span { background: rgba(239, 236, 229, .78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 1px rgba(21, 21, 19, .12), 0 10px 24px -12px rgba(21, 21, 19, .45); }
.pin:hover span, .pin:focus-visible span { background: var(--ink); color: var(--world-1); }
.pin[data-dir="ul"] { --ang: -146deg; --ox: -100%; }
.pin[data-dir="ur"] { --ang: -34deg; --ox: 0%; }
.pin[data-dir="dr"] { --ang: 24deg; --ox: 0%; }
.pin[data-dir="l"] { --ang: 172deg; --ox: -100%; }

/* 2. what we build */
.build-slab { margin-top: -50vh; }
.cols { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto); grid-auto-flow: column;
  column-gap: calc(80 * var(--w)); margin-top: calc(120 * var(--w)); }
.col-head { padding-bottom: calc(44 * var(--w)); scroll-margin-top: 90px; }
.col-head .h3 { margin: calc(16 * var(--w)) 0 calc(20 * var(--w)); }
.col-head p:last-child { color: var(--muted-on-dark); max-width: 30em; }
.line { font-size: calc(var(--fs-line) * var(--w)); letter-spacing: -0.038em; line-height: 1.12;
  padding: calc(24 * var(--w)) 0 calc(26 * var(--w)); border-top: 1px solid rgba(239, 236, 229, .14); }

/* 3. how it goes: four frosted pieces cut to fit, like the sculpture */
.pieces { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto;
  gap: calc(16 * var(--w)); margin-top: calc(100 * var(--w)); }
.pieces-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pc { display: contents; }
.pc-text, .pc-leg { position: relative; padding: calc(34 * var(--w)) calc(34 * var(--w)) calc(38 * var(--w)); }
.pc-text .h3 { font-size: calc(34 * var(--w)); margin-bottom: calc(16 * var(--w)); }
.pc-text p { color: var(--ink-soft); font-size: max(15px, calc(17 * var(--w))); max-width: 27em; }
.pc-leg { display: flex; align-items: flex-end; }
.pc-leg .num { font-size: calc(54 * var(--w)); letter-spacing: -0.05em; line-height: 1; color: rgba(21, 21, 19, .34); }
.pc1 .pc-text { grid-area: 1 / 1 / 2 / 3; } .pc1 .pc-leg { grid-area: 2 / 1 / 3 / 2; }
.pc2 .pc-leg { grid-area: 1 / 3 / 2 / 4; } .pc2 .pc-text { grid-area: 2 / 2 / 3 / 4; }
.pc3 .pc-text { grid-area: 1 / 4 / 2 / 6; } .pc3 .pc-leg { grid-area: 2 / 4 / 3 / 5; }
.pc4 .pc-leg { grid-area: 1 / 6 / 2 / 7; } .pc4 .pc-text { grid-area: 2 / 5 / 3 / 7; }
.pc2 .pc-leg, .pc4 .pc-leg { align-items: flex-start; }

/* 4. our work */
.work-slab { margin-top: 0; }
.work-grid { display: grid; grid-template-columns: 1fr calc(580 * var(--w)); column-gap: calc(80 * var(--w)); margin-top: calc(110 * var(--w)); }
.work-list { counter-reset: w; }
.work-row { padding: calc(30 * var(--w)) 0 calc(34 * var(--w)); border-top: 1px solid rgba(239, 236, 229, .14); }
.work-row .meta { margin-bottom: calc(12 * var(--w)); }
.work-row .h3 { color: var(--muted-on-dark); transition: color .4s; }
.work-row.on .h3 { color: var(--ink-on-dark); }
.wline { margin-top: calc(12 * var(--w)); color: var(--muted-on-dark); max-width: 30em; }
.waddr { display: inline-block; margin-top: calc(14 * var(--w)); font-weight: 500; font-size: max(14px, calc(15 * var(--w))); text-underline-offset: .28em; text-decoration-thickness: 1px; }
.wthumb { display: none; }
.viewer { position: sticky; top: calc(50vh - 220 * var(--w)); align-self: start; background: var(--card); border-radius: calc(26 * var(--w)); padding: calc(12 * var(--w));
  box-shadow: inset 0 1px 0 rgba(239, 236, 229, .12), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: calc(14 * var(--w)); overflow: hidden; background: var(--slab); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slate { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(36 * var(--w)); box-sizing: border-box; background: var(--slab); }
.slate b { font-weight: 400; font-size: calc(76 * var(--w)); letter-spacing: -0.06em; line-height: .9; color: var(--ink-on-dark); }
.slate span { margin-top: calc(14 * var(--w)); color: var(--muted-on-dark); max-width: 24em; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; padding: calc(14 * var(--w)) calc(8 * var(--w)) calc(4 * var(--w)); color: var(--muted-on-dark); }
.viewer-bar b { font-weight: 500; color: var(--ink-on-dark); }
.as { margin-top: calc(140 * var(--w)); padding-top: calc(70 * var(--w)); border-top: 1px solid rgba(239, 236, 229, .14);
  display: grid; grid-template-columns: calc(var(--rail) * var(--w)) 1fr; }
.as-head { display: contents; }
.as-head .meta { grid-column: 1; grid-row: 1 / span 2; padding-top: calc(14 * var(--w)); }
.as-head .h3 a { text-decoration: none; }
.as-head .h3 { grid-column: 2; font-size: calc(56 * var(--w)); }
.as-text { grid-column: 2; margin-top: calc(26 * var(--w)); display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(70 * var(--w)); align-items: end; }
.as-text p { color: var(--muted-on-dark); max-width: 30em; }
.unnamed { font-family: var(--serif); font-style: italic; font-size: max(20px, calc(30 * var(--w))); letter-spacing: -0.01em; line-height: 1.15; color: var(--ink-on-dark) !important; }
.as-nums { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(14 * var(--w)); margin-top: calc(60 * var(--w)); }
.as-nums li { background: var(--card); border-radius: calc(22 * var(--w)); padding: calc(28 * var(--w)) calc(26 * var(--w)) calc(30 * var(--w));
  box-shadow: inset 0 1px 0 rgba(239, 236, 229, .09); display: flex; flex-direction: column; }
.big { font-weight: 400; font-size: calc(var(--fs-big) * var(--w)); letter-spacing: -0.055em; line-height: 1; white-space: nowrap; }
.as-nums .lab { margin-top: calc(18 * var(--w)); font-weight: 500; color: var(--ink-on-dark); }
.as-nums .txt { margin-top: calc(8 * var(--w)); color: var(--muted-on-dark); }

/* 5. in their words */
.quotes { margin-top: calc(110 * var(--w)); display: grid; row-gap: calc(130 * var(--w)); }
.quote { display: grid; column-gap: calc(80 * var(--w)); }
/* each quote sits beside its own video: the tall one on the left, the wide one on the right */
.q-portrait { grid-template-columns: min(calc(320 * var(--w)), 42vh) minmax(0, 1fr); grid-template-rows: 1fr auto; }
.q-portrait .tvid { grid-column: 1; grid-row: 1 / 3; }
.q-portrait blockquote { grid-column: 2; align-self: end; }
.q-portrait figcaption { grid-column: 2; }
.q-land { grid-template-columns: minmax(0, 1fr) calc(600 * var(--w)); }
.q-land .tvid { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.q-land blockquote { grid-column: 1; grid-row: 1; align-self: end; }
.q-land figcaption { grid-column: 1; grid-row: 2; align-self: start; }
.tvid { position: relative; aspect-ratio: var(--ar); border-radius: max(18px, calc(28 * var(--w))); overflow: hidden; background: var(--slab);
  box-shadow: 0 calc(34 * var(--w)) calc(70 * var(--w)) calc(-34 * var(--w)) rgba(21, 21, 19, .5); }
.tvid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--slab); }
.tvid-play { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; cursor: pointer; font: inherit; text-align: left;
  color: var(--ink-on-dark); display: flex; align-items: flex-end; gap: max(12px, calc(16 * var(--w)));
  padding: max(16px, calc(24 * var(--w)));
  background: linear-gradient(to top, rgba(21, 21, 19, .7), rgba(21, 21, 19, .26) 30%, rgba(21, 21, 19, 0) 58%); }
.tvid-ico { flex: none; width: max(52px, calc(64 * var(--w))); aspect-ratio: 1; border-radius: 50%; background: var(--world-1);
  display: grid; place-items: center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.tvid-ico::before { content: ""; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink); }
.tvid-play:hover .tvid-ico { transform: scale(1.07); }
.tvid-play:focus-visible { outline: 2px solid var(--world-1); outline-offset: -8px; border-radius: inherit; }
.tvid-lab { display: flex; flex-direction: column; gap: 1px; font-size: max(13px, calc(15 * var(--w))); line-height: 1.3; padding-bottom: 6px; }
.tvid-lab b { font-weight: 500; }
.tvid-lab span { color: rgba(239, 236, 229, .78); }
.tvid.playing .tvid-play { display: none; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: calc(var(--fs-quote) * var(--w));
  line-height: 1.16; letter-spacing: -0.018em; color: var(--ink); text-indent: -0.42em; }
.quote figcaption { margin-top: calc(28 * var(--w)); display: flex; flex-direction: column; gap: 2px; }
.quote figcaption b { font-weight: 500; }
.quote figcaption span { color: var(--ink-soft); }

/* 6. statement */
.statement { padding-top: calc(120 * var(--w)); }
.stmt { font-size: calc(var(--fs-stmt) * var(--w)); letter-spacing: -0.072em; line-height: .86; margin-left: calc(-10 * var(--w)); }
.dot-red { color: var(--accent-ink); }
.stmt-body { display: grid; grid-template-columns: calc(var(--rail) * var(--w)) 1fr; margin-top: calc(80 * var(--w)); }
.stmt-body .intro { grid-column: 2; margin: 0; font-size: max(17px, calc(24 * var(--w))); line-height: 1.38; max-width: calc(760 * var(--w)); letter-spacing: -0.02em; color: var(--ink); }
.values { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: calc(40 * var(--w)); margin-top: calc(90 * var(--w)); }
.values li { border-top: 1px solid rgba(21, 21, 19, .25); padding-top: calc(22 * var(--w)); }
.values .num { color: var(--ink-soft); }
.values .h3 { font-size: calc(30 * var(--w)); margin: calc(30 * var(--w)) 0 calc(12 * var(--w)); }
.values p { color: var(--ink-soft); max-width: 22em; }

/* 7. talk */
.talk-slab { margin-top: calc(60 * var(--w)); }
.talk-grid { display: grid; grid-template-columns: calc(var(--rail) * var(--w)) minmax(0, 1fr) calc(330 * var(--w)); column-gap: 0; margin-top: calc(80 * var(--w)); align-items: start; }
.talk-cta { grid-column: 2; }
.talk-cta .ctas { margin-top: 0; }
.talk-cta .mail { margin-top: calc(26 * var(--w)); color: var(--muted-on-dark); }
.talk-cta .mail a { color: var(--ink-on-dark); text-underline-offset: .28em; text-decoration-thickness: 1px; }
.clocks { display: flex; gap: calc(30 * var(--w)); }
.clock { width: calc(150 * var(--w)); text-align: left; }
.face { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #34332f 0%, var(--card) 55%, #22211f 100%);
  box-shadow: inset 0 1px 0 rgba(239, 236, 229, .16), inset 0 0 0 1px rgba(239, 236, 229, .07), inset 0 -10px 24px rgba(0, 0, 0, .35),
    0 24px 40px -20px rgba(0, 0, 0, .9), 0 0 0 calc(7 * var(--w)) #1d1c1a, 0 0 0 calc(8 * var(--w)) rgba(239, 236, 229, .08); }
.face .tick { position: absolute; left: 50%; top: 7%; width: 1.5px; height: 6%; margin-left: -.75px; background: rgba(239, 236, 229, .4); transform-origin: 50% 716.6%; }
.face .tick.q { height: 9%; width: 2px; background: rgba(239, 236, 229, .75); transform-origin: 50% 477.8%; }
.hand { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; border-radius: 3px; background: var(--ink-on-dark); }
.hand.h { width: 4px; height: 25%; margin-left: -2px; }
.hand.m { width: 3px; height: 36%; margin-left: -1.5px; }
.hand.s { width: 1px; height: 40%; margin-left: -.5px; background: var(--muted-on-dark); }
.face .pivot { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--ink-on-dark); box-shadow: 0 0 0 3px var(--card); }
.clock figcaption { margin-top: calc(26 * var(--w)); display: flex; flex-direction: column; gap: 2px; }
.clock .cl-time { font-weight: 400; font-size: max(22px, calc(30 * var(--w))); letter-spacing: -0.04em; color: var(--ink-on-dark); line-height: 1.1; }
.clock .cl-zone { color: var(--muted-on-dark); }

/* 8. footer */
.foot { position: relative; z-index: 1; overflow: clip; padding: calc(130 * var(--w)) calc(var(--pad) * var(--w)) calc(250 * var(--w)); }
.foot-mark { left: 50%; bottom: 0.16em; transform: translateX(-50%); font-size: calc(180 * var(--w)); color: var(--ink); opacity: .34; }
/* the footer wordmark is decoration, so its words are drawn by CSS from data-mark and are not page text */
.foot-mark::before { content: attr(data-mark); }
.foot-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px calc(34 * var(--w)); margin-top: calc(80 * var(--w));
  padding-top: calc(22 * var(--w)); border-top: 1px solid rgba(21, 21, 19, .2); color: var(--ink-soft); }
.foot-row a { color: var(--ink); text-underline-offset: .28em; text-decoration-thickness: 1px; }

/* reduced motion: still hero image, nothing animates */
html.rm .sculpture canvas { display: none; }
html.rm .sculpture .still-img { display: block; }

/* phone deck parts: hidden on the desktop path */
.work-nav, .wslate { display: none; }

/* phone path: narrow or short windows, from a 390 base. Content sits in a centred column of at most 640px. */
@media (max-width: 900px), (max-height: 520px) {
  :root { --rail: 0;
    --side: max(calc(var(--pad) * var(--w)), env(safe-area-inset-left), env(safe-area-inset-right), calc((100vw - 640px) / 2));
    --sp: max(calc(20 * var(--w)), calc((100vw - 640px) / 2 - var(--gutter))); }
  .world-sec { padding: calc(110 * var(--w)) var(--side) calc(90 * var(--w)); }
  .slab { padding: calc(64 * var(--w)) var(--sp) calc(72 * var(--w)); }
  .sec-head { display: block; }
  .sec-head .path { display: block; padding: 0 0 calc(16 * var(--w)); }
  .intro { max-width: none; margin-top: calc(20 * var(--w)); }

  /* nav: clear of the notch, controls 40px tall with a 48px touch area */
  .nav-pill { top: max(10px, env(safe-area-inset-top)); }
  .nav-pill.open { background: color-mix(in srgb, var(--world-1) 93%, transparent); }   /* the open menu sits on the headline: readable even where the blur is off */
  .brand { min-height: 40px; }
  .brand span { font-size: 14px; }
  .btn-s { padding: 0 14px; font-size: 13.5px; height: 40px; }
  .menu-btn { width: 40px; height: 40px; position: relative; }
  .menu-btn::after, .btn-s::after { content: ""; position: absolute; inset: -5px -3px; }
  .btn-s { position: relative; }
  .menu a { padding: 14px 12px; }
  /* text links get a 44px touch area without moving anything */
  .link, .waddr, .mail a, .foot-row a, .as-head .h3 a { position: relative; }
  .link::after, .waddr::after, .mail a::after, .foot-row a::after, .as-head .h3 a::after { content: ""; position: absolute; inset: -13px -10px; }

  .hero { height: auto; }
  .stage { position: relative; height: auto; overflow: clip; display: flex; flex-direction: column;
    padding: calc(108 * var(--w)) var(--side) calc(56 * var(--w)); }
  .hero-mark { top: calc(300 * var(--w)); font-size: calc(260 * var(--w)); }
  .hero-copy, .readouts, .sculpture { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: auto; }
  .kicker { margin-bottom: calc(18 * var(--w)); }
  .lead { max-width: none; margin-top: calc(20 * var(--w)); }
  .ctas { margin-top: calc(26 * var(--w)); gap: 14px 20px; }
  .btn { min-height: 48px; }
  .btn-s { min-height: 0; }
  .sculpture { order: 2; width: min(calc(100% + 8px), calc(78vh * 1.0423)); width: min(calc(100% + 8px), calc(78svh * 1.0423));
    align-self: center; margin: calc(26 * var(--w)) -4px 0; }
  .readouts { order: 3; margin-top: calc(18 * var(--w)); justify-content: space-between; }
  .readouts li { padding: 0 0 0 calc(12 * var(--w)); flex: 1; }
  .readouts b { font-size: 26px; }
  .pin { --len: 26px; }
  .pin span { padding: 7px 11px 8px; font-size: 13px; }
  .pin span::after { content: ""; position: absolute; inset: -9px -6px; }
  .pin i::after { content: ""; position: absolute; inset: -14px; }

  .build-slab { margin-top: 0; }
  .cols { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; padding-left: 0; margin-top: calc(52 * var(--w)); }
  .col-head { padding-bottom: calc(24 * var(--w)); }
  .col-head.adv { margin-top: calc(52 * var(--w)); }
  .line { padding: calc(16 * var(--w)) 0 calc(17 * var(--w)); }

  .pieces { grid-template-columns: 1fr 1fr; grid-template-rows: auto calc(74 * var(--w)) auto auto calc(74 * var(--w)) auto; gap: calc(10 * var(--w)); margin-top: calc(48 * var(--w)); }
  .pc-text, .pc-leg { padding: calc(22 * var(--w)) calc(22 * var(--w)) calc(24 * var(--w)); }
  .pc-text .h3 { font-size: 24px; margin-bottom: 10px; }
  .pc-leg { padding-top: 0; padding-bottom: calc(12 * var(--w)); }
  .pc-leg .num { font-size: 34px; }
  .pc1 .pc-text { grid-area: 1 / 1 / 2 / 3; } .pc1 .pc-leg { grid-area: 2 / 1 / 3 / 2; }
  .pc2 .pc-leg { grid-area: 2 / 2 / 3 / 3; align-items: flex-end; } .pc2 .pc-text { grid-area: 3 / 1 / 4 / 3; }
  .pc3 .pc-text { grid-area: 4 / 1 / 5 / 3; } .pc3 .pc-leg { grid-area: 5 / 1 / 6 / 2; }
  .pc4 .pc-leg { grid-area: 5 / 2 / 6 / 3; align-items: flex-end; } .pc4 .pc-text { grid-area: 6 / 1 / 7 / 3; }

  /* our work: a deck you swipe sideways, one card per project, the next one peeking in */
  .work-grid { display: block; margin-top: calc(40 * var(--w)); }
  .viewer { display: none; }
  .work-list { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--sp)); padding: 4px var(--sp) 8px; scroll-padding: 0 var(--sp);
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .work-list::-webkit-scrollbar { display: none; }
  .work-list::after { content: ""; flex: 0 0 1px; margin-left: -12px; }
  .work-row { flex: 0 0 min(84%, 400px); box-sizing: border-box; scroll-snap-align: start; display: flex; flex-direction: column;
    border-top: 0; background: var(--card); border-radius: 22px; padding: 10px 10px 20px;
    box-shadow: inset 0 1px 0 rgba(239, 236, 229, .1); }
  .work-row > * { margin-left: 8px; margin-right: 8px; }
  .wthumb { order: -1; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
    border-radius: 14px; margin: 0 0 18px; background: var(--slab); }
  .wslate { display: flex; align-items: flex-end; box-sizing: border-box; padding: 16px 18px; }
  .wslate b { font-weight: 400; font-size: 44px; letter-spacing: -0.06em; line-height: .9; color: var(--ink-on-dark); }
  .work-row .meta { padding: 0 0 8px; margin-bottom: 0; }
  .work-row .h3 { color: var(--ink-on-dark); }
  .wline { margin-top: 8px; margin-bottom: 14px; font-size: 15px; }
  .waddr { margin-top: auto; align-self: flex-start; }
  .work-nav { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: var(--muted-on-dark); font-size: 13px; font-weight: 500; }
  .work-nav span { min-width: 3.2em; }
  .work-track { flex: 1; height: 2px; border-radius: 2px; background: rgba(239, 236, 229, .16); overflow: hidden; }
  .work-track i { display: block; height: 100%; background: var(--ink-on-dark); transform-origin: 0 50%; transform: scaleX(.1111); transition: transform .25s ease-out; }
  .work-nav em { font-style: normal; }

  .as { display: block; margin-top: calc(60 * var(--w)); padding-top: calc(40 * var(--w)); }
  .as-head .h3 { font-size: 34px; margin-top: 8px; }
  .as-text { display: block; margin-top: 16px; }
  .as-text .unnamed { margin-top: 18px; font-size: 22px; }
  /* the four numbers: one full-width card each, number and label on one line, the sentence under it */
  .as-nums { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }
  .as-nums li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; padding: 20px 20px 22px; border-radius: 20px; }
  .as-nums .big { font-size: 30px; white-space: nowrap; }
  .as-nums .lab { margin-top: 0; text-align: right; font-size: 14px; }
  .as-nums .txt { grid-column: 1 / -1; margin-top: 12px; font-size: 14px; line-height: 1.45; }

  .quotes { display: block; margin-top: calc(44 * var(--w)); }
  .quote { display: block; }
  .quote + .quote { margin-top: calc(64 * var(--w)); }
  .tvid { margin-bottom: 26px; border-radius: 20px; }
  .q-portrait .tvid { width: min(74%, 300px, 45vh); }   /* the tall video never grows past the screen, also on a phone on its side */
  .q-land .tvid { width: min(100%, 140vh); }
  .quote figcaption { margin-top: 18px; }

  .statement { padding-top: calc(80 * var(--w)); }
  .stmt { margin-left: -3px; }
  .stmt-body { display: block; margin-top: calc(36 * var(--w)); }
  .stmt-body .intro { font-size: 18px; }
  .values { display: block; margin-top: calc(40 * var(--w)); }
  .values li { padding: 16px 0 24px; }
  .values .h3 { font-size: 24px; margin: 12px 0 8px; }

  .talk-slab { margin-top: 0; }
  .talk-grid { display: block; margin-top: calc(36 * var(--w)); }
  .clocks { margin-top: calc(56 * var(--w)); gap: 0; justify-content: space-between; }
  .clock { width: calc(150 * var(--w)); }
  .clock .cl-time { font-size: 24px; }
  .foot { padding: 64px var(--side) calc(60px + 150 * var(--w) + env(safe-area-inset-bottom)); }
  .foot-row { flex-direction: column; gap: 14px; margin-top: 40px; padding-top: 22px; font-size: 13px; }
  .foot-mark { font-size: calc(70 * var(--w)); bottom: calc(0.2em + env(safe-area-inset-bottom)); opacity: .4; white-space: normal; width: min-content; text-align: center; line-height: .86; }
}
/* very small phones: the pill keeps the mark, drops the name */
@media (max-width: 345px) { .nav-pill .brand span { display: none; } }
/* a touch screen on the desktop path (a tablet on its side): text links get a finger-sized hit area, no layout change */
@media (pointer: coarse) and (min-width: 901px) and (min-height: 521px) {
  .link, .waddr, .mail a, .foot-row a, .as-head .h3 a, .btn-s, .menu-btn { position: relative; }
  .link::after, .waddr::after, .mail a::after, .foot-row a::after, .as-head .h3 a::after { content: ""; position: absolute; inset: -14px -10px; }
  .menu a { padding-top: 14px; padding-bottom: 14px; }
  .brand { min-height: 40px; }
  .btn-s::after, .menu-btn::after { content: ""; position: absolute; inset: -8px -4px; }
}

