/* Birdhouse Dog Co. — site styles
   Palette matches the blue, yellow, and cream brand logo; everything here is plain CSS. */

/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Birdhouse Handdrawn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/birdhouse-handdrawn-v4.woff2") format('woff2');
}

:root {
  --cream: #FBF8F3;
  --ink: #1E1A17;
  --blue: #005F8F;
  --yellow: #FFCF70;
  --pink: #ABA53F;
  --white: #FFFFFF;
  --body: #3A3A38;
  --muted: #57574F;
  --faint: #8A8A82;
  --line: #E6E0D6;
  --dark: #2B2B28;
  --error: #B4466A;
  --font: 'DM Sans', Helvetica, Arial, sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-md: 4px 4px 0 var(--ink);
  --shadow-lg: 5px 5px 0 var(--ink);
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { background: var(--cream); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  /* Faint cartoon dog-bone wallpaper so cards and photos stand off the page. */
  background: var(--cream) url("../img/bone-pattern.svg") 0 0 / 480px 480px repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  line-height: 1.5;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: #005F8F; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.05; }
h1 { font-weight: 800; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 1100px; }
.wrap--text { max-width: 900px; }
.section { padding-top: 56px; padding-bottom: 56px; }
.section--tight { padding-top: 24px; padding-bottom: 24px; }
.section--end { padding-bottom: 80px; }
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .section--end { padding-bottom: 56px; }
}

.eyebrow {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 8px 18px; font-size: 14px; font-weight: 600; margin-bottom: 24px;
  background: var(--blue);
}
.eyebrow--yellow { background: var(--yellow); }
.eyebrow--pink { background: var(--pink); }
.kicker { font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }

.h-display { font-size: clamp(42px, 7.5vw, 88px); line-height: 0.96; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }
.h-hero { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
@media (max-width: 480px) { .h-hero > span { display: inline !important; } }
.h-xl { font-size: clamp(32px, 5vw, 56px); line-height: 1.02; }
.h-lg { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.04; }
.h-md { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.04; }
.h-sm { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.05; }
.lead { font-size: 20px; line-height: 1.55; color: var(--body); text-wrap: pretty; max-width: 52ch; }
.sub { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 54ch; text-wrap: pretty; }
.copy { font-size: 19px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.copy + .copy { margin-top: 18px; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; } .mb-4 { margin-bottom: 40px; }
@media (max-width: 640px) {
  .lead { font-size: 18px; }
  .sub { font-size: 17px; }
  .copy { font-size: 17px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid var(--ink);
  font-size: 17px; font-weight: 600; line-height: 1.2; cursor: pointer;
  background: var(--white); color: var(--ink); text-align: center;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  min-height: 48px; white-space: nowrap;
}
.btn:hover { background: var(--blue); color: var(--cream); }
.btn--hover-pink:hover { background: var(--pink); color: var(--ink); }
.btn--pink { background: var(--pink); }
.btn--pink:hover { background: var(--ink); color: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--pink); color: var(--ink); }
.btn--cream { background: var(--cream); }
.btn--cream:hover { background: var(--white); color: var(--ink); }
.btn--lg { padding: 17px 32px; font-size: 18px; }
.btn--raised { box-shadow: var(--shadow-md); }
.btn--raised:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--sm { padding: 12px 20px; font-size: 15px; min-height: 44px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }
@media (max-width: 480px) {
  .btn { white-space: normal; }
  .btn-row > .btn { flex: 1 1 auto; }
  /* Social buttons: an even two-column grid, with an odd last button spanning the row. */
  .btn-row--social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .btn-row--social > .btn { padding-left: 12px; padding-right: 12px; }
  .btn-row--social > .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Cards and stickers ---------- */
.card {
  border: 1.5px solid var(--ink); border-radius: var(--radius-md);
  background: var(--white); overflow: hidden;
}
.card--raised { box-shadow: var(--shadow-md); }
.card--lg { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.card--dark { background: var(--ink); color: var(--cream); }
.card--dark .sub, .card--dark .copy, .card--dark p { color: var(--line); }
.card--blue { background: var(--blue); }
.card--yellow { background: var(--yellow); }
.card--pink { background: var(--pink); }
.card--cream { background: var(--cream); }
.card__head { border-bottom: 1.5px solid var(--ink); padding: 18px 24px; }
.card__head h3 { font-size: 26px; }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body p { font-size: 16px; line-height: 1.6; color: var(--body); }
.card--flex { display: flex; flex-direction: column; }
.card__spacer { flex: 1; }
.package-prices { margin-top: 14px; border-top: 1.5px solid var(--ink); }
.package-prices summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 14px 2px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600;
}
.package-prices summary::-webkit-details-marker { display: none; }
.package-prices summary::after { content: "+"; font-size: 24px; line-height: 1; }
.package-prices[open] summary::after { content: "−"; }
.package-prices summary:hover { background: var(--cream); }
.package-prices dl { margin: 0; font-size: 16px; }
.package-prices dl > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 2px; border-top: 1px solid var(--line);
}
.package-prices dd { margin: 0; font-weight: 700; }
.pad { padding: clamp(30px, 5vw, 60px); }
.pad--sm { padding: 22px 24px; }

.sticker {
  position: absolute; background: var(--white); border: 1.5px solid var(--ink);
  border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-sm); white-space: nowrap; z-index: 2;
}
.sticker--yellow { background: var(--yellow); }
.sticker--blue { background: var(--blue); }
@media (max-width: 640px) {
  .sticker { font-size: 13px; padding: 9px 12px; }
}

.list { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--ink); margin: 0; padding: 0; list-style: none; }
.list--check li { display: flex; gap: 10px; align-items: flex-start; }
.list--check li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231E1A17' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 44px; align-items: center; }
.grid--split > * { min-width: 0; }
.stat { background: var(--dark); color: var(--cream); border-radius: 16px; padding: 20px; }
.stat__n { font-size: 26px; font-weight: 800; }
.stat__l { font-size: 15px; line-height: 1.45; margin-top: 7px; }
.stat--light { background: var(--white); border: 1.5px solid var(--ink); box-shadow: var(--shadow-md); border-radius: 20px; color: var(--ink); padding: 24px; }
.stat--light .stat__n { font-size: 30px; }
.stat--light .stat__l { font-size: 16px; }
.stat--blue { background: var(--blue); } .stat--yellow { background: var(--yellow); }

.step-card { border: 1.5px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); padding: 22px; }
.step-card--cream { background: var(--cream); }
.step-card__n {
  width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; margin-bottom: 16px;
}
.step-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 7px; line-height: 1.3; }
.step-card p { font-size: 15px; line-height: 1.5; color: var(--muted); }

.cta-bar {
  border: 1.5px solid var(--ink); border-radius: 20px; background: var(--white); padding: 28px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.cta-bar__text { min-width: 0; font-size: 19px; line-height: 1.4; font-weight: 500; flex: 1 1 320px; }
.cta-bar--cream { background: var(--cream); }

.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { border: 1.5px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); padding: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-size: 18px; font-weight: 700; line-height: 1.3;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; flex: none; color: var(--faint); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--body); }
.faq p a { text-decoration: underline; text-underline-offset: 3px; }

.price-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.price-chip {
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 14px; padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.price-chip__w { font-size: 14px; font-weight: 700; }
.price-chip__p { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.price-big { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price-note { font-size: 14px; color: var(--muted); }
.addon { display: inline-flex; gap: 6px; align-items: baseline; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink); padding: 8px 16px; font-size: 15px; }
.addon b { font-weight: 700; }
.addons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Photos ---------- */
.photo {
  border: 1.5px solid var(--ink); border-radius: var(--radius-md); overflow: hidden;
  background: var(--line); box-shadow: var(--shadow-md); position: relative;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--lg { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.photo--4x5 { aspect-ratio: 4 / 5; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--3x4 { aspect-ratio: 3 / 4; }
.photo--wide { aspect-ratio: 21 / 9; }
.photo--light { border-color: var(--cream); box-shadow: none; }
.photo__tag {
  position: absolute; top: 16px; left: 16px; background: var(--white); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 16px; font-size: 15px; font-weight: 700;
}
.photo__tag--after { background: var(--yellow); }
/* Home page group photo: the shorter phone crop shifts down so the dogs' paws stay in frame. */
.hero-group img { object-position: 50% 68%; }
@media (max-width: 640px) { .hero-group img { object-position: 50% 87%; } }
@media (max-width: 640px) {
  .photo--wide { aspect-ratio: 16 / 10; }
  .photo__tag { top: 10px; left: 10px; font-size: 13px; padding: 5px 12px; }
}

/* Automatically scrolling grooming gallery. */
.grooming-gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px; overflow: hidden; touch-action: pan-y;
  list-style: none; margin: 0; padding: 2px 6px 14px 2px;
  scrollbar-width: none;
}
.grooming-gallery__track::-webkit-scrollbar { display: none; }
.grooming-gallery__slide { margin: 0; aspect-ratio: 4 / 5; }
.grooming-gallery__slide picture { display: block; width: 100%; height: 100%; }
.grooming-gallery__track.is-autoscrolling { scroll-snap-type: none; scroll-behavior: auto; }
@media (max-width: 760px) {
  .grooming-gallery__track { grid-auto-columns: 46%; gap: 14px; }
}
@media (max-width: 480px) {
  .grooming-gallery__track { grid-auto-columns: 86%; }
}

/* Photo duo: tall photo + stacked card */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; position: relative; padding-bottom: 20px; }
.duo > .photo { aspect-ratio: 4 / 5; width: 100%; height: auto; }
.duo__stack { display: grid; gap: 20px; grid-template-rows: auto minmax(0, 1fr); min-width: 0; }
.duo__stack .photo { aspect-ratio: auto; height: 100%; min-height: 0; }
/* Rotating training photos (js/rotator.js). The slots have fixed shapes and the photos sit
   inside them absolutely, so changing photos never changes the page height or moves the scroll. */
[data-rotator] .photo > picture { display: block; position: absolute; inset: 0; }
.duo[data-rotator] .duo__stack { grid-template-rows: auto auto; }
.duo[data-rotator] .duo__stack .photo { aspect-ratio: 4 / 5; height: auto; }
.rotator__flyer { position: absolute; z-index: 3; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.rotator__flyer > div { position: absolute; inset: 0; will-change: clip-path; }
.rotator__flyer-shadow { background: var(--ink); transform: translate(5px, 5px); }
.rotator__flyer-frame { background: var(--ink); }
.rotator__flyer > .rotator__flyer-photo { inset: 1.5px; overflow: hidden; background: var(--line); }
.rotator__flyer-photo picture { display: block; width: 100%; height: 100%; }
.rotator__flyer-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Every version of the card text shares one cell, so the card keeps the height of the longest. */
.rotator__card { display: grid; transition: background-color .8s ease, color .8s ease; }
.rotator__card .sub { color: inherit; }
.rotator__copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.rotator__copy.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease .35s, visibility 0s linear 0s; }
@media (max-width: 760px) {
  .duo { grid-template-columns: 1fr; }
  .duo__stack { grid-template-rows: auto auto; }
  .duo__stack .photo, .duo[data-rotator] .duo__stack .photo { aspect-ratio: 4 / 3; height: auto; }
}

/* Before & after */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 34px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; min-width: 0; }
.ba-pair figure { margin: 0; min-width: 0; }
@media (max-width: 640px) { .ba-pair { gap: 12px; } }

/* ---------- Social feeds (SnapWidget embeds) ---------- */
.feed { display: flex; flex-direction: column; }
.feed__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 18px 22px; border-bottom: 1.5px solid var(--ink); }
.feed__head h3 { font-size: 24px; }
.feed__body { padding: 14px; background: var(--white); flex: 1; min-height: 240px; }
.feed__body iframe { display: block; width: 100%; border: 0; overflow: hidden; }
.feed__placeholder { height: 100%; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; border: 1.5px dashed var(--line); border-radius: 16px; padding: 24px; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 20px; background: transparent; }
.nav { max-width: 1180px; margin: 0 auto; display: flex; align-items: stretch; gap: 10px; }
.nav__logo {
  display: flex; align-items: center; flex: none; background: var(--blue); border: 1.5px solid var(--ink);
  border-radius: 999px; box-shadow: var(--shadow-sm); padding: 4px 22px;
}
.nav__logo img { width: 92px; height: auto; aspect-ratio: 440 / 287; object-fit: cover; }
.nav__spacer { flex: 1; }
.nav__pill {
  flex: none; display: flex; align-items: center; gap: 22px; background: var(--cream);
  border: 1.5px solid var(--ink); border-radius: 999px; box-shadow: var(--shadow-sm); padding: 8px 10px 8px 26px;
}
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav__links a[aria-current="page"] { font-weight: 700; border-bottom: 2px solid var(--ink); }
.nav__book { background: var(--pink); color: var(--ink); padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1.5px solid var(--ink); }
.nav__book:hover { background: var(--blue); color: var(--cream); }
.nav__toggle {
  display: none; flex: none; width: 50px; height: 50px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--cream); box-shadow: var(--shadow-sm); cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform 200ms ease, background 200ms ease; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform 200ms ease, top 200ms ease; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav__menu { display: none; }
@media (max-width: 820px) {
  .site-header { padding: 12px 16px; }
  .nav__logo { padding: 4px 16px; }
  .nav__logo img { width: 78px; }
  .nav__pill { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu {
    display: none; position: absolute; left: 16px; right: 16px; top: calc(100% - 2px);
    background: var(--cream); border: 1.5px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow-md);
    padding: 10px; flex-direction: column; gap: 4px;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 14px 16px; border-radius: 14px; font-size: 18px; font-weight: 600; }
  .nav__menu a:hover { background: var(--white); color: var(--ink); }
  .nav__menu a[aria-current="page"] { background: var(--white); }
  .nav__menu .nav__book { text-align: center; margin-top: 4px; background: var(--pink); }
}

/* ---------- Hero word swap ---------- */
.swap-word {
  font-family: 'Birdhouse Handdrawn', var(--display); font-weight: 400; color: var(--pink);
  text-shadow: 0.06em 0.06em 0 var(--ink); transition: color 320ms ease; display: inline-block;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: var(--cream); }
.site-footer .wrap { max-width: 1180px; padding-top: 52px; padding-bottom: 52px; display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-end; justify-content: space-between; }
.site-footer__brand img { width: 150px; height: auto; aspect-ratio: 440 / 287; object-fit: cover; margin-bottom: 16px; }
.site-footer__brand div { font-size: 15px; line-height: 1.6; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); border: 1.5px solid var(--cream); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14px; font-weight: 600; }
.site-footer__social a:hover { background: var(--cream); color: var(--blue); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; font-weight: 500; }
.site-footer__links a { color: var(--line); }
.site-footer__links a:hover { color: var(--white); }
.site-footer__fine { width: 100%; font-size: 13px; color: var(--cream); margin-top: 8px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; min-width: 0; }
.field__hint { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--ink);
  border-radius: 12px; background: var(--cream); min-width: 0; width: 100%; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231E1A17' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field--full { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.form-error { font-size: 15px; font-weight: 600; color: var(--error); margin-top: 18px; }
.form-ok { font-size: 16px; font-weight: 600; margin-top: 14px; }
.contact-list { display: flex; flex-direction: column; gap: 13px; font-size: 17px; }
.contact-list a { border-bottom: 1.5px solid var(--ink); }
.contact-list strong { font-weight: 700; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

/* ---------- Booking wizard ---------- */
.wizard { max-width: 880px; margin: 0 auto; padding: 44px var(--gutter) 96px; }
.wizard__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.wizard__pill { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); background: var(--blue); padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.wizard__count { font-size: 14px; font-weight: 600; color: var(--muted); }
.wizard__bar { height: 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); overflow: hidden; margin-bottom: 28px; }
.wizard__bar div { height: 100%; width: 0; background: var(--blue); border-right: 1.5px solid var(--ink); transition: width 300ms ease; }
.wizard__card {
  background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 5vw, 48px); min-height: clamp(420px, 60vh, 600px); display: flex; flex-direction: column; overflow: hidden;
}
.wizard__body { flex: 1; transition: opacity 160ms ease, transform 160ms ease; }
.wizard__body.is-out { opacity: 0; transform: translateX(-16px); }
.wizard__body.is-out.is-back { transform: translateX(16px); }
.wizard__body.is-enter { opacity: 0; transform: translateX(16px); transition: none; }
.wizard__body.is-enter.is-back { transform: translateX(-16px); }
.wizard__title { font-size: clamp(28px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 12px; text-wrap: balance; }
.wizard__sub { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 52ch; text-wrap: pretty; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-top: 28px; }
.option {
  text-align: left; cursor: pointer; border: 1.5px solid var(--ink); border-radius: 18px; padding: 20px 20px 18px;
  background: var(--white); color: var(--ink); display: flex; flex-direction: column; gap: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.option:hover { background: var(--cream); }
.option__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.option__label { font-weight: 700; font-size: 19px; line-height: 1.25; }
.option__mark {
  width: 22px; height: 22px; flex: none; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--white);
}
.option--multi .option__mark { border-radius: 6px; }
.option__desc { font-size: 15px; line-height: 1.45; color: var(--body); }
.option.is-selected { background: var(--accent, var(--blue)); box-shadow: var(--shadow-md); transform: translate(-2px, -2px); }
.option.is-selected .option__mark { background: var(--ink); }
.option.is-selected .option__mark::after { content: "✓"; }
.option.is-selected .option__desc { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  cursor: pointer; border: 1.5px solid var(--ink); border-radius: 999px; padding: 12px 20px; min-height: 48px;
  background: var(--white); color: var(--ink); font-size: 16px; font-weight: 600; display: flex; flex-direction: column; align-items: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.chip small { font-size: 12px; font-weight: 500; margin-top: 2px; }
.chip.is-selected { background: var(--accent, var(--blue)); box-shadow: var(--shadow-sm); transform: translate(-2px, -2px); }
.wizard__fields { margin-top: 28px; }
.review { margin-top: 28px; border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; }
.review__row { display: grid; grid-template-columns: minmax(110px, 200px) minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-bottom: 1.5px solid var(--line); font-size: 16px; line-height: 1.45; }
.review__row:last-child { border-bottom: 0; }
.review__row span:first-child { color: var(--muted); }
.review__row span:last-child { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) { .review__row { grid-template-columns: 1fr; gap: 2px; } }
.wizard__nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 34px; padding-top: 24px; border-top: 1.5px dashed var(--line); }
.wizard__next { background: var(--pink); box-shadow: var(--shadow-md); padding: 15px 30px; }
.wizard__next:hover { background: var(--ink); color: var(--cream); }
.wizard__next.is-dim { opacity: 0.55; }
.wizard__next[disabled] { opacity: 0.6; cursor: wait; }
.wizard__foot { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 24px 4px 0; text-align: center; }
.wizard__foot a { font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.wizard__done {
  background: var(--accent, var(--blue)); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(30px, 6vw, 60px); text-align: center;
}
.wizard__done-mark { width: 72px; height: 72px; margin: 0 auto 22px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 700; }
.wizard__done h1 { font-size: clamp(32px, 5.5vw, 54px); line-height: 1.04; margin-bottom: 16px; text-wrap: balance; }
.wizard__done p { font-size: 19px; line-height: 1.55; margin: 0 auto 30px; max-width: 46ch; text-wrap: pretty; }
@media (max-width: 480px) {
  .wizard__nav { flex-direction: column-reverse; align-items: stretch; }
  .wizard__nav .btn { width: 100%; }
  .wizard__nav > div { display: flex; }
  .wizard__nav > div .btn { flex: 1; }
}

/* Embedded on the home page, inside the yellow contact card */
@media (min-width: 900px) { .contact-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.wizard--embed { max-width: none; margin: 0; padding: 0; min-width: 0; }
.wizard--embed .wizard__card { min-height: 0; padding: clamp(22px, 3.5vw, 34px); }
.wizard--embed .wizard__title { font-size: clamp(26px, 3.4vw, 34px); }
.wizard--embed .wizard__sub { font-size: 16px; }
.wizard--embed .wizard__count { color: var(--ink); }
.wizard--embed .options { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin-top: 22px; }
.wizard--embed .wizard__fields, .wizard--embed .review { margin-top: 22px; }
.wizard--embed .form-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.wizard--embed .wizard__nav { margin-top: 26px; padding-top: 20px; }
.wizard--embed .wizard__done h3 { font-size: clamp(28px, 4vw, 40px); line-height: 1.05; margin-bottom: 14px; text-wrap: balance; }
.wizard--embed .wizard__done p { font-size: 17px; }

/* ---------- Intro reveal ---------- */
#bh-intro { display: none; position: fixed; inset: 0; z-index: 9999; background: var(--blue); align-items: center; justify-content: center; clip-path: circle(150% at 50% 50%); will-change: clip-path; pointer-events: none; }
html.bh-intro-pending #bh-intro { display: flex; }
#bh-intro img { width: min(440px, 70vw); height: auto; aspect-ratio: 440 / 287; object-fit: cover; will-change: transform, opacity; }

/* Cream text keeps the deeper brand blue readable. */
.card--blue, .sticker--blue, .stat--blue, .eyebrow, .wizard__pill { color: var(--cream); }
.card--blue p, .stat--blue .stat__l { color: var(--cream); }
/* Light boxes sitting on a blue card keep dark text. */
.card--blue .step-card, .card--blue .cta-bar { color: var(--ink); }
.card--blue .step-card p { color: var(--muted); }
.eyebrow--yellow, .eyebrow--pink { color: var(--ink); }
.stat--pink { background: var(--pink); }
.option.is-selected, .chip.is-selected, .wizard__done { color: var(--accent-ink, var(--cream)); }
.option.is-selected .option__desc { color: inherit; }
.wizard__pill { color: var(--accent-ink, var(--cream)); }
.wizard__done-mark { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .option, .chip, .wizard__body { transition: none !important; }
}
