/*
 * style.css — Poshana Global Styles
 * Tailwind CDN handles utilities; this file owns layout shells,
 * components, animations, and anything Tailwind can't express inline.
 *
 * Color tokens (also registered in assets/js/tailwind.config.js):
 *   --sage:    #CCD5AE
 *   --celadon: #E0E5B6
 *   --sand:    #FAEDCE
 *   --ivory:   #FEFAE0
 *   --dark:    #2C3518
 */

/* ═══════════════════════════════════════════════════════════
   BASE
═══════════════════════════════════════════════════════════ */
:root {
  --sage:    #CCD5AE;
  --celadon: #E0E5B6;
  --sand:    #FAEDCE;
  --ivory:   #FEFAE0;
  --dark:    #2C3518;
  --dark-70: rgba(44,53,24,.7);
  --dark-40: rgba(44,53,24,.4);

  --header-h: 68px;
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;
  --radius-card: 1rem;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  background-color: var(--ivory);
  color: var(--dark);
  line-height: 1.7;
}

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

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
h1 {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
}
h2.light { color: var(--ivory); }
h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--dark);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-70);
  background: var(--celadon);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.eyebrow--light { background: rgba(255,255,255,.12); color: var(--sage); }

.hero-accent { color: #4a5e25; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  position: relative;
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* Section backgrounds */
.section--hero {
  position: relative;
  min-height: 100vh;                  /* full screen on mobile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem));
  overflow: hidden;
  background: var(--ivory);           /* fallback while images load */
}
@media (min-width: 768px) {
  .section--hero { min-height: 90vh; }
}

/* ── Background slideshow container ─────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;                           /* covers the entire section */
  z-index: 0;
  overflow: hidden;
}

/* Each slide: a full-size div with a background image */
.hero-bg__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;                         /* hidden until its turn */
  will-change: opacity;
}

/* Assign images via background-image */
.hero-bg__slide--1 { background-image: url('../images/hero/hero1.jpg'); }
.hero-bg__slide--2 { background-image: url('../images/hero/hero2.jpg'); }
.hero-bg__slide--3 { background-image: url('../images/hero/hero3.jpg'); }
.hero-bg__slide--4 { background-image: url('../images/hero/hero4.jpg'); }

/* Warm ivory overlay — #FEFAE0 at 55% */
.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(254, 250, 224, 0.72);
  z-index: 1;
}

/* Content and wave sit above the background */
.hero-content {
  position: relative;
  z-index: 2;
  /* push content up slightly so the wave doesn't overlap it */
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* ── Hero logo watermark ─────────────────────────────────── */
.hero-logo-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(260px, 45vw, 520px);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  filter: grayscale(100%);
}

/* Wave is pulled out of the image stack and pinned to the bottom */
.section--hero .wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;          /* above the overlay (z:1) and content (z:2) */
  line-height: 0;
}

/* ── Photo credit caption ─────────────────────────────────── */
.hero-credit {
  position: absolute;
  bottom: 90px;        /* sits just above the wave */
  right: clamp(1rem, 3vw, 2rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(44, 53, 24, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(254, 250, 224, 0.9);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 0.5s ease;
  pointer-events: none;        /* don't block clicks on the hero */
}
.hero-credit.fading { opacity: 0; }
.hero-credit__icon  { font-size: 0.75rem; line-height: 1; }

/*
 * Crossfade keyframes
 * Cycle  = 4 images × (8s hold + 3s fade) = 44s total
 *
 * Each image:  fade-in (3s) → hold (8s) → fade-out (3s) → wait
 * As % of 44s:
 *   0%       = opacity 0
 *   6.82%    ≈ 3s  → opacity 1  (fully visible)
 *   25%      ≈ 11s → opacity 1  (end of hold)
 *   31.82%   ≈ 14s → opacity 0  (faded out)
 *   100%           → opacity 0  (waiting)
 */
@keyframes heroFade {
  0%      { opacity: 0; }
  6.82%   { opacity: 1; }
  25%     { opacity: 1; }
  31.82%  { opacity: 0; }
  100%    { opacity: 0; }
}

/* Stagger each slide by one slot (11s apart) */
.hero-bg__slide--1 { animation: heroFade 44s ease-in-out infinite  0.0s; }
.hero-bg__slide--2 { animation: heroFade 44s ease-in-out infinite 11.0s; }
.hero-bg__slide--3 { animation: heroFade 44s ease-in-out infinite 22.0s; }
.hero-bg__slide--4 { animation: heroFade 44s ease-in-out infinite 33.0s; }

/* Reduced-motion: skip animation, just show the first image */
@media (prefers-reduced-motion: reduce) {
  .hero-bg__slide           { animation: none; }
  .hero-bg__slide--1        { opacity: 1; }
}

.section--sage    { background: var(--sage); }
.section--ivory   { background: var(--ivory); }
.section--sand    { background: var(--sand); }
.section--dark    { background: var(--dark); }
/* Section header block */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-sub {
  margin-top: 0.75rem;
  color: var(--dark-70);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}
.section-sub.light { color: rgba(254,250,224,.6); }

/* Wave dividers */
.wave { line-height: 0; }
.wave svg { display: block; width: 100%; }
.wave--flip svg { transform: scaleX(-1); }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(254,250,224,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: var(--celadon);
  box-shadow: 0 2px 16px rgba(44,53,24,.08);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  gap: 1rem;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-wordmark span { color: var(--sage); }

/* Footer logo */
.footer-logo-link,
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.footer-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  /* No filter — logo displays in its natural colours on the dark footer */
}

/* Desktop nav */
.desktop-nav {
  display: none;
  gap: 2rem;
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}
.desktop-nav a,
.footer-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-70);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--dark);
  transition: width var(--transition);
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--dark); }
.desktop-nav a:hover::after,
.desktop-nav a.active::after { width: 100%; }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  background: var(--celadon);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  width: 100%;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--ivory);
  border-top: 1px solid transparent;
  transition: max-height 0.35s ease, border-color var(--transition);
}
.mobile-menu.open {
  max-height: 320px;
  border-color: var(--celadon);
}
.mobile-menu a {
  display: block;
  padding: 0.875rem clamp(1rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--dark-70);
  text-decoration: none;
  border-bottom: 1px solid var(--celadon);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: var(--celadon); color: var(--dark); }
@media (min-width: 768px) { .mobile-menu { display: none; } }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 2rem;
  background: var(--dark);
  color: var(--ivory);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.625rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(44,53,24,.22);
  width: 100%;
}
@media (min-width: 640px) { .btn-primary { width: auto; } }
.btn-primary:hover {
  background: #3d4a22;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,53,24,.32);
}
.btn-primary:active { transform: translateY(0); }

/* Light variant for dark section */
.btn-primary--light {
  background: var(--sage);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(204,213,174,.4);
}
.btn-primary--light:hover { background: var(--celadon); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.625rem;
  border: 2px solid var(--dark);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  width: 100%;
}
@media (min-width: 640px) { .btn-ghost { width: auto; } }
.btn-ghost:hover { background: var(--dark); color: var(--ivory); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */

/* Wrapper — gives the headline its own breathing room */
.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 1.75rem auto 0;
  max-width: 860px;
}

/* Line 1 — the plain, weighty statement */
.hero-line-1 {
  display: block;
  font-size: clamp(2.25rem, 6.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--dark);
}

/* Decorative rule between the two lines */
.hero-rule {
  display: block;
  width: clamp(3rem, 8vw, 5rem);
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sage), var(--celadon));
  margin: 1.1rem auto;
}

/* Line 2 — the brand answer, larger + accented */
.hero-line-2 {
  display: block;
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--dark);
}

/* The italic "what you're actually eating." punches it in */
.hero-line-2 em {
  font-style: normal;
  color: #3a4e1a;
  background: none;
  -webkit-text-fill-color: #3a4e1a;
}

/* Line-break only on small screens */
.hero-br { display: none; }
@media (max-width: 639px) { .hero-br { display: block; } }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--dark-70);
  max-width: 580px;
  margin: 2rem auto 2.5rem;
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; justify-content: center; }
}
.hero-note {
  margin-top: 1.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--dark);
  /* pill background so text is always legible over any photo */
  display: inline-block;
  background: rgba(254, 250, 224, 0.82);
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.sm-only { display: none; }
@media (max-width: 639px) { .sm-only { display: block; } }

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS — STEPS
═══════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 640px)  { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-card {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44,53,24,.12);
}
.step-number {
  position: absolute;
  top: -0.25rem; right: 1rem;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(44,53,24,.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.step-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.9375rem; color: var(--dark-70); }
.step-card strong { color: var(--dark); font-weight: 700; }

/* Score legend inside step 3 */
.score-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.score-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.score-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.score-dot--green { background: rgba(134,239,172,.25); color: #166534; }
.score-dot--green::before { background: #22c55e; }
.score-dot--amber { background: rgba(253,224,71,.25);  color: #854d0e; }
.score-dot--amber::before { background: #eab308; }
.score-dot--red   { background: rgba(252,165,165,.25); color: #991b1b; }
.score-dot--red::before   { background: #ef4444; }

/* ═══════════════════════════════════════════════════════════
   FEATURES GRID
═══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: white;
  border: 1px solid var(--celadon);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(44,53,24,.1);
  border-color: var(--sage);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.9rem; color: var(--dark-70); }

/* ═══════════════════════════════════════════════════════════
   ABOUT / MISSION
═══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { margin-bottom: 1rem; color: var(--dark-70); }
.about-text .btn-primary { margin-top: 1.5rem; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-number {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-70);
}

/* ═══════════════════════════════════════════════════════════
   CONTACT / WAITLIST FORM
═══════════════════════════════════════════════════════════ */
.contact-form {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}
.required { color: #f87171; }
.optional  { font-weight: 400; opacity: 0.6; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--ivory);
  border: 1.5px solid var(--sage);
  border-radius: 0.625rem;
  color: var(--dark);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(44,53,24,.3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--dark);
  background: #fff;
}
.form-field select option { background: var(--ivory); color: var(--dark); }
.form-field textarea { resize: vertical; min-height: 120px; }

.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
@media (min-width: 640px) {
  .form-submit { align-items: flex-start; }
}
.form-note {
  font-size: 0.775rem;
  color: rgba(204,213,174,.6);
}
.form-note--dark {
  color: var(--dark-70);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--sage);
  color: var(--dark-70);
}
.footer-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-brand .logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand .logo-text span { color: #4a5e25; }
.footer-brand p { font-size: 0.85rem; max-width: 260px; color: var(--dark-70); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.footer-nav a { color: var(--dark-70); font-size: 0.875rem; }
.footer-nav a:hover { color: var(--dark); }
.footer-bottom {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(44,53,24,.15);
  font-size: 0.8rem;
  color: var(--dark-40);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — two-column grid
═══════════════════════════════════════════════════════════ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
  max-width: 960px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .contact-page-grid { grid-template-columns: 1fr 1.6fr; }
}

/* Info column */
.contact-info h2 {
  margin-bottom: 1.75rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-40);
  margin-bottom: 0.2rem;
}
.contact-detail a,
.contact-detail p {
  font-size: 0.9375rem;
  color: var(--dark-70);
  text-decoration: none;
  font-weight: 600;
}
.contact-detail a:hover { color: var(--dark); text-decoration: underline; }
.contact-cta-note {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(44,53,24,.12);
}
.contact-cta-note p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-70);
}

/* ═══════════════════════════════════════════════════════════
   THANK-YOU PAGE
═══════════════════════════════════════════════════════════ */
.thankyou-main {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  background: var(--ivory);
}
.thankyou-card {
  background: white;
  border: 1px solid var(--celadon);
  border-radius: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.75rem, 5vw, 3.5rem);
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(44,53,24,.08);
}
.thankyou-icon {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
  animation: pop 0.5s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes pop {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1);   opacity: 1; }
}
.thankyou-heading {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0.75rem 0 1rem;
}
.thankyou-sub {
  font-size: 1rem;
  color: var(--dark-70);
  line-height: 1.7;
  max-width: 400px;
  margin-inline: auto;
}
.thankyou-sub strong { color: var(--dark); font-weight: 700; }
.thankyou-share {
  font-size: 0.9rem;
  color: var(--dark-40);
  margin-bottom: 1.25rem;
}
.thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
}
@media (min-width: 480px) {
  .thankyou-actions { flex-direction: row; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
═══════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--ivory);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  box-shadow: 0 4px 14px rgba(44,53,24,.3);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: #3d4a22; }

/* ═══════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATION
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible       { opacity: 1; transform: translateY(0); }
.reveal--delay-1      { transition-delay: 0.1s; }
.reveal--delay-2      { transition-delay: 0.2s; }
.reveal--delay-3      { transition-delay: 0.3s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html    { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}
