/* Shared colours keep the original artwork intact in both appearances. */
:root {
  color-scheme: light;
  --cream: #f7fbff;
  --paper: #ffffff;
  --ink: #1f3366;
  --green: #0e58a5;
  --muted: #586e88;
  --sage: #e3f2fc;
  --coral: #f4c440;
  --peach: #e6f4ff;
  --line: #cfdeed;
  --header-surface: rgba(247, 251, 255, .96);
  --floating-surface: rgba(247, 251, 255, .98);
  --input-surface: #f8fbff;
  --input-line: #9bb0c6;
  --placeholder: #64758c;
  --soft-blue: #e8f7ff;
  --mid-blue: #e1f0fc;
  --soft-yellow: #fff4d5;
  --soft-indigo: #e5eefc;
  --area-surface: #ecf7ff;
  --panel-surface: #ffffff;
  --action: #0e58a5;
  --action-hover: #104982;
  --action-ink: #ffffff;
  --yellow-ink: #1f3366;
  --focus: #0e58a5;
  --error: #a53827;
  --error-surface: #fff0e9;
  --logo-surface: transparent;
  --logo-padding: 0;
  --logo-shadow: none;
  --hero-disc: #cfedfb;
  --hero-disc-rim: #e7f6ff;
  --hero-disc-line: #92cbed;
  --foam-surface: #ebf9ff;
  --foam-line: #9bd4ee;
  --foam-shine: #ffffff;
  --panel-shadow: 0 15px 45px rgba(14, 88, 165, .08);
  --popup-shadow: 0 14px 40px rgba(14, 52, 97, .14);
  --photo-caption-surface: rgba(255, 255, 255, .96);
  --dialog-backdrop: rgba(8, 20, 38, .76);
}

/* A saved choice wins over the operating-system preference. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --cream: #0d1726;
  --paper: #17263b;
  --ink: #edf5ff;
  --green: #87c9ff;
  --muted: #b1c3d9;
  --sage: #1a324a;
  --peach: #13273c;
  --line: #405871;
  --header-surface: rgba(13, 23, 38, .97);
  --floating-surface: rgba(19, 33, 51, .98);
  --input-surface: #0f1d2f;
  --input-line: #647d98;
  --placeholder: #a7b9cf;
  --soft-blue: #173248;
  --mid-blue: #1a2d46;
  --soft-yellow: #343022;
  --soft-indigo: #262f49;
  --area-surface: #11253a;
  --panel-surface: #17263b;
  --action: #1763ad;
  --action-hover: #1a70c2;
  --focus: #87c9ff;
  --error: #ffb6a8;
  --error-surface: #422b2c;
  --logo-surface: #f7fbff;
  --logo-padding: 6px 10px;
  --logo-shadow: 0 2px 9px rgba(0, 0, 0, .12);
  --hero-disc: #dcf1fc;
  --hero-disc-rim: #c4e4f6;
  --hero-disc-line: #6c9ebc;
  --foam-surface: #193b55;
  --foam-line: #6fa6c9;
  --foam-shine: #315978;
  --panel-shadow: 0 15px 45px rgba(0, 0, 0, .2);
  --popup-shadow: 0 16px 42px rgba(0, 0, 0, .35);
  --photo-caption-surface: rgba(20, 37, 56, .96);
  --dialog-backdrop: rgba(0, 7, 17, .88);
}

/* The page follows the system even when JavaScript is unavailable. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --cream: #0d1726;
    --paper: #17263b;
    --ink: #edf5ff;
    --green: #87c9ff;
    --muted: #b1c3d9;
    --sage: #1a324a;
    --peach: #13273c;
    --line: #405871;
    --header-surface: rgba(13, 23, 38, .97);
    --floating-surface: rgba(19, 33, 51, .98);
    --input-surface: #0f1d2f;
    --input-line: #647d98;
    --placeholder: #a7b9cf;
    --soft-blue: #173248;
    --mid-blue: #1a2d46;
    --soft-yellow: #343022;
    --soft-indigo: #262f49;
    --area-surface: #11253a;
    --panel-surface: #17263b;
    --action: #1763ad;
    --action-hover: #1a70c2;
    --focus: #87c9ff;
    --error: #ffb6a8;
    --error-surface: #422b2c;
    --logo-surface: #f7fbff;
    --logo-padding: 6px 10px;
    --logo-shadow: 0 2px 9px rgba(0, 0, 0, .12);
    --hero-disc: #dcf1fc;
    --hero-disc-rim: #c4e4f6;
    --hero-disc-line: #6c9ebc;
    --foam-surface: #193b55;
    --foam-line: #6fa6c9;
    --foam-shine: #315978;
    --panel-shadow: 0 15px 45px rgba(0, 0, 0, .2);
    --popup-shadow: 0 16px 42px rgba(0, 0, 0, .35);
    --photo-caption-surface: rgba(20, 37, 56, .96);
    --dialog-backdrop: rgba(0, 7, 17, .88);
  }
}

html, body { background: var(--cream); color: var(--ink); }
::selection { background: var(--action); color: var(--action-ink); }
.site-header { background: var(--header-surface); border-bottom-color: var(--line); }
.brand {
  background: var(--logo-surface);
  padding: var(--logo-padding);
  border-radius: 12px;
  box-shadow: var(--logo-shadow);
  max-width: 100%;
}
.brand-original { filter: none; }
.hero-accent, .area-inner h2, .faq-doodle { color: var(--green); }
.hero-description, .hero-note, .section-intro, .small-note,
.service-number, .service-card p, .weight-label,
.area-inner > div > p:not(.eyebrow),
.booking-copy > p:not(.eyebrow), .required-note, .optional,
.privacy-note, .faq-list details p, .brand-story > div > p:not(.eyebrow),
.footer-main > div > p:last-child:not(.footer-tagline) { color: var(--muted); }
.benefits span { color: var(--muted); }
.benefits, .benefits > div + div, .pet-switch, .price-card,
.faq-list details, .faq-list details:first-child { border-color: var(--line); }
.button-dark, .pet-switch button[aria-pressed="true"], .skip-link {
  background: var(--action);
  color: var(--action-ink);
}
.button-dark:hover { background: var(--action-hover); }
.button-coral, .art-sticker {
  background: #f4c440;
  color: var(--yellow-ink);
}
.button-coral:hover { background: #edbb32; }
.button:hover { box-shadow: var(--panel-shadow); }
.service-sage { background: var(--soft-blue); }
.service-peach { background: var(--mid-blue); }
.service-yellow { background: var(--soft-yellow); }
.service-lilac { background: var(--soft-indigo); }
.service-card > a, .price-link, .contact-block { border-color: var(--line); }
.service-icon, .price-pet, .service-instagram, .field label > span[aria-hidden] { color: var(--green); }
.service-card:hover { box-shadow: var(--panel-shadow); }
.experience { background: #1d3e75; color: #f4f8ff; }
.experience h2, .steps h3 { color: #f4f8ff; }
.experience-copy > p:not(.eyebrow):not(.experience-note), .steps p { color: #d8eafa; }
.experience .eyebrow, .step-number, .experience-doodle { color: #f4c440; }
.experience-note { color: #fff0b0; }
.price-card { background: var(--paper); }
.price-card-cat { background: var(--sage); }
.price-card:hover { border-color: var(--green); }
.price-card.selected { outline-color: var(--green); }
.area-section { background: var(--area-surface); }
.text-link { border-color: var(--green); }
.faq-list summary > span::before, .faq-list summary > span::after { background: var(--green); }
.booking-section { background: var(--peach); }
.booking-path { background: var(--paper); color: var(--ink); }
.booking-card { background: var(--paper); box-shadow: var(--panel-shadow); }
input, select, textarea {
  background: var(--input-surface);
  border-color: var(--input-line);
  color: var(--ink);
  caret-color: var(--green);
}
input::placeholder, textarea::placeholder { color: var(--placeholder); }
select option { background: var(--input-surface); color: var(--ink); }
.field-error { color: var(--error); }
.field.has-error input, .field.has-error select, [aria-invalid="true"] { border-color: var(--error); }
#form-status { color: var(--green); }
#form-status:not(:empty) { background: var(--sage); }
#form-status.is-error { color: var(--error); background: var(--error-surface); }
.site-footer { background: var(--cream); }
.footer-main > div:not(:first-child) > a { color: var(--muted); }
.footer-bottom { color: #eaf6ff; background: #1d3e75; }
.mobile-booking { background: var(--floating-surface); border-color: var(--line); }
.mobile-booking > a:first-child { border-color: var(--line); }
.mobile-booking > a:last-child { background: var(--action); color: var(--action-ink); }
.menu-toggle { border-color: var(--line); }
.menu-toggle span { background: var(--green); }
.language-list { background: var(--paper); border-color: var(--line); box-shadow: var(--popup-shadow); }
.language-list > a:hover, .language-list > a[aria-current] { background: var(--sage); }

/* The emblem is artwork, so its native colours retain a light surface. */
.hero-brand-bubble {
  background: var(--hero-disc);
  box-shadow: inset 0 0 0 10px var(--hero-disc-rim);
}
.hero-brand-bubble::after { border-color: var(--hero-disc-line); }
.foam-bubble {
  background: var(--foam-surface);
  border-color: var(--foam-line);
  box-shadow: inset 3px 3px 0 var(--foam-shine);
}
.art-sticker { border-color: var(--cream); }
.art-label, .van-card { background: var(--paper); border-color: var(--line); box-shadow: var(--panel-shadow); }
.van-design { background: var(--sage); border-color: var(--line); }
.van-design figcaption { color: var(--muted); }

/* Real grooming photographs are never recoloured for an appearance mode. */
.hero-photo-card, .instagram-preview, .portfolio-item {
  background: var(--panel-surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--panel-shadow);
}
.hero-photo-card img, .portfolio-image img { filter: none; }
.photo-caption { background: var(--photo-caption-surface); color: var(--ink); border-color: var(--line); }
.portfolio-intro { color: var(--muted); }
.portfolio-intro h2, .portfolio-caption { color: var(--ink); }
.portfolio-caption p, .portfolio-caption span, .photo-caption p { color: var(--muted); }
.portfolio-link { color: var(--green); border-color: var(--green); }
.portfolio-mark { background: var(--sage); color: var(--green); }
.portfolio-item button { color: inherit; }
.instagram-frame { border-color: var(--line); background: #ffffff; }
.instagram-frame iframe { color-scheme: light; background: #ffffff; }
.gallery-dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--popup-shadow);
}
.gallery-dialog::backdrop { background: var(--dialog-backdrop); backdrop-filter: blur(7px); }
.gallery-dialog button { color: var(--ink); background: var(--paper); border-color: var(--line); }
.gallery-dialog img { filter: none; }

/* A compact three-choice picker: System / Light / Dark. */
.theme-picker { position: relative; flex-shrink: 0; }
.theme-toggle {
  width: 42px;
  height: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  list-style: none;
  cursor: pointer;
}
.theme-toggle::-webkit-details-marker { display: none; }
.theme-toggle::marker { content: ''; }
.theme-toggle .icon, .theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle:hover, .theme-toggle[aria-expanded="true"], .theme-picker[open] .theme-toggle { background: var(--sage); border-color: var(--green); }
.theme-options {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: 216px;
  max-width: calc(100vw - 32px);
  padding: 7px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--popup-shadow);
}
.theme-options button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
}
.theme-options button .icon, .theme-options button svg { width: 19px; height: 19px; flex-shrink: 0; }
.theme-options button:hover { background: var(--sage); }
.theme-options button[aria-pressed="true"] { background: var(--sage); color: var(--green); border-color: var(--line); }
.theme-options button[aria-pressed="true"]::after { content: '\2713'; margin-left: auto; font-size: 15px; font-weight: 750; }
button:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.gallery-dialog:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.experience a:focus-visible, .experience button:focus-visible,
.footer-bottom a:focus-visible { outline-color: #f4c440; }
.theme-options button:focus-visible { outline-offset: -3px; }

@media (max-width: 700px) {
  .theme-toggle { width: 36px; height: 36px; min-height: 36px; }
  .theme-options { top: calc(100% + 14px); right: -8px; }
  .nav-actions { gap: 10px; }
  .brand { border-radius: 10px; }
  .footer-main > div:first-child { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .nav-wrap { gap: 8px; }
  .nav-actions { gap: 7px; }
  .site-header .brand-original { width: 127px; }
  .theme-options { right: -6px; }
}

@media (forced-colors: active) {
  .theme-toggle, .theme-options, .theme-options button[aria-pressed="true"] { border: 1px solid ButtonText; }
}

@media print {
  :root { color-scheme: light; }
  html, body, .site-footer, .booking-section, .booking-card, .price-card,
  .service-card, .area-section, .gallery-dialog { background: white; color: black; }
  .theme-picker { display: none; }
}
/* Direct language choices follow the owner's existing project preference. */
.language-buttons{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--line);border-radius:100px;flex-shrink:0}.language-buttons>a{width:29px;height:30px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:700;color:var(--muted);line-height:1}.language-buttons>a:hover{background:var(--sage);color:var(--ink)}.language-buttons>a[aria-current=page]{background:var(--action);color:var(--action-ink)}.hero-work-link{background:var(--paper);border-color:var(--line);color:var(--green);box-shadow:var(--panel-shadow)}.portfolio-intro>p:not(.eyebrow),.portfolio-note{color:var(--muted)}.instagram-handle{color:var(--ink)}.portfolio-mark{background:transparent}
@media(max-width:700px){.nav-actions{gap:8px}.language-buttons>a{width:28px;height:29px}.language-buttons{gap:2px;padding:3px}}
@media(max-width:390px){.site-header .brand-original{width:112px}.site-header .brand{padding:4px 6px}.nav-wrap{gap:7px}.nav-actions{gap:6px}.menu-toggle{width:38px;height:38px}}
@media(max-width:350px){.site-header .brand-original{width:102px}.nav-wrap{gap:6px}.nav-actions{gap:5px}.menu-toggle{width:36px;height:36px}.theme-toggle{width:32px;height:32px;min-height:32px}.language-buttons>a{width:25px;height:28px;font-size:9px}}
