:root {
  --paper: #f3efe7;
  --paper-2: #ebe5d9;
  --ink: #15181b;
  --ink-soft: #55595c;
  --rule: #cfc8b9;
  --accent: #1d3f5c;   /* deep slate blue, nod to the brand blue */
  --brass: #9a6b3a;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: var(--brass); }

/* masthead */
.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  color: #fff;
  font-family: var(--sans); font-size: 13px; letter-spacing: .04em;
  transition: background .35s, color .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.masthead.solid {
  background: rgba(243,239,231,.94); backdrop-filter: blur(8px);
  color: var(--ink); padding-block: 12px; border-color: var(--rule);
}
.wordmark {
  text-decoration: none; text-transform: uppercase;
  font-weight: 600; letter-spacing: .24em; font-size: 12.5px;
}
.issue { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.masthead nav { justify-self: end; display: flex; gap: 28px; }
.masthead nav a { text-decoration: none; opacity: .88; }
.masthead nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { border-bottom: 1px solid currentColor; }

/* cover */
.cover {
  position: relative; height: 100svh; min-height: 640px;
  overflow: hidden; color: #fff;
  display: flex; align-items: flex-end;
}
.cover-img { position: absolute; inset: -6% 0; }
.cover-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.cover::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,16,22,.45) 0%, rgba(10,16,22,0) 28%),
    linear-gradient(0deg, rgba(10,16,22,.78) 0%, rgba(10,16,22,0) 62%);
}
.cover-text { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(56px, 9vh, 110px); max-width: 1100px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 22px; opacity: .9; }
.cover h1 {
  font-weight: 300; font-size: clamp(54px, 10.5vw, 168px);
  line-height: .93; letter-spacing: -.025em; margin: 0 0 28px;
}
.cover h1 em { font-weight: 300; }
.deck { font-size: clamp(17px, 1.7vw, 22px); max-width: 520px; margin: 0; opacity: .92; line-height: 1.5; }
.cover-credit {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 22px; margin: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .65;
}
.scroll-cue {
  position: absolute; z-index: 2; right: var(--gutter); top: 50%;
  writing-mode: vertical-rl; text-decoration: none; color: #fff;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px; opacity: .8;
}
.scroll-cue span { width: 1px; height: 56px; background: #fff; transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* shared labels */
.num {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--brass);
}
.num::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--brass); vertical-align: middle; margin-left: 14px; }
h2 {
  font-weight: 300; font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -.02em; margin: 0;
}
h2 em { color: var(--accent); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* essay */
.essay {
  max-width: var(--max); margin: 0 auto; padding: clamp(90px, 14vw, 200px) var(--gutter) clamp(60px, 8vw, 120px);
  display: grid; grid-template-columns: 160px 1fr; gap: clamp(24px, 5vw, 80px);
}
.essay-label { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.essay-label .tag { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.essay-body { max-width: 760px; }
.essay h2 { margin-bottom: 44px; }
.essay p { margin: 0 0 1.4em; color: #2b2f33; }
.lede { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.45; color: var(--ink) !important; }
.lede::first-letter {
  float: left; font-size: 5.3em; line-height: .82; padding: .06em .1em 0 0; font-weight: 400; color: var(--accent);
}
.essay a { text-decoration-color: var(--brass); text-underline-offset: 4px; }

/* figures */
.ink { mix-blend-mode: multiply; }
.fig { margin: 0; }
.fig-wide { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.fig-wide img { width: 100%; }
figcaption, .fig-cap {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-soft);
  border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 18px; text-transform: uppercase;
}
figcaption span, .fig-cap span { color: var(--brass); margin-right: 12px; }

/* process */
.process { background: var(--paper-2); margin-top: clamp(80px, 10vw, 160px); padding: clamp(80px, 10vw, 150px) var(--gutter); }
.process-head, .process-grid, .gallery-head, .spread { max-width: var(--max); margin-inline: auto; }
.process-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(48px, 7vw, 100px); }
.process-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.process-sticky { position: sticky; top: 90px; }
#set-svg { width: 100%; height: auto; display: block; background: var(--paper-2); }
#set-cap { font-weight: 500; color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 0 0 clamp(48px, 8vw, 120px); margin-bottom: clamp(48px, 8vw, 120px); border-bottom: 1px solid var(--rule); opacity: .35; transition: opacity .6s; transform: none; }
.step:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.step.in { opacity: .35; }
.step.active { opacity: 1; }
.step-n { font-family: var(--serif); font-style: italic; font-size: clamp(54px, 7vw, 100px); font-weight: 300; line-height: 1; color: var(--brass); display: block; margin-bottom: 14px; }
.step h3 { font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
.step p { margin: 0; max-width: 440px; color: #3a3e42; }

/* pull quote */
.pull { background: var(--accent); color: #f3efe7; padding: clamp(110px, 16vw, 240px) var(--gutter); text-align: center; }
.pull blockquote { margin: 0 auto; max-width: 1100px; }
.pull blockquote p { margin: 0 0 32px; font-weight: 300; font-size: clamp(42px, 7.5vw, 120px); line-height: 1; letter-spacing: -.025em; }
.pull blockquote em { color: #e0bf94; }
.pull footer { font-family: var(--sans); font-size: 15px; letter-spacing: .04em; opacity: .8; }

/* gallery */
.gallery { padding: clamp(90px, 12vw, 190px) var(--gutter); }
.gallery-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(48px, 6vw, 90px); }
.spread { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 3vw, 44px) clamp(14px, 2vw, 28px); align-items: start; }
.spread figure { margin: 0; }
.spread img { width: 100%; height: auto; }
.g1 { grid-column: 1 / span 7; }
.g2 { grid-column: 9 / span 4; margin-top: 18%; }
.g3 { grid-column: 2 / span 4; margin-top: -4%; }
.g4 { grid-column: 7 / span 6; margin-top: 10%; }
.g5 { grid-column: 4 / span 4; margin-top: 2%; }

/* plan */
.plan {
  max-width: 1500px; margin: 0 auto; padding: clamp(40px, 6vw, 100px) var(--gutter) clamp(90px, 12vw, 190px);
  display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 6vw, 100px); align-items: center;
}
.plan-copy { display: flex; flex-direction: column; gap: 22px; }
.plan-copy h2 { font-size: clamp(38px, 4.6vw, 70px); }
.plan-copy p { margin: 0; color: #3a3e42; }
.plan-fig { margin: 0; }
.plan-fig img { width: 100%; }

/* contact */
.contact { background: var(--ink); color: var(--paper); padding: clamp(90px, 12vw, 180px) var(--gutter); }
.contact-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.contact h2 em { color: #e0bf94; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-copy p { margin: 0; max-width: 400px; opacity: .85; }
.contact address { font-style: normal; font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; line-height: 1.9; text-transform: uppercase; opacity: .65; margin-top: 12px; }
.inquiry { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.inquiry input, .inquiry select {
  background: transparent; color: var(--paper); border: 0; border-bottom: 1px solid rgba(243,239,231,.35);
  font: 400 22px/1.3 var(--serif); padding: 8px 0 12px; border-radius: 0; outline: none; width: 100%;
  appearance: none; -webkit-appearance: none;
}
.inquiry select { background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(135deg, var(--paper) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.inquiry select option { color: #111; }
.inquiry input:focus, .inquiry select:focus { border-color: #e0bf94; }
.inquiry button {
  align-self: flex-start; margin-top: 10px; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 0; padding: 18px 34px;
  font: 500 14px var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s, transform .25s;
}
.inquiry button:hover { background: #e0bf94; transform: translateX(4px); }
.thanks { font-size: 26px; font-style: italic; margin: 0; }

/* colophon */
.colophon {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  padding: 36px var(--gutter); background: var(--ink); color: rgba(243,239,231,.6);
  border-top: 1px solid rgba(243,239,231,.15);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.colophon div { display: flex; flex-direction: column; gap: 6px; }
.colophon strong { color: var(--paper); font-weight: 500; }
.colophon .right { text-align: right; }
.colophon a { color: var(--paper); }

/* responsive */
@media (max-width: 900px) {
  body { font-size: 17.5px; }
  .issue { display: none; }
  .masthead { grid-template-columns: 1fr auto; }
  .masthead nav a:not(.nav-cta) { display: none; }
  .scroll-cue { display: none; }
  .essay { grid-template-columns: 1fr; }
  .essay-label { position: static; flex-direction: row; align-items: center; }
  .process-grid { grid-template-columns: 1fr; }
  .fig-cap { min-height: 2.6em; }
  .process-sticky { position: sticky; top: 47px; z-index: 5; background: var(--paper-2); padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1) 28px; padding-inline: var(--gutter); }
  .process-sticky .fig-cap { margin-top: 8px; padding-top: 8px; }
  .step { opacity: 1 !important; }
  .plan, .contact-inner { grid-template-columns: 1fr; }
  .g1 { grid-column: 1 / -1; }
  .g2 { grid-column: 5 / -1; margin-top: 0; }
  .g3 { grid-column: 1 / span 7; margin-top: 0; }
  .g4 { grid-column: 1 / -1; margin-top: 0; }
  .g5 { grid-column: 3 / span 8; margin-top: 0; }
  .fig-wide, .plan-fig { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .fig-wide::-webkit-scrollbar, .plan-fig::-webkit-scrollbar { display: none; }
  .fig-wide img { width: 100%; max-width: 100%; margin-left: 0; }
  .plan-fig img { width: 150%; max-width: none; }
  .fig-wide figcaption, .plan-fig figcaption { position: sticky; left: 0; }
  .colophon { grid-template-columns: 1fr; }
  .colophon .right { text-align: left; }
  .cover-credit { display: none; }
  .cover { background: #0f1317; }
  .cover-img { inset: 0; transform: none !important; }
  .cover-img picture { display: block; }
  .cover-img img { width: 100%; height: auto; object-fit: initial; object-position: top; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}
figcaption i { font-style: normal; }
