/* ==========================================================================
   Iron Bridge — the magazine
   1. Tokens 2. Base 3. Type 4. Header 5. Cover 6. Contents 7. Spread 8. Article
   10. Truss 11. Departments 12. Dispatch 13. Footer 14. Listing 15. Dialogs 16. Motion 17. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--bg: #0C0C0B;
	--bg-2: #141412;
	--bg-3: #1D1C19;
	--rule: #2C2A26;
	--rule-strong: #57534B;
	--ink: #ECE6DA;
	--ink-2: #A39D91;
	--ink-3: #777166;
	--signal: #FF5B14;
	--signal-text: #FF6A2B;
	--signal-ink: #0C0C0B;
	--steel: #EDEAE3;
	--shadow: rgba(0, 0, 0, .55);

	--f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
	--f-stencil: "Big Shoulders Stencil Display", var(--f-display);
	--f-serif: "Newsreader", "Georgia", serif;
	--f-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, monospace;
	--f-logo: "Montserrat", var(--f-sans);

	--pad: clamp(16px, 2.8vw, 40px);
	--max: 1440px;
	--ease-iron: cubic-bezier(.2, .8, .2, 1);
	--ease-weld: cubic-bezier(.7, 0, .2, 1);
	color-scheme: dark;
}

:root[data-theme="light"] {
	--bg: #ECE6DA;
	--bg-2: #E4DDCF;
	--bg-3: #D9D1C2;
	--rule: #C6BDAC;
	--rule-strong: #2A2722;
	--ink: #15140F;
	--ink-2: #4F4A41;
	--ink-3: #70695D;
	--signal: #E2480A;
	--signal-text: #C23D06;
	--signal-ink: #0C0C0B;
	--steel: #3B3D42;
	--shadow: rgba(60, 40, 20, .28);
	color-scheme: light;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.5 var(--f-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	transition: background-color .7s var(--ease-weld), color .7s var(--ease-weld);
	overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--signal-ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--signal-ink); padding: 10px 14px; font: 700 14px var(--f-sans); }
.skip-link:focus { top: 12px; }

.muted { color: var(--ink-3); }
.muted-2 { color: var(--ink-2); }
.ink { color: var(--ink); }
.signal { color: var(--signal-text); }
.small { font-size: 13.5px; line-height: 1.5; }
.vr { width: 1px; height: 14px; background: var(--rule-strong); }

/* 3. Type ------------------------------------------------------------------ */
.mono { font: 500 11px/1.35 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.display-mega, .display-xl, .display-l, .display-m {
	font-family: var(--f-display);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -.005em;
	text-wrap: balance;
}
.display-mega { font-size: clamp(64px, 11vw, 168px); line-height: .82; }
.display-xl { font-size: clamp(48px, 7.2vw, 104px); line-height: .86; }
.display-xl.is-long { font-size: clamp(44px, 5.6vw, 84px); line-height: .88; }
.display-xl.is-xlong { font-size: clamp(38px, 4.6vw, 68px); line-height: .9; }
.display-l { font-size: clamp(38px, 5vw, 72px); line-height: .9; }
.display-m { font-size: clamp(30px, 3.2vw, 44px); line-height: .94; font-weight: 800; }
.stencil { font: 900 72px/.9 var(--f-stencil); color: var(--signal); }
.serif-l { font: 500 clamp(24px, 2.4vw, 34px)/1.12 var(--f-serif); letter-spacing: -.01em; text-wrap: balance; }
.serif-m { font: 500 21px/1.2 var(--f-serif); letter-spacing: -.005em; text-wrap: pretty; }
.deck { font: italic 400 clamp(19px, 1.7vw, 24px)/1.34 var(--f-serif); color: var(--ink-2); text-wrap: pretty; }
.deck--l { font-size: clamp(21px, 2vw, 30px); }
.deck--s { font-size: 19px; color: var(--ink); }
.body { font: 400 18px/1.55 var(--f-serif); }

.badge { background: var(--signal); color: var(--signal-ink); padding: 4px 7px 3px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.kicker a:hover { color: var(--ink); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 700 16px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
	padding-bottom: 5px; position: relative;
}
.link-arrow::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal);
	transform-origin: left; transition: transform .18s var(--ease-iron);
}
.link-arrow .icon { color: var(--signal); transition: transform .18s var(--ease-iron); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover::after { transform: scaleX(1.06); }
.linklike { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: 700 16px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
	padding: 13px 20px; border: 1px solid transparent; white-space: nowrap;
	transition: background-color .18s var(--ease-iron), color .18s var(--ease-iron), border-color .18s var(--ease-iron);
}
.btn .icon { transition: transform .18s var(--ease-iron); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { background: var(--signal); color: var(--signal-ink); }
.btn--primary:hover { background: var(--ink); color: var(--bg); }
.btn--outline { border-color: var(--rule-strong); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; justify-content: space-between; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--ink); }
.icon-btn:hover { color: var(--signal); }

/* 4. Header ---------------------------------------------------------------- */
.utility {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 40px; color: var(--ink-2); flex-wrap: wrap; row-gap: 6px; padding-block: 6px;
	border-bottom: 1px solid var(--rule);
}
.utility__edition, .utility__actions { display: flex; align-items: center; gap: 22px; }
.utility__support { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.utility__support .icon { color: var(--signal); transition: transform .4s var(--ease-iron); }
.utility__support:hover .icon { transform: rotate(90deg); }
.utility__support:hover { color: var(--signal-text); }

.theme-toggle { display: inline-flex; border: 1px solid var(--rule-strong); padding: 2px; }
.theme-toggle__opt {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px;
	font: 500 11px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
	transition: background-color .25s var(--ease-iron), color .25s var(--ease-iron);
}
.theme-toggle__opt[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme-toggle__opt:not([aria-pressed="true"]):hover { color: var(--ink); }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px 18px; }
.masthead__right { display: flex; align-items: center; gap: 14px; }

.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); }
.mark-wrap { display: inline-block; }
.mark-wrap .mark { height: 100%; width: auto; }
:root[data-theme="light"] .mark--dark, :root:not([data-theme="light"]) .mark--light { display: none; }
.logo__mark { height: 58px; }
.logo__rule { width: 2px; align-self: stretch; margin-block: 6px; background: var(--signal); }
.logo__words { display: flex; flex-direction: column; gap: 5px; }
.logo__name { font: 800 23px/.9 var(--f-logo); text-transform: uppercase; letter-spacing: -.01em; }
.logo__games { font: 700 9.5px/1 var(--f-logo); text-transform: uppercase; letter-spacing: .72em; color: var(--signal); }
.logo:hover .logo__mark { animation: wobble .5s var(--ease-iron); }
@keyframes wobble { 30% { transform: translateY(-3px) rotate(-2deg); } 60% { transform: translateY(1px) rotate(1deg); } }

.nav__list { display: flex; flex-wrap: wrap; align-items: center; }
.nav__list li { display: flex; align-items: center; }
.nav .nav__list li + li::before { content: "/"; color: var(--ink-3); margin-inline: 12px; font: 700 18px var(--f-display); }
.nav__list a {
	position: relative; font: 700 18px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; padding-block: 6px;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--signal);
	transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-iron);
}
.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
.nav__list .current-menu-item > a { color: var(--signal-text); }

.double-rule { display: grid; gap: 3px; }
.double-rule span { display: block; height: 3px; background: var(--ink); transform-origin: left; }
.double-rule span + span { height: 1px; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 50; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--signal); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* 5. Magazine cover (WebGL) ----------------------------------------------- */
.cover-stage {
	--on: #F4EFE6;
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-rows: auto 1fr auto;
	min-height: clamp(560px, calc(100svh - 142px), 940px);
	color: var(--on); background: #0C0C0B;
}
.cover-stage__media { position: absolute; inset: 0; z-index: -1; }
.cover-stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease-iron); }
.cover-stage__img.is-active { opacity: 1; }
.cover-stage__img--ht .ht { position: absolute; inset: 0; }
.cover-stage.is-gl .cover-stage__img { opacity: 0; transition-duration: .2s; }
.cover-stage__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .3s; }
.cover-stage.is-gl .cover-stage__gl { opacity: 1; }
.cover-stage__shade {
	position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(8, 8, 7, .62) 0%, rgba(8, 8, 7, 0) 22%, rgba(8, 8, 7, 0) 40%, rgba(8, 8, 7, .78) 76%, rgba(8, 8, 7, .94) 100%),
		linear-gradient(90deg, rgba(8, 8, 7, .5), rgba(8, 8, 7, 0) 64%);
}
.cover-stage__top { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; color: rgba(244, 239, 230, .78); border-bottom: 1px solid rgba(244, 239, 230, .16); }
.cover-stage__slides { display: grid; align-self: end; padding-block: 48px 30px; }
.cover-slide { grid-area: 1 / 1; display: grid; align-content: end; gap: 20px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-iron), visibility .5s; }
.cover-slide.is-active { opacity: 1; visibility: visible; }
.cover-stage .kicker { color: rgba(244, 239, 230, .78); }
.cover-slide__title { font: 900 clamp(50px, 7.6vw, 128px)/.84 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; max-width: 15ch; text-wrap: balance; }
.cover-slide__title.is-long { font-size: clamp(42px, 5.8vw, 96px); max-width: 19ch; }
.cover-slide__title.is-xlong { font-size: clamp(36px, 4.7vw, 78px); max-width: 24ch; }
.cover-slide__title a { transition: color .25s; }
.cover-slide__title a:hover { color: var(--signal); }
.cover-slide__deck { font: italic 400 clamp(18px, 1.6vw, 23px)/1.36 var(--f-serif); color: rgba(244, 239, 230, .84); max-width: 58ch; text-wrap: pretty; }
.cover-slide__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; color: rgba(244, 239, 230, .72); }
.cover-slide__foot .sep { margin-inline: 6px; opacity: .5; }
.cover-slide__foot .link-arrow { color: var(--on); }
.cover-stage__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 24px; padding-block: 0 22px; }
.cover-tab { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: start; padding-top: 0; text-align: left; color: rgba(244, 239, 230, .5); transition: color .3s; }
.cover-tab:hover, .cover-tab.is-active { color: var(--on); }
.cover-tab__bar { grid-column: 1 / -1; height: 2px; background: rgba(244, 239, 230, .2); overflow: hidden; }
.cover-tab__bar i { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.cover-tab.is-active .cover-tab__bar { background: rgba(244, 239, 230, .34); }
.cover-tab__title { font: 500 15px/1.3 var(--f-serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 6. Contents ("In this issue") -------------------------------------------- */
.toc { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 72px; padding-block: 64px 96px; }
.toc__head { position: sticky; top: 28px; align-self: start; display: grid; gap: 22px; }
.toc__head .display-mega { font-size: clamp(64px, 8vw, 132px); }
.toc__list > li { border-top: 1px solid var(--rule-strong); }
.toc__list > li:last-child { border-bottom: 1px solid var(--rule-strong); }
.toc-item { display: grid; grid-template-columns: 64px minmax(160px, 250px) minmax(0, 1fr) 28px; align-items: center; gap: 28px; padding-block: 24px; }
.toc-item__page { font: 900 26px/1 var(--f-stencil); color: var(--ink-3); letter-spacing: 0; text-transform: none; transition: color .25s; }
.toc-item__img, .card__img {
	position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-3);
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .5s var(--ease-iron), box-shadow .5s var(--ease-iron);
}
.toc-item__img img, .card__img img, .toc-item__img .ht, .card__img .ht { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform .9s var(--ease-iron); }
.toc-item__img .ht, .card__img .ht { aspect-ratio: auto; }
.toc-item:hover img, .card__img:hover img { transform: scale(1.09); }
.is-tilting.toc-item .toc-item__img, .card__img.is-tilting { transition: box-shadow .5s var(--ease-iron); box-shadow: 0 26px 50px -22px var(--shadow); }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 55%); mix-blend-mode: soft-light; }
.is-tilting .tilt-glare { opacity: 1; }
.toc-item [data-tilt] { transform-style: preserve-3d; }
.toc-item__body { display: grid; gap: 8px; min-width: 0; }
.toc-item__title { font: 500 clamp(21px, 2vw, 28px)/1.14 var(--f-serif); letter-spacing: -.01em; text-wrap: balance; transition: color .2s; }
.toc-item__deck { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.toc-item__arrow { transition: transform .25s var(--ease-iron), color .2s; }
.toc-item:hover .toc-item__title { color: var(--signal-text); }
.toc-item:hover .toc-item__page { color: var(--signal); }
.toc-item:hover .toc-item__arrow { transform: translateX(6px); color: var(--signal); }

/* Region index & meter */
.regions { padding-top: 8px; display: grid; gap: 10px; }
.regions a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 500; transition: padding .2s var(--ease-iron), color .2s; }
.regions a:hover { padding-left: 8px; color: var(--signal-text); }
.meter { display: grid; gap: 8px; width: 100%; max-width: 440px; }
.meter__labels { display: flex; justify-content: space-between; gap: 12px; }
.meter__bar { height: 4px; background: var(--rule); overflow: hidden; }
.meter__bar span { display: block; height: 100%; width: var(--p); background: var(--signal); transform-origin: left; }

/* 7. Quote spread --------------------------------------------------------- */
.spread { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(520px, 84vh, 860px); }
.spread__bg { position: absolute; inset: -6% 0; z-index: -1; }
.spread__bg .ht { position: absolute; inset: 0; aspect-ratio: auto; background: transparent; }
.spread__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 72%, transparent) 52%, color-mix(in srgb, var(--bg) 12%, transparent) 100%); }
.spread__quote { display: grid; gap: 26px; padding-block: 96px; }
.spread blockquote { margin: 0; max-width: 36ch; }
.spread blockquote p { font: italic 400 clamp(26px, 3vw, 46px)/1.16 var(--f-serif); letter-spacing: -.015em; text-wrap: balance; }
.spread figcaption a { color: var(--signal-text); text-decoration: underline; text-underline-offset: 4px; }

/* 8. Feature (single article) --------------------------------------------- */
.feature-hero { --on: #F4EFE6; position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(520px, 84vh, 960px); color: var(--on); background: #0C0C0B; }
.feature-hero__media { position: absolute; inset: 0; z-index: -2; }
.feature-hero__img { width: 100%; height: 100%; object-fit: cover; }
.feature-hero__media .ht { position: absolute; inset: 0; aspect-ratio: auto; }
.feature-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 7, .45) 0%, rgba(8, 8, 7, 0) 26%, rgba(8, 8, 7, .1) 46%, rgba(8, 8, 7, .86) 88%, rgba(8, 8, 7, .96) 100%); }
.feature-hero__text { display: grid; gap: 20px; padding-block: 120px 44px; }
.feature-hero .kicker, .feature-hero .kicker a { color: rgba(244, 239, 230, .8); }
.feature-hero .kicker a:hover { color: var(--on); }
.feature-hero__title { font: 900 clamp(48px, 7.2vw, 120px)/.84 var(--f-display); text-transform: uppercase; max-width: 15ch; text-wrap: balance; }
.feature-hero__title.is-long { font-size: clamp(42px, 5.6vw, 92px); max-width: 20ch; }
.feature-hero__title.is-xlong { font-size: clamp(36px, 4.6vw, 76px); max-width: 25ch; }
.feature-hero--ht { color: var(--ink); background: var(--bg-2); }
.feature-hero--ht .feature-hero__shade { background: linear-gradient(180deg, transparent 30%, var(--bg) 96%); }
.feature-hero--ht .kicker, .feature-hero--ht .kicker a { color: var(--ink-2); }

.article__intro { display: grid; gap: 18px; width: min(100%, calc(680px + 2 * var(--pad))); margin-inline: auto; padding-top: 40px; }
.byline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-block: 12px; border-block: 1px solid var(--rule); }
.byline .sep { color: var(--ink-3); margin-inline: 6px; }
.byline__share { display: inline-flex; gap: 16px; }
.byline__share a:hover, .byline__share button:hover { color: var(--signal-text); }
.caption { color: var(--ink-3); }

/* Article body: column grid with wide / full breakouts. */
.prose {
	--col: 680px;
	display: grid;
	grid-template-columns: [full-start] minmax(var(--pad), 1fr) [wide-start] minmax(0, 200px) [content-start] min(var(--col), 100% - 2 * var(--pad)) [content-end] minmax(0, 200px) [wide-end] minmax(var(--pad), 1fr) [full-end];
	padding-block: 36px 88px;
	font: 400 20px/1.68 var(--f-serif); color: var(--ink);
}
.prose > * { grid-column: content; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > :is(.alignwide, .wp-block-image, .wp-block-video, .wp-block-embed, .ib-embed, .wp-block-gallery, .wp-block-table, .wp-block-pullquote) { grid-column: wide; margin-block: 2.2em; }
.prose > .alignfull { grid-column: full; }
.prose > :is(.alignleft, .alignright) { grid-column: content; }
.prose > p:first-of-type::first-letter { float: left; font: 900 5.6em/.74 var(--f-display); color: var(--signal); margin: .06em .1em 0 0; text-transform: uppercase; }
.prose h2 { font: 800 clamp(30px, 3vw, 42px)/.98 var(--f-display); text-transform: uppercase; margin-top: 1.9em; text-wrap: balance; }
.prose h2 strong { font-weight: inherit; }
.prose h3 { font: 500 26px/1.2 var(--f-serif); margin-top: 1.7em; text-wrap: balance; }
.prose h4 { font: 500 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--signal-text); margin-top: 1.6em; }
.prose a { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose a:hover { color: var(--signal-text); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before { content: ""; position: absolute; left: -1.05em; top: .62em; width: 6px; height: 6px; background: var(--signal); transform: rotate(45deg); }
.prose ol { list-style: decimal; }
.prose ol li::marker { font: 500 14px var(--f-mono); color: var(--signal-text); }
.prose li + li { margin-top: .4em; }
.prose blockquote, .prose .wp-block-quote { margin-inline: 0; padding: .1em 0 .1em 28px; border-left: 3px solid var(--signal); font: italic 400 clamp(23px, 2.3vw, 31px)/1.3 var(--f-serif); }
.prose blockquote p + p { margin-top: .6em; }
.prose cite { display: block; margin-top: 12px; font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.prose .wp-block-pullquote { border: 0; border-block: 3px solid var(--ink); padding: 32px 0; text-align: left; }
.prose .wp-block-pullquote blockquote { border: 0; padding: 0; font: italic 400 clamp(28px, 3.4vw, 46px)/1.16 var(--f-serif); }
.prose hr { border: 0; height: 22px; margin-block: 2.2em; background: radial-gradient(circle, var(--rule-strong) 2px, transparent 2.5px) center / 22px 22px repeat-x; }
.prose code { font: 500 .8em var(--f-mono); background: var(--bg-3); padding: .1em .35em; }
.prose pre { font: 500 14px/1.6 var(--f-mono); background: var(--bg-2); border: 1px solid var(--rule); padding: 18px 20px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose strong { font-weight: 600; }

/* Media inside articles */
.prose figure { margin-inline: 0; }
.prose figure img, .prose > img { display: block; width: 100%; height: auto; }
.prose img.is-zoomable { cursor: zoom-in; }
.prose figcaption, .prose .wp-element-caption { margin-top: 10px; font: 500 11px/1.45 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: left; }
.prose video { display: block; width: 100%; height: auto; background: var(--bg-3); }
.prose audio { width: 100%; }
.prose .wp-block-video video { border: 1px solid var(--rule); }
.ib-embed { position: relative; aspect-ratio: var(--ratio, 16 / 9); background: var(--bg-3); border: 1px solid var(--rule); }
.ib-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ib-embed--fixed { aspect-ratio: auto; background: none; border: 0; }
.ib-embed--fixed iframe { position: static; width: 100%; }
.prose .wp-block-embed iframe { width: 100%; max-width: 100%; border: 0; }
.prose .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper { background: var(--bg-3); }
.prose .wp-block-embed:not(.wp-has-aspect-ratio) .wp-block-embed__wrapper iframe { min-height: 360px; }
.prose .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; }
.prose .wp-block-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose .wp-block-table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--f-sans); }
.prose th { font: 500 11px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--ink-2); padding: 12px 14px; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose tbody tr:hover td { background: var(--bg-2); }
.prose .wp-block-table :is(td, th) { border-left: 0; border-right: 0; border-top: 0; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-table td { border-bottom: 1px solid var(--rule); }
.prose .wp-block-table th { border-bottom: 2px solid var(--ink); }
.prose .wp-block-button__link { display: inline-flex; padding: 13px 20px; background: var(--signal); color: var(--signal-ink); font: 700 16px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: 0; }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.ib-callout { padding: 20px 24px; background: var(--bg-2); border-left: 3px solid var(--signal); font-size: 18px; }
.ib-bookmark a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--rule-strong); text-decoration: none; }
.ib-bookmark strong { font: 500 20px/1.25 var(--f-serif); }
.ib-bookmark span { font-size: 15px; color: var(--ink-2); }
.ib-bookmark a:hover { border-color: var(--signal); }

.support-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding-block: 18px; border-block: 1px solid var(--rule-strong); margin-top: 2.6em !important; }
.support-strip__text { font: italic 400 19px/1.35 var(--f-serif); }
.prose .tags { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 0; }
.prose .tags li { margin: 0; }
.prose .tags li::before { display: none; }
.prose .tags a { display: inline-block; padding: 7px 10px; border: 1px solid var(--rule-strong); text-decoration: none; }
.prose .tags a:hover { background: var(--ink); color: var(--bg); }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding-block: 22px; border-top: 1px solid var(--rule); font-size: 16px; }
.author-box p { margin: 0; }
.author-box p + p { margin-top: 4px; }
.author-box__mark .mark { width: 48px; height: auto; }

.more { padding-block: 56px 96px; display: grid; gap: 36px; }
.more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { display: grid; gap: 12px; align-content: start; }
.card h3 a:hover { color: var(--signal-text); }
.comments-wrap { max-width: 800px; padding-bottom: 64px; }

/* Colophon / 3D bridge page */
.colophon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 40px 24px; }
.colophon__text { display: grid; gap: 22px; }
.colophon__hint { display: inline-flex; gap: 8px; align-items: center; }
.stage { position: relative; aspect-ratio: 1 / .86; min-height: 340px; overflow: hidden; touch-action: pan-y; user-select: none; }
.stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 50% 55%, #000 30%, transparent 72%); opacity: .7; }
.stage__fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s var(--ease-iron); }
.stage__fallback .mark-wrap { width: 36%; }
.stage__fallback .mark { width: 100%; height: auto; filter: drop-shadow(0 30px 30px var(--shadow)); }
.stage.is-live .stage__fallback { opacity: 0; }
.stage__canvas { position: absolute; inset: 0; cursor: grab; }
.stage__canvas:active { cursor: grabbing; }
.stage__canvas canvas { width: 100% !important; height: 100% !important; }
.page-cover img { width: 100%; height: auto; }

/* Read cursor */
.read-cursor {
	position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
	width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%;
	display: grid; place-items: center; background: var(--signal); color: var(--signal-ink);
	font: 800 15px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
	scale: 0; transition: scale .3s var(--ease-iron);
	transform: translate3d(-200px, -200px, 0);
}
.read-cursor.is-on { scale: 1; }
.read-cursor span::after { content: " →"; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 6, 5, .95); color: #F4EFE6; }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 14px; padding: 64px 80px 28px; margin: 0; }
.lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; animation: lb-in .45s var(--ease-iron); }
.lightbox__fig figcaption { color: rgba(244, 239, 230, .7); max-width: 80ch; text-align: center; }
.lightbox__btn { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border: 1px solid rgba(244, 239, 230, .3); font: 500 20px var(--f-sans); color: #F4EFE6; }
.lightbox__btn:hover { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; color: #F4EFE6; }
.lightbox__count { position: absolute; top: 22px; left: 22px; color: rgba(244, 239, 230, .6); }
.lightbox.is-single .lightbox__btn, .lightbox.is-single .lightbox__count { display: none; }
.lightbox.is-closing { animation: fade-out .22s ease forwards; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* Translation offer */
.ib-tr-offer {
	position: fixed; left: 50%; bottom: 20px; z-index: 80;
	width: min(660px, calc(100% - 32px)); transform: translate(-50%, calc(100% + 40px));
	display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center;
	padding: 18px 48px 18px 18px; background: var(--bg); color: var(--ink);
	border: 1px solid var(--rule-strong); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .65);
	transition: transform .55s var(--ease-iron);
}
.ib-tr-offer.is-on { transform: translate(-50%, 0); }
.ib-tr__glyph { width: 54px; height: 54px; display: grid; place-items: center; background: var(--signal); color: var(--signal-ink); font: 900 24px/1 var(--f-display); }
.ib-tr__title { font: 800 22px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.ib-tr__sub { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 4px 0 0; }
.ib-tr__actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.ib-tr__actions .btn { padding: 11px 16px; font-size: 15px; }
.ib-tr__close { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; font: 400 24px/1 var(--f-sans); color: var(--ink-2); }
.ib-tr__close:hover { color: var(--signal); }
.ib-tr-badge { display: inline-flex; gap: 8px; align-items: center; padding: 4px 8px; border: 1px solid var(--signal); color: var(--signal-text); }
.ib-tr-badge__x { color: var(--ink); }
.ib-tr-badge:hover { background: var(--signal); color: var(--signal-ink); }
.ib-tr-badge:hover .ib-tr-badge__x { color: var(--signal-ink); }
.ib-tr-toast { position: fixed; left: 50%; bottom: 24px; z-index: 81; transform: translate(-50%, 160%); padding: 12px 18px; background: var(--ink); color: var(--bg); font: 500 14px var(--f-sans); transition: transform .45s var(--ease-iron); }
.ib-tr-toast.is-on { transform: translate(-50%, 0); }
html.is-translating main { cursor: progress; }
.ib-gt, .goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-tooltip, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Film grain — the printed page */
body::after {
	content: ""; position: fixed; inset: -60px; z-index: 64; pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 -.25'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	opacity: .07; mix-blend-mode: overlay; animation: grain 1.2s steps(6) infinite;
}
:root[data-theme="light"] body::after { opacity: .1; mix-blend-mode: multiply; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(18px, -26px); } 60% { transform: translate(-12px, 30px); } 80% { transform: translate(26px, 8px); } }

/* Halftone figure */
.ht { position: relative; width: 100%; background: var(--bg-3); overflow: hidden; }
.ht canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ht__src { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.ht--photo img { width: 100%; height: 100%; object-fit: cover; }
.ht--lens { cursor: crosshair; }

.ht--fill { position: absolute; inset: 0; aspect-ratio: auto !important; }

/* 10. Truss ----------------------------------------------------------------- */
.truss { position: relative; height: 44px; width: min(calc(var(--max) - 2 * var(--pad)), calc(100% - 2 * var(--pad))); margin-inline: auto; color: var(--rule-strong); }
.truss > * { position: absolute; left: 0; width: 100%; }
.truss__chord { height: 1.25px; background: currentColor; }
.truss__chord--top { top: 0; }
.truss__chord--bottom { bottom: 0; }
.truss__diag, .truss__rivets { top: 0; height: 44px; }
.truss__span { bottom: -1px; left: calc(var(--accent) * (100% - 120px)); width: 120px; height: 3px; background: var(--signal); }

/* 11. Departments ----------------------------------------------------------- */
.depts { padding-block: 56px 80px; position: relative; }
.depts__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 28px; }
.depts__list { border-bottom: 1px solid var(--rule-strong); }
.dept {
	position: relative; display: grid; grid-template-columns: 90px minmax(160px, 300px) minmax(0, 1fr) 170px 34px; align-items: center; gap: 28px;
	padding: 22px 20px; border-top: 1px solid var(--rule-strong); isolation: isolate;
}
.dept::before {
	content: ""; position: absolute; inset: 0; background: var(--signal); z-index: -1;
	clip-path: inset(0 100% 0 0); transition: clip-path .24s var(--ease-weld);
}
.dept:hover::before, .dept:focus-visible::before { clip-path: inset(0 0 0 0); }
.dept__num { font-size: 64px; transition: transform .24s var(--ease-weld), color .24s; }
.dept__name { font: 800 clamp(30px, 3.2vw, 44px)/.94 var(--f-display); text-transform: uppercase; }
.dept__desc { font: italic 400 21px/1.3 var(--f-serif); color: var(--ink-2); }
.dept__meta { display: grid; gap: 4px; color: var(--ink-3); }
.dept__arrow { transition: transform .24s var(--ease-weld); }
.dept:hover .dept__num { transform: translateX(8px); }
.dept:hover .dept__arrow { transform: translateX(6px); }
.dept:hover :is(.dept__num, .dept__name, .dept__desc, .dept__meta, .dept__arrow), .dept:focus-visible :is(.dept__num, .dept__name, .dept__desc, .dept__meta, .dept__arrow) { color: var(--signal-ink); }
.dept-preview {
	position: fixed; left: 0; top: 0; width: 280px; z-index: 20; pointer-events: none;
	opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.9); transition: opacity .2s var(--ease-iron);
	border: 1px solid var(--signal-ink); box-shadow: 0 18px 40px var(--shadow);
}
.dept-preview .ht { aspect-ratio: 16 / 10; }
.dept-preview.is-on { opacity: 1; }

/* 12. Dispatch -------------------------------------------------------------- */
.dispatch { display: grid; grid-template-columns: 1fr 1fr; padding-block: 56px 88px; }
.dispatch__news { display: flex; flex-direction: column; gap: 24px; padding-right: 56px; }
.dispatch__support { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; padding-left: 56px; border-left: 1px solid var(--rule-strong); }
.subscribe { display: flex; gap: 16px; align-items: flex-end; }
.subscribe input {
	flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 2px solid var(--ink); padding: 14px 0; font-size: 17px; border-radius: 0;
}
.subscribe input::placeholder { color: var(--ink-3); }
.subscribe input:focus { outline: none; border-bottom-color: var(--signal); }
.subscribe__note.is-warn { color: var(--signal-text); }
.dispatch__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-static { padding: 9px 15px; border: 1px solid var(--rule-strong); font: 700 16px/1 var(--f-display); letter-spacing: .06em; }
.chip-static.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* 13. Footer --------------------------------------------------------------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--ink); overflow: hidden; }
.site-footer__top { display: flex; justify-content: space-between; gap: 48px; padding-block: 48px 40px; }
.site-footer__brand { display: grid; gap: 16px; max-width: 380px; align-content: start; color: var(--ink-2); font-size: 14px; }
.logo--footer .logo__mark { height: 52px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 80px; }
.site-footer__cols h2 { margin-bottom: 16px; }
.site-footer__cols ul { display: grid; gap: 10px; }
.site-footer__cols a, .site-footer__cols .linklike { font-size: 15px; font-weight: 500; text-decoration: none; }
.site-footer__cols a:hover, .site-footer__cols .linklike:hover { color: var(--signal-text); }
.site-footer__giant { overflow: hidden; line-height: .78; padding-top: 8px; }
.site-footer__giant span {
	display: block; text-align: center; white-space: nowrap;
	font: 900 clamp(84px, 22.6vw, 330px)/.78 var(--f-display); text-transform: uppercase; letter-spacing: -.01em;
	color: var(--rule-strong);
}
:root[data-theme="light"] .site-footer__giant span { color: var(--bg-3); -webkit-text-stroke: 1px var(--rule); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 16px; border-top: 1px solid var(--rule); }
.site-footer__bottom a:hover { color: var(--ink); }
.made-by { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); }
.made-by .eve-logo { height: 13px; width: auto; color: var(--ink); transition: color .3s, transform .5s var(--ease-iron); }
.made-by:hover .eve-logo, .made-by:focus-visible .eve-logo { color: var(--signal-text); transform: translateY(-1px); }
.socials { display: grid; gap: 10px; }

/* 14. Listing / page / 404 ------------------------------------------------- */
.archive-head { display: grid; gap: 22px; padding-block: 56px 40px; }
.archive-head .deck { max-width: 60ch; }
.listing { padding-block: 32px 88px; }
.row { display: grid; grid-template-columns: 220px 150px minmax(0, 1fr) 34px; gap: 28px; align-items: start; padding-block: 24px; border-top: 1px solid var(--rule-strong); }
.row:last-child { border-bottom: 1px solid var(--rule-strong); }
.row__meta { display: grid; gap: 6px; padding-top: 6px; }
.row__body { display: grid; gap: 10px; }
.row__body h2 a:hover { color: var(--signal-text); }
.row__arrow { padding-top: 6px; transition: transform .2s var(--ease-iron), color .2s; }
.row:hover .row__arrow { transform: translateX(6px); color: var(--signal); }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 32px; font: 700 16px var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.pagination a, .pagination span { padding: 10px 14px; border: 1px solid var(--rule-strong); }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { display: grid; gap: 16px; max-width: 640px; padding-block: 24px; }

.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); }
.search-form__input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 14px 0; font: italic 400 22px var(--f-serif); }
.search-form__input:focus { outline: none; }
.search-form__input::placeholder { color: var(--ink-3); }
.search-form__btn { color: var(--signal); }

.nf { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 64px 96px; }
.nf__text { display: grid; gap: 24px; }
.nf__art { position: relative; display: grid; place-items: center; min-height: 420px; }
.nf__num { position: absolute; font-size: clamp(140px, 22vw, 320px); color: var(--bg-3); line-height: .8; }
.nf__mark { width: 44%; position: relative; animation: dangle 4s ease-in-out infinite; transform-origin: 50% 0; }
.nf__mark .mark { width: 100%; height: auto; }
@keyframes dangle { 50% { transform: rotate(-4deg) translateY(6px); } }

/* 15. Dialogs -------------------------------------------------------------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(5, 5, 5, .72); }
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(500px, 100%); max-width: none; padding: 0; border: 0; border-left: 1px solid var(--rule-strong); background: var(--bg); }
.drawer__panel { display: flex; flex-direction: column; gap: 24px; padding: 28px 40px 32px; min-height: 100%; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.drawer__close { display: inline-flex; gap: 8px; align-items: center; }
.drawer__close:hover { color: var(--signal-text); }
.drawer__text { font: 400 17px/1.55 var(--f-serif); color: var(--ink-2); }
.drawer__covers { display: grid; gap: 4px; }
.drawer__covers li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.drawer__covers li::before { content: ""; width: 6px; height: 6px; background: var(--signal); transform: rotate(45deg); flex: none; }
.drawer__actions { display: grid; gap: 10px; margin-top: auto; }
.drawer__alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.drawer__fine { font-size: 13px; color: var(--ink-3); margin-top: -12px; }

.seg, .chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.seg { border: 1px solid var(--rule-strong); align-self: flex-start; padding: 2px; }
.chips { gap: 10px; }
.seg input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 14px; font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--bg); }
.chip span { display: block; padding: 10px 16px; border: 1px solid var(--rule-strong); font: 700 17px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color .15s, color .15s; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

.sheet { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); }
.sheet__top { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.sheet__top .logo__mark { height: 44px; }
.sheet__nav { padding-block: 24px; }
.sheet__nav .nav__list { display: grid; }
.sheet__nav .nav__list a { display: block; font: 900 clamp(44px, 12vw, 64px)/1.02 var(--f-display); padding-block: 4px; letter-spacing: 0; }
.sheet__nav .nav__list a::after { display: none; }
.sheet__foot { display: grid; gap: 24px; padding-block: 16px 40px; }
.sheet__row { display: flex; justify-content: space-between; align-items: center; }
.sheet .socials { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 22px; color: var(--ink-2); }

.search-dialog { width: 100%; max-width: none; margin: 0; padding: 28px 0 40px; border: 0; border-bottom: 1px solid var(--rule-strong); background: var(--bg); }
.search-dialog__top { display: flex; justify-content: space-between; padding-bottom: 12px; }
.search-dialog .search-form__input { font-size: clamp(26px, 4vw, 44px); }

/* 16. Motion --------------------------------------------------------------- */
/* Rise-in headlines */
.rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.rise .w > span { display: inline-block; }
html.js .rise .w > span { transform: translateY(108%); transition: transform .9s var(--ease-iron) calc(var(--i, 0) * 45ms); }
html.js .rise.is-in .w > span { transform: none; }

/* Generic reveal */
html.js [data-reveal]:not(.rise):not(.truss):not(.double-rule) { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-iron) calc(var(--d, 0) * 60ms), transform .8s var(--ease-iron) calc(var(--d, 0) * 60ms); }
html.js [data-reveal].is-in:not(.rise):not(.truss):not(.double-rule) { opacity: 1; transform: none; }

/* Double rule draws on load */
html.js .double-rule span { transform: scaleX(0); transition: transform .9s var(--ease-iron); }
html.js .double-rule span + span { transition-delay: .12s; }
html.js .double-rule.is-in span { transform: scaleX(1); }

/* Truss assembly */
html.js .truss > * { clip-path: inset(0 100% 0 0); }
html.js .truss.is-in .truss__chord { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-iron); }
html.js .truss.is-in .truss__diag { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-iron) .25s; }
html.js .truss.is-in .truss__rivets { clip-path: inset(0 0 0 0); transition: clip-path 1s steps(30, end) .5s; }
html.js .truss .truss__span { clip-path: none; transform: scaleX(0); transform-origin: left; }
html.js .truss.is-in .truss__span { transform: scaleX(1); transition: transform .5s var(--ease-iron) 1.1s; }

/* Meter fills */
html.js .meter__bar span { transform: scaleX(0); }
html.js .meter.is-in .meter__bar span { transform: scaleX(1); transition: transform .9s var(--ease-iron) .2s; }

/* Footer giant word */
html.js .site-footer__giant span { transform: translateY(40%); opacity: 0; transition: transform 1.2s var(--ease-iron), opacity 1.2s var(--ease-iron); }
html.js .site-footer__giant span.is-in { transform: none; opacity: 1; }

/* Scroll-driven: hero parallax, image develop, spread drift */
@supports (animation-timeline: scroll()) {
	.feature-hero__media { animation: hero-par linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
	@keyframes hero-par { to { transform: translateY(16%) scale(1.06); } }
	.spread__bg { animation: spread-par linear both; animation-timeline: view(); }
	@keyframes spread-par { from { transform: translateY(-6%) scale(1.08); } to { transform: translateY(6%) scale(1.08); } }
	.prose > :is(.wp-block-image, .wp-block-video, .wp-block-gallery) :is(img, video) { animation: develop linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
	@keyframes develop { from { clip-path: inset(10% 4% 10% 4%); transform: scale(1.06); filter: grayscale(1) contrast(1.2); } to { clip-path: inset(0); transform: none; filter: none; } }
	.toc-item__img { animation: toc-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
	@keyframes toc-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
}

/* Drawer & sheets */
.drawer[open] { animation: drawer-in .42s var(--ease-iron); }
.drawer[open]::backdrop { animation: fade-in .2s ease; }
.drawer.is-closing { animation: drawer-out .26s var(--ease-weld) forwards; }
.drawer.is-closing::backdrop { animation: fade-out .26s ease forwards; }
.sheet[open], .search-dialog[open] { animation: sheet-in .36s var(--ease-iron); }
.sheet.is-closing, .search-dialog.is-closing { animation: sheet-out .22s var(--ease-weld) forwards; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes sheet-in { from { transform: translateY(-16px); opacity: 0; } }
@keyframes sheet-out { to { transform: translateY(-16px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* Page-to-page: cross-document View Transitions with a shared cover image */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-weld) both; }
::view-transition-new(root) { animation: vt-in .46s var(--ease-iron) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(20px); } }
::view-transition-group(vt-hero) { animation-duration: .7s; animation-timing-function: var(--ease-weld); z-index: 5; }
::view-transition-old(vt-hero), ::view-transition-new(vt-hero) { height: 100%; object-fit: cover; }

/* Theme switch — the arch wipe (same-document) */
html.vt-theme::view-transition-old(root) { animation: none; }
html.vt-theme::view-transition-new(root) { animation: arch-wipe .72s var(--ease-weld) both; }
@keyframes arch-wipe {
	from { clip-path: inset(100% 18% 0 18% round 50vw 50vw 0 0); }
	to { clip-path: inset(-30% -50% 0 -50% round 100vw 100vw 0 0); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
	body::after { animation: none; }
}

/* 17. Responsive ----------------------------------------------------------- */
.show-md { display: none; }
@media (max-width: 1280px) {
	.nav .nav__list li + li::before { margin-inline: 8px; }
	.nav__list a { font-size: 16px; }
	.dept { grid-template-columns: 70px minmax(140px, 240px) minmax(0, 1fr) 130px 30px; gap: 20px; }
	.dept__num { font-size: 52px; }
	.toc { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; }
	.toc-item { grid-template-columns: 52px minmax(140px, 200px) minmax(0, 1fr) 24px; gap: 22px; }
}
@media (max-width: 1100px) {
	.nav, .hide-md { display: none; }
	.show-md { display: inline-grid; }
	.toc { grid-template-columns: 1fr; gap: 36px; }
	.toc__head { position: static; }
	.dept { grid-template-columns: 64px minmax(0, 1fr) 30px; grid-template-areas: "num name arrow" "num desc arrow" "num meta arrow"; gap: 6px 20px; }
	.dept__num { grid-area: num; } .dept__name { grid-area: name; } .dept__desc { grid-area: desc; font-size: 18px; } .dept__meta { grid-area: meta; grid-auto-flow: column; justify-content: start; gap: 14px; } .dept__arrow { grid-area: arrow; }
	.dept-preview { display: none; }
	.dispatch { grid-template-columns: 1fr; gap: 48px; }
	.dispatch__news { padding-right: 0; }
	.dispatch__support { padding-left: 0; border-left: 0; padding-top: 40px; border-top: 1px solid var(--rule-strong); }
	.site-footer__top { flex-direction: column; }
	.site-footer__cols { gap: 48px; }
	.row { grid-template-columns: 180px minmax(0, 1fr) 30px; grid-template-areas: "thumb meta arrow" "thumb body arrow"; gap: 10px 24px; }
	.row__thumb { grid-area: thumb; } .row__meta { grid-area: meta; grid-auto-flow: column; justify-content: start; gap: 14px; padding-top: 0; } .row__body { grid-area: body; } .row__arrow { grid-area: arrow; }
	.nf { grid-template-columns: 1fr; }
	.nf__art { min-height: 300px; order: -1; }
	.colophon { grid-template-columns: 1fr; }
	.prose { grid-template-columns: [full-start] var(--pad) [wide-start content-start] minmax(0, 1fr) [content-end wide-end] var(--pad) [full-end]; }
	.prose > :is(.wp-block-image, .wp-block-video, .wp-block-gallery, .alignwide) { grid-column: full; }
	.prose > :is(.wp-block-image, .wp-block-video) figcaption { padding-inline: var(--pad); }
}
@media (max-width: 720px) {
	.hide-sm { display: none !important; }
	.utility { min-height: 44px; }
	.utility__edition, .utility__actions { gap: 12px; }
	.masthead { padding-block: 14px; }
	.logo__mark { height: 44px; }
	.logo__name { font-size: 18px; }
	.logo__games { font-size: 8px; letter-spacing: .66em; }
	.cover-stage { min-height: 92svh; }
	.cover-stage__slides { padding-block: 32px 18px; }
	.cover-slide { gap: 14px; }
	.cover-slide__deck { font-size: 17px; }
	.cover-stage__nav { grid-template-columns: repeat(var(--n, 3), 1fr); gap: 10px; }
	.cover-tab__title { display: none; }
	.toc { padding-block: 40px 64px; }
	.toc-item { grid-template-columns: 1fr 24px; grid-template-areas: "img img" "body arrow"; gap: 14px; padding-block: 20px; }
	.toc-item__img { grid-area: img; }
	.toc-item__body { grid-area: body; }
	.toc-item__arrow { grid-area: arrow; align-self: start; }
	.toc-item__page { display: none; }
	.spread__bg::after { background: color-mix(in srgb, var(--bg) 78%, transparent); }
	.spread__quote { padding-block: 72px; }
	.feature-hero { min-height: 78svh; }
	.feature-hero__text { padding-block: 96px 28px; }
	.depts__head { flex-direction: column; align-items: start; }
	.dept { padding: 18px 0; grid-template-columns: 48px minmax(0, 1fr) 26px; }
	.dept::before { inset: 0 calc(-1 * var(--pad)); }
	.dept__num { font-size: 40px; }
	.subscribe { flex-direction: column; align-items: stretch; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
	.drawer__panel { padding: 22px 20px 28px; }
	.prose { font-size: 18.5px; }
	.support-strip { grid-template-columns: 1fr; gap: 10px; }
	.more__grid { grid-template-columns: 1fr; }
	.row { grid-template-columns: 1fr 26px; grid-template-areas: "thumb thumb" "meta arrow" "body arrow"; }
	.stencil { font-size: 56px; }
	.ib-tr-offer { grid-template-columns: 1fr; padding: 16px 44px 16px 16px; bottom: 12px; }
	.ib-tr__glyph { display: none; }
	.ib-tr__actions { grid-column: 1; }
	.lightbox__fig { padding: 56px 12px 20px; }
	.lightbox__btn { top: auto; bottom: 16px; translate: none; }
}
