/* =========================================================================
   The Party Place — stylesheet
   "Confetti on a clean hall": cream ground, teal ink, coral action, gold.
   Palette & bug-fixes from research/design-language.md.
   ========================================================================= */

/* ---- Tokens: light (default) ------------------------------------------- */
:root {
  --ground: #FFF8EE;
  --surface: #FFFFFF;
  --ink: #0F2B3A;
  --muted: #46606E;
  --brand: #C73E28;        /* CTA fill */
  --brand-text: #B03520;   /* accent text / ticks / links on normal surfaces */
  --accent-dark: #F5B82E;  /* accent text on always-dark bands (fixed) */
  --sun: #F5B82E;          /* highlight fill — dark text on it, never white */
  --ink-fixed: #0F2B3A;    /* dark text on sun (fixed) */
  --on-brand: #FFFFFF;     /* text on brand fills (fixed) */
  --cream: #FBF3E4;        /* text on always-dark bands (fixed) */
  --band: #0F2B3A;         /* always-dark header/hero/footer/CTA/plan panel */

  --border: #E7D9C2;
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1080px;
  --shadow: 0 6px 24px rgba(15, 43, 58, 0.08);

  --font-head: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

/* ---- Tokens: dark ------------------------------------------------------ */
[data-theme="dark"] {
  --ground: #0B181F;
  --surface: #14262F;
  --ink: #FBF3E4;
  --muted: #BFD0D6;
  --brand: #C73E28;
  --brand-text: #FF9C88;
  --accent-dark: #F5B82E;
  --sun: #F5B82E;
  --ink-fixed: #0F2B3A;
  --on-brand: #FFFFFF;
  --cream: #FBF3E4;
  --band: #071117;

  --border: #26414C;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

a { color: var(--brand-text); }
a:hover { text-decoration: underline; }

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

.muted { color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

/* A section wrapper that owns vertical padding (never combined with .container). */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 2.5rem); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--brand-text);
  margin: 0 0 0.6rem;
}

/* ---- Confetti-dot divider --------------------------------------------- */
.confetti-divider {
  height: 14px;
  border: 0;
  margin: 0;
  background-image:
    radial-gradient(circle, var(--brand) 42%, transparent 44%),
    radial-gradient(circle, var(--sun) 42%, transparent 44%),
    radial-gradient(circle, var(--brand-text) 42%, transparent 44%);
  background-size: 18px 18px, 18px 18px, 18px 18px;
  background-position: 0 2px, 6px 9px, 12px 0;
  background-repeat: repeat-x;
  opacity: 0.85;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.btn--primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn--primary:hover { background: #b1341f; border-color: #b1341f; color: var(--on-brand); }

.btn--sun { background: var(--sun); color: var(--ink-fixed); border-color: var(--sun); }
.btn--sun:hover { background: #e4a815; border-color: #e4a815; color: var(--ink-fixed); }

.btn--ghost { background: transparent; color: var(--brand-text); border-color: var(--brand-text); }
.btn--ghost:hover { background: rgba(176, 53, 32, 0.08); color: var(--brand-text); border-color: var(--brand-text); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- Chips / notes ----------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(197, 62, 40, 0.1);
  color: #8f2a18;              /* ≥4.5:1 on the light tint */
  border: 1px solid rgba(197, 62, 40, 0.25);
}
[data-theme="dark"] .chip {
  background: rgba(245, 184, 46, 0.14);
  color: var(--accent-dark);
  border-color: rgba(245, 184, 46, 0.3);
}

.img-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.needs-content {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: rgba(70, 96, 110, 0.05);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Cards ------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);   /* light-mode cards rely on a visible border */
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card--link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card--link:hover { text-decoration: none; transform: translateY(-2px); transition: transform 0.12s ease; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid > * { min-width: 0; }

/* =========================================================================
   Header (always-dark band)
   ========================================================================= */
.site-header {
  background: var(--band);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--cream);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.brand__sub {
  font-size: 0.75rem;
  color: var(--accent-dark);     /* sub-label uses fixed accent on dark */
  font-weight: 600;
}

.site-nav { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.site-nav a[aria-current="page"] { background: rgba(245, 184, 46, 0.18); color: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

/* Theme toggle */
.theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cream);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.16); }
.theme-toggle:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Header CTA + its link-button exceptions (bug-fix 6) */
.site-header a.btn--sun { color: var(--ink-fixed); border-color: var(--sun); }
.site-header a.btn--sun:hover { color: var(--ink-fixed); }
.site-header a.btn--primary { color: var(--on-brand); }
.site-header a.btn--ghost { color: var(--accent-dark); border-color: var(--accent-dark); }
.site-header a.btn--ghost:hover { color: var(--accent-dark); border-color: var(--accent-dark); background: rgba(245, 184, 46, 0.12); }

/* =========================================================================
   Always-dark bands: hero, .band, footer, CTA, plan panel
   Explicit light-on-dark colours (bug-fix 1).
   ========================================================================= */
.hero, .band, .site-footer, .cta-band, .plan-panel {
  background: var(--band);
  color: var(--cream);
}
.hero h1, .hero h2, .hero h3, .hero h4,
.band h1, .band h2, .band h3, .band h4,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
.cta-band h1, .cta-band h2, .cta-band h3, .cta-band h4,
.plan-panel h1, .plan-panel h2, .plan-panel h3, .plan-panel h4 { color: var(--cream); }

.hero p, .hero li,
.band p, .band li,
.site-footer p, .site-footer li,
.cta-band p, .cta-band li,
.plan-panel p, .plan-panel li { color: var(--cream); }

.hero .muted, .band .muted, .site-footer .muted, .cta-band .muted, .plan-panel .muted { color: #C6D4DA; }

.hero .eyebrow, .band .eyebrow, .cta-band .eyebrow, .plan-panel .eyebrow { color: var(--accent-dark); }

/* Accent text on dark bands uses fixed accent, never --brand-text (bug-fix 1) */
.hero a:not(.btn), .band a:not(.btn), .site-footer a:not(.btn),
.cta-band a:not(.btn), .plan-panel a:not(.btn) { color: var(--accent-dark); }

/* NAP dt/dd on dark bands (bug-fix 1) */
.hero dl.nap dt, .hero dl.nap dd,
.band dl.nap dt, .band dl.nap dd,
.site-footer dl.nap dt, .site-footer dl.nap dd,
.cta-band dl.nap dt, .cta-band dl.nap dd { color: var(--cream); }

.hero .chip, .band .chip, .site-footer .chip, .cta-band .chip, .plan-panel .chip {
  background: rgba(245, 184, 46, 0.14);
  color: var(--accent-dark);
  border-color: rgba(245, 184, 46, 0.3);
}
.hero .img-note, .band .img-note, .cta-band .img-note { color: #C6D4DA; }

/* Button-text exceptions inside every dark band (bug-fix 6 & 8) */
.hero a.btn--primary, .band a.btn--primary, .site-footer a.btn--primary,
.cta-band a.btn--primary, .plan-panel a.btn--primary,
.hero button.btn--primary, .band button.btn--primary, .cta-band button.btn--primary,
.plan-panel button.btn--primary { color: var(--on-brand); border-color: var(--brand); }

.hero a.btn--sun, .band a.btn--sun, .site-footer a.btn--sun,
.cta-band a.btn--sun, .plan-panel a.btn--sun,
.hero button.btn--sun, .band button.btn--sun, .cta-band button.btn--sun,
.plan-panel button.btn--sun { color: var(--ink-fixed); border-color: var(--sun); }
.hero a.btn--sun:hover, .band a.btn--sun:hover, .site-footer a.btn--sun:hover,
.cta-band a.btn--sun:hover, .plan-panel a.btn--sun:hover,
.plan-panel button.btn--sun:hover, .cta-band button.btn--sun:hover { color: var(--ink-fixed); }

/* Ghost buttons on dark bands use fixed accent for border + text (bug-fix 8) */
.hero a.btn--ghost, .band a.btn--ghost, .site-footer a.btn--ghost,
.cta-band a.btn--ghost, .plan-panel a.btn--ghost,
.hero button.btn--ghost, .band button.btn--ghost, .cta-band button.btn--ghost,
.plan-panel button.btn--ghost {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
  background: transparent;
}
.hero a.btn--ghost:hover, .band a.btn--ghost:hover, .site-footer a.btn--ghost:hover,
.cta-band a.btn--ghost:hover, .plan-panel a.btn--ghost:hover,
.hero button.btn--ghost:hover, .band button.btn--ghost:hover, .cta-band button.btn--ghost:hover,
.plan-panel button.btn--ghost:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
  background: rgba(245, 184, 46, 0.12);
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero .btn-row { margin-top: 1.5rem; }

/* Proof strip */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.proof-strip .stat { display: flex; flex-direction: column; }
.proof-strip .stat b {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--accent-dark);
  font-weight: 600;
}
.proof-strip .stat span { font-size: 0.85rem; color: #C6D4DA; }

/* =========================================================================
   Band (image feature strips)
   ========================================================================= */
.band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.band-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.band-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* CTA band */
.cta-band-inner { padding-block: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.cta-band .btn-row { justify-content: center; margin-top: 1.5rem; }

/* =========================================================================
   NAP / find-us
   ========================================================================= */
dl.nap { margin: 0; display: grid; gap: 0.75rem; }
dl.nap > div { display: flex; flex-direction: column; min-width: 0; }
dl.nap dt { font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
dl.nap dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

.findus { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.findus > * { min-width: 0; }

/* =========================================================================
   Gallery
   ========================================================================= */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery > * { min-width: 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* =========================================================================
   Footer (always-dark band)
   ========================================================================= */
.site-footer { margin-top: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-grid > * { min-width: 0; }
.footer-grid a { color: var(--cream); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; color: var(--accent-dark); }
.footer-col h4 { color: var(--cream); margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.25rem;
  font-size: 0.85rem;
  color: #C6D4DA;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}
.footer-bottom a { color: var(--accent-dark); }

.demo-note {
  background: #071117;
  border: 1px solid rgba(245, 184, 46, 0.25);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--cream);
  margin-top: 1rem;
}
.demo-note strong { color: var(--accent-dark); }

/* =========================================================================
   Skip link + utilities
   ========================================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sun);
  color: var(--ink-fixed);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
  font-family: var(--font-head);
}
.skip-link:focus { left: 0; }

.page-head { text-align: left; }
.page-head .container { padding-block: clamp(2rem, 5vw, 3rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.flow > * + * { margin-top: 1rem; }

/* =========================================================================
   Planner (Signature Feature)
   ========================================================================= */
.planner-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.planner-layout > * { min-width: 0; }

.planner-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem 1.5rem;
  margin: 0 0 1.5rem;
  background: var(--surface);
}
.planner-form legend {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0 0.5rem;
  color: var(--ink);
}
.field-hint { font-size: 0.9rem; color: var(--muted); margin: -0.25rem 0 1rem; }

/* Option tiles (radio + checkbox) */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.tiles > * { min-width: 0; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--ground);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 100%;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.tile .tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  line-height: 1;
}
.tile input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
/* Selected: outline + tick, not colour alone (bug-fix 13) */
.tile input:checked + label { border-color: var(--brand-text); background: rgba(176, 53, 32, 0.07); }
.tile input:checked + label .tick { border-color: var(--brand-text); color: var(--brand-text); }
[data-theme="dark"] .tile input:checked + label { background: rgba(255, 156, 136, 0.1); }

/* Guest stepper */
.stepper { display: flex; align-items: center; gap: 0.75rem; }
.stepper button {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 2px solid var(--brand-text);
  background: transparent;
  color: var(--brand-text);
  font-size: 1.4rem;
  font-family: var(--font-head);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.stepper button:hover { background: rgba(176, 53, 32, 0.08); }
.stepper button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.stepper-value { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; min-width: 10ch; text-align: center; }

/* Date + countdown */
.date-field input[type="date"] {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--ground);
  color: var(--ink);
  width: 100%;
  max-width: 320px;
}
.countdown { margin-top: 0.75rem; font-family: var(--font-head); font-weight: 600; color: var(--brand-text); }
.hidden { display: none !important; }

textarea.notes {
  width: 100%;
  min-height: 90px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--ground);
  color: var(--ink);
  resize: vertical;
}
.char-count { font-size: 0.8rem; color: var(--muted); text-align: right; margin-top: 0.25rem; }

/* Plan panel (always dark, both themes) */
.plan-panel {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow);
}
.plan-rows { display: grid; gap: 0.6rem; margin: 1rem 0; }
.plan-rows .row { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: baseline; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.plan-rows .row dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--accent-dark); font-weight: 800; }
.plan-rows .row dd { margin: 0; color: var(--cream); overflow-wrap: anywhere; }
.plan-empty { color: #C6D4DA; font-style: italic; }
.message-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,184,46,0.25);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 1rem 0;
}
.copied-note { font-size: 0.85rem; color: var(--accent-dark); margin-top: 0.5rem; min-height: 1.2em; }

/* =========================================================================
   Responsive (bug-fix 3)
   ========================================================================= */
@media (max-width: 920px) {
  .hero-inner, .band-inner, .findus, .planner-layout { grid-template-columns: 1fr; }
  .hero-media, .band-media { order: -1; }
  .plan-panel { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .site-nav { order: 3; width: 100%; justify-content: flex-start; }  /* nav own row */
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }           /* hide header CTA ≤480px */
  body { font-size: 1rem; }
  .gallery { grid-template-columns: 1fr; }
}
