/* Sterling Intelligence — shared styles */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.12);
  --ink: #e8e8e8;
  --ink-dim: #bfbfbf;
  --muted: #888888;
  --muted-2: #666666;
  --gold: #6bc3ff;
  --gold-deep: #4a9fd4;
  --crimson: #d94a3a;
  --teal: #4fa89e;

  --serif: "Newsreader", "Source Serif Pro", Georgia, serif;
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- TICKER ---------- */
.ticker {
  background: var(--gold);
  color: #000;
  border-bottom: 1px solid var(--gold-deep);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  overflow: hidden;
  position: relative;
}
.ticker-inner {
  display: flex;
  align-items: center;
  height: 36px;
}
.ticker-label {
  flex: none;
  background: #1a1306;
  color: var(--gold);
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker-scroll 80s linear infinite;
  padding-left: 32px;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ticker-item::before {
  content: "";
  width: 5px; height: 5px;
  background: #1a1306;
  border-radius: 50%;
  flex: none;
}
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- HEADER ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-hi { color: var(--gold); font-style: normal; }
.brand-mark {
  display: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--bg);
  border-radius: 50%;
}
.brand small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  line-height: 1;
  margin-top: 3px;
}

.search {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px 9px 42px;
  width: 460px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>");
  background-repeat: no-repeat;
  background-position: 16px 50%;
  transition: border-color 0.15s, background-color 0.15s;
}
.search:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--bg-3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.nav a { transition: color 0.15s; }
.nav a:hover, .nav a.active { color: var(--gold); }
@keyframes subscribe-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(107,195,255,0.2); }
  50%       { box-shadow: 0 0 10px rgba(107,195,255,0.45); }
}
@keyframes subscribe-pulse-hover {
  0%, 100% { box-shadow: 0 0 6px rgba(147,212,255,0.4); }
  50%       { box-shadow: 0 0 16px rgba(147,212,255,0.75), 0 0 6px rgba(107,195,255,0.4); }
}
.nav .watch-now {
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.18s;
  animation: subscribe-pulse 3s ease-in-out infinite;
}
.nav .watch-now:hover {
  background: #93d4ff;
  color: #000;
  transform: translateY(-1px);
  animation: subscribe-pulse-hover 2s ease-in-out infinite;
}

/* ---------- SECTION CHROME ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--gold);
}
.kicker.no-line::before { display: none; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}
.section-head h2 .it { font-style: italic; color: var(--gold); }
.section-head .more {
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
}
.section-head .more:hover { color: var(--gold); border-color: var(--gold); }

main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 32px 80px;
}

/* ---------- CARD GRID ---------- */

/* 4-col grid: squares (1 col, 1:1) or wide rectangles (2 col, 2:1 thumb) */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.card.wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
.card.wide h3 {
  font-size: 22px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  aspect-ratio: 1 / 1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.35);
}
.card .thumb {
  position: absolute;
  inset: 0;
  background: var(--bg-3);
  overflow: hidden;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card .body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
}
.card .source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.card .source .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.card .source.crimson .dot { background: var(--crimson); }
.card .source.teal .dot { background: var(--teal); }

.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
}
.card .body p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.4;
}

.card .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card .meta .dot-sep { color: var(--line-2); }

/* Tag chip overlay on thumb */
.tag, .date-label {
  position: absolute;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(4px);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 3px;
  border: 1px solid rgba(107,195,255,0.3);
}
.tag        { top: 0; left: 0;  border-radius: 0 0 3px 0; }
.date-label { top: 0; right: 0; border-radius: 0 0 0 3px; }
.tag.live {
  color: var(--crimson);
  border-color: rgba(217,74,58,0.4);
}
.tag.live::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--crimson);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.4; }
}

/* Sponsored marker */
.card.sponsored .source { color: var(--gold-deep); }
.card.sponsored .source::after {
  content: "SPONSORED";
  margin-left: auto;
  font-size: 9px;
  color: var(--muted-2);
}

/* ---------- PLACEHOLDER IMAGE TILES ---------- */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(232,232,232,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 12px,
      rgba(255,255,255,0.025) 12px 13px);
}
.ph.t1 { background: linear-gradient(135deg, #1e1e1e 0%, #0d0d0d 100%); }
.ph.t2 { background: linear-gradient(135deg, #201c18 0%, #0d0d0d 100%); }
.ph.t3 { background: linear-gradient(135deg, #161c16 0%, #0d0d0d 100%); }
.ph.t4 { background: linear-gradient(135deg, #22180a 0%, #0d0d0d 100%); }
.ph.t5 { background: linear-gradient(135deg, #181820 0%, #0d0d0d 100%); }
.ph.t6 { background: linear-gradient(135deg, #1c1418 0%, #0d0d0d 100%); }
.ph.t7 { background: linear-gradient(135deg, #161820 0%, #0d0d0d 100%); }
.ph.t8 { background: linear-gradient(135deg, #221608 0%, #0d0d0d 100%); }

/* ---------- FILM STRIP ---------- */
.filmstrip-wrap {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px 18px;
  margin: 36px 0;
  position: relative;
}
.filmstrip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.filmstrip-head h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.filmstrip-head h3::before {
  content: "▶";
  color: var(--gold);
  font-size: 14px;
  font-style: normal;
}
.filmstrip-head .see-more {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.filmstrip-head .see-more:hover { color: var(--gold); }

.filmstrip-outer {
  position: relative;
}
.strip-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(180,180,180,0.15);
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: background 0.18s;
}
.strip-btn:hover { background: rgba(180,180,180,0.28); }
.strip-btn-prev { left: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.strip-btn-next { right: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.strip-btn-prev::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 13px 9px 0;
  border-color: transparent rgba(210,210,210,0.75) transparent transparent;
  transition: border-color 0.18s;
}
.strip-btn-prev:hover::after {
  border-color: transparent rgba(230,230,230,1) transparent transparent;
}
.strip-btn-next::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 13px;
  border-color: transparent transparent transparent rgba(210,210,210,0.75);
  transition: border-color 0.18s;
}
.strip-btn-next:hover::after {
  border-color: transparent transparent transparent rgba(230,230,230,1);
}

.filmstrip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filmstrip::-webkit-scrollbar { display: none; }

.video-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  background: #0e0e0e;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 10px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.25);
}
.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.55), 0 2px 5px rgba(0,0,0,0.3);
}
.video-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb .play span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10,10,10,0.78);
  border: 1px solid rgba(232,232,232,0.5);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  padding-left: 3px;
  backdrop-filter: blur(4px);
}
.video-card:hover .video-thumb .play span {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.video-thumb .duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(10,10,10,0.85);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 2px;
}
.video-card .v-source {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.video-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fs-arrow {
  position: absolute;
  top: 50%;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s;
}
.fs-arrow:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.fs-arrow.left { left: -12px; }
.fs-arrow.right { right: -12px; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 48px 32px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-inner h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-inner ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-dim); }
.footer-inner ul a:hover { color: var(--gold); }
.footer-inner p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-bottom {
  max-width: 1440px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- STORY PAGE ---------- */
.story-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}
.story-search {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}
.story-search input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px 11px 44px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>");
  background-repeat: no-repeat;
  background-position: 16px 50%;
}
.story-search input:focus { outline: none; border-color: var(--gold); }

.story-rail {
  display: grid;
  grid-template-columns: 56px 1fr 240px;
  gap: 32px;
  align-items: start;
}
.rail-actions {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.rail-actions button {
  width: 44px; height: 44px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-dim);
  cursor: pointer;
  font-size: 14px;
  display: grid;
  place-items: center;
  transition: all 0.15s;
  position: relative;
}
.rail-actions button:hover { border-color: var(--gold); color: var(--gold); }
.rail-actions button .badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold);
  color: #000;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--mono);
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.story-source-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-source-bar .pub { color: var(--gold); font-weight: 600; }
.story-source-bar .badge-news {
  margin-left: auto;
  font-size: 9px;
  color: var(--muted-2);
}

.story-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.story-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.story-byline .author { color: var(--ink-dim); }

.story-hero {
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.story-caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-left: 20px;
  position: relative;
}
.story-caption::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 1px;
  background: var(--gold);
}

.story-body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.story-body p { margin: 0 0 22px; text-wrap: pretty; }
.story-body p:first-of-type::first-letter {
  font-size: 56px;
  float: left;
  line-height: 0.9;
  margin: 6px 10px 0 0;
  color: var(--gold);
  font-weight: 500;
}
.story-body a { color: var(--gold); border-bottom: 1px solid rgba(107,195,255,0.3); }
.story-body a:hover { border-color: var(--gold); }
.story-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 36px 0 14px;
}
.story-body blockquote {
  margin: 28px 0;
  padding: 18px 0 18px 24px;
  border-left: 2px solid var(--gold);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}

.inline-promo {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  margin: 28px 0;
}
.inline-promo .ph-mini {
  width: 110px; height: 70px;
  flex: none;
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
}
.inline-promo .promo-text {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-dim);
  flex: 1;
}
.inline-promo .promo-text small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}

.story-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.story-aside .ah {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.aside-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.aside-card:hover { border-color: var(--line-2); }
.aside-card .ph-mini {
  width: 70px; height: 70px;
  flex: none;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.aside-card .text { font-size: 13px; line-height: 1.35; color: var(--ink); }
.aside-card .text small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Related stories block */
.related-block {
  max-width: 1240px;
  margin: 60px auto 0;
  padding: 0 32px;
}
.related-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.related-block h2 em { color: var(--gold); }

/* ---------- ABOUT PAGE ---------- */
.about-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}
.about-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 48px;
  margin-bottom: 56px;
}
.about-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 14px 0 0;
  text-wrap: balance;
}
.about-hero h1 em { color: var(--gold); font-style: italic; }
.about-hero .lede {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 720px;
  margin: 28px 0 0;
  text-wrap: pretty;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.about-grid h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  font-weight: 600;
}
.about-grid p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin: 0 0 14px;
  text-wrap: pretty;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 56px 0;
}
.numbers .n {
  padding: 28px 0;
  border-right: 1px solid var(--line);
}
.numbers .n:last-child { border-right: none; }
.numbers .v {
  font-family: var(--serif);
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.numbers .v em { color: var(--gold); font-style: italic; }
.numbers .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.masthead {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px 0 64px;
}
.masthead .person {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.masthead .person .person-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background-color: var(--bg-3);
}
.masthead .person .person-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 33%;
  background: rgba(22, 22, 22, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.masthead .person .name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  line-height: 1.1;
}
.masthead .person .role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.masthead .person .bio {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.5;
  margin-top: 4px;
}

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px;
  margin-top: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.contact-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1;
}
.contact-block h2 em { color: var(--gold); }
.contact-block p { color: var(--ink-dim); margin: 0 0 24px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-list li .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.contact-list li .val { color: var(--ink); }
.contact-list li .val a { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  display: block;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { min-height: 100px; resize: vertical; font-family: var(--sans); }
.contact-form button {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.contact-form button:hover { background: #d4ae38; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
  .search { width: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .masthead { grid-template-columns: repeat(3, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers .n:nth-child(2) { border-right: none; }
}

@media (max-width: 720px) {
  /* Header */
  .site-header-inner { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .search { display: none; }
  .nav { gap: 14px; font-size: 11px; }

  /* Main page padding — cards go nearly edge-to-edge */
  main { padding: 20px 12px 48px; }

  /* Card grid — single column, full width */
  .mosaic-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Cards — taller photo area on single-column mobile */
  .card { aspect-ratio: 4 / 3; }
  .card.wide { grid-column: 1; aspect-ratio: 16 / 9; }
  .card.wide h3 { font-size: 18px; }

  /* Filmstrip */
  .video-card { flex: 0 0 160px; }
  .filmstrip-wrap { padding: 14px 12px 16px; margin: 20px 0; }

  /* Section headings */
  .section-head { margin-bottom: 16px; }
  .section-head h2 { font-size: 28px; }

  /* About */
  .about-hero h1 { font-size: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-block { grid-template-columns: 1fr; padding: 24px; }
  .masthead { grid-template-columns: 1fr; gap: 16px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  footer { padding: 32px 16px 24px; margin-top: 40px; }
}
