/* ============================================
   THE SUNDAY MARKET — style.css
   Aesthetic: warm editorial, handmade-meets-print
   ============================================ */

:root {
  --primary:   #425DAA;
  --cream:     #F5F0E8;
  --warm-white:#FAF7F2;
  --ink:       #1C1A17;
  --bark:      #3D2F1F;
  --rust:      #C4521A;
  --mustard:   #D4A017;
  --sage:      #7A8C6E;
  --blush:     #E8C4A8;
  --paper:     #EDE6D8;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', sans-serif;

  --max-w: 1200px;
  --gap:   clamp(1.5rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* p { text-align: justify; } */

/* ─── HEADER ─────────────────────────────── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem var(--gap);
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61,47,31,0.12);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.logo-mark {
  color: var(--primary);
  font-size: 1rem;
  animation: spin-slow 12s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a { transition: color 0.2s; }
.site-nav a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--cream) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--ink) !important; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
}

/* ─── HERO ───────────────────────────────── */

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 6rem) var(--gap) clamp(2.5rem, 6vw, 6rem) clamp(2rem, 6vw, 6rem);
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.4rem;
  animation: fade-up 0.7s ease both;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 28px;
  background: var(--primary);
}

.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--bark);
  margin-bottom: 1.6rem;
  animation: fade-up 0.7s 0.1s ease both;
}

.hero-headline em {
  font-style: italic;
  color: var(--primary);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: #5A4A38;
  max-width: 38ch;
  margin-bottom: 2.4rem;
  animation: fade-up 0.7s 0.2s ease both;
  text-align: justify;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fade-up 0.7s 0.3s ease both;
}

.btn-primary {
  background: var(--primary);
  color: var(--warm-white);
  padding: 0.85rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--ink); color: white; transform: translateY(-1px); }

.btn-ghost {
    /* 1. Reset Button Defaults */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    font-family: inherit; /* Ensures it matches the links exactly */

    vertical-align: middle;
    
    /* 2. Your Existing Styles */
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bark);
    border-bottom: 1.5px solid var(--bark);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
    color: var(--primary);
    border-color: var(--primary);
    outline: none; /* Prevents default browser focus ring if clicked */
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  animation: fade-up 0.7s 0.4s ease both;
}

.tag {
  background: var(--paper);
  border: 1px solid rgba(61,47,31,0.15);
  color: var(--bark);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* ─── HERO IMAGE PANEL ───────────────────── */

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  /* background: var(--bark); */
}

/* Placeholder hero — replace with <img> */
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 12px
    ),
    linear-gradient(160deg, #3D2F1F 0%, #5C3D1E 40%, #C4521A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.25);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.hero-image-placeholder::after {
  content: '[ hero image ]';
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: -1.2rem;
  background: var(--mustard);
  color: var(--bark);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.7rem 1.4rem 0.7rem 2rem;
  letter-spacing: 0.04em;
  box-shadow: 3px 3px 0 var(--bark);
  z-index: 3;
  animation: fade-up 0.7s 0.5s ease both;
}

/* ─── TICKER ─────────────────────────────── */

.ticker-wrap {
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 0;
  overflow: hidden;
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 2.5rem;
}

.ticker-track span.dot {
  color: var(--primary);
  padding: 0;
}

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

/* ─── ABOUT / MARKET DESC ────────────────── */

.section {
  padding: clamp(4rem, 8vw, 8rem) var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.about-heading {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bark);
  position: sticky;
  top: 100px;
}

.about-heading em {
  font-style: italic;
  color: var(--primary);
}

.about-body p {
  margin-bottom: 1.3rem;
  color: #4A3A2A;
  font-size: 1rem;
  text-align: justify;
}

.about-body p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(61,47,31,0.12);
  border: 1px solid rgba(61,47,31,0.12);
  margin-top: 2.5rem;
}

.stat-item {
  background: var(--warm-white);
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bark);
  font-weight: 500;
}

/* ─── CATEGORY CARDS ─────────────────────── */

.categories-section {
  background: var(--paper);
  padding: clamp(4rem, 8vw, 8rem) var(--gap);
}

.categories-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--bark);
  line-height: 1.15;
}

.section-title em { font-style: italic; color: var(--primary); }

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

.cat-card {
  background: var(--cream);
  border: 1px solid rgba(61,47,31,0.1);
  border-radius: 3px;
  padding: 1.8rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(61,47,31,0.12);
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.cat-card:hover::before { transform: scaleX(1); }

.cat-icon {
  display: block;
  width: min-content; /* Shrinks the block to the size of the icon */
  margin-left: auto;
  margin-right: auto;
  font-size: 2rem;
}

.cat-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bark);
  margin-bottom: 0.4rem;
  text-align: center;
}

.cat-desc {
  font-size: 0.82rem;
  color: #6A5442;
  line-height: 1.5;
  text-align: center;
}

/* ─── CTA BAND ───────────────────────────── */

.cta-band {
  background: var(--bark);
  background: rgba(77, 93, 170, .95);
  color: var(--cream);
  padding: clamp(3.5rem, 7vw, 7rem) var(--gap);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '✦';
  position: absolute;
  font-size: 28rem;
  color: rgba(255,255,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  font-family: sans-serif;
}

.cta-band h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-band h2 em { font-style: italic; color: var(--ink); }

.cta-band p {
  font-size: 1rem;
  color: rgba(245,240,232,0.7);
  max-width: 44ch;
  margin: 0 auto 2rem;
}

.btn-light {
  background: var(--cream);
  color: var(--bark);
  padding: 0.85rem 2.2rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-light:hover { background: var(--ink); color: white; }

/* ─── FOOTER ─────────────────────────────── */

.site-footer {
  background: var(--ink);
  color: rgba(245,240,232,0.55);
  padding: 2.2rem var(--gap);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--cream);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ANIMATIONS */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── MOBILE NAVIGATION ───────────────────── */
 
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 23, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
 
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
 
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  max-width: 85vw;
  background: var(--cream);
  box-shadow: -4px 0 20px rgba(28, 26, 23, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 201;
  overflow-y: auto;
}
 
.mobile-nav-overlay.active .mobile-nav {
  transform: translateX(0);
}
 
.mobile-nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--bark);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.mobile-nav-close:hover {
  opacity: 1;
}
 
.mobile-nav-inner {
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
 
.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bark);
  padding: 1rem 1.2rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
 
.mobile-nav-link:hover {
  background: var(--paper);
  color: var(--primary);
}
 
.mobile-nav-cta {
  background: var(--primary);
  color: var(--cream) !important;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}
 
.mobile-nav-cta:hover {
  background: var(--bark) !important;
}

/* RESPONSIVE */

/* TABLET (1024px and below) */
@media (max-width: 1024px) {
  
  /* Header */
  .site-nav {
    gap: 1.5rem;
    font-size: 0.8rem;
  }
  
  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-left {
    padding: clamp(3rem, 5vw, 5rem) var(--gap);
  }
  
  .hero-right {
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
  }
  
  .hero-badge {
    left: 1rem;
    bottom: 1rem;
  }
  
  /* About section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-heading {
    position: static;
    margin-bottom: 1rem;
  }
  
  /* Category cards */
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}
 
/* LARGE MOBILE / SMALL TABLET (768px and below) */
@media (max-width: 768px) {
  .mobile-nav {
    width: 320px;
  }
  /* Typography adjustments */
  body {
    font-size: 15px;
  }
  
  /* Header */
  .site-header {
    padding: 1rem var(--gap);
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .site-nav {
    display: none; /* Hide on tablet/mobile, show hamburger */
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* Hero */
  .hero {
    padding-top: 60px;
  }
  
  .hero-left {
    padding: 2.5rem var(--gap);
  }
  
  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: 1.2rem;
  }
  
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  
  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .hero-tags {
    margin-top: 2rem;
  }
  
  .hero-right {
    height: 50vh;
    min-height: 300px;
  }
  
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.6rem 1.2rem 0.6rem 1.5rem;
  }
  
  /* Ticker */
  .ticker-track span {
    font-size: 0.7rem;
    padding: 0 2rem;
  }
  
  /* About section */
  .section {
    padding: clamp(3rem, 6vw, 5rem) var(--gap);
  }
  
  .about-heading {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  
  .about-body p {
    font-size: 0.95rem;
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
  }
  
  .stat-item {
    padding: 1.2rem 0.8rem;
  }
  
  .stat-num {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  
  /* Categories */
  .categories-section {
    padding: clamp(3rem, 6vw, 5rem) var(--gap);
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.8rem;
  }
  
  .cat-card {
    padding: 1.5rem 1.2rem;
  }
  
  .cat-icon {
    font-size: 1.8rem;
  }
  
  .cat-name {
    font-size: 0.95rem;
  }
  
  .cat-desc {
    font-size: 0.78rem;
  }
  
  /* CTA Band */
  .cta-band {
    padding: clamp(3rem, 6vw, 5rem) var(--gap);
  }
  
  .cta-band h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 0.8rem;
  }
  
  .cta-band p {
    font-size: 0.95rem;
  }
  
  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  
  .footer-links {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .footer-copy {
    font-size: 0.7rem;
  }
}
 
/* MOBILE (640px and below) */
@media (max-width: 640px) {
  .mobile-nav {
    width: 100vw;
    max-width: 100vw;
  }
  
  .mobile-nav-inner {
    padding: 4rem 1.5rem 2rem;
  }
  
  .mobile-nav-link {
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }
  /* Global spacing */
  :root {
    --gap: clamp(1rem, 3vw, 1.5rem);
  }
  
  /* Header */
  .site-header {
    padding: 0.8rem var(--gap);
  }
  
  .logo {
    font-size: 0.9rem;
  }
  
  .logo-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  /* Hero */
  .hero-left {
    padding: 2rem var(--gap);
  }
  
  .hero-headline {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1.1;
  }
  
  .hero-sub {
    font-size: 0.9rem;
    max-width: 100%;
  }
  
  .hero-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }
  
  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 20px;
  }
  
  .hero-tags {
    gap: 0.4rem;
    margin-top: 1.5rem;
  }
  
  .tag {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
  }
  
  .hero-right {
    height: 40vh;
    min-height: 250px;
  }
  
  .hero-badge {
    left: 0.5rem;
    bottom: 0.5rem;
    font-size: 0.65rem;
    padding: 0.5rem 1rem 0.5rem 1.2rem;
    box-shadow: 2px 2px 0 var(--bark);
  }
  
  /* Ticker */
  .ticker-wrap {
    padding: 0.6rem 0;
  }
  
  .ticker-track span {
    font-size: 0.65rem;
    padding: 0 1.5rem;
  }
  
  /* About section */
  .section-label {
    font-size: 0.68rem;
    margin-bottom: 0.8rem;
  }
  
  .about-heading {
    font-size: clamp(1.6rem, 9vw, 2rem);
    margin-bottom: 1.5rem;
  }
  
  .about-body p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 1.5rem;
  }
  
  .stat-item {
    padding: 1rem 0.6rem;
  }
  
  .stat-num {
    font-size: 1.6rem;
  }
  
  .stat-label {
    font-size: 0.6rem;
  }
  
  /* Third stat item spans both columns on mobile */
  .stat-item:nth-child(3) {
    grid-column: 1 / -1;
  }
  
  /* Categories */
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  
  .cat-card {
    padding: 1.3rem 1rem;
  }
  
  .cat-icon {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .cat-name {
    font-size: 0.9rem;
  }
  
  .cat-desc {
    font-size: 0.75rem;
  }
  
  /* CTA Band */
  .cta-band h2 {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
  
  .cta-band p {
    font-size: 0.9rem;
    max-width: 100%;
  }
  
  .btn-light {
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
  }
  
  /* Footer */
  .footer-inner {
    padding: 0;
  }
  
  .footer-brand {
    font-size: 0.85rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.72rem;
  }
  
  .footer-copy {
    font-size: 0.68rem;
    line-height: 1.4;
  }
}
 
/* SMALL MOBILE (480px and below) */
@media (max-width: 480px) {
  
  /* Even tighter spacing for very small screens */
  .hero-left {
    padding: 1.5rem var(--gap);
  }
  
  .hero-headline {
    font-size: clamp(1.8rem, 14vw, 2.5rem);
  }
  
  .hero-right {
    height: 35vh;
    min-height: 220px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-item:nth-child(3) {
    grid-column: auto;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-band::before {
    font-size: 18rem;
  }
}
