@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-normal-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-normal-400-latin.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:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-normal-500-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-normal-500-latin.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:"Inter Tight";font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/inter-tight-normal-300-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/inter-tight-normal-300-700-latin.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:"Newsreader";font-style:italic;font-weight:200 800;font-display:swap;src:url(/assets/fonts/newsreader-italic-200-800-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:200 800;font-display:swap;src:url(/assets/fonts/newsreader-italic-200-800-latin.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:"Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/newsreader-normal-200-800-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/newsreader-normal-200-800-latin.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}
/* Viaggio nella terra dell'oro — foglio di stile principale */

:root {
  --ink: #0c0a07;
  --ink-2: #14110c;
  --ink-3: #1e1a13;
  --line: rgba(232, 207, 138, .14);
  --line-2: rgba(232, 207, 138, .28);
  --gold: #d4ad5b;
  --gold-2: #f0d999;
  --gold-3: #9b7632;
  --wine: #7d2424;
  --wine-2: #a83a32;
  --paper: #f1e9d8;
  --paper-2: #e3d7bd;
  --paper-ink: #231d14;
  --text: #ece4d3;
  --muted: #a39782;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
img[style*="--tone"] { background: var(--tone); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 16px; }

/* ------------------------------------------------------------ typography */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.serif { font-family: var(--serif); }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.kicker { color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.display { font: 300 clamp(48px, 9vw, 132px)/.92 var(--serif); letter-spacing: -.025em; }
.h1 { font: 300 clamp(36px, 5.4vw, 76px)/1 var(--serif); letter-spacing: -.02em; }
.h1 em, .display em { font-style: italic; color: var(--gold-2); }
.h2 { font: 400 clamp(28px, 3.4vw, 46px)/1.08 var(--serif); letter-spacing: -.01em; }
.h3 { font: 400 clamp(22px, 2.1vw, 30px)/1.15 var(--serif); }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: #f4ecdb; }
.lead.serif { font-family: var(--serif); font-size: clamp(22px, 2vw, 29px); line-height: 1.45; font-weight: 300; }
.gold-text {
  background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold-2) 28%, var(--gold) 46%, #fff3c9 52%, var(--gold) 58%, var(--gold-3) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.icon { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------ ambient layers */
#dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }
.site-header, main, .site-footer { position: relative; z-index: 2; }
main { display: block; min-height: 60vh; outline: none; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }

.curtain { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.curtain i { background: var(--ink-2); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-in); border-right: 1px solid var(--line); }
.curtain i:nth-child(2) { transition-delay: .06s; background: #17130d; }
.curtain i:nth-child(3) { transition-delay: .12s; }
body.is-leaving .curtain i { transform: scaleY(1); }
body.is-entering .curtain i { transform: scaleY(0); transform-origin: 50% 0; transition: transform .6s var(--ease); }
body.is-leaving .curtain { pointer-events: all; cursor: progress; }

.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold-2); pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s; }
.has-cursor .cursor { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: var(--gold); }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); transition: background .4s, border-color .4s, transform .45s var(--ease); border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(12, 10, 7, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); position: relative; display: grid; place-items: center; overflow: hidden; }
.brand-mark::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 45%, var(--gold-3)); }
.brand-mark i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); top: 50%; left: 50%; margin: -2.5px; animation: orbit 6s linear infinite; }
@keyframes orbit { from { transform: rotate(0) translateX(9px); } to { transform: rotate(360deg) translateX(9px); } }
.brand-text { display: flex; flex-direction: column; font: 500 11px/1.25 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.brand-text b { font-weight: 500; }
.brand-text b + b { color: var(--gold); }
.nav { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav a { position: relative; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; color: #d8cfbd; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.menu-toggle { display: none; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; }
.menu-lines { width: 26px; height: 10px; position: relative; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 1px; background: var(--gold-2); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-lines i:first-child { top: 0; } .menu-lines i:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-lines i:first-child { top: 4.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child { top: 4.5px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; background: rgba(12, 10, 7, .97); display: flex; align-items: flex-end; padding: calc(var(--header) + 24px) var(--gutter) 32px; }
.drawer-inner { width: 100%; }
.drawer-nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font: 300 clamp(30px, 8vw, 54px)/1.1 var(--serif); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--n, 0) * 45ms); }
.drawer-nav a small { font: 500 11px/1 var(--mono); color: var(--gold); letter-spacing: .14em; }
.drawer-nav a[aria-current="page"] { color: var(--gold-2); font-style: italic; }
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; }
.drawer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; color: var(--muted); }
.drawer-foot a { color: var(--gold-2); }

/* ------------------------------------------------------------ buttons & links */
.button {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; background: var(--gold); color: var(--ink);
  font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--gold); position: relative; overflow: hidden;
  transition: background .3s, color .3s, transform .3s var(--ease); will-change: transform;
}
.button::before { content: ""; position: absolute; inset: 0; background: var(--gold-2); transform: translateY(101%); transition: transform .45s var(--ease); }
.button > * { position: relative; }
.button:hover::before { transform: none; }
.button-ghost { background: transparent; color: var(--gold-2); }
.button-ghost::before { background: var(--gold); }
.button-ghost:hover { color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-2); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid var(--line-2); transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 16px; border-color: var(--gold); }
.prose a, .contact-form a { color: var(--gold-2); border-bottom: 1px solid var(--line-2); }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(72px, 10vw, 150px) 0; position: relative; }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > p:last-child { color: var(--muted); max-width: 640px; margin-top: 22px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head-row > p { max-width: 460px; margin: 0; }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .kicker, .paper .gold { color: #8a6424; }
.paper .muted { color: #6f624c; }
.paper .lead { color: var(--paper-ink); }
.paper .link-arrow { color: #7b5718; border-color: rgba(35, 29, 20, .25); }
.paper .button { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.text-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

/* ------------------------------------------------------------ hero (home) */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header) + 40px) 0 40px; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; z-index: -1; }
.hero-inner { position: relative; }
.hero-kicker { opacity: 0; animation: rise .9s var(--ease) .2s forwards; }
.hero-title { display: flex; flex-direction: column; gap: clamp(10px, 2vw, 22px); }
.wall { display: flex; flex-direction: column; font: 500 clamp(44px, 10.5vw, 168px)/.86 var(--sans); text-transform: uppercase; letter-spacing: .14em; }
.wall-word { display: block; overflow: hidden; }
.wall-word { opacity: 0; transform: translateY(40%); filter: blur(10px); animation: wall 1.2s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .14s); }
@keyframes wall { to { opacity: 1; transform: none; filter: none; } }
.hero-sub { font: italic 300 clamp(30px, 4.6vw, 72px)/1.05 var(--serif); letter-spacing: -.01em; opacity: 0; animation: rise 1.2s var(--ease) .95s forwards, shimmer 7s linear infinite; }
.hero-lead { max-width: 560px; margin-top: clamp(22px, 3vw, 36px); color: #d9cfbb; font-size: clamp(17px, 1.4vw, 20px); opacity: 0; animation: rise 1s var(--ease) 1.2s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; opacity: 0; animation: rise 1s var(--ease) 1.35s forwards; }
.error-hero .hero-actions { opacity: 1; animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0 auto; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.hero-scroll { display: flex; align-items: center; gap: 12px; }
.hero-scroll i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: 50% 0; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------ page hero */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; padding: calc(var(--header) + 60px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.page-hero-tall { min-height: 92svh; }
.page-hero-plain { min-height: 58svh; }
.page-hero-media { position: absolute; inset: -8% 0 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out forwards; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 10, 7, .55) 0%, rgba(12, 10, 7, .25) 35%, rgba(12, 10, 7, .82) 78%, var(--ink) 100%), radial-gradient(ellipse at 20% 80%, rgba(12, 10, 7, .6), transparent 60%); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero-inner { position: relative; }
.page-hero-inner .display { opacity: 0; animation: rise 1.1s var(--ease) .15s forwards; }
.page-hero-inner .kicker { opacity: 0; animation: rise .9s var(--ease) .05s forwards; }
.page-hero-lead { max-width: 720px; margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); color: #e3d9c4; opacity: 0; animation: rise 1s var(--ease) .35s forwards; }
.page-hero-lead .mono { display: inline-block; margin-left: 8px; color: var(--gold); font-size: 11px; }

/* ------------------------------------------------------------ quotes */
.quote-band { padding: clamp(80px, 11vw, 160px) 0; text-align: center; }
.big-quote { max-width: 1100px; margin: 0 auto; }
.big-quote p { font: italic 300 clamp(28px, 4vw, 58px)/1.18 var(--serif); letter-spacing: -.01em; color: #f6eedd; }
.big-quote p::before { content: "«"; color: var(--gold); }
.big-quote p::after { content: "»"; color: var(--gold); }
.big-quote cite { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font: normal 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.big-quote cite::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.side-quote { border-left: 1px solid var(--gold); padding: 8px 0 8px clamp(20px, 3vw, 40px); }
.side-quote p { font: italic 300 clamp(22px, 2.2vw, 32px)/1.3 var(--serif); }
.side-quote cite { font: normal 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ------------------------------------------------------------ provinces */
.provinces { display: flex; height: min(78vh, 720px); gap: 2px; padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.province { position: relative; flex: 1; overflow: hidden; transition: flex .8s var(--ease); min-width: 0; }
.province img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.75) brightness(.7); }
.province::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 7, .9)); }
.province-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 8px; }
.province-body .mono { color: var(--gold); font-size: 11px; }
.province-body b { font: 300 clamp(28px, 3.4vw, 54px)/1 var(--serif); }
.province-theme { color: #ddd2bd; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease); white-space: nowrap; }
.province:hover, .province:focus-visible { flex: 2.6; }
.province:hover img, .province:focus-visible img { transform: scale(1); filter: none; }
.province:hover .province-theme, .province:focus-visible .province-theme { opacity: 1; transform: none; }

/* ------------------------------------------------------------ numbers */
.numbers-section { padding-top: 0; }
.numbers { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.number { padding: clamp(24px, 3vw, 44px) clamp(12px, 2vw, 28px); border-right: 1px solid var(--line); }
.number:last-child { border-right: 0; }
.number b { display: block; font: 300 clamp(44px, 5.4vw, 84px)/1 var(--serif); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.number span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts .number { border-bottom: 1px solid var(--line); }
.facts .number:nth-child(2n) { border-right: 0; }

/* ------------------------------------------------------------ chapters */
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.chapter { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .4s; transform-style: preserve-3d; }
.chapter:hover { border-color: var(--line-2); }
.chapter-media { aspect-ratio: 4 / 5; overflow: hidden; display: block; }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.8); }
.chapter:hover .chapter-media img { transform: scale(1.06); filter: none; }
.chapter-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 26px; position: relative; flex: 1; }
.chapter-body > span:not(.mono):not(.chapter-arrow) { color: var(--muted); font-size: 15px; line-height: 1.5; }
.chapter-arrow { margin-top: auto; padding-top: 12px; color: var(--gold); transition: transform .4s var(--ease); }
.chapter:hover .chapter-arrow { transform: translateX(8px); }

/* ------------------------------------------------------------ split */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { overflow: hidden; aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 115%; object-fit: cover; }

/* ------------------------------------------------------------ 3D book */
.book-band { overflow: hidden; }
.book-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.book3d-stage { perspective: 1600px; display: grid; place-items: center; padding: 30px 0; }
.book3d { --w: min(300px, 62vw); --h: calc(var(--w) * 1.34); --d: 46px; width: var(--w); height: var(--h); position: relative; transform-style: preserve-3d; transform: rotateY(calc(-28deg + var(--ry, 0deg))) rotateX(calc(6deg + var(--rx, 0deg))); transition: transform .9s var(--ease); }
.book3d > span { position: absolute; display: block; }
.book3d-front { inset: 0; transform: translateZ(calc(var(--d) / 2)); box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
.book3d-front img { width: 100%; height: 100%; object-fit: cover; }
.book3d-back { inset: 0; background: #1b160e; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.book3d-spine { top: 0; left: 0; width: var(--d); height: 100%; background: linear-gradient(90deg, #1a2b18, #24391f 50%, #182715); transform: rotateY(-90deg) translateZ(calc(var(--d) / 2)); display: grid; place-items: center; }
.book3d-spine span { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 9px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; }
.book3d-pages { top: 4px; left: 0; width: var(--d); height: calc(100% - 8px); background: repeating-linear-gradient(90deg, #efe6d2 0 1px, #d8ccb2 1px 2px); transform: rotateY(90deg) translateZ(calc(var(--w) - var(--d) / 2)); }

/* ------------------------------------------------------------ mini timeline */
.mini-timeline { border-top: 1px solid var(--line); }
.mini-timeline a { display: grid; grid-template-columns: 220px 1fr auto 24px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .4s; }
.mini-timeline a b { font: 400 clamp(20px, 1.8vw, 26px)/1.2 var(--serif); }
.mini-timeline a .icon { color: var(--gold); transition: transform .4s var(--ease); }
.mini-timeline a:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(212, 173, 91, .07), transparent); }
.mini-timeline a:hover .icon { transform: translateX(6px); }

/* ------------------------------------------------------------ project */
.theme-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.theme-cloud span { padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 999px; font: italic 300 clamp(20px, 1.8vw, 26px)/1 var(--serif); color: var(--gold-2); animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); }
@keyframes float { 50% { transform: translateY(-8px); } }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(140px, 16vw, 230px); gap: clamp(8px, 1vw, 14px); }
.mosaic-item { position: relative; overflow: hidden; }
.mosaic-item button, .mosaic-item img { width: 100%; height: 100%; display: block; }
.mosaic-item img { object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-1 { grid-column: span 4; grid-row: span 2; }
.mosaic-2 { grid-column: span 2; grid-row: span 2; }
.mosaic-3, .mosaic-4, .mosaic-5 { grid-column: span 2; grid-row: span 1; }
.mosaic-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(12, 10, 7, .92)); display: flex; flex-direction: column; gap: 4px; transform: translateY(30%); opacity: 0; transition: transform .6s var(--ease), opacity .5s; pointer-events: none; }
.mosaic-item figcaption b { font: 400 20px/1.2 var(--serif); }
.mosaic-item figcaption span { font-size: 14px; color: #d8cdb8; }
.mosaic-item:hover figcaption, .mosaic-item:focus-within figcaption { transform: none; opacity: 1; }
.strip { display: flex; gap: clamp(10px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-bottom: 8px; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip-item { flex: 0 0 clamp(260px, 38vw, 560px); scroll-snap-align: start; }
.strip-item button { display: block; width: 100%; overflow: hidden; aspect-ratio: 3 / 2; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.strip-item:hover img { transform: scale(1.04); }
.strip-item figcaption { margin-top: 12px; color: var(--muted); }
.film-feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.film-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.75); }
.film-thumb:hover img { transform: scale(1.04); filter: brightness(.9); }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; background: rgba(12, 10, 7, .6); border: 1px solid var(--gold); color: var(--gold-2); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, color .3s; }
.play-badge .icon { width: 26px; height: 26px; }
.film-thumb:hover .play-badge, .video-card:hover .play-badge { background: var(--gold); color: var(--ink); }
.books { display: grid; gap: clamp(56px, 7vw, 100px); }
.book { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; scroll-margin-top: calc(var(--header) + 30px); }
.book-cover { box-shadow: 0 30px 60px rgba(35, 29, 20, .35), 0 2px 0 rgba(0, 0, 0, .1); transform-style: preserve-3d; }
.book-cover img { width: 100%; }
.book-body .mono { color: #8a6424; margin-bottom: 10px; }
.book-body .h2 { margin-bottom: 20px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 22px 0 24px; font-size: 15px; }
.specs dt { font: 500 11px/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.paper .specs dt { color: #7b6c52; }

/* ------------------------------------------------------------ exhibition walk */
.walk { position: relative; height: var(--walk-h, 340vh); }
.walk-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 26px; overflow: hidden; }
.walk-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.walk-head .kicker { margin: 0; }
.walk-hint { color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.walk-track { display: flex; gap: clamp(16px, 2.4vw, 40px); padding: 0 var(--gutter); will-change: transform; perspective: 1400px; }
.walk-item { flex: 0 0 clamp(280px, 46vw, 760px); transform: rotateY(var(--ry, 0deg)) scale(var(--s, 1)); transition: transform .2s linear; transform-style: preserve-3d; }
.walk-item button { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.walk-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.walk-item figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; color: #d7ccb6; font: italic 300 19px/1.3 var(--serif); }
.walk-item figcaption .mono { color: var(--gold); font-style: normal; }
.walk-bar { margin: 0 var(--gutter); height: 1px; background: var(--line); }
.walk-bar i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--w, 0)); }
.walk.is-native { height: auto; }
.walk.is-native .walk-sticky { position: static; height: auto; padding: 60px 0; }
.walk.is-native .walk-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.walk.is-native .walk-track::-webkit-scrollbar { display: none; }
.walk.is-native .walk-item { scroll-snap-align: center; transform: none; }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.edition { padding: clamp(26px, 3vw, 44px); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(212, 173, 91, .07), transparent 50%), var(--ink-2); }
.edition-year { font: 200 clamp(64px, 8vw, 120px)/.9 var(--serif); color: var(--gold); margin-bottom: 18px; }
.edition .muted { margin: 6px 0 18px; }
.credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px clamp(24px, 3vw, 48px); margin-bottom: 48px; }
.credit h3 { margin-bottom: 14px; }
.credit li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.logos { display: block; width: 100%; max-width: 900px; margin: 0 auto; background: #fff; padding: clamp(10px, 2vw, 24px); }

/* ------------------------------------------------------------ film */
.film-hero-strip { position: absolute; inset: 0; z-index: -1; display: flex; gap: 2px; width: max-content; animation: film 60s linear infinite; opacity: .5; }
.film-hero-strip span { width: 34vw; max-width: 520px; height: 100%; overflow: hidden; position: relative; }
.film-hero-strip span::before, .film-hero-strip span::after { content: ""; position: absolute; left: 0; right: 0; height: 18px; z-index: 1; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 24px); opacity: .9; }
.film-hero-strip span::before { top: 10px; } .film-hero-strip span::after { bottom: 10px; }
.film-hero-strip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.55); }
@keyframes film { to { transform: translateX(-50%); } }
.page-film .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 10, 7, .5), rgba(12, 10, 7, .4) 40%, var(--ink)); }
.artist-index { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.artist-index a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.artist-index a .mono { color: var(--gold); grid-row: span 2; padding-top: 6px; }
.artist-index a b { font: 400 22px/1.2 var(--serif); }
.artist-index a span:last-child { color: var(--muted); font-size: 14px; }
.artist-index a:hover { padding-left: 10px; color: var(--gold-2); }
.artist { border-top: 1px solid var(--line); scroll-margin-top: var(--header); }
.artist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.artist-flip .artist-portrait { order: 2; }
.artist-portrait { position: sticky; top: calc(var(--header) + 24px); }
.artist-portrait button { display: block; overflow: hidden; width: 100%; aspect-ratio: 4 / 3; }
.artist-portrait img { width: 100%; height: 110%; object-fit: cover; transition: filter .8s; filter: saturate(.85); }
.artist-portrait button:hover img { filter: none; }
.artist-portrait figcaption { margin-top: 14px; color: var(--muted); }
.artist-film { display: flex; align-items: center; gap: 10px; font-style: italic; font-size: 22px; color: var(--gold-2); margin: 14px 0 26px; }
.artist-quote { border-left: 1px solid var(--gold); padding-left: 22px; margin-bottom: 28px; }
.artist-quote p { font: italic 300 clamp(22px, 2vw, 28px)/1.35 var(--serif); margin: 0; }
.artist-actions { margin-top: 26px; }
.more { margin-top: 8px; border-top: 1px solid var(--line); }
.more summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; padding: 16px 0; cursor: pointer; color: var(--gold-2); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.more summary::-webkit-details-marker { display: none; }
.more summary .icon { transition: transform .35s var(--ease); }
.more[open] summary .icon { transform: rotate(90deg); }
.more-body { overflow: hidden; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.video-card { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 6px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: transform 1s var(--ease), filter .5s; }
.video-card:hover .video-thumb img { transform: scale(1.05); filter: brightness(.9); }
.video-thumb .play-badge { padding: 10px; }
.video-card b { font: 400 20px/1.25 var(--serif); }
.video-card .muted { font-size: 14px; line-height: 1.5; }

/* ------------------------------------------------------------ routes atlas */
.atlas-section { padding-top: clamp(56px, 7vw, 100px); }
.atlas { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "tabs tabs" "map panel"; gap: clamp(24px, 3vw, 48px) clamp(28px, 4vw, 64px); }
.atlas-tabs { grid-area: tabs; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.atlas-tabs button { text-align: left; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); position: relative; transition: background .4s; }
.atlas-tabs button:last-child { border-right: 0; }
.atlas-tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.atlas-tabs button .mono { color: var(--c); }
.atlas-tabs button b { font: 400 clamp(17px, 1.6vw, 23px)/1.2 var(--serif); }
.atlas-tabs button[aria-selected="true"] { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, transparent), transparent); }
.atlas-tabs button[aria-selected="true"]::before { transform: none; }
.atlas-map { grid-area: map; position: relative; align-self: start; position: sticky; top: calc(var(--header) + 20px); }
.atlas-map svg { width: 100%; height: auto; overflow: visible; display: block; transform: perspective(1400px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s var(--ease); }
.map-grid line { stroke: rgba(212, 173, 91, .08); stroke-width: 1; }
.map-land { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(212, 173, 91, .45)); stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: draw 3.2s var(--ease) .2s forwards; }
.map-land-fill { stroke: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map-region { fill: rgba(236, 228, 211, .32); font: italic 300 26px var(--serif); text-anchor: middle; letter-spacing: .04em; }
.map-city rect { fill: var(--text); }
.map-city text { fill: var(--text); font: 500 15px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.map-route { opacity: 0; pointer-events: none; transition: opacity .5s; }
.map-route.is-active { opacity: 1; pointer-events: auto; }
.route-line { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.map-route.is-active .route-line { animation: line 2.4s var(--ease) .1s forwards; }
@keyframes line { to { stroke-dashoffset: 0; } }
.map-stop { cursor: pointer; outline: none; }
.map-stop .stop-halo { fill: var(--c); opacity: 0; transform: scale(.5); transform-box: fill-box; transform-origin: center; transition: opacity .3s, transform .4s var(--ease); }
.map-stop .stop-dot { fill: var(--ink); stroke: var(--c); stroke-width: 2.2; transition: fill .3s; }
.map-stop text { fill: var(--text); font: 600 13px var(--mono); text-anchor: middle; pointer-events: none; }
.map-route.is-active .map-stop { animation: pop .6s var(--ease) both; animation-delay: calc(.25s + var(--d) * .12s); }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
.map-stop:hover .stop-halo, .map-stop.is-hot .stop-halo, .map-stop:focus-visible .stop-halo { opacity: .35; transform: scale(1); }
.map-stop:hover .stop-dot, .map-stop.is-hot .stop-dot { fill: var(--c); }
.map-stop.is-hot text, .map-stop:hover text { fill: var(--ink); }
.map-tip { position: absolute; z-index: 3; max-width: 300px; padding: 14px 16px; background: rgba(20, 17, 12, .95); border: 1px solid var(--line-2); pointer-events: none; transform: translate(-50%, calc(-100% - 22px)); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.map-tip b { display: block; font: 400 18px/1.2 var(--serif); color: var(--gold-2); margin-bottom: 6px; }
.map-tip span { display: block; font-size: 13px; line-height: 1.45; color: #d6cbb5; }
.atlas-panels { grid-area: panel; }
.atlas-panel .kicker { color: var(--c); }
.atlas-panel .h2 { margin-bottom: 20px; }
.atlas-panel .lead { font-size: 18px; }
.stops { counter-reset: s; margin: 18px 0 30px; border-top: 1px solid var(--line); }
.stops li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); cursor: default; transition: background .3s, padding .3s var(--ease); outline: none; }
.stops li.is-hot, .stops li:focus-visible { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), transparent); padding-left: 8px; }
.stop-n { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--c); display: grid; place-items: center; font: 600 12px/1 var(--mono); color: var(--text); }
.stops b { display: block; font: 400 18px/1.25 var(--serif); }
.stops small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 4px; }
.postcards { position: relative; min-height: 440px; }
.postcard { position: absolute; width: min(62%, 320px); background: var(--paper); padding: 10px 10px 40px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); transform: rotate(calc((var(--i) - 1.5) * 7deg)) translate(calc(var(--i) * 18%), calc(var(--i) * 26%)); transition: transform .6s var(--ease); }
.postcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.postcard b { position: absolute; left: 14px; bottom: 10px; font: italic 400 18px/1 var(--serif); color: var(--paper-ink); }
.postcard::after { content: ""; position: absolute; right: 12px; bottom: 10px; width: 22px; height: 26px; border: 1px dashed var(--c); }
.postcards:hover .postcard { transform: rotate(calc((var(--i) - 1.5) * 10deg)) translate(calc(var(--i) * 24%), calc(var(--i) * 22%)); }

/* ------------------------------------------------------------ events */
.timeline { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--line-2) 8%, var(--line-2) 92%, transparent); }
.timeline-item { width: 50%; padding-right: clamp(24px, 4vw, 64px); position: relative; }
.timeline-item::after { content: ""; position: absolute; top: 36px; right: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 173, 91, .18), 0 0 18px var(--gold); }
.timeline-item.is-right { margin-left: 50%; padding: 0 0 0 clamp(24px, 4vw, 64px); }
.timeline-item.is-right::after { right: auto; left: -5px; }
.timeline-card { display: grid; grid-template-columns: 40% 1fr; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s; }
.timeline-card:hover { border-color: var(--line-2); }
.timeline-media { overflow: hidden; display: block; }
.timeline-media img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; transition: transform 1.2s var(--ease); }
.timeline-card:hover .timeline-media img { transform: scale(1.06); }
.timeline-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.timeline-body .mono { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.timeline-body .muted { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.timeline-body > span:not(.mono):not(.muted):not(.link-arrow) { font-size: 15px; color: #d0c6b1; line-height: 1.5; }
.timeline-body .link-arrow { align-self: flex-start; margin-top: auto; }
.event-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 86svh; align-items: end; padding-top: var(--header); }
.event-media { height: 100%; overflow: hidden; }
.event-media button, .event-media img { width: 100%; height: 100%; display: block; }
.event-media img { object-fit: cover; max-height: 86svh; }
.event-head { padding: clamp(28px, 5vw, 80px) var(--gutter) clamp(28px, 5vw, 80px) clamp(28px, 5vw, 80px); }
.event-head .h1 { margin-bottom: 20px; }
.event-head .muted { display: flex; align-items: center; gap: 8px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 40px; transition: color .3s, gap .3s var(--ease); }
.back:hover { color: var(--gold-2); gap: 12px; }
.event-body { max-width: 860px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 70px); }
.event-body .lead { margin-bottom: 30px; }
.downloads { display: grid; gap: 10px; margin-top: 30px; }
.download { display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.download:hover { border-color: var(--gold); background: rgba(212, 173, 91, .06); }
.download .icon { color: var(--gold); }
.download b { font-weight: 500; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: clamp(72px, 9vw, 130px); }
.pager a { display: flex; flex-direction: column; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); transition: border-color .3s; }
.pager a:hover { border-color: var(--gold); }
.pager a .mono { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }
.pager a b { font: 400 22px/1.25 var(--serif); }
.pager-next { text-align: right; align-items: flex-end; }

/* ------------------------------------------------------------ press */
.press-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.press-list { border-top: 1px solid var(--line); }
.press-list a, .press-list div { display: grid; grid-template-columns: 60px 1fr 24px; gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .4s var(--ease); }
.press-list .mono:nth-child(2) { grid-column: 2; color: var(--muted); font-size: 11px; }
.press-list .mono:first-child { grid-row: span 2; }
.press-list b { grid-column: 2; font: 400 21px/1.3 var(--serif); }
.press-list .icon { grid-column: 3; grid-row: 1 / span 2; color: var(--gold); align-self: center; }
.press-list a:hover { padding-left: 10px; }
.magazine { position: sticky; top: calc(var(--header) + 24px); }
.magazine button { display: block; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.magazine figcaption { margin-top: 14px; color: var(--muted); }
.kit { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.kit-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; background: #fbf6ea; border: 1px solid rgba(35, 29, 20, .12); min-height: 260px; transition: box-shadow .4s, transform .4s var(--ease); }
.kit-card:hover { box-shadow: 0 24px 50px rgba(35, 29, 20, .18); }
.kit-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-ink); color: var(--gold-2); }
.kit-card span:not(.kit-icon):not(.mono) { color: #5d523f; font-size: 15px; line-height: 1.5; }
.kit-card .mono { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; color: #7b5718; }
.docs { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.doc { display: flex; flex-direction: column; gap: 8px; }
.doc-thumb { aspect-ratio: 3 / 4; overflow: hidden; background: #fff; margin-bottom: 8px; display: block; border: 1px solid var(--line); }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.doc:hover .doc-thumb img { transform: scale(1.05); }
.doc .mono { color: var(--gold); font-size: 10px; }
.doc b { font: 400 17px/1.3 var(--serif); }

/* ------------------------------------------------------------ author */
.author-hero { padding-top: calc(var(--header) + clamp(40px, 6vw, 90px)); }
.author-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.author-portrait { position: relative; }
.author-portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.author-portrait img { width: 100%; filter: grayscale(.2); }
.author-grid .display { font-size: clamp(48px, 7vw, 108px); margin-bottom: 12px; }
.author-grid .lead { margin: 26px 0 32px; }
.chapters-text { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 5vw, 72px) clamp(32px, 6vw, 100px); }
.chapters-text .h3 { margin: 10px 0 18px; }
.chapters-text p:not(.mono) { color: #d4cab5; }
.years { display: flex; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); cursor: grab; }
.years::-webkit-scrollbar { display: none; }
.years li { flex: 0 0 clamp(200px, 22vw, 280px); padding: 28px 28px 10px 0; position: relative; }
.years li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); }
.years b { display: block; font: 300 52px/1 var(--serif); color: var(--gold-2); margin-bottom: 12px; }
.years span { color: #cfc5af; font-size: 15px; line-height: 1.5; }
.marquee-section { padding-top: 0; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 20px; }
.marquee-track { display: flex; width: max-content; animation: film 50s linear infinite; }
.marquee-track span { padding: 26px 34px; font: italic 300 clamp(26px, 3vw, 42px)/1 var(--serif); color: #cfc3aa; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-size: 14px; color: var(--gold); margin-left: 68px; vertical-align: middle; font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 24px 1fr; gap: 4px 16px; padding: 22px 24px; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .3s, transform .4s var(--ease); }
.contact-card .icon { grid-row: span 2; color: var(--gold); margin-top: 2px; }
.contact-card .mono { color: var(--muted); font-size: 11px; }
.contact-card b { font: 400 21px/1.3 var(--serif); word-break: break-word; }
.contact-card:hover { border-color: var(--gold); transform: translateX(6px); }
.contact-form { display: grid; gap: 22px; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(212, 173, 91, .06), transparent 40%), var(--ink-2); }
.field { display: grid; gap: 8px; }
.field label { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: 400 17px/1.5 var(--sans); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0; border-radius: 0; transition: border-color .3s; }
.field select { appearance: none; -webkit-appearance: none; background: linear-gradient(45deg, transparent 50%, var(--gold) 50%) right 6px center / 7px 7px no-repeat; }
.field select option { background: var(--ink-2); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field-check label { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font: 400 15px/1.5 var(--sans); color: #d2c8b3; }
.field-check input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 3px; flex: none; }
.field-error { color: #e98a7c; font-size: 13px; min-height: 0; }
.field.has-error input, .field.has-error textarea { border-color: #e98a7c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .button { justify-self: start; }
.contact-form.is-sending .button { opacity: .6; pointer-events: none; }
.form-status { margin: 0; min-height: 1.5em; font-size: 15px; }
.form-status.is-ok { color: var(--gold-2); }
.form-status.is-error { color: #e98a7c; }
.prose { max-width: 820px; }
.prose .h3 { margin: 36px 0 12px; color: var(--gold-2); }
.prose .h3:first-child { margin-top: 0; }
.prose p { color: #d4cab5; }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 130px) 0 34px; background: linear-gradient(180deg, transparent, rgba(125, 36, 36, .12)); }
.footer-wall { text-align: center; margin-bottom: clamp(56px, 7vw, 96px); }
.wall-title { display: flex; flex-direction: column; font: 500 clamp(36px, 7.5vw, 112px)/.9 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin: 0 0 18px; padding-left: .3em; }
.wall-title span:nth-child(2) { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.wall-sub { font: italic 300 clamp(24px, 3vw, 40px)/1 var(--serif); color: var(--gold-2); margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-grid h2 { color: var(--gold); margin-bottom: 18px; }
.footer-grid p { color: #cfc5af; max-width: 420px; }
.footer-grid nav { display: flex; flex-direction: column; }
.footer-grid nav a, .footer-grid > div > a { display: block; padding: 5px 0; color: #ddd3bf; transition: color .25s; }
.footer-grid nav a:hover, .footer-grid > div > a:hover { color: var(--gold-2); }
.footer-grid .link-arrow { display: inline-flex; }
.social { display: flex; gap: 18px; margin-top: 14px; }
.social a { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font: 500 11px/1.5 var(--mono); letter-spacing: .08em; color: var(--muted); }
.footer-base a:hover { color: var(--gold-2); }

/* ------------------------------------------------------------ overlays */
.lightbox, .modal { position: fixed; inset: 0; z-index: 70; background: rgba(8, 7, 5, .96); display: grid; place-items: center; opacity: 0; transition: opacity .35s; }
.lightbox.is-open, .modal.is-open { opacity: 1; }
.lightbox-stage { max-width: 92vw; max-height: 88svh; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox-stage img { max-width: 92vw; max-height: 78svh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transition: opacity .3s, transform .45s var(--ease); }
.lightbox-stage img.is-swapping { opacity: 0; transform: scale(.98); }
.lightbox-stage figcaption { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; justify-content: center; text-align: center; padding: 0 60px; }
.lightbox-stage figcaption b { font: 400 22px/1.2 var(--serif); color: var(--gold-2); }
.lightbox-stage figcaption span { color: #d3c8b2; }
.lightbox-stage figcaption em { font: normal 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.lightbox-prev, .lightbox-next, .overlay-close { position: absolute; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold-2); transition: background .3s, color .3s; }
.lightbox-prev:hover, .lightbox-next:hover, .overlay-close:hover { background: var(--gold); color: var(--ink); }
.lightbox-prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--gutter); top: 50%; transform: translateY(-50%); }
.overlay-close { top: 18px; right: var(--gutter); }
.modal-frame { width: min(1200px, 92vw); }
.modal-ratio { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-title { margin-top: 16px; font: 400 20px/1.3 var(--serif); color: var(--gold-2); text-align: center; }
body.has-overlay { overflow: hidden; }

/* ------------------------------------------------------------ motion */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.parallax img { transform: translate3d(0, var(--py, 0px), 0); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .number:nth-child(3) { border-right: 0; }
  .number:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .kit { grid-template-columns: repeat(2, 1fr); }
  .docs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header: 64px; }
  .text-grid, .split-grid, .book-grid, .film-feature, .press-grid, .contact-grid, .author-grid, .artist-grid, .editions, .chapters-text { grid-template-columns: minmax(0, 1fr); }
  .artist-flip .artist-portrait { order: 0; }
  .artist-portrait, .magazine, .atlas-map { position: relative; top: 0; }
  .atlas { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tabs" "map" "panel"; }
  .atlas-tabs { grid-template-columns: repeat(2, 1fr); }
  .atlas-tabs button:nth-child(2) { border-right: 0; }
  .atlas-tabs button:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .provinces { flex-direction: column; height: auto; }
  .province { flex: none; height: 34vh; min-height: 220px; }
  .province:hover, .province:focus-visible { flex: none; }
  .province-theme { opacity: 1; transform: none; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .book-cover { max-width: 300px; }
  .timeline::before { left: 6px; }
  .timeline-item, .timeline-item.is-right { width: auto; margin: 0; padding: 0 0 0 32px; }
  .timeline-item::after, .timeline-item.is-right::after { left: 1px; right: auto; }
  .event-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .event-media img { max-height: 60svh; }
  .mini-timeline a { grid-template-columns: 1fr 24px; gap: 6px 16px; }
  .mini-timeline a > .mono, .mini-timeline a > b, .mini-timeline a > .muted { grid-column: 1; }
  .mini-timeline a .icon { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .postcards { min-height: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-text { display: none; }
  .wall { letter-spacing: .08em; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .number { border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); }
  .number:nth-child(2n) { border-right: 0 !important; }
  .number:nth-child(-n + 2) { border-top: 0; }
  .chapters, .video-grid, .kit { grid-template-columns: minmax(0, 1fr); }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .mosaic-1 { grid-column: span 2; grid-row: span 1; }
  .mosaic-2, .mosaic-3, .mosaic-4, .mosaic-5 { grid-column: span 1; }
  .mosaic-5 { grid-column: span 2; }
  .mosaic-item figcaption { transform: none; opacity: 1; padding: 30px 12px 10px; }
  .mosaic-item figcaption span { display: none; }
  .timeline-card { grid-template-columns: minmax(0, 1fr); }
  .timeline-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager-next { text-align: left; align-items: flex-start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid > div:first-child { grid-column: auto; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; transform: none; }
  .lightbox-stage figcaption { padding: 0 8px 70px; }
  .wall-title { letter-spacing: .18em; padding-left: .18em; }
  .hero-meta span:first-child, .hero-meta span:last-child { display: none; }
  .hero-meta { justify-content: center; }
  .specs { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .specs dd { margin-bottom: 10px; }
}
@media (max-height: 820px) {
  .hero-meta { display: none; }
}
@media (pointer: coarse) {
  .cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
  .map-land { stroke-dashoffset: 0; }
}
