/* ================================================================
   ILOVESAUDI — Master Stylesheet v3
   Typography: Lexend (body/UI) + Fraunces (display headlines)
   Philosophy: Clarity first. Type does the work. Whitespace breathes.
   Inspired by GOV.UK design system principles.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,300;1,9..144,500;1,9..144,700&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Colour */
  --green:         #006633;
  --green-dark:    #004d26;
  --green-muted:   #1a7a47;
  --green-tint:    #f0f7f3;
  --gold:          #b38600;
  --red:           #b10e1e;   /* GOV.UK red */
  --red-tint:      #fdf0f1;
  --black:         #0b0c0c;   /* GOV.UK near-black */
  --grey-1:        #1d1d1b;
  --grey-2:        #505a5f;
  --grey-3:        #6f777b;
  --grey-4:        #b1b4b6;
  --grey-5:        #dee0e2;
  --grey-6:        #f3f2f1;   /* GOV.UK light grey */
  --white:         #ffffff;
  --focus:         #fd0;      /* GOV.UK focus yellow */

  /* Typography — GOV.UK scale (px values, rendered as rem) */
  --text-80:  clamp(48px, 6vw, 80px);
  --text-48:  clamp(32px, 4vw, 48px);
  --text-36:  clamp(26px, 3vw, 36px);
  --text-27:  clamp(21px, 2.5vw, 27px);
  --text-24:  clamp(20px, 2.2vw, 24px);
  --text-19:  19px;
  --text-16:  16px;
  --text-14:  14px;

  /* Line heights — multiples of 5px (GOV.UK principle) */
  --lh-tight:  1.15;
  --lh-heading:1.25;
  --lh-body:   1.6;
  --lh-relaxed:1.75;

  /* Spacing — base-5 system (GOV.UK) */
  --sp-1:  5px;
  --sp-2:  10px;
  --sp-3:  15px;
  --sp-4:  20px;
  --sp-5:  25px;
  --sp-6:  30px;
  --sp-7:  40px;
  --sp-8:  50px;
  --sp-9:  60px;

  /* Fonts */
  --f-display: 'Fraunces', Georgia, serif;
  --f-body:    'Lexend', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max:     1280px;
  --pad:     clamp(16px, 4vw, 32px);
  --radius:  0px;   /* GOV.UK uses sharp corners */
  --shadow:  0 2px 8px rgba(11,12,12,.12);
  --t:       200ms ease;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--f-body); font-size: var(--text-19); line-height: var(--lh-body); color: var(--black); background: var(--white); font-weight: 400; }
a { color: var(--black); text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--f-body); }
input, select, textarea { font-family: var(--f-body); }
ul { list-style: none; }

/* Focus styles — GOV.UK pattern */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  background-color: var(--focus);
  color: var(--black);
}

/* ── Container ───────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ── Utility bar ─────────────────────────────────────────── */
.util-bar {
  background: var(--black);
  border-bottom: 4px solid var(--green);
  height: 40px;
  font-size: var(--text-14);
  font-weight: 400;
}
.util-inner {
  display: flex; align-items: center;
  height: 100%; gap: var(--sp-7);
}
.util-left  { display: flex; align-items: center; gap: var(--sp-6); }
.util-right { margin-left: auto; display: flex; align-items: center; gap: var(--sp-5); }
.util-date  { color: rgba(255,255,255,.55); letter-spacing: .01em; }

.util-block {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-left: var(--sp-5);
  border-left: 1px solid rgba(255,255,255,.12);
}
.util-block-label {
  color: rgba(255,255,255,.4);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
}
.util-block-val { color: rgba(255,255,255,.8); font-weight: 500; font-size: 13px; }
.util-block-sep { color: rgba(255,255,255,.2); }
.util-block a {
  color: rgba(255,255,255,.55); font-size: 12px; font-weight: 500;
  transition: color var(--t);
}
.util-block a:hover { color: rgba(255,255,255,.9); }

/* ── Breaking bar ────────────────────────────────────────── */
.breaking-bar {
  background: var(--red);
  display: flex; align-items: center;
  height: 36px; overflow: hidden;
}
.brk-label {
  background: rgba(0,0,0,.2);
  height: 100%; display: flex; align-items: center;
  padding: 0 var(--sp-4);
  font-family: var(--f-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; white-space: nowrap; flex-shrink: 0;
  gap: var(--sp-2);
}
.brk-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: pulse 1.4s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }
.brk-track { flex: 1; overflow: hidden; padding: 0 var(--sp-4); }
.brk-inner {
  display: inline-flex; white-space: nowrap;
  animation: ticker 40s linear infinite;
}
.brk-story {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.9);
  padding: 0 var(--sp-8) 0 0;
}
.brk-story::before { content: '/ '; color: rgba(255,255,255,.4); margin-right: 4px; }
.brk-story:first-child::before { display: none; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── Site header ─────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-5);
  padding: var(--sp-5) 0 0;
  position: sticky; top: 0; z-index: 200;
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(11,12,12,.15); }

.header-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: var(--sp-4);
}
/* Logotype — the one unforgettable element */
.logotype {
  display: flex; flex-direction: column; gap: 4px;
}
.logo-wordmark {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--black);
  font-optical-sizing: auto;
}
.logo-wordmark .accent { color: var(--green); }
.logo-flag {
  display: inline-block;
  width: 20px; height: 14px;
  background: linear-gradient(to bottom, var(--green) 33%, var(--white) 33%, var(--white) 66%, var(--green) 66%);
  margin-right: 6px;
  border: 1px solid var(--grey-5);
  vertical-align: middle;
  flex-shrink: 0;
}
.logo-sub {
  font-family: var(--f-body);
  font-size: 11px; font-weight: 400;
  color: var(--grey-3);
  letter-spacing: .04em;
  padding-left: 2px;
}
.header-actions {
  display: flex; align-items: center; gap: var(--sp-3);
}
.btn-search {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 2px solid var(--grey-5);
  color: var(--grey-2);
  transition: all var(--t);
}
.btn-search:hover { border-color: var(--black); color: var(--black); }
.btn-search svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.btn-subscribe {
  padding: 10px 20px;
  background: var(--green);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 14px; font-weight: 600;
  letter-spacing: .02em;
  transition: background var(--t);
}
.btn-subscribe:hover { background: var(--green-dark); }

/* ── Navigation ──────────────────────────────────────────── */
.site-nav { background: var(--white); }
.nav-inner {
  display: flex; align-items: center;
  border-top: 1px solid var(--grey-5);
  height: 46px;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  display: flex; align-items: center;
  height: 46px; padding: 0 16px;
  font-family: var(--f-body);
  font-size: 14px; font-weight: 500;
  color: var(--grey-2);
  white-space: nowrap;
  position: relative;
  transition: color var(--t);
  letter-spacing: .01em;
  flex-shrink: 0;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--black); font-weight: 600; }
.nav-home { font-weight: 700; color: var(--green); padding-left: 0; }
.nav-home::after { background: var(--green); }
.nav-sep { width: 1px; height: 18px; background: var(--grey-5); flex-shrink: 0; margin: 0 4px; }

/* ── Search overlay ──────────────────────────────────────── */
.search-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(11,12,12,.9); z-index: 500;
  align-items: flex-start; justify-content: center;
  padding-top: 80px;
}
.search-overlay.open { display: flex; }
.search-box {
  width: 100%; max-width: 680px; padding: 0 var(--pad);
  position: relative;
}
.search-box input {
  width: 100%; padding: 18px 56px 18px 20px;
  font-family: var(--f-display); font-size: 22px; font-weight: 500;
  border: none; outline: 3px solid var(--focus);
  color: var(--black);
}
.search-close {
  position: absolute; top: 50%; right: calc(var(--pad) + 8px);
  transform: translateY(-50%);
  color: var(--grey-3); font-size: 22px; padding: 8px;
}
.search-results {
  background: var(--white); margin-top: 4px;
}
.sr-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--grey-5);
  cursor: pointer; transition: background var(--t);
}
.sr-item:hover { background: var(--grey-6); }
.sr-item:last-child { border-bottom: none; }
.sr-title { font-family: var(--f-body); font-size: 16px; font-weight: 500; }
.sr-cat {
  font-size: 12px; font-weight: 600; color: var(--grey-3);
  text-transform: uppercase; letter-spacing: .08em;
  background: var(--grey-6); padding: 2px 8px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero-section { background: var(--black); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-rows: 320px 200px;
  gap: 3px;
}
/* Lead story */
.hero-lead {
  grid-column: 1; grid-row: 1 / 3;
  position: relative; overflow: hidden; cursor: pointer;
}
.hero-lead img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.hero-lead:hover img { transform: scale(1.04); }
.hero-lead-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,12,12,.88) 0%, rgba(11,12,12,.3) 50%, transparent 80%);
}
.hero-lead-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: clamp(20px, 3vw, 36px);
  color: var(--white);
}
.hero-eyebrow {
  font-family: var(--f-body); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow-line { width: 24px; height: 2px; background: var(--green); flex-shrink: 0; }
.hero-lead-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700; line-height: 1.18;
  margin-bottom: 12px;
  font-optical-sizing: auto;
}
.hero-byline {
  font-family: var(--f-body); font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 10px;
}
.hero-byline-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.35); }

/* Stack cards (right column) */
.hero-stack { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 3px; }
.hero-stack-card {
  flex: 1; position: relative; overflow: hidden; cursor: pointer;
}
.hero-stack-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.hero-stack-card:hover img { transform: scale(1.05); }
.hero-stack-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,12,12,.82) 0%, rgba(11,12,12,.1) 60%, transparent 85%);
}
.hero-stack-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 18px; }
.hero-stack-cat {
  font-family: var(--f-body); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 5px;
}
.hero-stack-title {
  font-family: var(--f-display); font-size: 17px; font-weight: 600;
  line-height: 1.25; color: var(--white);
}
.hero-stack-card:hover .hero-stack-title { color: rgba(255,255,255,.85); }

/* ── Section rules — GOV.UK style ───────────────────────── */
.section-rule {
  display: flex; align-items: center; gap: var(--sp-4);
  margin: var(--sp-7) 0 var(--sp-5);
  border-top: 2px solid var(--black);
  padding-top: var(--sp-4);
}
.section-rule-title {
  font-family: var(--f-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--black); white-space: nowrap;
}
.section-rule-bar {
  flex: 1; height: 1px; background: var(--grey-5);
}
.section-rule-link {
  font-family: var(--f-body); font-size: 13px; font-weight: 600;
  color: var(--green); white-space: nowrap;
  transition: color var(--t);
}
.section-rule-link:hover { color: var(--green-dark); }

/* ── Page grid ───────────────────────────────────────────── */
.page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-8);
  align-items: start;
  padding-bottom: var(--sp-9);
}

/* ── Tab bar ─────────────────────────────────────────────── */
.tab-bar { display: flex; border-bottom: 2px solid var(--grey-5); margin-bottom: var(--sp-5); }
.tab-btn {
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--f-body); font-size: 14px; font-weight: 600;
  color: var(--grey-3); cursor: pointer;
  border-bottom: 4px solid transparent; margin-bottom: -2px;
  transition: color var(--t);
  letter-spacing: .02em;
}
.tab-btn.active { color: var(--black); border-bottom-color: var(--green); }
.tab-btn:hover { color: var(--black); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Article cards ───────────────────────────────────────── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-5); }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-5); }

.art-card { cursor: pointer; display: flex; flex-direction: column; }
.art-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10; background: var(--grey-6);
  margin-bottom: var(--sp-3);
}
.art-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.art-card:hover .art-card-img img { transform: scale(1.04); }
.art-card-break {
  position: absolute; top: 0; left: 0;
  background: var(--red); color: var(--white);
  font-family: var(--f-body); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px;
}
.art-card-cat {
  font-family: var(--f-body); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.art-card-cat::before { content: ''; width: 16px; height: 2px; background: currentColor; flex-shrink: 0; }
.art-card-title {
  font-family: var(--f-display);
  font-size: 19px; font-weight: 700; line-height: 1.3;
  color: var(--black); margin-bottom: 8px;
  transition: color var(--t);
  font-optical-sizing: auto;
}
.art-card:hover .art-card-title { color: var(--green); }
.art-card-exc {
  font-family: var(--f-body); font-size: 15px; font-weight: 300;
  color: var(--grey-2); line-height: 1.55; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 13px;
  color: var(--grey-4); margin-top: auto;
}
.art-card-author { color: var(--grey-2); font-weight: 500; }

/* Horizontal cards (sidebar) */
.art-h { display: flex; gap: var(--sp-3); padding: var(--sp-4) 0; border-bottom: 1px solid var(--grey-5); cursor: pointer; }
.art-h:last-child { border-bottom: none; }
.art-h-img { width: 90px; height: 65px; object-fit: cover; flex-shrink: 0; }
.art-h-cat { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 5px; }
.art-h-title { font-family: var(--f-display); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--black); margin-bottom: 4px; transition: color var(--t); }
.art-h:hover .art-h-title { color: var(--green); }
.art-h-meta { font-size: 12px; color: var(--grey-4); }

/* ── Spotlight (numbered list layout) ────────────────────── */
.spotlight-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--sp-6); }
.spot-main-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; margin-bottom: var(--sp-4); }
.spot-main-cat { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.spot-main-cat::before { content: ''; width: 16px; height: 2px; background: var(--green); }
.spot-main-title { font-family: var(--f-display); font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--black); margin-bottom: 10px; cursor: pointer; transition: color var(--t); }
.spot-main-title:hover { color: var(--green); }
.spot-main-exc { font-size: 15px; font-weight: 300; color: var(--grey-2); line-height: 1.6; }
.spot-list { display: flex; flex-direction: column; }
.spot-li { display: flex; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--grey-5); cursor: pointer; }
.spot-li:last-child { border-bottom: none; }
.spot-li-n { font-family: var(--f-display); font-size: 30px; font-weight: 800; color: var(--grey-5); line-height: 1; flex-shrink: 0; width: 32px; transition: color var(--t); }
.spot-li:hover .spot-li-n { color: var(--green); }
.spot-li-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.spot-li-title { font-family: var(--f-display); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--black); transition: color var(--t); }
.spot-li:hover .spot-li-title { color: var(--green); }
.spot-li-meta { font-size: 12px; color: var(--grey-4); margin-top: 4px; }

/* ── Load more ───────────────────────────────────────────── */
.load-more { text-align: center; margin: var(--sp-7) 0 0; }
.btn-load-more {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 12px 28px;
  border: 2px solid var(--black);
  font-family: var(--f-body); font-size: 14px; font-weight: 600;
  color: var(--black); letter-spacing: .04em;
  transition: all var(--t);
}
.btn-load-more:hover { background: var(--black); color: var(--white); }

/* ── Ad slots ────────────────────────────────────────────── */
.ad-slot { margin: var(--sp-7) 0; text-align: center; }
.ad-box {
  background: var(--grey-6); border: 1px solid var(--grey-5);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--f-body); font-size: 11px; font-weight: 500;
  color: var(--grey-4); letter-spacing: .06em; text-transform: uppercase; gap: 4px;
}
.ad-728 { width: 100%; max-width: 728px; height: 90px; }
.ad-300 { width: 300px; height: 250px; }
.ad-300-tall { width: 300px; height: 600px; }

/* ── Sidebar widgets ─────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: var(--sp-6); }
.sw { }
.sw-head {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 4px solid var(--black);
  padding-top: var(--sp-3); margin-bottom: var(--sp-4);
}
.sw-title { font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--black); }
.sw-link { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--green); }

/* Prayer times */
.prayer-widget { background: var(--green); padding: var(--sp-5); }
.prayer-widget .sw-head { border-color: rgba(255,255,255,.3); }
.prayer-widget .sw-title { color: rgba(255,255,255,.75); }
.prayer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-bottom: var(--sp-3); }
.prayer-cell { background: rgba(255,255,255,.1); padding: 10px 8px; text-align: center; }
.prayer-cell.now { background: rgba(255,255,255,.22); }
.prayer-name { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.prayer-time { font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--white); }
.prayer-next { font-size: 13px; color: rgba(255,255,255,.65); text-align: center; }
.prayer-next strong { color: var(--white); }

/* Trending list */
.trend-li { display: flex; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--grey-5); cursor: pointer; align-items: flex-start; }
.trend-li:last-child { border-bottom: none; }
.trend-n { font-family: var(--f-display); font-size: 28px; font-weight: 800; color: var(--grey-5); line-height: 1; flex-shrink: 0; width: 28px; transition: color var(--t); }
.trend-li:hover .trend-n { color: var(--green); }
.trend-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.trend-title { font-family: var(--f-display); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--black); transition: color var(--t); }
.trend-li:hover .trend-title { color: var(--green); }
.trend-views { font-size: 12px; color: var(--grey-4); margin-top: 3px; }

/* Newsletter */
.nl-widget { background: var(--grey-6); padding: var(--sp-5); }
.nl-title { font-family: var(--f-display); font-size: 24px; font-weight: 700; margin-bottom: var(--sp-2); line-height: 1.2; }
.nl-desc { font-size: 15px; font-weight: 300; color: var(--grey-2); line-height: 1.55; margin-bottom: var(--sp-4); }
.nl-input {
  display: block; width: 100%; padding: 10px 14px;
  border: 2px solid var(--black); font-family: var(--f-body); font-size: 16px;
  margin-bottom: var(--sp-3); outline: none;
  transition: border-color var(--t);
}
.nl-input:focus { border-color: var(--green); outline: 3px solid var(--focus); }
.nl-btn {
  display: block; width: 100%; padding: 12px;
  background: var(--green); color: var(--white);
  font-family: var(--f-body); font-size: 16px; font-weight: 600;
  transition: background var(--t);
}
.nl-btn:hover { background: var(--green-dark); }
.nl-small { font-size: 13px; color: var(--grey-3); margin-top: var(--sp-2); }

/* Category list */
.cat-li { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--grey-5); cursor: pointer; transition: all var(--t); }
.cat-li:last-child { border-bottom: none; }
.cat-li:hover { padding-left: var(--sp-2); }
.cat-li-left { display: flex; align-items: center; gap: var(--sp-3); font-size: 15px; font-weight: 400; }
.cat-li-dot { width: 10px; height: 10px; flex-shrink: 0; }
.cat-li:hover .cat-li-left { color: var(--green); }
.cat-li-count { font-size: 12px; color: var(--grey-4); background: var(--grey-6); padding: 2px 8px; }

/* ── About section ───────────────────────────────────────── */
.about-section { background: var(--black); padding: clamp(48px,6vw,80px) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,96px); align-items: center; }
.about-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: var(--sp-4); }
.about-title { font-family: var(--f-display); font-size: clamp(32px,4vw,48px); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: var(--sp-5); }
.about-title em { font-style: normal; color: var(--green); }
.about-body { font-size: 17px; font-weight: 300; color: rgba(255,255,255,.65); line-height: var(--lh-relaxed); margin-bottom: var(--sp-6); max-width: 480px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
  font-family: var(--f-body); font-size: 15px; font-weight: 600;
  transition: all var(--t);
}
.btn-ghost:hover { border-color: var(--green); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(255,255,255,.08); }
.stat-box { background: rgba(255,255,255,.04); padding: 32px; text-align: center; }
.stat-val { display: block; font-family: var(--f-display); font-size: 44px; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 8px; }
.stat-lbl { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--grey-6); border-top: 4px solid var(--black); padding: clamp(40px,5vw,60px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--grey-5); }
.footer-logo { font-family: var(--f-display); font-size: 28px; font-weight: 800; letter-spacing: -1px; color: var(--black); margin-bottom: 12px; }
.footer-logo .accent { color: var(--green); }
.footer-desc { font-size: 15px; font-weight: 300; color: var(--grey-2); line-height: 1.65; margin-bottom: 20px; max-width: 280px; }
.footer-socs { display: flex; gap: 8px; }
.footer-soc {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 2px solid var(--grey-5);
  font-size: 13px; font-weight: 700; color: var(--grey-2);
  transition: all var(--t);
}
.footer-soc:hover { border-color: var(--black); color: var(--black); }
.footer-col-h { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--black); margin-bottom: 16px; border-bottom: 2px solid var(--black); padding-bottom: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 15px; font-weight: 400; color: var(--grey-2); transition: color var(--t); }
.footer-links a:hover { color: var(--green); }
.footer-nl { display: flex; margin-top: 8px; }
.footer-nl-input { flex: 1; padding: 10px 14px; border: 2px solid var(--black); border-right: none; font-family: var(--f-body); font-size: 15px; outline: none; }
.footer-nl-btn { padding: 0 18px; background: var(--green); color: var(--white); font-size: 18px; font-weight: 700; border: 2px solid var(--green); transition: background var(--t); }
.footer-nl-btn:hover { background: var(--green-dark); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  font-size: 13px; color: var(--grey-3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--grey-3); transition: color var(--t); }
.footer-bottom-links a:hover { color: var(--green); }

/* ── Cookie banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--black);
  border-top: 4px solid var(--green);
  padding: var(--sp-4) var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
  font-size: 14px;
}
.cookie-text { color: rgba(255,255,255,.75); max-width: 620px; line-height: 1.6; }
.cookie-text a { color: rgba(255,255,255,.9); text-decoration: underline; }
.cookie-btns { display: flex; gap: var(--sp-3); flex-shrink: 0; }
.btn-cookie-accept {
  padding: 10px 20px; background: var(--green); color: var(--white);
  font-family: var(--f-body); font-size: 14px; font-weight: 600; transition: background var(--t);
}
.btn-cookie-accept:hover { background: var(--green-dark); }
.btn-cookie-manage {
  padding: 10px 18px;
  border: 2px solid rgba(255,255,255,.25); color: rgba(255,255,255,.65);
  font-family: var(--f-body); font-size: 14px; font-weight: 500; transition: all var(--t);
}
.btn-cookie-manage:hover { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.9); }

/* ── Back to top ─────────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 80px; right: 24px;
  width: 44px; height: 44px;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300; z-index: 700;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: all var(--t);
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--green); }

/* ── Reading progress ────────────────────────────────────── */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; background: transparent; }
.reading-bar { height: 100%; background: var(--green); width: 0; transition: width .1s linear; }

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 80px; right: 24px;
  padding: 14px 20px; background: var(--black); color: var(--white);
  font-family: var(--f-body); font-size: 14px; font-weight: 500;
  box-shadow: 0 4px 20px rgba(11,12,12,.3);
  z-index: 900; border-left: 4px solid var(--green);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: all var(--t);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { border-left-color: var(--red); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 280px; }
  .page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { max-width: 400px; }
  .card-grid-3 { grid-template-columns: repeat(2,1fr); }
  .util-block:nth-child(n+3) { display: none; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 320px; }
  .hero-stack { display: none; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .spotlight-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .util-block { display: none; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .hero-lead-title { font-size: 22px; }
  .stat-val { font-size: 34px; }
}
