/* ==========================================================================
   LOGUS plus · EFAPEL — edição de lançamento
   ========================================================================== */

:root {
  --paper: #eeebe5;
  --paper-2: #e5e1d9;
  --cover: #d2cdc4;
  --ink: #1b1a18;
  --ink-2: #514d46;
  --ink-3: #6b665e;
  --rule: rgba(27, 26, 24, .16);
  --wall: #dcd7ce;

  --c-br: #f1f2f2;
  --c-bm: #e6e7e5;
  --c-gd: #ebe7d8;
  --c-bt: #b1b0a7;
  --c-pm: #2c2c2c;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --g: clamp(16px, 4vw, 56px);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #141412;
  --paper-2: #1b1a18;
  --cover: #1c1b19;
  --ink: #ece8e0;
  --ink-2: #b8b2a7;
  --ink-3: #969086;
  --rule: rgba(236, 232, 224, .15);
  --wall: #24231f;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em, i { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.4;
}

.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] .grain { opacity: .035; filter: invert(1); }

/* ---------- shared type ---------- */
.kicker { color: var(--ink-3); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .8em; }
.kicker::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; flex: none; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 6.2vw, 6.4rem);
  line-height: .96;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 72;
}
.display em { font-weight: 300; letter-spacing: -.02em; }
.display--sm { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }

.runhead {
  display: flex; justify-content: space-between; gap: 1rem;
  margin: 0 var(--g);
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  color: var(--ink-2);
}
.runhead span:first-child { min-width: 3ch; }
.runhead span:last-child { text-align: right; }
.runhead--inv { border-color: rgba(236, 232, 224, .5); color: rgba(236, 232, 224, .7); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* registration ticks around a figure */
.ticks { position: relative; }
.ticks::before {
  content: ""; position: absolute; inset: -12px; pointer-events: none;
  --t: var(--ink);
  background:
    linear-gradient(var(--t), var(--t)) left top / 14px 1px,
    linear-gradient(var(--t), var(--t)) left top / 1px 14px,
    linear-gradient(var(--t), var(--t)) right top / 14px 1px,
    linear-gradient(var(--t), var(--t)) right top / 1px 14px,
    linear-gradient(var(--t), var(--t)) left bottom / 14px 1px,
    linear-gradient(var(--t), var(--t)) left bottom / 1px 14px,
    linear-gradient(var(--t), var(--t)) right bottom / 14px 1px,
    linear-gradient(var(--t), var(--t)) right bottom / 1px 14px;
  background-repeat: no-repeat;
  opacity: .55;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0 var(--g);
  transition: transform .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
  opacity: 0; transition: opacity .5s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-dark { color: #ece8e0; }
.nav.is-dark::before { background: rgba(18, 18, 17, .78); border-color: rgba(236, 232, 224, .12); }

.nav__brand { justify-self: start; display: block; line-height: 0; }
.nav__brand svg { height: 13px; width: auto; fill: currentColor; }
.nav__issue { display: flex; gap: .7em; align-items: center; white-space: nowrap; }
.nav__series { font-weight: 500; }
.nav__sep { opacity: .4; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav__link { text-decoration: none; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: currentColor; transform-origin: left; transform: scaleX(var(--p, 0)); opacity: .7; }

/* the light switch — a tiny LOGUS plus */
.lightswitch { display: inline-flex; align-items: center; gap: 10px; }
.lightswitch__plate {
  width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--c-gd);
  box-shadow: 0 0 0 1px rgba(0,0,0,.14), 2px 3px 6px rgba(0,0,0,.16);
  transition: background-color .6s var(--ease);
}
.lightswitch__key {
  width: 18.5px; height: 18.5px; background: inherit;
  box-shadow: 0 0 0 .75px rgba(0,0,0,.45), inset 0 -3px 4px rgba(0,0,0,.06);
  transform: perspective(60px) rotateX(-14deg);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.lightswitch[aria-pressed="true"] .lightswitch__plate { background: var(--c-pm); box-shadow: 0 0 0 1px rgba(255,255,255,.18), 2px 3px 6px rgba(0,0,0,.4); }
.lightswitch[aria-pressed="true"] .lightswitch__key { transform: perspective(60px) rotateX(14deg); box-shadow: 0 0 0 .75px rgba(0,0,0,.9), inset 0 3px 4px rgba(255,255,255,.06); }
.lightswitch:hover .lightswitch__key { filter: brightness(.97); }
.lightswitch__label { min-width: 5.5ch; text-align: left; }

/* ==========================================================================
   01 · COVER
   ========================================================================== */
.cover {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 8px) var(--g) 28px;
  background:
    radial-gradient(60% 55% at 50% 58%, rgba(255,255,255,.38), transparent 70%),
    var(--cover);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 2vw;
  transition: background-color .9s var(--ease);
}
[data-theme="dark"] .cover { background: radial-gradient(50% 45% at 50% 58%, rgba(255,240,215,.10), transparent 70%), var(--cover); }

.cover__dateline {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; gap: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}
.masthead {
  grid-column: 1 / -1;
  display: flex; justify-content: center; align-items: flex-end;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(5.2rem, 20.5vw, 24rem);
  line-height: .78;
  letter-spacing: -.045em;
  font-variation-settings: "opsz" 72;
  margin-top: .09em;
  position: relative; z-index: 1;
  user-select: none;
}
.masthead__word { display: inline-flex; overflow: hidden; padding: .1em .02em .03em; margin: -.1em -.02em -.03em; }
.masthead__word span { line-height: .9; }
.masthead__word span { display: inline-block; transition: transform 1.4s var(--ease); }
.masthead__plus {
  font-weight: 300; font-size: .27em; letter-spacing: -.01em;
  margin: 0 0 .28em .12em;
  display: inline-block;
  transition: opacity 1.2s var(--ease) .9s, transform 1.2s var(--ease) .9s;
}

.cover__stage {
  grid-column: 2; grid-row: 3;
  position: relative; z-index: 2;
  justify-self: center; align-self: start;
  width: min(100%, 47vh, 540px, calc((100svh - 10.6vw - 205px) / 1.254));
  margin-top: -7.6vw;
  perspective: 1200px;
}
.cover__plate {
  width: 100%;
  filter: drop-shadow(26px 34px 34px rgba(48, 38, 26, .26)) drop-shadow(4px 6px 6px rgba(48, 38, 26, .16));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease), opacity 1.4s var(--ease) .35s, translate 1.6s var(--ease) .35s;
  will-change: transform;
}
.cover__halo {
  position: absolute; inset: 8% -18% -6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent);
  filter: blur(10px);
}
[data-theme="dark"] .cover__halo { background: radial-gradient(closest-side, rgba(255,232,196,.22), transparent); }
[data-theme="dark"] .cover__plate { filter: drop-shadow(26px 34px 34px rgba(0,0,0,.6)) drop-shadow(4px 6px 6px rgba(0,0,0,.4)) brightness(.88); }

.coverlines { display: contents; }
.coverline { grid-row: 3; max-width: 270px; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.coverline a { display: block; text-decoration: none; padding-top: 12px; border-top: 1px solid var(--ink); }
.coverline .folio { display: block; color: var(--ink-2); margin-bottom: .55rem; }
.coverline strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.9rem); line-height: 1.05; letter-spacing: -.01em; margin-bottom: .35rem; }
.coverline strong i { font-weight: 300; }
.coverline strong sup { font-size: .55em; }
.coverline > a > span:last-child { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.coverline a:hover strong { font-style: italic; }
.coverline--a { grid-column: 1; align-self: start; margin-top: 4vh; }
.coverline--b { grid-column: 1; align-self: end; margin-bottom: 4vh; }
.coverline--c { grid-column: 3; justify-self: end; align-self: start; margin-top: 4vh; text-align: right; }
.coverline--d { grid-column: 3; justify-self: end; align-self: end; margin-bottom: 4vh; text-align: right; }

.cover__tagline {
  grid-column: 1 / 3; grid-row: 4; align-self: end;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.2;
}
.cover__tagline em { color: var(--ink-2); }
.cover__scroll { grid-column: 3; grid-row: 4; justify-self: end; align-self: end; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.cover__scroll i { width: 1px; height: 38px; background: currentColor; transform-origin: top; animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* intro */
.is-loading .masthead__word span { transform: translateY(118%); }
.masthead__word span:nth-child(2) { transition-delay: .06s; }
.masthead__word span:nth-child(3) { transition-delay: .12s; }
.masthead__word span:nth-child(4) { transition-delay: .18s; }
.masthead__word span:nth-child(5) { transition-delay: .24s; }
.is-loading .masthead__plus { opacity: 0; transform: translateY(.3em); }
.is-loading .cover__plate { opacity: 0; translate: 0 60px; }
.is-loading .coverline { opacity: 0; transform: translateY(14px); }
.coverline--a { transition-delay: 1s; } .coverline--b { transition-delay: 1.1s; }
.coverline--c { transition-delay: 1.05s; } .coverline--d { transition-delay: 1.15s; }

/* ==========================================================================
   02 · EDITORIAL
   ========================================================================== */
.editorial { padding: 12vh 0 8vh; }
.editorial__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2vw;
  padding: 10vh var(--g) 0;
}
.editorial__fig { grid-column: 1 / 6; align-self: start; position: sticky; top: calc(var(--nav-h) + 4vh); }
.editorial__img { aspect-ratio: 9 / 13; overflow: hidden; background: var(--paper-2); }
.editorial__img img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.editorial__fig figcaption { margin-top: 14px; color: var(--ink-3); }
.editorial__text { grid-column: 7 / 13; padding-top: 4vh; }
.editorial__text .display { margin-bottom: 3.2rem; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.32; font-weight: 400; margin-bottom: 2.4rem; max-width: 30ch; }
.dropcap::first-letter { float: left; font-size: 4.6em; line-height: .78; font-weight: 300; padding: .07em .1em 0 0; font-style: normal; }
.cols { columns: 2; column-gap: 2.2rem; color: var(--ink-2); font-size: 16px; }
.cols p + p { margin-top: 1em; }
.cols p { break-inside: avoid-column; }
.pull { margin-top: 3.6rem; padding: 2rem 0 0; border-top: 1px solid var(--ink); }
.pull p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 2.9vw, 2.7rem); line-height: 1.1; letter-spacing: -.015em; max-width: 22ch; }

/* ==========================================================================
   03 · ANATOMY
   ========================================================================== */
.anatomy { padding-top: 2vh; }
.anatomy__wrap {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4vw;
  padding: 0 var(--g);
}
.anatomy__sticky { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); display: grid; place-items: center; }
.anatomy__stage { position: relative; width: min(100%, calc((100svh - var(--nav-h) - 8vh) * 180 / 132)); aspect-ratio: 180 / 132; }
.drawing { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity .9s var(--ease); }
.drawing line, .drawing .ax { vector-effect: non-scaling-stroke; }
.drawing .ln { fill: none; stroke: var(--ink); stroke-width: var(--sw, .25); stroke-dasharray: var(--len, 400) var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.6s var(--ease-io), opacity .8s var(--ease); }
.drawing .ax { fill: none; stroke: var(--ink-3); stroke-width: .75px; stroke-dasharray: 2 5; opacity: 0; transition: opacity 1s var(--ease); }
.drawing .dim line { stroke: var(--ink-2); stroke-width: .75px; }
.drawing .dim .arrow { stroke: var(--ink); }
.drawing text { font-family: var(--mono); font-size: 3.3px; letter-spacing: .04em; fill: var(--ink); text-anchor: middle; stroke: none; }
.drawing .dim, .drawing .note { opacity: 0; transition: opacity .8s var(--ease) .6s; }
.drawing .note line { stroke: var(--ink-3); stroke-width: .75px; }
.drawing .note text { font-family: var(--serif); font-style: italic; font-size: 8px; text-anchor: start; }

.anatomy__photo {
  position: absolute; z-index: 0;
  left: 6.77%; top: 16.80%; width: 50.70%; height: 69.13%;
  object-fit: contain;
  opacity: 0; transform: scale(.985);
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease);
  filter: drop-shadow(10px 16px 18px rgba(40, 30, 20, .18));
}
[data-theme="dark"] .anatomy__photo { filter: drop-shadow(10px 16px 18px rgba(0,0,0,.5)) brightness(.85); }

[data-step="1"] .ln--a, [data-step="2"] .ln--a, [data-step="3"] .ln--a { stroke-dashoffset: 0; }
[data-step="1"] .ax, [data-step="2"] .ax, [data-step="3"] .ax { opacity: 1; }
[data-step="1"] .dim--a, [data-step="2"] .dim--a, [data-step="3"] .dim--a { opacity: 1; }
[data-step="2"] .ln--b, [data-step="3"] .ln--b { stroke-dashoffset: 0; transition-delay: .2s; }
[data-step="2"] .dim--b, [data-step="2"] .note, [data-step="3"] .dim--b { opacity: 1; }
[data-step="2"] .anatomy__photo, [data-step="3"] .anatomy__photo { opacity: 1; transform: none; }
[data-step="3"] .ln--c, [data-step="3"] .ln--d { stroke-dashoffset: 0; }
[data-step="3"] .dim--c, [data-step="3"] .dim--d { opacity: 1; }
[data-step="3"] .d-front .ln, [data-step="3"] .ax { opacity: .35; }
[data-step="4"] .drawing, [data-step="4"] .anatomy__photo { opacity: 0; }

.multiples {
  position: absolute; inset: 4% 6%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4.5%;
  pointer-events: none;
}
.mult {
  --m: 11.2cqw;
  display: flex; gap: calc(var(--m) * .26); padding: calc(var(--m) * .26);
  border: 1.25px solid var(--ink);
  opacity: 0; transform: translateX(-16px);
  transition: opacity .8s var(--ease), transform 1s var(--ease);
}
.anatomy__stage { container-type: inline-size; }
.mult i { width: var(--m); height: var(--m); border: 1.25px solid var(--ink); background: color-mix(in srgb, var(--c-gd) 0%, transparent); transition: background-color .8s var(--ease); }
[data-step="4"] .mult { opacity: 1; transform: none; }
[data-step="4"] .mult--2 { transition-delay: .12s; }
[data-step="4"] .mult--3 { transition-delay: .24s; }
[data-step="4"] .mult--4 { transition-delay: .36s; }
[data-step="4"] .mult i { background: color-mix(in srgb, var(--ink) 6%, transparent); }

.anatomy__unit { position: absolute; right: 0; bottom: -8px; color: var(--ink-3); transition: opacity .6s; }
[data-step="4"] .anatomy__unit, [data-step="0"] .anatomy__unit { opacity: 0; }

.anatomy__steps { padding: 20vh 0 30vh; }
.step { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; max-width: 34ch; position: relative; }
.step::before { content: ""; position: absolute; left: -22px; top: 50%; width: 1px; height: 0; background: var(--ink); transition: height .8s var(--ease), top .8s var(--ease); }
.step.is-active::before { height: 5.5em; top: calc(50% - 2.75em); }
.step .step__t, .step p { transition: color .8s var(--ease); }
.step:not(.is-active) .step__t { color: var(--ink-3); }
.step:not(.is-active) p { color: var(--ink-3); }
.step__n { color: var(--ink-3); margin-bottom: 1rem; }
.step__t { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 1.4rem; }
.step p { color: var(--ink-2); }

/* ==========================================================================
   04 · TWO NEW COLOURS
   ========================================================================== */
.colors { padding: 12vh 0 0; }
.colors__head { padding: 10vh var(--g) 9vh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2vw; align-items: end; }
.colors__head .kicker { grid-column: 1 / -1; }
.colors__head .display { grid-column: 1 / 8; }
.colors__intro { grid-column: 9 / 13; color: var(--ink-2); max-width: 38ch; }

.colors__split { display: flex; height: min(94svh, 980px); }
.swatch {
  position: relative; flex: 1 1 0; overflow: hidden; outline-offset: -6px;
  transition: flex-grow 1.1s var(--ease);
  color: #1b1a18;
}
.swatch__bg { position: absolute; inset: 0; transition: transform 1.6s var(--ease); }
.swatch--bt .swatch__bg { background: url("assets/img/tex-basalto.webp") center / cover, #bebdb6; }
.swatch--bt .swatch__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(190,189,182,0) 50%, rgba(160,159,150,.45)); }
.swatch--gd .swatch__bg { background: radial-gradient(70% 60% at 50% 40%, #f3f0e5, #e8e3d3); }
.swatch--gd .swatch__bg img { position: absolute; right: -6%; top: 6%; width: 70%; mix-blend-mode: multiply; opacity: .55; }
.swatch__plate {
  position: absolute; left: 50%; top: 44%; width: clamp(180px, 25vw, 380px);
  translate: -50% -50%;
  filter: drop-shadow(18px 26px 26px rgba(40, 34, 26, .22)) drop-shadow(3px 4px 4px rgba(40, 34, 26, .14));
  transition: transform 1.2s var(--ease);
}
.swatch__copy { position: absolute; left: clamp(20px, 3.4vw, 52px); bottom: clamp(24px, 4vw, 56px); right: 20px; }
.swatch__chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.swatch__chip i { width: 11px; height: 11px; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.swatch--bt .swatch__chip i { background: var(--c-bt); }
.swatch--gd .swatch__chip i { background: var(--c-gd); }
.swatch__name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(3.6rem, 8.4vw, 9rem); line-height: .86; letter-spacing: -.035em; margin-bottom: 1.2rem; }
.swatch__copy p { max-width: 34ch; font-size: 15.5px; color: rgba(27,26,24,.78); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 1s var(--ease), opacity .8s var(--ease); }
.swatch__folio { position: absolute; top: 22px; right: 24px; color: rgba(27,26,24,.75); }
.swatch:is(:hover, :focus-visible) { flex-grow: 1.45; }
.swatch:is(:hover, :focus-visible) .swatch__plate { transform: scale(1.04); }
.swatch:is(:hover, :focus-visible) .swatch__bg { transform: scale(1.03); }
.swatch:is(:hover, :focus-visible) .swatch__copy p { max-height: 10em; opacity: 1; }
@media (hover: none) { .swatch__copy p { max-height: none; opacity: 1; } }

/* ==========================================================================
   05 · FINISHES
   ========================================================================== */
.finishes {
  --fbg: #a7a69d; --fink: #1b1a18; --frule: rgba(27,26,24,.22);
  background: var(--fbg); color: var(--fink);
  padding: 14vh 0 12vh;
  transition: background-color 1.1s var(--ease), color 1.1s var(--ease);
}
.finishes[data-finish="br"] { --fbg: #eceae6; }
.finishes[data-finish="bm"] { --fbg: #dcdcd7; }
.finishes[data-finish="gd"] { --fbg: #e2dccb; }
.finishes[data-finish="bt"] { --fbg: #a7a69d; }
.finishes[data-finish="pm"] { --fbg: #1f1f1e; --fink: #ece8e0; --frule: rgba(236,232,224,.2); }
.finishes .runhead { border-color: currentColor; color: inherit; }
.finishes .kicker { color: inherit; opacity: .85; }

.finishes__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4vw; padding: 8vh var(--g) 0; align-items: center; }
.finishes__stage { display: grid; justify-items: center; gap: 28px; }
.finishes__plates { position: relative; width: min(100%, 64vh, 640px); aspect-ratio: 1; }
.finishes__plates img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(.965) rotate(-1.5deg);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease);
}
.finishes__plates { filter: drop-shadow(22px 32px 34px rgba(30, 26, 20, .22)) drop-shadow(3px 5px 5px rgba(30, 26, 20, .14)); }
.finishes__plates img.is-on { opacity: 1; transform: none; }
.finishes[data-finish="pm"] .finishes__plates { filter: drop-shadow(22px 32px 34px rgba(0,0,0,.55)) drop-shadow(3px 5px 5px rgba(0,0,0,.4)); }
.finishes__ref { font-size: 13px; }
.finishes__ref b { font-weight: 500; display: inline-block; min-width: 2.4ch; }

.finishes__panel .display { margin-bottom: 3rem; }
.finishes__list { border-bottom: 1px solid var(--frule); }
.finishes__group { padding: 1.6rem 0 .6rem; opacity: .85; }
.fin {
  width: 100%;
  display: grid; grid-template-columns: 34px 52px 1fr; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--frule);
  text-align: left;
  transition: padding .5s var(--ease);
}
.fin__dot { width: 16px; height: 16px; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 2px 2px 4px rgba(0,0,0,.12); transition: transform .5s var(--ease); }
.fin[data-fin="br"] .fin__dot { background: var(--c-br); }
.fin[data-fin="bm"] .fin__dot { background: var(--c-bm); }
.fin[data-fin="gd"] .fin__dot { background: var(--c-gd); }
.fin[data-fin="bt"] .fin__dot { background: var(--c-bt); }
.fin[data-fin="pm"] .fin__dot { background: var(--c-pm); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.fin__code { opacity: .85; }
.fin__name { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 300; line-height: 1.1; }
.new { font-size: 9.5px; vertical-align: super; margin-left: .4em; padding: 2px 5px; border: 1px solid currentColor; border-radius: 99px; }
.fin:hover { padding-left: 8px; }
.fin[aria-checked="true"] .fin__name { font-style: italic; }
.fin[aria-checked="true"] .fin__dot { transform: scale(1.35) rotate(45deg); }
.fin[aria-checked="true"] .fin__code { opacity: 1; }
.finishes__note { margin-top: 2rem; font-size: 14.5px; opacity: .8; max-width: 44ch; }

/* ==========================================================================
   06 · ESSAY (horizontal)
   ========================================================================== */
.essay { position: relative; }
.essay__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.essay__head { flex: none; width: clamp(280px, 30vw, 440px); padding: 0 var(--g); align-self: center; }
.essay__head .display { margin-bottom: 1.6rem; }
.essay__head p { color: var(--ink-2); max-width: 30ch; }
.essay__hint { margin-top: 2rem; color: var(--ink-3) !important; }
.essay__track { display: flex; align-items: center; gap: 4.5vw; padding-right: 10vw; will-change: transform; }
.plate-fig { flex: none; }
.plate-fig__img { overflow: hidden; background: var(--paper-2); }
.plate-fig__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateX(var(--ix, 0)); }
.plate-fig--tall .plate-fig__img { height: min(68svh, 760px); aspect-ratio: 3 / 4; }
.plate-fig--wide .plate-fig__img { height: min(52svh, 560px); aspect-ratio: 3 / 2; }
.plate-fig figcaption { margin-top: 16px; max-width: 36ch; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.35; color: var(--ink-2); }
.plate-fig figcaption .mono { display: block; font-style: normal; color: var(--ink); margin-bottom: 4px; }
.essay__end { flex: none; width: 20vw; display: grid; place-items: center; color: var(--ink-3); }
.essay__end span { writing-mode: vertical-rl; }

/* ==========================================================================
   07 · BUILDER
   ========================================================================== */
.builder { padding: 14vh 0 16vh; }
.builder__head { padding: 10vh var(--g) 7vh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2vw; align-items: end; }
.builder__head .kicker { grid-column: 1 / -1; }
.builder__head .display { grid-column: 1 / 8; }
.builder__head > p:last-child { grid-column: 9 / 13; color: var(--ink-2); max-width: 36ch; }

.builder__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 3vw; padding: 0 var(--g); align-items: start; }
.builder__canvas {
  position: sticky; top: calc(var(--nav-h) + 3vh);
  min-height: min(76svh, 760px);
  display: grid; place-items: center;
  background:
    radial-gradient(70% 60% at 40% 35%, rgba(255,255,255,.35), transparent 70%),
    var(--wall);
  overflow: hidden;
  transition: background-color .9s var(--ease);
}
[data-theme="dark"] .builder__canvas { background: radial-gradient(60% 50% at 40% 35%, rgba(255,235,200,.07), transparent 70%), var(--wall); }
.builder__hint { position: absolute; left: 18px; bottom: 16px; color: var(--ink-3); }

/* CSS-rendered LOGUS plus */
.cplate {
  --u: clamp(84px, 13vw, 200px);
  --p: var(--c-bt); --k: #b3b2a9; --gap: rgba(28, 28, 22, .62); --hole: #8f8e86; --hl: rgba(255,255,255,.22);
  display: grid; grid-auto-flow: column;
  gap: calc(var(--u) * .17); padding: calc(var(--u) * .17);
  background: var(--p);
  box-shadow:
    inset 0 1px 0 var(--hl), inset 0 -1px 0 rgba(0,0,0,.06),
    0 0 0 .5px rgba(0,0,0,.18),
    calc(var(--u) * .08) calc(var(--u) * .13) calc(var(--u) * .2) rgba(40, 30, 20, .2),
    1px 2px 3px rgba(40, 30, 20, .16);
  transition: background-color .7s var(--ease), box-shadow .7s;
}
.cplate[data-orient="v"] { grid-auto-flow: row; }
.cplate[data-orient="h"] { --u: clamp(64px, min(13vw, calc(46vw / (var(--n) * .83 + .17))), 200px); }
.cplate[data-orient="v"] { --u: clamp(64px, min(13vw, calc(64svh / (var(--n) * .83 + .17))), 200px); }
[data-finish="br"] .cplate { --p: var(--c-br); --k: #f4f5f5; --gap: rgba(40,40,40,.55); --hole: #d2d4d4; --hl: rgba(255,255,255,.8); }
[data-finish="bm"] .cplate { --p: var(--c-bm); --k: #e9eae8; --gap: rgba(40,40,40,.5); --hole: #cbccca; --hl: rgba(255,255,255,.6); }
[data-finish="gd"] .cplate { --p: var(--c-gd); --k: #eeebdd; --gap: rgba(52,46,30,.5); --hole: #d3cebb; --hl: rgba(255,255,255,.6); }
[data-finish="bt"] .cplate { --p: var(--c-bt); --k: #b3b2a9; --gap: rgba(28,28,22,.62); --hole: #8f8e86; --hl: rgba(255,255,255,.22); }
[data-finish="pm"] .cplate { --p: var(--c-pm); --k: #303030; --gap: rgba(0,0,0,.95); --hole: #161616; --hl: rgba(255,255,255,.07); }

.cmod {
  position: relative;
  width: calc(var(--u) * .66); height: calc(var(--u) * .66);
  background: var(--k);
  box-shadow: 0 0 0 1px var(--gap), inset 0 1px 0 var(--hl), inset 0 calc(var(--u) * -.03) calc(var(--u) * .05) rgba(0,0,0,.05);
  cursor: pointer;
  transition: background-color .7s var(--ease), transform .3s var(--ease);
}
.cmod:hover { transform: scale(.985); }
.cmod.is-sel::after {
  content: attr(data-i); position: absolute; inset: calc(var(--u) * -.11);
  border: 1px dashed currentColor; color: var(--ink);
  font: 500 10px/1 var(--mono); padding: 4px 5px; text-align: right;
  pointer-events: none;
}
[data-finish="pm"] .cmod.is-sel::after { color: var(--ink); }
.cmod > * { position: absolute; pointer-events: none; }

/* split keys */
.cmod .split-v { left: 50%; top: 0; bottom: 0; width: 1px; background: var(--gap); }
.cmod .split-h { top: 50%; left: 0; right: 0; height: 1px; background: var(--gap); }
.cmod .strip { left: 0; right: 0; top: 41%; height: 18%; background: color-mix(in srgb, #fff 55%, var(--k)); box-shadow: 0 0 0 1px var(--gap); opacity: .9; }
.cmod .strip::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9%; height: 9%; translate: -50% -50%; background: #222; border-radius: 2px; }
.cmod .chev { width: 13%; height: 13%; border: solid var(--gap); border-width: 0 1px 1px 0; top: 46%; }
.cmod .chev--d { left: 18.5%; rotate: 45deg; translate: 0 -40%; }
.cmod .chev--u { right: 18.5%; rotate: -135deg; translate: 0 -10%; }
/* socket */
.cmod .ring { inset: 11%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--k) 88%, #000), color-mix(in srgb, var(--k) 70%, #000)); box-shadow: inset 0 calc(var(--u) * .03) calc(var(--u) * .05) rgba(0,0,0,.22), 0 0 0 1px var(--gap); }
.cmod .hole { width: 10%; height: 10%; top: 45%; border-radius: 50%; background: var(--hole); box-shadow: inset 0 1px 2px rgba(0,0,0,.55); filter: brightness(.6); }
.cmod .hole--l { left: 28%; } .cmod .hole--r { right: 28%; }
.cmod .clip { left: 45%; width: 10%; height: 9%; background: linear-gradient(90deg, #a9a59c, #e8e4da, #a9a59c); border-radius: 1px; }
.cmod .clip--t { top: 11%; } .cmod .clip--b { bottom: 11%; }
/* usb */
.cmod .usb-a { left: 33%; width: 34%; height: 10%; top: 40%; background: #1d1d1d; border-radius: 1px; box-shadow: inset 0 -3px 0 #3a3a3a; }
.cmod .usb-c { left: 38%; width: 24%; height: 7.5%; top: 59%; background: #1d1d1d; border-radius: 99px; }
.cmod .bolt { left: 0; right: 0; top: 20%; text-align: center; font: 500 calc(var(--u) * .065)/1 var(--mono); color: var(--gap); letter-spacing: .05em; }
/* dimmer */
.cmod .knob { inset: 17%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--k) 70%, #fff), var(--k) 60%, color-mix(in srgb, var(--k) 88%, #000)); box-shadow: 0 0 0 1px var(--gap), calc(var(--u) * .02) calc(var(--u) * .04) calc(var(--u) * .06) rgba(0,0,0,.2); }
.cmod .knob::after { content: ""; position: absolute; left: 66%; top: 18%; width: 6%; height: 6%; border-radius: 50%; background: var(--gap); }
/* sensor */
.cmod .lens-frame { inset: 14%; box-shadow: 0 0 0 1px var(--gap); }
.cmod .lens { inset: 30%; border-radius: 50%; background: repeating-conic-gradient(from 10deg, rgba(255,255,255,.95) 0 12deg, rgba(225,228,230,.95) 12deg 24deg), #eceff0; box-shadow: 0 0 0 1px rgba(0,0,0,.2), inset 0 -2px 4px rgba(0,0,0,.18); }
/* rj45 */
.cmod .port { left: 36%; top: 34%; width: 28%; height: 26%; background: #1d1d1d; clip-path: polygon(0 0, 100% 0, 100% 78%, 70% 78%, 70% 100%, 30% 100%, 30% 78%, 0 78%); }

.builder__controls { display: grid; gap: 2.1rem; padding-top: 4px; }
.ctl { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctl legend { padding: 0; margin-bottom: .9rem; color: var(--ink-2); }
.ctl legend b { font-weight: 500; color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.seg--2 { grid-template-columns: repeat(2, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg label + label { border-left: 1px solid var(--ink); }
.seg input, .dots input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px 6px; font-size: 14.5px; transition: background-color .35s var(--ease), color .35s var(--ease); }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.seg label:hover span { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg input:checked + span:hover { background: var(--ink); }
.dots { display: flex; gap: 18px; flex-wrap: wrap; }
.dots label { display: grid; justify-items: center; gap: 8px; cursor: pointer; }
.dot { width: 40px; height: 40px; box-shadow: 0 0 0 1px rgba(0,0,0,.2), 3px 4px 8px rgba(0,0,0,.12); transition: transform .4s var(--ease), box-shadow .4s; }
.dot--br { background: var(--c-br); } .dot--bm { background: var(--c-bm); } .dot--gd { background: var(--c-gd); } .dot--bt { background: var(--c-bt); } .dot--pm { background: var(--c-pm); }
.dots em { font: 400 10.5px/1 var(--mono); letter-spacing: .08em; font-style: normal; color: var(--ink-3); }
.dots input:checked + .dot { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--paper), 0 0 0 2.5px var(--ink), 4px 8px 12px rgba(0,0,0,.18); }
.dots input:checked ~ em { color: var(--ink); }
.dots input:focus-visible + .dot { outline: 1.5px solid var(--ink); outline-offset: 5px; }
.funcs { display: flex; flex-wrap: wrap; gap: 8px; }
.func { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 99px; font-size: 14px; transition: background-color .3s, border-color .3s, color .3s; }
.func:hover { border-color: var(--ink); }
.func[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.builder__out { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--ink); }
.builder__out-k { color: var(--ink-3); margin-bottom: .3rem; }
.builder__ref { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.builder__desc { margin-top: .6rem; font-size: 14.5px; color: var(--ink-2); max-width: 40ch; }
.btn { padding: 12px 16px; border: 1px solid var(--ink); white-space: nowrap; transition: background-color .3s, color .3s; }
.btn:hover, .btn.is-done { background: var(--ink); color: var(--paper); }
.builder__fine { font-size: 13px; color: var(--ink-3); max-width: 52ch; }

/* ==========================================================================
   08 · CONNECT
   ========================================================================== */
.connect {
  --ci: #ece8e0;
  position: relative; overflow: hidden;
  background: #121211; color: var(--ci);
  padding: 14vh 0 12vh;
}
.connect ::selection { background: var(--ci); color: #121211; }
.connect__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.connect__lines path { fill: none; stroke: rgba(236,232,224,.12); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 10; animation: flow 18s linear infinite; }
.connect__lines path:nth-child(even) { animation-duration: 24s; animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -280; } }

.connect__head { position: relative; padding: 10vh var(--g) 9vh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2vw; align-items: end; }
.connect__title { grid-column: 1 / 9; font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 12.5vw, 13.5rem); line-height: .82; letter-spacing: -.045em; }
.connect__title > * { display: inline-block; }
.connect__title em { font-weight: 300; color: rgba(236,232,224,.55); }
.connect__head > p { grid-column: 9 / 13; color: rgba(236,232,224,.7); max-width: 36ch; }

.connect__grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2vw; padding: 0 var(--g); }
.node { border-top: 1px solid rgba(236,232,224,.3); padding-top: 18px; transition-delay: calc(var(--i, 0) * 90ms); }
.node__img { position: relative; aspect-ratio: 1; background: #ebe8e2; display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; }
.node__img img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.node:hover .node__img img { transform: scale(1.05); }
.node__img::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%;
  background: #1b1a18; box-shadow: 0 0 0 0 rgba(27,26,24,.4);
  animation: ping 2.8s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .45s);
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(27,26,24,.35); } 70%, 100% { box-shadow: 0 0 0 14px rgba(27,26,24,0); } }
.node__img--type { font-family: var(--serif); font-weight: 300; color: #1b1a18; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.04em; display: flex; align-items: center; justify-content: center; gap: .08em; }
.node__img--type i { color: #8a857c; font-weight: 300; }
.node h3 { font: 500 15.5px/1.3 var(--sans); margin-bottom: .45rem; }
.node p { font-size: 14px; line-height: 1.5; color: rgba(236,232,224,.62); }
.connect__more { position: relative; margin: 6vh var(--g) 0; color: rgba(236,232,224,.55); }

/* ==========================================================================
   09 · SYSTEM
   ========================================================================== */
.system { padding: 14vh 0 14vh; }
.system__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2vw; padding: 6vh var(--g) 8vh; align-items: end; }
.system__num { grid-column: 1 / 8; font-family: var(--serif); font-weight: 300; font-size: clamp(9rem, 30vw, 31rem); line-height: .76; letter-spacing: -.06em; font-variant-numeric: lining-nums tabular-nums; margin-left: -.05em; }
.system__num sup { font-style: italic; font-size: .32em; vertical-align: top; position: relative; top: .1em; margin-left: .04em; letter-spacing: 0; }
.system__copy { grid-column: 9 / 13; padding-bottom: 2vh; }
.system__copy .display { margin-bottom: 1.6rem; }
.system__copy p { color: var(--ink-2); max-width: 40ch; }

.marquee { border-bottom: 1px solid var(--rule); overflow: hidden; }
.marquee__row { border-top: 1px solid var(--rule); overflow: hidden; padding: 1.1rem 0; }
.marquee__row > div { display: flex; width: max-content; animation: marquee var(--d, 70s) linear infinite; }
.marquee__row--rev > div { animation-direction: reverse; }
.marquee__row span { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.1vw, 2.9rem); line-height: 1.1; letter-spacing: -.015em; white-space: nowrap; display: inline-flex; align-items: center; color: var(--ink-2); }
.marquee__row:nth-child(odd) span { font-style: italic; }
.marquee__row span::after { content: ""; width: .22em; height: .22em; border: 1px solid var(--ink-3); margin: 0 .8em; flex: none; }
.marquee:hover .marquee__row > div { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.system__strip { margin: 10vh var(--g) 0; }
.system__strip img { width: 100%; }
.system__strip figcaption { margin-top: 14px; color: var(--ink-3); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2vw; padding: 10vh var(--g) 0; }
.facts li { border-top: 1px solid var(--ink); padding-top: 1rem; }
.facts .mono { display: block; margin-bottom: 1.2rem; color: var(--ink-2); }
.facts p { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.25; font-weight: 300; max-width: 24ch; }

/* ==========================================================================
   10 · COLOPHON
   ========================================================================== */
[data-theme="light"] .colophon { --ink-3: #55514a; }
.colophon { background: var(--cover); padding: 16vh var(--g) 28px; transition: background-color .9s var(--ease); }
.colophon__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2vw; align-items: start; padding-bottom: 12vh; }
.colophon__title { grid-column: 1 / 7; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5.6vw, 5.8rem); line-height: .98; letter-spacing: -.025em; }
.colophon__title em { color: var(--ink-2); }
.downloads { grid-column: 8 / 13; }
.downloads ul { border-top: 1px solid var(--ink); }
.downloads a {
  display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 1rem;
  padding: 16px 4px; border-bottom: 1px solid var(--ink); text-decoration: none;
  font-family: var(--serif); font-size: 1.45rem; line-height: 1.1;
  transition: background-color .35s var(--ease), color .35s var(--ease), padding .35s var(--ease);
}
.downloads a i { font-style: normal; text-align: right; font-family: var(--sans); font-size: 1.1rem; transition: transform .35s var(--ease); }
.downloads a:hover { background: var(--ink); color: var(--cover); padding-left: 14px; padding-right: 14px; }
.downloads a:hover i { transform: translateY(3px); }

.colophon__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2vw; padding: 3rem 0 10vh; border-top: 1px solid var(--rule); }
.spec > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 1rem; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.spec dt { color: var(--ink-3); }
.contacts p { font-size: 15px; line-height: 1.55; }
.contacts p + p { margin-top: 1.2rem; }
.contacts b { display: block; font-weight: 500; }
.contacts a { display: block; padding: 3px 0; text-decoration: none; color: var(--ink-2); }
.contacts a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.colophon__brand svg { width: 100%; height: auto; fill: var(--ink); display: block; }
.colophon__legal { margin-top: 22px; color: var(--ink-3); display: flex; justify-content: space-between; text-transform: none; letter-spacing: .02em; }

/* animations rest while their section is off screen */
[data-anim].is-paused *, [data-anim].is-paused *::before, [data-anim].is-paused *::after { animation-play-state: paused !important; }

/* without JavaScript: no pinned horizontal scroll */
html:not(.js) .essay__pin { position: relative; height: auto; padding: 12vh 0; }
html:not(.js) .essay__track { overflow-x: auto; padding-bottom: 20px; }
html:not(.js) .essay__hint { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 861px) and (max-width: 1080px) {
  .connect__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 5vh; }
  .node { grid-column: span 2; }
  .node:nth-child(-n+2) { grid-column: span 3; }
  .node:nth-child(-n+2) .node__img { aspect-ratio: 3 / 2; }
}

@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  body { font-size: 16px; }
  .nav { grid-template-columns: auto 1fr; }
  .nav__issue { display: none; }
  .nav__link:not(.nav__link--keep) { display: none; }

  .cover { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto auto; column-gap: 16px; padding-bottom: 24px; }
  .cover__dateline-mid { display: none; }
  .masthead { font-size: 22vw; margin-top: .14em; }
  .cover__stage { grid-column: 1 / -1; grid-row: 3; width: min(78vw, 46svh); margin-top: -7vw; }
  .coverline { grid-row: auto; max-width: none; margin: 0 !important; text-align: left !important; justify-self: stretch !important; align-self: start !important; }
  .coverline--a { grid-column: 1; grid-row: 4; } .coverline--c { grid-column: 2; grid-row: 4; }
  .coverline--b { grid-column: 1; grid-row: 5; margin-top: 18px !important; } .coverline--d { grid-column: 2; grid-row: 5; margin-top: 18px !important; }
  .coverline > a > span:last-child { font-size: 13px; }
  .cover__tagline { grid-column: 1 / -1; grid-row: 6; margin-top: 32px; }
  .cover__scroll { display: none; }

  .editorial__grid, .colors__head, .builder__head, .connect__head, .system__top, .colophon__top { grid-template-columns: 1fr; row-gap: 2rem; }
  .editorial__grid > *, .colors__head > *, .builder__head > *, .connect__head > *, .system__top > *, .colophon__top > * { grid-column: 1 / -1 !important; }
  .editorial__fig { position: relative; top: 0; }
  .editorial__img { aspect-ratio: 4 / 5; }
  .cols { columns: 1; }

  .anatomy__wrap { grid-template-columns: 1fr; }
  .anatomy__sticky { top: var(--nav-h); height: auto; padding: 18px 0 12px; z-index: 2; background: var(--paper); transition: background-color .9s var(--ease); }
  .anatomy__stage { width: 100%; }
  .anatomy__steps { padding: 4vh 0 10vh; }
  .step { min-height: 62svh; justify-content: flex-start; padding-top: 4vh; }
  .step::before { display: none; }

  .colors__split { flex-direction: column; height: auto; }
  .swatch { height: 92svh; min-height: 560px; flex: none; }
  .swatch__plate { width: 58vw; top: 38%; }

  .finishes__grid, .builder__grid { grid-template-columns: 1fr; row-gap: 5vh; }
  .finishes__plates { width: 82vw; }

  .essay { height: auto !important; }
  .essay__pin { position: relative; height: auto; display: block; padding: 12vh 0 8vh; }
  .essay__head { width: auto; margin-bottom: 5vh; }
  .essay__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--g) 12px; gap: 16px; transform: none !important; scrollbar-width: none; }
  .essay__track::-webkit-scrollbar { display: none; }
  .plate-fig { scroll-snap-align: center; }
  .plate-fig--tall .plate-fig__img { height: 62svh; }
  .plate-fig--wide .plate-fig__img { height: 40svh; }
  .plate-fig figcaption { max-width: 70vw; }
  .essay__hint, .essay__end { display: none; }

  .builder__canvas { position: relative; top: 0; min-height: 52svh; }
  .cplate[data-orient="h"] { --u: min(30vw, calc(80vw / (var(--n) * .83 + .17))); }
  .cplate[data-orient="v"] { --u: min(30vw, calc(48svh / (var(--n) * .83 + .17))); }
  .editorial { padding-top: 6vh; }
  .editorial__grid { padding-top: 5vh; }
  .colors, .builder, .system { padding-top: 8vh; }
  .colors__head, .builder__head { padding-top: 5vh; }
  .seg span { font-size: 13px; padding: 11px 2px; }

  .connect__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; row-gap: 5vh; }
  .node--big { grid-column: 1 / -1; }

  .system__num { font-size: 42vw; }
  .facts { grid-template-columns: 1fr; row-gap: 2.4rem; }
  .colophon__grid { grid-template-columns: 1fr; row-gap: 2.6rem; }
  .colophon__legal { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
