/* The site theme, taken from the Landfall home (/home): black space, warm ink, one gold accent, the self-hosted faces
   (Boldonse for the H, Italiana for display, Jura for numbers and the small caps, Work Sans for text), the header and
   footer every page shares, and a few page parts. Load after base.css (which holds the @font-face rules and the
   fixed 3D stage). Pages with a 3D stage put their scene in #canvas-container; pages without one add <div class="sky">
   for a still starfield. Shared nav and footer markup: docs/chrome-snippet.html. */
:root {
  --ink: #ECE8E1; --muted: #9A9DA4; --faint: #6B6E75; --gold: #E9B949; --gold-hi: #F4CB6A;
  --line: rgba(236, 232, 225, .18); --line-soft: rgba(236, 232, 225, .09);
  --glass: rgba(12, 12, 16, .62); --glass-hi: rgba(22, 22, 28, .78);
  --ease-out: cubic-bezier(.2, .9, .3, 1); --ease-pop: cubic-bezier(.2, .9, .3, 1.2);
  --gutter: max(16px, 6vw);
}
body { color: var(--ink); font: 400 17px/1.62 "Work Sans", system-ui, sans-serif; }
::selection { background: rgba(233, 185, 73, .35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── header ── */
/* header.top: base.css sets header.top { position: relative } for the stacking over the 3D stage; the header stays fixed */
header.top, .top { position: fixed; inset: 0 0 auto; height: 72px; display: flex; align-items: center; gap: 30px; padding: 0 max(16px, 4vw); z-index: 6;
  background: linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); }
/* once the page scrolls, the header gets a dark glass backdrop so words never run under the logo and links */
header.top { transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
header.top.scrolled { background: rgba(4, 4, 6, .82); border-bottom-color: var(--line-soft); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.logo { display: flex; align-items: baseline; text-decoration: none; line-height: 1; color: var(--ink); }
.logo .H { font: 400 22px/1 Boldonse; }
.logo .i { font: 400 25px/1 Italiana; margin: 0 1px 0 2px; position: relative; }
.logo .i::after { content: ""; position: absolute; left: 50%; top: -1px; width: 8px; height: 4px; border: 1.4px solid var(--gold); border-radius: 50%; transform: translateX(-50%) rotate(-12deg); }
.logo .man { font: 300 12px/1 Jura; letter-spacing: .34em; text-transform: uppercase; margin-left: 6px; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.nav-mint { color: var(--gold); }
.nav a.nav-mint:hover, .nav a.nav-mint[aria-current="page"] { color: var(--gold-hi); }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .panel { display: grid; }
.panel { display: none; position: fixed; top: 72px; left: 16px; right: 16px; gap: 2px; padding: 12px; border-radius: 18px; background: rgba(12, 12, 14, .94); border: 1px solid var(--line); }
.panel a { padding: 14px 12px; text-decoration: none; font-size: 18px; border-radius: 10px; }
.panel a:hover { background: rgba(255, 255, 255, .06); }
.panel a[aria-current="page"] { color: var(--gold); }

/* ── buttons and links ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font: 500 16px/1 "Work Sans", sans-serif; padding: 15px 26px; border-radius: 999px;
  border: 0; cursor: pointer; background: var(--gold); color: #0B0904; transition: transform .25s var(--ease-pop), background-color .2s, opacity .2s; }
.btn:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .04); }
.btn.sm { padding: 11px 18px; font-size: 14px; }
.link { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .2s; }
.link:hover { border-color: var(--ink); }

/* ── type ── */
.display { margin: 0; font: 400 clamp(52px, 7.4vw, 120px)/.94 Italiana; letter-spacing: -.01em; text-wrap: balance; }
.h2 { margin: 0; font: 400 clamp(40px, 5vw, 76px)/.98 Italiana; letter-spacing: -.01em; text-wrap: balance; }
.h3 { margin: 0; font: 400 clamp(26px, 2.4vw, 34px)/1.1 Italiana; }
.eyebrow { margin: 0 0 18px; font: 300 13px/1 Jura; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.lead { margin: 22px 0 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); max-width: 46ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.note { font-size: 13px; color: #8E9198; max-width: 60ch; }
.num { font: 300 1em/1.1 Jura; font-variant-numeric: tabular-nums; }
.shadowed { text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 18px rgba(0, 0, 0, .8), 0 0 42px rgba(0, 0, 0, .55); }

/* ── page parts ── */
.page { position: relative; z-index: 2; padding: 140px var(--gutter) 96px; }
.page-narrow { max-width: 1120px; margin: 0 auto; }
.glass { background: var(--glass); border: 1px solid var(--line-soft); border-radius: 22px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font: 300 12px/1 Jura; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.chip .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(233, 185, 73, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(233, 185, 73, .55); } 70% { box-shadow: 0 0 0 10px rgba(233, 185, 73, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 185, 73, 0); } }

/* a still starfield for pages without a 3D stage: two layers of tiny stars and a faint warm glow low on the page */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(120% 70% at 70% 115%, rgba(233, 185, 73, .10), rgba(233, 185, 73, 0) 60%),
  radial-gradient(90% 60% at 10% -10%, rgba(120, 140, 255, .07), rgba(0, 0, 0, 0) 60%), #000; }
.sky::before, .sky::after { content: ""; position: absolute; inset: -50%; background-repeat: repeat; }
.sky::before { background-image:
  radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, .85), transparent 60%),
  radial-gradient(1px 1px at 140px 90px, rgba(255, 255, 255, .6), transparent 60%),
  radial-gradient(1.4px 1.4px at 90px 170px, rgba(255, 240, 210, .8), transparent 60%),
  radial-gradient(1px 1px at 210px 220px, rgba(255, 255, 255, .5), transparent 60%);
  background-size: 260px 260px; opacity: .55; animation: drift 240s linear infinite; }
.sky::after { background-image:
  radial-gradient(1px 1px at 60px 80px, rgba(255, 255, 255, .5), transparent 60%),
  radial-gradient(1.6px 1.6px at 300px 40px, rgba(255, 255, 255, .7), transparent 60%),
  radial-gradient(1px 1px at 180px 320px, rgba(200, 215, 255, .6), transparent 60%);
  background-size: 380px 380px; opacity: .4; animation: drift 420s linear infinite reverse; }
@keyframes drift { to { transform: translate3d(-260px, -130px, 0); } }

/* reveal on scroll: theme.js adds .in when an element with .reveal comes into view */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .sky::before, .sky::after { animation: none; } }

/* ── footer ── */
.foot { position: relative; z-index: 2; padding: 46px max(16px, 6vw) 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: baseline; color: var(--muted); font-size: 14px; background: #000; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot small { margin-left: auto; font-size: 13px; max-width: 70ch; }

@media (max-width: 860px), (max-aspect-ratio: 124/100) {
  .nav { display: none; }
  .menu { display: block; }
  .page { padding: 112px 20px 72px; }
  .foot small { margin-left: 0; }
}
