/*
Theme Name: Roots & Routes
Author: Roots & Routes Team
Description: A modern WordPress theme for location intelligence platform.
Version: 1.0
Text Domain: roots-routes
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #e8571a;
  --orange-light: #fdf2ed;
  --black: #111111;
  --mid: #444444;
  --muted: #888888;
  --light: #bbbbbb;
  --border: #e8e8e8;
  --bg: #ffffff;
  --surface: #f7f7f7;
  --blue: #2d86c8;
  --gold: #c9922a;
  --green: #2a8c4a;
  --red: #c83030;
  --purple: #7c4dbb;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--black); overflow-x: hidden; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 80px; /* Increased height for logo */
}
.nav-logo, .footer-logo {
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo img, .footer-logo img {
  height: 60px; /* reasonably large */
  background-color: white; /* white background as requested */
  padding: 5px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.nav-links { display: flex; gap: 4px; }
.nav-link {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); background: none; border: none;
  padding: 8px 14px; cursor: pointer;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-cta {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--orange); color: white; border: none;
  padding: 10px 20px; cursor: pointer;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ══════════════════════════════════════
   PAGES
══════════════════════════════════════ */
.page { display: none; padding-top: 80px; min-height: 100vh; } /* Increased top padding */
.page.active { display: block; }

/* ══════════════════════════════════════
   HOME PAGE
══════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 80px);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 48px;
  gap: 80px;
  border-bottom: 1px solid var(--border);
}
.hero-left {}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero-eyebrow-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 5vw, 72px); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.02em; color: var(--black);
  margin-bottom: 24px;
}
.hero-title em { color: var(--orange); font-style: italic; }
.hero-subtitle {
  font-size: 17px; line-height: 1.7; color: var(--mid);
  max-width: 520px; margin-bottom: 40px;
}
.hero-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--muted); font-style: italic; margin-bottom: 40px;
}
.hero-tagline strong { color: var(--orange); font-style: normal; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--orange); color: white; border: none;
  padding: 14px 28px; cursor: pointer; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: none; color: var(--black); border: 1px solid var(--border);
  padding: 14px 28px; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

/* hero right — stats grid */
.hero-right {}
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.stat-cell {
  background: white; padding: 32px 28px;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 900; line-height: 1; color: var(--orange);
  margin-bottom: 8px;
}
.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.stat-desc { font-size: 13px; color: var(--mid); margin-top: 6px; }

/* tickers */
.methodology-strip {
  background: var(--black); padding: 20px 48px;
  display: flex; gap: 48px; overflow: hidden;
}
.method-item {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.method-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.method-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #666;
  white-space: nowrap;
}
.method-text strong { color: var(--orange); }

/* featured season */
.section { padding: 80px 48px; border-bottom: 1px solid var(--border); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px); font-weight: 900; color: var(--black);
}
.section-title em { color: var(--orange); font-style: italic; }
.section-link {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); background: none; border: none; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* country cards grid */
.countries-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.country-card {
  background: white; padding: 28px;
  cursor: pointer; transition: background 0.2s;
  position: relative;
}
.country-card:hover { background: var(--orange-light); }
.country-card-ep {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light);
  margin-bottom: 10px;
}
.country-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; color: var(--black); margin-bottom: 4px;
}
.country-card-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
.country-card-scores { display: flex; gap: 8px; margin-bottom: 16px; }
.score-pip {
  flex: 1; height: 3px;
}
.country-card-bottom {
  display: flex; align-items: center; justify-content: space-between;
}
.country-card-score {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900; color: var(--orange);
}
.country-card-verdict {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: white; background: var(--orange); padding: 4px 10px;
}

/* tool preview section */
.tool-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.tool-card {
  background: white; padding: 48px 40px; cursor: pointer;
  transition: background 0.15s;
}
.tool-card:hover { background: var(--surface); }
.tool-card-icon {
  font-size: 32px; margin-bottom: 20px;
}
.tool-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--black); margin-bottom: 8px;
}
.tool-card-title em { color: var(--orange); font-style: italic; }
.tool-card-desc { font-size: 14px; line-height: 1.7; color: var(--mid); margin-bottom: 24px; }
.tool-card-cta {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
}

/* about strip */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding: 80px 48px;
}
.about-col-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900; line-height: 1.1; color: var(--black);
  margin-bottom: 20px;
}
.about-col-title em { color: var(--orange); font-style: italic; }
.about-col-body { font-size: 15px; line-height: 1.8; color: var(--mid); }
.pestel-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pestel-item { display: flex; align-items: center; gap: 14px; }
.pestel-letter {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900; color: var(--orange);
  width: 24px; flex-shrink: 0;
}
.pestel-desc { font-size: 14px; color: var(--mid); }
.pestel-desc strong { color: var(--black); }

/* ══════════════════════════════════════
   FIND MY COUNTRY
══════════════════════════════════════ */
.tool-header {
  padding: 60px 48px 0;
  border-bottom: 1px solid var(--border);
}
.tool-header-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px); font-weight: 900;
  margin-bottom: 8px;
}
.tool-header-title em { color: var(--orange); font-style: italic; }
.tool-header-sub {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 32px;
}

.tool-body { padding: 48px; }

.weights-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-bottom: 32px;
}
.weight-card {
  background: var(--surface); padding: 20px 22px;
  border: 1px solid var(--border);
}
.weight-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.weight-label { font-size: 14px; font-weight: 500; color: var(--black); }
.weight-label small {
  display: block; font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.1em; color: var(--light); text-transform: uppercase; margin-top: 2px;
}
.weight-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--orange); min-width: 32px; text-align: right;
}
.weight-slider {
  -webkit-appearance: none; width: 100%; height: 3px;
  background: var(--border); outline: none; cursor: pointer;
}
.weight-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px;
  background: var(--orange); cursor: pointer; border-radius: 0;
  box-shadow: 0 0 0 3px white, 0 0 0 4px var(--orange);
}

.reset-btn {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: none; border: 1px solid var(--border);
  padding: 8px 16px; cursor: pointer; margin-bottom: 36px; transition: color 0.2s, border-color 0.2s;
}
.reset-btn:hover { color: var(--orange); border-color: var(--orange); }

.ranking-list { display: flex; flex-direction: column; gap: 10px; }
.rank-card {
  display: grid; grid-template-columns: 52px 1fr auto;
  align-items: center; gap: 20px; padding: 22px 24px;
  border: 1px solid var(--border); background: white; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.rank-card:hover { border-color: var(--orange); background: var(--orange-light); }
.rank-card.rank-1 { border-left: 4px solid var(--orange); }
.rank-card.rank-2 { border-left: 4px solid var(--mid); }
.rank-card.rank-3 { border-left: 4px solid #ccc; }
.rank-number {
  font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 900;
  color: var(--border); line-height: 1;
}
.rank-card.rank-1 .rank-number { color: var(--orange); }
.rank-card.rank-2 .rank-number { color: var(--mid); }
.rank-card.rank-3 .rank-number { color: #bbb; }
.rank-info {}
.rank-country { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; }
.rank-tagline { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.rank-bars { display: flex; gap: 4px; margin-top: 10px; }
.rank-bar-item { flex: 1; }
.rank-bar-track { height: 3px; background: var(--border); position: relative; overflow: hidden; }
.rank-bar-fill { height: 100%; width: 0; transition: width 0.8s cubic-bezier(.4,0,.2,1); }
.rank-bar-lbl { font-family: 'DM Mono', monospace; font-size: 8px; color: var(--light); margin-top: 3px; }
.rank-score-block { text-align: right; flex-shrink: 0; }
.rank-weighted-score { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; color: var(--orange); line-height: 1; }
.rank-weighted-lbl { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.rank-verdict-badge {
  display: inline-block; margin-top: 6px; background: var(--orange); color: white;
  font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px;
}

/* ══════════════════════════════════════
   COMPARE
══════════════════════════════════════ */
.compare-selectors {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: 16px; align-items: center; margin-bottom: 40px;
}
.vs-label {
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900;
  color: var(--border); text-align: center;
}
.country-select {
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  padding: 14px 16px; border: 1px solid var(--border);
  background: white; color: var(--black); width: 100%; cursor: pointer;
  outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  transition: border-color 0.2s;
}
.country-select:focus { border-color: var(--orange); }

.compare-grid { display: grid; grid-template-columns: 1fr 80px 1fr; }
.compare-col-header {
  padding: 24px; border: 1px solid var(--border); border-bottom: none; background: var(--surface);
}
.compare-col-country { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; }
.compare-col-tagline { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.compare-col-score { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900; color: var(--orange); line-height: 1; margin-top: 8px; }
.compare-col-score span { font-size: 14px; color: var(--light); font-family: 'DM Mono', monospace; }
.compare-center-header {
  padding: 24px 0; background: var(--surface); border-bottom: none;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light);
}
.compare-cell {
  padding: 16px 24px; border: 1px solid var(--border); border-top: none;
  display: flex; flex-direction: column; justify-content: center;
}
.compare-cell.right-cell { border-left: none; }
.compare-cell-lbl { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light); margin-bottom: 6px; }
.compare-cell-score { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.compare-cell-badge { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.compare-cell.winner { background: #fffaf7; }
.compare-cell.winner .compare-cell-score { color: var(--orange); }
.compare-cell.loser .compare-cell-score { color: #ccc; }
.cbar { height: 3px; margin-top: 8px; background: var(--border); position: relative; overflow: hidden; }
.cbar-fill { height: 100%; width: 0; transition: width 0.8s ease; }
.compare-center-cell {
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500;
}
.diff-pos { color: var(--green); }
.diff-neg { color: var(--red); }
.diff-zero { color: var(--light); }
.compare-overall {
  display: grid; grid-template-columns: 1fr 80px 1fr;
  border-top: 2px solid var(--black); margin-top: 0;
}
.compare-overall-cell { padding: 24px; border: 1px solid var(--border); border-top: none; }
.compare-overall-lbl { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.compare-overall-score { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900; color: var(--orange); }
.compare-overall-score span { font-size: 14px; color: var(--light); font-family: 'DM Mono', monospace; }
.compare-overall-verdict { display: inline-block; margin-top: 8px; background: var(--orange); color: white; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; }
.compare-overall-center { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 600; }

/* ══════════════════════════════════════
   SEASONS PAGE
══════════════════════════════════════ */
.seasons-hero {
  padding: 80px 48px; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.season-card {
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.2s;
}
.season-card:hover { border-color: var(--orange); }
.season-card-header {
  background: var(--black); padding: 32px 36px;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.season-card-number {
  font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 900;
  line-height: 1; color: #222;
}
.season-card-label {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #666;
}
.season-card-title {
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: white;
  margin-top: 4px;
}
.season-card-status {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; flex-shrink: 0;
}
.status-live { background: var(--orange); color: white; }
.status-coming { background: #222; color: #555; border: 1px solid #333; }
.season-card-countries { padding: 24px 36px; display: flex; flex-direction: column; gap: 0; }
.season-country-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer;
  transition: color 0.2s;
}
.season-country-row:last-child { border-bottom: none; }
.season-country-row:hover .scr-name { color: var(--orange); }
.scr-left { display: flex; align-items: center; gap: 14px; }
.scr-ep { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light); width: 48px; }
.scr-name { font-size: 15px; font-weight: 500; transition: color 0.2s; }
.scr-tagline { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); }
.scr-score {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--orange);
}
.scr-score.tbd { color: var(--border); font-size: 14px; font-family: 'DM Mono', monospace; }

/* ══════════════════════════════════════
   COUNTRY DETAIL PAGE
══════════════════════════════════════ */
.country-hero {
  padding: 80px 48px; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: start;
}
.country-hero-back {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: none; border: none; cursor: pointer;
  margin-bottom: 32px; display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.country-hero-back:hover { color: var(--orange); }
.country-hero-ep { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.country-hero-name { font-family: 'Playfair Display', serif; font-size: clamp(48px, 6vw, 80px); font-weight: 900; line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 12px; }
.country-hero-name em { color: var(--orange); font-style: italic; }
.country-hero-tagline { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.country-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.country-quick-stat { border-left: 2px solid var(--orange); padding-left: 12px; }
.country-quick-stat-val { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--black); }
.country-quick-stat-lbl { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* score card on detail page */
.detail-score-card { border: 1px solid var(--border); }
.detail-score-header { padding: 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.detail-score-overall { font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 900; color: var(--orange); line-height: 1; }
.detail-score-overall span { font-size: 18px; color: var(--light); font-family: 'DM Mono', monospace; }
.detail-verdict { display: inline-block; margin-top: 8px; background: var(--orange); color: white; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 14px; }
.detail-score-rows { }
.detail-score-row {
  display: grid; grid-template-columns: 1fr 120px 60px;
  align-items: center; gap: 16px; padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}
.detail-score-row:last-child { border-bottom: none; }
.detail-row-label { font-size: 13px; color: var(--black); }
.detail-row-label small { display: block; font-family: 'DM Mono', monospace; font-size: 9px; color: var(--light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.detail-row-bar { height: 3px; background: var(--border); position: relative; overflow: hidden; }
.detail-row-bar-fill { height: 100%; width: 0; transition: width 0.8s ease; }
.detail-row-score { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; text-align: right; }

/* country sections */
.country-sections { padding: 0 48px 80px; }
.country-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.country-section:last-child { border-bottom: none; }
.cs-header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.cs-pestel { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.cs-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; }
.cs-body { font-size: 15px; line-height: 1.8; color: var(--mid); max-width: 720px; }

/* ══════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════ */
.about-hero {
  padding: 100px 48px; border-bottom: 1px solid var(--border);
  max-width: 800px;
}
.about-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1.05; margin-bottom: 24px; }
.about-hero-title em { color: var(--orange); font-style: italic; }
.about-hero-body { font-size: 17px; line-height: 1.8; color: var(--mid); }
.about-manifesto {
  padding: 80px 48px; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.manifesto-quote {
  font-family: 'Playfair Display', serif; font-size: 32px; font-style: italic;
  font-weight: 700; line-height: 1.3; color: var(--black);
}
.manifesto-quote em { color: var(--orange); }
.manifesto-body { font-size: 15px; line-height: 1.8; color: var(--mid); }
.methodology-section { padding: 80px 48px; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 40px; }
.method-cell { background: white; padding: 32px 28px; }
.method-cell-letter { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: 12px; }
.method-cell-name { font-size: 16px; font-weight: 600; color: var(--black); margin-bottom: 8px; }
.method-cell-desc { font-size: 13px; line-height: 1.7; color: var(--mid); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--black); padding: 60px 48px 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
}
.footer-brand-col {}
/* The footer logo text style we can keep as backup, but we will wrap it in .footer-logo mostly */
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: white; margin-bottom: 12px; }
.footer-tagline { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #444; }
.footer-col-title { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #444; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 13px; color: #666; cursor: pointer; background: none; border: none; text-align: left; transition: color 0.2s; }
.footer-link:hover { color: var(--orange); }
.footer-bottom { grid-column: 1/-1; border-top: 1px solid #1a1a1a; padding-top: 24px; margin-top: 20px; display: flex; justify-content: space-between; }
.footer-copyright { font-family: 'DM Mono', monospace; font-size: 10px; color: #333; letter-spacing: 0.1em; }

/* ══════════════════════════════════════
   UTILITIES
══════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; }
.page-inner { max-width: 1200px; margin: 0 auto; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero, .about-strip, .seasons-hero, .country-hero, .about-manifesto { grid-template-columns: 1fr; gap: 40px; }
  .section, .tool-body, .country-sections { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 40px 20px; }
  footer { grid-template-columns: 1fr; }
}
