/* Ironlight Publishing
   Palette: ivory light, iron and steel, forge gold. Type: EB Garamond + Hanken Grotesk. */

@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/eb-garamond-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/eb-garamond-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url(../fonts/eb-garamond-latin-wght-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url(../fonts/eb-garamond-latin-ext-wght-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+A720-A7FF; }

:root {
  --ivory: #F4EEE2;
  --vellum: #EAE2D2;
  --paper: #FBF8F1;
  --iron: #23262B;
  --iron-2: #2F333A;
  --steel: #8B9097;
  --steel-light: #C5C8CC;
  --ink: #2B2926;
  --ink-soft: #625D55;
  --gold: #B8903F;
  --gold-ink: #86672A;
  --gold-bright: #DDBB6E;
  --line: rgba(43, 41, 38, .13);
  --line-strong: rgba(43, 41, 38, .32);

  --serif: "EB Garamond", Garamond, Baskerville, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --t-hero: clamp(3.1rem, 7.4vw, 7.6rem);
  --t-1: clamp(2.7rem, 5.2vw, 5.2rem);
  --t-2: clamp(2.1rem, 3.6vw, 3.4rem);
  --t-3: clamp(1.5rem, 2.2vw, 2rem);
  --t-lede: clamp(1.3rem, 1.75vw, 1.6rem);

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1320px;
  --head: 78px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --tempo: 1;
}
html.is-quick { --tempo: .4; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 1rem); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300; opacity: .05; mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .18 0 0 0 0 .15 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 450; line-height: 1.08; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-bright); color: var(--iron); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 400; background: var(--iron); color: var(--ivory); padding: .75rem 1rem; transition: top .2s; }
.skip:focus { top: 1rem; }

.kicker { font: 600 .9rem/1.3 var(--sans); letter-spacing: .02em; color: var(--gold-ink); margin-bottom: 1.1rem; }
.section-title { font-size: var(--t-2); }
.section-title--sm { font-size: var(--t-3); margin-bottom: 2rem; }
.link {
  font: 600 .96rem/1.4 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 1px; text-underline-offset: .4em; transition: text-decoration-thickness .2s, color .2s;
}
.link:hover { text-decoration-thickness: 2px; color: var(--gold-ink); }
.link--quiet { color: var(--ink-soft); font-weight: 500; }

/* Buttons */
.btn {
  --bg: var(--iron); --fg: var(--ivory); --bd: var(--iron);
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.02rem 1.65rem; border: 1px solid var(--bd); border-radius: 2px; background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--sans); letter-spacing: .015em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-110%); pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(236, 206, 140, .5) 50%, transparent 70%);
  transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn:active { transform: translateY(1px); }
.btn:hover { --bg: #15171A; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: rgba(43, 41, 38, .05); --bd: var(--ink); }
.btn--gold { --bg: var(--gold-bright); --fg: var(--iron); --bd: var(--gold-bright); }
.btn--gold:hover { --bg: #E8CA84; --bd: #E8CA84; }
.btn--line { --bg: transparent; --fg: currentColor; --bd: color-mix(in srgb, currentColor 34%, transparent); color: inherit; }
.btn--line:hover { --bg: color-mix(in srgb, currentColor 8%, transparent); --bd: currentColor; }
.btn--small { padding: .72rem 1.1rem; font-size: .88rem; }
.btn__note { font-weight: 500; opacity: .7; font-size: .85em; }

/* Masthead */
.masthead { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--head); transition: background .4s, box-shadow .4s; }
.masthead__inner { height: 100%; max-width: calc(var(--maxw) + 4rem); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.is-scrolled .masthead { background: rgba(244, 238, 226, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark__name { font: 500 1.34rem/1 var(--serif); letter-spacing: .1em; text-transform: uppercase; padding-left: .1em; }
.wordmark__sub { font: 500 .56rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; margin-top: .38rem; padding-left: .5em; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__list { display: flex; gap: 2rem; list-style: none; }
.nav__list a { position: relative; text-decoration: none; font: 500 .95rem/1 var(--sans); color: var(--ink-soft); padding: .5rem 0; transition: color .2s; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__list a:hover, .nav__list a[aria-current] { color: var(--ink); }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; margin-right: -10px; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--ivory); padding: calc(var(--head) + 2rem) var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.drawer[hidden] { display: none; }
.drawer nav { display: flex; flex-direction: column; gap: .4rem; }
.drawer nav a { font: 450 clamp(2.2rem, 9vw, 3rem)/1.15 var(--serif); text-decoration: none; opacity: 0; transform: translateY(12px); animation: drawerIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 60ms); }
.drawer nav a[aria-current] { color: var(--gold-ink); }
.drawer__mail a { font-weight: 600; color: var(--ink-soft); }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.menu-open { overflow: hidden; }
.menu-open .masthead { background: var(--ivory); box-shadow: none; }
.preview-bar { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 250; background: var(--iron); color: var(--ivory); padding: .75rem 1.2rem; border-radius: 99px; font-size: .88rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100vw - 2rem); text-align: center; }
.preview-bar a { color: var(--gold-bright); margin-left: .5rem; }

/* Hero: the forge */
.hero {
  --em: clamp(170px, 27vmin, 300px);
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  padding: calc(var(--head) + 2rem) var(--gutter) 5.5rem; text-align: center;
  background: radial-gradient(120% 90% at 50% 34%, #FCF7EC 0%, var(--ivory) 42%, #E9E0CF 100%);
}
.hero__stage { position: relative; z-index: 2; width: 100%; max-width: 64rem; }
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__emblem { position: relative; width: var(--em); aspect-ratio: 1; margin: 0 auto clamp(2rem, 5vh, 3.4rem); transition: transform 1.2s var(--ease); }
.emblem { display: block; width: 100%; height: 100%; overflow: visible; }
.hero__glow {
  position: absolute; inset: -75%; z-index: -1; opacity: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 204, 132, .55) 0%, rgba(226, 194, 122, .22) 22%, rgba(226, 194, 122, .06) 42%, transparent 62%);
  animation: glow calc(2s * var(--tempo)) calc(.9s * var(--tempo)) var(--ease) forwards;
}
.hero__rays { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--head) - 4px), #000 calc(var(--head) + 64px));
  mask-image: linear-gradient(to bottom, transparent calc(var(--head) - 4px), #000 calc(var(--head) + 64px)); }
.js .hero__rays.is-placed { display: block; }
.hero__beams { position: absolute; left: var(--cx, 50%); top: var(--cy, 40%); width: 0; height: 0; transition: transform 1.2s var(--ease); }
.hero__beams i {
  --r: calc(var(--em) * .5);
  position: absolute; left: 0; top: -.5px; width: 160vmax; height: 1px; transform-origin: 0 50%;
  transform: rotate(var(--a)) translateX(var(--r)) scaleX(0);
  background: linear-gradient(90deg, rgba(184, 144, 63, .85), rgba(184, 144, 63, .32) 22%, rgba(184, 144, 63, .08) 55%, transparent 80%);
  animation: beam calc(2s * var(--tempo)) calc(1.35s * var(--tempo)) cubic-bezier(.3, .7, .1, 1) forwards;
  overflow: hidden;
}
.hero__beams i:nth-child(2), .hero__beams i:nth-child(3) { animation-delay: calc(1.45s * var(--tempo)); }
.hero__beams i:nth-child(4), .hero__beams i:nth-child(5) { animation-delay: calc(1.55s * var(--tempo)); }
.hero__beams i::after {
  content: ""; position: absolute; top: 0; left: 0; width: 18vmax; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 190, 1), transparent);
  transform: translateX(-20vmax); animation: pulse 9s 5s ease-in-out infinite;
}
.hero__beams i:nth-child(2)::after { animation-delay: 5.6s; } .hero__beams i:nth-child(3)::after { animation-delay: 6.1s; }
.hero__beams i:nth-child(4)::after { animation-delay: 6.8s; } .hero__beams i:nth-child(5)::after { animation-delay: 7.3s; }

.emblem--hero .em-ring { stroke-dasharray: 1; stroke-dashoffset: 1; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg);
  animation: ring calc(1.2s * var(--tempo)) cubic-bezier(.65, 0, .35, 1) calc(.1s * var(--tempo)) forwards; }
.emblem--hero .em-anvil { opacity: 0; transform: translateY(46px); animation: rise calc(.8s * var(--tempo)) var(--ease) calc(.5s * var(--tempo)) forwards; }
.emblem--hero .em-sun { transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: ignite calc(.8s * var(--tempo)) cubic-bezier(.2, 1.5, .4, 1) calc(.85s * var(--tempo)) forwards; }
.emblem--hero .em-ray { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0);
  animation: ray calc(.75s * var(--tempo)) var(--ease) calc((1.1s + var(--d, 0s)) * var(--tempo)) forwards; }
.emblem--hero .em-rays > g:nth-child(2) .em-ray, .emblem--hero .em-rays > g:nth-child(3) .em-ray { --d: .08s; }
.emblem--hero .em-rays > g:nth-child(4) .em-ray, .emblem--hero .em-rays > g:nth-child(5) .em-ray { --d: .16s; }

.hero__kicker { font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.4rem; opacity: 0; animation: rise .8s var(--ease) calc(.2s * var(--tempo)) forwards; }
.hero__lamp { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s;
  background: radial-gradient(38vmax circle at var(--lx, 50%) var(--ly, 40%), rgba(236, 206, 140, .38), rgba(236, 206, 140, .12) 35%, transparent 70%); mix-blend-mode: multiply; }
.hero.is-lit .hero__lamp { opacity: 1; }
.hero__title {
  font-size: var(--t-hero); font-weight: 420; line-height: .98; letter-spacing: -.025em; max-width: 11.5ch; margin: 0 auto; padding-bottom: .06em;
  background: linear-gradient(100deg, var(--ink) 0 42%, #C99A3F 48%, #F0D597 50%, #C99A3F 52%, var(--ink) 58% 100%);
  background-size: 320% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(10px);
  animation: rise .9s var(--ease) calc(.35s * var(--tempo)) forwards, sweep 2.4s cubic-bezier(.45, 0, .2, 1) calc(1.5s * var(--tempo)) forwards;
}
.hero__sub { max-width: 36rem; margin: 1.6rem auto 2.3rem; color: var(--ink-soft); font-size: clamp(1.02rem, 1.3vw, 1.18rem); opacity: 0; transform: translateY(12px); animation: rise 1s var(--ease) calc(.55s * var(--tempo)) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; opacity: 0; transform: translateY(12px); animation: rise 1s var(--ease) calc(.7s * var(--tempo)) forwards; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 1px; height: 56px; background: var(--line-strong); z-index: 2; opacity: 0; animation: rise 1s var(--ease) calc(1.6s * var(--tempo)) forwards; }
.hero__scroll span { position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: drip 2.4s ease-in-out infinite; }

@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes ignite { to { transform: scale(1); } }
@keyframes ray { to { transform: scaleY(1); } }
@keyframes glow { to { opacity: 1; } }
@keyframes beam { to { transform: rotate(var(--a)) translateX(var(--r)) scaleX(1); } }
@keyframes sweep { to { background-position: 0 0; } }
@keyframes pulse { 0% { transform: translateX(-20vmax); } 40%, 100% { transform: translateX(110vmax); } }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(52px); opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Scroll-linked: as the reader leaves the hero the mark recedes and the light lifts */
@supports (animation-timeline: view()) {
  .hero__stage { animation: recede linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .hero__rays { animation: lift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .manifesto { view-timeline-name: --manifesto; }
}
@keyframes recede { to { transform: translateY(-14vh) scale(.9); opacity: 0; } }
@keyframes lift { to { transform: translateY(-12vh); opacity: 0; } }

/* Manifesto */
.manifesto { padding: clamp(6rem, 15vw, 12rem) 0; }
.manifesto .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 1.5rem; }
.manifesto__text, .manifesto .link { grid-column: 2 / 12; }
.manifesto__text { font: 420 clamp(1.85rem, 3.9vw, 3.45rem)/1.2 var(--serif); letter-spacing: -.012em; margin-bottom: 2.6rem; }
.manifesto .link { justify-self: start; }
.manifesto__text .w { color: rgba(43, 41, 38, .17); transition: color .5s ease; }
.manifesto__text .w.on { color: var(--ink); }

/* 3D books */
.book3d { --w: min(330px, 62vw); --t: calc(var(--w) * var(--depth)); position: relative; width: var(--w); aspect-ratio: var(--ar); perspective: 1800px; margin-inline: auto; view-transition-name: var(--vt); }
.book3d--lg { --w: min(420px, 68vw); }
.book3d--sm { --w: 100%; }
.book3d__obj { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--ry, -26deg)) rotateX(var(--rx, 2deg)); transition: transform .9s var(--ease); }
.book3d--lg .book3d__obj { animation: float 7s ease-in-out infinite; }
.book3d__front, .book3d__back { position: absolute; inset: 0; border-radius: 1px 3px 3px 1px; }
.book3d__front { transform: translateZ(calc(var(--t) / 2)); overflow: hidden; background: var(--spine); }
.book3d__front::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(255,255,255,.18) 1.2%, rgba(0,0,0,.14) 2.6%, transparent 5.5%, transparent 94%, rgba(0,0,0,.08) 100%); }
.book3d__img { width: 100%; height: 100%; object-fit: cover; }
.book3d__blank { display: grid; place-items: center; height: 100%; padding: 12%; color: var(--ivory); font: 500 1.4rem/1.2 var(--serif); text-align: center; background: linear-gradient(160deg, var(--iron-2), var(--iron)); }
.book3d__sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%); background-size: 260% 100%; background-position: var(--sx, 70%) 0; transition: background-position .9s var(--ease); }
.book3d__back { transform: translateZ(calc(var(--t) / -2)) rotateY(180deg); background: color-mix(in srgb, var(--spine) 70%, #000); }
.book3d__spine { position: absolute; top: 0; left: 0; width: var(--t); height: 100%; transform: translateX(calc(var(--t) / -2)) rotateY(-90deg);
  background: linear-gradient(90deg, color-mix(in srgb, var(--spine) 55%, #000), color-mix(in srgb, var(--spine) 85%, #fff) 45%, color-mix(in srgb, var(--spine) 70%, #000)); }
.book3d__pages { position: absolute; top: 1.2%; bottom: 1.2%; right: 0; width: var(--t); transform: translateX(calc(var(--t) / 2 - 2px)) rotateY(90deg);
  background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 30%, transparent 70%, rgba(0,0,0,.12)), repeating-linear-gradient(90deg, #F7F2E7 0 1px, #E2D9C6 1px 2px); }
.book3d__shadow { position: absolute; left: 6%; right: -8%; bottom: -7%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 18, 15, .42), transparent); filter: blur(6px); pointer-events: none; }
a:hover > .book3d .book3d__obj, .work-card:hover .book3d__obj { --ry: -12deg; }
.book3d__back .book3d__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book3d.has-back { margin-bottom: 3.4rem; }
.book3d__flip { position: absolute; left: 50%; top: calc(100% + 1.6rem); transform: translateX(-50%); white-space: nowrap; border: 0; background: none; cursor: pointer;
  font: 600 .86rem/1 var(--sans); color: inherit; opacity: .7; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .35em; transition: opacity .2s; }
.book3d__flip:hover { opacity: 1; }
.book3d__flip-b, .book3d.is-flipped .book3d__flip-a { display: none; }
.book3d.is-flipped .book3d__flip-b { display: inline; }
.book3d.is-flipped .book3d__obj { transform: rotateY(calc(var(--ry, -26deg) + 180deg)) rotateX(var(--rx, 2deg)); animation: none; }

/* Featured work (iron) */
.feature { position: relative; overflow: hidden; background: var(--iron); color: var(--ivory); padding: clamp(5.5rem, 11vw, 10rem) 0; isolation: isolate; }
.feature__light { position: absolute; inset: -20% 30% 10% -25%; z-index: -1; background: radial-gradient(closest-side, rgba(221, 187, 110, .26), rgba(221, 187, 110, .07) 55%, transparent); }
.feature__grid { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.feature__stage { padding: 1rem 0 2rem; }
.feature__stage > a { display: block; }
.feature .kicker { color: var(--gold-bright); }
.feature__title { font-size: var(--t-1); line-height: 1; }
.feature__title a { text-decoration: none; }
.feature__title a:hover { color: var(--gold-bright); }
.feature__subtitle { font: italic 400 var(--t-3)/1.25 var(--serif); color: var(--steel-light); margin-top: .7rem; }
.feature__by { margin-top: 1.4rem; color: var(--steel-light); font-weight: 500; }
.feature__by a { color: var(--ivory); text-decoration-color: var(--gold-bright); text-underline-offset: .3em; }
.feature__blurb { font: 400 var(--t-lede)/1.45 var(--serif); color: rgba(244, 238, 226, .86); margin: 1.8rem 0 2.4rem; max-width: 32em; }
.feature__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.feature__more { margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2.5rem; border-top: 1px solid rgba(244, 238, 226, .12); }
.feature__soon { text-align: center; max-width: 42rem; }
.feature__soon .feature__blurb { margin-inline: auto; }
.shelf { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 180px)); gap: 2.5rem 2rem; }
.shelf a { display: block; text-decoration: none; }
.shelf__title { display: block; margin-top: 1.4rem; font: 500 1.1rem/1.25 var(--serif); }

/* Showcase: the published work as proof of craft */
.showcase__bg { position: absolute; inset: -10%; z-index: -2; background-size: cover; background-position: center 30%; filter: blur(60px) saturate(.7); opacity: .5; transform: scale(1.1); }
.showcase::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35, 38, 43, .55), rgba(35, 38, 43, .92) 45%, var(--iron)); }
.showcase__grid { align-items: center; }
.showcase__stage { display: grid; place-items: center; padding: 2rem 0 3rem; }
.showcase .book3d--lg { --w: min(360px, 64vw); }
.showcase .book3d--lg .book3d__obj { --ry: -34deg; --rx: 4deg; }
.credits { margin: 0 0 1.8rem; padding: 1.4rem 0 0; border-top: 1px solid rgba(244, 238, 226, .16); display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: baseline; }
.credits dt { width: 100%; font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: .4rem; }
.credits dd { margin: 0; font: italic 400 1.3rem/1.2 var(--serif); color: var(--ivory); }
.credits dd + dd::before { content: "·"; margin-right: .9rem; color: var(--gold); font-style: normal; }
.showcase__head { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 7rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid rgba(244, 238, 226, .12); }
.showcase__lede { font: 400 var(--t-lede)/1.45 var(--serif); color: rgba(244, 238, 226, .72); max-width: 30em; }
.showcase .feature__title { font-size: var(--t-1); }
.showcase__specs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: -.6rem 0 2.2rem; }
.showcase__specs li { font: 500 .85rem/1 var(--sans); padding: .55rem .85rem; border: 1px solid rgba(244, 238, 226, .2); border-radius: 99px; color: rgba(244, 238, 226, .8); }

/* The forge steps */
.forge { background: var(--vellum); padding: clamp(5.5rem, 11vw, 9.5rem) 0; }
.forge__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.forge__intro { position: sticky; top: calc(var(--head) + 3rem); }
.forge__lede { font: 400 var(--t-lede)/1.45 var(--serif); color: var(--ink-soft); margin: 1.5rem 0 2rem; max-width: 26em; }
.forge__steps { --p: 0; list-style: none; position: relative; padding-left: 4.2rem; }
.forge__steps::before, .forge__steps::after { content: ""; position: absolute; left: 1.25rem; top: .6rem; bottom: .6rem; width: 1px; background: var(--line-strong); }
.forge__steps::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--p)); width: 2px; left: calc(1.25rem - .5px); }
.forge__step { position: relative; padding-bottom: clamp(2.6rem, 5vw, 3.8rem); }
.forge__step:last-child { padding-bottom: 0; }
.forge__num { position: absolute; left: -4.2rem; top: -.1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: var(--vellum); border: 1px solid var(--line-strong); font: 500 1.1rem/1 var(--serif); color: var(--ink-soft); transition: background .5s, color .5s, border-color .5s, box-shadow .5s; }
.forge__step.on .forge__num { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--iron); box-shadow: 0 0 0 6px rgba(221, 187, 110, .2); }
.forge__step h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .6rem; }
.forge__step p { color: var(--ink-soft); max-width: 34em; }

/* Reach */
.reach { padding: clamp(5.5rem, 11vw, 9rem) 0 clamp(3rem, 6vw, 5rem); }
.reach__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem 1.5rem; align-items: end; }
.reach__title { grid-column: 1 / 7; font-size: var(--t-2); }
.reach__body { grid-column: 8 / 13; font: 400 var(--t-lede)/1.45 var(--serif); color: var(--ink-soft); }
.reach__formats { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line-strong); }
.reach__formats li { font: italic 400 clamp(1.5rem, 3.2vw, 2.8rem)/1 var(--serif); padding: 1.6rem 0 0; color: var(--ink); }
.reach__formats li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(6rem, 12vw, 10rem) 0; }
.cta__mark { position: absolute; right: -8vw; top: 50%; width: min(62vw, 720px); aspect-ratio: 1; transform: translateY(-50%); color: var(--ink); opacity: .05; pointer-events: none; }
.cta__inner { position: relative; }
.cta__title { font-size: var(--t-1); max-width: 13ch; }
.cta__body { font: 400 var(--t-lede)/1.45 var(--serif); color: var(--ink-soft); margin: 1.6rem 0 2.4rem; max-width: 28em; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

/* Footer */
.footer { background: var(--iron); color: rgba(244, 238, 226, .78); position: relative; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 4.5rem var(--gutter) 3rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer__mark { width: 64px; height: 64px; }
.footer__tag { font: italic 400 1.5rem/1.3 var(--serif); color: var(--ivory); margin-top: 1.2rem; }
.footer__nav { display: flex; flex-direction: column; gap: .55rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold-bright); }
.footer__mail { font: 500 1.35rem/1.3 var(--serif); color: var(--ivory); word-break: break-word; }
.footer__social { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem; font-size: .95rem; }
.footer__base { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem var(--gutter) 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(244, 238, 226, .1); font-size: .85rem; color: rgba(244, 238, 226, .55); }
.footer__base p:last-child { display: flex; gap: 1.5rem; }

/* Page heads */
.page-head { padding-top: calc(var(--head) + clamp(2.5rem, 7vw, 5.5rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-head--center { text-align: center; }
.page-head--center .page-lede { margin-inline: auto; }
.page-head--center .crumbs ol { justify-content: center; }
.page-title { font-size: var(--t-1); line-height: 1; }
.page-lede { font: 400 var(--t-lede)/1.42 var(--serif); color: var(--ink-soft); margin-top: 1.4rem; max-width: 30em; }
.page-head__body { margin-top: 1.5rem; }
.crumbs { margin-bottom: 1.6rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
.page-body { padding-bottom: clamp(4rem, 8vw, 7rem); }

/* Prose */
.prose { font: 400 1.3rem/1.62 var(--serif); max-width: 34em; color: #34312D; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 1.85rem; margin-top: 2.1em; color: var(--ink); }
.prose h3 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { text-decoration-color: var(--gold); text-underline-offset: .2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 2px solid var(--gold); font-style: italic; }
.prose hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.4em 0; }
.prose--drop > p:first-of-type::first-letter { float: left; font-size: 4.3em; line-height: .78; font-weight: 500; color: var(--gold); padding: .06em .09em 0 0; }
.prose--small { font-size: 1.12rem; }

/* Works */
.works-empty { padding-bottom: 8rem; font-size: 1.15rem; }
.works-list { padding-bottom: clamp(2rem, 5vw, 4rem); }
.work-row { padding: clamp(3rem, 7vw, 6rem) 0; }
.work-row + .work-row { border-top: 1px solid var(--line); }
.work-row__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.work-row--flip .work-row__book { order: 2; }
.work-row__book { display: block; padding: 1rem 0 2rem; }
.works-list--solo .work-row { background: radial-gradient(60% 70% at 25% 50%, #FCF6E8, transparent 70%); }
.work-row__title { font-size: var(--t-1); line-height: 1; }
.work-row__title a { text-decoration: none; }
.work-row__subtitle { font: italic 400 var(--t-3)/1.25 var(--serif); color: var(--ink-soft); margin-top: .7rem; }
.work-row__by { margin-top: 1.3rem; font-weight: 500; color: var(--ink-soft); }
.work-row__by a, .book-hero__by a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: .3em; }
.work-row__blurb { font: 400 var(--t-lede)/1.45 var(--serif); margin: 1.6rem 0 2.2rem; max-width: 30em; }
.work-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.works-grid-wrap { padding-bottom: 6rem; }
.works-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4rem 2.5rem; }
.works-grid li[hidden] { display: none; }
.work-card { display: block; text-decoration: none; }
.work-card__title { display: block; font: 500 1.3rem/1.2 var(--serif); margin-top: 1.6rem; }
.work-card__by { display: block; color: var(--ink-soft); font-size: .92rem; margin-top: .3rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.filters button { border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: .5rem 1rem; font-size: .9rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--iron); color: var(--ivory); border-color: var(--iron); }

/* Book page */
.book-hero { position: relative; overflow: hidden; padding: calc(var(--head) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(4rem, 8vw, 7rem); isolation: isolate; }
.book-hero__light { position: absolute; z-index: -1; left: -10%; top: 0; width: 70%; height: 110%; background: radial-gradient(closest-side, #FFF8E8, rgba(252, 244, 226, .6) 45%, transparent); }
.book-hero__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; margin-top: 1rem; }
.book-hero__stage { padding: 2rem 0 3rem; }
.book-hero__title { font-size: var(--t-1); line-height: 1; }
.book-hero__subtitle { font: italic 400 var(--t-3)/1.25 var(--serif); color: var(--ink-soft); margin-top: .8rem; }
.book-hero__by { margin-top: 1.4rem; font-weight: 500; color: var(--ink-soft); font-size: 1.05rem; }
.byline-sep { margin-right: .3em; }
.book-hero__blurb { font: 400 var(--t-lede)/1.45 var(--serif); margin-top: 1.7rem; max-width: 30em; }
.buy { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.buy__label { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1rem; }
.buy__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.buy__list .btn--line { color: var(--ink); }
.buy__note { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }
.book-body { padding-block: clamp(3rem, 7vw, 6rem); display: grid; justify-items: center; }
.book-body .prose { width: 100%; }

.praise { background: var(--vellum); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.praise__list { display: grid; gap: 4rem; justify-items: center; text-align: center; }
.praise__item { margin: 0; max-width: 40rem; }
.praise__item blockquote { margin: 0; font: italic 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.35 var(--serif); }
.praise__item blockquote p::before { content: "\201C"; } .praise__item blockquote p::after { content: "\201D"; }
.praise__item figcaption { margin-top: 1.2rem; font-size: .95rem; color: var(--ink-soft); font-weight: 500; }
.praise__item figcaption::before { content: "\2014\2009"; color: var(--gold); }

.look { padding-block: clamp(3rem, 7vw, 6rem) 0; }
.look__details { max-width: 52rem; margin: 0 auto; border-block: 1px solid var(--line-strong); }
.look__details summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; }
.look__details summary::-webkit-details-marker { display: none; }
.look__title { font: 450 var(--t-3)/1.1 var(--serif); }
.look__hint { font-size: .92rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .7rem; }
.look__hint::after { content: ""; width: .55rem; height: .55rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--ease); }
.look__details[open] .look__hint::after { transform: translateY(2px) rotate(-135deg); }
.look__page { max-width: none; margin: .5rem auto 3rem; padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 7vw, 5.5rem); background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(43, 41, 38, .35), 6px 0 0 -3px #EFE7D8, 12px 0 0 -6px #E6DDCB;
  font-size: 1.2rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.look__page > p:first-child::first-line { font-variant: small-caps; letter-spacing: .04em; }
.look__details[open] .look__page { animation: pageIn .6s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }

.specs { padding-block: clamp(3rem, 7vw, 6rem); }
.specs__title { font-size: var(--t-3); margin-bottom: 1.8rem; }
.specs__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 2rem; margin: 0; border-top: 1px solid var(--line-strong); }
.specs__list div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.specs__list dt { font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .25rem; }
.specs__list dd { margin: 0; font: 400 1.2rem/1.3 var(--serif); font-variant-numeric: lining-nums; }
.specs__price { margin-left: .6rem; color: var(--ink-soft); }

.about-author { background: var(--vellum); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.about-author__grid { display: grid; grid-template-columns: minmax(160px, 280px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 60rem; }
.about-author__photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(.85) contrast(1.02); }
.about-author__name { font-size: var(--t-2); }
.about-author__name a { text-decoration: none; }
.about-author__bio { font: 400 1.25rem/1.55 var(--serif); margin: 1.2rem 0 1.6rem; color: #34312D; }
.more { padding-block: clamp(4rem, 8vw, 6rem); }

/* Made by Ironlight */
.made { padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-top: 1px solid var(--line); }
.made__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.made__lede { font: 400 var(--t-lede)/1.45 var(--serif); color: var(--ink-soft); margin: 1.4rem 0 2rem; max-width: 28em; }
.made__list { list-style: none; border-top: 1px solid var(--line-strong); }
.made__list li { display: flex; align-items: baseline; gap: 1.4rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); font: 420 clamp(1.5rem, 2.4vw, 2.1rem)/1.15 var(--serif); }
.made__list span { font: 600 .78rem/1 var(--sans); letter-spacing: .08em; color: var(--gold-ink); }

/* Author page */
.author-hero { padding: calc(var(--head) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(2rem, 5vw, 4rem); }
.author-hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; margin-top: 1rem; }
.author-hero__grid--solo { grid-template-columns: 1fr; }
.author-hero__grid--solo .author-hero__copy { max-width: 60rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-strong); }
.author-bio > p:first-child { font-size: 1.45rem; line-height: 1.5; color: var(--ink); }
.author-hero__photo { margin: 0; position: relative; }
.author-hero__photo::after { content: ""; position: absolute; inset: auto -1.2rem -1.2rem auto; width: 60%; height: 60%; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); pointer-events: none; }
.author-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85) contrast(1.03); }
.author-hero__name { font-size: var(--t-hero); line-height: .95; letter-spacing: -.025em; }
.author-hero__lede { font: 400 var(--t-lede)/1.45 var(--serif); color: var(--ink-soft); margin-top: 1.6rem; max-width: 28em; }
.author-hero__links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2rem; font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.author-hero__links a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: .3em; }
.author-works { background: var(--vellum); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.author-works__list { list-style: none; display: grid; gap: 3.5rem; }
.author-work { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 56rem; }
.author-work__title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.author-work__title a { text-decoration: none; }
.author-work__meta { color: var(--ink-soft); font-size: .92rem; margin-top: .5rem; }
.author-work__blurb { font: 400 1.22rem/1.5 var(--serif); margin: 1rem 0 1.3rem; }
.author-work__links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }

/* About: anatomy of the mark */
.anatomy { display: grid; grid-template-columns: 1fr minmax(220px, 360px) 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-bottom: clamp(4rem, 8vw, 7rem); }
.anatomy__mark { aspect-ratio: 1; }
.anatomy__notes { display: grid; gap: 3rem; }
.anatomy__notes--l { text-align: right; }
.anatomy__note { color: var(--ink-soft); max-width: 18rem; cursor: default; transition: color .3s; }
.anatomy__notes--l .anatomy__note { margin-left: auto; }
.anatomy__note strong { display: block; font: 450 2rem/1.1 var(--serif); color: var(--ink); margin-bottom: .4rem; transition: color .3s; }
.anatomy__note:hover strong, .anatomy__note.on strong { color: var(--gold-ink); }
.emblem--anatomy .em-ring, .emblem--anatomy .em-rays, .emblem--anatomy .em-sun, .emblem--anatomy .em-anvil { transition: opacity .45s var(--ease), filter .45s; }
[data-focus] .emblem--anatomy > g > * { opacity: .16; }
[data-focus="sun"] .em-sun, [data-focus="sun"] .em-rays,
[data-focus="anvil"] .em-anvil,
[data-focus="rays"] .em-rays, [data-focus="rays"] .em-sun, [data-focus="rays"] .em-anvil,
[data-focus="ring"] .em-ring { opacity: 1 !important; filter: drop-shadow(0 0 10px rgba(221, 187, 110, .6)); }

/* About: numbered convictions set large */
.about-prose ol { list-style: none; padding: 0; margin-top: 2rem; counter-reset: p; border-top: 1px solid var(--line-strong); }
.about-prose ol li { counter-increment: p; position: relative; padding: 1.6rem 0 1.6rem 4rem; border-bottom: 1px solid var(--line); font-size: 1.25rem; line-height: 1.5; }
.about-prose ol li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 1.75rem; font: 600 .8rem/1 var(--sans); letter-spacing: .08em; color: var(--gold-ink); }
.about-prose ol li strong { display: block; font: 450 1.8rem/1.15 var(--serif); margin-bottom: .35rem; color: var(--ink); }
.about-prose ol li + li { margin-top: 0; }

/* Mobile: the one action, always under the thumb */
.thumb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(244, 238, 226, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.thumb .btn { width: 100%; }
.is-past-hero .thumb { transform: none; }
@media (max-width: 880px) { .thumb { display: block; } .menu-open .thumb { display: none; } body { padding-bottom: 0; } }

/* Services */
.services { padding-bottom: clamp(4rem, 8vw, 7rem); }
.services__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 5rem); }
.service { padding: 2.2rem 0; border-top: 1px solid var(--line-strong); }
.service__title { font-size: var(--t-3); margin-bottom: .8rem; }
.service__body { color: var(--ink-soft); max-width: 32em; }

/* Forms */
.submit, .contact { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); padding-bottom: clamp(5rem, 9vw, 8rem); align-items: start; }
.submit__aside, .contact__ways { position: sticky; top: calc(var(--head) + 2rem); }
.submit__h { font-size: 1.6rem; margin: 2.2rem 0 1rem; }
.submit__next { list-style: none; counter-reset: n; display: grid; gap: 1rem; }
.submit__next li { counter-increment: n; position: relative; padding-left: 2.4rem; color: var(--ink-soft); }
.submit__next li::before { content: counter(n); position: absolute; left: 0; top: -.05rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font: 500 .95rem/1 var(--serif); color: var(--gold-ink); }
.submit__mail { margin-top: 2rem; font-size: .95rem; color: var(--ink-soft); }
.submit__mail a { color: var(--ink); text-decoration-color: var(--gold); }
.submit__main, .contact__form { background: var(--paper); padding: clamp(1.6rem, 4vw, 3.2rem); box-shadow: 0 1px 0 var(--line), 0 30px 70px -40px rgba(43, 41, 38, .35); }

.steps__progress { height: 2px; background: var(--line); margin-bottom: 2.4rem; display: none; }
.steps__progress span { display: block; height: 100%; width: 25%; background: var(--gold); transition: width .5s var(--ease); }
.js .steps__progress { display: block; }
.step { border: 0; margin: 0 0 2.6rem; padding: 0; min-width: 0; }
.js .step { display: none; margin-bottom: 0; }
.js .step.is-active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.step legend { font: 450 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--serif); margin-bottom: 1.8rem; padding: 0; }
.step__n { display: block; font: 600 .82rem/1 var(--sans); color: var(--gold-ink); margin-bottom: .8rem; letter-spacing: .02em; }
.field { margin-bottom: 1.35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field label, .field .label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .45rem; }
.opt { font-weight: 400; color: var(--ink-soft); margin-left: .3rem; font-size: .85rem; }
.field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 55%, calc(100% - .9rem) 55%; background-size: .3rem .3rem; background-repeat: no-repeat; padding-right: 2.4rem; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(221, 187, 110, .3); }
.field [aria-invalid="true"], .check [aria-invalid="true"] { border-color: #A34A3A !important; outline: 1px solid #A34A3A; }
.field__error { color: #A34A3A; font-size: .88rem; margin-top: .4rem; font-weight: 500; }
.form-alert { border-left: 3px solid #A34A3A; background: #F6E9E3; padding: .9rem 1.1rem; margin-bottom: 1.8rem; font-weight: 500; }
.checks { display: grid; gap: .55rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; font-size: 1rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--iron); flex: none; }
.check--consent { margin-top: .5rem; font-size: .95rem; color: var(--ink-soft); }
.check--consent a { color: var(--ink); }
.drop { position: relative; display: block; border: 1px dashed var(--line-strong); border-radius: 3px; padding: 1.5rem; text-align: center; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop.is-over, .drop:hover { border-color: var(--gold); background: #FFFBF2; }
.drop__text { color: var(--ink-soft); font-size: .95rem; font-weight: 400; }
.drop.has-file .drop__text { color: var(--ink); font-weight: 600; }
.steps__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; }
.steps__nav [data-next], .steps__nav [data-submit] { margin-left: auto; }
.sent { text-align: center; padding: 2rem 0; }
.emblem--sent { width: 88px; height: 88px; margin: 0 auto 1.6rem; }
.sent h2 { font-size: var(--t-3); margin-bottom: 1rem; }
.sent p { color: var(--ink-soft); max-width: 30em; margin: 0 auto 1.6rem; }
.contact__way { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.contact__way h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.contact__way p { color: var(--ink-soft); margin: .6rem 0 1rem; }
.contact__mail { font: 450 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--serif); color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: .2em; word-break: break-word; }

/* 404 */
.lost { text-align: center; padding: calc(var(--head) + 6rem) var(--gutter) 8rem; }
.emblem--lost { width: 120px; height: 120px; margin: 0 auto 2rem; opacity: .9; }
.lost .page-lede { margin-inline: auto; }
.lost__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; margin-top: 2.4rem; }

/* Start anywhere */
.start { padding: clamp(5.5rem, 11vw, 9.5rem) 0; }
.start__intro { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.start__lede { font: 400 var(--t-lede)/1.45 var(--serif); color: var(--ink-soft); margin-top: 1.4rem; max-width: 32em; }
.start__ui { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.start__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.start__tab { position: relative; display: flex; align-items: baseline; gap: 1.2rem; padding: 1.3rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer;
  font: 420 clamp(1.5rem, 2.4vw, 2.1rem)/1.15 var(--serif); color: rgba(43, 41, 38, .4); transition: color .35s, padding .5s var(--ease); }
.start__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.start__tab:hover { color: var(--ink); }
.start__tab[aria-selected="true"] { color: var(--ink); padding-left: .7rem; }
.start__tab[aria-selected="true"]::after { transform: scaleX(1); }
.start__i { font: 600 .78rem/1 var(--sans); letter-spacing: .08em; color: var(--steel); min-width: 1.6rem; transition: color .35s; }
.start__tab[aria-selected="true"] .start__i { color: var(--gold-ink); }
.start__panels { display: grid; gap: 1rem; }
.start__panel { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%;
  padding: clamp(2rem, 4vw, 3.4rem); background: var(--iron); color: var(--ivory); }
.start__panel::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(221, 187, 110, .28), rgba(221, 187, 110, .06) 60%, transparent); }
.start__you { font: 600 .85rem/1 var(--sans); letter-spacing: .02em; color: var(--gold-bright); margin-bottom: .9rem; }
.start__h { font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1.02; }
.start__body { font: 400 var(--t-lede)/1.45 var(--serif); color: rgba(244, 238, 226, .86); margin: 1.3rem 0 2.2rem; max-width: 30em; }
.start__panel .btn { --bg: var(--gold-bright); --fg: var(--iron); --bd: var(--gold-bright); align-self: flex-start; }
.start__panel .btn:hover { --bg: #E8CA84; --bd: #E8CA84; }
.js .start__panel:not(.is-active) { display: none; }
.js .start__panel.is-active { animation: stepIn .55s var(--ease); }

/* Services: two ways to work */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(1rem, 3vw, 2rem); }
.way { border-top: 1px solid var(--line-strong); padding-top: 1.8rem; }
.way__n { font: italic 400 1.5rem/1 var(--serif); color: var(--gold-ink); margin-bottom: 1rem; }
.way__title { font-size: var(--t-2); }
.way__body { font: 400 var(--t-lede)/1.45 var(--serif); color: var(--ink-soft); margin-top: 1rem; max-width: 28em; }
.services__h { margin-bottom: 2rem; }

/* Page transitions (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 880px) {
  :root { --head: 68px; }
  .feature__grid, .work-row__grid, .book-hero__grid, .forge__grid, .author-hero__grid, .submit, .contact { grid-template-columns: 1fr; }
  .work-row--flip .work-row__book { order: 0; }
  .forge__intro, .submit__aside, .contact__ways { position: static; }
  .manifesto__text, .manifesto .link { grid-column: 1 / -1; }
  .reach__title, .reach__body { grid-column: 1 / -1; }
  .reach__formats { grid-template-columns: repeat(2, 1fr); }
  .reach__formats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .services__list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .showcase__head, .made__grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .anatomy { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .anatomy__mark { width: min(300px, 70vw); order: -1; }
  .anatomy__notes { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .anatomy__notes--l { text-align: center; }
  .anatomy__note { margin-inline: auto; }
  .about-author__grid { grid-template-columns: 1fr; }
  .about-author__photo { max-width: 220px; }
  .author-hero__photo { max-width: 420px; }
  .submit__main { order: -1; }
  .start__ui, .ways { grid-template-columns: 1fr; }
  .start__tabs { flex-direction: row; gap: .5rem; overflow-x: auto; border: 0; padding-bottom: .4rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; scroll-snap-type: x mandatory; }
  .start__tabs::-webkit-scrollbar { display: none; }
  .start__tab { flex: none; scroll-snap-align: start; padding: .75rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 99px; font: 600 .95rem/1 var(--sans); color: var(--ink-soft); }
  .start__tab::after, .start__i { display: none; }
  .start__tab[aria-selected="true"] { padding-left: 1.1rem; background: var(--iron); border-color: var(--iron); color: var(--ivory); }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .author-work { grid-template-columns: 110px 1fr; gap: 1.5rem; }
  .wordmark__name { font-size: 1.15rem; }
  .brand__mark { width: 34px; height: 34px; }
  .hero__actions .btn { width: 100%; }
  .cta__mark { right: -30vw; width: 110vw; }
  .anatomy__notes { grid-template-columns: 1fr; }
}

/* Reduced motion: everything lands in its final state */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .hero__beams i::after, .book3d--lg .book3d__obj, .hero__scroll span { animation: none !important; }
  .manifesto__text .w { color: var(--ink); }
}

@media print {
  .masthead, .drawer, .footer, .hero__embers, .hero__beams, .cta, body::after { display: none !important; }
  body { background: #fff; }
}
