/* CoffeeCraft Hub — Site B Design System */
:root {
  --midnight-indigo: #1B1F3B;
  --coral-blush: #E8756A;
  --cloud-white: #F9F7F4;
  --sea-mint: #6BA292;
  --indigo-muted: #2a3058;
  --coral-dark: #c95f54;
  --mint-dark: #5a8f7f;
  --text-muted: #6b7089;
  --font-headline: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 24px rgba(27, 31, 59, 0.12);
  --shadow-float: 0 12px 40px rgba(27, 31, 59, 0.18);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cloud-white);
  color: var(--midnight-indigo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-blush); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
}

.container { width: min(1140px, 92vw); margin: 0 auto; }

/* Surface System */
.surface-dark { background: var(--midnight-indigo); color: var(--cloud-white); }
.surface-light { background: var(--cloud-white); color: var(--midnight-indigo); }
.surface-accent { background: var(--coral-blush); color: var(--midnight-indigo); }
.surface-mint { background: var(--sea-mint); color: var(--cloud-white); }

.surface-dark .section-header p,
.surface-mint .section-header p {
  color: rgba(249, 247, 244, 0.85);
}

.surface-dark .section-header h2,
.surface-mint .section-header h2 {
  color: var(--cloud-white);
}

.surface-mint .spotlight-layout > div > p {
  color: rgba(249, 247, 244, 0.9);
}

.surface-accent .cta-banner p,
.surface-mint .cta-banner p {
  color: inherit;
  opacity: 0.92;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 31, 59, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249, 247, 244, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cloud-white);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo svg { width: 36px; height: 36px; flex-shrink: 0; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(249, 247, 244, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active { color: var(--coral-blush); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cloud-white);
  margin: 5px 0;
  transition: var(--transition);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-coral { background: var(--coral-blush); color: var(--midnight-indigo); }
.badge-mint { background: var(--sea-mint); color: var(--cloud-white); }
.badge-indigo { background: var(--midnight-indigo); color: var(--cloud-white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

a.btn.btn-primary,
button.btn.btn-primary { background: var(--coral-blush); color: var(--midnight-indigo); border-color: var(--coral-blush); }
a.btn.btn-primary:hover,
button.btn.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: var(--cloud-white); }

a.btn.btn-outline,
button.btn.btn-outline { background: transparent; color: var(--cloud-white); border-color: rgba(249, 247, 244, 0.4); }
a.btn.btn-outline:hover,
button.btn.btn-outline:hover { border-color: var(--cloud-white); background: rgba(249, 247, 244, 0.1); color: var(--cloud-white); }

a.btn.btn-dark,
button.btn.btn-dark { background: var(--midnight-indigo); color: var(--cloud-white); border-color: var(--midnight-indigo); }
a.btn.btn-dark:hover,
button.btn.btn-dark:hover { background: var(--indigo-muted); color: var(--cloud-white); }

a.btn.btn-mint,
button.btn.btn-mint { background: var(--sea-mint); color: var(--cloud-white); border-color: var(--sea-mint); }
a.btn.btn-mint:hover,
button.btn.btn-mint:hover { background: var(--mint-dark); border-color: var(--mint-dark); color: var(--cloud-white); }

.surface-light a.btn.btn-outline,
.surface-accent a.btn.btn-outline,
.cta-banner.surface-accent a.btn.btn-outline {
  color: var(--midnight-indigo);
  border-color: var(--midnight-indigo);
}

.surface-light a.btn.btn-outline:hover,
.surface-accent a.btn.btn-outline:hover,
.cta-banner.surface-accent a.btn.btn-outline:hover {
  background: var(--midnight-indigo);
  color: var(--cloud-white);
  border-color: var(--midnight-indigo);
}

.surface-mint a.btn.btn-outline {
  color: var(--cloud-white);
  border-color: rgba(249, 247, 244, 0.55);
}

.surface-mint a.btn.btn-outline:hover {
  background: rgba(249, 247, 244, 0.12);
  color: var(--cloud-white);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Wave Dividers */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

.wave-divider--to-light svg path { fill: var(--cloud-white); }
.wave-divider--to-dark svg path { fill: var(--midnight-indigo); }
.wave-divider--to-mint svg path { fill: var(--sea-mint); }
.wave-divider--to-accent svg path { fill: var(--coral-blush); }

/* Hero Pattern D — Stacked Layered */
.hero-stacked {
  display: flex;
  flex-direction: column;
  min-height: 85vh;
}

.hero-stacked__top {
  flex: 0 0 55%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 4rem 0 3rem;
}

.hero-stacked__bottom {
  flex: 0 0 45%;
  position: relative;
}

.hero-stacked__content { position: relative; z-index: 2; max-width: 640px; }

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-mint);
  margin-bottom: 0.75rem;
}

.hero-serial {
  font-size: 0.85rem;
  color: rgba(249, 247, 244, 0.6);
  margin-bottom: 1.25rem;
}

.hero-stacked h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.5rem;
  color: var(--cloud-white);
}

.hero-stacked__desc {
  font-size: 1.1rem;
  color: rgba(249, 247, 244, 0.8);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 100%;
  min-height: 280px;
}

.hero-strip__item {
  position: relative;
  overflow: hidden;
}

.hero-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-strip__item:hover img { transform: scale(1.05); }

.hero-strip__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 31, 59, 0.5), transparent);
}

.trust-card {
  position: absolute;
  bottom: 2rem;
  right: 4vw;
  background: var(--cloud-white);
  color: var(--midnight-indigo);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  max-width: 280px;
  z-index: 10;
}

.trust-card__stat {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral-blush);
}

.trust-card__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Section Layouts */
.section { padding: 5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 600px; font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Hub Charter */
.charter-block {
  background: var(--cloud-white);
  border: 2px solid rgba(27, 31, 59, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.charter-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--midnight-indigo);
}

.charter-block p { margin-bottom: 1rem; color: var(--text-muted); }
.charter-block p:last-child { margin-bottom: 0; }

/* Member Counter */
.counter-strip {
  text-align: center;
  padding: 3rem 0;
}

.counter-value {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--coral-blush);
}

.counter-label {
  font-size: 1.1rem;
  color: rgba(249, 247, 244, 0.8);
  margin-top: 0.5rem;
}

/* Community Lanes */
.lane-card {
  background: var(--cloud-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(27, 31, 59, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.lane-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.lane-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sea-mint);
  color: var(--cloud-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.lane-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.lane-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Moderator Spotlight */
.spotlight-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

.spotlight-sidebar {
  background: var(--midnight-indigo);
  color: var(--cloud-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.spotlight-sidebar h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--coral-blush);
}

.moderator-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(249, 247, 244, 0.1);
}

.moderator-item:last-child { border-bottom: none; }

.moderator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sea-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  flex-shrink: 0;
}

.moderator-info h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.moderator-info p { font-size: 0.8rem; color: rgba(249, 247, 244, 0.65); }

/* Recipe Cards */
.recipe-card {
  background: var(--cloud-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition);
}

.recipe-card:hover { transform: translateY(-6px); }

.recipe-card__img { height: 200px; overflow: hidden; }
.recipe-card__img img { width: 100%; height: 100%; object-fit: cover; }

.recipe-card__body { padding: 1.5rem; }

.recipe-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.recipe-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.recipe-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Rating Dot Rails */
.rating-rail {
  display: flex;
  gap: 4px;
  align-items: center;
}

.rating-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(27, 31, 59, 0.15);
}

.rating-dot--filled { background: var(--coral-blush); }
.rating-dot--half { background: linear-gradient(90deg, var(--coral-blush) 50%, rgba(27, 31, 59, 0.15) 50%); }

.rating-score {
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 0.5rem;
  color: var(--midnight-indigo);
}

/* FAQ Accordion */
.faq-list { max-width: 800px; }

.faq-item {
  border-bottom: 1px solid rgba(27, 31, 59, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--midnight-indigo);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--coral-blush);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.is-open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p { color: var(--text-muted); font-size: 0.95rem; }

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
}

.cta-banner h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-banner p { margin-bottom: 2rem; opacity: 0.85; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Page Hero (inner pages) */
.page-hero {
  padding: 4rem 0 3rem;
  position: relative;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; opacity: 0.85; max-width: 600px; }

.page-hero__meta {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Magazine Layout (About) */
.magazine-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

.magazine-body {
  columns: 2;
  column-gap: 2.5rem;
}

.magazine-body p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  break-inside: avoid;
}

.magazine-body h2 {
  column-span: all;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--midnight-indigo);
}

.magazine-body img {
  column-span: all;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.challenge-sidebar-card {
  background: var(--coral-blush);
  color: var(--midnight-indigo);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.challenge-sidebar-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.challenge-sidebar-card img { border-radius: var(--radius-sm); margin: 1rem 0; }
.challenge-sidebar-card p { font-size: 0.9rem; margin-bottom: 1rem; }

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-block h3 { margin-bottom: 1rem; }
.contact-info-block p { margin-bottom: 0.75rem; color: var(--text-muted); }

.contact-form {
  background: var(--cloud-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(27, 31, 59, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cloud-white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sea-mint);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-check input { margin-top: 0.25rem; flex-shrink: 0; }
.form-check label { font-size: 0.85rem; color: var(--text-muted); }

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: none;
}

.form-status.is-visible { display: block; }
.form-status--success { background: rgba(107, 162, 146, 0.15); color: var(--mint-dark); }
.form-status--error { background: rgba(232, 117, 106, 0.15); color: var(--coral-dark); }

/* Legal / Prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--midnight-indigo); }
.prose h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1rem; color: var(--text-muted); }
.prose ul, .prose ol { margin: 0 0 1rem 1.5rem; color: var(--text-muted); }
.prose li { margin-bottom: 0.5rem; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(27, 31, 59, 0.1);
}

.legal-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--midnight-indigo);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(27, 31, 59, 0.05);
}

.legal-nav a:hover { background: var(--coral-blush); color: var(--cloud-white); }

.last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Service / Program Cards */
.feature-card {
  background: var(--cloud-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feature-card__img { height: 220px; }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__body { padding: 1.75rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; }

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.error-page h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.error-code { font-size: 6rem; font-weight: 700; color: var(--coral-blush); opacity: 0.3; line-height: 1; }

/* Footer — Site B column architecture */
.site-footer {
  background: var(--midnight-indigo);
  color: rgba(249, 247, 244, 0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral-blush);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(249, 247, 244, 0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--coral-blush); }

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(249, 247, 244, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-disclaimer {
  max-width: 600px;
  line-height: 1.6;
  opacity: 0.6;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--midnight-indigo);
  color: var(--cloud-white);
  padding: 1.5rem 2rem;
  z-index: 1000;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner p { font-size: 0.9rem; max-width: 560px; opacity: 0.9; }
.cookie-banner__note { font-size: 0.75rem; opacity: 0.6; margin-top: 0.5rem; }

.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.cookie-banner .btn { padding: 0.65rem 1.25rem; font-size: 0.85rem; }

.cookie-customise-panel {
  display: none;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(249, 247, 244, 0.15);
}

.cookie-customise-panel.is-visible { display: block; }

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.cookie-toggle label { font-size: 0.9rem; }

/* Reveal Animation — hidden only when JS enabled */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .spotlight-layout,
  .magazine-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .magazine-body { columns: 1; }
  .spotlight-sidebar,
  .challenge-sidebar-card { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; z-index: 101; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--midnight-indigo);
    padding: 1rem 4vw 1.25rem;
    display: none;
    border-top: 1px solid rgba(249, 247, 244, 0.1);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  .main-nav.is-open { display: block; }

  body.nav-open { overflow: hidden; }

  .main-nav ul { flex-direction: column; gap: 0.75rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-strip {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-strip__item {
    min-height: 200px;
  }

  .hero-strip__item img {
    min-height: 200px;
  }

  .trust-card { position: static; margin: 2rem auto 0; max-width: 100%; }
  .hero-stacked { min-height: auto; }
  .hero-stacked__top { flex: none; padding: 3rem 0 2rem; }
  .hero-stacked__bottom { flex: none; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .page-hero { padding: 3rem 0 2rem; }

  .charter-block { padding: 1.75rem; }

  .contact-form { padding: 1.75rem; }

  .cookie-banner {
    padding: 1rem 1.25rem;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner .btn {
    flex: 1 1 auto;
  }

  .cta-banner {
    padding: 3rem 1.5rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    text-align: center;
  }
}
