/*
Theme Name: Adventure Cat
Theme URI:
Author: Chris
Description: A whimsical cat Instagram/blog theme — warm yellows, editorial asymmetric layouts, pounce animations, and zero borders.
Version: 1.1.26
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: adventure-cat
*/

/* ============================================================
   DESIGN TOKENS — aliases over WordPress preset vars
   ============================================================ */
:root {
  --font-hed:    var(--wp--preset--font-family--headline);
  --font-body:   var(--wp--preset--font-family--body);

  --clr-brand:   var(--wp--preset--color--primary);           /* #7b5400 */
  --clr-gold:    var(--wp--preset--color--primary-container); /* #feb300 */
  --clr-cream:   var(--wp--preset--color--on-primary);        /* #fff1df */
  --clr-rust:    var(--wp--preset--color--secondary);         /* #9b3f00 */
  --clr-peach:   var(--wp--preset--color--secondary-container); /* #ffc5aa */
  --clr-dk-rust: var(--wp--preset--color--on-secondary-container); /* #7b3100 */
  --clr-teal:    var(--wp--preset--color--tertiary);          /* #006859 */
  --clr-mint:    var(--wp--preset--color--tertiary-container); /* #6bfde0 */
  --clr-bg:      var(--wp--preset--color--surface);           /* #fff5e7 */
  --clr-warm-lo: var(--wp--preset--color--surface-container-low);  /* #ffefd1 */
  --clr-warm:    var(--wp--preset--color--surface-container);      /* #ffe6ae */
  --clr-warm-hi: var(--wp--preset--color--surface-container-highest); /* #fed980 */
  --clr-text:    var(--wp--preset--color--on-surface);        /* #3c2c00 */
  --clr-muted:   var(--wp--preset--color--on-surface-variant); /* #6e5922 */
}

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-hed);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 245, 231, 0.82) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 60px -15px rgba(60, 44, 0, 0.06);
}

.site-header .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .header-inner .wp-block-group {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* site logo + title lockup */
.site-brand .wp-block-site-logo { flex-shrink: 0; line-height: 0; }
.site-brand .wp-block-site-logo a { display: block; }
.site-brand .wp-block-site-logo img { width: 36px; height: 36px; border-radius: 8px; display: block; }
.editor-styles-wrapper .site-brand .wp-block-site-logo img { width: 36px; height: 36px; border-radius: 8px; }

.site-header .wp-block-site-title a {
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  color: var(--clr-brand);
  text-decoration: none;
}

.site-header .wp-block-navigation a {
  font-family: var(--font-hed);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.site-header .wp-block-navigation a:hover {
  color: var(--clr-brand);
  transform: scale(0.95);
}

.acs-nav-paw {
  font-size: 0.9em;
  display: inline-block;
  filter: sepia(1) saturate(6) hue-rotate(-20deg) brightness(0.62);
  transition: filter 0.18s;
}
.acs-auth-toggle--in .acs-nav-paw,
.acs-auth-toggle--out:hover .acs-nav-paw {
  filter: brightness(0) invert(1);
}
.acs-auth-toggle--in:hover .acs-nav-paw {
  filter: sepia(1) saturate(6) hue-rotate(-20deg) brightness(0.62);
}

.acs-auth-toggle {
  font-family: var(--font-hed);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  white-space: nowrap;
}
.acs-auth-toggle--in {
  background: var(--clr-brand);
  color: #fff !important;
}
.acs-auth-toggle--in:hover {
  background: var(--clr-gold);
  color: var(--clr-brand) !important;
  transform: scale(0.97);
}
.acs-auth-toggle--out {
  background: transparent;
  color: var(--clr-text) !important;
  box-shadow: inset 0 0 0 2px var(--clr-brand);
}
.acs-auth-toggle--out:hover {
  background: var(--clr-brand);
  color: #fff !important;
  transform: scale(0.97);
}
.editor-styles-wrapper .acs-auth-toggle--in {
  background: var(--clr-brand);
  color: #fff !important;
}
.editor-styles-wrapper .acs-auth-toggle--out {
  color: var(--clr-text) !important;
  box-shadow: inset 0 0 0 2px var(--clr-brand);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  padding: 5rem 0 7rem;
  position: relative;
}

.hero-headline {
  font-size: clamp(3.5rem, 9vw, 7rem) !important;
  font-weight: 900 !important;
  line-height: 0.88 !important;
  letter-spacing: -0.03em !important;
  color: var(--clr-brand);
  margin-bottom: 2rem;
}

.hero-headline .accent { color: var(--clr-rust); }

.hero-body {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--clr-muted);
  max-width: 38ch;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-right-col { position: relative; overflow: hidden; }

.hero-blob {
  background: var(--clr-gold);
  border-radius: 3rem;
  aspect-ratio: 4/5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transform: rotate(-2deg);
}

.hero-blob::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: rgba(254, 179, 0, 0.15);
  border-radius: 50%;
  z-index: -1;
  transform: rotate(3deg) scale(1.1);
}

.hero-cat-emoji {
  font-size: clamp(6rem, 15vw, 12rem);
  line-height: 1;
  filter: drop-shadow(0 20px 40px rgba(60, 44, 0, 0.15));
  display: block;
  text-align: center;
}

.hero-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--clr-teal);
  color: var(--clr-mint);
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 1rem;
  transform: rotate(12deg);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 104, 89, 0.3);
  white-space: nowrap;
}

.hero-buttons { margin-top: 2rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.wp-block-button__link {
  font-family: var(--font-hed);
  font-weight: 700;
  transition: transform 0.15s ease;
}

.pounce-btn .wp-block-button__link,
.editor-styles-wrapper .pounce-btn .wp-block-button__link {
  background: linear-gradient(to bottom, #7b5400, #6b4900);
  color: var(--clr-cream);
  padding: 1.1rem 2.5rem;
  border-radius: 3rem;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(123, 84, 0, 0.35);
}

.pounce-btn .wp-block-button__link:hover,
.editor-styles-wrapper .pounce-btn .wp-block-button__link:hover  { transform: scale(1.05); }
.pounce-btn .wp-block-button__link:active,
.editor-styles-wrapper .pounce-btn .wp-block-button__link:active { transform: scale(0.98); }

.pounce-btn--sm .wp-block-button__link,
.editor-styles-wrapper .pounce-btn--sm .wp-block-button__link {
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
}

.secondary-btn .wp-block-button__link,
.editor-styles-wrapper .secondary-btn .wp-block-button__link {
  background: var(--clr-peach);
  color: var(--clr-dk-rust);
  padding: 1.1rem 2.5rem;
  border-radius: 3rem;
  font-size: 1.1rem;
}

.secondary-btn .wp-block-button__link:hover,
.editor-styles-wrapper .secondary-btn .wp-block-button__link:hover { transform: scale(0.98); }

/* ============================================================
   PILL — shared base for section-label, bento-stat, bento-pill
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin: 0;
}

.section-label {
  composes: pill;  /* fallback below for non-supporting browsers */
  display: inline-flex;
  align-items: center;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  color: var(--clr-teal);
  background: var(--clr-mint);
  margin-bottom: 1rem;
}

.bento-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-top: 1rem;
  color: var(--clr-brand);
}

.bento-pill {
  display: inline-block;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  background: var(--clr-brand);
  color: var(--clr-cream) !important;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
}

.bento-pill-label {
  font-weight: 700;
  font-size: 0.875rem;
  color: #523700;
  margin: 0;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  color: var(--clr-brand);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--clr-muted);
  margin-top: 0.5rem;
}

/* ============================================================
   BENTO CARDS
   ============================================================ */
.bento-card {
  border-radius: 2rem;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 60px -15px rgba(60, 44, 0, 0.1);
}

.bento-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--clr-brand);
}

.bento-card p { color: var(--clr-muted); line-height: 1.6; }

.bento-warm  { background: var(--clr-warm); }
.bento-peach { background: var(--clr-peach); }
.bento-yellow { background: var(--clr-gold); }
.bento-teal  { background: var(--clr-mint); }

.bento-teal-heading,
.bento-teal-text { color: #005f51 !important; }

.bento-emoji { font-size: 3rem; line-height: 1; margin-bottom: 0.5rem; }

.bento-badge {
  flex-shrink: 0;
  width: 9rem;
  min-height: 9rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.bento-badge--gold   { background: var(--clr-gold); }
.bento-badge--target {
  background: rgba(255, 255, 255, 0.35);
  border: 3px dashed rgba(255, 255, 255, 0.5);
}

.bento-badge__icon  { font-size: 3rem; line-height: 1; margin: 0; }
.bento-badge__label {
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-brand);
  text-align: center;
  margin: 0;
}

/* ============================================================
   BENTO LAYOUT HELPERS
   ============================================================ */
.site-main { overflow-x: clip; overflow-clip-margin: 2rem; }

.bento-section { padding: 5rem 0; }
.section-intro { margin-bottom: 3rem; }

.wp-block-columns.bento-grid {
  gap: 1.5rem;
  align-items: stretch;
  flex-wrap: nowrap;
}

.wp-block-columns.bento-grid--mt { margin-top: 1.5rem; }

.wp-block-columns.bento-grid .wp-block-column {
  display: flex;
  flex-direction: column;
}

.wp-block-columns.bento-grid .wp-block-group { flex: 1; }

.bento-row {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.bento-row .bento-text { flex: 1; }

.bento-stack { min-height: 18rem; }

.bento-pill-row { margin-top: 1rem; gap: 0.75rem; }

/* ============================================================
   NAP MAP
   ============================================================ */
.nap-map-section {
  border-radius: 2rem;
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--clr-warm-lo);
}

.nap-map-section::before,
.nap-map-section::after {
  content: '🐾';
  position: absolute;
  font-size: 8rem;
  opacity: 0.12;
  line-height: 1;
}

.nap-map-section::before { top: 1.5rem; right: 4rem; transform: rotate(12deg); }
.nap-map-section::after  { bottom: 1.5rem; left: 2rem; transform: rotate(-45deg); font-size: 6rem; }

.nap-heading {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  color: var(--clr-brand);
  margin-bottom: 1rem;
}

.nap-sub {
  font-size: 1.1rem;
  color: var(--clr-muted);
  margin-bottom: 2rem;
  max-width: 42ch;
}

.nap-list-item {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-left: 0.5rem solid var(--clr-brand);
  transition: transform 0.2s;
}

.nap-list-item:hover { transform: translateX(1rem); }

.nap-list-item.teal-border   { border-left-color: var(--clr-teal); }
.nap-list-item.orange-border { border-left-color: var(--clr-rust); }

.nap-list-item h4 {
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
  color: var(--clr-text);
}

.nap-list-item p { margin: 0; font-size: 0.8rem; color: var(--clr-muted); }

.nap-icon { font-size: 1.5rem; margin: 0; flex-shrink: 0; }

.nap-visual {
  background: var(--clr-warm-hi);
  border-radius: 2rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0.5rem solid #ffffff;
  box-shadow: 0 20px 60px rgba(60, 44, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.nap-visual::before {
  content: '😴';
  font-size: 6rem;
  display: block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(60, 44, 0, 0.2));
}

.nap-visual-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(60, 44, 0, 0.08);
}

.nap-visual-card p      { margin: 0; font-size: 0.875rem; color: var(--clr-muted); font-weight: 500; }
.nap-visual-card strong { font-family: var(--font-hed); font-weight: 900; color: var(--clr-brand); font-size: 1.1rem; display: block; margin-bottom: 0.25rem; }
.nap-status             { font-size: 0.875rem; color: var(--clr-muted); margin: 0; }

/* ── Stitch photo images ─────────────────────────────────────── */

.hero-blob--photo { overflow: hidden; }
.hero-blob--photo::before { content: none; }

.hero-cat-img { margin: 0; width: 100%; height: 100%; }
.hero-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bento-card-img { margin: 0; border-radius: 1.25rem; overflow: hidden; flex-shrink: 0; }
.bento-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-row .bento-card-img { width: 12rem; aspect-ratio: 1 / 1; }
.bento-stack .bento-card-img { width: 100%; aspect-ratio: 16 / 9; margin-top: 0.5rem; }

.nap-visual--photo::before { content: none; }
.nap-map-img { position: absolute; inset: 0; margin: 0; z-index: 1; }
.nap-map-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nap-location-pin {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(60, 44, 0, 0.2);
  white-space: nowrap;
  text-align: center;
  gap: 0.15rem !important;
}

.nap-pin-label {
  font-family: var(--font-hed);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--clr-brand);
  margin: 0 !important;
  line-height: 1.2;
}

.nap-pin-status {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 !important;
  line-height: 1.2;
}

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.reviews-section { padding: 5rem 0 7rem; }
.reviews-grid    { margin-top: 5rem !important; }

.review-card {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 20px 40px -15px rgba(60, 44, 0, 0.04);
  transition: transform 0.3s;
}

.review-card:hover { transform: translateY(-0.5rem); }

.review-stars { font-size: 1.5rem; margin-bottom: 1.25rem; letter-spacing: 0.1em; }

.review-card h3 {
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--clr-text);
}

.review-card blockquote {
  font-style: italic;
  color: var(--clr-muted);
  border: none;
  margin: 0 0 1.5rem;
  padding: 0;
  line-height: 1.7;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--clr-warm-lo);
  width: 100%;
}

.review-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin: 0;
}

.grade-a-plus  { background: rgba(254, 179, 0, 0.2);  color: var(--clr-brand); }
.grade-c-minus { background: rgba(176, 37, 0, 0.1);   color: #b02500; }
.grade-a-minus { background: rgba(254, 179, 0, 0.15); color: var(--clr-brand); }

.review-rating-label { font-weight: 700; font-size: 0.875rem; margin: 0; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--clr-gold);
  border-radius: 2rem;
  padding: 4rem 3rem;
  margin: 3rem 0;
  text-align: center;
}

.cta-heading {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  color: #523700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-warm);
  border-radius: 3rem 3rem 0 0;
  margin-top: 5rem;
  padding: 3rem 2rem;
  text-align: center;
  gap: 0.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}

.site-footer .footer-brand .wp-block-site-logo { line-height: 0; flex-shrink: 0; }
.site-footer .footer-brand .wp-block-site-logo img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: block;
}

.site-footer .wp-block-site-title a {
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--clr-brand);
  text-decoration: none;
}

.site-footer .footer-links { margin: 1rem 0; }

.site-footer .footer-links a {
  color: var(--clr-brand);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.2s, color 0.2s;
}

.site-footer .footer-links a:hover { opacity: 1; color: var(--clr-teal); }

.footer-paws      { font-size: 1.25rem; margin-top: 0.5rem; }
.footer-copyright { font-size: 0.8rem; color: var(--clr-brand); margin: 0; }

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.page-hero {
  background: var(--clr-gold);
  padding: 5rem 2rem 4rem;
}

.page-title {
  font-family: var(--font-hed) !important;
  font-weight: 900 !important;
  font-size: clamp(3rem, 7vw, 5rem) !important;
  letter-spacing: -0.03em !important;
  line-height: 0.9 !important;
  color: var(--clr-text) !important;
  text-align: center;
}

.page-content {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-main { padding: 5rem 0 6rem; }

.contact-grid.wp-block-columns {
  gap: 4rem;
  align-items: flex-start;
}

/* Left: headline + deco */
.contact-headline {
  font-size: clamp(3.5rem, 8vw, 6.5rem) !important;
  font-weight: 900 !important;
  line-height: 0.88 !important;
  letter-spacing: -0.03em !important;
  color: var(--clr-brand);
  margin-bottom: 1.5rem;
}

.contact-headline__accent { color: var(--clr-rust); font-style: italic; }

.contact-sub {
  font-size: 1.2rem;
  color: var(--clr-muted);
  font-weight: 500;
  line-height: 1.6;
  max-width: 38ch;
  margin-bottom: 3rem;
}

.contact-deco {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.contact-deco__box {
  background: var(--clr-teal);
  border-radius: 2rem;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  transform: rotate(3deg);
  box-shadow: 0 24px 60px rgba(0, 104, 89, 0.25);
}

.contact-deco__box--photo { overflow: hidden; }

.contact-deco-img { margin: 0; width: 100%; height: 100%; }
.contact-deco-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-deco__emoji {
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  margin: 0;
  transform: rotate(-6deg) scale(1.1);
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
}

.contact-deco__badge {
  position: absolute;
  bottom: 1rem;
  left: 0.75rem;
  background: var(--clr-gold);
  color: #523700;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transform: rotate(-5deg);
  box-shadow: 0 8px 24px rgba(123, 84, 0, 0.25);
  white-space: nowrap;
  margin: 0;
  z-index: 10;
}

/* Right: form card */
.contact-form-wrap {
  background: #ffffff;
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 40px 60px -15px rgba(60, 44, 0, 0.06);
  margin-bottom: 2rem;
}

/* Contact Form 7 overrides */
.contact-form-wrap .wpcf7 { width: 100%; }

.contact-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-form-wrap p { margin: 0; }

.contact-form-wrap label {
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--clr-brand);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  background: var(--clr-warm-lo);
  border: none;
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text);
  outline: none;
  transition: box-shadow 0.2s;
  box-sizing: border-box;
  appearance: none;
}

.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  box-shadow: 0 0 0 4px rgba(254, 179, 0, 0.3);
}

.contact-form-wrap textarea { resize: none; min-height: 8rem; }

.contact-form-wrap input[type="submit"],
.contact-form-wrap .wpcf7-submit {
  width: 100%;
  background: linear-gradient(to bottom, #7b5400, #6b4900);
  color: var(--clr-cream);
  border: none;
  border-radius: 1.5rem;
  padding: 1.25rem 2rem;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.15s ease;
  box-shadow: 0 8px 24px rgba(123, 84, 0, 0.35);
  letter-spacing: -0.02em;
}

.contact-form-wrap input[type="submit"]:hover,
.contact-form-wrap .wpcf7-submit:hover  { transform: scale(0.98); }
.contact-form-wrap input[type="submit"]:active,
.contact-form-wrap .wpcf7-submit:active { transform: scale(1.02); }

/* Info grid */
.contact-info-grid.wp-block-columns { gap: 1.25rem; margin-top: 2rem; }

.contact-info-card {
  border-radius: 1.5rem;
  padding: 1.75rem 1rem;
  gap: 0.5rem;
}

.contact-info-card--warm { background: var(--clr-warm); }
.contact-info-card--gold { background: var(--clr-warm-hi); }
.contact-info-card--teal { background: rgba(107, 253, 224, 0.2); border: 2px solid rgba(0, 104, 89, 0.15); }

.contact-info-card__icon { font-size: 2rem; margin: 0; line-height: 1; }

.contact-info-card__title {
  font-family: var(--font-hed) !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  color: var(--clr-brand);
  margin: 0 !important;
}

.contact-info-card__title--teal { color: var(--clr-teal) !important; }

.contact-info-card__detail {
  font-size: 0.8rem;
  color: var(--clr-muted);
  opacity: 0.9;
  margin: 0;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-hero {
  padding: 5rem 0 1.5rem;
}

.gallery-headline {
  font-size: clamp(4rem, 10vw, 8rem) !important;
  font-weight: 900 !important;
  line-height: 0.88 !important;
  letter-spacing: -0.03em !important;
  color: var(--clr-brand);
  margin-bottom: 1.5rem;
}

.gallery-headline__accent { color: var(--clr-rust); }

.gallery-sub {
  font-size: 1.25rem;
  color: var(--clr-muted);
  max-width: 52ch;
  font-weight: 500;
  line-height: 1.6;
}

.acs-gallery-spotlight { margin-top: 2rem; }

/* Masonry-style columns */
.gallery-masonry.wp-block-columns {
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 5rem;
}

.gallery-col.wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gallery-col--offset { margin-top: 3rem; }

/* Gallery cards */
.gallery-item,
.editor-styles-wrapper .gallery-item {
  border-radius: 2rem;
  padding: 2.5rem;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 32px 60px -10px rgba(60, 44, 0, 0.12);
}

.gallery-item:nth-child(odd):hover  { transform: rotate(-1deg) scale(1.02); }
.gallery-item:nth-child(even):hover { transform: rotate(1deg) scale(1.02); }

.gallery-item--warm    { background: var(--clr-warm); }
.gallery-item--gold    { background: var(--clr-gold); }
.gallery-item--peach   { background: var(--clr-peach); }
.gallery-item--mint    { background: var(--clr-mint); }
.gallery-item--warm-hi { background: var(--clr-warm-hi); }
.gallery-item--warm-lo { background: var(--clr-warm-lo); }

.gallery-item--short { min-height: 16rem; }

.gallery-item__visual {
  font-size: 5rem;
  line-height: 1;
  margin: 0 0 1.5rem;
  filter: drop-shadow(0 8px 16px rgba(60, 44, 0, 0.12));
}

.gallery-item__title {
  font-family: var(--font-hed) !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  color: var(--clr-brand);
  margin-bottom: 0.5rem;
}

.gallery-item__title--teal { color: #005f51 !important; }
.gallery-item__title--rust { color: var(--clr-dk-rust) !important; }

.gallery-item__desc {
  color: var(--clr-text);
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

.gallery-item__desc--teal { color: #005f51; }

/* Floating badges */
.gallery-item__badge,
.editor-styles-wrapper .gallery-item__badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(60, 44, 0, 0.2);
  white-space: nowrap;
}

.gallery-item__badge--teal,
.editor-styles-wrapper .gallery-item__badge--teal {
  background: var(--clr-teal);
  color: var(--clr-mint);
  align-self: flex-end;
  margin-top: auto;
  transform: rotate(12deg) translateY(0.5rem);
}

.gallery-item__badge--rust,
.editor-styles-wrapper .gallery-item__badge--rust {
  background: var(--clr-rust);
  color: #fff0ea;
  align-self: flex-start;
  margin-top: auto;
  transform: rotate(-6deg) translateY(0.5rem);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .fade-up.is-visible { opacity: 1; transform: none; }

  .slide-left {
    opacity: 0;
    transform: translateX(-2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .slide-left.is-visible { opacity: 1; transform: none; }
}

.editor-styles-wrapper .fade-up,
.editor-styles-wrapper .slide-left {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── 782px: matches WordPress column stack breakpoint ─────── */
@media (max-width: 782px) {

  /* Side padding for all inner pages — homepage sections have their own */
  body:not(.home) .site-main {
    padding-inline: 1.2rem;
  }

  /* Header — custom mobile nav takes over, hide WP nav group */
  .site-header .header-inner {
    padding: 0.85rem 1.25rem;
  }
  .site-header .header-inner .wp-block-group:not(.site-brand) {
    display: none;
  }
  .site-header .wp-block-site-title a { font-size: 1.3rem; }
  .acs-mnav-toggle { display: flex !important; }

  /* Hero */
  .hero-section { padding: 2.5rem 1.5rem 3.5rem; }
  .hero-blob    { transform: none; }

  /* Bento grid — let WordPress's default stacking take over */
  .wp-block-columns.bento-grid {
    flex-wrap: wrap !important;
  }
  .wp-block-columns.bento-grid > .wp-block-column {
    flex-basis: 100% !important;
    min-width: 0 !important;
  }

  /* Bento row cards — stack image below text */
  .bento-row {
    flex-direction: column !important;
    gap: 1.25rem;
  }
  .bento-row .bento-card-img {
    width: 100% !important;
    aspect-ratio: 16 / 9;
  }

  /* Section spacing */
  .bento-section   { padding: 3rem 1.5rem; }
  .reviews-section { padding: 3rem 1.5rem; }
  .section-intro   { margin-bottom: 2rem; }

  /* Nap map — reduce horizontal padding */
  .nap-map-section {
    padding: 3rem 1.5rem;
    border-radius: 1.5rem;
  }
  /* Suppress slide animation on hover so nap items don't scroll off-screen */
  .nap-list-item:hover { transform: none; }

  /* CTA */
  .cta-section {
    padding: 3rem 1.5rem;
    margin: 2rem 0;
    border-radius: 1.5rem;
  }

  /* Contact / login / signup / my-pounces */
  .contact-main { padding: 3rem 0 4rem; }
  .contact-grid.wp-block-columns { gap: 2rem; }

  /* Gallery */
  .gallery-hero { padding: 3rem 0 2.5rem; }
  .gallery-col--offset { margin-top: 0 !important; }

  /* Footer */
  .site-footer {
    border-radius: 2rem 2rem 0 0;
    margin-top: 3rem;
    padding: 2.5rem 1.5rem;
  }
}

/* ── 480px: small phones ──────────────────────────────────── */
@media (max-width: 480px) {

  .site-header .header-inner        { padding: 0.75rem 1rem; }
  .site-header .wp-block-site-title a { font-size: 1.25rem; }

  .hero-section  { padding: 2rem 1.25rem 3rem; }
  .hero-body     { font-size: 1.1rem; }

  .nap-map-section { padding: 2.5rem 1rem; }

  .cta-section   { padding: 2.5rem 1rem; }

  .contact-main  { padding: 2rem 0 3rem; }

  .gallery-hero  { padding: 2rem 0; }
  .gallery-headline { font-size: clamp(2.5rem, 9vw, 5rem) !important; }

  .site-footer   { padding: 2rem 1.25rem; }
}

/* ============================================================
   MOBILE NAV — off-canvas drawer
   ============================================================ */

/* ── Hamburger toggle button ─────────────────────────────── */
.acs-mnav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5.5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  margin-left: auto;
}
.acs-mnav-toggle:hover { background: var(--clr-warm-lo); }

.acs-mnav-toggle__bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--clr-brand);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              opacity   0.2s ease,
              width     0.2s ease;
}

/* Morph to × when open */
.acs-mnav-toggle.is-open .acs-mnav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.acs-mnav-toggle.is-open .acs-mnav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.acs-mnav-toggle.is-open .acs-mnav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Backdrop ────────────────────────────────────────────── */
.acs-mnav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(60, 44, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.acs-mnav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ── Off-canvas drawer ───────────────────────────────────── */
.acs-mnav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: min(360px, 90vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -32px 0 80px rgba(60, 44, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  overscroll-behavior: contain;
}
.acs-mnav.is-open {
  transform: translateX(0);
}

/* Prevent body scroll when open */
body.acs-menu-open { overflow: hidden; }

/* ── Drawer head ─────────────────────────────────────────── */
.acs-mnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1.25rem;
  background: var(--clr-cream);
  border-bottom: 2px solid var(--clr-warm-lo);
  flex-shrink: 0;
}

.acs-mnav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-hed);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--clr-brand);
}

.acs-mnav__logo-img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
}

.acs-mnav__foot-logo {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin: 0 auto 1rem;
  opacity: 0.85;
}

.acs-mnav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: var(--clr-warm);
  border-radius: 9999px;
  color: var(--clr-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.25s;
}
.acs-mnav__close:hover {
  background: var(--clr-warm-hi);
  transform: rotate(90deg);
}

/* ── Nav link list ───────────────────────────────────────── */
.acs-mnav__links {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
}

/* Decorative background paw */
.acs-mnav__links::after {
  content: '🐾';
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  font-size: 7rem;
  opacity: 0.05;
  pointer-events: none;
  line-height: 1;
}

.acs-mnav__links li {
  opacity: 0;
  transform: translateX(1.25rem);
}
.acs-mnav.is-open .acs-mnav__links li {
  animation: mnav-link-in 0.4s cubic-bezier(0.32, 0.72, 0, 1) both;
  animation-delay: calc(0.08s + var(--i) * 0.07s);
}
@keyframes mnav-link-in {
  to { opacity: 1; transform: none; }
}

.acs-mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-hed);
  font-weight: 900;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--clr-text);
  text-decoration: none;
  border-bottom: 2px solid var(--clr-warm-lo);
  transition: color 0.2s, padding-left 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}
.acs-mnav__links li:last-child .acs-mnav__link { border-bottom: none; }

.acs-mnav__link::after {
  content: '→';
  font-size: 1.25rem;
  color: var(--clr-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  flex-shrink: 0;
}
.acs-mnav__link:hover,
.acs-mnav__link:focus {
  color: var(--clr-brand);
  padding-left: 0.5rem;
  outline: none;
}
.acs-mnav__link:hover::after,
.acs-mnav__link:focus::after {
  opacity: 1;
  transform: translateX(0);
}

/* ── Drawer footer — auth button ─────────────────────────── */
.acs-mnav__foot {
  flex-shrink: 0;
  padding: 1.5rem 1.75rem 2.5rem;
  background: var(--clr-warm-lo);
  border-top: 2px solid var(--clr-warm);
}

.acs-mnav__foot .acs-auth-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.15rem 2rem !important;
  border-radius: 1.5rem !important;
  font-family: var(--font-hed) !important;
  font-weight: 900 !important;
  font-size: 1.1rem !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.acs-mnav__foot .acs-auth-toggle--in {
  background: linear-gradient(160deg, #8b6200, #6b4900) !important;
  color: var(--clr-cream) !important;
  box-shadow: 0 8px 28px rgba(123, 84, 0, 0.4) !important;
}
.acs-mnav__foot .acs-auth-toggle--out {
  background: #fff !important;
  color: var(--clr-brand) !important;
  box-shadow: inset 0 0 0 2px var(--clr-brand) !important;
}
.acs-mnav__foot .acs-auth-toggle:hover  { transform: scale(0.98); }
.acs-mnav__foot .acs-auth-toggle:active { transform: scale(0.96); }

/* ─── Cat of the Week ────────────────────────────────────────────────────── */

.cotw-section {
  padding: 5rem 0;
}

.cotw-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--clr-cream, #fffbf0);
  border: 2px solid var(--clr-gold, #feb300);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.cotw-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.cotw-img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.cotw-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

.cotw-img-wrap:hover img {
  transform: scale(1.03);
}

.cotw-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cotw-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-brand, #7b5400);
  line-height: 1.4 !important;
  margin: 0;
}

.cotw-name {
  font-family: var(--font-hed, Georgia, serif);
  font-size: 1.6rem;
  color: var(--clr-ink, #2a1a00);
  margin: 0;
  line-height: 1.2;
}

.cotw-caption {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--clr-ink, #2a1a00);
  line-height: 1.6;
  margin: 0;
}

.cotw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--clr-muted, #8a7060);
  margin: 0;
}

.cotw-paws {
  font-weight: 600;
  color: var(--clr-brand, #7b5400);
}

.cotw-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--clr-brand, #7b5400);
  color: #fff !important;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.15s;
}

.cotw-btn:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .cotw-card {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}
