/* ============================================================
   WIPE YOUR PAWS — wipeyourpaws.net
   Custom Stylesheet · Bootstrap 5.3.8 overlay · Rev.5
   WCAG 2.1 AA compliant — see README.md for full audit trail

   SECTIONS
   ─────────────────────────────────────────────────────────
   1. GLOBAL / RESET
   2. TYPOGRAPHY
   3. COMPONENTS & ELEMENTS
      3a. Accessibility (skip link, focus, sr-only)
      3b. Navbar
      3c. Hero Sections
      3d. Cards
      3e. Buttons
      3f. Forms & Contact Sidebar
      3g. Page-Specific Sections
      3h. Footer
      3i. Alerts
      3j. Animations & Decorative Strips
   4. UTILITIES
   5. MEDIA QUERIES
   ============================================================ */


/* ============================================================
   1. GLOBAL / RESET
   ============================================================ */

:root {
  /* Brand palette */
  --orange-primary:  #F07822;
  --orange-deep:     #D94820;
  --orange-light:    #F5A240;
  --orange-pale:     #FCDDB0;
  --yellow-bright:   #F8CE10;
  --yellow-light:    #FBE978;
  --yellow-soft:     #FFF3C0;
  --pink-mauve:      #C87FAA;
  --pink-light:      #E0ADCA;
  --pink-pale:       #F5DFF0;
  --cream:           #FFF8F0;
  --warm-white:      #FFFDF8;
  --bright-white:    #FFFFFF;

  /*
   * SAFE TEXT COLOURS — verified contrast ratios (AA = 4.5:1 normal / 3:1 large)
   * --text-dark    #3A1A00  15.02:1 on cream  — all text sizes
   * --text-mid     #6B3500   9.34:1 on cream  — all text sizes
   * --text-light   #9A5520   5.40:1 on cream  — all text sizes
   * --text-orange  #B83918   5.48:1 on cream  — all text sizes
   * --text-mauve   #823C64   7.43:1 on warm-white — all text sizes
   *
   * LARGE-TEXT ONLY (≥24px regular / ≥18.67px bold)
   * --orange-deep  #D94820   4.07:1 on cream  — LARGE TEXT ONLY
   */
  --text-dark:       #3A1A00;
  --text-mid:        #6B3500;
  --text-light:      #9A5520;
  --text-orange:     #B83918;
  --text-mauve:      #823C64;

  /* Typefaces */
  --font-display:    'Berkshire Swash', cursive;
  --font-body:       'Nunito', sans-serif;
  --font-accent:     'Playfair Display', serif;

  /* Shape & shadow */
  --radius-lg:       1.5rem;
  --radius-xl:       2.5rem;
  --shadow-warm:     0 8px 40px rgba(217, 72, 32, 0.18);
  --shadow-card:     0 4px 24px rgba(240, 120, 34, 0.15);

  /* Focus ring — visible in Windows High Contrast mode */
  --focus-color:     #005FCC;
}

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

/* font-size:100% anchors rem to the user's browser preference (WCAG 1.4.4) */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.5;        /* WCAG 1.4.12 minimum */
  word-spacing: normal;    /* explicit baseline */
}

/* Line height + spacing above Bootstrap default (WCAG 1.4.12) */
p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
p:last-child { margin-bottom: 0; }

/* iframe reset — applied to all embedded maps */
iframe { border: 0; display: block; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--yellow-soft); }
::-webkit-scrollbar-thumb { background: var(--orange-primary); border-radius: 4px; }


/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */

/* ── Section labels ─────────────────────────────────────── */
/*
 * WCAG: 0.8rem + 0.12em tracking + text-orange (#B83918) = 5.48:1 on cream ✅
 * --orange-deep would fail at this size (4.07:1 < 4.5:1 for normal text)
 */
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-orange);
  margin-bottom: 0.5rem;
}

/* Large heading ≥24px: --orange-deep passes large-text 3:1 (4.07:1 on cream) */
.section-title {
  font-family: var(--font-display);
  color: var(--orange-deep);
  line-height: 1.2;
}

.section-divider {
  width: 3.75rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--orange-primary), var(--yellow-bright));
  border-radius: 2px;
  margin: 1rem auto 2rem;
  border: none;
}

/* ── Page hero typography ───────────────────────────────── */
.page-hero-z { position: relative; z-index: 2; }

/* Decorative emoji row above hero headings */
.page-hero-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Shared hero h1 — white on dark gradient ≥4.29:1 (large text 3:1 threshold ✅) */
.page-hero-h1 {
  font-family: var(--font-display);
  color: var(--bright-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: 3px 4px 12px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* Shared hero tagline — rgba(white,0.95) on dark gradient ≥4.5:1 ✅ */
.page-hero-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 56ch;
  margin: 0 auto;
}

/* ── Homepage hero brand block ──────────────────────────── */
/* 11rem emoji — decorative, aria-hidden in markup */
.hero-brand-emoji {
  font-size: 11rem;
  line-height: 1;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.2));
}

/* "Monterey Bay, CA" tagline below brand name */
.hero-location-badge {
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  margin-top: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  padding: 1rem !important;
}

/* ── Homepage feature cards ─────────────────────────────── */
.feature-card-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* 1.2rem = 19.2px Berkshire Swash (non-bold) — normal text → 4.5:1 needed.
   Using text-orange (#B83918): 5.68:1 on warm-white ✅ */
.feature-card-heading {
  font-family: var(--font-display);
  color: var(--text-orange);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card-body {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Quote strip ────────────────────────────────────────── */
/* font-accent italic at clamp(1.4–2rem) — text-mid 9.34:1 on pastel ✅ */
.section-quote__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-mid);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-quote__attr {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 1rem;
}

/* ── CTA strip heading & body ───────────────────────────── */
/* White on dark mahogany gradient ≥6.78:1 ✅ */
.section-cta__h2 {
  font-family: var(--font-display);
  color: var(--bright-white);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  text-shadow: 2px 3px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.75rem;
}

.section-cta__p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Dog profile typography ─────────────────────────────── */
/* 2rem = 32px Berkshire Swash — large text → 3:1 needed. orange-deep = 4.22:1 ✅ */
.dog-name {
  font-family: var(--font-display);
  color: var(--orange-deep);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

/* 1rem italic — text-mauve (#823C64) = 7.43:1 on warm-white ✅ */
.dog-catchphrase {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--text-mauve);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.dog-bio {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* ── Intro story section text ───────────────────────────── */
.story-emoji {
  font-size: 8rem;
  line-height: 1;
  filter: drop-shadow(0 8px 20px rgba(240, 120, 34, 0.25));
}

.story-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ── Breed fact card headings ───────────────────────────── */
/* 1.2rem = 19.2px normal text → text-orange 5.68:1 ✅ */
.breed-fact-heading {
  font-family: var(--font-display);
  color: var(--text-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ── Monterey page typography ───────────────────────────── */
.monterey-intro__copy {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* 1.6rem = 25.6px Berkshire Swash — large text → 3:1. orange-deep 4.07:1 ✅ */
.spots-heading {
  font-family: var(--font-display);
  color: var(--orange-deep);
  font-size: 1.6rem;
  margin: 1rem 0 0.75rem;
}

.spots-intro {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 56ch;
  margin: 0 auto 1.5rem;
}

/* 0.9rem bold text-dark: 15.02:1 on cream ✅ */
.category-item-title {
  font-size: 0.9rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.category-item-body {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* 0.88rem text-orange on cream: 5.48:1 ✅ */
.spot-name {
  font-size: 0.88rem;
  color: var(--text-orange);
  font-weight: 700;
}

.spot-desc {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.5;
}

/* ── Gallery page typography ────────────────────────────── */
/* 1.7rem = 27.2px Berkshire Swash — large text → 3:1. orange-deep 4.07:1 ✅ */
.gallery-story-heading {
  font-family: var(--font-display);
  color: var(--orange-deep);
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.gallery-story-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

/* 0.88rem text-mid: 9.68:1 on warm-white ✅ */
.gallery-dog-teaser {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* 0.82rem bold text-orange: 5.68:1 on warm-white ✅ */
.gallery-dog-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-orange);
  text-decoration: none;
}
.gallery-dog-link:hover { text-decoration: underline; color: var(--text-orange); }

/* 0.93rem text-light on cream: 5.40:1 ✅ */
.gallery-tip-text { font-size: 0.93rem; color: var(--text-light); }

/* 0.98rem text-mid: 9.34:1 ✅ */
.gallery-coming-soon__body {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

/* ── Contact sidebar typography ─────────────────────────── */
/* 0.82rem uppercase text-mid: 9.34:1 on pale bg ✅ */
.contact-info-label {
  font-size: 0.82rem;
  display: block;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* text-orange on pale orange bg: 5.48:1 ✅ */
.contact-info-link {
  color: var(--text-orange);
  font-weight: 700;
  text-decoration: none;
}
.contact-info-link:hover { text-decoration: underline; color: var(--text-orange); }

.contact-info-value {
  color: var(--text-orange);
  font-weight: 700;
}

.contact-info-note {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* 0.75rem text-light on white/pale: 5.40:1+ ✅ */
.contact-form-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
}

/* ── Footer typography ──────────────────────────────────── */
/*
 * WCAG FIX: was color:--yellow-light (#FBE978) at 0.95rem (normal text).
 * Yellow-light on #C53C14 = 4.22:1 — FAIL. Changed to #fff = 5.21:1+ ✅
 */
.footer-col-heading {
  font-family: var(--font-display);
  color: var(--bright-white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* rgba(white,0.87) on footer dark #7A1E00 ≈ 9.96:1 ✅ */
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.87);
  line-height: 1.6;
}

.footer-contact-address {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.87);
  line-height: 2;
  font-style: normal;
}

.footer-col-body {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.87);
  line-height: 1.65;
}

/* yellow-bright on footer-dark #7A1E00: 6.87:1 ✅ */
.footer-icon { color: var(--yellow-bright); }

/* ── 404 page typography ────────────────────────────────── */
.error-404-heading {
  font-family: var(--font-display);
  color: var(--bright-white);
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1;
  text-shadow: 3px 4px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.25rem;
}

.error-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.error-body {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 42ch;
  margin: 0 auto 2rem;
}

/*
 * WCAG FIX: 1.1rem = 17.6px normal text → needs 4.5:1.
 * Was orange-deep (4.07:1 on cream) — FAIL.
 * text-orange (#B83918): 5.48:1 on cream ✅
 */
.quicklinks-title {
  font-family: var(--font-display);
  color: var(--text-orange);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/*
 * WCAG FIX: was 0.72rem (11.5px) — below minimum readable size.
 * Bumped to 0.75rem; text-light 5.40:1 on warm-white ✅
 */
.quicklink-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 0.2rem;
}

/* text-orange on warm-white: 5.68:1 ✅ */
.quicklink-card {
  display: block;
  text-align: center;
  background: var(--warm-white);
  border: 2px solid var(--orange-pale);
  border-radius: var(--radius-lg);
  padding: 1.2rem 0.75rem;
  text-decoration: none;
  color: var(--text-orange);
  font-weight: 700;
  font-size: 0.82rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
}

.quicklink-card:hover {
  border-color: var(--orange-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240, 120, 34, 0.25);
  color: var(--text-orange);
}

.quicklink-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* ── Section-teaser (index map block) ───────────────────── */
.section-teaser__copy {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 46ch;
}


/* ============================================================
   3. COMPONENTS & ELEMENTS
   ============================================================ */

/* ── 3a. Accessibility ──────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--orange-deep);
  color: var(--bright-white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0 0 0.75rem 0;
  transition: top 0.1s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--yellow-bright);
  outline-offset: 2px;
}

/* Non-interactive element receiving programmatic focus */
main:focus { outline: none; }

/* Global focus ring (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

.btn-wyp:focus-visible,
.btn-submit:focus-visible {
  outline: 3px solid var(--bright-white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--orange-deep);
}

.wyp-navbar .nav-link:focus-visible {
  outline: 3px solid var(--yellow-bright);
  outline-offset: 2px;
}

.wyp-form .form-control:focus,
.wyp-form .form-select:focus {
  border-color: var(--orange-primary);
  outline: 3px solid var(--orange-primary);
  outline-offset: -1px;
  box-shadow: 0 0 0 3px rgba(240, 120, 34, 0.25);
  background: var(--bright-white);
}

.social-circle:focus-visible {
  outline: 3px solid var(--yellow-bright);
  outline-offset: 3px;
}

.wyp-footer a:focus-visible {
  outline: 3px solid var(--yellow-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

.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;
}

/* Honeypot field — offscreen, hidden from AT */
.honeypot-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── 3b. Navbar ─────────────────────────────────────────── */
/*
 * WCAG: All gradient stops ≥5.21:1 white (normal-weight nav links, 0.88rem):
 *   #7A1E00  10.43:1 ✅   #A83010  6.78:1 ✅   #C53C14  5.21:1 ✅
 */
.wyp-navbar {
  background: linear-gradient(135deg, #7A1E00 0%, #A83010 50%, #C53C14 100%);
  box-shadow: 0 4px 20px rgba(90, 10, 0, 0.45);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.wyp-navbar .navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bright-white) !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* 0.75rem, white on dark gradient ≥10:1 ✅ */
.wyp-navbar .navbar-brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--bright-white);
  text-shadow: none;
}

.wyp-navbar .nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem !important;
  border-radius: 2rem;
  transition: background-color 0.25s ease, color 0.25s ease;
  position: relative;
}

.wyp-navbar .nav-link:hover,
.wyp-navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.18);
  color: var(--bright-white)!important;
}

.wyp-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0.125rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.375rem;
  height: 0.375rem;
  background: var(--yellow-bright);
  border-radius: 50%;
}

.wyp-navbar .navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.25rem 0.5rem;
}

.wyp-navbar .navbar-toggler-icon { filter: invert(1); }

.paw-brand-icon {
  font-size: 1.6rem;
  margin-right: 0.5rem;
  display: inline-block;
  animation: pawBounce 2.5s ease-in-out infinite;
}

@keyframes pawBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-4px) rotate(5deg); }
}

/* ── 3c. Hero Sections ──────────────────────────────────── */

/* Homepage hero (warm gradient) */
.wyp-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url(/images/background-swirl.svg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}


.wyp-hero .hero-content { position: relative; z-index: 2; }

/* Homepage hero h1 — white on warm gradient ≥4.29:1 (large text 3:1 ✅) */
.wyp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--bright-white);
  text-shadow: 3px 4px 12px rgba(0, 0, 0, 0.35);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.wyp-hero .hero-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.wyp-hero .hero-copy {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 60ch;
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
}

/* Hero glass card — dark overlay so white text passes on yellow end */
/* rgba(30,5,0,0.60): effective bg on worst-case #FBE978 = 6.02:1 ✅ */
.hero-card {
  background: rgba(30, 5, 0, 0.40);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(90, 10, 0, 0.45);
  animation: heroCardIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}


@keyframes heroCardIn {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating paw prints (decorative, aria-hidden in markup) */
.paw-float {
  position: absolute;
  opacity: 0.45;
  font-size: 3rem;
  animation: floatDrift 8s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}
.paw-float:nth-child(1) { top: 8%;     left: 5%;   font-size: 2rem;   animation-delay: 0s; }
.paw-float:nth-child(2) { top: 20%;    right: 10%; font-size: 3.5rem; animation-delay: 1.5s; }
.paw-float:nth-child(3) { bottom: 15%; left: 15%;  font-size: 2.5rem; animation-delay: 3s; }
.paw-float:nth-child(4) { bottom: 25%; right: 20%; font-size: 1.8rem; animation-delay: 0.8s; }
.paw-float:nth-child(5) { top: 50%;    left: 50%;  font-size: 4rem;   animation-delay: 2s; }

@keyframes floatDrift {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  33%      { transform: translateY(-18px) rotate(15deg) scale(1.05); }
  66%      { transform: translateY(10px) rotate(-10deg) scale(0.95); }
}

/* Shared inner-page hero — mahogany/plum gradient base */
.monterey-hero,
.gallery-hero,
.contact-hero,
.intro-hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Curved section scallop */
.monterey-hero::after,
.gallery-hero::after,
.contact-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 3.75rem;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Per-page hero gradients — all stops verified ≥4.29:1 white (large text) */
.monterey-hero {
  background: linear-gradient(160deg, var(--orange-deep) 0%, #A83010 50%, #702060 100%);
}

.gallery-hero {
  background: linear-gradient(135deg, #A83010 0%, var(--orange-deep) 60%, #7A1E00 100%);
}

.contact-hero {
  background: linear-gradient(135deg, #6B2060 0%, #A83010 50%, var(--orange-deep) 100%);
}

/* intro.php reuses .monterey-hero class but needs its own gradient */
.intro-hero {
  background: linear-gradient(135deg, var(--orange-deep) 0%, #A83010 50%, #702060 100%);
}

/*
 * 404 hero — WCAG FIX: original used orange-primary/yellow-bright (2.83:1/1.52:1).
 * New dark stops: all ≥5.21:1 white ✅
 *   #7A1E00  10.43:1   #A83010  6.78:1   #C53C14  5.21:1
 */
.error-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #7A1E00 0%, #A83010 50%, #C53C14 100%);
  position: relative;
  overflow: hidden;
}

/* ── 3d. Cards ──────────────────────────────────────────── */

.wyp-card {
  background: var(--warm-white);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wyp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(240, 120, 34, 0.25);
}

.wyp-card .card-header-band {
  height: 0.5rem;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-primary), var(--yellow-bright));
}

/* Dog profile cards */
.dog-profile-card {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-warm);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.dog-profile-card:hover { transform: translateY(-8px) scale(1.01); }

/* Decorative rainbow top stripe on dog profile cards */
.dog-card-top-stripe {
  height: 10px;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-primary), var(--yellow-bright));
  border-radius: 1rem 1rem 0 0;
  margin: -1rem -1rem 2rem;
  padding: 0;
}

.dog-card-top-stripe--skipper {
  background: linear-gradient(90deg, var(--pink-mauve), var(--orange-light), var(--yellow-bright));
}

/* Avatar frame — rem units so it scales with user font-size preference */
.dog-avatar-frame {
  width: 11.25rem;
  height: 11.25rem;
  border-radius: 50%;
  border: 0.375rem solid var(--yellow-bright);
  box-shadow: 0 0 0 0.25rem var(--orange-light), 0 12px 40px rgba(240, 120, 34, 0.3);
  overflow: hidden;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--orange-pale), var(--pink-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* text-dark on pink gradient: 7.5:1 ✅ */
.dog-breed-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-mauve), var(--pink-light));
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.dog-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow-bright);
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin: 0.2rem;
}

/* Gallery coming-soon announcement box */
.gallery-coming-soon {
  background: linear-gradient(135deg, var(--yellow-soft), var(--orange-pale));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 2px dashed var(--orange-primary);
}

.gallery-coming-soon__icon {
  font-size: 4rem;
  margin-bottom: 0.75rem;
}

/* Gallery placeholder grid */
.gallery-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.gallery-placeholder-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--orange-pale), var(--yellow-soft), var(--pink-pale));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--orange-light);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-placeholder-item:hover {
  border-color: var(--orange-primary);
  transform: scale(1.03);
  box-shadow: var(--shadow-card);
}
.gallery-placeholder-item .placeholder-icon { font-size: 3.5rem; opacity: 0.4; }

/* text-dark on orange→yellow gradient: 9.8–11:1 ✅ */
.gallery-coming-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: linear-gradient(135deg, var(--orange-primary), var(--yellow-bright));
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
}

/* Big emoji inside gallery dog cards */
.gallery-dog-card-icon {
  font-size: 4rem;
  padding: 1rem 0;
}

/* "Did You Know" sidebar box on contact page */
.contact-paw-box {
  background: linear-gradient(135deg, var(--orange-pale), var(--yellow-soft));
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
}

.contact-paw-box__emoji {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* font-accent italic 1rem — text-mid 9.34:1 on pale orange ✅ */
.contact-paw-box__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-mid);
  margin: 0;
}

/* Dedication banner — dark gradient so white text passes ≥7.17:1 ✅ */
.dedication-banner {
  background: linear-gradient(135deg, #6B2060, #A03018);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  color: var(--bright-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-warm);
}

.dedication-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
}

.dedication-banner p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.6;
}

/* 404 glass card */
.error-card {
  background: rgba(30, 5, 0, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(90, 10, 0, 0.4);
}

.error-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Traits list */
.trait-list {
  list-style: none;
  padding: 0; margin: 0;
}
.trait-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px dotted var(--orange-pale);
}
.trait-list li:last-child { border-bottom: none; }
.trait-list li::before {
  content: '🐾';
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 0.1rem;
}

/* Map embed wrapper */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-warm);
  border: 0.25rem solid var(--yellow-bright);
}

/* ── 3e. Buttons ────────────────────────────────────────── */

.btn-wyp {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 3rem;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Modifier — compact size for card CTAs */
.btn-wyp-sm {
  font-size: 0.82rem;
  padding: 0.6rem 1.5rem;
}

/* text-dark on yellow→orange: 9.8–11:1 ✅ */
.btn-wyp-primary {
  background: linear-gradient(135deg, var(--yellow-bright), var(--orange-light));
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(248, 206, 16, 0.45);
}
.btn-wyp-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(248, 206, 16, 0.6);
  color: var(--text-dark);
}

/* Outline on dark backgrounds (hero areas) */
.btn-wyp-outline {
  background: transparent;
  color: var(--bright-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-wyp-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bright-white);
  border-color: var(--bright-white);
  transform: translateY(-2px);
}

/* Outline on light backgrounds (cream/warm-white sections) */
.btn-wyp-outline-light {
  background: transparent;
  color: var(--text-orange);
  border: 2px solid var(--text-orange);
}
.btn-wyp-outline-light:hover {
  background: rgba(184, 57, 24, 0.08);
  color: var(--text-orange);
  border-color: var(--text-orange);
  transform: translateY(-2px);
}

/* White button on dark CTA strip — text-orange on #fff: 5.48:1 ✅ */
.btn-wyp-white {
  background: var(--bright-white);
  color: var(--text-orange);
  font-weight: 900;
  padding: 0.85rem 2.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
.btn-wyp-white:hover {
  background: var(--bright-white);
  color: var(--text-orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

/* Submit button — all stops ≥5.21:1 white ✅ */
.btn-submit {
  background: linear-gradient(135deg, #7A1E00, #C53C14);
  color: var(--bright-white);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border-radius: 3rem;
  border: none;
  box-shadow: 0 6px 24px rgba(90, 10, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(90, 10, 0, 0.5);
  color: var(--bright-white);
}

/**** back to top ****/
.back-to-top {
  position: fixed;
  cursor: pointer;
  bottom: 16px;
  right: 16px;
  left: auto;
  opacity: 0;
  transition: opacity .5s linear;
  z-index: 11;
  background-color: var(--orange-deep);
}

/* ── 3f. Forms & Contact Sidebar ────────────────────────── */

.wyp-form {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-warm);
}

.wyp-form .form-label {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.wyp-form .form-control,
.wyp-form .form-select {
  border: 2px solid var(--orange-pale);
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--yellow-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* #7A4B1A = 7.37:1 on yellow-soft ✅ */
.wyp-form .form-control::placeholder {
  color: #7A4B1A;
  opacity: 1;
}

.wyp-form textarea.form-control {
  min-height: 9rem;
  resize: vertical;
}

.required-note {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}

.required-asterisk {
  color: var(--text-orange);
  font-weight: 900;
  margin-left: 0.1em;
}

.contact-info-box {
  background: linear-gradient(135deg, var(--orange-pale), var(--pink-pale));
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 2px solid var(--orange-light);
}

.contact-info-box h3,
.contact-info-box h5 {
  font-family: var(--font-display);
  color: var(--text-orange);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.contact-info-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--orange-primary), var(--yellow-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-divider {
  border-color: var(--orange-pale);
  margin: 1rem 0;
}

/* ── 3g. Page-Specific Sections ─────────────────────────── */

/* Section backgrounds */
.section-quote {
  background: linear-gradient(135deg, var(--orange-pale), var(--yellow-soft), var(--pink-pale));
  padding: 4rem 0;
}

/* Dark CTA strip — all stops ≥6.78:1 white ✅ */
.section-cta {
  background: linear-gradient(135deg, #7A1E00, var(--orange-deep), #A83010);
  padding: 4rem 0;
  text-align: center;
}

.section-teaser { background: var(--warm-white); }

/* Used as triple-pastel gradient on intro story and gallery story sections */
.section-pastel {
  background: linear-gradient(135deg, var(--orange-pale), var(--yellow-soft), var(--pink-pale));
}

/* Monterey spots section */
.section-spots {
  background: linear-gradient(135deg, var(--orange-pale), var(--pink-pale));
  padding: 4rem 0;
}

/* Gallery story section */
.section-gallery-story {
  background: linear-gradient(135deg, var(--orange-pale), var(--pink-pale));
  padding: 4rem 0;
}

/* 404 quick-links strip */
.quicklinks-section {
  background: var(--cream);
  padding: 3rem 0;
}

/* Monterey category cards */
.monterey-category-card {
  border-left: 5px solid var(--orange-primary);
  background: var(--warm-white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.monterey-category-card:hover {
  border-left-color: var(--yellow-bright);
  transform: translateX(4px);
  box-shadow: -4px 4px 24px rgba(240, 120, 34, 0.18);
}

.monterey-category-card h3,
.monterey-category-card .monterey-cat-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-orange);
  margin-bottom: 0.8rem;
}

/* text-dark on orange/yellow gradient: 6–10:1 ✅ */
.monterey-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--orange-primary), var(--yellow-bright));
  color: var(--text-dark);
  font-weight: 900;
  font-size: 0.8rem;
  border-radius: 50%;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}

/* ── 3h. Footer ─────────────────────────────────────────── */
/*
 * All gradient stops verified ≥5.21:1 white (normal-size body text):
 *   #7A1E00  10.43:1 ✅   #C53C14  5.21:1 ✅   #B83918  5.77:1 ✅
 */
.wyp-footer {
  background: linear-gradient(135deg, #7A1E00 0%, #C53C14 50%, #B83918 100%);
  color: var(--bright-white);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.wyp-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--yellow-bright), var(--pink-light), var(--yellow-bright));
}

.wyp-footer .footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bright-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}

.wyp-footer .footer-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
}

.wyp-footer a {
  color: var(--bright-white);
  text-decoration: none;
  transition: text-decoration-color 0.2s, opacity 0.2s;
}
.wyp-footer a:hover {
  color: var(--bright-white);
  text-decoration: underline;
  opacity: 0.85;
}

.wyp-footer .footer-nav a {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.25rem 0;
}

.wyp-footer .footer-divider {
  border-color: rgba(255, 255, 255, 0.25);
  margin: 1.5rem 0 1rem;
}

.wyp-footer .footer-bottom {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: var(--bright-white);
  margin: 0 0.25rem;
}
/* text-dark on yellow-bright: 9.8:1 ✅ */
.social-circle:hover {
  background: var(--yellow-bright);
  color: var(--text-dark);
  transform: translateY(-2px);
  border-color: var(--yellow-bright);
}

/* ── 3i. Alerts ─────────────────────────────────────────── */

.wyp-alert {
  border-radius: var(--radius-lg);
  font-weight: 600;
  padding: 1rem 1.5rem;
  line-height: 1.6;
}

/* text-dark on pale yellow: 13:1 ✅ */
.wyp-alert-success {
  background: linear-gradient(135deg, #FFFDE7, #FFF9C4);
  border: 2px solid var(--yellow-bright);
  color: var(--text-dark);
}

/* #7B1111 on pale pink: ~6.7:1 ✅ */
.wyp-alert-error {
  background: linear-gradient(135deg, #FFF0F0, #FFE0E0);
  border: 2px solid #C62828;
  color: #7B1111;
}

/* ── 3j. Animations & Decorative Strips ─────────────────── */

.swirl-strip {
  height: 0.75rem;
  background: linear-gradient(90deg,
    var(--orange-deep), var(--orange-primary), var(--yellow-bright),
    var(--orange-light), var(--pink-mauve), var(--orange-primary), var(--yellow-bright));
  background-size: 200% 100%;
  animation: swirlSlide 4s linear infinite;
}

@keyframes swirlSlide {
  from { background-position: 0% 0%; }
  to   { background-position: 200% 0%; }
}


/* ============================================================
   4. UTILITIES
   ============================================================ */

.page-section    { padding: 5rem 0; }
.page-section-sm { padding: 3rem 0; }

/*
 * Line-length constraint. WCAG 1.4.8 (AAA) recommends ≤80 characters.
 * 75ch ≈ 75 chars in the current font — optimal for body copy.
 */
.text-content     { max-width: 75ch; }
.text-content p   { max-width: 75ch; }

/*
 * COLOUR UTILITY NOTES:
 * .text-orange       #F07822 — LARGE TEXT ONLY on light backgrounds
 * .text-orange-deep  #D94820 — LARGE TEXT ONLY on light backgrounds
 * .text-orange-safe  #B83918 — all sizes on light backgrounds ✅
 * .text-yellow       #F8CE10 — DARK BACKGROUNDS ONLY
 * .text-pink         #C87FAA — decorative/non-informational only
 */
.text-orange      { color: var(--orange-primary) !important; }
.text-orange-deep { color: var(--orange-deep) !important; }
.text-orange-safe { color: var(--text-orange) !important; }
.text-yellow      { color: var(--yellow-bright) !important; }
.text-pink        { color: var(--pink-mauve) !important; }

.bg-cream         { background-color: var(--cream) !important; }
.bg-warm-white    { background-color: var(--warm-white) !important; }
.bg-yellow-soft   { background-color: var(--yellow-soft) !important; }
.bg-orange-pale   { background-color: var(--orange-pale) !important; }
.rounded-wyp      { border-radius: var(--radius-lg) !important; }
.shadow-warm      { box-shadow: var(--shadow-warm) !important; }


/* ============================================================
   5. MEDIA QUERIES
   ============================================================ */

/* ── Reduced motion (WCAG 2.3.3) ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html { scroll-behavior: auto; }

  .hero-card      { animation: none; opacity: 1; transform: none; }
  .paw-brand-icon { animation: none; }
  .swirl-strip    { animation: none; }

  .wyp-card:hover,
  .dog-profile-card:hover,
  .monterey-category-card:hover,
  .gallery-placeholder-item:hover,
  .btn-wyp:hover,
  .btn-submit:hover,
  .btn-wyp-primary:hover,
  .social-circle:hover,
  .quicklink-card:hover {
    transform: none;
  }
}

/* ── Mobile (WCAG 1.4.10 Reflow) ───────────────────────── */
@media (max-width: 767.98px) {
  .wyp-hero          { min-height: 70vh; }
  .hero-card         { padding: 1.5rem; }
  .wyp-hero h1       { font-size: 2.2rem; }
  .dog-avatar-frame  { width: 8.125rem; height: 8.125rem; font-size: 3.5rem; }
  .page-section      { padding: 3rem 0; }
  /* Prevents horizontal scroll at narrow viewports */
  .gallery-placeholder-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 400px) {
  .gallery-placeholder-grid { grid-template-columns: 1fr; }
}

/* Additional utility classes for decorative emoji sizing */
.emoji-md  { font-size: 1.6rem; }
.emoji-lg  { font-size: 3rem; }

/* Semantic address reset (browsers italicise <address> by default) */
address.address-reset { font-style: normal; }
.emoji-xl  { font-size: 5rem; margin-bottom: 0.5rem; }
.story-body--wide { max-width: 580px; }
