/* ==========================================================
   HACHI PAW BOUTIQUE — STYLES (Draft 2)
   Colours, fonts and spacing are set once here in :root.
   ========================================================== */

:root {
  /* Colour palette */
  --ivory: #F8F3EA;        /* main background */
  --cream: #F1E8DA;        /* soft sections */
  --sand: #E8DCC9;         /* warmer sections */
  --beige: #CDB89A;        /* hairlines */
  --espresso: #3B2618;     /* main text, logo colour */
  --chocolate: #251710;    /* immersive dark sections */
  --cocoa: #33231A;        /* fields on dark */
  --brass: #A88A5C;        /* restrained accent: lines only */
  --brass-soft: #C9AE82;   /* accent on dark */
  --olive: #6B6A4C;        /* subtle accent: section labels, link underlines */
  --muted: #6B5646;        /* secondary text on light */
  --on-dark: #F3EBDD;
  --on-dark-muted: #CBBBA6;
  --error: #9B2C1F;
  --error-on-dark: #F2A391;

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1440px;
  --gutter: clamp(20px, 4.4vw, 80px);
  --section: clamp(72px, 2.5rem + 6vw, 168px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.menu-open body { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .15vw, 1.0625rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--sand); color: var(--espresso); }

:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }
.signup :focus-visible,
.site-footer :focus-visible, .mobile-cta :focus-visible { outline-color: var(--on-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--espresso); color: var(--ivory); text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- Type system ---------- */
.label {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 clamp(16px, 2vw, 26px);
  font-size: .7rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--olive);
}
.label-light { color: var(--on-dark-muted); }


.h-editorial {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h-label {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 34px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
/* A panel slides up behind the text on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn-solid { background: var(--espresso); color: var(--ivory); }
.btn-solid::before { background: var(--chocolate); }
.btn-ivory { background: var(--on-dark); color: var(--espresso); }
.btn-ivory::before { background: #FFFDF8; }
.btn-small { min-height: 46px; padding: 0 22px; font-size: .72rem; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-line {
  position: relative; display: inline-block;
  padding-bottom: 6px;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right;
  transition: transform .55s var(--ease);
}
.link-line::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--olive); opacity: .45;
}
.link-line:hover::after { transform: scaleX(0); }
.link-light { color: var(--on-dark); }
.link-light::before { background: var(--brass-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .4s ease, background-color .4s ease;
}
/* The header's background sits on its own layer. (A blur applied to the header itself would
   trap the full-screen phone menu inside the header bar.) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--ivory); transition: background-color .4s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(59, 38, 24, .08); }
.site-header.is-scrolled::before {
  background: rgba(248, 243, 234, .9);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
}
.menu-open .site-header::before { background: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  transition: height .4s var(--ease);
}

.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; position: relative; z-index: 2; }
.brand-mark { width: 48px; transition: width .4s var(--ease); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-weight: 500; font-size: 1.55rem;
  letter-spacing: .34em; text-transform: uppercase; margin-right: -.34em;
}
.brand-sub { margin-top: 6px; font-size: .6rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: clamp(28px, 3vw, 48px); }
.nav-links { display: flex; gap: clamp(24px, 2.6vw, 40px); }
.nav-links a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav-links a:hover::after { transform: none; }
.nav-extra { display: none; }

.menu-toggle {
  display: none; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 2px; position: relative; z-index: 2;
  background: none; border: 0; color: var(--espresso);
  font: 500 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.menu-toggle-lines, .menu-toggle-lines::before {
  display: block; width: 24px; height: 1px; background: currentColor; transition: transform .35s var(--ease);
}
.menu-toggle-lines { position: relative; transform: translateY(-3px); }
.menu-toggle-lines::before { content: ""; position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: translateY(-7px) rotate(-90deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-height: min(calc(100svh - var(--header-h)), 1000px);
  overflow: clip;
}
.hero-copy {
  grid-column: 1; grid-row: 1;
  position: relative; z-index: 2;
  align-self: center;
  padding: clamp(40px, 6vh, 80px) clamp(32px, 4vw, 72px) clamp(40px, 6vh, 80px)
           max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero-label { display: block; text-wrap: balance; margin-bottom: clamp(24px, 4vh, 44px); }
.hero-label-sub { display: inline-block; font-size: .6rem; }   /* "at Dairy Farm, Singapore": slightly smaller, moves to its own line as one piece */
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, min(5.2vw, 11vh), 5.75rem);
  line-height: .96; letter-spacing: -.02em;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.hero-title .line { display: block; }
.hero-title .line-indent { padding-left: .5em; font-style: italic; }
.hero-lede { max-width: 25rem; color: var(--muted); font-size: 1.0625rem; margin-bottom: clamp(28px, 4.5vh, 48px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }

.hero-media { grid-column: 2; grid-row: 1 / span 2; position: relative; }
.hero-frame { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--sand); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }

/* The open ring from the Hachi logo, drawn over the portrait so it frames the future pet photo.
   To remove it later, delete the <svg class="ring"> in index.html. */
.ring {
  position: absolute; z-index: 2;
  left: 50%; top: 50%;
  width: min(68%, 64vh);
  transform: translate(-50%, -50%) rotate(-50deg);
  overflow: visible; pointer-events: none;
}
.ring circle { fill: none; stroke: rgba(248, 243, 234, .8); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 78 22; }

.hero-strip {
  grid-column: 1; grid-row: 2;
  display: flex; gap: 0;
  margin: 0 clamp(32px, 4vw, 72px) 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  border-top: 1px solid var(--beige);
}
.hero-strip li {
  flex: 1; white-space: nowrap; padding: 22px 0 26px;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero-strip li + li { padding-left: 20px; }

/* ---------- Framed images (never stretch) ---------- */
.frame { position: relative; overflow: hidden; background: var(--sand); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame-portrait { aspect-ratio: 4 / 5; }
.frame-tall { aspect-ratio: 9 / 16; }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--cream); padding-block: var(--section); }
.philosophy .label, .philosophy-title { grid-column: 7 / span 6; }
.philosophy-media { grid-column: 1 / span 5; grid-row: 1 / span 3; }
.philosophy .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.philosophy .label { grid-row: 1; align-self: start; }
.philosophy-title { grid-row: 2; align-self: start; max-width: 11em; }
.philosophy-title .soft { display: block; font-style: italic; color: var(--muted); }
.philosophy-grid { display: contents; }
.philosophy-copy { grid-column: 7 / span 5; grid-row: 3; align-self: end; max-width: 30rem; padding-top: 56px; }
.lead {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); line-height: 1.35;
  margin-bottom: 1.1em;
}
.philosophy-copy p:not(.lead) { color: var(--muted); }

/* ---------- Full-width band ---------- */
.band { width: 100%; aspect-ratio: 24 / 10; max-height: 86vh; overflow: hidden; background: var(--sand); }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }

/* ---------- Grooming menu ---------- */
.groom { padding-block: var(--section) 0; }
.groom-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
}
.groom-head .label, .groom-head .h-editorial { grid-column: 1 / span 7; }
.groom-head .h-editorial { max-width: 11em; }
.groom-intro { grid-column: 9 / span 4; grid-row: 2; color: var(--muted); max-width: 22rem; margin: 0; }

.groom-block { margin-top: clamp(56px, 7vw, 112px); }
.groom-cat {
  display: block; margin-bottom: clamp(36px, 4vw, 60px); padding-bottom: 18px;
  border-bottom: 1px solid var(--espresso);
  font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
}
.groom-sub { color: var(--muted); margin: calc(clamp(36px, 4vw, 60px) * -1 + 18px) 0 clamp(28px, 3vw, 40px); }

/* Prices are not published yet. If added later, this styles them. */
.menu-price { margin: -14px 0 26px; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.treatments { display: grid; grid-template-columns: 1fr 1fr; }
.treatment { padding-right: clamp(32px, 5vw, 96px); }
.treatment + .treatment { padding: 0 0 0 clamp(32px, 5vw, 96px); border-left: 1px solid var(--beige); }
.treatment-name {
  margin-bottom: clamp(18px, 2vw, 28px);
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  line-height: 1.1; letter-spacing: -.005em;
  transition: transform .7s var(--ease);
}
@media (hover: hover) { .treatment:hover .treatment-name { transform: translateX(10px); } }
.treatment-incl { margin-bottom: 6px; font-size: .66rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--olive); }
.inclusions { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.inclusions li { padding: 11px 0; border-bottom: 1px solid rgba(205, 184, 154, .6); font-size: .97rem; }
.inclusions .is-extra { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; padding-block: 9px 10px; }

.sizes {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
  margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(26px, 3vw, 38px); border-top: 1px solid var(--beige);
}
.sizes-title {
  grid-column: 1 / span 3; margin: 0;
  font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.35rem, 1.2rem + .5vw, 1.7rem); line-height: 1.2;
}
.sizes-note {
  display: block; margin-top: 8px;
  font-family: var(--sans); font-style: normal; font-size: .64rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--olive);
}
.size-list { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.size-list div { padding: 2px clamp(14px, 2vw, 28px) 4px; border-left: 1px solid var(--beige); }
.size-list dt { margin-bottom: 10px; font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.size-list dd {
  margin: 0; white-space: nowrap; color: var(--espresso);
  font-family: var(--sans); font-weight: 400; font-size: clamp(1.35rem, 1.2rem + .5vw, 1.7rem); line-height: 1.1;
  letter-spacing: .01em; font-variant-numeric: lining-nums tabular-nums;
}
.size-list .unit {
  margin-left: .3em; font-size: .52em; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--olive); vertical-align: .18em;
}

.groom-addons { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.addons-media { grid-column: 1 / span 5; }
.addons-body { grid-column: 7 / span 6; }
.addon-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 48px); }
.addon-list li {
  padding: 13px 0; border-bottom: 1px solid var(--beige);
  font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.3;
  transition: padding-left .5s var(--ease);
}
@media (hover: hover) { .addon-list li:hover { padding-left: 8px; } }

.groom-spa { margin-top: clamp(72px, 9vw, 144px); background: var(--cream); padding-block: clamp(64px, 8vw, 128px); }
.spa-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.spa-title {
  grid-column: 1 / span 6; margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--espresso);
  font-family: var(--sans); font-size: .88rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
}
.spa-intro { grid-column: 8 / span 5; margin: 0; color: var(--muted); font-size: .95rem; max-width: 24rem; }
.spa-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.spa-item:nth-child(1) { grid-column: 1 / span 6; }
.spa-item:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(80px, 12vw, 200px); }
.spa-media { aspect-ratio: 4 / 5; }
.spa-item:nth-child(2) .spa-media { aspect-ratio: 1 / 1; }
.spa-media img { transition: transform 1.4s var(--ease); }
@media (hover: hover) { .spa-item:hover .spa-media img { transform: scale(1.03); } }
.spa-name { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); line-height: 1.1; }
.spa-desc { margin: 8px 0 0; color: var(--muted); font-size: .95rem; max-width: 24rem; }

.groom-cats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.groom-cats .groom-cat { grid-column: 1 / -1; }
.cat-list { grid-column: 1 / span 8; display: flex; flex-wrap: wrap; }
.cat-list li { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.1; padding-right: clamp(24px, 3vw, 48px); }
.cat-list li + li { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--beige); }
.cat-note { grid-column: 9 / span 4; margin: 0; }

.groom-note {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  margin-top: clamp(64px, 7vw, 112px); padding-block: 30px var(--section); border-top: 1px solid var(--beige);
}
.groom-note p { grid-column: 1 / span 7; margin: 0 0 .35em; color: var(--muted); font-size: .95rem; max-width: 40rem; }
.groom-note-actions { grid-column: 9 / span 4; grid-row: 1 / span 2; justify-self: end; display: flex; flex-wrap: wrap; gap: 18px 36px; }

/* ---------- Experience ---------- */
.experience { background: var(--sand); padding-block: var(--section); }
.experience-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
}
.experience-intro { display: contents; }
.experience-intro .label { grid-column: 1 / span 6; grid-row: 1; }
.experience-intro .h-editorial { grid-column: 1 / span 5; grid-row: 2; align-self: start; }
.experience-lede { grid-column: 1 / span 4; grid-row: 3; color: var(--muted); margin-top: 24px; }
.experience-media {
  grid-column: 7 / span 6; grid-row: 1 / span 4;
  aspect-ratio: 5 / 4;
}
.experience-media img { object-position: center 40%; }
.principles {
  grid-column: 1 / -1; grid-row: 5;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px);
  margin-top: clamp(64px, 7vw, 112px);
}
.principle { border-top: 1px solid var(--espresso); padding-top: 26px; }
.principle-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.65rem); line-height: 1.15; margin-bottom: 12px; }
.principle p { color: var(--muted); font-size: .98rem; max-width: 20rem; }


/* ---------- Life at Hachi ---------- */
.life { padding-block: var(--section); }
.life-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: end; margin-bottom: clamp(48px, 5vw, 80px);
}
.life-head .label, .life-head .h-editorial { grid-column: 1 / span 6; }
.life-lede { grid-column: 9 / span 4; grid-row: 2; color: var(--muted); max-width: 22rem; }
.life-lede a { text-underline-offset: 4px; }
.life-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); align-items: start; }
.life-item:nth-child(even) { margin-top: clamp(40px, 6vw, 110px); }
.life-item .frame img { transition: transform 1.2s var(--ease); }
@media (hover: hover) { .life-item:hover .frame img { transform: scale(1.04); } }
.life-title {
  display: flex; gap: 12px; align-items: baseline; margin: 16px 0 0;
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- Opening list (dark) ---------- */
.signup { background: var(--chocolate); color: var(--on-dark); padding-block: var(--section); }
.signup-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.signup-copy { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 48px); }
.signup-copy .h-editorial { margin-bottom: 28px; max-width: 8.5em; }
.signup-copy p:not(.label) { color: var(--on-dark-muted); max-width: 24rem; font-size: 1.0625rem; }
.signup-mark { width: 64px; margin-top: clamp(40px, 6vw, 88px); opacity: .9; }
.signup-form-wrap { grid-column: 7 / span 6; }

.signup-form { display: grid; gap: 30px; }
.field { display: grid; gap: 10px; margin: 0; min-width: 0; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 22px; }
.fieldset { border: 0; padding: 0; }
.field label, .fieldset legend {
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark);
}
.fieldset legend { padding: 0; margin-bottom: 16px; }
.opt { margin-left: 8px; color: var(--on-dark-muted); letter-spacing: .12em; }

.signup input[type="text"], .signup input[type="tel"], .signup input[type="email"],
.signup select, .signup textarea {
  width: 100%; min-height: 56px; padding: 14px 16px;
  background: var(--cocoa); border: 1px solid #8C7563; border-radius: 0;
  color: var(--on-dark);
  font: 400 1rem/1.4 var(--sans); /* 16px stops iPhone zooming */
  transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.signup ::placeholder { color: #A8927E; opacity: 1; }
.signup textarea { resize: vertical; min-height: 112px; }
.signup select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F3EBDD' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.signup select option { background: var(--cocoa); color: var(--on-dark); }
.signup input:hover, .signup select:hover, .signup textarea:hover { border-color: var(--on-dark-muted); }
.signup input:focus-visible, .signup select:focus-visible, .signup textarea:focus-visible {
  outline: none; border-color: var(--brass-soft); background: #3B291F;
  box-shadow: 0 0 0 1px var(--brass-soft);
}
.signup [aria-invalid="true"] { border-color: var(--error-on-dark); }
.field-error { font-size: .875rem; color: var(--error-on-dark); margin: 0; }
.field-error:empty { display: none; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; line-height: 1.45; }
.field label.check { font-size: 1rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--on-dark); }
.checks .check {
  align-items: center; min-height: 52px; padding: 0 16px;
  border: 1px solid rgba(203, 187, 168, .35);
  transition: border-color .3s ease, background-color .3s ease;
}
.checks .check:hover { border-color: var(--on-dark-muted); }
.checks .check:has(input:checked) { border-color: var(--brass-soft); background: var(--cocoa); }
.check span { font-size: .98rem; }
.check input {
  flex: none; appearance: none; width: 20px; height: 20px; margin: 0;
  background: transparent; border: 1px solid var(--on-dark-muted); border-radius: 0;
  display: grid; place-content: center; cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.check input::after {
  content: ""; width: 10px; height: 5px;
  border: solid var(--chocolate); border-width: 0 0 1.5px 1.5px;
  transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .25s var(--ease);
}
.check input:checked { background: var(--brass-soft); border-color: var(--brass-soft); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 3px; }
.check input[aria-invalid="true"] { border-color: var(--error-on-dark); }
.check-consent span { font-size: .9rem; color: var(--on-dark-muted); }
.check-consent input { margin-top: 2px; }
.check-consent a { color: var(--on-dark); text-underline-offset: 3px; }
.form-required { margin: -6px 0 0; font-size: .82rem; color: var(--on-dark-muted); }

.form-errors { padding: 18px 20px; border-left: 2px solid var(--error-on-dark); background: var(--cocoa); color: var(--error-on-dark); font-size: .95rem; }
.form-errors:focus { outline: none; }
.form-errors ul { margin: 8px 0 0; padding-left: 18px; list-style: disc; }
.form-errors a { color: inherit; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid rgba(203, 187, 168, .35); border-bottom: 1px solid rgba(203, 187, 168, .35); }
.form-success:focus { outline: none; }
.success-mark { width: 56px; margin-bottom: 28px; }
.success-title { margin-bottom: 16px; }
.form-success p { color: var(--on-dark-muted); font-size: 1.0625rem; }

/* ---------- Visit ---------- */
.visit { padding-block: var(--section); }
.visit-heading { margin-bottom: clamp(40px, 5vw, 72px); }
.nowrap { white-space: nowrap; }

.visit-col p { margin-bottom: .6em; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(205, 184, 154, .6); }
.hours dt, .hours dd { margin: 0; }
.hours dd { text-align: right; white-space: nowrap; }
.visit-note, .visit-muted { color: var(--muted); }
.visit-note { margin-top: 14px; font-size: .875rem; }
.visit-muted { margin-bottom: 22px !important; }
.contact-link {
  font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + .6vw, 1.85rem);
  text-decoration: none; line-height: 1.3; word-break: break-word;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.contact-link:hover { background-size: 100% 1px; }

/* ---------- Closing ---------- */
.closing { background: var(--cream); padding-block: clamp(80px, 3rem + 7vw, 176px); text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-mark { width: 72px; margin-bottom: 36px; }
.closing-title { max-width: 14em; margin-bottom: 40px; font-size: clamp(2rem, 1.45rem + 2.1vw, 3.4rem); }

/* ---------- Footer ---------- */
.site-footer { background: #1D120C; color: var(--on-dark-muted); padding-block: clamp(64px, 7vw, 112px) 40px; font-size: .95rem; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(203, 187, 168, .2);
}
.footer-logo { width: clamp(130px, 12vw, 168px); }
.footer-tagline { margin: 0; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); color: var(--on-dark); line-height: 1.1; text-align: right; }
.footer-cols {
  display: grid; grid-template-columns: 1.2fr 1.5fr .9fr .9fr; gap: 36px;
  padding-block: clamp(40px, 5vw, 64px);
}
.footer-h { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .3s ease; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-hours { margin: 0; }
.footer-hours div { display: flex; justify-content: space-between; gap: 14px; }
.footer-hours dt, .footer-hours dd { margin: 0; }
.footer-hours dd { white-space: nowrap; }
.footer-links li { margin-bottom: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid rgba(203, 187, 168, .2); font-size: .82rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }

/* ---------- Privacy dialog ---------- */
.privacy { width: min(760px, 100%); max-height: min(88vh, 900px); padding: 0; border: 0; background: var(--ivory); color: var(--espresso); }
.privacy::backdrop { background: rgba(29, 18, 12, .6); }
.privacy-inner { padding: clamp(24px, 5vw, 60px); }
.privacy-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.privacy-h { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.8rem); }
.privacy-close {
  min-height: 44px; padding: 0 18px; background: none; border: 1px solid var(--beige); color: var(--espresso);
  font: 500 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.privacy-close:hover { border-color: var(--espresso); }
.privacy-intro { color: var(--muted); }
.privacy h3 { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 32px 0 10px; }
.privacy p { max-width: 38rem; }

/* ==========================================================
   MOTION (all switched off for reduced-motion users)
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: the one orchestrated entrance */
  .js .hero-label, .js .hero-title .line, .js .hero-lede, .js .hero-actions, .js .hero-strip {
    opacity: 0; transform: translateY(16px);
  }
  .js .hero-frame { clip-path: inset(0 0 0 100%); }
  .js .hero-frame img { transform: scale(1.08); }
  .js .ring circle { stroke-dasharray: 0 100; }

  .is-loaded .hero-label, .is-loaded .hero-title .line, .is-loaded .hero-lede,
  .is-loaded .hero-actions, .is-loaded .hero-strip {
    opacity: 1; transform: none;
    transition: opacity 1s ease, transform 1.2s var(--ease);
  }
  .is-loaded .hero-title .line:nth-child(1) { transition-delay: .15s; }
  .is-loaded .hero-title .line:nth-child(2) { transition-delay: .28s; }
  .is-loaded .hero-lede { transition-delay: .45s; }
  .is-loaded .hero-actions { transition-delay: .55s; }
  .is-loaded .hero-strip { transition-delay: .7s; }
  .is-loaded .hero-frame { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease) .1s; }
  .is-loaded .hero-frame img { transform: none; transition: transform 2.4s var(--ease) .1s; }
  .is-loaded .ring circle { animation: ring-draw 2.4s var(--ease) .6s forwards; }

  /* Gentle reveals as sections scroll into view */
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1.2s var(--ease); }
  .js .reveal.is-inview { opacity: 1; transform: none; }
  .js .principles .reveal:nth-child(2) { transition-delay: .1s; }
  .js .principles .reveal:nth-child(3) { transition-delay: .2s; }
  .js .principles .reveal:nth-child(4) { transition-delay: .3s; }

  .js .reveal-img { clip-path: inset(6% 4% 6% 4%); transform: translateY(18px); transition: clip-path 1.4s var(--ease), transform 1.2s var(--ease); }
  .js .reveal-img img { transform: scale(1.08); transition: transform 1.8s var(--ease); }
  .js .reveal-img.is-inview { clip-path: inset(0 0 0 0); transform: none; }
  .js .reveal-img.is-inview img { transform: none; }
}
@keyframes ring-draw { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 78 22; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

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

/* Large desktop: let imagery breathe, keep text controlled */
@media (min-width: 1680px) {
  :root { --gutter: 88px; }
  .hero { min-height: min(calc(100svh - var(--header-h)), 1080px); }
}

/* Laptop */
@media (max-width: 1280px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
}

/* Tablet landscape / small laptop */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .site-nav { gap: 26px; }
  .philosophy-media { grid-column: 1 / span 5; }
  .philosophy .label, .philosophy-title, .philosophy-copy { grid-column: 7 / span 6; }
  .philosophy-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .signup-copy { grid-column: 1 / span 5; }
  .signup-form-wrap { grid-column: 6 / span 7; padding-left: 16px; }
}

/* Tablet portrait and below: mobile navigation, stacked hero */
@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--ivory);
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity .4s ease, visibility 0s linear .4s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .4s ease; }
  .nav-links { flex-direction: column; gap: 0; border-top: 1px solid var(--beige); }
  .nav-links a {
    display: flex; align-items: baseline; gap: 20px; width: 100%;
    padding: 18px 0; border-bottom: 1px solid var(--beige);
    font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 6.5vw, 2.4rem);
    letter-spacing: -.01em; text-transform: none; line-height: 1.05;
  }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 36px; min-height: 56px; }
  .nav-extra { display: block; margin-top: auto; padding-top: 40px; font-size: .95rem; color: var(--muted); }
  .nav-extra p { margin-bottom: 4px; }
  .nav-extra a { text-decoration: none; }
  @media (prefers-reduced-motion: no-preference) {
    .site-nav .nav-links > li, .site-nav .nav-cta { opacity: 0; transform: translateY(14px); }
    .site-nav.is-open .nav-links > li, .site-nav.is-open .nav-cta { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s var(--ease); }
    .site-nav.is-open .nav-links > li:nth-child(2) { transition-delay: .06s; }
    .site-nav.is-open .nav-links > li:nth-child(3) { transition-delay: .12s; }
    .site-nav.is-open .nav-links > li:nth-child(4) { transition-delay: .18s; }
    .site-nav.is-open .nav-cta { transition-delay: .24s; }
  }

  /* Hero stacks: words first, then an edge-to-edge portrait */
  .hero { display: block; min-height: 0; }
  .hero-copy { padding: clamp(36px, 7vw, 64px) var(--gutter) clamp(56px, 12vw, 96px); }
  .hero-title { font-size: clamp(2.85rem, 11.5vw, 4.6rem); }
  .hero-lede { max-width: 30rem; }
  .hero-media { width: 100%; aspect-ratio: 4 / 3.4; }
  .ring { width: min(62%, 360px); }
  .hero-strip { margin: 0 var(--gutter); border-top: 0; border-bottom: 1px solid var(--beige); }

  .philosophy .wrap { display: block; }
  .philosophy-title { margin-bottom: 44px; }
  .philosophy-media { width: 78%; }
  .philosophy-copy { padding-top: 40px; margin-left: auto; width: 86%; }

  .band { aspect-ratio: 4 / 3; }


  .experience-grid { display: block; }
  .experience-lede { margin-bottom: 44px; }
  .experience-media { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }
  .principles { margin-top: 56px; }


  .life-head { display: block; }
  .life-lede { margin-top: 20px; }
  /* Horizontal swipe row on tablet and phone */
  .life-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 4px;
  }
  .life-grid::-webkit-scrollbar { display: none; }
  .life-item { flex: 0 0 min(40vw, 300px); scroll-snap-align: start; }
  .life-item:nth-child(even) { margin-top: 0; }

  .signup-grid { display: block; }
  .signup-copy { position: static; margin-bottom: 48px; }
  .signup-mark { display: none; }
  .signup-form-wrap { padding-left: 0; }


  .footer-cols { grid-template-columns: 1fr 1fr; }

  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--chocolate);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  body.has-mobile-cta .site-footer { padding-bottom: 120px; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --section: clamp(64px, 16vw, 80px); }
  .brand-mark { width: 40px; }
  .brand-name { font-size: 1.3rem; }
  .hero-copy { padding-top: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 24px; text-align: center; }
  .hero-actions .link-line { align-self: center; }
  .hero-media { aspect-ratio: 4 / 5; }
  .hero-strip { display: none; }

  .philosophy-media { width: 88%; }
  .philosophy-copy { width: 100%; }
  .band { aspect-ratio: 1 / 1; }
  .principles { grid-template-columns: 1fr; row-gap: 36px; }
  .principle p { max-width: none; }
  .life-item { flex-basis: 64vw; }

  .field-row, .checks { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-tagline { text-align: left; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-cols > div:nth-child(2) { grid-column: 1 / -1; order: 3; }   /* opening hours: full width, below Contact and Explore */
  .footer-hours { max-width: 320px; }
  .privacy { max-height: 100%; height: 100%; max-width: 100%; margin: 0; }
}


/* ==========================================================
   LIVE-SITE ADDITIONS
   ========================================================== */

/* Logo returns to the top */
.brand { cursor: pointer; transition: opacity .35s ease; }
.brand:hover { opacity: .7; }

/* Outline button (secondary) */
.btn-outline { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-outline::before { background: var(--espresso); }
.btn-outline:hover { color: var(--ivory); }
.hero-actions { gap: 16px 18px; }
.hero-visit { margin-left: 18px; }

/* Contact: direct details */
.signup-direct { margin-top: clamp(40px, 5vw, 72px); max-width: 26rem; }
.signup-direct-h { margin: 0 0 14px; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted); }
.direct-list { border-top: 1px solid rgba(203, 187, 168, .25); }
.direct-list li { border-bottom: 1px solid rgba(203, 187, 168, .25); }
/* The whole row is the link, so it's an easy tap target */
.direct-item {
  position: relative; display: flex; align-items: center; gap: 18px;
  min-height: 80px; padding: 14px 12px 14px 0;
  color: var(--on-dark); text-decoration: none;
  transition: background-color .4s var(--ease), padding .5s var(--ease);
  -webkit-tap-highlight-color: rgba(201, 174, 130, .15);
}
.direct-icon {
  flex: none; width: 46px; height: 46px; padding: 11px;
  border: 1px solid rgba(203, 187, 168, .4); border-radius: 50%;
  fill: none; stroke: var(--brass-soft); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round;
  transition: border-color .4s ease, background-color .4s ease, stroke .4s ease;
}
.direct-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.direct-label { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted); }
.direct-value {
  font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .5vw, 1.65rem); line-height: 1.2;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
@media (hover: hover) {
  .direct-item:hover { background: rgba(51, 35, 26, .9); padding-left: 12px; }
  .direct-item:hover .direct-icon { border-color: var(--brass-soft); background: var(--brass-soft); stroke: var(--chocolate); }
  .direct-item:hover .direct-value { background-size: 100% 1px; }
}
.direct-item:active { background: rgba(51, 35, 26, .9); }
.direct-item:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.check-wide { grid-column: 1 / -1; }
.pet-hint { grid-column: 1 / -1; margin: -10px 0 0; font-size: .82rem; color: var(--on-dark-muted); }
.success-title { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }

/* Visit: details + map */
.visit-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--beige); padding-top: 36px; }
.visit-info { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 44px; }
.visit-col p { margin-bottom: .3em; }
.visit-maps { margin: 0; }
.visit-map { grid-column: 6 / -1; position: relative; min-height: clamp(380px, 34vw, 560px); background: var(--sand); overflow: hidden; }
.visit-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(.6) sepia(.14) contrast(.95); transition: filter .6s ease;
}
.visit-map:hover iframe, .visit-map:focus-within iframe { filter: none; }
.map-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: clamp(28px, 3vw, 48px);
}
.map-fallback-title { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1.15; }
.map-fallback-note { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.map-fallback .link-line { align-self: flex-start; }

/* Grooming menu: the two choices on the main page (each opens its own page) */
.menu-choices {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
  margin-top: clamp(48px, 6vw, 96px);
}
.menu-choices li:nth-child(1) { grid-column: 1 / span 6; }
.menu-choices li:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(64px, 10vw, 168px); }
.menu-choice { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.menu-choice-media { display: block; width: 100%; aspect-ratio: 4 / 5; margin-bottom: clamp(22px, 2.4vw, 32px); }
.menu-choices li:nth-child(2) .menu-choice-media { aspect-ratio: 1 / 1; }
.menu-choice-media img { transition: transform 1.4s var(--ease); }
.menu-choice-name {
  margin-bottom: 10px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.6rem);
  line-height: 1.05; letter-spacing: -.005em;
}
.menu-choice-desc { max-width: 24rem; margin-bottom: 22px; color: var(--muted); font-size: .95rem; }
@media (hover: hover) {
  .menu-choice:hover .menu-choice-media img { transform: scale(1.035); }
  .menu-choice:hover .link-line::after { transform: scaleX(0); }
}

/* Dog / cat page opening: large photo with the title beside it (desktop) or below it (phone) */
.page-intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
}
.page-photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.page-intro-text { grid-column: 7 / span 6; }
.page-intro-text .groom-intro { margin-top: 18px; max-width: 24rem; }

/* Dog / cat grooming pages */
.groom-page { padding-top: clamp(40px, 5vw, 80px); }
.page-back { margin: 0 0 clamp(40px, 5vw, 72px); }

/* Products page */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(20px, 2.4vw, 40px); }
.product-media img { transition: transform 1.2s var(--ease); }
@media (hover: hover) { .product:hover .product-media img { transform: scale(1.04); } }
.product-name {
  margin-top: 18px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.15;
}

/* Menu: four links fit on one line on small laptops and tablets held sideways */
@media (min-width: 901px) {
  .nav-links a { white-space: nowrap; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .72rem; letter-spacing: .12em; }
  .nav-cta { padding: 0 16px; letter-spacing: .16em; }
}

/* Menu: the page you are on stays underlined */
.nav-links a[aria-current="page"]::after { transform: none; }

/* Closing */
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; }

@media (max-width: 1100px) {
  .groom-head .label, .groom-head .h-editorial { grid-column: 1 / span 8; }
  .groom-intro { grid-column: 9 / span 4; }
  .sizes-title { grid-column: 1 / -1; margin-bottom: 24px; }
  .size-list { grid-column: 1 / -1; }
  .size-list div:first-child { border-left: 0; padding-left: 0; }
  .visit-info { grid-column: 1 / span 5; }
  .visit-map { grid-column: 6 / -1; }
}

@media (max-width: 900px) {
  .groom-head { display: block; }
  .groom-intro { margin-top: 20px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .page-intro { display: block; }
  .page-photo { margin-bottom: 32px; }
  .spa-head { display: block; }
  .spa-intro { margin-top: 18px; }
  .treatments { grid-template-columns: 1fr; }
  .treatment { padding-right: 0; }
  .treatment + .treatment { padding: 48px 0 0; margin-top: 48px; border-left: 0; border-top: 1px solid var(--beige); }
  .inclusions { max-width: 560px; }
  .size-list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .size-list div, .size-list div:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--beige); }
  .size-list div:nth-child(-n+2) { border-top: 0; padding-top: 0; }

  .groom-addons { display: block; }
  .addons-media { aspect-ratio: 4 / 3; margin-bottom: 48px; }
  .groom-cats { display: block; }
  .cat-note { margin-top: 24px; }
  .groom-note { display: block; }
  .groom-note-actions { margin-top: 28px; justify-content: flex-start; justify-self: start; }

  .hero-visit { margin-left: 8px; }

  .visit-grid { display: block; }
  .visit-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .visit-maps { grid-column: 1 / -1; }
  .visit-map { margin-top: 48px; min-height: 0; height: 400px; margin-inline: calc(var(--gutter) * -1); }
}

@media (max-width: 600px) {
  .hero-actions { gap: 12px; }
  .hero-visit { margin: 12px 0 0; }
  .inclusions { column-gap: 20px; }
  .addon-list { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .spa-list { grid-template-columns: 1fr; row-gap: 56px; }
  .spa-item:nth-child(1), .spa-item:nth-child(2) { grid-column: 1; margin-top: 0; }
  .spa-item:nth-child(2) .spa-media { aspect-ratio: 4 / 5; }
  .menu-choices { grid-template-columns: 1fr; row-gap: 56px; }
  .menu-choices li:nth-child(1), .menu-choices li:nth-child(2) { grid-column: 1; margin-top: 0; }
  .menu-choices li:nth-child(2) .menu-choice-media { aspect-ratio: 4 / 5; }
  /* Phones: the large photos run edge to edge */
  .menu-choice-media, .spa-media, .page-photo {
    width: calc(100% + var(--gutter) * 2); max-width: none; margin-inline: calc(var(--gutter) * -1);
  }
  .cat-list { display: block; }
  .cat-list li, .cat-list li + li { padding: 10px 0; border-left: 0; }
  .cat-list li + li { border-top: 1px solid var(--beige); }
  .visit-info { grid-template-columns: 1fr; gap: 36px; }
  .visit-map { height: 340px; }
  .closing-actions { flex-direction: column; gap: 24px; }
}

/* Phones: keep the full email address on one line */
@media (max-width: 600px) {
  .signup-direct { max-width: none; }
  .direct-item { gap: 14px; }
  .direct-icon { width: 44px; height: 44px; padding: 10px; }
  .direct-value { font-size: clamp(1.05rem, .55rem + 2.6vw, 1.3rem); }
}

/* ==========================================================
   REFINEMENT 1.2.0 — interactions
   ========================================================== */
.btn {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(var(--press, 1));
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.btn:active { --press: .97; transition-duration: .45s, .45s, .1s; }
@media (hover: hover) { .btn:hover { --press: 1.015; } }
.btn .arrow { margin-left: 12px; }

.brand-mark { height: auto; }
/* ==========================================================
   INTERACTIONS 1.3.0
   ========================================================== */

/* Taps respond at once (no double-tap zoom delay) and without the grey flash */
a, button, label, summary, .btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* ---------- Grooming Menu drop-down (computer) ---------- */
.has-sub { position: relative; }
.nav-parent { display: flex; align-items: center; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 26px; height: 34px; margin-left: 2px; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.sub-toggle svg { width: 9px; height: 9px; transition: transform .4s var(--ease); }
.sub-toggle path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.sub-toggle:focus-visible { outline-offset: 0; }
.nav-links .has-sub.is-open > .nav-parent > .nav-top::after { transform: none; }

.sub-wrap {
  position: absolute; top: 100%; left: -24px; z-index: 5;
  padding-top: 14px;                      /* invisible bridge: the cursor can travel to the list without it closing */
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s ease, transform .4s var(--ease), visibility 0s linear .4s;
}
.has-sub.is-open .sub-wrap {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s ease, transform .4s var(--ease), visibility 0s;
}
.sub-menu {
  min-width: 236px; padding: 12px 0;
  background: var(--ivory); border: 1px solid rgba(59, 38, 24, .09);
  box-shadow: 0 22px 44px -30px rgba(37, 23, 16, .45);
}
.nav-links .sub-menu a {
  display: block; padding: 10px 24px; white-space: nowrap;
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--espresso); text-decoration: none;
  transition: background-color .3s ease, padding-left .45s var(--ease), color .3s ease;
}
.nav-links .sub-menu a::after { display: none; }
.nav-links .sub-menu a:hover, .nav-links .sub-menu a:focus-visible { background: var(--cream); padding-left: 30px; }
.nav-links .sub-menu a:focus-visible { outline-offset: -2px; }

/* ---------- Arrows on links ---------- */
.arrow {
  display: inline-block; width: 15px; height: 10px; margin-left: 10px; vertical-align: 1px;
  fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease);
}
.arrow-back { margin: 0 10px 0 0; }
@media (hover: hover) {
  a:hover > .arrow:not(.arrow-back), .menu-choice:hover .arrow { transform: translateX(5px); }
  a:hover > .arrow-back { transform: translateX(-5px); }
}
a:active > .arrow:not(.arrow-back), .menu-choice:active .arrow { transform: translateX(5px); }

/* ---------- Links and buttons: quick, tactile feedback on touch ---------- */
.link-line { transition: opacity .2s ease; }
.link-line:active { opacity: .6; }
.menu-choice:active .menu-choice-media img { transform: scale(1.02); transition-duration: .3s; }


/* ---------- Grooming services: hover or tap brings one into focus ---------- */
.treatment { transition: opacity .5s var(--ease); cursor: default; }
.treatment .inclusions li { transition: border-color .5s ease; }
@media (hover: hover) {
  .treatments:hover .treatment { opacity: .5; }
  .treatments .treatment:hover { opacity: 1; }
  .treatment:hover .inclusions li { border-bottom-color: var(--beige); }
}
.treatments.has-active .treatment { opacity: .5; }
.treatments.has-active .treatment.is-active { opacity: 1; }
.treatment.is-active .treatment-name { transform: translateX(10px); }
.cat-list li { transition: transform .6s var(--ease), color .3s ease; }
@media (hover: hover) { .cat-list li:hover { transform: translateX(8px); } }

/* ---------- Reveals: headings and their text arrive in sequence; dividing lines draw in ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-group > * { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform 1s var(--ease); }
  .js .reveal-group.is-inview > * { opacity: 1; transform: none; }
  .js .reveal-group.is-inview > *:nth-child(2) { transition-delay: .08s; }
  .js .reveal-group.is-inview > *:nth-child(3) { transition-delay: .16s; }
  .js .reveal-group.is-inview > *:nth-child(4) { transition-delay: .24s; }

  .js .line-reveal {
    border-bottom-color: transparent;
    background: linear-gradient(var(--espresso), var(--espresso)) 0 100% / 0 1px no-repeat;
    transition: background-size 1.2s var(--ease) .1s;
  }
  .js .line-reveal.is-inview { background-size: 100% 1px; }
  .js .principle {
    border-top-color: transparent;
    background: linear-gradient(var(--espresso), var(--espresso)) 0 0 / 0 1px no-repeat;
    transition: opacity 1s ease, transform 1.2s var(--ease), background-size 1.2s var(--ease);
  }
  .js .principle.is-inview { background-size: 100% 1px; }
}

/* ---------- Enquiry form ---------- */
.signup input, .signup select, .signup textarea { -webkit-appearance: none; }
.signup input:focus-visible, .signup select:focus-visible, .signup textarea:focus-visible { transform: none; }
.btn.is-loading { cursor: progress; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: currentColor; opacity: .55; transform-origin: left;
  animation: hachi-sending 1.2s ease-in-out infinite;
}
@keyframes hachi-sending { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- Paw print trail (js/paws.js) ---------- */
.paw-layer { position: absolute; top: 0; left: 0; width: 100%; height: 0; overflow: visible; pointer-events: none; z-index: 30; }
.paw-defs { position: absolute; }
.paw-print {
  position: absolute; top: 0; left: 0;
  width: var(--paw, 14px); height: var(--paw, 14px);
  margin: calc(var(--paw, 14px) / -2) 0 0 calc(var(--paw, 14px) / -2);
  fill: var(--muted); opacity: 0;
  transition: opacity .45s ease;
}
.paw-print.is-on { opacity: var(--paw-o, .2); }
.paw-print.is-off { opacity: 0; transition: opacity 1.4s ease; }

@media (prefers-reduced-motion: reduce) {
  .paw-layer { display: none; }
  .btn.is-loading::after { animation: none; transform: none; }
}

/* ---------- Phone and tablet menu: Grooming Menu expands in place ---------- */
@media (max-width: 900px) {
  .nav-parent { justify-content: space-between; border-bottom: 1px solid var(--beige); }
  .nav-links .nav-parent .nav-top { border-bottom: 0; flex: 1; }
  .sub-toggle { width: 48px; height: 48px; margin: 0 -12px 0 0; }
  .sub-toggle svg { width: 14px; height: 14px; }
  .sub-wrap {
    position: static; padding: 0; transform: none;
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .5s var(--ease), opacity .35s ease, visibility 0s linear .5s;
  }
  .has-sub.is-open .sub-wrap {
    grid-template-rows: 1fr; transform: none;
    transition: grid-template-rows .5s var(--ease), opacity .45s ease .05s, visibility 0s;
  }
  .sub-menu { min-height: 0; overflow: hidden; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav-links .sub-menu a {
    padding: 15px 0 15px 18px; border-bottom: 1px solid rgba(205, 184, 154, .5);
    font-size: .8rem; letter-spacing: .18em; white-space: normal;
  }
  .nav-links .sub-menu li:last-child a { border-bottom: 1px solid var(--beige); }
  .nav-links .sub-menu a:hover, .nav-links .sub-menu a:focus-visible, .nav-links .sub-menu a:active { background: var(--cream); padding-left: 24px; }
}
/* ==========================================================
   EFFECTS 1.4.0 (js/fx.js)
   ========================================================== */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Headlines: words rise through a soft mask, once ---------- */
.w { display: inline-block; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; clip-path: inset(-1em -1em 0 -1em); }
.w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .words-ready .w > span {
    transform: translateY(112%); opacity: 0;
    transition: transform .85s var(--ease), opacity .6s ease;
    transition-delay: min(calc(var(--i, 0) * 55ms), 600ms);
  }
  .words-ready.words-in .w > span { transform: none; opacity: 1; }
  /* the top headline is on screen at once: reveal it with the page's opening, never wait for scrolling */
  .is-loaded .hero-title.words-ready .w > span { transform: none; opacity: 1; }
  .js .hero-title.words-ready .line { opacity: 1; transform: none; }
  .js .reveal-group > [data-words] { opacity: 1; transform: none; }
}

/* ---------- Story: three scenes ----------
   Default (no script, or reduced motion): the scenes simply follow one another. */
.story { padding-block: var(--section); }
.story-stage {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; gap: clamp(48px, 7vw, 96px);
}
.story-scene { display: grid; gap: 20px; }
.story-img { margin: 0; aspect-ratio: 4 / 5; max-width: 560px; overflow: hidden; background: var(--sand); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-line {
  margin: 0; max-width: 14em;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 1.3rem + 1.7vw, 3rem); line-height: 1.12; letter-spacing: -.005em; text-wrap: balance;
}
.story-dots { display: none; }

/* With the script: the stage stays in view while the scenes change with scrolling */
.story-on .story { height: 300vh; padding: 0; }
.story-on .story-stage {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr; gap: 0 24px; align-items: center;
}
.story-on .story-scene { display: contents; }
.story-on .story-img {
  grid-column: 1 / span 6; grid-row: 1; width: 100%; max-width: none;
  height: min(80%, 780px); aspect-ratio: auto; align-self: center;
  opacity: 0; transition: opacity .9s ease;
}
.story-on .story-img img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.story-on .is-active .story-img { opacity: 1; }
.story-on .is-active .story-img img { transform: scale(calc(1.06 - var(--local, 0) * .06)); transition: transform .25s linear; }
.story-on .story-line {
  grid-column: 8 / span 5; grid-row: 1;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .9s var(--ease);
}
.story-on .is-active .story-line { opacity: 1; transform: none; transition-delay: .12s; }
.story-on .is-past .story-line { transform: translateY(-20px); }
.story-on .story-dots {
  display: flex; gap: 8px; grid-column: 8 / span 5; grid-row: 1; align-self: end; margin-bottom: 12vh;
}
.story-dots span { width: 22px; height: 1px; background: var(--beige); transition: width .6s var(--ease), background-color .6s ease; }
.story-dots span.is-on { width: 44px; background: var(--espresso); }

/* ---------- Before / after slider ---------- */
.compare {
  position: relative; overflow: hidden; background: var(--sand);
  --pos: 50%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.compare-img { position: absolute; inset: 0; margin: 0; }
.compare-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; z-index: 1;
  background: rgba(248, 243, 234, .92); pointer-events: none;
}
.compare-handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 2;
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  display: grid; place-items: center; border-radius: 50%; cursor: ew-resize; outline-offset: 2px;
}
.compare-knob {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(248, 243, 234, .94); box-shadow: 0 8px 22px -12px rgba(37, 23, 16, .55);
  transition: transform .4s var(--ease), background-color .3s ease;
}
.compare-knob svg { width: 18px; height: 18px; fill: var(--espresso); transition: transform .4s var(--ease); }
.compare.is-dragging .compare-knob, .compare-handle:focus-visible .compare-knob { transform: scale(1.12); background: var(--ivory); }
.compare.is-dragging .compare-knob svg { transform: rotate(-10deg); }
.compare-tag {
  position: absolute; top: 14px; z-index: 1; padding: 5px 10px; pointer-events: none;
  font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--espresso); background: rgba(248, 243, 234, .85);
}
.compare-tag-before { left: 14px; }
.compare-tag-after { right: 14px; }
.compare-hint { margin: 14px 0 0; font-size: .64rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--olive); }
.compare-hint + .spa-name { margin-top: 6px; }

/* ---------- Tap / click paw ---------- */
.tap-layer { position: fixed; inset: 0; z-index: 2000; pointer-events: none; overflow: hidden; }
.tap-paw { position: absolute; top: 0; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; fill: var(--espresso); opacity: 0; }

@media (max-width: 900px) {
  .story-on .story { height: 260vh; }
  .story-on .story-stage {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto;
    align-items: stretch; gap: 16px 0; padding-block: 14px 22px;
  }
  .story-on .story-img { grid-column: 1; grid-row: 1; height: 100%; }
  .story-on .story-line { grid-column: 1; grid-row: 2; align-self: start; font-size: clamp(1.6rem, 6.6vw, 2.3rem); min-height: 2.3em; }
  .story-on .story-dots { grid-column: 1; grid-row: 3; align-self: start; margin: 0; }
  /* leave room for the phone's "Contact us" bar at the bottom of the screen */
  .story-on .has-mobile-cta .story-stage { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  .story-img { max-width: none; }
  .story-on .story-img { margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }
}
@media (prefers-reduced-motion: reduce) {
  .tap-layer { display: none; }
}
/* ---------- 1.4.1: single-photo spa item; copy email button ---------- */
.compare[data-single] { cursor: default; touch-action: auto; }
.compare[data-single]::after, .compare[data-single] .compare-handle, .compare[data-single] .compare-tag,
.compare[data-single] .compare-after { display: none; }
.compare[data-single] + .compare-hint { display: none; }
.copy-email {
  margin-top: 18px; padding: 10px 0; background: none; border: 0; cursor: pointer;
  font: 500 .7rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted);
  border-bottom: 1px solid rgba(203, 187, 168, .35); transition: color .3s ease, border-color .3s ease;
}
.copy-email:hover, .copy-email:focus-visible { color: var(--on-dark); border-color: var(--brass-soft); }
.copy-email.is-copied { color: var(--brass-soft); }
/* ---------- 1.4.2: paired paw trail; email links ---------- */
.paw-print.is-on { opacity: .34; }
.paw-print.is-light { fill: var(--ivory); }
.paw-print.is-light.is-on { opacity: .62; }
.paw-print.is-off { opacity: 0; }

/* Every email address is a link: a fine underline that draws in fully on hover or tap */
a[href^="mailto:"]:not(.direct-item) {
  text-decoration: none;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
    linear-gradient(rgba(168, 138, 92, .5), rgba(168, 138, 92, .5)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease), opacity .2s ease, color .3s ease;
}
a[href^="mailto:"]:not(.direct-item):hover,
a[href^="mailto:"]:not(.direct-item):focus-visible { background-size: 100% 1px, 100% 1px; }
a[href^="mailto:"]:not(.direct-item):active { opacity: .6; }
.site-footer a[href^="mailto:"]:hover { text-decoration: none; }
.form-errors a[href^="mailto:"] { color: inherit; }
/* ---------- 1.5.0: example label on before/after; cat page slider ---------- */
.compare-note {
  position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 4px 9px; pointer-events: none;
  font-size: .58rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--espresso); background: rgba(248, 243, 234, .8);
}
.cat-compare .groom-cat { margin-bottom: clamp(24px, 3vw, 40px); }
@media (min-width: 601px) { .cat-compare .spa-media { max-width: 560px; } }
/* ---------- 1.5.1: "Page not found" (404.html) ---------- */
.not-found {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 48px var(--gutter);
}
.not-found-mark img { width: 72px; margin-bottom: 32px; }
.not-found .label { justify-content: center; }
.not-found .h-editorial { max-width: 12em; margin-bottom: 18px; }
.not-found-text { max-width: 26rem; color: var(--muted); margin-bottom: 32px; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 32px; }
/* ---------- 1.5.3 ---------- */
/* "Size guide" uses the same heading style as "Basic Grooming" */
.sizes-title {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.005em;
}
.sizes-note { margin-top: 10px; }

/* Email fallback panel */
.mail-help {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 120;
  width: min(420px, calc(100% - 32px)); padding: 22px 22px 20px;
  background: var(--ivory); border: 1px solid rgba(59, 38, 24, .1);
  box-shadow: 0 24px 50px -28px rgba(37, 23, 16, .55);
  transform: translate(-50%, 16px); opacity: 0; transition: opacity .3s ease, transform .4s var(--ease);
}
.mail-help.is-open { opacity: 1; transform: translate(-50%, 0); }
.mail-help-title { margin: 0 0 4px; font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); }
.mail-help-address { margin: 0 0 16px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.mail-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mail-help-actions .btn { flex: 1 1 auto; min-height: 46px; }
.mail-help-close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer;
}

/* Phones: smaller photos, so more of the page fits on the screen */
@media (max-width: 600px) {
  .hero-media { aspect-ratio: 1 / 1; }
  .philosophy-media { width: 100%; aspect-ratio: 4 / 3; }
  .menu-choice-media,
  .menu-choices li:nth-child(2) .menu-choice-media { aspect-ratio: 4 / 3; }
  .page-photo { aspect-ratio: 4 / 3; }
  .spa-media,
  .spa-item:nth-child(2) .spa-media { aspect-ratio: 1 / 1; }
  .experience-media, .addons-media { aspect-ratio: 16 / 10; }
  .menu-choices, .spa-list { row-gap: 44px; }
  .life-item { flex-basis: 44vw; }
  .story-on .story { height: 220vh; }
  .story-on .story-stage { grid-template-rows: minmax(0, 52vh) auto auto; align-content: center; }
}
/* ---------- 1.5.4: easier phone menu ---------- */
@media (max-width: 900px) {
  /* a bigger target for Menu / Close */
  .menu-toggle { min-height: 48px; padding: 0 12px; margin-right: -12px; touch-action: manipulation; }
  .menu-open .site-header { border-bottom-color: var(--beige); }
  .site-nav { overscroll-behavior: contain; }
  /* while the menu fades out, taps go straight to the page underneath */
  .site-nav:not(.is-open) { pointer-events: none; }
}
/* 1.5.5: paw prints fade away faster */
.paw-print.is-off { opacity: 0; transition: opacity .3s ease; }
