/* ============================================================
   Gazette.cy — stylesheet
   Παλέτα: μελάνι / χαρτί / πατίνα (οξειδωμένος χαλκός) / χαλκός
   Τυπογραφία: Fira Sans Condensed (τίτλοι) · Fira Sans (UI) · Literata (κείμενο)
   ============================================================ */

:root {
  --ink:      #101619;
  --ink-2:    #39474b;
  --muted:    #6e7c80;
  --line:     #dde4e2;
  --line-2:   #eef2f1;
  --wash:     #f2f5f4;
  --paper:    #ffffff;
  --patina:   #14705f;
  --patina-2: #0d5346;
  --copper:   #a9552b;
  --signal:   #c8402f;

  --f-display: 'Fira Sans Condensed', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
  --f-read:    'Literata', Georgia, 'Times New Roman', serif;

  --wrap: 1240px;
  --gap:  clamp(18px, 2.4vw, 34px);
  --r:    4px;
}

[data-theme="dark"] {
  --ink:      #e9eeec;
  --ink-2:    #b6c2c0;
  --muted:    #869593;
  --line:     #232e2d;
  --line-2:   #1a2322;
  --wash:     #131b1a;
  --paper:    #0a100f;
  --patina:   #48bfa4;
  --patina-2: #7ad9c0;
  --copper:   #d5875a;
  --signal:   #e8695a;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--patina); color: #fff; padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 0; }

/* ── eyebrow / labels ───────────────────────────────────── */
.eyebrow {
  font-family: var(--f-body);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   UTILITY BAR
   ═══════════════════════════════════════════════════════════ */
.util { background: #101619; color: #cfd8d6; font-size: .78rem; }
[data-theme="dark"] .util { background: #05090a; border-bottom: 1px solid var(--line); }

.util-in { display: flex; align-items: center; gap: 20px; height: 38px; }

.util-date { flex: none; letter-spacing: .02em; color: #9aa8a5; }

.ticker { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; overflow: hidden; }

.ticker-tag {
  flex: none;
  background: var(--signal); color: #fff;
  font-size: .62rem; font-weight: 700; letter-spacing: .12em;
  padding: 3px 7px; border-radius: 2px;
}

.ticker-view { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 92%, transparent); }

.ticker-run {
  display: flex; gap: 2.6rem; width: max-content;
  animation: ticker 60s linear infinite;
}
.ticker:hover .ticker-run,
.ticker:focus-within .ticker-run { animation-play-state: paused; }

.ticker-run a {
  white-space: nowrap; text-decoration: none; color: #d9e2e0;
  font-size: .8rem;
}
.ticker-run a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@keyframes ticker { to { transform: translateX(-50%); } }

.theme-btn {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 1px solid #2c3a3c; color: #cfd8d6;
  font: inherit; font-size: .72rem; padding: 4px 10px; border-radius: 999px; cursor: pointer;
}
.theme-btn:hover { border-color: var(--patina); color: #fff; }
.theme-ico {
  width: 11px; height: 11px; border-radius: 50%;
  background: #cfd8d6; box-shadow: inset -3px -1px 0 0 #101619;
}
[data-theme="dark"] .theme-ico { background: #ffd479; box-shadow: none; }

/* ═══════════════════════════════════════════════════════════
   MASTHEAD
   ═══════════════════════════════════════════════════════════ */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }

.masthead-in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 6px 22px;
  padding: 26px 0 20px;
}

.brand {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.6vw, 3.6rem);
  line-height: .86;
  letter-spacing: -.025em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-word { color: var(--ink); }
.brand-dot  { color: var(--patina); }
.brand.small { font-size: 1.4rem; }

.brand-sub {
  margin: 0;
  font-family: var(--f-read);
  font-style: italic;
  font-size: .95rem;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 22px;
  align-self: end;
  padding-bottom: 3px;
}

.sources-strip {
  grid-column: 3; grid-row: 1;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .74rem; color: var(--muted); align-self: end; padding-bottom: 4px;
}
.sources-strip b {
  font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 5px;
}
.sources-strip b::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--patina));
}

/* ═══════════════════════════════════════════════════════════
   NAV RAIL
   ═══════════════════════════════════════════════════════════ */
.rail {
  position: sticky; top: 0; z-index: 60;
  background: #101619;
  border-bottom: 3px solid var(--patina);
}
[data-theme="dark"] .rail { background: #05090a; }

.rail-in { display: flex; align-items: stretch; gap: 10px; }

.burger {
  flex: none; width: 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  background: none; border: 0; border-right: 1px solid #263133; cursor: pointer; padding: 0 12px;
}
.burger span { display: block; height: 2px; background: #e9eeec; border-radius: 2px; transition: transform .22s, opacity .22s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.rail-list {
  flex: 1; min-width: 0;
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
}
.rail-list::-webkit-scrollbar { display: none; }

.rail-list a {
  display: flex; align-items: center; height: 100%;
  padding: 13px 13px 11px;
  font-family: var(--f-display);
  font-size: .95rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #b9c4c2; text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -3px;
}
.rail-list a:hover { color: #fff; }
.rail-list a.on { color: #fff; border-bottom-color: var(--patina-2); }

.rail-search { flex: none; display: flex; align-items: center; padding: 6px 0; }
.rail-search input {
  width: 150px; background: #1a2426; border: 1px solid #263133; color: #e9eeec;
  font: inherit; font-size: .82rem; padding: 6px 10px; border-radius: var(--r) 0 0 var(--r);
}
.rail-search input::placeholder { color: #74827f; }
.rail-search input:focus { outline: none; border-color: var(--patina); width: 200px; }
.rail-search button {
  background: var(--patina); border: 0; cursor: pointer;
  padding: 0 11px; align-self: stretch; border-radius: 0 var(--r) var(--r) 0;
}
.rail-search svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }

/* ═══════════════════════════════════════════════════════════
   DRAWER
   ═══════════════════════════════════════════════════════════ */
.scrim {
  position: fixed; inset: 0; background: rgba(9, 14, 15, .55);
  z-index: 90; opacity: 0; transition: opacity .25s;
}
.scrim.show { opacity: 1; }

.drawer {
  position: fixed; inset-block: 0; left: 0; width: 330px; max-width: 86vw;
  background: var(--paper); z-index: 100; overflow-y: auto;
  transform: translateX(-100%); transition: transform .26s ease;
  box-shadow: 6px 0 30px rgba(0, 0, 0, .16);
}
.drawer.open { transform: none; }

.drawer-top {
  position: sticky; top: 0; background: var(--paper);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 3px solid var(--patina);
}
.drawer-x { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink); }

.drawer-sec { padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.drawer-sec h3 {
  margin: 0 0 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper);
}
.drawer-sec a {
  display: block; padding: 7px 0; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line-2);
}
.drawer-sec a:last-child { border-bottom: 0; }
.drawer-sec a:hover, .drawer-sec a.on { color: var(--patina); }
.drawer-sec a.on { font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.slab { padding: var(--gap) 0; }
.slab-wash { background: var(--wash); border-block: 1px solid var(--line); }

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-bottom: 2px solid var(--ink); padding-bottom: 7px; margin-bottom: 18px;
}
.sec-head h2 {
  margin: 0; font-family: var(--f-display); font-size: 1.15rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.sec-head a { font-size: .78rem; color: var(--patina); text-decoration: none; font-weight: 600; white-space: nowrap; }
.sec-head a:hover { text-decoration: underline; }

/* page heading */
.phead { padding: calc(var(--gap) * .9) 0 0; }
.phead h1 {
  margin: 6px 0 0;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.06;
}
.phead p { margin: 10px 0 0; font-family: var(--f-read); color: var(--muted); max-width: 62ch; }
.crumbs { font-size: .76rem; color: var(--muted); }
.crumbs a { color: var(--patina); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   LEAD + WIRE
   ═══════════════════════════════════════════════════════════ */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: calc(var(--gap) * 1.2);
  padding: var(--gap) 0;
  align-items: start;
}

/* ── lead article ── */
.lead { display: block; text-decoration: none; }
.lead-shot {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--wash); border-radius: var(--r);
}
.lead-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead:hover .lead-shot img { transform: scale(1.03); }

.kicker {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 14px 0 8px; font-size: .74rem;
}
.kicker .cat {
  font-family: var(--f-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--patina); font-size: .78rem;
}
.kicker .src { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.kicker .src::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--muted)); }
.kicker .when { color: var(--muted); }
.kicker .sep { color: var(--line); }
.kicker .also {
  font-size: .66rem; font-weight: 600; letter-spacing: .02em;
  color: var(--copper); border: 1px solid var(--copper);
  padding: 1px 6px; border-radius: 999px; cursor: help;
}

.lead h2 {
  margin: 0;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.012em;
  font-size: clamp(1.75rem, 3.6vw, 2.85rem); line-height: 1.04;
  text-wrap: balance;
}
.lead:hover h2 { color: var(--patina); }
.lead .deck {
  margin: 12px 0 0; max-width: 60ch;
  font-family: var(--f-read); font-size: 1.02rem; line-height: 1.62; color: var(--ink-2);
}
.readon {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: .82rem; font-weight: 600; color: var(--patina);
}
.lead:hover .readon { gap: 11px; }
.readon span { transition: gap .2s; }

/* ── two seconds under the lead ── */
.seconds {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line);
}

/* ── the wire ── */
.wire {
  position: sticky; top: 60px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper);
}
.wire-head {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; border-bottom: 2px solid var(--ink);
}
.wire-head h2 {
  margin: 0; font-family: var(--f-display); font-size: 1rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(200, 64, 47, .55); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(200, 64, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 64, 47, 0); }
}
.wire-head .count { margin-left: auto; font-size: .7rem; color: var(--muted); }

.wire-list { max-height: min(72vh, 780px); overflow-y: auto; padding: 4px 0; }
.wire-list::-webkit-scrollbar { width: 6px; }
.wire-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.wire-item {
  display: grid; grid-template-columns: 54px 1fr; gap: 10px;
  padding: 11px 16px 11px 8px; text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.wire-item:last-child { border-bottom: 0; }
.wire-item:hover { background: var(--wash); }

.wire-when {
  font-size: .68rem; color: var(--muted); text-align: right;
  padding-top: 2px; position: relative;
}
.wire-when::after {
  content: ''; position: absolute; right: -6px; top: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dot, var(--patina)); outline: 3px solid var(--paper);
}
.wire-body h3 {
  margin: 0; font-size: .88rem; font-weight: 500; line-height: 1.35;
  border-left: 1px solid var(--line); padding-left: 12px;
}
.wire-item:hover .wire-body h3 { color: var(--patina); }
.wire-src { display: block; padding-left: 12px; margin-top: 3px; font-size: .68rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */
.card { text-decoration: none; display: block; }
.card-shot {
  aspect-ratio: 16 / 10; overflow: hidden; background: var(--wash);
  border-radius: var(--r); margin-bottom: 11px;
}
.card-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-shot img { transform: scale(1.04); }
.card h3 {
  margin: 0;
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.005em;
  font-size: 1.16rem; line-height: 1.16; text-wrap: balance;
}
.card:hover h3 { color: var(--patina); }
.card .deck { margin: 8px 0 0; font-family: var(--f-read); font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* placeholder when a story has no image */
.noshot {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, var(--line-2) 0 9px, transparent 9px 18px),
    var(--wash);
  font-family: var(--f-display); font-weight: 700; letter-spacing: .18em;
  font-size: .72rem; color: var(--muted);
}

.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ═══════════════════════════════════════════════════════════
   CATEGORY BLOCKS (home)
   ═══════════════════════════════════════════════════════════ */
.blocks { display: grid; gap: calc(var(--gap) * 1.1); grid-template-columns: repeat(3, 1fr); }

.block-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-bottom: 2px solid var(--patina); padding-bottom: 6px; margin-bottom: 14px;
}
.block-head h2 {
  margin: 0; font-family: var(--f-display); font-size: 1.02rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}
.block-head a { font-size: .72rem; color: var(--muted); text-decoration: none; }
.block-head a:hover { color: var(--patina); }

.block-rest { list-style: none; margin: 14px 0 0; padding: 0; }
.block-rest li { border-top: 1px solid var(--line-2); }
.block-rest a { display: block; padding: 10px 0; text-decoration: none; }
.block-rest h4 { margin: 0; font-size: .93rem; font-weight: 500; line-height: 1.32; }
.block-rest a:hover h4 { color: var(--patina); }
.block-rest .meta { display: block; margin-top: 3px; font-size: .68rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   CITY CHIPS
   ═══════════════════════════════════════════════════════════ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
}
.chip small { font-family: var(--f-body); font-weight: 400; font-size: .72rem; color: var(--muted); }
.chip:hover { border-color: var(--patina); color: var(--patina); }
.chip:hover small { color: var(--patina); }

/* ═══════════════════════════════════════════════════════════
   SPONSORED
   ═══════════════════════════════════════════════════════════ */
.promo {
  border: 1px solid var(--line); border-top: 3px solid var(--copper);
  border-radius: var(--r); padding: 16px; background: var(--paper);
}
.promo .tag {
  display: inline-block; background: var(--copper); color: #fff;
  font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px; margin-bottom: 9px;
}
.promo h3 { margin: 0 0 4px; font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; }
.promo p  { margin: 0 0 12px; font-size: .85rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS / PAGINATION / EMPTY
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-block; background: var(--patina); color: #fff;
  padding: 12px 24px; border: 0; border-radius: var(--r); cursor: pointer;
  font: inherit; font-weight: 600; text-decoration: none;
}
.btn:hover { background: var(--patina-2); }
.btn-ghost { background: none; color: var(--patina); border: 1px solid var(--patina); }
.btn-ghost:hover { background: var(--patina); color: #fff; }

.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: calc(var(--gap) * 1.2); flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; padding: 8px 12px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; font-size: .88rem; font-weight: 500;
}
.pager a:hover { border-color: var(--patina); color: var(--patina); }
.pager .now { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .gap { border: 0; color: var(--muted); min-width: 0; padding: 8px 2px; }

.empty {
  border: 1px dashed var(--line); border-radius: var(--r);
  padding: 40px 24px; text-align: center; color: var(--muted);
  font-family: var(--f-read);
}
.empty strong { display: block; font-family: var(--f-display); font-size: 1.25rem; color: var(--ink); margin-bottom: 8px; }

/* ═══════════════════════════════════════════════════════════
   CONTENT PAGES / FORMS
   ═══════════════════════════════════════════════════════════ */
.prose { max-width: 68ch; padding-bottom: var(--gap); }
.prose h2 {
  margin: 32px 0 10px; font-family: var(--f-display); font-size: 1.4rem; font-weight: 700;
}
.prose h3 { margin: 24px 0 6px; font-family: var(--f-display); font-size: 1.1rem; }
.prose p, .prose li { font-family: var(--f-read); line-height: 1.7; color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--patina); }

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); margin: 22px 0; }
.tier { border: 1px solid var(--line); border-top: 3px solid var(--patina); border-radius: var(--r); padding: 20px; }
.tier h3 { margin: 0 0 8px; font-family: var(--f-display); font-size: 1.08rem; }
.tier p { margin: 0; font-size: .88rem; color: var(--muted); font-family: var(--f-body); }
.tier .price { margin-top: 14px; font-family: var(--f-display); font-size: 1.8rem; font-weight: 800; color: var(--copper); }
.tier .price small { font-size: .78rem; font-weight: 400; color: var(--muted); }

.form { max-width: 560px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 5px; letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; font: inherit;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); color: var(--ink);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--patina); box-shadow: 0 0 0 3px rgba(20, 112, 95, .14); }
.hp { position: absolute; left: -9999px; }

.note { padding: 13px 16px; border-radius: var(--r); margin-bottom: 20px; font-size: .92rem; }
.note-ok  { background: rgba(20, 112, 95, .1);  border: 1px solid var(--patina); color: var(--patina-2); }
.note-bad { background: rgba(200, 64, 47, .09); border: 1px solid var(--signal); color: var(--signal); }
.note ul { margin: 6px 0 0; padding-left: 18px; }

.factbox {
  background: var(--wash); border-left: 3px solid var(--patina);
  padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; margin: 20px 0;
  font-size: .92rem;
}
.factbox a { color: var(--patina); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.foot { background: #101619; color: #a8b5b2; margin-top: calc(var(--gap) * 1.6); }
[data-theme="dark"] .foot { background: #05090a; border-top: 1px solid var(--line); }

.foot-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--gap);
  padding: 42px 0 30px;
}
.foot h4 {
  margin: 0 0 12px; color: #fff;
  font-family: var(--f-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.foot a { color: #a8b5b2; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; font-size: .88rem; }
.foot .brand { font-size: 1.6rem; }
.foot .brand-word { color: #fff; }
.foot-blurb { font-family: var(--f-read); font-size: .88rem; line-height: 1.65; margin: 12px 0 0; max-width: 40ch; }

.foot-bar {
  border-top: 1px solid #1e2a2b; padding: 16px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .76rem; color: #7c8a87;
}

/* ═══════════════════════════════════════════════════════════
   REVEAL — μόνο όταν τρέχει JS. Χωρίς JS το περιεχόμενο
   είναι ορατό κανονικά, ποτέ κρυμμένο σε opacity:0.
   ═══════════════════════════════════════════════════════════ */
.js .rise { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .rise.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; }
  .wire { position: static; }
  .wire-list { max-height: 460px; }
  .blocks { grid-template-columns: repeat(2, 1fr); }
  .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .masthead-in { grid-template-columns: 1fr; gap: 8px; padding: 20px 0 16px; }
  .brand-sub { border-left: 0; padding-left: 0; }
  .sources-strip { grid-column: 1; grid-row: auto; padding-bottom: 0; }
  .util-date { display: none; }
  .theme-txt { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .seconds, .blocks, .grid, .grid-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; padding: 32px 0 20px; }
  .rail-search { display: none; }
  .ticker-tag { display: none; }
  .wire-item { grid-template-columns: 46px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker-run { animation: none; }
  .js .rise { opacity: 1; transform: none; }
}

@media print {
  .util, .rail, .drawer, .scrim, .wire, .foot { display: none !important; }
}
