/* ═══════════════════════════════════════════════════════
   Puget Sound Backgammon Club — Modern Design System
   Brand: Forest green #1f5245 · Teal #0dbdad · Cream #f9f7f0
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── Tokens ──────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #f8f6ef;
  --bg-2:         #edeae0;
  --surface:      #ffffff;
  --surface-2:    #f4f1e9;
  --border:       #e6e2d8;
  --border-2:     #cdc9bc;

  /* Brand greens */
  --forest:       #1f5245;
  --forest-mid:   #2a6c5d;
  --forest-light: #477d74;
  --forest-faint: rgba(31,82,69,0.06);

  /* Teal accent */
  --gold:         #0dbdad;
  --gold-light:   #3dd5c8;
  --gold-dim:     #007073;
  --gold-faint:   rgba(13,189,173,0.09);

  /* Text */
  --cream:        #f8f6ef;
  --cream-dim:    #d6d1c4;
  --text:         #1c1c1c;
  --text-dim:     #525252;
  --muted:        #8a8a8a;
  --red:          #d93025;

  /* Checker brand element */
  --checker-1:    #1f5245;
  --checker-2:    #f8f6ef;

  /* Typography */
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Sizing */
  --nav-h:        68px;
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-pill:  100px;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow:       0 2px 8px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.05);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.1), 0 24px 64px rgba(0,0,0,0.06);
}

/* ─── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ─── Navigation ──────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(31, 82, 69, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 1.2;
  color: rgba(248,246,239,0.9);
}
.brand-text em {
  display: block;
  font-style: normal;
  color: var(--gold-light);
  font-size: 0.75rem;
}

/* Legacy brand-checker — hidden, replaced by logo */
.brand-checker { display: none; }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(248,246,239,0.75);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.active { color: #fff; }

.nav-chevron {
  width: 8px; height: 5px;
  fill: currentColor;
  transition: transform 0.2s;
  opacity: 0.6;
}

/* Dropdowns */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 200px;
  background: #163d32;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.5rem 0 0.4rem;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.dropdown li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 400;
  color: rgba(248,246,239,0.75);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--gold-light);
}
.dropdown li + li { border-top: 1px solid rgba(255,255,255,0.05); }

.dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.3rem 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(248,246,239,0.8);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Page shell ──────────────────────────────────────── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── Section logo (inline circular logo) ────────────── */
.section-logo {
  display: block;
  margin: 1rem auto 1.5rem;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ─── Cover image (above hero) ────────────────────────── */
.cover {
  background: var(--bg);
  padding: 0;
  line-height: 0;
}
.cover-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  object-position: center;
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Puget Sound photo with forest green overlay */
  background:
    linear-gradient(to bottom,
      rgba(20,58,44,0.72) 0%,
      rgba(18,50,38,0.78) 60%,
      rgba(14,42,30,0.92) 100%),
    url('https://images.unsplash.com/photo-1508739773434-c26b3d09e071?auto=format&fit=crop&w=1920&q=80')
    center 40% / cover no-repeat;
}

/* Backgammon triangle pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='320'%3E%3Cpolygon points='0,0 40,300 80,0' fill='%230dbdad' opacity='0.08'/%3E%3Cpolygon points='80,0 120,300 160,0' fill='%230dbdad' opacity='0.04'/%3E%3Cpolygon points='160,0 200,300 240,0' fill='%230dbdad' opacity='0.08'/%3E%3Cpolygon points='240,0 280,300 320,0' fill='%230dbdad' opacity='0.04'/%3E%3Cpolygon points='320,0 360,300 400,0' fill='%230dbdad' opacity='0.08'/%3E%3Cpolygon points='400,0 440,300 480,0' fill='%230dbdad' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 480px 320px;
  background-position: center bottom;
  background-repeat: repeat-x;
  pointer-events: none;
}

/* Bottom vignette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,42,30,0.6) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 900px;
  animation: fadeUp 0.8s ease both;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 3px rgba(255,255,255,0.15);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  font-style: normal;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.hero-desc {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,189,173,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dim);
  border: 1.5px solid var(--gold-dim);
}
.btn-outline:hover {
  background: var(--gold-dim);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-1px);
}

.btn-forest {
  background: var(--forest);
  color: #fff;
}
.btn-forest:hover {
  background: var(--forest-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31,82,69,0.3);
}

/* ─── Section base ────────────────────────────────────── */
section {
  padding: 5.5rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after {
  content: '';
  flex: 0 0 32px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.4;
  border-radius: 2px;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-dim);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ─── Cards ───────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid var(--border);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ─── Standings Table ─────────────────────────────────── */
.standings-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

table.standings {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.standings thead th {
  padding: 0.875rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-weight: 500;
}
.standings thead th.right { text-align: right; }

.standings tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.standings tbody tr:hover { background: var(--forest-faint); }
.standings tbody tr:last-child { border-bottom: none; }

.standings tbody td {
  padding: 0.8rem 1rem;
  color: var(--text);
}
.standings tbody td.right {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.standings tbody td.total {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--forest);
}

.rank-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 2rem;
  display: inline-block;
}
.rank-num.gold { color: #c9963a; font-weight: 600; }
.rank-num.silver { color: #808080; }
.rank-num.bronze { color: #8b6914; }

.member-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-sm);
  vertical-align: middle;
  margin-left: 0.4rem;
}
.badge-member { background: rgba(13,189,173,0.1); color: var(--gold-dim); border: 1px solid rgba(13,189,173,0.25); }
.badge-guest  { background: var(--forest-faint); color: var(--muted); border: 1px solid var(--border-2); }

/* ─── Accordion ───────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.accordion-trigger {
  width: 100%;
  background: var(--surface);
  border: none;
  text-align: left;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  transition: background 0.15s;
}
.accordion-trigger:hover { background: var(--surface-2); }
.accordion-trigger.open { color: var(--forest); }

.accordion-icon {
  width: 14px; height: 14px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s;
  opacity: 0.5;
}
.accordion-trigger.open .accordion-icon { transform: rotate(180deg); opacity: 1; }

.accordion-body {
  display: none;
  padding: 0 1.5rem 1.5rem;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.accordion-body.open { display: block; }
.accordion-body p + p { margin-top: 0.75rem; }
.accordion-body strong { color: var(--text); font-weight: 600; }

/* ─── Resource Links ──────────────────────────────────── */
.resource-group {
  margin-bottom: 3rem;
}

.resource-group h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: normal;
  color: var(--forest);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.link-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem;
}

.link-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.18s;
  box-shadow: var(--shadow-xs);
}
.link-list li a:hover {
  border-color: var(--gold);
  color: var(--forest);
  background: var(--gold-faint);
  transform: translateX(2px);
}
.link-list li a::before {
  content: '→';
  font-size: 0.78rem;
  color: var(--gold);
  flex-shrink: 0;
}
.link-list li a[target="_blank"]::after {
  content: '↗';
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: auto;
}

/* ─── Page header (sub-pages) ─────────────────────────── */
.page-header {
  padding: 4.5rem 1.5rem 3.5rem;
  background: var(--forest);
  border-bottom: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle triangle pattern on page headers */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160'%3E%3Cpolygon points='0,0 20,150 40,0' fill='%230dbdad' opacity='0.07'/%3E%3Cpolygon points='40,0 60,150 80,0' fill='%230dbdad' opacity='0.04'/%3E%3Cpolygon points='80,0 100,150 120,0' fill='%230dbdad' opacity='0.07'/%3E%3Cpolygon points='120,0 140,150 160,0' fill='%230dbdad' opacity='0.04'/%3E%3Cpolygon points='160,0 180,150 200,0' fill='%230dbdad' opacity='0.07'/%3E%3Cpolygon points='200,0 220,150 240,0' fill='%230dbdad' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 240px 160px;
  background-repeat: repeat-x;
  background-position: bottom;
  pointer-events: none;
}

.page-header h1 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  font-style: normal;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.page-header .subtitle {
  position: relative;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  font-style: normal;
}

/* ─── Gallery ─────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.photo-item {
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
  transition: box-shadow 0.2s;
  box-shadow: var(--shadow-xs);
}
.photo-item:hover { box-shadow: var(--shadow); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Divider ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-2), transparent);
  margin: 0;
}

/* ─── Footer ──────────────────────────────────────────── */
footer {
  margin-top: auto;
  background: var(--forest);
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(248,246,239,0.5);
}

footer .footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

footer .footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: normal;
  color: rgba(248,246,239,0.9);
  margin-bottom: 0.5rem;
}

footer a { color: var(--gold-light); }
footer a:hover { color: #fff; }

/* ─── Utilities ───────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.notice {
  padding: 1rem 1.25rem;
  background: var(--gold-faint);
  border: 1px solid rgba(13,189,173,0.3);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text-dim);
}

.loading-text {
  color: var(--muted);
  font-style: normal;
  padding: 2rem;
  text-align: center;
}
.error-text {
  color: var(--red);
  font-style: normal;
  padding: 1rem;
  background: rgba(217,48,37,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(217,48,37,0.15);
}

/* ─── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(31,82,69,0.99);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-direction: column;
    padding: 0.75rem 0 1.5rem;
    gap: 0;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { padding: 0.7rem 1.5rem; font-size: 0.95rem; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-radius: 0;
    padding: 0;
    background: rgba(0,0,0,0.12);
    display: none;
  }
  .has-dropdown.mobile-open .dropdown { display: block; }
  .dropdown li a { padding: 0.6rem 2.5rem; font-size: 0.88rem; }

  .hero { min-height: 75vh; }
  section { padding: 4rem 1.25rem; }
  .card-grid { grid-template-columns: 1fr; }
  .hide-mobile { display: none !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
