:root {
  --bg: #faf9f6;
  --surface: #f2f1ec;
  --white: #ffffff;
  --navy: #121a2b;
  --navy-2: #1e2a42;
  --ink: #161c26;
  --muted: #5a6270;
  --line: rgba(18, 26, 43, .14);
  --line-strong: rgba(18, 26, 43, .28);
  --gold: #b8862d;
  --gold-soft: rgba(184, 134, 45, .15);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: clamp(15px, 13px + .22vw, 18px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--navy); color: var(--white); }
a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(18, 26, 43, .92);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.topbar__brand { font-family: var(--serif); font-size: .95rem; letter-spacing: .01em; }
.topbar__links { display: flex; align-items: center; gap: 1.4rem; }
.topbar__links a {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255, 255, 255, .64);
  transition: color .2s, border-color .2s;
}
.topbar__links a:hover { color: #ffffff; }
.topbar__pdf {
  padding: .28rem .62rem;
  border: 1px solid rgba(184, 134, 45, .6);
  color: var(--gold) !important;
}
.topbar__pdf:hover { border-color: var(--gold); color: #ffffff !important; }

/* ---------- Cover / Hero ---------- */
.cover {
  position: relative;
  min-height: 100svh;
  background: var(--navy);
  color: var(--white);
  display: flex;
  padding: 5.5rem clamp(1.5rem, 6vw, 4.5rem) 3rem;
  overflow: hidden;
}
.cover__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 75% at 70% 45%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 70% 45%, #000 10%, transparent 80%);
}
.cover__wrap {
  position: relative; z-index: 2;
  width: min(100%, 72rem);
  margin: 0 auto;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: calc(100svh - 8.5rem);
}
.cover__top {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .66);
}
.cover__body {
  position: relative;
  padding: clamp(3rem, 8vh, 6rem) 0;
}
.cover__mark {
  position: absolute; right: -1rem; top: 50%; transform: translateY(-54%);
  font-family: var(--serif); font-size: clamp(12rem, 28vw, 24rem);
  font-weight: 400; line-height: .8; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 134, 45, .24);
  pointer-events: none; user-select: none;
}
.cover__kicker {
  color: var(--gold);
  margin: 0 0 1.4rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.cover__kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.cover h1 {
  margin: 0 0 1.6rem;
  font-family: var(--serif); font-weight: 400;
  max-width: 46rem;
}
.cover__t1 {
  display: block;
  font-size: clamp(2.8rem, 6.8vw, 5.4rem);
  line-height: 1.02; letter-spacing: -.025em;
}
.cover__t2 {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1.06; letter-spacing: -.02em;
  color: rgba(255, 255, 255, .82);
  font-style: italic;
}
.cover__sub {
  margin: 0; max-width: 35rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6; color: rgba(255, 255, 255, .72);
}
.cover__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.cover__flabel { display: block; color: var(--gold); margin-bottom: .35rem; font-size: .64rem; }
.cover__fval { font-size: .92rem; color: rgba(255, 255, 255, .88); }
.cover__fright { text-align: right; }

/* ---------- Editorial Grid Sections ---------- */
.wrap { width: min(100% - 2 * clamp(1.25rem, 5vw, 4rem), 72rem); margin: 0 auto; }
.page-block { padding: clamp(4.5rem, 9vh, 7.5rem) 0; border-bottom: 1px solid var(--line); }
.page-block--formats { background: var(--surface); }
.page-block--last { border-bottom: none; }

.sec-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.sec-grid--spaced { margin-top: clamp(3.5rem, 7vh, 5.5rem); padding-top: clamp(3rem, 6vh, 4.5rem); border-top: 1px solid var(--line); }

.sec-rail { position: sticky; top: 5.5rem; }
.sec-num {
  display: block;
  font-family: var(--mono); font-size: 1.6rem; font-weight: 500;
  color: var(--gold); line-height: 1; margin-bottom: .45rem;
}
.sec-tag { display: block; color: var(--muted); }

.sec-body h2 {
  margin: 0 0 1.2rem;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.12; letter-spacing: -.02em;
  color: var(--navy);
}
.sec-body p { margin: 0 0 1.1rem; max-width: 44rem; color: #2b3240; }
.sec-body .lead { font-size: 1.12rem; line-height: 1.62; color: var(--ink); }

/* Key pillars */
.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; margin-top: 2rem; max-width: 48rem;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.pillar .mono { display: block; color: var(--muted); font-size: .64rem; margin-bottom: .35rem; }
.pillar strong { font-size: .92rem; font-weight: 600; color: var(--navy); }

/* Format cards */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem; margin-top: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.45rem;
  display: flex; flex-direction: column;
}
.card--featured { border-top-color: var(--gold); }
.card--secondary { border-top-color: var(--line-strong); background: rgba(255, 255, 255, .65); }
.card--secondary .card__id { color: var(--muted); }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.card__id { color: var(--navy); white-space: nowrap; }
.card--featured .card__id { color: var(--gold); }
.card__pill {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .22rem .5rem; background: var(--surface); color: var(--muted); white-space: nowrap;
}
.card--featured .card__pill { background: var(--gold-soft); color: #7c5814; }
.card h3 {
  margin: 0 0 .65rem;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 500;
  line-height: 1.15; color: var(--navy);
}
.card p { font-size: .9rem; line-height: 1.55; color: var(--muted); margin: 0 0 1.3rem; flex: 1; }
.card__meta {
  margin: 0; padding-top: .95rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.card__meta dt { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .2rem; }
.card__meta dd { margin: 0; font-size: .82rem; font-weight: 500; color: var(--navy); }

/* ---------- Animated Working Drawing Stage ---------- */
.stage { height: 520vh; position: relative; background: var(--white); }
.stage__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.stage__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18, 26, 43, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 26, 43, .05) 1px, transparent 1px),
    linear-gradient(rgba(18, 26, 43, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 26, 43, .025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: center;
  mask-image: radial-gradient(ellipse 68% 68% at 62% 50%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at 62% 50%, #000 25%, transparent 80%);
}
.stage__inner {
  position: absolute; inset: 3.8rem clamp(1.5rem, 5vw, 4.5rem) 1.5rem;
  max-width: 78rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(16rem, 32%) 1fr;
  align-items: center; gap: 3vw;
}
.stage__captions { position: relative; height: 22rem; }
.cap {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .65s cubic-bezier(.2, .7, .1, 1);
  pointer-events: none;
}
.cap.on { opacity: 1; transform: none; transition-delay: .1s; }
.cap__tag { color: var(--gold); margin-bottom: .7rem; display: block; }
.cap h3 {
  margin: 0 0 .7rem;
  font-family: var(--serif); font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 500; line-height: 1.08; color: var(--navy);
}
.cap p:not(.cap__note) { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--muted); max-width: 24rem; }
.cap__note {
  margin: 1.25rem 0 0; padding-top: .85rem;
  border-top: 1px solid var(--line);
  color: var(--navy); max-width: 24rem;
}
.stage__canvas { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; }

.bp { width: 100%; height: 100%; min-height: 0; display: block; overflow: visible; }
.bp .ln   { fill: none; stroke: var(--navy); stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bp .thin { fill: none; stroke: var(--navy); stroke-width: .7; opacity: .45; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bp .accent { fill: none; stroke: var(--gold); stroke-width: .95; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bp .fill { fill: var(--white); stroke: none; }
.bp .fill-tint { fill: var(--surface); stroke: none; }
.bp .fill-ribbon { fill: rgba(184, 134, 45, .32); stroke: none; }
.bp text  { font-family: var(--mono); fill: var(--navy); paint-order: stroke; stroke: var(--white); stroke-linejoin: round; }
.bp .num  { font-family: var(--mono); font-weight: 500; fill: var(--gold); }
.bp .lidtxt { font-family: var(--serif); font-weight: 600; fill: var(--white); stroke: var(--navy); stroke-linejoin: round; paint-order: stroke; letter-spacing: -.01em; }
.bp .lidsub { font-family: var(--mono); font-weight: 500; fill: var(--muted); stroke: none; letter-spacing: .12em; }
.bp .lidit  { font-family: var(--serif); font-weight: 500; font-style: italic; fill: var(--gold); stroke: none; }

.stage__rail {
  position: absolute; right: clamp(1rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
}
.stage__rail li { width: 14px; height: 2px; background: var(--navy); opacity: .22; transform-origin: right; transition: transform .4s, opacity .4s, background .4s; }
.stage__rail li.on { opacity: 1; transform: scaleX(1.9); background: var(--gold); }

.cards__note { margin: 1.1rem 0 0 !important; font-size: .84rem; color: var(--muted); font-style: italic; }

/* ---------- Editorial Topics ---------- */
.topics {
  list-style: none; margin: 1.4rem 0 0; padding: 0;
  border-top: 1px solid var(--line-strong);
  max-width: 48rem;
}
.topics li {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem; line-height: 1.55; color: #2b3240;
}
.topics strong { color: var(--navy); font-weight: 600; }

.closing-line { margin-top: 1.4rem !important; color: var(--navy) !important; }

/* ---------- Sample Spread (HTML/CSS + Real Photograph) ---------- */
.specimen { margin: 2.8rem 0 0; }
.specimen__mat {
  background: var(--surface);
  padding: clamp(1rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
}
.spread {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px rgba(18, 26, 43, .10);
  position: relative;
}
.spread::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 32px; transform: translateX(-50%);
  background: linear-gradient(to right, rgba(18, 26, 43, 0), rgba(18, 26, 43, .08) 49%, rgba(18, 26, 43, .18) 50%, rgba(18, 26, 43, .08) 51%, rgba(18, 26, 43, 0));
  pointer-events: none;
}
.spread__page {
  padding: clamp(1.2rem, 2.8vw, 2.1rem);
  display: flex; flex-direction: column;
  position: relative; min-width: 0;
}
.spread__run {
  font-family: var(--mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding-bottom: .55rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.spread__run--right { text-align: right; }
.spread__plate {
  background: var(--surface);
  padding: clamp(.9rem, 2vw, 1.5rem);
  display: flex; align-items: center; justify-content: center;
  position: relative; flex: 1;
}
.spread__plate::before, .spread__plate::after {
  content: ""; position: absolute; width: 10px; height: 10px; pointer-events: none;
  border-color: var(--gold); border-style: solid;
}
.spread__plate::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.spread__plate::after { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }
.spread__plate img {
  display: block; max-width: 78%; max-height: 280px; width: auto; height: auto;
  mix-blend-mode: multiply;
}
.spread__cap {
  margin: .9rem 0 1.4rem !important; font-size: .74rem; line-height: 1.45; color: var(--muted);
}
.spread__cap strong { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-right: .4rem; }
.spread__kicker {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .45rem;
}
.spread__h {
  margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500;
  line-height: 1.12; color: var(--navy);
}
.spread__rule { width: 36px; height: 2px; background: var(--gold); margin: .75rem 0 1rem; }
.spread__p { margin: 0 0 .75rem !important; font-size: .78rem; line-height: 1.56; color: #2b3240; }
.spread__note {
  margin-top: auto; margin-bottom: 1.2rem;
  background: var(--surface); border-left: 2.5px solid var(--navy);
  padding: .65rem .8rem;
}
.spread__note-k {
  display: block; font-family: var(--mono); font-size: .54rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .3rem;
}
.spread__note p { margin: 0 0 .2rem !important; font-size: .68rem; line-height: 1.4; color: var(--navy); }
.spread__note p:last-child { margin-bottom: 0 !important; }
.spread__folio {
  font-family: var(--mono); font-size: .62rem; color: var(--muted);
  position: absolute; bottom: .9rem; left: clamp(1.2rem, 2.8vw, 2.1rem);
}
.spread__folio--right { left: auto; right: clamp(1.2rem, 2.8vw, 2.1rem); }
.specimen figcaption {
  margin-top: 1rem;
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 1rem;
  font-size: .86rem; color: var(--muted);
}
.specimen figcaption .mono { color: var(--navy); white-space: nowrap; }

/* ---------- Collaboration Split & Bio ---------- */
.split-roles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin-top: 1.5rem; max-width: 50rem;
}
.role-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.4rem;
}
.role-box--navy { background: var(--navy); color: var(--white); border-color: var(--navy); border-top-color: var(--gold); }
.role-box__k { display: block; color: var(--gold); margin-bottom: .9rem; }
.role-box ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; line-height: 1.55; }
.role-box li + li { margin-top: .45rem; }
.role-box--navy ul { color: rgba(255, 255, 255, .86); }

.creds {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem;
}
.creds .mono {
  padding: .38rem .7rem;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--navy); font-size: .66rem;
}

/* ---------- Signature ---------- */
.sig {
  margin-top: 2.2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
  max-width: 50rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
}
.sec-body .sig__name { margin: 0; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; color: var(--navy); line-height: 1.1; }
.sec-body .sig__role { margin: .3rem 0 0; font-size: .88rem; color: var(--muted); }
.sig__mail { color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: .15rem; }
.sig__mail:hover { color: var(--gold); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .85s ease, transform .95s cubic-bezier(.2, .7, .1, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sec-grid { grid-template-columns: 1fr; }
  .sec-rail { position: static; display: flex; align-items: baseline; gap: .8rem; }
  .cards, .split-roles, .pillars, .spread { grid-template-columns: 1fr; }
  .spread::after { display: none; }
  .topbar__links { display: none; }
  .cover__fright { text-align: left; }
  .stage__inner {
    grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto;
    inset: 3.6rem 1.2rem 1rem; gap: .6rem;
  }
  .stage__canvas { grid-row: 1; }
  .stage__captions { grid-row: 2; height: 13.5rem; }
  .cap { justify-content: flex-start; }
  .stage__rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
