:root {
  --bg: #0d0f12;
  --bg-raise: #13161b;
  --ink: #e8ebee;
  --ink-2: #a9b0b8;
  --ink-3: #6f7780;
  --brass: #b9c2cc;
  --brass-bright: #f2f5f8;
  --line: rgba(232, 235, 238, 0.14);
  --line-soft: rgba(232, 235, 238, 0.08);
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Instrument Sans", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

#sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(146, 168, 190, 0.09), transparent 60%),
    radial-gradient(90% 55% at 85% 115%, rgba(146, 168, 190, 0.05), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

::selection { background: rgba(146, 168, 190, 0.35); }

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; }

/* ---------- Nav (same as home) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 48px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
}
.nav-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  font-weight: 450;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 8px clamp(14px, 2.5vw, 28px); }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brass-bright); }

/* ---------- Detail layout ---------- */
.detail-wrap {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 48px) clamp(64px, 9vw, 110px);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  margin-bottom: clamp(28px, 4vw, 44px);
  transition: color 0.2s;
}
.back-link:hover { color: var(--brass-bright); }
.back-link svg { transition: transform 0.25s; }
.back-link:hover svg { transform: translateX(-3px); }

.media-frame {
  border: 1px solid var(--line);
  background: var(--bg-raise);
  margin-bottom: clamp(32px, 5vw, 48px);
}
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070a;
}
.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  object-position: center;
}
.detail-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}

.detail-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}
.detail-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 clamp(24px, 4vw, 36px);
}
.detail-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 46em;
}
.detail-body p { margin: 0 0 18px; }
.detail-links-heading {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 34px 0 10px;
}
.detail-link {
  display: inline-block;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.detail-link:hover { color: var(--brass-bright); }
.coming-soon-badge {
  display: inline-block;
  margin-top: 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
}
