/* ==========================================================================
   Darling Dogs by Hannah
   Mobile-first. Cream paper, gold leaf, sage botanicals.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ephesis";
  src: url("fonts/ephesis.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fefcf5;
  --paper-2: #fbf6ea;
  --linen: #f5eddd;
  --card: #fffdf8;
  --ink: #23201d;
  --ink-2: #463f38;
  --muted: #6b6258;
  --gold: #c49a4c;
  --gold-bright: #daae5c;
  --gold-ink: #8a6828;
  --gold-script: #9a7633;   /* script headings: 4:1 on cream */
  --gold-line: #e6d5ae;
  --gold-soft: #f4e7c8;
  --sage: #a9ae87;
  --sage-leaf: #b9be9a;
  --sage-deep: #616b4b;
  --sage-wash: #eef0e3;
  --line: #ece2cc;

  --shadow-sm: 0 1px 2px rgb(70 50 20 / 6%), 0 6px 16px -6px rgb(70 50 20 / 10%);
  --shadow-md: 0 2px 6px rgb(70 50 20 / 5%), 0 24px 48px -20px rgb(70 50 20 / 22%);
  --shadow-lg: 0 3px 10px rgb(70 50 20 / 6%), 0 40px 80px -30px rgb(70 50 20 / 28%);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, .1, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Hoefler Text", "Times New Roman", serif;
  --font-body: "Jost", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --font-script: "Ephesis", "Snell Roundhand", "Brush Script MT", cursive;

  --header-h: 64px;
  --gutter: clamp(20px, 5.4vw, 56px);
  --max: 1180px;
  --radius: 22px;
  --safe-b: env(safe-area-inset-bottom, 0px);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (max-width: 759px) {
  html { scroll-padding-bottom: calc(84px + var(--safe-b)); }
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("assets/img/paper.webp");
  background-size: 260px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }

::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.nw { white-space: nowrap; }

.skip-link {
  position: fixed; left: 12px; top: 10px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  transform: translateY(-160%); transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.35rem, 1.6rem + 3.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h2 em, .hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-ink);
}
.caps-title {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9em;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow-ruled::before, .eyebrow-ruled::after {
  content: "";
  width: clamp(28px, 7vw, 56px);
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold-script);
  line-height: 1;
}
.section-lede {
  max-width: 34em;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.0625rem;
  text-wrap: pretty;
}

/* The heart that dots the "i" in Darling */
.dotless { position: relative; display: inline-block; }
.tittle {
  position: absolute;
  left: 50%;
  top: .02em;
  width: .3em;
  height: .3em;
  transform: translate(-50%, -38%);
  color: var(--gold-bright);
  overflow: visible;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: var(--h);
  padding: 0 1.45em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .01em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
  isolation: isolate;
  overflow: hidden;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn-sm { --h: 42px; padding: 0 1.05em; font-size: .9375rem; }
.btn-lg { --h: 58px; padding: 0 1.7em; font-size: 1.0625rem; }
.btn-wide { width: 100%; }

.btn-ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgb(255 255 255 / 12%) inset, 0 10px 24px -12px rgb(35 32 29 / 70%);
}
.btn-ink .ico { color: var(--gold-bright); }
/* gold foil sheen sweeping across dark buttons */
.btn-ink::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgb(218 174 92 / 34%) 46%, rgb(255 236 190 / 42%) 50%, rgb(218 174 92 / 30%) 54%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
@media (hover: hover) {
  .btn-ink:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgb(255 255 255 / 12%) inset, 0 16px 30px -14px rgb(35 32 29 / 75%); }
  .btn-ink:hover::after { transform: translateX(120%); }
  .btn-line:hover { border-color: var(--gold); background: var(--card); transform: translateY(-2px); }
  .btn-paper:hover { transform: translateY(-2px); }
}
.btn-line {
  background: rgb(255 253 248 / 55%);
  color: var(--ink);
  border-color: var(--gold-line);
}
.btn-line .ico { color: var(--gold-ink); }
.btn-paper {
  background: var(--card);
  color: var(--ink);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-sm);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-row-center { justify-content: center; }
.text-btn {
  background: none;
  border: 0;
  padding: 6px 2px;
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  font-size: .95rem;
}

/* ==========================================================================
   Header + menu
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(254 252 245 / 86%);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgb(230 213 174 / 70%);
  opacity: 0;
  transition: opacity .4s;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  margin-right: auto;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s, transform .6s var(--ease-out);
}
.site-header.is-scrolled .brand, body.menu-open .brand, .brand:focus-visible { opacity: 1; transform: none; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -.01em;
  line-height: 1;
}
.brand-by {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1;
}
.nav { display: none; }
.header-cta .hide-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header-cta { --h: 40px; padding: 0 1em; font-size: .9375rem; }
.header-cta, .menu-toggle { flex-shrink: 0; }
@media (max-width: 410px) { .brand-by { display: none; } }
@media (max-width: 340px) { .brand-word { font-size: 1.4rem; } }

.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.menu-lines { position: relative; width: 22px; height: 12px; }
.menu-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out), width .4s var(--ease-out);
}
.menu-lines span:first-child { top: 0; }
.menu-lines span:last-child { top: 10px; width: 70%; left: auto; right: 0; }
.menu-toggle[aria-expanded="true"] .menu-lines span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines span:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(28px + var(--safe-b));
  background: var(--paper) url("assets/img/paper.webp");
  background-size: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: circle(0 at calc(100% - 42px) 32px);
  transition: clip-path .7s var(--ease-out), visibility 0s linear .7s;
  visibility: hidden;
}
.menu.is-open {
  clip-path: circle(150% at calc(100% - 42px) 32px);
  visibility: visible;
  transition: clip-path .8s var(--ease-out), visibility 0s;
}
.menu-floral { position: absolute; pointer-events: none; opacity: .75; }
.menu-floral-tr { top: 40px; right: -40px; width: 200px; }
.menu-floral-bl { bottom: 120px; left: -50px; width: 190px; transform: scaleY(-1) rotate(180deg) scaleX(-1); }
.menu-nav { position: relative; display: flex; flex-direction: column; gap: 2px; }
.menu-nav a, .menu-contact {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s, transform .7s var(--ease-out);
}
.menu.is-open .menu-nav a, .menu.is-open .menu-contact {
  opacity: 1;
  transform: none;
  transition-delay: calc(.12s + var(--i) * 55ms);
}
.menu-nav a {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 10vw, 3.4rem);
  line-height: 1.18;
  text-decoration: none;
  width: fit-content;
}
.menu-contact { position: relative; display: grid; gap: 12px; margin-top: 32px; }
.menu-meta { margin: 6px 0 0; text-align: center; color: var(--muted); font-size: .9375rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 6px) var(--gutter) calc(54px + var(--safe-b));
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 46% at 50% 36%, rgb(255 246 222 / 85%), transparent 70%),
    radial-gradient(40% 30% at 85% 90%, rgb(238 240 227 / 70%), transparent 70%),
    radial-gradient(40% 30% at 10% 80%, rgb(244 231 200 / 45%), transparent 70%);
}
.bubbles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-floral {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(120px, 34vw, 300px);
  opacity: .9;
  transform-origin: top left;
}
.hero-floral-tl { top: calc(var(--header-h) * .2); left: -4%; }
.hero-floral-tr { top: calc(var(--header-h) * .2); right: -5%; transform-origin: top right; }

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 920px;
}
.hero-art {
  position: relative;
  width: min(74vw, 340px);
  width: clamp(150px, calc((100svh - 450px) * 1.08), min(74vw, 340px)); /* keeps the buttons above the fold on short phones */
  margin-bottom: -4px;
  touch-action: manipulation;
  will-change: transform;
}
.hero-halo {
  position: absolute;
  inset: 4% 6% 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 238 200 / 75%), rgb(255 246 225 / 30%) 60%, transparent);
  filter: blur(6px);
}
.hero-art picture { display: block; }
.hero-dogs {
  width: 100%;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
.seal {
  position: absolute;
  right: -6%;
  bottom: 14%;
  width: clamp(66px, 19vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 8px 14px rgb(70 50 20 / 16%));
}
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10.6px;
  letter-spacing: .16em;
  fill: var(--gold-ink);
}
.seal-ring { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-weight: 400;
}
.hero-eyebrow {
  --ls: .22em;
  margin-bottom: .55rem;
  font-size: .78rem;
  letter-spacing: var(--ls);
  white-space: nowrap;
}
.hero-eyebrow::before, .hero-eyebrow::after { width: clamp(16px, 5vw, 56px); }
@media (min-width: 560px) { .hero-eyebrow { --ls: .3em; font-size: .85rem; } }
.wordmark {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 2.1rem + 7.6vw, 7.6rem);
  line-height: .9;
  letter-spacing: -.018em;
  white-space: nowrap;
  color: var(--ink);
}
.wordmark > span { display: inline-block; }
.wordmark .sp { width: .22em; }
.hero-by {
  display: block;
  margin-top: -.08em;
  padding: 0 .3em .12em;
  font-size: clamp(2.6rem, 1.7rem + 4.6vw, 4.9rem);
  color: var(--gold);
}
.hero-lede {
  max-width: 24em;
  margin: 1.1rem auto 1.5rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  color: var(--ink-2);
  text-wrap: balance;
}
.hero-ctas {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin: 1rem 0 0;
  font-size: .9375rem;
  color: var(--muted);
}
.hero-note .ico { width: .95em; height: .95em; color: var(--gold-bright); }

.motion-toggle {
  position: absolute;
  right: calc(var(--gutter) - 10px);
  bottom: calc(6px + var(--safe-b));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}
.motion-toggle span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgb(255 253 248 / 70%);
  transition: border-color .25s, color .25s;
}
.motion-toggle svg { width: 12px; height: 12px; }
.motion-toggle .i-play { display: none; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
@media (hover: hover) { .motion-toggle:hover span { border-color: var(--gold); color: var(--ink); } }
.motion-off .seal-ring, .motion-off .social::before, .motion-off .social::after, .motion-off .map-pulse,
.motion-off .scroll-cue-line::after, .motion-off.is-settled .hero-floral-tl, .motion-off.is-settled .hero-floral-tr { animation: none; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(10px + var(--safe-b));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
}
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--gold-line), var(--gold-line));
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--gold-ink);
  animation: cue 2.4s var(--ease-soft) infinite;
}
@keyframes cue { 0% { top: -40%; } 60%, 100% { top: 110%; } }

/* --- Hero intro choreography (only when JS is running) --- */
.js .hero-dogs { opacity: 0; transform: translateY(26px) scale(.965); filter: blur(8px); }
.js .hero-halo { opacity: 0; transform: scale(.7); }
.js .seal { opacity: 0; transform: scale(.4) rotate(-40deg); }
.js .hero-floral { opacity: 0; }
.js .hero-floral-tl { transform: rotate(-14deg) scale(.9); }
.js .hero-floral-tr { transform: rotate(14deg) scale(.9); }
.js .hero-eyebrow { opacity: 0; letter-spacing: calc(var(--ls) + .16em); }
.js .wordmark > span { opacity: 0; transform: translateY(.42em) rotate(5deg); filter: blur(5px); }
.js .wordmark .tittle { transform: translate(-50%, -38%) scale(0); }
.js .hero-by { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%); -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.js .hero-lede, .js .hero-ctas, .js .hero-note, .js .scroll-cue { opacity: 0; transform: translateY(14px); }

/* quick on purpose: the buttons are on screen within ~half a second */
.is-ready .hero-dogs { animation: dogsIn 1.1s var(--ease-out) forwards; }
.is-ready .hero-halo { animation: haloIn 1.6s var(--ease-out) forwards; }
.is-ready .hero-floral { animation: floralIn 1.5s var(--ease-out) .15s forwards; }
.is-ready .hero-eyebrow { animation: eyebrowIn 1.1s var(--ease-out) .1s forwards; }
.is-ready .wordmark > span { animation: letterIn .8s var(--ease-out) forwards; animation-delay: calc(.12s + var(--i) * 34ms); }
.is-ready .wordmark .tittle { animation: heartPop .65s var(--ease-spring) .85s forwards; }
.is-ready .hero-by { animation: write 1.1s var(--ease-soft) .5s forwards; }
.is-ready .hero-lede { animation: rise .7s var(--ease-out) .35s forwards; }
.is-ready .hero-ctas { animation: rise .7s var(--ease-out) .45s forwards; }
.is-ready .hero-note { animation: rise .7s var(--ease-out) .6s forwards; }
.is-ready .scroll-cue { animation: rise .7s var(--ease-out) 1.2s forwards; }
.is-ready .seal { animation: sealIn 1s var(--ease-spring) .95s forwards; }

@keyframes dogsIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes haloIn { to { opacity: 1; transform: none; } }
@keyframes floralIn { to { opacity: .9; transform: none; } }
@keyframes eyebrowIn { to { opacity: 1; letter-spacing: var(--ls); } }
@keyframes letterIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes heartPop { to { transform: translate(-50%, -38%) scale(1); } }
@keyframes write { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes sealIn { to { opacity: 1; transform: none; } }

/* gentle breathing of the corner florals once settled */
.is-settled .hero-floral-tl { animation: sway 9s ease-in-out infinite; opacity: .9; transform: none; }
.is-settled .hero-floral-tr { animation: sway 10s ease-in-out -3s infinite reverse; opacity: .9; transform: none; }
@keyframes sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.4deg); } }

/* hearts released when someone taps the dogs */
.pop-heart {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  color: var(--gold-bright);
  pointer-events: none;
  animation: floatHeart 1.5s var(--ease-out) forwards;
}
@keyframes floatHeart {
  0% { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0); }
  15% { opacity: 1; transform: translate(calc(var(--dx) * .2), -14px) scale(1.1) rotate(calc(var(--r) * .3)); }
  100% { opacity: 0; transform: translate(var(--dx), -110px) scale(.8) rotate(var(--r)); }
}

/* ==========================================================================
   Promise strip
   ========================================================================== */
.promise {
  position: relative;
  padding: 8px var(--gutter) 28px;
}
.promise-list {
  display: grid;
  gap: 4px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 10px 6px;
  border-block: 1px solid var(--line);
}
.promise-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 6px;
  line-height: 1.35;
  color: var(--muted);
  font-size: .9375rem;
}
.promise-list strong {
  display: block;
  margin-bottom: 1px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: .005em;
}
.promise-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: var(--card);
  color: var(--gold);
}
.promise-ico svg { width: 20px; height: 20px; }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(30px, 6vw, 56px);
  text-align: center;
}
.section-head .h2 { margin-bottom: .4em; }
.section-head-left { margin-inline: 0; text-align: left; }
.section-head-left .section-lede { margin-inline: 0; }
.divider { width: 176px; height: 24px; margin: 4px auto 18px; overflow: visible; }

/* ==========================================================================
   Services: the "menu card"
   ========================================================================== */
.services {
  position: relative;
  padding: clamp(28px, 6vw, 72px) clamp(12px, 3.5vw, 56px) clamp(56px, 9vw, 120px);
  background: linear-gradient(var(--paper), var(--linen) 30%, var(--linen) 80%, var(--paper));
}
.menu-card {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(56px, 12vw, 96px) clamp(18px, 6vw, 88px) clamp(44px, 9vw, 80px);
  background: var(--card) url("assets/img/paper.webp");
  background-size: 260px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.menu-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-line);
  border-radius: 20px;
  pointer-events: none;
}
.card-floral {
  position: absolute;
  z-index: -1;
  width: clamp(96px, 26vw, 210px);
  pointer-events: none;
  opacity: .92;
}
.card-floral-tl { top: 2px; left: 2px; border-top-left-radius: 26px; }
.card-floral-tr { top: 2px; right: 2px; }
.card-floral-bl { bottom: 2px; left: 2px; }
.card-floral-br { bottom: 2px; right: 2px; }

.service-list { position: relative; }
.service {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "ico body" "ico link";
  column-gap: 16px;
  align-items: start;
  padding: 22px 4px;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service-ico {
  grid-area: ico;
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.2px solid var(--gold-line);
  color: var(--gold);
  background: radial-gradient(circle at 50% 35%, #fffaf0, var(--card));
  transition: background-color .4s, transform .6s var(--ease-out), border-color .4s;
}
.service-ico svg { width: 42px; height: 42px; overflow: visible; }
.service-body { grid-area: body; }
.service h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 2px 0 6px;
}
.service p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.service-link {
  grid-area: link;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-top: 12px;
  padding: 8px 0;
  min-height: 44px;
  color: var(--gold-ink);
  font-weight: 500;
  font-size: .9375rem;
  letter-spacing: .02em;
  text-decoration: none;
}
.service-link::after { /* whole row is tappable */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
}
.service-link .ico { transition: transform .45s var(--ease-out); }
@media (hover: hover) {
  .service:hover .service-ico { border-color: var(--gold); transform: rotate(-6deg) scale(1.05); background: #fff6e2; }
  .service:hover .service-link .ico { transform: translateX(5px); }
  .service:hover h3 { color: var(--ink); }
}
.service:has(.service-link:focus-visible) { outline: 2px solid var(--gold-ink); outline-offset: -2px; border-radius: 14px; }
@supports selector(:has(*)) { .service-link:focus-visible { outline: none; } }

/* icons draw themselves as each row arrives */
.js .service-ico [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .service-ico .fill-in { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
.service.is-in .service-ico [pathLength] { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-soft) calc(.2s + var(--d, 0) * 90ms); }
.service.is-in .service-ico .fill-in { opacity: 1; transform: none; transition: opacity .5s 1.1s, transform .7s var(--ease-spring) 1.1s; }

.menu-card-foot {
  margin-top: clamp(30px, 6vw, 48px);
  text-align: center;
}
.menu-card-script { font-size: clamp(2.2rem, 1.8rem + 2vw, 3rem); margin-bottom: .2em; }
.menu-card-foot > p:not(.script) { color: var(--muted); margin-bottom: 1.4rem; }
.menu-card-foot .btn-row { justify-content: center; }

/* ==========================================================================
   How to book
   ========================================================================== */
.how {
  position: relative;
  padding: clamp(64px, 11vw, 140px) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
}
.steps-wrap { position: relative; max-width: 1040px; margin-inline: auto; }
.steps { position: relative; display: grid; gap: 34px; padding-left: 72px; }
.step { position: relative; }
.step-num {
  position: absolute;
  left: -72px;
  top: -4px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  color: var(--gold-ink);
}
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.5rem + 1.3vw, 2.4rem);
  line-height: 1.05;
  margin: 2px 0 6px;
}
.step p { margin: 0; color: var(--muted); max-width: 26em; }

.paw-trail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 52px;
  pointer-events: none;
}
.paw-trail::before { /* dotted guide behind the paws */
  content: "";
  position: absolute;
  left: 25.5px;
  top: 40px;
  bottom: 10px;
  border-left: 1.5px dotted var(--gold-line);
}
.paw {
  position: absolute;
  width: 15px;
  height: 15px;
  color: var(--gold);
  opacity: clamp(0, calc(var(--p, 0) * var(--n) - var(--k)), 1);
  transform: translate(-50%, -50%) rotate(var(--rot)) scale(calc(.6 + .4 * clamp(0, calc(var(--p, 0) * var(--n) - var(--k)), 1)));
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  position: relative;
  padding: clamp(40px, 8vw, 120px) var(--gutter) clamp(64px, 10vw, 140px);
  background: linear-gradient(var(--paper), var(--sage-wash) 22%, var(--sage-wash) 78%, var(--paper));
  overflow: hidden;
}
.about-grid {
  display: grid;
  gap: clamp(40px, 7vw, 96px);
  max-width: var(--max);
  margin-inline: auto;
  align-items: center;
}
.about-art { position: relative; margin: 0 auto; width: min(80vw, 400px); }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  background: radial-gradient(closest-side at 50% 42%, #fff8e8, #f6ecd6 70%, #efe2c4);
  box-shadow: var(--shadow-md);
  outline: 1px solid var(--gold-line);
  outline-offset: 8px;
}
.arch img {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 104%;
  max-width: none;
  transform: translate(-50%, var(--py, 0px));
}
.about-sprig {
  position: absolute;
  right: -16%;
  bottom: -8%;
  width: 42%;
  transform: rotate(14deg);
  pointer-events: none;
}
.about-copy .about-hello { font-size: clamp(2.6rem, 2rem + 2.6vw, 3.8rem); margin-bottom: .1em; color: var(--gold-script); }
.about-copy .h2 { margin-bottom: .55em; }
.about-copy p { color: var(--ink-2); max-width: 34em; }
.promises { display: grid; gap: 14px; margin: 26px 0 24px; }
.promises li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); line-height: 1.5; }
.promises strong { color: var(--ink); font-weight: 500; }
.promises .ico { width: 14px; height: 14px; color: var(--gold-bright); transform: translateY(1px); }
.signature { display: flex; align-items: center; gap: 6px; margin: 0; }
.signature .script { font-size: 3.2rem; color: var(--ink-2); }
.signature .ico { width: 18px; height: 18px; color: var(--gold-bright); }

/* ==========================================================================
   Social
   ========================================================================== */
.social {
  position: relative;
  padding: clamp(64px, 10vw, 120px) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.social::before, .social::after { /* drifting soap bubbles */
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgb(255 255 255 / 95%) 0 8%, transparent 9%), radial-gradient(circle at 50% 50%, transparent 58%, rgb(196 154 76 / 16%) 66%, rgb(169 174 135 / 22%) 72%, transparent 74%);
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
}
.social::before { width: 120px; height: 120px; left: 6%; top: 18%; }
.social::after { width: 72px; height: 72px; right: 10%; bottom: 16%; animation-delay: -6s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, -22px); } }
.social-inner { max-width: 640px; margin-inline: auto; }
.social-script { font-size: clamp(3.4rem, 2.4rem + 5vw, 5.6rem); margin-bottom: .15em; }
.social-lede { color: var(--muted); max-width: 26em; margin: 0 auto 1.6rem; }
.social .btn-row { justify-content: center; }
.social .btn { min-width: 12.5rem; } /* the two pills match when they stack on a phone */

/* ==========================================================================
   Visit
   ========================================================================== */
.visit {
  padding: clamp(64px, 10vw, 130px) var(--gutter);
}
.visit-grid {
  display: grid;
  gap: 36px;
  max-width: var(--max);
  margin-inline: auto;
  align-items: center;
}
.eircode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 420px;
  margin-bottom: 18px;
  padding: 16px 16px 16px 22px;
  border-radius: 20px;
  border: 1px solid var(--gold-line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.eircode-label { display: block; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eircode-value { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; letter-spacing: .06em; line-height: 1.1; font-variant-numeric: lining-nums; white-space: nowrap; }
.visit-btns .btn { flex: 1 1 auto; }
.visit-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 16px 0 0;
  font-size: .9375rem;
}
.visit-more a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--gold-ink);
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}
.visit-more span { color: var(--gold-line); }
.visit-handy { margin: 6px 0 0; font-size: .9375rem; color: var(--muted); }
.map-load-note { font-weight: 400; color: var(--muted); font-size: .8125rem; }

.map {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  outline: 1px solid var(--gold-line);
  outline-offset: 6px;
  background: var(--sage-wash);
}
.map-facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(70% 60% at 50% 45%, #f7f6ec, var(--sage-wash));
}
.map-contours { position: absolute; inset: 0; width: 100%; height: 100%; color: rgb(169 174 135 / 55%); }
.map-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-top: -30px;
  border-radius: 50%;
  background: var(--card);
  color: var(--gold-ink);
  box-shadow: var(--shadow-md);
}
.map-pin svg { width: 30px; height: 30px; }
.map-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.map-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 26px);
  transform: translateX(-50%);
  display: grid;
  text-align: center;
  white-space: nowrap;
}
.map-label strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.map-label span { font-size: .875rem; color: var(--muted); }
.map-load { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); }
.map-load:active { transform: translateX(-50%) scale(.97); }
@media (hover: hover) { .map-load:hover { transform: translateX(-50%) translateY(-2px); } }
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(.18) saturate(.85) contrast(.98);
  animation: fadeIn .8s ease both;
}
@keyframes fadeIn { from { opacity: 0; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: clamp(56px, 9vw, 120px) var(--gutter);
  background: linear-gradient(var(--paper), var(--paper-2));
}
.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 2px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.2rem + .7vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  color: var(--gold-ink);
  transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.faq-ico svg { width: 18px; height: 18px; }
.faq-item[open] .faq-ico { transform: rotate(135deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-item.is-closing .faq-ico { transform: none; background: transparent; color: var(--gold-ink); border-color: var(--gold-line); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 48px 24px 2px; color: var(--ink-2); }
.faq-a a { color: var(--gold-ink); }
@media (hover: hover) { .faq-item summary:hover .faq-ico { border-color: var(--gold); } }

/* ==========================================================================
   Finale
   ========================================================================== */
.finale {
  position: relative;
  padding: clamp(72px, 12vw, 160px) var(--gutter);
  background: radial-gradient(60% 60% at 50% 50%, #fff5df, var(--paper-2) 70%);
  overflow: hidden;
}
.finale-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}
.finale-copy { position: relative; z-index: 1; }
.finale-script { font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); margin-bottom: .1em; }
.finale .h2 { margin-bottom: .45em; }
.finale .section-lede { margin-bottom: 1.8rem; }
.qr-card { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 760px) {
  .qr-card {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 420px;
    margin: 34px auto 0;
    padding: 14px 20px 14px 14px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--gold-line);
    box-shadow: var(--shadow-sm);
    text-align: left;
  }
  .qr-card img { width: 92px; height: 92px; padding: 6px; background: #fff; border-radius: 10px; }
  .qr-card p { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
  .qr-card strong { display: block; color: var(--ink); font-weight: 500; }
}
.finale-sprig {
  position: absolute;
  top: 50%;
  width: clamp(90px, 24vw, 220px);
  opacity: .5;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform 1.6s var(--ease-out), opacity 1.2s, clip-path 1.6s var(--ease-soft);
}
.finale-sprig-l { left: -9%; transform-origin: 100% 100%; }
.finale-sprig-r { right: -9%; transform-origin: 0 100%; }
.js .finale-sprig { clip-path: inset(100% 0 0 0); }
.js .finale-sprig-l { transform: translateY(-50%) rotate(-16deg); }
.js .finale-sprig-r { transform: translateY(-50%) rotate(16deg); }
.finale.is-in .finale-sprig { clip-path: inset(0 0 0 0); transform: translateY(-50%); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding: clamp(56px, 9vw, 96px) var(--gutter) calc(96px + var(--safe-b));
  background: var(--ink);
  color: #e9e1d4;
}
.footer-inner {
  display: grid;
  gap: 40px;
  max-width: var(--max);
  margin-inline: auto;
}
.footer-word {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.2rem + 3vw, 4.2rem);
  font-weight: 500;
  color: var(--paper);
  line-height: .95;
}
.footer-by { margin: -.05em 0 .5em; font-size: clamp(2.2rem, 1.8rem + 1.6vw, 2.9rem); color: var(--gold-bright); }
.footer-tag { color: #bfb5a6; max-width: 22em; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-h {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.footer-links { display: grid; gap: 6px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 40px;
  text-decoration: none;
  color: #efe8dc;
  transition: color .25s;
}
.footer-links .ico { color: var(--gold-bright); width: 1.1em; height: 1.1em; }
@media (hover: hover) { .footer-links a:hover { color: var(--gold-bright); } }
.footer-address { color: #efe8dc; line-height: 1.7; }
.footer-small { margin: 8px 0 6px; color: #a99f92; font-size: .875rem; }
.footer-links-sm a { font-size: .9375rem; color: #d5ccbe; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgb(233 225 212 / 14%);
  color: #a99f92;
  font-size: .875rem;
}
.footer-base p { margin: 0; }
.footer-base a, .footer-base .text-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: #d5ccbe; font-size: .875rem; }
.site-footer :focus-visible { outline-color: var(--gold-bright); }

/* ==========================================================================
   Mobile action bar
   ========================================================================== */
.action-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + var(--safe-b));
  z-index: 45;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgb(255 253 248 / 88%);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border: 1px solid rgb(230 213 174 / 80%);
  box-shadow: 0 12px 34px -12px rgb(60 40 15 / 35%);
  transform: translateY(calc(100% + 24px + var(--safe-b)));
  visibility: hidden;
  transition: transform .6s var(--ease-out), visibility 0s linear .6s;
}
.action-bar.is-visible { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
body.menu-open .action-bar { transform: translateY(calc(100% + 24px + var(--safe-b))); visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s linear .6s; }
.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 50px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: .9375rem;
  color: var(--ink);
  transition: transform .2s var(--ease-out), background-color .2s;
}
.action .ico { color: var(--gold-ink); }
.action:active { transform: scale(.95); background: var(--gold-soft); }
.action-wa { background: var(--ink); color: var(--paper); }
.action-wa .ico { color: var(--gold-bright); }
.action-wa:active { background: #000; }

/* ==========================================================================
   Consent + toast
   ========================================================================== */
.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-b));
  z-index: 60;
  max-width: 440px;
  padding: 20px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-lg);
  animation: rise .6s var(--ease-out) both;
  opacity: 0;
  transform: translateY(14px);
}
.consent-title { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.consent-text { margin: 0 0 14px; font-size: .9375rem; color: var(--muted); }
.consent-text a { color: var(--gold-ink); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 759px) {
  .consent { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px); bottom: auto; padding: 16px 16px 14px; }
  .consent-text { font-size: .875rem; margin-bottom: 10px; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + var(--safe-b));
  z-index: 70;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .9375rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Privacy + 404
   ========================================================================== */
.page-plain .brand { opacity: 1; transform: none; }
.page-plain .site-header::before { opacity: 1; }
.plain {
  max-width: 760px;
  margin-inline: auto;
  padding: calc(var(--header-h) + 48px) var(--gutter) 96px;
}
.plain h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 3vw, 4rem); line-height: 1.02; margin-bottom: .4em; }
.plain h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; margin: 1.6em 0 .4em; }
.plain p, .plain li { color: var(--ink-2); }
.plain ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.plain li + li { margin-top: .35em; }
.plain a { color: var(--gold-ink); }
.plain .meta { color: var(--muted); font-size: .9375rem; }
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 96px var(--gutter); }
.lost .script { font-size: clamp(4rem, 3rem + 6vw, 7rem); }
.lost h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem); line-height: 1.05; margin: .2em 0 .5em; }
.lost p { color: var(--muted); }
.lost img { width: min(60vw, 260px); margin: 0 auto 10px; }

/* ==========================================================================
   Scroll reveals
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-in, .js [data-reveal]:focus-within { opacity: 1; transform: none; }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 560px) {
  .hero-ctas { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .hero-art { width: min(62vw, 400px); width: clamp(160px, calc((100svh - 470px) * 1.08), min(62vw, 400px)); }
  .promise-list { grid-template-columns: repeat(3, 1fr); padding: 6px 0; }
  .promise-list li { flex-direction: column; text-align: center; gap: 10px; padding: 18px 10px; }
}

@media (min-width: 760px) {
  :root { --header-h: 76px; }
  body { font-size: 1.125rem; }
  .header-cta .hide-sm { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .brand-word { font-size: 1.85rem; }
  .brand-by { font-size: 1.55rem; }
  .service {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "ico body link";
    align-items: center;
    column-gap: 26px;
    padding: 26px 18px;
  }
  .service-ico { width: 76px; height: 76px; }
  .service-ico svg { width: 50px; height: 50px; }
  .service-link { margin: 0; padding-left: 14px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 92px 0 0; }
  .step { text-align: center; }
  .step p { margin-inline: auto; }
  .step-num { left: 50%; top: -92px; transform: translateX(-50%); width: 60px; height: 60px; font-size: 1.9rem; }
  .paw-trail { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 60px; }
  .paw-trail::before { left: 16%; right: 16%; top: 29px; bottom: auto; border-left: 0; border-top: 1.5px dotted var(--gold-line); }
  .about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .about-art { width: min(100%, 400px); }
  .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .action-bar { display: none; }
  .consent { left: 24px; bottom: 24px; }
  .toast { bottom: 32px; }
  .site-footer { padding-bottom: 40px; }
}

@media (min-width: 1000px) {
  .nav {
    display: flex;
    gap: clamp(18px, 2.2vw, 34px);
    margin-right: 18px;
  }
  .nav a {
    position: relative;
    padding: 8px 0;
    font-size: .975rem;
    text-decoration: none;
    color: var(--ink-2);
    transition: color .25s;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--ease-out);
  }
  .nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
  .nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
  .menu-toggle { display: none; }
  .hero-art { width: min(36vw, 460px); width: clamp(200px, calc((100svh - 480px) * 1.08), min(36vw, 460px)); }
  .hero-floral { width: clamp(200px, 22vw, 320px); }
  .hero-floral-tl { left: 0; }
  .hero-floral-tr { right: 0; }
  .finale-sprig { opacity: .85; }
  .finale-sprig-l { left: 2%; }
  .finale-sprig-r { right: 2%; }
}

@media (min-width: 1000px) and (min-height: 760px) {
  .hero-ctas { margin-top: 4px; }
}

@media (min-width: 760px) and (max-width: 999px) { .about-sprig { right: -8%; } }
@media (max-width: 400px) { .map { aspect-ratio: 1; } }

/* short landscape phones: keep the hero inside the screen */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); padding-bottom: 56px; }
  .hero-art { width: 220px; }
}
@media (max-height: 560px) and (orientation: landscape) and (pointer: coarse) {
  .action-bar { display: grid; max-width: 560px; margin-inline: auto; }
  .site-footer { padding-bottom: calc(96px + var(--safe-b)); }
}


/* ==========================================================================
   Reduced motion: show everything, keep it still
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .hero-dogs, .js .hero-halo, .js .seal, .js .hero-floral, .js .hero-eyebrow, .js .wordmark > span,
  .js .hero-lede, .js .hero-ctas, .js .hero-note, .js .scroll-cue, .js [data-reveal] {
    opacity: 1; transform: none; filter: none;
  }
  .js .hero-floral { opacity: .9; }
  .js .wordmark .tittle { transform: translate(-50%, -38%); }
  .js .hero-by { -webkit-mask-image: none; mask-image: none; }
  .js .service-ico [pathLength] { stroke-dashoffset: 0; }
  .js .service-ico .fill-in { opacity: 1; transform: none; }
  .js .finale-sprig { clip-path: none; }
  .js .finale-sprig-l, .js .finale-sprig-r { transform: translateY(-50%); }
  .paw { opacity: 1; transform: translate(-50%, -50%) rotate(var(--rot)); }
  .seal-ring { animation: none; }
}

@media print {
  .site-header, .action-bar, .consent, .bubbles, .scroll-cue, .menu { display: none !important; }
  .js [data-reveal], .js .hero-dogs, .js .wordmark > span, .js .hero-lede, .js .hero-ctas { opacity: 1 !important; transform: none !important; filter: none !important; }
}
