/* ==========================================================================
   Joyful Wags — coastal boardwalk theme
   Fonts: Chillax (display, Fontshare) + Nunito (body, Google Fonts)
   ========================================================================== */

:root,
[data-theme="light"] {
  /* Surfaces — sand & cream */
  --color-bg: #fdf8ef;
  --color-surface: #ffffff;
  --color-surface-2: #fbf3e4;
  --color-surface-offset: #f6ecdc;
  --color-surface-offset-2: #f0e2cd;
  --color-divider: #ecdfc9;
  --color-border: #e0cfb4;

  /* Text — deep sea ink */
  --color-text: #21404a;
  --color-text-muted: #62707a;
  --color-text-faint: #a4aeb5;
  --color-text-inverse: #fdf8ef;

  /* Primary — seafoam teal */
  --color-primary: #0e7c7b;
  --color-primary-hover: #0a5f5e;
  --color-primary-active: #084a49;
  --color-primary-highlight: #d3ecec;

  /* Accents — coral & sunshine (decorative / large elements only) */
  --color-coral: #e4633f;
  --color-coral-soft: #f6b39a;
  --color-sun: #ffd23f;
  --color-sun-soft: #ffe08a;
  --color-sky: #a9def2;
  --color-sky-deep: #7ec8e8;

  /* Dog illustration */
  --dog-fur: #e8b36b;
  --dog-fur-dark: #d99a4c;
  --dog-ear: #c9863a;
  --dog-ink: #21404a;

  /* Wood boardwalk */
  --wood: #d9a877;
  --wood-dark: #b98756;
  --wood-seam: #a9774a;
  --wood-shadow: #8a5f3b;

  /* park palette for the walk scene */
  --park-far: #cfe9c2;
  --park-near: #b6ddaa;
  --concrete: #ddd8cc;
  --concrete-shadow: #a49d8d;
  --palm-trunk: #a9825c;
  --palm-frond: #3f9161;
  --bench-wood: #c99868;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.6rem;
  --radius-lg: 1rem;
  --radius-xl: 1.6rem;
  --radius-full: 9999px;

  /* Shadows — warm */
  --shadow-sm: 0 1px 2px rgba(64, 46, 20, 0.06);
  --shadow-md: 0 4px 14px rgba(64, 46, 20, 0.09);
  --shadow-lg: 0 14px 38px rgba(64, 46, 20, 0.14);

  /* Type */
  --font-display: "Chillax", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --color-bg: #0e2229;
  --color-surface: #14303a;
  --color-surface-2: #173744;
  --color-surface-offset: #1b3f4d;
  --color-surface-offset-2: #214957;
  --color-divider: #1d4553;
  --color-border: #2a5a6a;

  --color-text: #e6f1f2;
  --color-text-muted: #9db4bb;
  --color-text-faint: #5f7880;
  --color-text-inverse: #0e2229;

  --color-primary: #57bdbb;
  --color-primary-hover: #7ed0cd;
  --color-primary-active: #3fa5a3;
  --color-primary-highlight: #1c4a4e;

  --color-coral: #ef8560;
  --color-coral-soft: #f6b39a;
  --color-sun: #ffd24d;
  --color-sun-soft: #6b5a2e;
  --color-sky: #1b3f4d;
  --color-sky-deep: #173744;

  --dog-fur: #d9a45f;
  --dog-fur-dark: #c98f45;
  --dog-ear: #b37733;
  --dog-ink: #0c1d24;

  --wood: #7a5a3a;
  --wood-dark: #6a4c30;
  --wood-seam: #5a3f26;
  --wood-shadow: #2e2620;

  /* park palette for the walk scene */
  --park-far: #1e3f2e;
  --park-near: #173224;
  --concrete: #56616b;
  --concrete-shadow: #26333c;
  --palm-trunk: #5d4a35;
  --palm-frond: #2f6b46;
  --bench-wood: #6a4c30;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 14px 38px rgba(0, 0, 0, 0.45);
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 5.25rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-height: 1.12;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: var(--color-sun-soft);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a,
button,
input,
textarea,
select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- Type scale ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.75rem, 1.4rem + 6vw, 6.5rem);
}

/* ---------- Spacing ---------- */
:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.header.is-scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  max-width: 1120px;
  margin-inline: auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand__circle {
  fill: var(--color-primary);
}
.brand__paw {
  fill: #fdf8ef;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1;
}

.brand__logo {
  display: block;
  height: 60px;
  width: auto;
}

.brand--footer .brand__logo {
  height: 80px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: var(--text-sm);
}

.nav a:hover {
  color: var(--color-primary);
}

.nav a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.nav__cta {
  background: var(--color-primary);
  color: var(--color-text-inverse) !important;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.nav__cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 460px at 88% -12%, color-mix(in srgb, var(--color-sky) 50%, transparent), transparent 70%),
    radial-gradient(700px 380px at -10% 0%, color-mix(in srgb, var(--color-sun-soft) 40%, transparent), transparent 65%),
    linear-gradient(180deg, color-mix(in srgb, var(--color-sky) 26%, var(--color-bg)) 0%, var(--color-bg) 42%);
}

.hero__inner {
  max-width: 1120px;
  margin-inline: auto;
  width: 100%;
  padding: clamp(3.5rem, 7vh, 5.5rem) var(--space-5) clamp(3rem, 6vh, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(var(--space-8), 4vw, var(--space-12));
  align-items: center;
}

.hero__content {
  position: relative;
  width: 100%;
}

.hero__media {
  margin: 0;
  position: relative;
}

.hero__photo-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 8px solid var(--color-surface);
  box-shadow: var(--shadow-lg), 0 30px 70px -34px color-mix(in srgb, var(--color-primary) 55%, transparent);
}

.hero__photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__collage {
  position: relative;
}


.hero__caption {
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-surface) 82%, transparent);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.hero__kicker-paw {
  width: 18px;
  height: 18px;
}

.hero__title {
  font-size: var(--text-hero);
  margin-top: var(--space-5);
  line-height: 1.02;
}

.hero__title-accent {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.16em;
  background: var(--color-sun);
  border-radius: var(--radius-full);
  z-index: -1;
}

.hero__lede {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 34ch;
  font-weight: 600;
}

.hero__ctas {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

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

.hero__trust li {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  border: 1px dashed var(--color-primary);
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--text-sm);
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--color-text);
  border: 2px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface) 75%, transparent);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* Walk-scene colors (shared by the journey park scene) */
.gull__stroke {
  stroke: var(--color-text-muted);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
}
.oat__stem {
  stroke: var(--wood-dark);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
}
.oat__head {
  fill: var(--color-sun);
}
.water__fill {
  fill: var(--color-sky-deep);
}
.water__line {
  stroke: var(--color-surface);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  opacity: 0.5;
}
.water__line--1 {
  animation: wave-drift 9s ease-in-out infinite alternate;
}
.water__line--2 {
  animation: wave-drift 13s ease-in-out infinite alternate-reverse;
}

@keyframes wave-drift {
  from {
    transform: translateX(-22px);
  }
  to {
    transform: translateX(22px);
  }
}

/* Dog (journey scene) */
.dog-fill {
  fill: var(--dog-fur);
}
.dog-chest {
  fill: #f7e3c4;
}
.dog-ear {
  fill: var(--dog-ear);
}
.dog-nose {
  fill: var(--dog-ink);
}
.dog-eye {
  fill: var(--dog-ink);
}
.dog-stroke {
  stroke: var(--dog-ink);
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
}
.dog-mouth {
  stroke-width: 3;
}
.dog-tongue {
  fill: var(--color-coral);
}
.dog-tail {
  stroke: var(--dog-fur-dark);
  stroke-width: 9;
}
.dog-shadow {
  fill: var(--wood-shadow);
  opacity: 0.25;
}
.dog-collar {
  stroke: var(--color-primary);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
}
.dog-tag {
  fill: var(--color-sun);
}

@keyframes dog-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes tail-wag {
  0%,
  100% {
    transform: rotate(-14deg);
  }
  50% {
    transform: rotate(18deg);
  }
}

/* ==========================================================================
   THE WALK — intro + scroll-driven park loop
   ========================================================================== */
.walk-intro {
  padding-bottom: var(--space-6);
}

.walk-intro__inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.walk-intro__inner .section__title,
.walk-intro__inner .section__lede {
  margin-inline: auto;
}

.journey {
  position: relative;
  height: 340vh;
  background: linear-gradient(in oklab, var(--color-bg), var(--color-sky) 55%, var(--color-bg));
}

.journey__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
}

.journey__scene {
  width: 100%;
  height: 100%;
}

.jsky-top {
  stop-color: var(--color-sky);
}
.jsky-bottom {
  stop-color: var(--color-bg);
}
.j-sun {
  fill: var(--color-sun);
}
.j-sun-halo {
  fill: var(--color-sun-soft);
  opacity: 0.5;
}
.j-dune {
  fill: var(--park-far);
}
.j-dune--near {
  fill: var(--park-near);
}
.palm__trunk {
  stroke: var(--palm-trunk);
  stroke-width: 9;
  fill: none;
  stroke-linecap: round;
}
.palm__frond {
  stroke: var(--palm-frond);
  stroke-width: 7;
  fill: none;
  stroke-linecap: round;
}
.palm__nut {
  fill: var(--palm-trunk);
}
.bench__wood {
  fill: var(--bench-wood);
}
.bench__seat {
  fill: var(--wood-dark);
}
.bench__leg {
  fill: var(--wood-shadow);
}
.j-path-shadow {
  stroke: var(--concrete-shadow);
  stroke-width: 52;
  fill: none;
  stroke-linecap: round;
  opacity: 0.28;
}
.j-path {
  stroke: var(--concrete);
  stroke-width: 46;
  fill: none;
  stroke-linecap: round;
}

.j-dog .dog-leg--a,
.j-dog .dog-leg--d {
  animation: leg-trot 0.5s ease-in-out infinite alternate;
}
.j-dog .dog-leg--b,
.j-dog .dog-leg--c {
  animation: leg-trot 0.5s ease-in-out infinite alternate-reverse;
}

@keyframes leg-trot {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(5px);
  }
}

.j-dog__tail {
  transform-origin: -46px 18px;
  animation: tail-wag 0.7s ease-in-out infinite;
}

.j-dog__bob {
  animation: dog-bob 2.8s ease-in-out infinite;
}

.j-bubble__bg {
  fill: var(--color-surface);
  stroke: var(--color-primary);
  stroke-width: 2.5;
}
.j-bubble__tail {
  fill: var(--color-surface);
  stroke: var(--color-primary);
  stroke-width: 2.5;
}
.j-bubble__line1,
.j-bubble__line2 {
  font-family: var(--font-display);
  font-size: 21px;
  fill: var(--color-text);
  font-weight: 500;
}

.journey__hint {
  position: absolute;
  bottom: max(var(--space-8), env(safe-area-inset-bottom));
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: color-mix(in srgb, var(--color-surface) 94%, transparent);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: opacity 400ms ease;
}

.journey__hint svg {
  animation: hint-bounce 1.3s ease-in-out infinite;
}

@keyframes hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.journey.is-active .journey__hint {
  opacity: 0;
}

/* ==========================================================================
   SECTIONS — shared
   ========================================================================== */
.section {
  padding-block: clamp(3rem, 5vw, 5rem);
  position: relative;
}

.section__inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section__kicker {
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral);
}

.section__title {
  font-size: var(--text-xl);
  margin-top: var(--space-3);
  max-width: 24ch;
}

.section__lede {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 58ch;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-divider);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  background:
    radial-gradient(circle at 12% 0%, var(--color-sun-soft) 0, transparent 26%),
    radial-gradient(circle at 90% 100%, var(--color-sky) 0, transparent 30%);
}

.services__grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--space-6);
}

.service-card {
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-radius: var(--radius-xl);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.service-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: var(--text-lg);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.service-card--note {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.service-card--note h3 {
  color: var(--color-text-inverse);
}

.service-card--note p {
  color: color-mix(in srgb, var(--color-text-inverse) 85%, transparent);
}

.service-card__icon {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: var(--color-primary-highlight);
}

.service-card--note .service-card__icon {
  background: color-mix(in srgb, var(--color-text-inverse) 16%, transparent);
}

.service-card__icon svg {
  width: 38px;
  height: 38px;
}

.ic-fill {
  fill: var(--color-primary);
}
.ic-stroke {
  stroke: var(--color-primary);
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-window {
  stroke: var(--color-surface);
  stroke-width: 2.4;
}
.ic-dot {
  fill: var(--color-primary);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}

.about__text p + p {
  margin-top: var(--space-4);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 800;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-sm);
}

.about__featured {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.about__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.photo-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.photo-card--lead {
  grid-column: 1 / -1;
}

.photo-card__frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 3px dashed var(--color-primary);
  background:
    repeating-linear-gradient(
      -45deg,
      var(--color-surface-2),
      var(--color-surface-2) 14px,
      color-mix(in srgb, var(--color-surface-2) 60%, var(--color-surface-offset)) 14px,
      color-mix(in srgb, var(--color-surface-2) 60%, var(--color-surface-offset)) 28px
    );
  display: grid;
  place-items: center;
  color: var(--color-primary);
  text-align: center;
}

.photo-card--lead .photo-card__frame {
  aspect-ratio: 1 / 1;
}

.photo-card__frame span {
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-primary);
  line-height: 1.4;
}

/* Real photos fill the frame and crop to fit */
.photo-card__frame--photo {
  display: block;
  width: 100%;
  object-fit: cover;
  border: 0;
  background: none;
  box-shadow: var(--shadow-md);
}

.photo-card__frame svg {
  margin-inline: auto;
  opacity: 0.65;
  margin-bottom: var(--space-2);
}

.photo-card figcaption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

/* Friends of the pack — client-dog gallery */
.about__friends {
  max-width: 1120px;
  margin: var(--space-12) auto 0;
  padding-inline: var(--space-5);
}

.about__friends-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-align: center;
}

.about__friends-note {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.friends__grid {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  max-width: 820px;
  margin-inline: auto;
}

.friend-card__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-offset);
  box-shadow: var(--shadow-md);
}

/* Blurred cover of the same photo fills the frame; the sharp photo
   sits contained on top so any shape of photo still shows the
   whole dog without awkward crops. */
.friend-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) saturate(1.08);
  transform: scale(1.2);
}

.friend-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   RATES
   ========================================================================== */
.rates__cta {
  margin-top: var(--space-8);
}

.rates__table {
  margin-top: var(--space-12);
  padding: var(--space-8);
  overflow-x: auto;
}

.rates__table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
}

.rates__table th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-divider);
}

.rates__table td {
  padding: var(--space-4) 0;
  border-bottom: 1px dashed var(--color-divider);
  font-size: var(--text-base);
}

.rates__table td:last-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.rates__draft-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-coral);
  border: 1.5px dashed var(--color-coral);
  border-radius: var(--radius-full);
  padding: 0.1rem 0.55rem;
  margin-left: var(--space-2);
  vertical-align: middle;
}

.rates__note {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   AREA
   ========================================================================== */
.area {
  background: linear-gradient(in oklab, var(--color-bg), var(--color-sky) 90%);
}

.area__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}

.area__list {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.area__list li {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.area__list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-coral);
  flex-shrink: 0;
}

.area__maybe {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.area__map {
  padding: var(--space-6);
}

.map-river {
  stroke: var(--color-sky-deep);
  stroke-width: 34;
  fill: none;
  stroke-linecap: round;
}
.map-shore {
  stroke: var(--color-border);
  stroke-width: 3;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  fill: none;
}
.map-ocean {
  fill: var(--color-sky-deep);
  opacity: 0.35;
}
.map-wave {
  stroke: var(--color-text-inverse);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  opacity: 0.7;
}
.pin-dot {
  fill: var(--color-coral);
}
.pin-dot--alt {
  fill: var(--color-primary);
}
.pin-pulse {
  fill: var(--color-coral);
  opacity: 0.25;
  animation: pin-pulse 2.4s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.pin-pulse--alt {
  fill: var(--color-primary);
  animation-delay: 1.2s;
}
.map-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  fill: var(--color-text);
}

@keyframes pin-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews__grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.review-card {
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.review-card__stars {
  display: flex;
  gap: 3px;
  color: var(--color-sun);
}

.review-card__stars svg {
  width: 20px;
  height: 20px;
}

.review-card blockquote {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.55;
}

.review-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.review-card__who {
  font-weight: 800;
}

.review-card__who span {
  display: block;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.review-card__draft-tag {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-coral);
  border: 1.5px dashed var(--color-coral);
  border-radius: var(--radius-full);
  padding: 0.1rem 0.55rem;
  white-space: nowrap;
}

.reviews__note {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   BOOK & PAY
   ========================================================================== */
.book {
  background:
    radial-gradient(circle at 88% 6%, var(--color-sun-soft) 0, transparent 24%),
    var(--color-bg);
}

.book__grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.book__form {
  padding: var(--space-8);
  display: grid;
  gap: var(--space-5);
}

.field {
  display: grid;
  gap: var(--space-2);
}

.field label {
  font-weight: 800;
  font-size: var(--text-sm);
}

.field__hint {
  font-weight: 600;
  color: var(--color-text-muted);
}

.field input,
.field select,
.field textarea {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
  background: var(--color-surface-2);
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
}

.book__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.book__form-status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.4em;
}

.book__form-status.is-sending {
  color: #0e7c7b;
}

.book__form-status.is-ok {
  color: #0e7c7b;
}

.book__form-status.is-err {
  color: #e4633f;
}

.book__form-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.book__side {
  display: grid;
  gap: var(--space-6);
}

.book__contact,
.book__paypal {
  padding: var(--space-8);
}

.book__side h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.contact-list {
  display: grid;
  gap: var(--space-4);
}

.contact-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
}

.contact-list a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 3px;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-list svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-primary);
}

.placeholder-note {
  font-style: normal;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.paypal-placeholder {
  border: 2.5px dashed var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  text-align: center;
  background: var(--color-surface-2);
}

.paypal-placeholder__tag {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral);
}

.paypal-placeholder__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: #27346a;
}

.paypal-placeholder__brand span {
  color: #0070ba;
}

.paypal-placeholder__caption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 30ch;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: color-mix(in srgb, var(--color-sky) 45%, var(--color-bg));
  border-top: 1px solid var(--color-divider);
  color: var(--color-text);
  padding-block: var(--space-16) var(--space-8);
}

[data-theme="dark"] .footer {
  background: #0a1a21;
  border-top-color: var(--color-divider);
}

.footer__inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-5);
  display: grid;
  gap: var(--space-6);
  justify-items: center;
  text-align: center;
}

.brand--footer {
  color: var(--color-text);
}

.brand--footer .brand__circle {
  fill: var(--color-primary);
}
.brand--footer .brand__paw {
  fill: #fdf8ef;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
}

.footer__nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--text-sm);
}

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

.footer__note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 60ch;
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 920px) {
  .about__grid,
  .area__grid,
  .book__grid {
    grid-template-columns: 1fr;
  }

  .area__map {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }
}

/* Mobile menu scrim */
body.nav-open::before {
  content: "";
  position: fixed;
  inset: 62px 0 0 0;
  background: color-mix(in srgb, var(--color-text) 18%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 55;
  pointer-events: none;
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 62px;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    background: var(--color-bg);
    padding: var(--space-6) var(--space-5) var(--space-10);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 250ms ease,
      visibility 250ms;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    font-size: var(--text-lg);
    padding: var(--space-3) var(--space-2);
    border-radius: var(--radius-md);
  }

  .nav__cta {
    align-self: flex-start;
    margin-top: var(--space-3);
  }

  .nav__cta:hover {
    transform: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--space-10);
    gap: var(--space-10);
  }

  .hero__media {
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
  }


  .hero__lede {
    max-width: 100%;
  }

  .about__photos {
    grid-template-columns: 1fr;
  }

  .journey {
    height: 300vh;
  }

  .j-bubble__line1,
  .j-bubble__line2 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .j-bubble__line1,
  .j-bubble__line2 {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .hero__ctas .btn {
    width: 100%;
  }

  .journey__hint {
    font-size: var(--text-xs);
    padding: 0.65rem 1rem;
    gap: 0.4rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .area__list {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion: static, calm layout */
@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;
  }
}
