:root {
  --paper: #f4f0e7;
  --paper-2: #ebe5d8;
  --ink: #14161b;
  --ink-2: #1d2027;
  --muted: #6c6a62;
  --line: rgba(20, 22, 27, .13);
  --line-light: rgba(244, 240, 231, .16);
  --accent: #e4472b;
  --accent-ink: #b83219;
  --gold: #e9b44c;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --pad: clamp(16px, 4vw, 56px);
  --top-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: .98; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 6vw, 76px); }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
svg { width: 1em; height: 1em; flex: none; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); color: var(--paper); transition: background .35s, color .35s, box-shadow .35s, backdrop-filter .35s; }
.top.solid { background: rgba(244, 240, 231, .82); color: var(--ink); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 26px; height: 26px; transition: transform .6s var(--spring); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-mark i { background: currentColor; border-radius: 2px; }
.brand-mark i:nth-child(2) { background: var(--accent); }
.brand-mark i:nth-child(3) { opacity: .45; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font: 700 15px var(--display); letter-spacing: -.02em; }
.brand-text em { font: italic 400 15px var(--serif); opacity: .8; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 8px 12px; font-size: 14px; font-weight: 500; text-decoration: none; opacity: .82; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }

.ask-btn { position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 13px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 6px 20px -8px rgba(228, 71, 43, .8); transition: transform .25s var(--spring), box-shadow .25s; }
.ask-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(228, 71, 43, .9); }
.ask-btn:active { transform: scale(.97); }
.ask-btn > svg:first-child { fill: currentColor; font-size: 17px; animation: twinkle 3.2s ease-in-out infinite; }
.ask-btn .chev { font-size: 15px; transition: transform .35s var(--spring); }
.ask-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(12deg); } }

/* ---------- Chat dropdown ---------- */
.chat { position: absolute; top: calc(var(--top-h) - 6px); right: var(--pad); width: min(440px, calc(100vw - 24px)); height: min(640px, calc(100dvh - var(--top-h) - 18px)); display: flex; flex-direction: column; background: #fffdf8; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(20, 22, 27, .45), 0 2px 0 rgba(255, 255, 255, .7) inset; overflow: hidden; transform-origin: calc(100% - 90px) 0; animation: drop .42s var(--spring) both; }
.chat.closing { animation: undrop .2s ease-in both; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes undrop { to { opacity: 0; transform: translateY(-10px) scale(.95); } }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 12px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fffdf8); }
.chat-head strong { display: block; font: 700 17px var(--display); letter-spacing: -.02em; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #b9b5aa; }
.chat-status.live i { background: #23a55a; box-shadow: 0 0 0 0 rgba(35, 165, 90, .5); animation: pulse 2s infinite; }
.chat-status.basic i { background: var(--gold); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(35, 165, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 165, 90, 0); } }
.chat-head-actions { display: flex; gap: 2px; }
.chat-head-actions button { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; color: var(--muted); transition: background .2s, color .2s; }
.chat-head-actions button:hover { background: var(--paper); color: var(--ink); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 16px 6px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 88%; animation: msg .35s var(--ease) both; }
@keyframes msg { from { opacity: 0; transform: translateY(8px); } }
.msg.user { align-self: flex-end; background: var(--ink); color: var(--paper); padding: 9px 14px; border-radius: 18px 18px 4px 18px; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; max-width: 96%; }
.msg.bot .bubble { background: var(--paper); padding: 11px 14px; border-radius: 18px 18px 18px 4px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.bubble p { margin: 0 0 8px; }
.bubble p:last-child, .bubble ul:last-child, .bubble ol:last-child { margin-bottom: 0; }
.bubble ul, .bubble ol { margin: 0 0 8px; padding-left: 20px; }
.bubble li { margin: 2px 0; }
.bubble a { color: var(--accent-ink); font-weight: 500; }
.bubble.thinking { display: inline-flex; gap: 5px; padding: 14px 16px; }
.bubble.thinking i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.1s infinite ease-in-out; }
.bubble.thinking i:nth-child(2) { animation-delay: .15s; }
.bubble.thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-5px); opacity: 1; } }
.cards { display: grid; gap: 7px; margin-top: 8px; }
.mini { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 11px; padding: 6px 10px 6px 6px; text-align: left; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; animation: msg .4s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.mini:hover { transform: translateX(3px); border-color: var(--accent); box-shadow: 0 8px 20px -12px rgba(20, 22, 27, .4); }
.mini img { width: 62px; height: 48px; object-fit: cover; border-radius: 9px; background: var(--paper-2); }
.mini b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.mini small { color: var(--muted); font-size: 12px; }
.mini svg { color: var(--accent); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }
.chip.go { border-color: var(--accent); color: var(--accent-ink); }
.chip.go:hover { background: var(--accent); color: #fff; }
.chat-suggest { display: flex; gap: 6px; padding: 6px 16px 10px; overflow-x: auto; scrollbar-width: none; }
.chat-suggest::-webkit-scrollbar { display: none; }
.chat-suggest .chip { white-space: nowrap; flex: none; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px 12px; padding: 6px 6px 6px 14px; background: var(--paper); border: 1.5px solid transparent; border-radius: 18px; transition: border-color .2s, background .2s; }
.chat-form:focus-within { border-color: var(--ink); background: #fff; }
.chat-form textarea { flex: 1; resize: none; border: 0; outline: 0; background: none; padding: 8px 0; max-height: 110px; font-size: 14.5px; line-height: 1.4; }
.chat-form button { width: 38px; height: 38px; border-radius: 13px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 18px; transition: background .2s, transform .2s var(--spring); }
.chat-form button:hover { background: var(--accent); transform: scale(1.06); }
.chat-form button:disabled { opacity: .35; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: var(--paper); overflow: hidden; padding: calc(var(--top-h) + 40px) var(--pad) 0; }
.hero-wall { position: absolute; inset: -12% -4% -12% 44%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(7deg); opacity: 0; animation: wall-in 1.6s .2s var(--ease) forwards; }
@keyframes wall-in { from { opacity: 0; transform: rotate(7deg) translateY(60px) scale(1.06); } to { opacity: 1; transform: rotate(7deg); } }
.wall-col { display: flex; flex-direction: column; gap: 14px; animation: drift var(--t, 60s) linear infinite; will-change: transform; }
.wall-col:nth-child(2) { animation-direction: reverse; }
.wall-col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--ink-2); }
.wall-col img:nth-child(3n) { aspect-ratio: 3 / 4; }
@keyframes drift { to { transform: translateY(calc(-50% - 7px)); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 30%, rgba(20, 22, 27, .82) 52%, rgba(20, 22, 27, .25) 100%), linear-gradient(0deg, var(--ink) 4%, transparent 38%); pointer-events: none; }
.hero-copy { position: relative; max-width: 780px; padding-bottom: clamp(32px, 6vh, 72px); }
.eyebrow, .kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.eyebrow { color: var(--gold); }
.kicker { color: var(--accent); }
h1 { font-size: clamp(46px, min(8.6vw, 14.5vh), 128px); font-weight: 800; }
h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1 .line > span { display: inline-block; }
.rise { opacity: 0; transform: translateY(110%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
p.rise, div.rise { transform: translateY(24px); }
@keyframes rise { to { opacity: 1; transform: none; } }
.lede { max-width: 520px; margin: 26px 0 30px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(244, 240, 231, .78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .25s var(--spring), background .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--accent); color: #fff; box-shadow: 0 12px 30px -12px rgba(228, 71, 43, .9); }
.btn-solid:hover { background: #f05535; }
.btn-ghost { border: 1.5px solid var(--line-light); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-line { border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 calc(var(--pad) * -1); border-top: 1px solid var(--line-light); background: rgba(20, 22, 27, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stats div { padding: 20px var(--pad) 22px; border-left: 1px solid var(--line-light); }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 240, 231, .55); }
.stats dd { margin: 4px 0 0; font: 700 clamp(26px, 3.6vw, 48px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--accent); color: #fff; padding: 13px 0; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: slide 70s linear infinite; }
.ticker-track span { font: 600 15px var(--display); letter-spacing: -.01em; padding: 0 22px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; margin-left: 44px; opacity: .7; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Blocks ---------- */
.block { padding: clamp(64px, 10vw, 130px) var(--pad); }
.block-dark { background: var(--ink); color: var(--paper); }
.block-head { position: relative; margin-bottom: clamp(28px, 4vw, 52px); }
.block-sub { max-width: 520px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.block-dark .block-sub { color: rgba(244, 240, 231, .65); }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Latest rail ---------- */
.rail-nav { position: absolute; right: 0; bottom: 4px; display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 19px; transition: background .2s, color .2s, transform .2s var(--spring); }
.rail-nav button:hover { background: var(--ink); color: var(--paper); transform: scale(1.06); }
.rail { display: flex; gap: 18px; margin: 0 calc(var(--pad) * -1); padding: 6px var(--pad) 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: none; width: min(78vw, 420px); scroll-snap-align: start; }
.rail .card .cover { aspect-ratio: 4 / 5; }

/* ---------- Cards ---------- */
.card { display: block; text-align: left; width: 100%; }
.cover { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.card:hover .cover img { transform: scale(1.07); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 27, .55), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover .cover::after { opacity: 1; }
.count { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: rgba(20, 22, 27, .72); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.open-tag { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 19px; transform: translateY(16px) scale(.6); opacity: 0; transition: transform .45s var(--spring), opacity .3s; }
.card:hover .open-tag { transform: none; opacity: 1; }
.card-meta { display: flex; gap: 8px; align-items: center; margin: 14px 2px 5px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.card h3 { margin: 0 2px; font-size: 21px; line-height: 1.12; letter-spacing: -.025em; font-weight: 650; transition: color .25s; }
.card:hover h3 { color: var(--accent-ink); }

/* ---------- Fairs ---------- */
.fair-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1px; padding: 1px; border-radius: 22px; overflow: hidden; }
.fair { box-shadow: 0 0 0 1px var(--line-light); position: relative; display: flex; flex-direction: column; text-align: left; min-height: 250px; padding: 24px; background: var(--ink); overflow: hidden; isolation: isolate; }
.fair::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--img) center / cover; opacity: 0; transform: scale(1.12); transition: opacity .6s, transform 1.2s var(--ease); }
.fair::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 27, .55), rgba(20, 22, 27, .9)); opacity: 0; transition: opacity .6s; }
.fair:hover::before { opacity: 1; transform: none; }
.fair:hover::after { opacity: 1; }
.fair-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 231, .55); }
.fair-top b { color: var(--gold); font-weight: 600; text-align: right; }
.fair-top span { white-space: nowrap; }
.fair h3 { margin: 16px 0 10px; font-size: clamp(25px, 2.4vw, 32px); }
.fair p { margin: 0; font-size: 14px; color: rgba(244, 240, 231, .66); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fair-foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: rgba(244, 240, 231, .8); }
.fair-foot span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--paper); font-weight: 600; transition: gap .3s var(--ease), color .3s; }
.fair:hover .fair-foot span:last-child { gap: 12px; color: var(--gold); }

/* ---------- Archive ---------- */
.filters { position: sticky; top: calc(var(--top-h) + 8px); z-index: 20; display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: rgba(255, 253, 248, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 34px -22px rgba(20, 22, 27, .5); }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 13px; background: var(--paper); font-size: 18px; color: var(--muted); transition: box-shadow .2s, background .2s; }
.search:focus-within { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); }
.filters select { height: 46px; padding: 0 34px 0 14px; border-radius: 13px; border: 0; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2314161b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; -webkit-appearance: none; font-size: 14px; font-weight: 500; max-width: 230px; cursor: pointer; }
.filters select.set { background-color: var(--ink); color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23f4f0e7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.clear { height: 46px; padding: 0 16px; border-radius: 13px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.clear:hover { background: var(--paper); }
.result-count { margin: 20px 2px 18px; color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 34px 22px; }
.grid .card { animation: card-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: 20px; color: var(--muted); }
.empty b { display: block; font: 700 24px var(--display); color: var(--ink); margin-bottom: 6px; }
.more-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 0 var(--pad); }
.newsletter-in { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px); border-radius: 28px; background: var(--accent); color: #fff; }
.newsletter-in::before { content: ""; position: absolute; right: -8%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 90px solid rgba(255, 255, 255, .1); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) translateX(20px); } }
.newsletter-in .kicker { color: #fff; opacity: .8; }
.newsletter-in h2 em { color: var(--ink); }
.newsletter-in p:not(.kicker) { max-width: 440px; margin: 18px 0 28px; font-size: 17px; opacity: .92; }
.newsletter-in .btn { position: relative; background: var(--ink); color: var(--paper); box-shadow: none; }
.newsletter-in .btn:hover { background: #fff; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.office { padding: 28px; border-radius: 22px; background: #fffdf8; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.office:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20, 22, 27, .5); }
.office h3 { font-size: 26px; margin-bottom: 14px; }
.office address { font-style: normal; color: var(--muted); margin-bottom: 16px; }
.office a { display: block; width: fit-content; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); margin-top: 4px; transition: color .2s, border-color .2s; }
.office a:hover { color: var(--accent-ink); border-color: var(--accent); }
.office.desks { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.desk { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 13px 0; border-top: 1px solid var(--line-light); }
.desk:first-of-type { border-top: 0; padding-top: 0; }
.desk b { display: block; font-weight: 600; }
.desk small { color: rgba(244, 240, 231, .55); }
.office.desks a { border-color: var(--line-light); color: var(--gold); margin: 0; }
.office.desks a:hover { color: #fff; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 40px var(--pad) 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot b { font: 700 17px var(--display); color: var(--ink); }
.foot p { max-width: 380px; margin: 6px 0 0; }
.foot-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.foot-links a { text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--accent-ink); }

/* ---------- Gallery sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--paper); animation: sheet-in .55s var(--ease) both; }
.sheet.closing { animation: sheet-out .3s ease-in both; }
@keyframes sheet-in { from { transform: translateY(6%); opacity: 0; clip-path: inset(18% 6% 0 6% round 28px); } to { clip-path: inset(0 round 0); } }
@keyframes sheet-out { to { transform: translateY(5%); opacity: 0; } }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; height: 60px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.sheet-back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 8px; border-radius: 999px; transition: background .2s; }
.sheet-back svg { font-size: 18px; transition: transform .3s var(--ease); }
.sheet-back:hover { background: var(--paper-2); }
.sheet-back:hover svg { transform: translateX(-3px); }
.sheet-bar a { text-decoration: none; color: var(--muted); }
.sheet-bar a:hover { color: var(--accent-ink); }
.sheet-scroll { flex: 1; overflow-y: auto; padding: clamp(28px, 5vw, 64px) var(--pad) 80px; }
.sheet-head { max-width: 900px; margin-bottom: clamp(24px, 4vw, 48px); }
.sheet-head h2 { font-size: clamp(32px, 5.4vw, 68px); }
.sheet-text { max-width: 640px; margin: 20px 0 0; font-size: 17px; color: var(--muted); }
.masonry { columns: 4 260px; column-gap: 12px; }
.shot { position: relative; display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; border-radius: 12px; overflow: hidden; background: var(--paper-2); cursor: zoom-in; animation: card-in .6s var(--ease) both; animation-delay: calc(min(var(--i), 16) * 35ms); }
.shot img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s; }
.shot:hover img { transform: scale(1.045); filter: brightness(1.06); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; font-size: 12.5px; color: #fff; background: linear-gradient(0deg, rgba(20, 22, 27, .8), transparent); text-align: left; }
.sheet-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 56px; }
.sheet-next button { text-align: left; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.sheet-next button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sheet-next small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.sheet-next b { font: 650 19px/1.15 var(--display); letter-spacing: -.02em; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; background: rgba(12, 13, 16, .96); animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; height: 100dvh; padding: 56px 0 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; border-radius: 8px; animation: zoom .4s var(--ease) both; }
@keyframes zoom { from { opacity: 0; transform: scale(.94); } }
.lightbox figcaption { color: rgba(244, 240, 231, .7); font-size: 13.5px; text-align: center; min-height: 20px; font-variant-numeric: tabular-nums; }
.lb-arrow, .lb-close { width: 48px; height: 48px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .09); display: grid; place-items: center; font-size: 21px; justify-self: center; transition: background .2s, transform .2s var(--spring); }
.lb-arrow:hover, .lb-close:hover { background: var(--accent); transform: scale(1.08); }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-wall { inset: -10% -30% -10% 20%; }
  .hero-shade { background: linear-gradient(90deg, var(--ink) 8%, rgba(20, 22, 27, .7) 60%, rgba(20, 22, 27, .45)), linear-gradient(0deg, var(--ink) 10%, transparent 50%); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .rail-nav { display: none; }
  .filters { position: static; }
  .filters select { flex: 1 1 30%; max-width: none; min-width: 0; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-arrow { position: absolute; bottom: 10px; z-index: 2; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lightbox figure { padding: 60px 10px 70px; }
  .lightbox img { max-height: calc(100dvh - 170px); }
  .foot-links { align-items: flex-start; }
}
@media (max-width: 520px) {
  .ask-btn span { display: none; }
  .ask-btn { padding: 0 10px 0 12px; }
  .chat { right: 12px; }
  .masonry { columns: 2 140px; column-gap: 8px; }
  .shot { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .rise { opacity: 1; transform: none; }
}
