/* ═══════════════════════════════════════
   WhoSitsWhere — Magazine Theme v2
   Aesthetic: Warm celebration editorial
   with real photography
   ═══════════════════════════════════════ */

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

:root {
  /* Warm celebration palette — joyful, not sombre */
  --cream:       #fdf8f3;
  --champagne:   #f5e6cf;
  --gold:        #d4a24e;
  --gold-light:  #e8c97a;
  --gold-dark:   #b8872e;
  --terracotta:  #c06a45;
  --terracotta-deep: #944e2f;
  --blush:       #f2d1c4;
  --blush-deep:  #e4a690;
  --sage:        #a7be95;
  --sage-light:  #d0dfc6;
  --ink:         #2d2219;
  --ink-soft:    #5a4a3a;
  --warm-gray:   #9a8b7a;
  --rose:        #d4847a;
  --ivory:       #fffdf8;
  --parchment:   #f8f0e3;
  --deep:        #3a2a1e;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Cormorant Garamond', Garamond, serif;
  --font-body:    'Libre Franklin', 'Gill Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  --max-width: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--terracotta); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--terracotta-deep); }

::selection { background: var(--blush); color: var(--ink); }

/* ═══════════════════════════════════════
   MASTHEAD
   ═══════════════════════════════════════ */

.masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 162, 78, 0.12);
  transition: box-shadow 0.4s ease;
}

.masthead.scrolled {
  box-shadow: 0 2px 40px rgba(45, 34, 25, 0.08);
}

.masthead-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.masthead-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.masthead-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.masthead-tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-gray);
  line-height: 1;
  margin-top: 2px;
}

.masthead-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.masthead-nav a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}

.masthead-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.masthead-nav a:hover { color: var(--ink); }
.masthead-nav a:hover::after { width: 100%; }

.masthead-signin {
  color: var(--ink-soft) !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 10px 20px;
}
.masthead-signin::after { display: none !important; }
.masthead-signin:hover { color: var(--ink) !important; }

.masthead-nav a.masthead-cta {
  color: var(--ivory) !important;
  background: var(--terracotta);
  padding: 10px 24px;
  border-radius: 3px;
  transition: background 0.3s ease !important;
}

.masthead-cta::after { display: none !important; }

.masthead-nav a.masthead-cta:hover {
  background: var(--terracotta-deep) !important;
  color: var(--ivory) !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ═══════════════════════════════════════
   HERO — Full-bleed image
   ═══════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--champagne);
  background-image: url('/images/hero-1920w.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 34, 25, 0.7) 0%,
    rgba(45, 34, 25, 0.45) 40%,
    rgba(192, 106, 69, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-text {
  max-width: 580px;
  color: var(--ivory);
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-overline::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-light);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

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

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,253,248,0.85);
  margin-bottom: var(--space-lg);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--terracotta);
  padding: 16px 36px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  color: var(--ivory);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(192, 106, 69, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  background: transparent;
  padding: 16px 36px;
  border: 1px solid rgba(255,253,248,0.4);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255,253,248,0.12);
  border-color: rgba(255,253,248,0.7);
  color: var(--ivory);
}

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--terracotta);
  padding: 16px 36px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary-dark:hover {
  background: var(--terracotta-deep);
  color: var(--ivory);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(192, 106, 69, 0.35);
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,253,248,0.15);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,253,248,0.5);
  margin-top: 4px;
}

/* ═══════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════ */

.divider {
  text-align: center;
  padding: var(--space-lg) 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 1px;
  background: var(--gold-light);
}

.divider-ornament {
  display: inline-block;
  background: var(--cream);
  padding: 0 var(--space-md);
  position: relative;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

/* ═══════════════════════════════════════
   SECTIONS — Shared styles
   ═══════════════════════════════════════ */

.section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-overline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--warm-gray);
  max-width: 520px;
  margin: 0 auto;
  font-style: italic;
}

/* ═══════════════════════════════════════
   OCCASIONS — Image cards
   ═══════════════════════════════════════ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.feature-card-inner {
  position: relative;
  width: 100%;
  padding-bottom: 120%;
  overflow: hidden;
}

.feature-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.8s ease;
}

.feature-card:hover .feature-card-img {
  transform: scale(1.05);
}

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(45, 34, 25, 0.88) 0%,
    rgba(45, 34, 25, 0.3) 45%,
    rgba(45, 34, 25, 0.05) 100%
  );
  z-index: 1;
}

.feature-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  z-index: 2;
  color: var(--ivory);
}

.feature-card-tag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-xs);
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.feature-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0.8;
}

/* Grid layout — magazine asymmetric */
.feature-card:nth-child(1) { grid-column: 1 / 8; }
.feature-card:nth-child(1) .feature-card-inner { padding-bottom: 75%; }
.feature-card:nth-child(1) .feature-card-title { font-size: 2.2rem; }
.feature-card:nth-child(2) { grid-column: 8 / 13; }
.feature-card:nth-child(3) { grid-column: 1 / 5; }
.feature-card:nth-child(4) { grid-column: 5 / 9; }
.feature-card:nth-child(5) { grid-column: 9 / 13; }

/* ═══════════════════════════════════════
   NETWORKING CALLOUT
   ═══════════════════════════════════════ */

.networking-callout {
  margin-top: var(--space-lg);
}

.networking-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: var(--deep);
  border-radius: 4px;
  padding: var(--space-md) var(--space-lg);
}

.networking-callout-text {
  flex: 1;
}

.networking-callout-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--gold-light);
  padding: 2px 10px;
  border-radius: 2px;
  margin-bottom: var(--space-xs);
}

.networking-callout-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.3rem;
}

.networking-callout-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,253,248,0.6);
  line-height: 1.5;
  max-width: 540px;
}

.networking-callout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--terracotta);
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.networking-callout-link:hover {
  background: var(--terracotta-deep);
  color: var(--ivory);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(192, 106, 69, 0.35);
}

@media (max-width: 768px) {
  .networking-callout-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
  }
}

/* ═══════════════════════════════════════
   CULTURAL TRADITIONS — Image-rich
   ═══════════════════════════════════════ */

.culture-section {
  background: var(--deep);
  color: var(--ivory);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.culture-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(212, 162, 78, 0.08);
}

.culture-section .section-overline { color: var(--gold-light); }
.culture-section .section-title { color: var(--ivory); }
.culture-section .section-subtitle { color: rgba(255,253,248,0.6); }

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.culture-card {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
  background: rgba(255,253,248,0.04);
}

.culture-card:hover {
  transform: translateY(-4px);
}

.culture-card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.culture-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 42, 30, 0.4) 0%, transparent 60%);
}

.culture-card-flag {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 2rem;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.culture-card-body {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
}

.culture-card-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}

.culture-card-rule {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.culture-card-detail {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,253,248,0.55);
}

.culture-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.culture-card-link::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.culture-card:hover .culture-card-link::after {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */

.steps-section {
  background: var(--parchment);
  padding: var(--space-2xl) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.step-card {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  position: relative;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush) 0%, var(--champagne) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.6rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--blush-deep);
  line-height: 1;
  margin-bottom: var(--space-xs);
  opacity: 0.4;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 5rem;
  right: -1rem;
  width: calc(var(--space-md));
  height: 1px;
  background: var(--blush-deep);
  opacity: 0.3;
}

/* ═══════════════════════════════════════
   EDITORIAL QUOTE
   ═══════════════════════════════════════ */

.quote-section {
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/quote-bg-1920w.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.quote-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253, 248, 243, 0.88);
  backdrop-filter: blur(2px);
}

.quote-block {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--terracotta);
  line-height: 0.5;
  opacity: 0.35;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin: var(--space-md) 0;
}

.quote-attr {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
}

/* ═══════════════════════════════════════
   PLANNER CTA
   ═══════════════════════════════════════ */

.planner-section {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.planner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.planner-text-side {
  max-width: 500px;
}

.planner-image-side {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(45, 34, 25, 0.15);
}

.planner-image-side img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.planner-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: var(--space-sm);
}

.planner-headline em {
  font-style: italic;
  color: var(--terracotta);
}

.planner-desc {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--warm-gray);
  margin-bottom: var(--space-lg);
  font-style: italic;
  line-height: 1.6;
}

.planner-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.planner-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.planner-feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.planner-feature-check svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

.planner-feature-text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.planner-feature-text strong {
  color: var(--ink);
  font-weight: 500;
}

.planner-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--warm-gray);
  margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════
   AD ZONES
   ═══════════════════════════════════════ */

.ad-zone {
  background: var(--parchment);
  border: 1px solid rgba(212, 162, 78, 0.1);
  border-radius: 3px;
  padding: var(--space-md);
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-md) 0;
}

.ad-zone-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  opacity: 0.5;
}

.ad-zone-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--gutter);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
  background: var(--deep);
  color: rgba(255, 253, 248, 0.5);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: var(--space-sm);
}

.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.3);
  margin-bottom: var(--space-sm);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 253, 248, 0.5);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 248, 0.06);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.footer-bottom a { color: rgba(255,253,248,0.4); }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.hero-text { animation: fadeInUp 1s ease 0.3s both; }
.hero-stats { animation: fadeInUp 1s ease 0.6s both; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-text { max-width: 600px; }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card:nth-child(1) { grid-column: 1 / -1; }
  .feature-card:nth-child(n+2) { grid-column: auto; }

  .culture-grid { grid-template-columns: 1fr 1fr; }

  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card::after { display: none; }

  .planner-split { grid-template-columns: 1fr; }
  .planner-image-side { max-height: 300px; }
  .planner-image-side img { height: 300px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Swap hero to mobile-optimized image */
  .hero-image {
    background-image: url('/images/hero-800w.webp');
    background-position: center;
  }

  .hero-stats { flex-wrap: wrap; gap: var(--space-md); }

  .culture-grid { grid-template-columns: 1fr; }
  .culture-card-image { height: 180px; }
}

@media (max-width: 640px) {
  .masthead-nav a:not(.masthead-cta):not(.masthead-signin) { display: none; }
  .masthead-inner { height: 60px; }
  .hero { padding-top: 60px; min-height: 100svh; }
  .hamburger { display: block; }

  .hero-headline { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1.15rem; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(n) { grid-column: auto; }
  .feature-card:nth-child(1) .feature-card-inner { padding-bottom: 100%; }

  .steps-grid { grid-template-columns: 1fr; }

  .planner-text-side { max-width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: var(--space-sm); }
  .hero-stat-value { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════
   LANGUAGE BANNER + SELECTOR
   ═══════════════════════════════════════ */

.lang-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--deep);
  color: rgba(255,253,248,0.85);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-align: center;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: fadeIn 0.4s ease;
}

.lang-banner a {
  color: var(--gold-light);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lang-banner a:hover {
  color: var(--gold);
}

.lang-banner-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,253,248,0.4);
  cursor: pointer;
  font-size: 1.3rem;
  padding: 2px 6px;
  line-height: 1;
  transition: color 0.2s;
}

.lang-banner-close:hover {
  color: rgba(255,253,248,0.8);
}

body.has-lang-banner .masthead {
  top: 38px;
}

body.has-lang-banner .hero {
  padding-top: calc(72px + 38px);
}

/* Language selector (globe dropdown in masthead) */

.lang-selector {
  position: relative;
  margin-left: 0.5rem;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(212, 162, 78, 0.2);
  border-radius: 3px;
  cursor: pointer;
  padding: 6px 8px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.lang-toggle:hover {
  color: var(--ink);
  border-color: rgba(212, 162, 78, 0.4);
}

.lang-toggle svg {
  width: 16px;
  height: 16px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--ivory);
  border: 1px solid rgba(212, 162, 78, 0.15);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(45, 34, 25, 0.12);
  min-width: 150px;
  padding: 6px 0;
  z-index: 110;
}

.lang-selector.open .lang-dropdown {
  display: block;
  animation: fadeIn 0.15s ease;
}

.lang-dropdown a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.15s;
}

.lang-dropdown a:hover {
  background: var(--parchment);
  color: var(--ink);
}

.lang-dropdown a.active {
  color: var(--terracotta);
  font-weight: 500;
}

@media (max-width: 640px) {
  body.has-lang-banner .masthead {
    top: 38px;
  }
  body.has-lang-banner .hero {
    padding-top: calc(60px + 38px);
  }
}

/* ═══════════════════════════════════════
   LEGAL PAGES (Terms, Privacy)
   ═══════════════════════════════════════ */

.legal-page {
  padding-top: calc(72px + var(--space-xl));
  padding-bottom: var(--space-xl);
  min-height: 80vh;
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: var(--space-xs);
}

.legal-updated {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--warm-gray);
  letter-spacing: 0.05em;
}

.legal-body {
  max-width: 720px;
  margin: 0 auto;
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-body ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

.legal-body ul li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.8;
  position: relative;
}

.legal-body ul li::before {
  content: '\2022';
  color: var(--terracotta);
  position: absolute;
  left: -1.2rem;
}

.legal-body a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--terracotta-deep);
}

@media (max-width: 640px) {
  .legal-page {
    padding-top: calc(60px + var(--space-lg));
  }
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}
