/* ============================================================
   UR-Amazing.org — Master Design System
   "Helping Amazing People Discover Just How Amazing They Already Are."
   A warm, handcrafted, emotionally intelligent design language.
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand palette — warm, hopeful, never harsh */
  --sunrise:        #F6A94C;   /* hope */
  --sunrise-deep:   #EF8A57;   /* warmth (decorative fills) */
  --sunrise-ink:    #B0480F;   /* accessible warm accent for TEXT (WCAG AA on light) */
  --coral:          #F2857A;   /* compassion */
  --coral-soft:     #F8AEA4;
  --sky:            #7FB8D6;   /* trust */
  --sky-soft:       #B9DCEC;
  --green:          #8FC79A;   /* growth */
  --green-soft:     #C4E5C7;
  --lavender:       #B7A7DD;   /* healing */
  --lavender-soft:  #DCD3F0;
  --champagne:      #F5E8D3;   /* celebration */
  --wood:           #C89B6E;   /* stability */

  /* Neutrals — warm, no pure black */
  --ivory:          #FDF8F1;   /* peace / base bg */
  --cream:          #FBF1E4;
  --sand:           #F3E7D5;
  --ink:            #3B2E28;   /* primary text */
  --ink-soft:       #6E5D53;   /* secondary text */
  --ink-faint:      #7C6C60;   /* darkened to meet AA for small informational text */
  --white:          #FFFFFF;

  /* Signature gradients */
  --grad-sunrise:   linear-gradient(120deg, #F9C784 0%, #F6A94C 32%, #F2857A 66%, #C89ADB 100%);
  --grad-warm:      linear-gradient(135deg, #F6A94C 0%, #F2857A 100%);
  --grad-dawn:      linear-gradient(180deg, #FDEBD2 0%, #FBD9C3 40%, #F6C9D8 72%, #E7D6F0 100%);
  --grad-soft:      linear-gradient(160deg, #FFFFFF 0%, #FDF3E6 100%);
  --grad-heal:      linear-gradient(135deg, #B7A7DD 0%, #7FB8D6 100%);

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  /* Radii — everything rounded, organic */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-xl: 44px;
  --r-pill: 999px;

  /* Soft, warm shadows (no cold grey) */
  --sh-sm: 0 4px 14px rgba(120, 78, 40, 0.08);
  --sh-md: 0 14px 40px rgba(120, 78, 40, 0.12);
  --sh-lg: 0 30px 70px rgba(120, 78, 40, 0.16);
  --sh-glow: 0 10px 40px rgba(246, 169, 76, 0.35);

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 780px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

/* Focus visibility for accessibility */
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-optical-sizing: auto;
}

h1, .h1 { font-size: clamp(2.6rem, 1.9rem + 3.4vw, 5rem); font-weight: 600; }
h2, .h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.4rem); }
h3, .h3 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); }
h4, .h4 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); }

p { max-width: 68ch; }

.lead {
  font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--sunrise-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-warm);
  border-radius: 2px;
}
.eyebrow.center::before { display: none; }

.script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.gradient-text {
  background: var(--grad-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-center { text-align: center; }
.measure { max-width: var(--maxw-narrow); margin-inline: auto; }
.muted { color: var(--ink-soft); }

/* ---------- 4. Layout Primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--maxw-narrow); }

.section {
  position: relative;
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
}
.section.tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }

.stack > * + * { margin-top: 1.2rem; }
.stack-lg > * + * { margin-top: 2rem; }

.grid { display: grid; gap: clamp(1.4rem, 1rem + 2vw, 2.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.bg-cream { background: var(--cream); }
.bg-sand  { background: var(--sand); }
.bg-dawn  { background: var(--grad-dawn); }
.bg-soft  { background: var(--grad-soft); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding: 1rem 1.9rem;
  border-radius: var(--r-pill);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  will-change: transform;
  text-align: center;
  line-height: 1.1;
}
.btn svg { width: 1.15em; height: 1.15em; }

.btn-primary {
  background: var(--grad-warm);
  color: var(--white);
  box-shadow: var(--sh-glow);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 46px rgba(242, 133, 122, 0.45); }

.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(200, 155, 110, 0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--sunrise), var(--sh-md); }

.btn-soft {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--sh-sm);
}
.btn-soft:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.btn-lg { padding: 1.2rem 2.4rem; font-size: 1.12rem; }
.btn-block { width: 100%; }

.btn-link {
  font-weight: 800;
  color: var(--sunrise-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-link:hover { gap: 0.8em; color: var(--coral); }

/* ---------- 6. Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  box-shadow: var(--sh-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.card.lift:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }

.card-icon {
  width: 62px; height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  background: var(--grad-warm);
  color: var(--white);
  box-shadow: var(--sh-sm);
}
.card-icon svg { width: 30px; height: 30px; }

/* Palette-varied icon chips */
.chip-coral  { background: linear-gradient(135deg, #F8AEA4, #F2857A); }
.chip-sky    { background: linear-gradient(135deg, #B9DCEC, #7FB8D6); }
.chip-green  { background: linear-gradient(135deg, #C4E5C7, #8FC79A); }
.chip-lav    { background: linear-gradient(135deg, #DCD3F0, #B7A7DD); }
.chip-gold   { background: linear-gradient(135deg, #F9C784, #F6A94C); }
.chip-wood   { background: linear-gradient(135deg, #E3C39B, #C89B6E); }

/* A subtle top glow strip that appears on hover */
.card.lift::after {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-sunrise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card.lift:hover::after { transform: scaleX(1); }

/* ---------- 7. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 0.7rem;
}
.site-header.scrolled {
  background: rgba(253, 248, 241, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 30px rgba(120, 78, 40, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand strong { font-weight: 700; }
.brand .amazing { color: var(--sunrise-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-links a {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  width: 0; height: 3px;
  border-radius: 3px;
  background: var(--grad-warm);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--sunrise-ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 22px; }
.nav-links a[aria-current="page"] { color: var(--sunrise-ink); }

.nav-cta { margin-left: 0.5rem; }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Sound toggle */
.sound-toggle {
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.7);
  box-shadow: var(--sh-sm);
  color: var(--ink-soft);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.sound-toggle:hover { transform: scale(1.08); color: var(--sunrise-deep); }
.sound-toggle .wave { display: none; }
.sound-toggle.playing .wave { display: block; }
.sound-toggle.playing .muted-icon { display: none; }
.sound-toggle .muted-icon { display: block; }

/* Mobile menu button */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.7);
  box-shadow: var(--sh-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px; height: 2.5px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 6rem 1.6rem 2rem;
    background: var(--ivory);
    box-shadow: -20px 0 60px rgba(120, 78, 40, 0.18);
    transform: translateX(105%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; font-size: 1.15rem; padding: 0.8rem 1rem; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 0.6rem 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; }
}

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(59, 46, 40, 0.35);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  z-index: 99;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-dawn);
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-scene svg { width: 100%; height: 100%; }
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 4rem + 8vw, 9rem);
}
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { max-width: 40ch; }
.hero-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  color: var(--ink);
  min-height: 2.4em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-sub {
  margin-top: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--sunrise-ink);
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* the interactive sun (parent scene is pointer-events:none, so re-enable here) */
.hero-sun {
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.6s var(--ease);
  transform-origin: center;
}
.hero-sun:hover { transform: scale(1.05); }

/* ---------- 9. Section dividers (organic waves) ---------- */
.wave-divider {
  position: relative;
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg { width: 100%; height: clamp(40px, 6vw, 90px); display: block; }

/* ---------- 10. Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* ---------- 11. Floating ambient particles ---------- */
/* Any section hosting particles must clip them so they never bleed into
   neighbouring sections. */
[data-particles] { position: relative; overflow: hidden; }
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  bottom: -30px;
  opacity: 0;
  pointer-events: none;
  animation: floatUp linear infinite;
  color: var(--sunrise);
}
@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-108vh) rotate(240deg); opacity: 0; }
}

/* Butterfly that flies across the page (hidden delight) */
.butterfly-fly {
  position: fixed;
  z-index: 60;
  cursor: pointer;
  filter: drop-shadow(0 6px 10px rgba(120,78,40,0.2));
  animation: flyPath 26s linear infinite;
  will-change: transform;
}
.butterfly-fly .wingL, .butterfly-fly .wingR { transform-origin: center; animation: flap 0.28s ease-in-out infinite alternate; }
.butterfly-fly .wingR { animation-direction: alternate-reverse; }
@keyframes flap {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(60deg); }
}
@keyframes flyPath {
  0%   { transform: translate(-8vw, 70vh) rotate(-6deg); }
  25%  { transform: translate(30vw, 30vh) rotate(8deg); }
  50%  { transform: translate(60vw, 55vh) rotate(-4deg); }
  75%  { transform: translate(88vw, 22vh) rotate(10deg); }
  100% { transform: translate(112vw, 45vh) rotate(-6deg); }
}

/* ---------- 12. Quote / affirmation blocks ---------- */
.quote-block {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.6rem);
  line-height: 1.32;
  color: var(--ink);
  text-align: center;
  max-width: 22ch;
  margin-inline: auto;
}
.quote-block::before {
  content: "\201C";
  position: absolute;
  top: -0.5em; left: 50%;
  transform: translateX(-50%);
  font-size: 4em;
  color: var(--coral-soft);
  opacity: 0.5;
  line-height: 1;
  pointer-events: none;
}
.quote-attr {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sunrise-deep);
}

/* ---------- 13. Pill / tag / badge ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--sh-sm);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--champagne);
  color: #7A5320;   /* AA-compliant warm brown on champagne */
}
.badge.signature { background: var(--grad-warm); color: var(--white); }

/* ---------- 14. Service / pricing cards ---------- */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--ink-soft); flex-grow: 1; }
.service-meta {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(200,155,110,0.4);
}
.price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
}
.price small { font-size: 0.9rem; color: var(--ink-faint); font-family: var(--font-body); font-weight: 700; }
.price-note { font-size: 0.82rem; color: var(--ink-faint); }
.service-includes { margin: 1rem 0; }
.service-includes li {
  display: flex; gap: 0.6em; align-items: flex-start;
  font-size: 0.95rem; color: var(--ink-soft);
  padding: 0.25rem 0;
}
.service-includes li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23478a52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- 15. Stats ---------- */
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label { font-weight: 700; color: var(--ink-soft); margin-top: 0.4rem; font-size: 0.95rem; }

/* ---------- 16. Forms ---------- */
.field { margin-bottom: 1.2rem; }
.field label,
.field-label {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.field .hint { font-weight: 500; color: var(--ink-faint); font-size: 0.82rem; }
.input, .textarea, .select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 2px solid rgba(200, 155, 110, 0.3);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--sunrise);
  box-shadow: 0 0 0 4px rgba(246,169,76,0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.6rem; }
.check {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 2px solid rgba(200,155,110,0.25);
  cursor: pointer;
  font-weight: 700; font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.check input { width: 20px; height: 20px; accent-color: var(--sunrise-deep); }
.check:hover { border-color: var(--sunrise); background: var(--cream); }
.check.checked { border-color: var(--sunrise); background: var(--champagne); }

/* ---------- 17. Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #4A3A31 0%, #3B2E28 100%);
  color: #F3E6D6;
  padding-block: clamp(3.5rem, 3rem + 3vw, 6rem) 2.5rem;
  position: relative;
}
.site-footer a { color: #EBD9C6; opacity: 0.85; transition: opacity 0.3s var(--ease), color 0.3s var(--ease); }
.site-footer a:hover { opacity: 1; color: var(--sunrise); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; font-size: 1.05rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-brand p { color: #C9B6A5; font-size: 0.95rem; max-width: 34ch; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #B7A493;
}
.footer-newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-newsletter input {
  flex: 1; min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--r-pill);
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: inherit;
}
.footer-newsletter input::placeholder { color: #C9B6A5; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.1);
  opacity: 1;
}
.footer-social a:hover { background: var(--grad-warm); transform: translateY(-3px); }

/* ---------- 18. Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.flow > * + * { margin-top: 1rem; }
.hide { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.center-x { display: flex; justify-content: center; }
.wrap-flex { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 0.8rem 1.4rem; border-radius: 0 0 var(--r-md) 0;
  font-weight: 800;
}
.skip-link:focus { left: 0; }

/* Toast / notice */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 120%);
  background: var(--ink);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-lg);
  font-weight: 700;
  z-index: 300;
  transition: transform 0.5s var(--ease);
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
