:root {
  --bg: #fff7f1;
  --card: #fff;
  --dark: #432c28;
  --dark2: #65463d;
  --accent: #f3bd9e;
  --accent-strong: #b65d3d;
  --spot: #1f1c1b;
  --line: #ead9cf;
  --ink: #382925;
  --muted: #725e56;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.6;
  animation: page-enter .38s ease-out both;
}
h1, h2, h3, h4, .logo {
  font-family: "UnifrakturCook", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}
h1, h2, h3, h4 {
  text-shadow: 0 1px 0 #fff9, 0 2px 0 #d9bcae, 0 3px 0 #c4a291, 0 5px 7px #432c2835;
}
header h1, header h2, header h3, header h4, footer h1, footer h2, footer h3, footer h4 {
  text-shadow: 0 1px 0 #fff5, 0 2px 0 #261713, 0 4px 6px #0008;
}
a { color: var(--dark); }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 20px; }
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: var(--dark);
  background-image: radial-gradient(circle, #fff2 1.3px, transparent 1.7px), radial-gradient(circle, #0002 1.1px, transparent 1.5px);
  background-position: 0 0, 13px 12px;
  background-size: 28px 28px;
  color: #fff;
}
.topbar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 800; text-decoration: none; }
.mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--dark); font-size: 20px; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
.nav a { border-radius: 999px; padding: 8px 11px; color: #f4e8e0; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.nav a:hover, .nav a[aria-current="page"] { background: #f3bd9e; color: var(--dark); transform: translateY(-1px); }
.languages { display: flex; flex: none; gap: 3px; border: 1px solid #ffffff44; border-radius: 999px; padding: 3px; }
.languages button { border: 0; border-radius: 999px; background: transparent; color: #f4e8e0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; padding: 5px 8px; transition: background-color .18s ease, color .18s ease; }
.languages button[aria-pressed="true"] { background: var(--accent); color: var(--dark); }
.topbar .nav a, .topbar .languages button, .hero .cta, .chip, .text-link {
  box-shadow: 0 4px 0 #261713, 0 7px 12px #26171335;
  transform: translateY(-2px);
}
.topbar .nav a:hover, .topbar .nav a[aria-current="page"],
.topbar .languages button:hover, .hero .cta:hover, .chip:hover, .text-link:hover {
  box-shadow: 0 2px 0 #261713, 0 4px 8px #26171330;
  transform: translateY(0);
}
.topbar .languages button[aria-pressed="true"] { box-shadow: 0 2px 0 #c88f70, 0 3px 7px #0003; }
.topbar .languages button { min-width: 32px; }
.subpage-hero { position: relative; overflow: hidden; padding: 42px 0 34px; background: linear-gradient(125deg, #f5c6a7, #fff0e5 70%); color: var(--ink); border-radius: 0 0 30px 30px; }
.subpage-hero.has-photo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 230px); align-items: center; gap: 24px; }
.subpage-hero-image { display: block; width: 100%; height: 240px; padding: 6px; border: 1px solid #ead9cf; border-radius: 18px; background: #fff; box-shadow: 0 5px 0 #d3b6a7, 0 12px 24px #432c2825; object-fit: contain; }
.subpage-hero.has-photo .spaniel-mascot { display: none; }
.subpage-hero::after, .hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, #432c2825 2px, transparent 2.7px), radial-gradient(circle, #432c2818 1.4px, transparent 2px);
  background-position: 4px 5px, 22px 24px;
  background-size: 38px 38px, 38px 38px;
  content: "";
  pointer-events: none;
}
.subpage-hero .wrap { position: relative; z-index: 1; }
.subpage-hero h1 { position: relative; z-index: 1; max-width: 75%; margin: 0; color: var(--dark); font-size: clamp(32px, 5vw, 48px); line-height: 1.12; }
.subpage-hero p { position: relative; z-index: 1; max-width: 72%; margin: 14px 0 0; color: #654d43; font-size: 17px; }
main { min-height: 58vh; }
.page-section { padding-top: 32px; }
.page-section > h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; }
.page-section > p { max-width: 850px; }
.page-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.page-card, .photo-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #fff 15%, #fff7f1); box-shadow: 0 2px 0 #d3b6a7, 0 7px 0 #ead9cf, 0 13px 25px #432c2818; transform: perspective(900px) rotateX(1deg); transition: transform .22s ease, box-shadow .22s ease; }
.page-card:hover, .photo-card:hover { transform: perspective(900px) translateY(-5px) rotateX(0); box-shadow: 0 2px 0 #d3b6a7, 0 9px 0 #ead9cf, 0 19px 32px #432c2828; }
.wrap .card, .article, .tip {
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 #d3b6a7, 0 7px 0 #ead9cf, 0 13px 25px #432c2818;
  transform: perspective(1000px) rotateX(1deg);
  transition: transform .22s ease, box-shadow .22s ease;
}
.wrap .card:hover, .article:hover, .tip:hover {
  transform: perspective(1000px) translateY(-5px) rotateX(0);
  box-shadow: 0 2px 0 #d3b6a7, 0 9px 0 #ead9cf, 0 19px 32px #432c2828;
}
.page-card-body { padding: 18px 20px 20px; }
.page-card h2, .page-card h3, .photo-card h2, .photo-card h3 { margin: 0 0 8px; line-height: 1.3; }
.page-card p, .photo-card p { margin: 0 0 12px; color: #55443d; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #2d211e; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-preview { position: absolute; inset: 0; display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; border: 0; padding: 0; background: #2d211e; color: #fff; cursor: pointer; }
.video-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-preview::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #0008); content: ""; }
.video-preview .play { position: relative; z-index: 1; display: grid; width: 64px; height: 46px; place-items: center; border: 2px solid #fff; border-radius: 14px; background: var(--accent-strong); box-shadow: 0 4px 18px #0005; font-size: 24px; transition: transform .2s ease, background-color .2s ease; }
.video-preview:hover .play { transform: scale(1.1); background: var(--dark); }
.video-preview .play { box-shadow: 0 3px 0 #63301f, 0 8px 16px #0007; }
.video-preview:hover .play { transform: translateY(-2px) scale(1.08); box-shadow: 0 1px 0 #63301f, 0 5px 12px #0007; }
.video-preview .platform { position: absolute; z-index: 1; right: 10px; bottom: 9px; border-radius: 5px; background: #000b; padding: 3px 7px; color: #fff; font-size: 11px; font-weight: 700; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.gallery-subheading { margin: 30px 0 14px; font-size: clamp(22px, 3vw, 28px); }
.photo-card img { display: block; width: 100%; height: 250px; object-fit: cover; background: #dfe5dc; }
.photo-card figcaption { padding: 13px 15px 16px; }
.photo-credit { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.photo-credit a { color: inherit; }
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.fact-list li { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #fff, #fff7f1); padding: 18px; box-shadow: 0 3px 0 #ead9cf, 0 8px 16px #432c2812; }
.fact-list strong { display: block; margin-bottom: 5px; color: var(--dark); }
.notice { margin: 24px 0; border-left: 4px solid var(--accent-strong); border-radius: 0 12px 12px 0; background: #fff; padding: 14px 18px; color: #55443d; font-size: 14px; }
.text-link { display: inline-block; margin: 6px 8px 6px 0; border: 1px solid #e7c7b5; border-radius: 999px; background: #fff1e8; padding: 9px 14px; font-weight: 700; text-decoration: none; transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.text-link:hover { background: var(--accent); transform: translateY(-2px); }
.wrap .chip, .wrap .hero .cta, .wrap .text-link {
  border: 1px solid #e7c7b5;
  box-shadow: 0 4px 0 #cba18a, 0 8px 14px #432c2820;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.wrap .chip:hover, .wrap .hero .cta:hover, .wrap .text-link:hover {
  box-shadow: 0 2px 0 #cba18a, 0 4px 8px #432c2820;
  transform: translateY(2px);
}
header .nav a { box-shadow: 0 3px 0 #261713, 0 6px 10px #0003; }
header .nav a:hover, header .nav a[aria-current="page"] { transform: translateY(1px); box-shadow: 0 1px 0 #261713, 0 3px 6px #0003; }
.visit-counter, .visitor-clock { color: #f1e2d8; font-size: 13px; }
.visit-counter strong { color: #fff; font-variant-numeric: tabular-nums; }
[data-human-check] { max-width: 100%; margin-top: 6px; }
.human-check-form { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.human-check-form label, .human-check-form span { color: #f1e2d8; font-size: 12px; }
.human-check-form input { width: 52px; min-height: 30px; padding: 4px 6px; border: 1px solid #ddc8bc; border-radius: 6px; background: #fffaf6; color: #261713; }
.human-check-form button { min-height: 30px; padding: 4px 9px; border: 1px solid #d29a7c; border-radius: 7px; background: #f3bd9e; color: #261713; font: inherit; font-size: 12px; cursor: pointer; }
.human-check-form button:disabled { cursor: wait; opacity: .65; }
.human-check-status { display: block; max-width: 300px; margin-top: 4px; color: #ddc8bc; font-size: 12px; }
.site-feedback { display: grid; gap: 8px; color: #f1e2d8; font-size: 13px; }
.site-feedback h2 { color: #fff0e5; font-size: 15px; }
.site-feedback-note { color: #ddc8bc; font-size: 12px; }
.site-feedback-counts, .site-feedback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.site-feedback-button { min-height: 36px; padding: 6px 12px; border: 1px solid #d29a7c; border-radius: 10px; background: #fff7f1; color: #432c28; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 3px 0 #cba18a; }
.site-feedback-button:hover:not(:disabled) { transform: translateY(1px); box-shadow: 0 2px 0 #cba18a; }
.site-feedback-button:disabled { cursor: default; opacity: .7; }
.site-feedback-question { color: #fff0e5; font-weight: 700; }
.site-feedback-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.site-feedback-form[hidden] { display: none; }
.site-feedback-form input { width: 56px; min-height: 32px; padding: 4px 6px; border: 1px solid #ddc8bc; border-radius: 6px; background: #fffaf6; color: #261713; }
footer { position: relative; overflow: hidden; margin-top: 42px; border-radius: 30px 30px 0 0; background-color: var(--dark); background-image: radial-gradient(circle, #fff2 1.3px, transparent 1.7px), radial-gradient(circle, #0002 1.1px, transparent 1.5px); background-position: 0 0, 13px 12px; background-size: 28px 28px; padding: 30px 0; color: #f1e2d8; }
footer .fl { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer small { display: block; margin-top: 8px; color: #ddc8bc; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; width: 100%; padding-top: 12px; border-top: 1px solid #ffffff2b; font-size: 13px; }
.footer-meta a { color: #fff0e5; text-underline-offset: 3px; }
.footer-meta time { margin-left: 6px; color: #fff; font-variant-numeric: tabular-nums; }
.legal-note { max-width: 850px; color: #ead8ce; font-size: 12px; }
.subpage-hero .spaniel-mascot { position: absolute; top: 50%; right: 22px; width: clamp(130px, 21vw, 240px); transform: translateY(-50%); }
.hero { position: relative; overflow: hidden; }
.hero .inner { position: relative; z-index: 2; }
.hero .spaniel-mascot { position: absolute; z-index: 1; right: 2%; bottom: 8px; width: 124px; }
.spaniel-mascot { pointer-events: none; filter: drop-shadow(0 6px 4px #432c2820); }
.spaniel-mascot svg { display: block; width: 100%; height: auto; overflow: visible; }
.spaniel-tail { transform-box: fill-box; transform-origin: 10% 90%; animation: tail-wag .5s ease-in-out infinite alternate; }
.spaniel-body { transform-box: fill-box; transform-origin: center bottom; animation: dog-breathe 2.1s ease-in-out infinite; }
.spaniel-leg { transform-box: fill-box; transform-origin: center top; animation: paw-tap .65s ease-in-out infinite alternate; }
.spaniel-leg.back { animation-delay: .18s; }
.motion-ready { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.motion-ready.motion-in { opacity: 1; transform: translateY(0); }
html.is-leaving body { opacity: 0; transform: translateY(8px); transition: opacity .16s ease, transform .16s ease; }
.clock-label { white-space: nowrap; }
:focus-visible { outline: 3px solid #b65d3d; outline-offset: 3px; }
@keyframes page-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tail-wag { from { transform: rotate(-14deg); } to { transform: rotate(18deg); } }
@keyframes dog-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes paw-tap { from { transform: rotate(-2deg); } to { transform: rotate(5deg); } }
@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { order: 4; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .nav a { padding: 8px 10px; }
  .languages { margin-left: auto; }
  .subpage-hero .spaniel-mascot { right: 20px; width: 140px; opacity: .85; }
  .hero .spaniel-mascot { right: 2%; width: 96px; }
}
@media (max-width: 520px) {
  .subpage-hero { padding: 32px 0 28px; }
  .subpage-hero.has-photo .wrap { grid-template-columns: 1fr; gap: 18px; }
  .subpage-hero.has-photo h1, .subpage-hero.has-photo p { max-width: 100%; }
  .subpage-hero-image { width: auto; max-width: 100%; height: 220px; justify-self: center; }
  .subpage-hero h1 { max-width: 76%; font-size: clamp(27px, 8vw, 36px); }
  .subpage-hero p { max-width: 76%; font-size: 15px; }
  .subpage-hero .spaniel-mascot { right: 16px; width: 86px; opacity: .72; }
  .hero .spaniel-mascot { width: 82px; }
  .footer-meta { align-items: flex-start; flex-direction: column; }
  .topbar .nav a { box-shadow: 0 2px 0 #261713; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready { opacity: 1; transform: none; }
}
