:root {
  --bg: #14111c;
  --bg-2: #1c1827;
  --card: #231e31;
  --line: #352d48;
  --text: #f3eff8;
  --muted: #a99fbb;
  --neon: #8b3dff;
  --neon-lite: #b98cff;
  --neon-2: #ffb020;
  --chalk: #f7f3e8;
  --ok: #3ddc97;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
  --display: "Bebas Neue", "Impact", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marker: "Permanent Marker", "Bebas Neue", cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); overflow-x: hidden; }
a { color: var(--neon-2); text-underline-offset: 3px; }
a:hover { color: #ffd27a; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--neon); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--neon-2); outline-offset: 2px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(20,17,28,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo { font: 2.1rem/1 var(--display); letter-spacing: .04em; color: var(--neon-lite); text-shadow: 0 0 18px rgba(139,61,255,.55); }
.logo.small { font-size: 1.8rem; }
.brand-sub { font-size: .72rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
nav { margin-left: auto; display: flex; gap: 4px; }
nav a { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
nav a:hover { background: var(--bg-2); color: var(--text); }
nav a[aria-current="page"] { background: var(--card); color: var(--neon-2); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: .95rem; font-family: inherit; }
.btn.primary { background: var(--neon); color: #fff; box-shadow: 0 6px 24px rgba(139,61,255,.35); }
.btn.primary:hover { background: #9d5cff; color: #fff; }
.btn.ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn.ghost:hover { border-color: var(--neon-2); color: var(--neon-2); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: .88rem; }
.cta, .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; background:
  radial-gradient(900px 400px at 85% -10%, rgba(139,61,255,.22), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(255,176,32,.12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--neon-2); margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 12px; }
h1 { font: 400 clamp(2.8rem, 7vw, 4.8rem)/0.95 var(--display); letter-spacing: .01em; }
h2 { font: 400 clamp(1.9rem, 4vw, 2.4rem)/1 var(--display); letter-spacing: .02em; }
.h3, h3 { font: 600 1.15rem/1.3 var(--body); }
.chalk { font-family: var(--marker); color: var(--chalk); font-size: .82em; display: inline-block; transform: rotate(-2deg); }
.lede { font-size: 1.12rem; color: #d6cfe2; max-width: 38em; }

.next-card { background: linear-gradient(160deg, var(--card), #1a1626); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.next-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--neon), var(--neon-2)); }
.next-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.pill { background: var(--neon); color: #fff; border-radius: 999px; padding: 3px 10px; letter-spacing: .06em; }
.next-card h2 { font-size: clamp(2.1rem, 5vw, 2.8rem); }
.facts { margin: 14px 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.facts dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.facts.big dd { font-size: 1.1rem; }
.desc { color: #ddd6e8; border-top: 1px dashed var(--line); padding-top: 14px; overflow-wrap: anywhere; }
.next-card .desc { max-height: 12em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.tile { display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-3px); border-color: var(--neon); color: var(--text); }
.tile-icon { font-size: 1.8rem; }
.tile h3 { margin-top: 10px; }
.tile p { margin: 0; color: var(--muted); }

/* ---------- sections & lists ---------- */
.section { margin-top: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.more { font-weight: 600; text-decoration: none; }
.list { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.row:hover { border-color: var(--neon-2); color: var(--text); }
.row.open { border-style: dashed; }
.date-chip { flex: 0 0 58px; text-align: center; background: var(--card); border-radius: 10px; padding: 6px 0; line-height: 1; }
.date-chip .dow, .date-chip .mon { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.date-chip .dom { display: block; font: 1.8rem/1.05 var(--display); color: var(--neon-2); }
.row-body { flex: 1; min-width: 0; }
.row-title { font-weight: 600; }
.row-meta { color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.badge.hare { background: rgba(255,176,32,.15); color: var(--neon-2); border: 1px solid rgba(255,176,32,.4); }

.kennels { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.kennel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.kennel.quiet { opacity: .7; }
.kennel h3 { margin: 0; }
.kennel-next { display: grid; text-decoration: none; color: var(--text); }
.kn-date { color: var(--neon-2); font-weight: 600; font-size: .9rem; }
.kn-title { font-size: .95rem; }
.kennel-links { display: flex; gap: 14px; font-size: .88rem; margin-top: auto; padding-top: 6px; }

/* ---------- inner pages ---------- */
.page-head { padding-top: 44px; }
.back { display: inline-block; margin-bottom: 14px; text-decoration: none; font-weight: 600; }
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: rgba(255,176,32,.1); border: 1px dashed rgba(255,176,32,.5); border-radius: var(--radius); padding: 14px 16px; margin: 10px 0 18px; }
.year { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.year summary { cursor: pointer; padding: 14px 18px; display: flex; justify-content: space-between; gap: 10px; font-weight: 600; list-style: none; }
.year summary::-webkit-details-marker { display: none; }
.year summary::before { content: "▸"; color: var(--neon); margin-right: 6px; transition: transform .15s; }
.year[open] summary::before { transform: rotate(90deg); }
.year summary span:first-of-type { margin-right: auto; }
.year .facts { padding: 0 18px 14px; }
.archive { list-style: none; margin: 0; padding: 0 10px 12px; }
.archive a { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px; border-radius: 8px; color: var(--text); text-decoration: none; }
.archive a:hover { background: var(--card); }
.a-date { color: var(--neon-2); font-weight: 600; min-width: 56px; }
.a-loc { font-size: .9rem; }

.prose { font-size: 1.04rem; padding-bottom: 20px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 26px; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 20px 0; padding: 4px 20px; border-left: 4px solid var(--neon); color: #ddd6e8; background: var(--bg-2); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.prose dl dt { font-weight: 700; color: var(--neon-2); margin-top: 14px; }
.prose dl dd { margin: 2px 0 0; }
.prose .grid-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; padding: 0; list-style: none; }
.prose .grid-links li { margin: 0; }
.prose .grid-links a { display: block; padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }

/* ---------- forms ---------- */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 10px; }
.slot { display: grid; padding: 12px 14px; border: 1px dashed rgba(255,176,32,.5); border-radius: var(--radius); text-decoration: none; color: var(--text); background: rgba(255,176,32,.06); }
.slot:hover { background: rgba(255,176,32,.14); color: var(--text); }
.slot-date { color: var(--neon-2); font-weight: 700; }
.slot-title { font-size: .9rem; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.field.wide, .form .btn { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.field em { color: var(--neon); font-style: normal; }
input, textarea { width: 100%; font: inherit; font-weight: 400; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
input:focus, textarea:focus { border-color: var(--neon-2); outline: none; box-shadow: 0 0 0 3px rgba(255,176,32,.2); }
.hp { position: absolute; left: -5000px; }
.errors { background: rgba(139,61,255,.12); border: 1px solid var(--neon); border-radius: var(--radius); padding: 4px 16px; }
.success { background: rgba(61,220,151,.1); border: 1px solid var(--ok); border-radius: var(--radius); padding: 22px; margin-top: 18px; }

/* ---------- footer ---------- */
.footer { margin-top: 80px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0; }
.foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.foot p { margin: 6px 0 0; font-size: .9rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--neon-2); }
.onon { font: 1.6rem var(--marker); color: var(--chalk); transform: rotate(-3deg); margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 12px 16px; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 32px; }
  .tiles { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .cta .btn, .card-actions .btn { flex: 1 1 auto; }
  .next-card { padding: 20px; }
  .badge.hare { font-size: .64rem; padding: 3px 7px; }
  .section { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 700px) {
  .tile { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 16px; }
  .tile-icon { grid-row: span 2; font-size: 1.6rem; }
  .tile h3 { margin: 0 0 2px; }
  .tile p { font-size: .92rem; }
}
.next-card .desc:not(.long) { max-height: none; -webkit-mask-image: none; mask-image: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- photos ---------- */
.hero.has-photo { position: relative; background:
  linear-gradient(100deg, rgba(20,17,28,.95) 0%, rgba(20,17,28,.86) 45%, rgba(28,16,48,.62) 100%),
  var(--hero-img) center / cover no-repeat; }
.hero.has-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-photos-link { position: relative; z-index: 1; display: block; text-align: right; margin-top: 18px; font-size: .9rem; font-weight: 600; color: var(--chalk); text-decoration: none; opacity: .85; }
.hero-photos-link:hover { opacity: 1; color: var(--neon-2); }
.albums-wrap { margin-top: 28px; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.album-card { display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.album-card:hover { transform: translateY(-3px); border-color: var(--neon); color: var(--text); }
.album-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.album-meta { display: grid; gap: 2px; padding: 14px 16px; }
.album-title { font-weight: 600; }
.gallery { columns: 3 300px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; border-radius: 10px; overflow: hidden; break-inside: avoid; background: var(--bg-2); }
.gallery img { display: block; width: 100%; height: auto; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8,6,12,.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow); }
.lb-btn { position: fixed; background: rgba(35,30,49,.85); color: var(--text); border: 1px solid var(--line); border-radius: 999px; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { border-color: var(--neon-2); }
.lb-close { top: 16px; right: 16px; font-size: 1.2rem; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) {
  .hero.has-photo { background:
    linear-gradient(180deg, rgba(20,17,28,.9) 0%, rgba(20,17,28,.82) 60%, rgba(20,17,28,.95) 100%),
    var(--hero-img) center / cover no-repeat; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .gallery { columns: 2 140px; column-gap: 8px; }
  .gallery a { margin-bottom: 8px; }
}
