/* ===========================================================================
   Retro Mutt Grooming — styles.css
   ---------------------------------------------------------------------------
   Organized as:
     1. Design tokens          6. Layout: header & nav
     2. Reset & base           7. Sections: hero, about, services, pricing,
     3. Accessibility helpers     gallery, reviews, contact, footer
     4. Layout primitives      8. Lightbox
     5. Components (buttons,   9. Motion & responsive
        cards, forms, photos)
   All colors are tokens — change the palette in one place (section 1).
   =========================================================================== */

/* ========================= 1. DESIGN TOKENS ========================= */
:root {
  /* Palette — retro-modern */
  --cream:        #fff8f0;
  --cream-deep:   #fdeee0;
  --slate:        #264653;   /* body text, dark surfaces */
  --slate-soft:   #4a6b78;   /* secondary text */
  --teal:         #2a9d8f;   /* decorative */
  --teal-ink:     #1f7a6f;   /* interactive — passes AA on white */
  --teal-dark:    #176057;
  --orange:       #e76f51;   /* decorative */
  --orange-ink:   #c25438;   /* interactive — passes AA on white */
  --sand:         #e9c46a;
  --white:        #ffffff;
  --line:         #e8dccf;

  /* Semantic */
  --bg:           var(--cream);
  --bg-tint:      var(--cream-deep);
  --text:         var(--slate);
  --text-muted:   var(--slate-soft);
  --accent:       var(--teal-ink);

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type scale */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-lg:   clamp(1.1rem, 1.05rem + 0.3vw, 1.25rem);
  --fs-h3:   clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --fs-h2:   clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
  --fs-h1:   clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);

  /* Spacing */
  --space-1: .25rem;  --space-2: .5rem;   --space-3: .75rem;
  --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;    --space-8: 4rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 1rem + 2vw, 2.5rem);

  /* Shape & depth */
  --r-sm: 10px;  --r-md: 16px;  --r-lg: 24px;  --r-xl: 34px;  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(38, 70, 83, .07);
  --shadow-md: 0 10px 28px rgba(38, 70, 83, .10);
  --shadow-lg: 0 24px 60px rgba(38, 70, 83, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ========================= 2. RESET & BASE ========================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

address { font-style: normal; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ========================= 3. ACCESSIBILITY HELPERS ========================= */
.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;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  background: var(--slate); color: var(--white);
  padding: .75rem 1.25rem; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--space-4); color: var(--white); }

/* Honeypot field — hidden from humans, present for bots */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ========================= 4. LAYOUT PRIMITIVES ========================= */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--bg-tint); }

.section__head {
  max-width: 40rem; margin: 0 auto var(--space-7); text-align: center;
}
.section__title { font-size: var(--fs-h2); margin-bottom: var(--space-3); }
.section__lede { color: var(--text-muted); font-size: var(--fs-lg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-ink);
  margin-bottom: var(--space-3);
}

.text-accent { color: var(--orange-ink); }

/* ========================= 5. COMPONENTS ========================= */

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-sm); line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--teal-ink); color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: #196A61; color: var(--white); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent; color: var(--slate); border-color: var(--line);
}
.btn--ghost:hover { background: var(--white); color: var(--slate); border-color: var(--slate); }

.btn--lg { padding: 1rem 1.9rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---- Photo frames (with graceful placeholder when the file is missing) ---- */
.photo {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, var(--cream-deep), #f6e2cf);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

.photo__placeholder {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  color: rgba(38, 70, 83, .38); font-size: var(--fs-xs); font-family: monospace;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.5) 14px 28px),
    linear-gradient(145deg, var(--cream-deep), #f7e6d5);
}
.photo__placeholder .icon { width: 3rem; height: 3rem; }

/* When JS detects a missing image, hide the <img> and show the placeholder */
.photo.is-missing img { display: none; }
.photo.is-missing .photo__placeholder { display: flex; }

/* ========================= 6. HEADER & NAV ========================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(255, 248, 240, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease),
              background-color .3s var(--ease);
}
.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
  background: rgba(255, 248, 240, .95);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  min-height: var(--header-h);
}

/* ---- Brand lockup ---- */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--slate); }
.brand:hover { color: var(--slate); }

.brand__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-ink); color: var(--white);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .3);
}
.brand__mark .icon { width: 1.5rem; height: 1.5rem; }

/* ---- Real logo lockup ----
   The logo art already contains the words "Retro Mutt Grooming", so the
   drawn mark and text lockup are replaced wholesale rather than stacked
   next to it. Height is fixed and width follows, so the header bar keeps
   its rhythm at every screen size. */
.brand--logo { gap: 0; }
.brand__logo {
  height: clamp(46px, 3.4vw, 62px);
  width: auto;
  display: block;
  transition: transform .3s var(--ease);
}
.brand--logo:hover .brand__logo { transform: rotate(-1.5deg) scale(1.03); }
/* The footer sits on the dark slate; the logo's own dark outline would
   disappear into it, so it gets a touch of lift. */
.brand--footer .brand__logo {
  height: clamp(54px, 4.4vw, 74px);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .45));
}

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand__sub {
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--text-muted); margin-top: .25rem;
}

/* ---- Nav ---- */
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav__list { display: flex; gap: var(--space-5); }
.nav__list a {
  position: relative; color: var(--slate); text-decoration: none;
  font-size: var(--fs-sm); font-weight: 500; padding-block: .4rem;
}
.nav__list a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__list a.is-active { color: var(--teal-ink); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  border-radius: var(--r-sm);
}
.nav-toggle__bars { display: block; width: 26px; }
.nav-toggle__bars span {
  display: block; height: 2.5px; background: var(--slate); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ========================= 7. SECTIONS ========================= */

/* ---- Hero ---- */
.hero { position: relative; padding-top: calc(var(--header-h) + var(--space-8)); padding-bottom: var(--space-8); overflow: hidden; }

.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 40rem at 12% -10%, rgba(42, 157, 143, .16), transparent 60%),
    radial-gradient(45rem 35rem at 95% 5%, rgba(233, 196, 106, .28), transparent 62%),
    var(--cream);
}
/* Subtle retro dot texture */
.hero__bg::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(38, 70, 83, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}

.hero__title { font-size: var(--fs-h1); margin-bottom: var(--space-5); }
.hero__text { font-size: var(--fs-lg); color: var(--text-muted); max-width: 34rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  margin-top: var(--space-6); font-size: var(--fs-sm); color: var(--text-muted);
}
.hero__badges li { display: flex; align-items: center; gap: .45em; }
.hero__badges .icon { color: var(--teal-ink); width: 1rem; height: 1rem; }

.hero__media { position: relative; }
.photo--hero { rotate: 1.6deg; }

.hero__sticker {
  position: absolute; left: -1rem; bottom: 1.5rem;
  display: grid; place-items: center; gap: .1rem;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  box-shadow: var(--shadow-md), inset 0 0 0 3px rgba(255, 255, 255, .45);
  rotate: -8deg;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
}
.hero__sticker strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; }

.hero__wave { position: absolute; inset: auto 0 -1px; line-height: 0; }
.hero__wave svg { width: 100%; height: 70px; }
.hero__wave path { fill: var(--bg); }

/* ---- About ---- */
.about__grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.photo--about { rotate: -1.5deg; aspect-ratio: 8 / 9; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4); margin-top: var(--space-6);
  padding-top: var(--space-6); border-top: 1px solid var(--line);
}
/* The three labels wrap to different numbers of lines, which used to leave
   ONE / NONE / ZERO sitting at three different heights. Each stat is a full
   height flex column and the value is pushed to the bottom, so the three
   values share one baseline no matter how the labels above them wrap. */
.stat { display: flex; flex-direction: column; height: 100%; }
.stat dt { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.stat dd {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); color: var(--teal-ink);
  letter-spacing: .02em;
  margin-top: auto; padding-top: .35rem;
}

/* ---- Service cards ---- */
.cards {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(clamp(15rem, 30%, 20rem), 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal);
}
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: var(--r-md); margin-bottom: var(--space-4);
  background: rgba(42, 157, 143, .12); color: var(--teal-ink);
}
.card__icon .icon { width: 1.75rem; height: 1.75rem; }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }

/* Service photo: bleeds to the card edges, flush across the top, with the
   icon sitting just beneath it. Overrides the default .photo look (shadow,
   full radius, 4:5 ratio) since here it's framed by the card itself. */
.card { overflow: hidden; }
.card__photo {
  margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-5);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: none;
}
.card__photo img { transition: transform .4s var(--ease); }
.card:hover .card__photo img { transform: scale(1.04); }

/* ---- Pricing ---- */
.pricing {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(clamp(15rem, 30%, 21rem), 1fr));
  align-items: start;
}
.tier {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tier--featured {
  background: var(--slate); color: var(--cream); border-color: var(--slate);
  box-shadow: var(--shadow-lg);
}
.tier--featured .tier__weight,
.tier--featured .tier__list li { color: rgba(255, 248, 240, .82); }
.tier--featured .tier__price { color: var(--sand); }
.tier--featured .tier__list .icon { color: var(--sand); }
.tier--featured .btn--ghost { color: var(--cream); border-color: rgba(255, 248, 240, .4); }
.tier--featured .btn--ghost:hover { background: var(--cream); color: var(--slate); }

.tier__flag {
  position: absolute; top: -.85rem; left: 50%; translate: -50% 0;
  background: var(--orange); color: var(--white);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: var(--r-pill); white-space: nowrap;
}
.tier h3 { font-size: var(--fs-h3); margin-bottom: .15rem; }
.tier__weight { font-size: var(--fs-sm); color: var(--text-muted); }
.tier__price {
  font-family: var(--font-display); font-weight: 700; color: var(--teal-ink);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.7rem);
  margin: var(--space-4) 0 var(--space-2);
}
.tier__price small { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 400; color: var(--text-muted); }
.tier__list { margin: var(--space-4) 0 var(--space-6); display: grid; gap: .6rem; }
.tier__list li { display: flex; align-items: start; gap: .6rem; font-size: var(--fs-sm); color: var(--text-muted); }
.tier__list .icon { color: var(--teal-ink); width: 1.05rem; height: 1.05rem; margin-top: .3rem; }

.pricing__note {
  text-align: center; color: var(--text-muted); font-size: var(--fs-sm);
  margin-top: var(--space-6); max-width: 44rem; margin-inline: auto;
}

/* ---- Gallery ---- */
.gallery {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(clamp(11rem, 24%, 16rem), 1fr));
}
.gallery__item { margin: 0; }
.gallery__btn {
  display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(145deg, var(--cream), #f6e2cf);
  border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1;
  box-shadow: var(--shadow-sm); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery__btn:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__btn:hover img { transform: scale(1.07); }

.gallery__btn .photo__placeholder { font-size: 11px; }
.gallery__btn.is-missing img { display: none; }
.gallery__btn.is-missing .photo__placeholder { display: flex; }

/* ---- Treat Counter ---- */
/* White section between the two tinted ones (services, gallery) so this
   showcase stands on its own. */
.section--treats { background: var(--white); }

.treats__feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.75rem, 5vw, var(--space-8));
  align-items: center;
  margin-bottom: var(--space-7);
}
.treats__intro p { color: var(--text-muted); max-width: 34rem; }

.treats__list {
  display: flex; flex-wrap: wrap; gap: .6rem;
  list-style: none; padding: 0; margin: var(--space-5) 0 0;
}
.treats__list li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem; border-radius: 999px;
  background: rgba(42, 157, 143, .12); color: var(--teal-ink);
  font-weight: 600; font-size: var(--fs-sm);
}
.treats__list .icon { width: 1rem; height: 1rem; color: var(--teal); }

.treats__feature-btn {
  display: block; width: 100%; padding: 0; border: 0;
  background: none; cursor: pointer;
}
.treats__feature-photo { aspect-ratio: 4 / 5; rotate: 1.4deg; transition: rotate .4s var(--ease); }
.treats__feature-btn:hover .treats__feature-photo { rotate: 0deg; }
.treats__feature-photo img { transition: transform .5s var(--ease); }
.treats__feature-btn:hover .treats__feature-photo img { transform: scale(1.03); }

.treats-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
  list-style: none; padding: 0; margin: 0;
}
.treat { margin: 0; }
.treat__btn {
  display: block; width: 100%; padding: 0; border: 0;
  background: none; cursor: pointer;
}
.treat__photo {
  aspect-ratio: 1 / 1; border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.treat__btn:hover .treat__photo { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.treat__photo img { transition: transform .5s var(--ease); }
.treat__btn:hover .treat__photo img { transform: scale(1.06); }

/* Caption label across the bottom of each treat tile */
.treat__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.5rem .85rem .8rem; text-align: left;
  color: var(--white); font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: .01em;
  background: linear-gradient(to top, rgba(26, 54, 66, .85), rgba(26, 54, 66, 0));
}
.treat__photo.is-missing .treat__label { display: none; }

@media (max-width: 860px) {
  .treats__feature { grid-template-columns: 1fr; }
  .treats__feature-media { max-width: 22rem; margin-inline: auto; }
  .treats-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Testimonials ---- */
.section--reviews { background: var(--slate); color: var(--cream); }
.section--reviews .section__title { color: var(--cream); }
.section--reviews .eyebrow { color: var(--sand); }

.quotes {
  display: grid; gap: var(--space-5); align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(clamp(15rem, 30%, 21rem), 1fr));
}
/* Each review sits in an <li>; make the card fill it so all three cards in a
   row are the same height and their star/name rows line up along the bottom. */
.quotes > li { display: flex; }
.quote {
  flex: 1;
  background: rgba(255, 248, 240, .07);
  border: 1px solid rgba(255, 248, 240, .16);
  border-radius: var(--r-lg); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.quote:hover { transform: translateY(-4px); background: rgba(255, 248, 240, .11); }
.quote__mark { color: var(--sand); }
.quote__mark .icon { width: 2rem; height: 2rem; }
.quote blockquote { margin: 0; font-size: var(--fs-lg); line-height: 1.55; }
.quote figcaption { margin-top: auto; font-size: var(--fs-sm); }
.quote__author { font-weight: 600; display: block; }
.quote__detail { color: rgba(255, 248, 240, .68); }

/* Star rating on each review */
.stars { display: inline-flex; gap: .18rem; margin-bottom: var(--space-3); }
.stars .star { width: 1.1rem; height: 1.1rem; }
.stars .star--on { color: #f6c453; }
.stars .star--off { color: rgba(255, 248, 240, .22); }

/* ---- Contact ---- */
.contact__grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}

.contact__form-wrap {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { margin-bottom: var(--space-4); display: flex; flex-direction: column; }
.field label { font-size: var(--fs-sm); font-weight: 600; margin-bottom: .4rem; }
.req { color: var(--orange-ink); }

.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-size: var(--fs-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-ink);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, .16);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa9ae; }

.field__error { color: #b3261e; font-size: var(--fs-xs); margin: .35rem 0 0; min-height: 0; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #b3261e; }

.form__status { margin-top: var(--space-4); font-size: var(--fs-sm); text-align: center; }
.form__status.is-ok   { color: var(--teal-ink); font-weight: 600; }
.form__status.is-err  { color: #b3261e; font-weight: 600; }

/* ---- Contact details ---- */
.info { display: grid; gap: var(--space-5); margin-bottom: var(--space-6); }
.info li { display: flex; gap: var(--space-4); }
.info__icon {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px;
  border-radius: var(--r-md); background: rgba(42, 157, 143, .12); color: var(--teal-ink);
}
.info h3 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .2rem; }

.hours { display: grid; grid-template-columns: auto 1fr; gap: .2rem var(--space-4); font-size: var(--fs-sm); }
.hours dt { color: var(--text-muted); }
.hours dd { font-weight: 500; }

.map {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); background: var(--cream-deep);
  aspect-ratio: 16 / 11;
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map__placeholder {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center;
  gap: .5rem; text-align: center; padding: var(--space-5);
  color: var(--text-muted); font-size: var(--fs-xs); font-family: monospace;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.55) 14px 28px);
}
.map__placeholder .icon { width: 2.5rem; height: 2.5rem; color: rgba(38, 70, 83, .35); }

/* ---- Footer ---- */
.site-footer { background: var(--slate); color: rgba(255, 248, 240, .78); padding-top: var(--section-y); }
.site-footer a { color: rgba(255, 248, 240, .78); text-decoration: none; }
.site-footer a:hover { color: var(--sand); text-decoration: underline; }

.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: var(--space-6) var(--space-5); padding-bottom: var(--space-7);
}
.site-footer h2 {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sand);
  margin-bottom: var(--space-4);
}
.brand--footer { color: var(--cream); margin-bottom: var(--space-4); }
.brand--footer:hover { color: var(--cream); }
.brand--footer .brand__mark { background: var(--sand); color: var(--slate); }
.brand--footer .brand__sub { color: rgba(255, 248, 240, .6); }

.footer__tagline { max-width: 26ch; font-size: var(--fs-sm); }
.footer__nav ul, .footer__contact p { display: grid; gap: .5rem; font-size: var(--fs-sm); }
.footer__nav li a, .footer__contact { font-size: var(--fs-sm); }
.footer__contact address { margin-bottom: var(--space-3); }
.footer__contact p { margin: 0 0 .35rem; }

.social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 248, 240, .1); color: var(--cream);
  transition: background-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.social a:hover { background: var(--sand); color: var(--slate); transform: translateY(-3px); text-decoration: none; }
.social .icon { width: 1.3rem; height: 1.3rem; }

.footer__bar {
  display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between;
  padding-block: var(--space-5); border-top: 1px solid rgba(255, 248, 240, .14);
  font-size: var(--fs-xs);
}
.footer__bar p { margin: 0; }

/* ========================= 8. LIGHTBOX ========================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(24, 44, 52, .93);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: var(--space-4); max-height: 88vh; }
.lightbox__figure img {
  max-height: 78vh; width: auto; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); background: var(--cream);
}
.lightbox__figure figcaption { color: rgba(255, 248, 240, .85); font-size: var(--fs-sm); text-align: center; }

.lightbox__nav, .lightbox__close {
  background: rgba(255, 248, 240, .12); color: var(--cream);
  border: 0; border-radius: 50%; cursor: pointer; line-height: 1;
  transition: background-color .2s var(--ease);
}
.lightbox__nav { width: 54px; height: 54px; font-size: 2.2rem; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 248, 240, .26); }
.lightbox__close {
  position: absolute; top: var(--space-5); right: var(--space-5);
  width: 46px; height: 46px; font-size: 1.8rem;
}

/* ========================= 9. MOTION ========================= */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }
[data-reveal-delay="5"] { transition-delay: .45s; }

/* No JS? Never hide content. */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ========================= 10. RESPONSIVE ========================= */

/* --- Tablet & down: stack the two-column layouts --- */
@media (max-width: 960px) {
  .hero__inner,
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .hero__inner { text-align: left; }
  .hero__media { max-width: 30rem; margin-inline: auto; order: -1; }
  .photo--hero { aspect-ratio: 5 / 4; rotate: 0deg; }
  .hero__sticker { left: auto; right: -.5rem; bottom: -1.5rem; width: 88px; height: 88px; }

  .about__media { max-width: 26rem; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile nav --- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto;
    flex-direction: column; align-items: stretch; gap: var(--space-4);
    padding: var(--space-5) var(--gutter) var(--space-6);
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block; padding: .9rem .25rem; font-size: var(--fs-lg);
    border-bottom: 1px solid var(--line);
  }
  .nav__list a::after { display: none; }
  .nav__cta { width: 100%; }

  body.nav-open { overflow: hidden; }
}

/* --- Small phones --- */
@media (max-width: 560px) {
  :root { --header-h: 68px; }

  .form__row { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr; gap: var(--space-4); text-align: left; }
  /* On one narrow column each stat becomes a single line, so the desktop
     "push the value to the bottom" trick is switched back off. */
  .stat { display: flex; flex-direction: row; align-items: baseline; gap: var(--space-3); height: auto; }
  .stat dt { flex: 1; }
  .stat dd { margin-top: 0; padding-top: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { justify-content: center; text-align: center; }
  .hero__actions .btn { width: 100%; }
  .lightbox { grid-template-columns: 1fr; grid-template-areas: 'fig'; }
  .lightbox__nav { position: absolute; bottom: var(--space-5); }
  .lightbox__nav--prev { left: var(--space-5); }
  .lightbox__nav--next { right: var(--space-5); }
  .lightbox__figure { grid-column: 1; }
}

/* --- Print --- */
@media print {
  .site-header, .nav, .lightbox, .hero__wave, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
