:root {
  --ink: #070908;
  --ink-soft: #0d100f;
  --ivory: #f1ede3;
  --paper: #d8d1c3;
  --muted: #a8a49b;
  --gold: #d7a443;
  --gold-bright: #edbd5d;
  --line: rgba(215, 164, 67, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

.site-header {
  position: absolute; z-index: 20; inset: 0 0 auto;
  min-height: 86px; display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 40px; padding: 0 4.5vw; border-bottom: 1px solid var(--line);
}
.brand { color: var(--gold); font-family: Georgia, serif; font-size: 30px; letter-spacing: .16em; }
.brand span { letter-spacing: .03em; }
nav { display: flex; gap: clamp(18px, 2.2vw, 38px); }
nav a, .header-cta { color: #d8d3c9; font-size: 13px; transition: color .2s; }
nav a:hover, .header-cta:hover { color: var(--gold); }
.header-cta { border: 1px solid var(--line); padding: 12px 18px; }

.hero { min-height: 860px; height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 62%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,6,5,.99), rgba(4,6,5,.92) 31%, rgba(4,6,5,.38) 54%, rgba(4,6,5,.04) 72%), linear-gradient(0deg, rgba(4,6,5,.62), transparent 40%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 49vw); margin: 90px 0 0 4.7vw; }
.eyebrow { margin-bottom: 22px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(54px, 5vw, 84px); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
h1 em { display: block; margin-top: 12px; color: var(--gold); font-style: normal; }
.hero-thesis { color: #b6b2a9; font-size: 18px; line-height: 1.52; }
.hero-thesis strong { color: #d4d0c7; font-weight: 400; }
.hero-thesis span { color: var(--ivory); }
.actions, .purchase-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.button { min-height: 55px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 24px; border: 1px solid #9b7027; font-size: 14px; font-weight: 700; transition: .25s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: #090a09; }
.button.primary:hover { background: var(--gold-bright); }
.button.secondary { background: rgba(0,0,0,.25); color: var(--gold); }
.button.pending { cursor: default; opacity: .72; }
.button.pending:hover { transform: none; }
.author { margin-top: 28px; color: #b4b0a7; font-size: 14px; }
.author::before { content: ""; display: inline-block; width: 35px; height: 1px; margin: 0 14px 4px 0; background: var(--gold); }
.scroll-cue { position: absolute; z-index: 4; bottom: 28px; left: 50%; color: var(--gold); font-size: 30px; }

.section { padding: 120px max(5vw, 40px); border-top: 1px solid rgba(255,255,255,.08); }
.section-number { color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.theory { display: grid; grid-template-columns: .55fr 1.35fr .8fr; gap: 7vw; background: #0a0c0b; }
.theory h2, .book h2, .why h2, .about h2, .ecosystem h2, .library h2 { margin-bottom: 30px; font-size: clamp(42px, 4.4vw, 70px); line-height: 1.02; letter-spacing: -.035em; }
.theory-copy > p, .book-copy > p, .gallery-copy > p, .human-copy > p, .why-copy > p, .about-copy > p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.lead { color: var(--paper) !important; font-size: 21px !important; }
blockquote { align-self: center; margin: 0; padding: 26px 0 26px 30px; border-left: 1px solid var(--gold); color: var(--gold); font-family: Georgia, serif; font-size: 23px; line-height: 1.45; }

.library { background: linear-gradient(135deg, #d8d1c3, #f0ece2); color: #11120f; }
.library-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: end; margin-bottom: 64px; }
.library-heading h2 { max-width: 760px; margin-bottom: 0; }
.library-heading > p { max-width: 620px; margin: 0 0 8px; color: #55554e; font-size: 17px; line-height: 1.7; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; align-items: stretch; max-width: 1240px; margin: 0 auto; }
.library-card { min-width: 0; display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 32px); border: 1px solid rgba(94,73,37,.22); background: rgba(255,255,255,.22); }
.cover-link { position: relative; display: block; width: min(100%, 430px); aspect-ratio: 5 / 8; margin: 0 auto; overflow: hidden; background: #0a0d0f; box-shadow: 0 24px 48px rgba(25,21,15,.22); }
.cover-picture { display: block; width: 100%; height: 100%; }
.cover-link img { width: 100%; height: 100%; object-fit: cover; }
.book-status { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; padding: 10px 11px; background: rgba(7,9,8,.92); border: 1px solid rgba(215,164,67,.55); color: var(--gold-bright); font-size: 9px; font-weight: 700; letter-spacing: .14em; line-height: 1.35; text-align: center; text-transform: uppercase; backdrop-filter: blur(8px); }
.status-next { background: rgba(215,164,67,.94); color: #090a09; }
.status-review { background: rgba(15,17,16,.94); }
.status-live { background: rgba(215,164,67,.96); color: #090a09; }
.card-copy { display: flex; flex: 1; flex-direction: column; padding-top: 28px; }
.card-series { margin-bottom: 11px; color: #8a641f; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.card-copy h3 { margin: 0 0 9px; font-family: Georgia, serif; font-size: clamp(28px, 2.5vw, 39px); font-weight: 400; line-height: 1.04; }
.card-copy .card-subtitle { min-height: 44px; margin-bottom: 15px; color: #875f1d; font-family: Georgia, serif; font-size: 15px; line-height: 1.35; }
.card-copy > p:not(.card-series):not(.card-subtitle) { margin-bottom: 18px; color: #55554e; font-size: 14px; line-height: 1.62; }
.card-themes { display: grid; gap: 8px; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid rgba(20,20,20,.12); border-bottom: 1px solid rgba(20,20,20,.12); list-style: none; }
.card-themes li { position: relative; padding-left: 20px; color: #4f4e48; font-size: 13px; line-height: 1.45; }
.card-themes li::before { content: "Δ"; position: absolute; left: 0; color: #9b7027; }
.card-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; }
.card-button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; border: 1px solid #9b7027; color: #604315; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card-button:hover { background: rgba(215,164,67,.12); }
.card-button-primary { background: var(--gold); color: #090a09; }
.card-button-primary:hover { background: var(--gold-bright); }
.card-link { display: inline-flex; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid #9b7027; color: #604315; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card-link:hover { color: #9b7027; }
.muted-link { border-bottom-color: rgba(96,67,21,.32); color: #6e675c; }
.card-actions .card-link { align-self: flex-start; margin-top: 4px; }
.pending-link { border: 0; color: #82796b; cursor: default; }
.language-cover { background: radial-gradient(circle at 30% 18%, rgba(215,164,67,.22), transparent 34%), linear-gradient(145deg, #111715, #030504 70%); color: var(--ivory); }
.language-cloud { position: absolute; inset: 6% -18%; color: rgba(215,164,67,.2); font-family: Georgia, serif; font-size: clamp(20px, 2.4vw, 38px); line-height: 2.1; letter-spacing: .08em; transform: rotate(-12deg); }
.language-title { position: absolute; z-index: 1; inset: 9% 9% 15%; display: flex; flex-direction: column; justify-content: space-between; text-align: center; text-transform: uppercase; }
.language-title small { color: var(--gold); font-family: Georgia, serif; font-size: 16px; letter-spacing: .18em; }
.language-title strong { text-shadow: 0 3px 18px #000; font-family: Georgia, serif; font-size: clamp(27px, 2.9vw, 46px); font-weight: 400; line-height: 1.02; }
.language-title span { color: var(--gold-bright); font-size: 12px; letter-spacing: .3em; }
.library-note { margin: 58px 0 0; padding-top: 22px; border-top: 1px solid rgba(20,20,20,.14); color: #716b61; font-size: 12px; letter-spacing: .04em; text-align: center; }

.book { display: grid; grid-template-columns: minmax(280px, .72fr) 1.28fr; gap: 8vw; align-items: center; background: linear-gradient(135deg, #d8d1c3, #f0ece2); color: #11120f; }
.book-cover-wrap { max-width: 470px; justify-self: end; }
.book-cover { width: 100%; box-shadow: 0 35px 70px rgba(0,0,0,.35); }
.edition { display: block; margin-top: 18px; color: #6e6557; font-size: 11px; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
.book-copy { max-width: 760px; }
.book-copy .subtitle { margin: -18px 0 30px; color: #8a641f; font-family: Georgia, serif; font-size: 24px; }
.book-copy > p { color: #484843; }
.book-copy .lead { color: #292a26 !important; }
.book-points { display: grid; gap: 12px; padding: 20px 0; margin: 0; list-style: none; border-top: 1px solid rgba(20,20,20,.15); border-bottom: 1px solid rgba(20,20,20,.15); }
.book-points li { position: relative; padding-left: 24px; color: #3d3d39; line-height: 1.5; }
.book-points li::before { content: "Δ"; position: absolute; left: 0; color: #9b7027; }
.book .button.secondary { background: transparent; color: #76531b; }
.purchase-note { margin: 0; font-size: 12px !important; }
.edition-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 18px; }
.edition-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid rgba(20,20,20,.16); background: rgba(255,255,255,.22); }
.edition-card .format { color: #8a641f; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.edition-card h3 { margin: 9px 0 6px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.edition-card p { min-height: 66px; margin-bottom: 18px; color: #55554f; font-size: 14px; line-height: 1.5; }
.edition-card .button { width: 100%; margin-top: auto; font-size: 12px; line-height: 1.35; }
.paperback-gallery-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #76531b; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.paperback-gallery-link:hover { color: #a57524; }
.purchase-gallery-link { margin: 0 0 18px; }

.gallery-feature { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; align-items: center; background: #0c0f0e; }
.gallery-copy h2 { font-size: clamp(48px, 5.3vw, 82px); line-height: 1; }
.gallery-copy code { display: block; margin-top: 24px; color: #8d8980; font-size: 13px; }
.gallery-collage { min-height: 620px; display: grid; grid-template-columns: 1fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.gallery-collage img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-collage img:first-child { grid-row: 1 / 3; }

.visual-companions { background: #0c0f0e; }
.visual-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: end; margin-bottom: 70px; }
.visual-heading h2 { max-width: 820px; margin-bottom: 0; font-size: clamp(42px, 4.4vw, 70px); line-height: 1.02; }
.visual-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.companion-row { display: grid; grid-template-columns: clamp(270px, 22vw, 320px) minmax(0, 1fr); gap: clamp(38px, 5vw, 78px); align-items: center; padding: 64px 0; border-top: 1px solid rgba(255,255,255,.12); }
.companion-cover { position: relative; align-self: start; overflow: hidden; box-shadow: 0 22px 52px rgba(0,0,0,.48); }
.companion-cover img { width: 100%; aspect-ratio: 5.06 / 7.81; object-fit: cover; }
.cover-buy-label { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px 10px; background: rgba(7,9,8,.94); border: 1px solid rgba(215,164,67,.55); color: var(--gold-bright); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.companion-content { min-width: 0; align-self: center; }
.companion-content h3 { margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(30px, 3.1vw, 48px); font-weight: 400; }
.companion-meta { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.companion-meta .card-link, .developing-panel .card-link { color: var(--gold); border-bottom-color: var(--gold); white-space: nowrap; }
.tile-strip, .tile-strip-three { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; padding: 2px 0 10px; scrollbar-color: var(--gold) #171a19; }
.tile-strip a { flex: 0 0 150px; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #151817; }
.tile-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile-strip a:hover img { transform: scale(1.035); }
.developing-panel { min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px; border: 1px solid rgba(215,164,67,.2); background: linear-gradient(100deg, rgba(215,164,67,.07), rgba(255,255,255,.015)); color: var(--muted); line-height: 1.6; }
.galleries-button { margin-top: 40px; }

.human-section { min-height: 820px; position: relative; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; }
.human-image { position: absolute; inset: 0; background: #070908 url("assets/colour/chapter-28-human-in-room.jpg") left center / contain no-repeat; }
.human-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,6,0) 0%, rgba(5,7,6,.08) 42%, rgba(5,7,6,.92) 70%, #070908 100%); }
.human-copy { position: relative; z-index: 2; width: min(510px, 39vw); margin-right: 7vw; }
.human-copy h2 { font-family: Georgia, serif; font-size: clamp(58px, 6vw, 100px); font-weight: 400; line-height: .88; }
.human-copy .question { color: var(--gold); font-family: Georgia, serif; font-size: 25px; }
.text-link { display: inline-flex; gap: 14px; padding-bottom: 6px; border-bottom: 1px solid #9b7027; color: var(--ivory); font-size: 14px; font-weight: 700; }

.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; background: var(--ink-soft); }
.why-copy { padding-top: 50px; }
.signature { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--gold) !important; font-family: Georgia, serif; font-size: 24px !important; }

.about { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; align-items: center; background: #d9d2c4; color: #11120f; }
.about-mark { color: #9b7027; font-family: Georgia, serif; font-size: min(32vw, 430px); line-height: .7; text-align: center; }
.about-copy { max-width: 790px; }
.about-copy p { color: #4b4b46; }
.about-copy .lead { color: #282925 !important; }

.ecosystem { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.ecosystem-heading { position: sticky; top: 40px; align-self: start; }
.ecosystem-list article { display: grid; grid-template-columns: 45px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ecosystem-list article > span { color: var(--gold); font-size: 11px; }
.ecosystem-list h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.ecosystem-list p { margin: 0; color: var(--muted); line-height: 1.55; }
.item-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 20px; }
.item-heading b { padding: 7px 9px; border: 1px solid var(--line); color: var(--gold); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.active-entry .item-heading b { background: var(--gold); color: #090a09; }

.closing { padding: 140px 12vw; text-align: center; background: radial-gradient(circle at 50% 120%, #4a3416, #080a09 55%); }
.closing h2 { max-width: 1000px; margin: 0 auto 44px; font-size: clamp(44px, 5.4vw, 82px); line-height: 1.03; }
footer { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; padding: 48px 5vw; border-top: 1px solid var(--line); }
footer p { margin: 0; color: #77756f; font-size: 12px; }

@media (max-width: 1040px) {
  nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 58px; }
  .card-copy h3 { font-size: 32px; }
}
@media (max-width: 900px) {
  .site-header { min-height: 72px; }
  .hero { min-height: 780px; height: 100svh; }
  .hero-content { width: auto; margin: 80px 24px 0; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,6,5,.96), rgba(4,6,5,.34)), linear-gradient(0deg, rgba(4,6,5,.82), transparent); }
  .actions, .purchase-actions { align-items: stretch; flex-direction: column; max-width: 390px; }
  .theory, .book, .gallery-feature, .why, .about, .ecosystem, .library-heading, .visual-heading { grid-template-columns: 1fr; }
  .section { padding: 88px 24px; }
  .book-cover-wrap { width: min(420px, 88vw); justify-self: center; }
  .gallery-collage { min-height: 560px; }
  .human-section { min-height: 760px; align-items: flex-end; justify-content: flex-start; }
  .human-overlay { background: linear-gradient(0deg, rgba(5,7,6,.98) 5%, rgba(5,7,6,.55) 65%, rgba(5,7,6,.08)); }
  .human-copy { width: auto; margin: 0 24px 70px; }
  .ecosystem-heading { position: static; }
  footer { grid-template-columns: 1fr; gap: 16px; }
  .companion-row { grid-template-columns: 240px minmax(0, 1fr); gap: 34px; padding: 54px 0; }
  .tile-strip { scroll-snap-type: x mandatory; }
  .tile-strip a { flex-basis: 132px; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .brand { font-size: 23px; }
  .header-cta { display: none; }
  .hero { min-height: 760px; height: 100svh; padding: 0; display: block; background: #050706; }
  .hero-art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-position: center 50%; }
  .hero-shade { display: block; background: linear-gradient(180deg, rgba(4,6,5,.92) 0%, rgba(4,6,5,.64) 28%, rgba(4,6,5,.12) 52%, rgba(4,6,5,.36) 100%); }
  .hero-content { position: absolute; inset: 0 auto auto 0; width: 100%; margin: 0; padding: 118px 20px 0; background: transparent; }
  .hero .eyebrow { margin-bottom: 20px; font-size: 10px; line-height: 1.55; }
  h1 { max-width: 520px; font-size: clamp(38px, 10.8vw, 48px); line-height: .95; }
  .hero-thesis, .hero .actions, .hero .author, .scroll-cue { display: none; }
  .gallery-collage { min-height: 860px; grid-template-columns: 1fr; grid-template-rows: 1.4fr .9fr .9fr; }
  .gallery-collage img:first-child { grid-row: auto; }
  .human-copy h2 { font-size: 58px; }
  .gallery-copy code { font-size: 11px; overflow-wrap: anywhere; }
  .edition-options { grid-template-columns: 1fr; }
  .edition-card p { min-height: 0; }
  .book-grid { grid-template-columns: 1fr; gap: 60px; }
  .cover-link { width: 100%; max-width: 340px; }
  .library-heading { margin-bottom: 48px; }
  .card-copy h3 { font-size: 32px; }
  .card-copy .card-subtitle, .card-copy > p:not(.card-series):not(.card-subtitle) { min-height: 0; }
  .visual-heading { margin-bottom: 40px; }
  .companion-row, .companion-active { display: block; padding: 46px 0; }
  .companion-cover, .companion-active .companion-cover { width: 200px; margin: 0 auto 28px; }
  .companion-content { width: 100%; text-align: center; }
  .companion-content h3 { margin-bottom: 14px; font-size: 29px; line-height: 1.05; }
  .companion-meta { display: block; }
  .companion-meta .card-link { margin: 0 0 22px; }
  .tile-strip, .tile-strip-three { justify-content: flex-start; margin-right: -24px; padding-right: 24px; text-align: left; }
  .tile-strip a { flex: 0 0 112px; }
  .developing-panel { min-height: 126px; display: block; padding: 18px; font-size: 13px; }
  .developing-panel .card-link { margin-top: 16px; white-space: normal; }
}
