/* ----------------------------------------------------------------
   Studio Woof
   Playful brand site — blue + cream, with peach / sun / sage / pink
   accent blobs and hand-drawn doodles sprinkled throughout.
---------------------------------------------------------------- */

:root {
  /* Base */
  --cream:        #F5EBD8;
  --cream-soft:   #FAF4E6;
  --cream-deep:   #ECE0C8;

  --ink:          #14233F;
  --ink-soft:     #243558;
  --ink-mute:     rgba(20, 35, 63, 0.62);
  --ink-faint:    rgba(20, 35, 63, 0.14);
  --ink-hair:     rgba(20, 35, 63, 0.10);

  /* Blues — the dog blue */
  --blue:         #3F7AC9;
  --blue-deep:    #2C5BA0;
  --blue-soft:    #C8D7EE;

  /* Playful accents */
  --peach:        #F3B488;
  --peach-soft:   #FAD9C2;
  --sun:          #F5CC5C;
  --sun-soft:     #FBE6A8;
  --sage:         #B7CFB1;
  --sage-soft:    #D9E6D5;
  --pink:         #ED9DB1;
  --pink-soft:    #F6CCD8;
  --sand:         #B98B43;
  --gold:         #D4A857;
  --gold-soft:    #E6C886;

  /* Spa premium palette */
  --spa-deep:     #1B3A36;
  --spa-deeper:   #133029;
  --spa-line:     rgba(214, 200, 134, 0.22);

  /* Type */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-script:  "Caveat", "Brush Script MT", cursive;

  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 160px);
  --max: 1280px;
}

/* Tighter vertical rhythm on phones — less dead space, less scrolling */
@media (max-width: 880px) {
  :root { --section-y: clamp(48px, 9vw, 72px); }
}

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

/* overflow-x: clip (not hidden) — clips horizontal bleed WITHOUT becoming a
   scroll container, so `position: sticky` (spa stacking cards) keeps working. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--cream); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 8px; z-index: 100; }

/* ---------- Cursor (paw image) ---------- */
.cursor {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  display: none;
}
.cursor__pos {
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px;
  will-change: transform;
  transform: translate3d(-80px, -80px, 0);
}
.cursor__paw {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  transform: rotate(-14deg);
  transform-origin: 50% 60%;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), opacity 0.25s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 3px rgba(20, 35, 63, 0.22));
  user-select: none;
  -webkit-user-drag: none;
}
/* Over dark sections: invert paw (dark → cream) + softer light shadow */
body.cursor-on-dark .cursor__paw {
  filter: invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
body.cursor-hover .cursor__paw {
  transform: rotate(10deg) scale(1.35);
}
body.cursor-press .cursor__paw {
  transform: rotate(0deg) scale(0.85);
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body, a, button { cursor: none; }
}

/* ---------- Reveal ----------
   Driven by an animation (not a transition) so it never collides with the
   per-card `transition: transform` used for hover lifts. `backwards` fill
   keeps the element hidden through its stagger delay, and once the animation
   ends nothing is held — so hover transforms work normally afterward. */
[data-reveal] { opacity: 0; }
[data-reveal].is-visible {
  opacity: 1;
  animation: reveal-rise 0.5s cubic-bezier(.22,.7,.3,1) backwards;
  animation-delay: calc(var(--ri, 0) * 55ms);   /* stable per-sibling stagger */
}
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; }
  [data-reveal].is-visible { animation: none; }
  html { scroll-behavior: auto; }
  .blob, .doodle, .hero__sticker, .float { animation: none !important; }
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.02;
  font-size: clamp(40px, 6.8vw, 96px);
  margin: 0;
  font-variation-settings: "opsz" 120, "SOFT" 50;
}
.display em { font-style: italic; font-weight: 300; color: var(--blue); }
.display--md { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.05; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500; margin: 0 0 22px;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--peach);
  box-shadow: 0 0 0 3px var(--peach-soft);
}
.eyebrow__dot--sun { background: var(--sun); box-shadow: 0 0 0 3px var(--sun-soft); }
.eyebrow__dot--sage { background: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); }
.eyebrow__dot--pink { background: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }

/* Hand-drawn wobble underline */
.wobble {
  position: relative;
  display: inline-block;
}
.wobble::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: -0.06em;
  height: 0.18em;
  background: var(--peach);
  border-radius: 999px;
  transform: rotate(-1.5deg);
  z-index: -1;
  opacity: 0.85;
}
.wobble--alt::after { background: var(--sun); transform: rotate(1.2deg); }
.wobble--sage::after { background: var(--sage); }
.wobble--pink::after { background: var(--pink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14.5px; letter-spacing: 0.01em; font-weight: 500;
  transition: transform 0.4s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--blue); }

.btn--ghost { border: 1px solid var(--ink-faint); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--cream-soft); }

/* ---------- Hiring banner ---------- */
.hiring-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px var(--gutter);
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 13.5px;
  line-height: 1.4;
}
.hiring-banner__line { width: 100%; }
.hiring-banner strong {
  font-weight: 600;
  color: var(--sun);
  letter-spacing: 0.02em;
}
.hiring-banner__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.hiring-banner__more svg { width: 13px; height: 13px; }
.hiring-banner:hover .hiring-banner__more { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: relative; z-index: 50;       /* scrolls away with the page */
  background: var(--cream);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
}
.nav__logo { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.nav__mark {
  width: 103px;
  height: 76px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.nav__wordmark-img { height: 76px; width: auto; object-fit: contain; display: block; }
.nav__links { display: flex; justify-content: center; gap: 36px; font-size: 14.5px; color: var(--ink-soft); }
.nav__links a { position: relative; padding: 4px 0; transition: color 0.2s ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ink); transition: right 0.4s cubic-bezier(.2,.7,.2,1); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--cream); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background 0.3s ease; }
.nav__cta svg { width: 14px; height: 14px; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.nav__cta:hover { background: var(--blue); }
.nav__cta:hover svg { transform: translateX(3px); }

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  margin-right: -8px;
}
.nav__toggle-bars { position: relative; display: block; width: 22px; height: 16px; }
.nav__toggle-bars i {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), opacity 0.2s ease, top 0.3s ease;
}
.nav__toggle-bars i:nth-child(1) { top: 0; }
.nav__toggle-bars i:nth-child(2) { top: 7px; }
.nav__toggle-bars i:nth-child(3) { top: 14px; }
.nav.is-open .nav__toggle-bars i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav.is-open .nav__toggle-bars i:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle-bars i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* The in-drawer "Book a visit" — only appears inside the mobile menu */
.nav__menu-cta { display: none; }

@media (max-width: 880px) {
  .nav { position: sticky; top: 0; }     /* keep the menu reachable while scrolling */
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  /* Links become a slide-down drawer under the header */
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 6px var(--gutter) 22px;
    background: var(--cream);
    border-bottom: 1px solid var(--ink-hair);
    box-shadow: 0 24px 40px -24px rgba(20, 35, 63, 0.35);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.34s cubic-bezier(.2,.7,.2,1), opacity 0.28s ease, visibility 0s linear 0.34s;
    z-index: 60;
  }
  .nav.is-open .nav__links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.34s cubic-bezier(.2,.7,.2,1), opacity 0.28s ease, visibility 0s;
  }
  .nav__links a {
    padding: 15px 2px;
    font-size: 18px;
    color: var(--ink);
    border-bottom: 1px solid var(--ink-hair);
  }
  .nav__links a::after { display: none; }   /* drop the desktop underline animation */

  .nav__links a.nav__menu-cta {
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 14px 20px;
    background: var(--ink);
    color: var(--cream);       /* outranks `.nav__links a` ink color */
    border-radius: 999px;
    border-bottom: 0;
    font-size: 15px; font-weight: 500;
  }
  .nav__menu-cta svg { width: 15px; height: 15px; }
}

/* ============================================================
   HERO — left text | DOG (huge, center) | right text
============================================================ */
.hero {
  position: relative;
  padding: 0 var(--gutter);
  height: calc(100svh - 70px);
  min-height: 620px;
  max-height: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
  overflow: visible;
}

.hero__side {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  /* The side columns overlay the centered dog. Let clicks fall through to the
     dog/bubble beneath; only the real buttons inside keep catching clicks. */
  pointer-events: none;
}
.hero__side a,
.hero__side .btn,
.hero__side button {
  pointer-events: auto;
}
.hero__side--left {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding-top: clamp(28px, 5vw, 56px);
}
.hero__side--right {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  padding-bottom: clamp(40px, 6vw, 80px);
  gap: 22px;
}

.hero__quote {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.94;
  font-size: clamp(44px, 7vw, 104px);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero__quote em { font-style: italic; font-weight: 300; color: var(--blue); }
.hero__quote--right { font-style: italic; font-weight: 300; }
.hero__quote--right em { color: var(--blue); }
.hero__quote .wobble::after { bottom: 0.02em; height: 0.16em; }

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hero__actions .btn { padding: 12px 18px; font-size: 13.5px; }

/* The dog — absolutely centered, overflows below the hero edge by a small
   amount so the empty PNG bottom is hidden behind the running marquee strip. */
.hero__dog-wrap {
  position: absolute;
  bottom: clamp(-36px, -2.5vw, -18px);  /* halfway between original (0) and previous (-72) */
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 1;                            /* sits BEHIND the marquee (z-index: 5) */
}
.hero__dog,
.hero__dog-svg {
  display: block;
  width: auto;
  height: 100%;
  pointer-events: auto;             /* parent wrap is pointer-events: none — re-enable for click */
  cursor: pointer;
  max-height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 28px rgba(20, 35, 63, 0.10));
  animation: dog-wiggle 3.6s ease-in-out infinite;
  transform-origin: 50% 100%;                /* pivot at the feet — head swings, body stays put */
}

@keyframes dog-wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__dog, .hero__dog-svg { animation: none; }
}

/* Speech bubble — pops in once, sits at the top-right of the dog */
.hero__bubble {
  position: absolute;
  top: 6%;
  right: 20px;                         /* hug the dog's right side instead of poking out */
  z-index: 6;                          /* above dog (1) and marquee (5) */
  width: 232px;                        /* explicit — the wrap's flex sizing collapses max-content */
  padding: 16px 22px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 22px 22px 22px 6px;
  box-shadow: 4px 4px 0 var(--sun);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  transform-origin: bottom left;
  opacity: 0;
  pointer-events: auto;                /* clickable — bubbles up to the dog-link → #visit */
  cursor: pointer;
  animation: bubble-pop 0.7s cubic-bezier(.34, 1.56, .64, 1) 0.6s both,
             bubble-wiggle 4s ease-in-out 1.3s infinite;
}
.hero__bubble p { margin: 0; }
.hero__bubble.is-hiding { animation: bubble-out 0.45s ease-in forwards; }

/* Speech-bubble tail pointing toward the dog's head */
.hero__bubble::after,
.hero__bubble::before {
  content: "";
  position: absolute;
  width: 0; height: 0;
}
.hero__bubble::after {
  bottom: -16px;
  left: 22px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid var(--ink);
}
.hero__bubble::before {
  bottom: -11px;
  left: 25px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 13px solid var(--cream);
  z-index: 1;
}

@keyframes bubble-pop {
  0%   { opacity: 0; transform: scale(0.4) rotate(-6deg) translateY(20px); }
  60%  { opacity: 1; transform: scale(1.08) rotate(2deg) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) rotate(0deg) translateY(0); }
}
@keyframes bubble-wiggle {
  0%, 100% { transform: rotate(-1.2deg); }
  50%      { transform: rotate(1.2deg); }
}
@keyframes bubble-out {
  to { opacity: 0; transform: scale(0.85) translateY(8px); }
}

@media (max-width: 880px) {
  /* Anchored to the dog wrap now — keep it fully on-screen, upper-right of the dog */
  .hero__bubble {
    top: 4px;
    right: 4%;
    left: auto;
    width: auto;
    max-width: 200px;
    font-size: 14px;
    padding: 11px 16px;
  }
}
@media (max-width: 420px) {
  .hero__bubble { max-width: 168px; font-size: 13px; padding: 9px 13px; right: 2%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bubble { opacity: 1; animation: none; }
}

/* Mobile: stack — left text, dog, right text */
@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 20px var(--gutter) 32px;   /* bottom space so buttons don't kiss the marquee */
    gap: 14px;
    text-align: center;
  }
  .hero__side--left  { align-items: center; text-align: center; padding-top: 0; }
  .hero__side--right { align-items: center; text-align: center; padding-bottom: 0; gap: 20px; }
  .hero__quote { font-size: clamp(44px, 12vw, 76px); }
  /* relative so the speech bubble anchors to the dog, not the whole hero.
     Reset the absolute-era left/transform or the wrap shifts off-center. */
  .hero__dog-wrap { position: relative; left: auto; transform: none; height: auto; width: 100%; }
  .hero__dog, .hero__dog-svg { height: auto; max-height: 46vh; width: 74%; max-width: 420px; }

  /* Buttons were bleeding off the right edge — center and let them wrap */
  .hero__actions { justify-content: center; width: 100%; margin-top: 4px; }
  .hero__actions .btn { padding: 13px 20px; }
}

@media (max-width: 460px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { justify-content: center; width: 100%; }
}

/* Floating sticker bottom-left of the hero */
.hero__sticker {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(20px, 3vw, 36px);
  width: 96px; height: 96px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 6px 0 var(--ink);
  animation: spin 22s linear infinite;
  z-index: 4;
}
@media (max-width: 880px) {
  .hero__sticker { display: none; }
}
.hero__sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__sticker-mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  animation: spin-rev 22s linear infinite;
}
.hero__sticker-mark svg { width: 28px; height: 28px; position: static; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

@media (max-width: 720px) {
  .hero__sticker { width: 86px; height: 86px; }
  .hero__sticker-mark svg { width: 22px; height: 22px; }
}

/* Hero decor: blobs + doodles */
.hero__decor {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;          /* keep decorative blobs from widening the document */
  z-index: 0;
}

.blob {
  position: absolute;
  width: 280px; height: 280px;
  opacity: 0.45;
  filter: blur(1px);
  animation: float 18s ease-in-out infinite;
  z-index: 0;
}
.blob--peach  { fill: var(--peach-soft); }
.blob--yellow { fill: var(--sun-soft); }
.blob--sun    { fill: var(--sun-soft); }
.blob--sage   { fill: var(--sage-soft); }
.blob--pink   { fill: var(--pink-soft); }

.blob--tl { top: -80px;  left: -100px; width: 320px; height: 320px; animation-delay: -2s; }
.blob--tr { top: 40px;   right: -100px; width: 280px; height: 280px; animation-delay: -5s; }
.blob--bl { bottom: 40px; left: -80px;  width: 240px; height: 240px; animation-delay: -8s; }
.blob--br { bottom: -60px; right: -80px; width: 300px; height: 300px; animation-delay: -11s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%      { transform: translate(20px, -14px) rotate(8deg) scale(1.04); }
  66%      { transform: translate(-12px, 18px) rotate(-6deg) scale(0.97); }
}

.doodle {
  position: absolute;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
  z-index: 1;
}
.doodle--sparkle  { color: var(--sun);  width: 26px; height: 26px; }
.doodle--squiggle { color: var(--peach); width: 60px; height: 20px; }

/* Just two accents in the hero */
.d-2 { top: 18%; right: 14%; animation-delay: -3s; }
.d-3 { bottom: 28%; left: 4%; animation-delay: -5s; }

@media (max-width: 720px) {
  .doodle { display: none; }
  .blob { opacity: 0.35; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--blue);
  color: var(--cream);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  z-index: 5;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 36px;
  white-space: nowrap;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  animation: marquee 38s linear infinite;
}
.marquee__track i { font-style: normal; color: var(--sun); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  position: relative;
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.about::before {
  content: "";
  position: absolute;
  top: 30%; right: -140px;
  width: 320px; height: 320px;
  background: var(--peach-soft);
  border-radius: 50% 60% 40% 50% / 60% 40% 60% 50%;
  opacity: 0.4;
  z-index: 0;
  animation: float 22s ease-in-out infinite;
}
.about__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.about__body p {
  margin: 0 0 18px; font-size: 16.5px; color: var(--ink-soft);
  line-height: 1.6;
}
/* 2-line drop cap with proper baseline alignment */
.about__body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--blue);
  float: left;
  font-size: 3.4em;
  line-height: 0.78;
  padding: 0.1em 0.12em 0 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .about__body p:first-of-type::first-letter {
    font-size: 1em;
    line-height: inherit;
    padding: 0 0.12em 0 0;
    -webkit-initial-letter: 2 2;
    initial-letter: 2 2;
  }
}
@media (max-width: 880px) { .about__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PILLARS — bento (4-card, diagonal pinwheel)
============================================================ */
.pillars {
  position: relative;
  background: var(--cream-soft);
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--ink-hair);
  border-bottom: 1px solid var(--ink-hair);
  overflow: hidden;
}
.pillars__list {
  position: relative;
  list-style: none;
  margin: 0 auto; padding: 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  z-index: 1;
}
.pillar:nth-child(1) { grid-column: span 4; }
.pillar:nth-child(2) { grid-column: span 2; }
.pillar:nth-child(3) { grid-column: span 2; }
.pillar:nth-child(4) { grid-column: span 4; }

.pillar {
  position: relative;
  padding: 30px 28px;
  background: var(--cream);
  border-radius: 22px;
  border: 1.5px solid var(--ink);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
}
.pillar:hover { transform: translateY(-3px); }

/* Wide pillars: text fills the left, art is absolutely placed bottom-right */
.pillar:nth-child(1),
.pillar:nth-child(4) {
  padding-right: 38%;       /* reserve room for the bottom-right illustration */
  min-height: 220px;
}
.pillar:nth-child(1) .pillar__body,
.pillar:nth-child(4) .pillar__body {
  display: flex; flex-direction: column; gap: 10px;
}

/* Saturated card backgrounds for visual rhythm */
.pillar:nth-child(1) { background: var(--blue); color: var(--cream); border-color: var(--ink); }
.pillar:nth-child(2) { background: var(--peach); border-color: var(--ink); }
.pillar:nth-child(3) { background: var(--sage); border-color: var(--ink); }
.pillar:nth-child(4) { background: var(--sun); border-color: var(--ink); }

/* Text contrast inside the blue card */
.pillar:nth-child(1) h3 { color: var(--cream); }
.pillar:nth-child(1) p { color: rgba(245, 235, 216, 0.82); }
.pillar:nth-child(1) .pillar__num { background: var(--cream); color: var(--ink); }

.pillar__art {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
/* Pillar illustration — transparent PNG anchored to the bottom-right
   of the wide cards (01 and 04 only). No frame, no backing — the dog
   floats directly on the colored card. */
.pillar__photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 42%;
  max-width: 280px;
  height: 100%;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
  transform-origin: 50% 100%;
}
.pillar__photo img {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  width: auto;
  height: 86%;
  max-width: 92%;
  object-fit: contain;
  display: block;
}
.pillar:hover .pillar__photo { transform: translateY(-3px); }
.pillar > *:not(.pillar__photo) { position: relative; z-index: 1; }

.pillar__num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; font-weight: 500;
  margin-bottom: 10px;
}
.pillar:nth-child(2) .pillar__num,
.pillar:nth-child(3) .pillar__num,
.pillar:nth-child(4) .pillar__num { background: var(--ink); color: var(--cream); }

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .pillars__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(1), .pillar:nth-child(4) { grid-column: span 2; grid-template-columns: 1fr; gap: 12px; }
  .pillar:nth-child(2), .pillar:nth-child(3) { grid-column: span 1; }
  .pillar:nth-child(1) .pillar__art, .pillar:nth-child(4) .pillar__art { max-height: 120px; max-width: 140px; }
}
@media (max-width: 540px) {
  .pillars__list { grid-template-columns: 1fr; }
  /* Reset ALL spans — a leftover `span 2` on cards 1 & 4 forces a phantom
     second column in a single-column grid, crushing cards 2 & 3. */
  .pillar:nth-child(1), .pillar:nth-child(2),
  .pillar:nth-child(3), .pillar:nth-child(4) { grid-column: 1 / -1; }
}

/* ============================================================
   SERVICES — editorial alternating rows
============================================================ */
.services {
  position: relative;
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.services__head { position: relative; z-index: 1; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.services__head .eyebrow { justify-content: center; }
.services__head .display em { font-style: italic; font-weight: 300; color: var(--blue); }
.services__lede { margin-top: 20px; color: var(--ink-soft); font-size: 16.5px; }

.service-rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);   /* equal columns so all 4 chips match */
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--ink-hair);
}
.service-row:last-child { border-bottom: 1px solid var(--ink-hair); }

.service-row__media {
  position: relative;
  aspect-ratio: 8 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--peach-soft);
  color: var(--peach);
}
.service-row__media--peach { background: var(--peach-soft); color: var(--peach); }
.service-row__media--sun   { background: var(--sun-soft);   color: var(--sun); }
.service-row__media--sage  { background: var(--sage-soft);  color: var(--sage); }
.service-row__media--pink  { background: var(--pink-soft);  color: var(--pink); }

/* Dog illustration sits directly on the colored chip bg.
   The PNG has its own black background — we use it as part of the artwork,
   like a printed sticker on a colored mat. */
.service-row__illus {
  position: absolute;
  left: 50%;
  bottom: 4%;                                   /* tighter gap from chip bottom */
  transform: translateX(-50%);
  width: auto;
  height: 96%;                                  /* dog fills nearly the whole chip */
  max-width: 92%;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(20, 35, 63, 0.18));
}


/* Reverse rows: image on the right */
.service-row--reverse .service-row__media { order: 2; }

.service-row__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-row__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.service-row__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--sand);
  letter-spacing: 0.06em;
}
.service-row__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 52px);
  letter-spacing: -0.018em;
  line-height: 1.02;
  margin: 0;
  font-variation-settings: "opsz" 120, "SOFT" 40;
}

.service-row__lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 46ch;
}

.service-row__includes {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-row__includes li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--cream-soft);
  border: 1px solid var(--ink-hair);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.service-row__includes li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--sand);
}
.service-row__includes li:hover {
  background: var(--cream);
  border-color: var(--ink-faint);
  color: var(--ink);
}

@media (max-width: 880px) {
  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-row--reverse .service-row__media { order: 0; }
  .service-row__title { font-size: clamp(30px, 8vw, 42px); }
}

.services__note {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-soft);
  padding: 14px 18px;
  background: var(--cream-soft);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--sun);
}
.services__note svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* ============================================================
   SPA — full-bleed dark luxe + sticky stacking cards
============================================================ */
.spa {
  position: relative;
  background: var(--spa-deep);
  color: var(--cream);
  padding: clamp(100px, 13vw, 180px) var(--gutter) clamp(80px, 10vw, 140px);
  overflow: visible;
  border: none;
}
/* subtle radial-warm wash for depth */
.spa::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  width: 110%; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214, 168, 87, 0.10), transparent 70%);
  pointer-events: none;
}
.spa__decor { position: absolute; inset: 0; pointer-events: none; }
.spa .blob { display: none; }    /* let the section breathe — no playful blobs here */

/* Section header on dark */
.spa__head {
  position: relative; z-index: 1;
  max-width: 820px;
  margin: 0 auto clamp(48px, 7vw, 80px);
  text-align: center;
}
.spa__head .eyebrow {
  justify-content: center;
  color: var(--gold-soft);
  letter-spacing: 0.22em;
  font-size: 11px;
}
.spa__head .eyebrow__dot,
.spa__head .eyebrow__dot--sun {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 168, 87, 0.18);
}
.spa__head .display { color: var(--cream); }
.spa__head em { color: var(--gold); font-style: italic; font-weight: 300; }
.spa__lede {
  color: rgba(245, 235, 216, 0.72);
  font-size: 16.5px;
  max-width: 56ch;
  margin: 22px auto 0;
}
.spa__counter {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.spa__counter-sep { opacity: 0.5; }

/* ─── Sticky stacking cards (Crevo-style)
   Block-level container is required so all cards share one containing block
   and their sticky `top` values compose into a proper stack. Flex breaks it. */
.spa-stack {
  position: relative; z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.spa-card + .spa-card {
  margin-top: clamp(40px, 6vw, 80px);
}

.spa-card {
  position: sticky;
  top: calc(16px + var(--idx) * 14px);     /* stack starts as soon as card hits the top */
  max-height: calc(100svh - 32px);          /* never taller than the viewport */
  border-radius: 24px;
  overflow: hidden;
  color: var(--cream);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px -30px rgba(0, 0, 0, 0.65);
  isolation: isolate;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}

/* Each card is a different dark "mat" — black PNG bg blends seamlessly,
   bright dog colors pop against the surface. */
.spa-card:nth-child(1) { background: #0E2823; }   /* deeper eucalyptus — distinct from section bg */
.spa-card:nth-child(2) { background: #3E1F22; }   /* deep wine */
.spa-card:nth-child(3) { background: #1F2E3D; }   /* deep navy-teal */
.spa-card:nth-child(4) { background: #2C2417; }   /* dark coffee */
.spa-card:nth-child(5) { background: #2A1E3A; }   /* dark plum */

/* Gold foil top-rule */
.spa-card::before {
  content: "";
  position: absolute;
  top: 0; left: 36px; right: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold) 75%, transparent);
  opacity: 0.45;
  border-radius: 999px;
  z-index: 1;
}

.spa-card__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 48px) clamp(28px, 4vw, 56px);
  min-height: clamp(320px, 48vh, 460px);
}

.spa-card__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spa-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  background: rgba(214, 168, 87, 0.08);
  border: 1px solid rgba(214, 168, 87, 0.28);
  padding: 5px 11px;
  border-radius: 999px;
  align-self: flex-start;
}
.spa-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  margin-top: -4px;
  opacity: 0.7;
}
.spa-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  color: var(--cream);
  font-variation-settings: "opsz" 120, "SOFT" 40;
}
.spa-card__age {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-soft);
  margin: 0;
}
.spa-card__desc {
  margin: 0;
  color: rgba(245, 235, 216, 0.78);
  font-size: 16px;
  line-height: 1.6;
  max-width: 50ch;
}

.spa-card__includes {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spa-card__includes li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(245, 235, 216, 0.05);
  border: 1px solid rgba(245, 235, 216, 0.18);
  border-radius: 999px;
  font-size: 12.5px;
  color: rgba(245, 235, 216, 0.82);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.spa-card__includes li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--gold);
}
.spa-card__includes li:hover {
  background: rgba(214, 168, 87, 0.10);
  border-color: rgba(214, 168, 87, 0.42);
  color: var(--cream);
}

/* Visual side — illustration container */
.spa-card__visual {
  position: relative;
  height: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Contain the whole illustration — never crop it */
.spa-card__visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Note pill on dark */
.spa__note {
  position: relative; z-index: 1;
  display: inline-flex;
  margin: clamp(60px, 8vw, 100px) auto 0;
  background: rgba(245, 235, 216, 0.06);
  border-color: rgba(214, 168, 87, 0.28);
  color: rgba(245, 235, 216, 0.75);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.spa__note svg { color: var(--gold); }
.spa > .spa__note {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

@media (max-width: 880px) {
  /* Keep the sticky-stack effect on mobile too — cards pile up as you scroll.
     Offset below the sticky nav so card tops aren't hidden behind it. */
  .spa-card {
    top: calc(72px + var(--idx) * 8px);
    max-height: none;
  }
  .spa-card + .spa-card { margin-top: 20px; }   /* tighter stack = less scroll */

  .spa-card__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 22px 22px 26px;
  }
  /* Full illustration on top (never cropped), capped so the card still fits
     the viewport for the sticky stack. */
  .spa-card__visual {
    min-height: 0;
    height: auto;
    order: -1;
  }
  .spa-card__visual img { max-height: 210px; max-width: 72%; }
  .spa-card__desc { font-size: 14.5px; }
  .spa-card__includes { margin-top: 6px; }

  .spa { padding: 56px var(--gutter) 56px; }
  .spa__head { margin-bottom: 32px; }
  .spa__note { margin-top: 40px; }
}

/* ============================================================
   GALLERY — horizontal infinite scroll, slows on hover
============================================================ */
.gallery {
  position: relative;
  padding: clamp(80px, 11vw, 160px) 0 clamp(80px, 11vw, 160px);
  background: var(--cream-soft);
  overflow: hidden;
  border-top: 1px solid var(--ink-hair);
  border-bottom: 1px solid var(--ink-hair);
}
.gallery__head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 56px);
  padding: 0 var(--gutter);
  text-align: center;
}
.gallery__head .eyebrow { justify-content: center; }
.gallery__head em { color: var(--blue); font-style: italic; font-weight: 300; }

.gallery__track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery__track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}
.gallery__item {
  margin: 0;
  flex-shrink: 0;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: 0 18px 32px -22px rgba(20, 35, 63, 0.35);
  transform: rotate(var(--tilt, 0deg));
}
.gallery__item:nth-child(3n)   { --tilt: -0.8deg; }
.gallery__item:nth-child(3n+1) { --tilt: 0.6deg; }
.gallery__item:nth-child(3n+2) { --tilt: -0.3deg; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.gallery__item:hover img { transform: scale(1.04); }

@media (max-width: 600px) {
  .gallery__item { width: 70vw; }
}

/* ============================================================
   APPROACH
============================================================ */
.approach {
  background: var(--ink);
  color: var(--cream);
  padding: var(--section-y) var(--gutter);
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: var(--peach);
  border-radius: 50% 60% 40% 50% / 60% 40% 60% 50%;
  opacity: 0.85;
  animation: float 20s ease-in-out infinite;
}
.approach::after {
  content: "";
  position: absolute;
  bottom: -100px; left: 20%;
  width: 260px; height: 260px;
  background: var(--blue);
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  opacity: 0.7;
  animation: float 24s ease-in-out infinite;
}
.approach__grid {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 80px); align-items: center;
}
.approach__media { margin: 0; position: relative; }
.approach__media::after {
  content: "★";
  position: absolute; top: -28px; right: -10px;
  color: var(--sun); font-size: 40px;
  animation: float 9s ease-in-out infinite;
}
.approach__photo {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background-color: var(--ink-soft);
  background-image: url("https://images.unsplash.com/photo-1581888227599-779811939961?auto=format&fit=crop&w=900&q=80");
  background-size: cover; background-position: center;
  border: 2px solid var(--cream);
  transform: rotate(-1.5deg);
}
.approach__media figcaption { margin-top: 14px; font-family: var(--font-display); font-style: italic; font-size: 14px; color: rgba(245, 235, 216, 0.65); }
.approach__copy .eyebrow { color: rgba(245, 235, 216, 0.7); }
.approach__copy .eyebrow__dot { background: var(--peach); box-shadow: 0 0 0 3px rgba(243, 180, 136, 0.35); }
.approach__copy .display em { color: var(--peach); }
.approach__copy > p { color: rgba(245, 235, 216, 0.78); margin: 28px 0 32px; font-size: 17px; line-height: 1.6; max-width: 50ch; }

.approach__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(245, 235, 216, 0.14); }
.approach__list li { padding: 18px 0; border-bottom: 1px solid rgba(245, 235, 216, 0.14); font-size: 15.5px; color: rgba(245, 235, 216, 0.82); }
.approach__list li span { font-family: var(--font-display); font-style: italic; color: var(--cream); margin-right: 6px; }
.approach__list li em { font-style: italic; color: var(--cream); }
@media (max-width: 880px) { .approach__grid { grid-template-columns: 1fr; } }

/* ============================================================
   QUOTE
============================================================ */
.quote {
  position: relative;
  padding: var(--section-y) var(--gutter);
  max-width: 1000px; margin: 0 auto;
  text-align: center;
}
.quote::before {
  content: "“";
  position: absolute;
  top: 60px; left: 12%;
  font-family: var(--font-display);
  font-size: 220px; line-height: 1;
  color: var(--peach); opacity: 0.6;
  font-style: italic;
}
.quote::after {
  content: "”";
  position: absolute;
  bottom: 80px; right: 12%;
  font-family: var(--font-display);
  font-size: 220px; line-height: 0.3;
  color: var(--sun); opacity: 0.6;
  font-style: italic;
}
.quote blockquote { margin: 0; position: relative; z-index: 1; }
.quote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 4.2vw, 50px); line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 28px; color: var(--ink); font-style: italic; }
.quote cite { font-style: normal; letter-spacing: 0.08em; font-size: 12.5px; text-transform: uppercase; color: var(--ink-mute); }

/* ============================================================
   VISIT
============================================================ */
.visit {
  position: relative;
  padding: clamp(36px, 4.5vw, 64px) var(--gutter) var(--section-y);  /* trimmed top — less empty space */
  background: var(--peach-soft);
  border-top: 1px solid rgba(20, 35, 63, 0.06);
  overflow: hidden;
}
.visit::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: var(--sun-soft);
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  opacity: 0.5;
  z-index: 0;
  animation: float 22s ease-in-out infinite;
}
.visit::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -80px;
  width: 280px; height: 280px;
  background: var(--pink-soft);
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  opacity: 0.5;
  z-index: 0;
  animation: float 26s ease-in-out infinite;
}

/* Visit head row: text on the left, blue mascot on the right (above Elizabeth) */
.visit__head {
  --visit-gap: clamp(40px, 5vw, 64px);   /* the head→cards gap, reused to drop the dog */
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto var(--visit-gap);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
}
.visit__intro {
  position: relative; z-index: 1;
  text-align: left;
}
.visit__intro .eyebrow { justify-content: flex-start; }

/* Hero dog mascot — peeks in from the right, its feet resting on the top
   edge of the Elizabeth card (offset down by the head's bottom margin). */
.visit__woof {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  pointer-events: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  /* Drop by exactly the head→cards gap so the dog's feet rest on the card top. */
  transform: translateY(var(--visit-gap));
}
.visit__woof-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(20, 35, 63, 0.12));
  animation: woof-peek 0.8s cubic-bezier(.34, 1.56, .64, 1) both;
}
.visit__woof-bubble {
  position: absolute;                 /* sit to the LEFT of the dog */
  top: 6%;
  right: 70%;
  z-index: 3;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 18px 18px 4px 18px;  /* sharp bottom-right corner points toward the dog */
  box-shadow: 3px 3px 0 var(--sun);
  padding: 10px 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  transform-origin: bottom right;
  animation: woof-bubble-pop 0.7s cubic-bezier(.34, 1.56, .64, 1) 0.3s both;
}
.visit__woof-bubble p { margin: 0; }

@keyframes woof-peek {
  0%   { opacity: 0; transform: translateY(40px) rotate(6deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes woof-bubble-pop {
  0%   { opacity: 0; transform: scale(0.5); }
  60%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 880px) {
  .visit__head { grid-template-columns: 1fr; text-align: center; }
  .visit__intro { text-align: center; }
  .visit__intro .eyebrow { justify-content: center; }
  .visit__woof { margin: 8px auto 0; max-width: 220px; align-items: center; transform: none; }
  .visit__woof-bubble { position: static; right: auto; top: auto; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .visit__woof-img, .visit__woof-bubble { animation: none; }
}
.visit__intro .eyebrow { justify-content: center; }
.visit__intro em { color: var(--blue); font-style: italic; font-weight: 300; }
.visit__lede {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.55;
}

/* Locations row */
.locations {
  position: relative; z-index: 1;
  list-style: none;
  margin: 0 auto clamp(48px, 6vw, 72px);
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1080px) { .locations { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .locations { grid-template-columns: 1fr; } }
.location {
  background: var(--cream);
  padding: 28px 26px;
  border-radius: 18px;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s ease;
}
.location:nth-child(1) { box-shadow: 4px 4px 0 var(--blue); }
.location:nth-child(2) { box-shadow: 4px 4px 0 var(--sun); }
.location:nth-child(3) { box-shadow: 4px 4px 0 var(--pink); }
.location:nth-child(4) { box-shadow: 4px 4px 0 var(--sage); }
.location:hover { transform: translate(-2px, -2px); }

/* Coming-soon card — visually softer, no phone CTA */
.location--soon { background: var(--cream-soft); opacity: 0.92; }
.location__badge {
  align-self: flex-start;
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 600;
  background: var(--sun-soft);
  border: 1px solid var(--sun);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.location__phone--muted {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  margin-top: 8px;
}
.location__pin {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  color: var(--blue);
}
.location__pin svg { width: 22px; height: 22px; }
.location:nth-child(2) .location__pin { color: var(--sand); }
.location:nth-child(3) .location__pin { color: var(--ink); }
.location__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 2px;
  color: var(--ink);
}
.location__addr {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}
.location__phone {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  margin-top: 8px;
  transition: color 0.2s ease;
}
.location__phone:hover { color: var(--blue); }

/* Hiring card */
.hiring {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto clamp(20px, 2.5vw, 28px);
  padding: clamp(28px, 3.5vw, 44px) clamp(28px, 4vw, 52px);
  background: var(--cream);
  border-radius: 18px;
  border: 1px solid var(--ink-faint);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  scroll-margin-top: 24px;
}
.hiring .eyebrow { margin-bottom: 12px; }
.hiring__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 0 0 10px;
}
.hiring__lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 58ch;
}
.hiring__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hiring__note {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.hiring__note a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hiring__note a:hover { color: var(--blue); }
@media (max-width: 880px) {
  .hiring { grid-template-columns: 1fr; }
}

/* Connect row */
.visit__connect {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto clamp(56px, 7vw, 80px);
  padding: 24px 32px;
  background: var(--cream);
  border-radius: 18px;
  border: 1px solid var(--ink-faint);
}
.visit__contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.visit__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 4px;
}
.visit__email a {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.visit__email a:hover { color: var(--blue); }
.visit__social { text-align: right; }
.visit__social-row {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.visit__social-link {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--cream-soft);
  border: 1px solid var(--ink-faint);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
}
.visit__social-link svg { width: 18px; height: 18px; }
.visit__social-link:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.visit__social-handle {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin-top: 6px;
}

/* Contact form */
.visit__back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.visit__back-link svg { width: 14px; height: 14px; transition: transform 0.3s cubic-bezier(.2,.7,.2,1); }
.visit__back-link:hover { color: var(--ink); }
.visit__back-link:hover svg { transform: translateX(-3px); }

.visit__form-wrap {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--cream);
  border-radius: 24px;
  border: 1px solid var(--ink-faint);
  padding: clamp(36px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.visit__form-intro .eyebrow { margin-bottom: 16px; }
.visit__form-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 38px);
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.visit__form-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  max-width: 36ch;
}

.visit__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  background: var(--cream-soft);
  border: 1px solid var(--ink-hair);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(63, 122, 201, 0.18);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

.field--consent .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.field--consent input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
}
.field--consent input[type="checkbox"]:focus {
  background: none;
  border: none;
}
.field--consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  box-shadow: none;
}

.visit__form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.visit__form-status {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-style: italic;
}
.visit__form-status.is-success { color: var(--blue); }
.visit__form-status.is-error { color: #c45c4c; }

@media (max-width: 880px) {
  .locations { grid-template-columns: 1fr; }
  .visit__contact-row { grid-template-columns: 1fr; text-align: left; }
  .visit__social { text-align: left; }
  .visit__form-wrap { grid-template-columns: 1fr; }
  .visit__form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  position: relative;
  background: var(--blue);
  color: var(--cream);
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0;
}
.footer__inner {
  position: relative;
  width: 100%;                              /* span the full footer width */
  --footer-edge: clamp(14px, 1.6vw, 28px);
  padding: clamp(22px, 2.8vw, 36px) var(--footer-edge) 0;
}

/* Left content */
.footer__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
  max-width: 58%;                        /* keep content out of the dog image's lane */
  padding-bottom: clamp(18px, 2vw, 28px);
}
.footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.footer__mark {
  width: 140px; height: 104px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.footer__wordmark-img { height: 104px; width: auto; object-fit: contain; display: block; flex-shrink: 0; }
.footer__line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--cream);
  max-width: none;
  white-space: nowrap;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.footer__line em {
  font-style: italic;
  font-weight: 300;
  color: var(--sun);
}
.footer__tag {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(245, 235, 216, 0.82);
  max-width: none;
  white-space: nowrap;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 4px;
  font-size: 14.5px;
  color: rgba(245, 235, 216, 0.92);
}
.footer__links a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.footer__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--sun);
  transition: right 0.4s cubic-bezier(.2,.7,.2,1);
}
.footer__links a:hover { color: var(--sun); }
.footer__links a:hover::after { right: 0; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(14px, 2vw, 22px);
  padding-top: 14px;
  border-top: 1px solid rgba(245, 235, 216, 0.18);
  font-size: 12.5px;
  color: rgba(245, 235, 216, 0.68);
}
.footer__base p { margin: 0; }
.footer__contact { display: flex; gap: 12px; align-items: center; }
.footer__contact a { transition: color 0.2s ease; }
.footer__contact a:hover { color: var(--sun); }

/* Right side: dog-pack image fills the footer height, bottom-flush.
   Right padding matches the content's left padding (--gutter) so the
   two sides are visually balanced. */
.footer__pack {
  position: absolute;
  bottom: 0;
  right: clamp(14px, 1.6vw, 28px);     /* same edge offset as content's padding-left */
  width: clamp(360px, 38vw, 500px);
  height: 100%;
  object-fit: cover;
  object-position: bottom right;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 880px) {
  .footer__inner {
    --footer-edge: var(--gutter);     /* roomier side padding on phones */
    display: flex;
    flex-direction: column;
    text-align: left;
    min-height: auto;
    padding-bottom: 0;
  }
  /* Content takes the full width and is allowed to wrap */
  .footer__content { max-width: 100%; }
  .footer__line,
  .footer__tag { white-space: normal; }

  /* The pack art is a tall portrait (3375×4219); showing it whole leaves a big
     empty gap. Crop it to a short banner that shows just the dogs at the bottom. */
  .footer__pack {
    position: relative;
    right: auto; bottom: auto;
    width: 100%;
    height: clamp(150px, 42vw, 210px);
    object-fit: cover;
    object-position: bottom center;
    margin: 18px 0 0;
  }
  .footer__base { justify-content: flex-start; }
}
