/* ==========================================================================
   COSMOS SUDAR — design system
   Dark cosmic theme drawn from the nebula brand image.
   You do not need to edit this file to publish news.
   ========================================================================== */

:root {
  /* Core palette — sampled from the Cosmos Sudar nebula */
  --void:        #05060f;   /* deepest background */
  --space:       #0a0d1c;   /* page background */
  --space-2:     #11162a;   /* raised surface */
  --space-3:     #1a2038;   /* border / hairline */

  --ember:       #e9a13c;   /* primary gold — the nebula clouds */
  --ember-soft:  #f5c47a;
  --ember-deep:  #b9722a;
  --starlight:   #7db4ea;   /* blue — the upper sky */
  --rose:        #d97a63;   /* warm dust */

  --text:        #ece7dd;   /* body text on dark */
  --text-dim:    #a3a3b5;
  --text-faint:  #6d7086;

  /* Typography */
  --display: "Cormorant Garamond", "Noto Serif Tamil", Georgia, serif;
  --serif:   "Lora", "Noto Serif Tamil", Georgia, serif;
  --sans:    "Inter", "Noto Sans Tamil", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tamil:   "Noto Serif Tamil", "Lora", serif;

  /* Rhythm */
  --wrap: 1180px;
  --wrap-narrow: 720px;
  --r: 4px;
  --shadow-lift: 0 18px 50px -18px rgba(0, 0, 0, 0.85);
  --glow: 0 0 34px -6px rgba(233, 161, 60, 0.35);
}

/* --------------------------------------------------------- reset + base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--space);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* A faint starfield + nebula wash behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 900px 620px at 12% -8%,  rgba(125, 180, 234, 0.16), transparent 62%),
    radial-gradient(ellipse 1000px 700px at 88% 4%,  rgba(233, 161, 60, 0.13), transparent 60%),
    radial-gradient(ellipse 1200px 800px at 50% 118%, rgba(185, 114, 42, 0.16), transparent 62%),
    var(--space);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.1px 1.1px at 68% 9%,  rgba(255,255,255,.7),  transparent),
    radial-gradient(1.6px 1.6px at 34% 62%, rgba(255,255,255,.6),  transparent),
    radial-gradient(1.1px 1.1px at 82% 44%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.3px 1.3px at 21% 87%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.1px 1.1px at 91% 78%, rgba(255,255,255,.6),  transparent),
    radial-gradient(1.5px 1.5px at 55% 31%, rgba(255,255,255,.5),  transparent);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ember-soft); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ember); }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: 22px; }

.tamil, [lang="ta"] { font-family: var(--tamil); line-height: 1.95; }

/* Screen-reader only */
.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ember); color: var(--void);
  padding: 10px 16px; font-family: var(--sans); font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 10, 22, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--space-3);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(233, 161, 60, .45);
  box-shadow: var(--glow);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--text); letter-spacing: .012em;
}
.brand-sub {
  font-family: var(--sans);
  font-size: .58rem; font-weight: 500;
  letter-spacing: .21em; text-transform: uppercase;
  color: var(--ember); margin-top: 3px;
}

/* nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .085em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 9px 13px; border-radius: var(--r);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 1.5px; background: var(--ember);
}

.nav-tip {
  margin-left: 8px;
  background: var(--ember); color: var(--void) !important;
  font-weight: 700 !important; border-radius: 100px;
  padding: 9px 17px !important;
}
.nav-tip:hover { background: var(--ember-soft); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--space-3);
  color: var(--text); border-radius: var(--r);
  width: 42px; height: 38px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 9, 20, .985);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--space-3);
    padding: 10px 16px 22px;
    max-height: calc(100vh - 68px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 8px; font-size: .95rem; border-bottom: 1px solid rgba(26,32,56,.7); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-tip { margin: 16px 8px 0; text-align: center; border-bottom: 0 !important; }
}

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: clamp(430px, 68vh, 620px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--space-3);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 62%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    var(--space) 2%,
    rgba(10, 13, 28, .93) 22%,
    rgba(10, 13, 28, .55) 52%,
    rgba(10, 13, 28, .28) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 52px; }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 6.2rem);
  font-weight: 500; line-height: .95;
  margin: 0 0 4px; letter-spacing: -.005em;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,.7);
}
.hero .hero-tamil {
  font-family: var(--tamil);
  font-size: clamp(1.05rem, 3vw, 1.7rem);
  color: var(--ember-soft); margin: 0 0 18px; font-weight: 500;
}
.hero-tagline {
  font-family: var(--sans);
  font-size: clamp(.82rem, 2vw, .95rem);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); max-width: 44ch; margin: 0;
}
.hero-rule {
  width: 84px; height: 2px; margin: 22px 0 20px;
  background: linear-gradient(90deg, var(--ember), transparent);
}

/* --------------------------------------------------------- section head */
.section {
  padding: clamp(46px, 7vw, 78px) 0;
  border-bottom: 1px solid rgba(26, 32, 56, .55);
}
.section:last-of-type { border-bottom: 0; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 34px;
  padding-bottom: 14px; border-bottom: 1px solid var(--space-3);
}
.section-title {
  font-family: var(--sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ember); margin: 0;
  display: flex; align-items: center; gap: 11px;
}
.section-title::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 12px var(--ember);
  flex-shrink: 0;
}
.section-link {
  font-family: var(--sans); font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim);
}
.section-link:hover { color: var(--ember); }

/* ---------------------------------------------------------- story cards */
.lead-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 34px;
}
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; gap: 30px; } }

.lead-side { display: flex; flex-direction: column; gap: 24px; }

.card {
  display: block; position: relative;
  color: inherit;
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.card:hover { color: inherit; transform: translateY(-4px); }

.card-media {
  position: relative; overflow: hidden;
  background: var(--space-2);
  border: 1px solid var(--space-3);
  border-radius: var(--r);
  aspect-ratio: 16 / 10;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.3,1), filter .4s ease;
  filter: saturate(1.02);
}
.card:hover .card-media img { transform: scale(1.045); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 -70px 90px -40px rgba(5,6,15,.9);
  pointer-events: none;
}

.card-lead .card-media { aspect-ratio: 16 / 10; }
.card-sm { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: start; }
.card-sm .card-media { aspect-ratio: 1 / 1; }

.card-body { padding-top: 15px; }
.card-sm .card-body { padding-top: 2px; }

.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans);
  font-size: .64rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 9px;
}
.kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint); }
.kicker time { color: var(--text-faint); font-weight: 500; letter-spacing: .09em; }

.card-title {
  font-family: var(--display);
  font-weight: 600; line-height: 1.13;
  margin: 0 0 9px; color: var(--text);
  letter-spacing: -.004em;
  transition: color .18s ease;
}
.card-lead .card-title { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
.card-mid  .card-title { font-size: 1.4rem; }
.card-sm   .card-title { font-size: 1.02rem; line-height: 1.28; }
.card:hover .card-title { color: var(--ember-soft); }

.card-excerpt {
  margin: 0; color: var(--text-dim);
  font-size: .96rem; line-height: 1.62;
}
.card-lead .card-excerpt { font-size: 1.06rem; }
.card-sm .card-excerpt { display: none; }

/* Standard grid of stories */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 38px 30px;
}

/* ----------------------------------------------------- article (single) */
.article-head {
  padding: clamp(38px, 6vw, 62px) 0 0;
}
.breadcrumb {
  font-family: var(--sans); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

.article-title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.6vw, 3.9rem);
  font-weight: 600; line-height: 1.08;
  margin: 0 0 18px; letter-spacing: -.008em;
  color: #fff;
}
.article-standfirst {
  font-size: clamp(1.08rem, 2.4vw, 1.32rem);
  line-height: 1.62; color: var(--text-dim);
  margin: 0 0 28px; font-style: italic;
  border-left: 2px solid var(--ember);
  padding-left: 20px;
}

.byline {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  padding: 18px 0; margin-bottom: 30px;
  border-top: 1px solid var(--space-3);
  border-bottom: 1px solid var(--space-3);
  font-family: var(--sans); font-size: .82rem;
  color: var(--text-dim);
}
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(233,161,60,.4); }
.byline strong { color: var(--text); font-weight: 600; }
.byline .sep { color: var(--text-faint); opacity: .6; }

.article-hero {
  margin: 0 0 12px;
  border: 1px solid var(--space-3); border-radius: var(--r);
  overflow: hidden;
}
.article-hero img { width: 100%; }
.figcaption, figcaption {
  font-family: var(--sans); font-size: .78rem;
  color: var(--text-faint); line-height: 1.55;
  padding: 10px 2px 0; margin-bottom: 34px;
  border-bottom: 1px solid rgba(26,32,56,.6);
  padding-bottom: 12px;
}

/* Body copy — the part that actually gets read */
.prose { font-size: 1.115rem; line-height: 1.82; color: #ddd8ce; }
.prose > * + * { margin-top: 1.35em; }
.prose p { margin: 0; }
.prose.dropcap > p:first-of-type::first-letter {
  float: left; font-family: var(--display);
  font-size: 3.6em; line-height: .82;
  padding: .06em .1em 0 0; color: var(--ember);
  font-weight: 600;
}
.prose h2 {
  font-family: var(--display);
  font-size: 1.85rem; font-weight: 600; line-height: 1.24;
  color: #fff; margin-top: 2.1em; margin-bottom: .1em;
}
.prose h3 {
  font-family: var(--sans);
  font-size: 1.02rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ember); margin-top: 2em; margin-bottom: .1em;
}
.prose a { color: var(--starlight); border-bottom: 1px solid rgba(125,180,234,.35); }
.prose a:hover { color: #a8cef5; border-bottom-color: currentColor; }
.prose strong { color: #fff; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.35em; margin-block: 1.2em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--ember); }
.prose blockquote {
  margin: 2em 0; padding: 4px 0 4px 26px;
  border-left: 2px solid var(--ember);
  font-family: var(--display); font-size: 1.5rem;
  line-height: 1.4; color: #fff; font-style: italic;
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--r); border: 1px solid var(--space-3); margin-block: 1.8em; }
.prose figure { margin: 1.8em 0; }
.prose figure img { margin: 0; }
.prose hr {
  border: 0; height: 1px; margin: 2.6em auto;
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .88em; background: var(--space-2);
  padding: .16em .42em; border-radius: 3px; color: var(--ember-soft);
}
.prose .tamil, .prose [lang="ta"] { font-size: 1.05rem; }

/* Share row */
.share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 46px 0 0; padding-top: 26px;
  border-top: 1px solid var(--space-3);
}
.share-label {
  font-family: var(--sans); font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint); margin-right: 4px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  padding: 9px 15px; border-radius: 100px;
  border: 1px solid var(--space-3);
  color: var(--text-dim); background: var(--space-2);
  cursor: pointer; transition: all .18s ease;
}
.share-btn:hover {
  border-color: var(--ember); color: var(--ember); background: rgba(233,161,60,.08);
}
.share-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag {
  font-family: var(--sans); font-size: .72rem;
  letter-spacing: .06em;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--space-3); color: var(--text-dim);
}
.tag:hover { border-color: var(--ember); color: var(--ember); }

/* Author box at the end of an article */
.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: 46px; padding: 26px;
  background: linear-gradient(135deg, rgba(17,22,42,.9), rgba(10,13,28,.6));
  border: 1px solid var(--space-3); border-radius: var(--r);
}
.author-box img {
  width: 66px; height: 66px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(233,161,60,.45); box-shadow: var(--glow);
}
.author-box h3 {
  font-family: var(--display); font-size: 1.3rem;
  margin: 0 0 2px; color: #fff; font-weight: 600;
}
.author-box .role {
  font-family: var(--sans); font-size: .68rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--ember); margin: 0 0 10px;
}
.author-box p { margin: 0; font-size: .94rem; color: var(--text-dim); line-height: 1.65; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }

/* ------------------------------------------------------------ tip strip */
.tip-strip {
  margin: 0; padding: clamp(42px, 6vw, 62px) 0;
  background:
    radial-gradient(ellipse 700px 300px at 50% 0%, rgba(233,161,60,.13), transparent 70%),
    var(--void);
  border-block: 1px solid var(--space-3);
  text-align: center;
}
.tip-strip h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  font-weight: 600; margin: 0 0 12px; color: #fff; line-height: 1.15;
}
.tip-strip p {
  max-width: 56ch; margin: 0 auto 28px;
  color: var(--text-dim); font-size: 1.02rem;
}
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: .86rem; font-weight: 600;
  letter-spacing: .04em;
  padding: 13px 25px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: all .2s ease;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-primary { background: var(--ember); color: var(--void); }
.btn-primary:hover { background: var(--ember-soft); color: var(--void); transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost { border-color: var(--space-3); color: var(--text); background: rgba(17,22,42,.6); }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #04240f; }
.btn-wa:hover { background: #3ee27a; color: #04240f; transform: translateY(-2px); }

/* --------------------------------------------------------- floating bar */
.float-contact {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float-contact a {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 26px -6px rgba(0,0,0,.75);
  transition: transform .2s ease, filter .2s ease;
  position: relative;
}
.float-contact a:hover { transform: scale(1.09) translateY(-2px); }
.float-contact svg { width: 23px; height: 23px; fill: currentColor; }
.fc-wa { background: #25d366; color: #05240f; }
.fc-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; }
.fc-mail { background: var(--ember); color: var(--void); }
.float-contact a::after {
  content: attr(data-label);
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  background: var(--space-2); color: var(--text);
  border: 1px solid var(--space-3);
  font-family: var(--sans); font-size: .74rem; white-space: nowrap;
  padding: 6px 11px; border-radius: var(--r);
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.float-contact a:hover::after { opacity: 1; }
@media (max-width: 600px) {
  .float-contact { right: 14px; bottom: 14px; flex-direction: row; }
  .float-contact a { width: 46px; height: 46px; }
  .float-contact a::after { display: none; }
}

/* --------------------------------------------------------------- footer */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--space-3);
  padding: clamp(44px, 6vw, 66px) 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 42px; margin-bottom: 42px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: .94rem; max-width: 42ch; margin: 0 0 18px; }

.footer-col h4 {
  font-family: var(--sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ember); margin: 0 0 15px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-family: var(--sans); font-size: .9rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--ember); }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--space-3); color: var(--text-dim);
  transition: all .2s ease;
}
.social-row a:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--space-3);
  font-family: var(--sans); font-size: .78rem; color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--ember); }

/* ----------------------------------------------------------- misc pages */
.page-head { padding: clamp(46px, 7vw, 76px) 0 8px; }
.page-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600; line-height: 1.06; margin: 0 0 14px; color: #fff;
}
.page-sub { color: var(--text-dim); font-size: 1.06rem; max-width: 60ch; margin: 0; }

/* Category chips row */
.chip-row {
  display: flex; gap: 9px; flex-wrap: wrap;
  padding: 22px 0; margin-bottom: 8px;
}
.chip {
  font-family: var(--sans); font-size: .76rem; font-weight: 500;
  letter-spacing: .07em;
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--space-3); color: var(--text-dim);
  background: rgba(17,22,42,.5); transition: all .18s ease;
}
.chip:hover { border-color: var(--ember); color: var(--ember); }
.chip[aria-current="page"] { background: var(--ember); border-color: var(--ember); color: var(--void); font-weight: 600; }

/* Archive search */
.searchbar { margin: 6px 0 2px; }
.searchbar input {
  width: 100%; max-width: 520px;
  font-family: var(--sans); font-size: .95rem;
  color: var(--text); background: var(--space-2);
  border: 1px solid var(--space-3); border-radius: 100px;
  padding: 13px 22px; transition: border-color .18s ease, box-shadow .18s ease;
  -webkit-appearance: none; appearance: none;
}
.searchbar input::placeholder { color: var(--text-faint); }
.searchbar input:focus {
  outline: none; border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(233, 161, 60, .13);
}
.search-count {
  font-family: var(--sans); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ember); margin: 12px 0 0;
}

/* Contact cards */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px; margin: 38px 0;
}
.contact-card {
  padding: 28px 24px; border-radius: var(--r);
  border: 1px solid var(--space-3);
  background: linear-gradient(150deg, rgba(17,22,42,.85), rgba(10,13,28,.5));
  transition: all .22s ease; display: block;
}
.contact-card:hover { border-color: var(--ember); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.contact-card .ico {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(233,161,60,.12); color: var(--ember);
}
.contact-card .ico svg { width: 21px; height: 21px; fill: currentColor; }
.contact-card h3 {
  font-family: var(--display); font-size: 1.35rem;
  margin: 0 0 6px; color: #fff; font-weight: 600;
}
.contact-card p { margin: 0; color: var(--text-dim); font-size: .92rem; line-height: 1.6; }
.contact-card .val {
  display: block; margin-top: 12px;
  font-family: var(--sans); font-size: .88rem; color: var(--ember);
  word-break: break-word;
}

/* Empty state */
.empty {
  text-align: center; padding: 70px 20px;
  border: 1px dashed var(--space-3); border-radius: var(--r);
  color: var(--text-dim);
}
.empty h3 { font-family: var(--display); font-size: 1.6rem; color: var(--text); margin: 0 0 8px; }

/* Pagination */
.pager {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 52px; flex-wrap: wrap;
}
.pager a, .pager span {
  font-family: var(--sans); font-size: .84rem;
  min-width: 40px; height: 40px; padding: 0 13px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--space-3); border-radius: var(--r);
  color: var(--text-dim);
}
.pager a:hover { border-color: var(--ember); color: var(--ember); }
.pager .current { background: var(--ember); border-color: var(--ember); color: var(--void); font-weight: 600; }

/* Print — for filing / archiving a story */
@media print {
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
  .site-header, .site-footer, .float-contact, .share, .tip-strip { display: none !important; }
  .article-title, .prose h2 { color: #000; }
  .prose { color: #111; }
  a { color: #000; }
}

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