/* ═══════════════════════════════════════════════════════════════════════
   ELLIOT MADN — shared styles for content/entity pages
   (/about, /fragmented, /overture, /forgiveness, /press, /gallery)
   Editorial documents: fast, semantic, crawlable. Same language as the
   homepage, without the scroll engine.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face{font-family:'Clash Display';src:url('../assets/fonts/ClashDisplay-Bold.woff2') format('woff2'),url('../assets/fonts/ClashDisplay-Bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Nohemi';src:url('../assets/fonts/Nohemi-Regular.woff2') format('woff2'),url('../assets/fonts/Nohemi-Regular.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Nohemi';src:url('../assets/fonts/Nohemi-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}

:root{
  --bg:#080807; --bg-2:#0d0c0b;
  --ink:#f2efe9; --ink-soft:#cfc9bf; --muted:#9a9184;
  --burgundy:#7a1526;
  --line:rgba(242,239,233,.15);
  --title:"Clash Display","Arial Narrow",sans-serif;
  --body:"Nohemi",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --chrome:linear-gradient(103deg,#6f767e 0%,#e8edf2 16%,#a7aeb6 30%,#ffffff 46%,#c8ced5 56%,#8f969e 68%,#eef2f6 84%,#71787f 100%);
  /* MIRROR CHROME, for display type only. Real chrome is not a diagonal sheen: it
     reflects a horizon. Cool sky above, one hard dark line where sky meets ground,
     warm ground below, lit again at the lower edge. The stops are placed for
     capitals, which occupy roughly 17–87% of a 1.02 line box, so the horizon lands
     mid-letter. Small text keeps --chrome: a horizon line through 11px type is noise. */
  --chrome-hi:linear-gradient(180deg,#ffffff 0%,#ffffff 16%,#e3e9ef 25%,#aab3bd 38%,#7d8791 47.5%,
    #1f2327 50%,#565c63 53%,#8f8c86 62%,#cfcbc3 76%,#f1eee8 86%,#f1eee8 100%);
  /* LIQUID GLASS. A lit top edge, a clear waist, light gathering again at the foot,
     a bright rim above and a faint one below. */
  --glass:linear-gradient(180deg,rgba(255,255,255,.17) 0%,rgba(255,255,255,.05) 46%,rgba(255,255,255,.02) 54%,rgba(255,255,255,.10) 100%);
  --glass-rim:rgba(255,255,255,.17);
  --glass-shadow:inset 0 1px 0 rgba(255,255,255,.44),inset 0 -1px 0 rgba(255,255,255,.10),
    inset 0 0 14px rgba(255,255,255,.05),0 14px 34px -14px rgba(0,0,0,.78),0 2px 4px rgba(0,0,0,.35);
  --glass-blur:blur(16px) saturate(170%);
  --radius:18px;
  --ease:cubic-bezier(.16,1,.3,1);
  --frame:clamp(16px,2.4vw,34px);
  --pad:clamp(22px,5vw,64px);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}

/* Nothing on the site is selectable. The type IS the artwork here — the marks are
   masks, the wordmark is a shape, and a stray blue drag-highlight across a chrome
   lockup reads as a broken page rather than as a feature. Inherited from :root so a
   single declaration covers every element, pseudo-element and shadow boundary.
   Deliberately NOT -webkit-touch-callout: that governs iOS link/image previews, not
   selection, and killing it would take "open in new tab" with it. */
:root{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
::selection{background:transparent}
::-moz-selection{background:transparent}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-weight:400;
  line-height:1.72;-webkit-font-smoothing:antialiased;overflow-x:hidden;
  padding:calc(var(--frame) + 3.4rem) var(--pad) calc(var(--frame) + 3rem)}
/* Glass over a flat black ground is just a grey box: it needs light behind it to
   read as glass. Two very soft sources, fixed to the viewport — cold chrome from the
   upper right, the frame's burgundy from the lower left — so panels and buttons pick
   up a different tint depending on where they sit as the page scrolls under them. */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(70vw 55vh at 88% -8%,rgba(200,208,218,.13),transparent 62%),
    radial-gradient(60vw 60vh at -12% 72%,rgba(122,21,38,.20),transparent 64%),
    radial-gradient(50vw 40vh at 60% 110%,rgba(200,208,218,.06),transparent 60%)}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
ul,ol{list-style:none}
h1,h2,h3{font-weight:inherit}
:where(a,button):focus-visible{outline:2px solid #e8edf2;outline-offset:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.frame{position:fixed;inset:var(--frame);border:1px solid var(--burgundy);pointer-events:none;z-index:60}
.chrome{background:var(--chrome);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}

/* ── top bar ── */
.topbar{position:fixed;top:0;left:0;right:0;z-index:70;display:flex;align-items:center;
  justify-content:space-between;gap:1rem;padding:calc(var(--frame) + .7rem) var(--pad) 0}
/* The same fault the homepage nav had: fixed, with no background, so headings and
   tables scrolled straight through the logo and the links. Same cure — a scrim in
   this page's own ground (#080807), opaque at the top and gone by its lower edge so
   there is no hard bar, with the blur masked on the same ramp so it ends without a
   seam. */
.topbar::before{content:"";position:absolute;inset:-2px 0 -2.6rem;z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(8,8,7,.94) 0%, rgba(8,8,7,.82) 38%, rgba(8,8,7,.42) 68%, rgba(8,8,7,0) 100%);
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
  -webkit-mask:linear-gradient(to bottom,#000 0%,#000 52%,transparent 100%);
          mask:linear-gradient(to bottom,#000 0%,#000 52%,transparent 100%)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .topbar::before{background:linear-gradient(to bottom,
    rgba(8,8,7,.97) 0%, rgba(8,8,7,.88) 44%, rgba(8,8,7,0) 100%)}
}
.topbar .mark{display:block;width:clamp(48px,5.5vw,68px);height:clamp(24px,2.8vw,34px);
  background:var(--chrome);
  -webkit-mask:url('../assets/logo.svg') center/contain no-repeat;mask:url('../assets/logo.svg') center/contain no-repeat}
.topbar nav{display:flex;gap:clamp(.9rem,2vw,1.8rem);padding:.52rem 1.1rem;border-radius:999px;
  border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-shadow);
  -webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}
.topbar nav a{font-weight:500;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;
  background:var(--chrome);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}

/* ── document ── */
.doc{max-width:74ch;margin:0 auto}
.doc--wide{max-width:1180px}
.crumbs{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:clamp(1.4rem,3vw,2.2rem)}
.crumbs a{color:var(--muted);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .3s,color .3s}
.crumbs a:hover{color:var(--ink);border-color:var(--line)}
.crumbs span{opacity:.5;margin:0 .45rem}

h1{font-family:var(--title);font-weight:700;text-transform:uppercase;letter-spacing:-.015em;
  line-height:1.02;font-size:clamp(2rem,6.4vw,4.6rem);margin-bottom:.7rem;
  /* one gradient tile per line (1.02em = the line box), or a two-line title would get
     a single horizon between its lines instead of one through each */
  background:var(--chrome-hi) 0 0/100% 1.02em repeat-y;-webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
  /* the lit bevel a polished edge has; it also keeps the dark horizon from eating thin strokes */
  -webkit-text-stroke:1px rgba(255,255,255,.17)}
.kicker{font-weight:500;font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem;display:block}
.lede{font-size:clamp(1rem,1.55vw,1.28rem);line-height:1.65;color:var(--ink);margin-bottom:clamp(1.8rem,4vw,2.8rem)}
.doc p{color:var(--ink-soft);margin-bottom:1.15rem}
.doc p strong,.doc strong{color:var(--ink);font-weight:500}
.doc em{font-style:italic}
h2{font-family:var(--title);font-weight:700;text-transform:uppercase;font-size:clamp(1.1rem,2.4vw,1.7rem);
  letter-spacing:-.005em;margin:clamp(2.2rem,5vw,3.2rem) 0 1rem;padding-top:1.3rem;border-top:1px solid var(--line);
  background:var(--chrome);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}

/* ── media ── */
.media{margin:clamp(1.6rem,4vw,2.6rem) 0}
.media figcaption{font-size:.74rem;letter-spacing:.05em;color:var(--muted);margin-top:.7rem}
.embed{position:relative;width:100%;aspect-ratio:16/9;background:#000;border:1px solid var(--glass-rim);overflow:hidden;
  border-radius:var(--radius);box-shadow:0 30px 70px -34px rgba(0,0,0,.9),0 0 0 6px rgba(255,255,255,.025)}
.embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.cover{border:1px solid var(--glass-rim);width:min(100%,420px);border-radius:var(--radius);
  box-shadow:0 30px 70px -34px rgba(0,0,0,.9),0 0 0 6px rgba(255,255,255,.025)}

/* ── data tables (credits, specs) ── */
/* A glass panel rather than a ruled list. border-collapse has to be `separate`:
   a collapsed table ignores border-radius. */
.facts{width:100%;border-collapse:separate;border-spacing:0;margin:1.2rem 0;overflow:hidden;
  border:1px solid var(--glass-rim);border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.022));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 24px 60px -34px rgba(0,0,0,.85);
  -webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}
.facts th,.facts td{text-align:left;padding:.85rem 1.15rem;border-bottom:1px solid rgba(242,239,233,.09);vertical-align:top;font-size:.9rem}
.facts tr:last-child th,.facts tr:last-child td{border-bottom:0}
.facts th{width:12rem;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-size:.68rem}
.facts td{color:var(--ink-soft)}
@media (max-width:560px){.facts th{width:auto;display:block;border:0;padding-bottom:.1rem}.facts td{display:block;padding-top:0}
  .facts tr:last-child th{border-bottom:0}}

/* ── links / buttons ── */
.btns{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.4rem 0}
/* LIQUID GLASS BUTTON. Two background layers on one element: chrome clipped to the
   label, glass filling the capsule behind it — so the text stays metal without a
   wrapper span. ::before is the specular highlight; js/glass.js moves it to the
   pointer (--mx/--my), and without JS it rests at the top edge like a fixed light. */
.btn{position:relative;display:inline-flex;align-items:center;gap:.4rem;padding:.7rem 1.3rem;
  border:1px solid var(--glass-rim);border-radius:999px;
  font-weight:500;font-size:.71rem;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;
  background-image:var(--chrome),var(--glass);
  -webkit-background-clip:text,padding-box;background-clip:text,padding-box;
  color:transparent;-webkit-text-fill-color:transparent;
  box-shadow:var(--glass-shadow);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
  transition:border-color .35s,transform .35s var(--ease),box-shadow .35s}
.btn::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
  background:radial-gradient(7.5rem circle at var(--mx,50%) var(--my,0%),rgba(255,255,255,.38),rgba(255,255,255,.08) 42%,transparent 64%);
  transition:opacity .4s}
.btn:hover{border-color:rgba(255,255,255,.42);transform:translateY(-2px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(255,255,255,.14),inset 0 0 18px rgba(255,255,255,.08),
    0 20px 40px -16px rgba(0,0,0,.85),0 2px 4px rgba(0,0,0,.35)}
.btn:hover::before{opacity:1}
.btn:active{transform:translateY(0) scale(.975)}
.inline-link{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line);transition:text-decoration-color .3s}
.inline-link:hover{text-decoration-color:#e8edf2}

/* ── grids ── */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:clamp(1rem,2.6vw,1.9rem);margin:1.4rem 0}
.card{border:1px solid var(--glass-rim);border-radius:var(--radius);overflow:hidden;text-decoration:none;display:block;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.022));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 24px 60px -34px rgba(0,0,0,.85);
  transition:border-color .35s,transform .45s var(--ease)}
.card:hover{border-color:rgba(255,255,255,.4);transform:translateY(-4px)}
.card img{width:100%;aspect-ratio:1/1;object-fit:cover}
.card__b{padding:.9rem 1rem}
.card__t{font-family:var(--title);font-weight:700;text-transform:uppercase;font-size:1.05rem;color:var(--ink)}
.card__m{font-size:.72rem;letter-spacing:.08em;color:var(--muted);margin-top:.15rem}

/* ── footer ── */
.foot{max-width:74ch;margin:clamp(3rem,7vw,5rem) auto 0;padding-top:1.5rem;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;gap:.9rem 1.6rem;justify-content:space-between;align-items:center;
  font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.foot nav{display:flex;gap:1.2rem;flex-wrap:wrap}
.foot a{text-decoration:none;color:var(--muted);transition:color .3s}
.foot a:hover{color:var(--ink)}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto}}
