/* Victorian Destination: base ("classic") theme.
   Seasonal themes override the tokens below under html[data-season="..."]. */

:root {
  --paper: #f6efe1;
  --paper-deep: #ede2cc;
  --ink: #2c1d17;
  --ink-soft: #5a463b;
  --accent: #6e1f2a;        /* oxblood */
  --accent-deep: #4c121b;
  --gold: #a8843f;
  --green: #2f4a3a;
  --card: #fbf7ee;
  --line: rgba(110, 31, 42, 0.25);
  --highlight: #f0d9a0;     /* light gold on dark bands */
  --hero-tint: rgba(44,29,23,.3);

  --font-display: 'IM Fell English SC', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Pinyon Script', cursive;

  --max: 1120px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  overflow-x: clip;   /* Buster leaps off the sides of the screen */
  margin: 0;
  background: var(--paper);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.5), transparent 40%),
    repeating-linear-gradient(45deg, rgba(110,31,42,0.018) 0 2px, transparent 2px 14px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--accent-deep); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
h3 { font-size: 1.45rem; }

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: .18em;
  font-size: .9rem;
  color: var(--gold);
  margin: 0 0 .4rem;
}
.flourish { display: block; width: 220px; max-width: 70%; height: 22px; margin: .3rem auto 1rem; color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .06em;
  padding: .75em 1.6em;
  border: 1px solid var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-primary { background: var(--accent); color: var(--paper); box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px rgba(246,239,225,.5); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--paper); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem max(var(--gutter), calc((100% - var(--max)) / 2));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-script { font-family: var(--font-script); font-size: 2rem; color: var(--accent); }
.brand-sub { font-family: var(--font-display); font-size: .75rem; letter-spacing: .2em; color: var(--ink-soft); margin-top: .2rem; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a { font-family: var(--font-display); color: var(--ink); text-decoration: none; font-size: 1rem; letter-spacing: .05em; }
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-book { color: var(--paper); background: var(--accent); padding: .4em 1em; }
.nav-toggle { display: none; font-family: var(--font-display); background: none; border: 1px solid var(--accent); color: var(--accent); padding: .4em .9em; font-size: 1rem; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: grid; place-items: center; padding: 3rem var(--gutter); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, transparent, var(--hero-tint)); }
.hero-card {
  position: relative; z-index: 2;
  max-width: 620px; text-align: center;
  /* Two owner settings (dev panel → Front card), multiplied together: --card-fill fades only the cream fill (and its
     shadow, which would otherwise outline an empty box); --card-all fades the whole card, words and all. */
  background: rgba(251,247,238,var(--card-fill,.95));
  padding: 2.5rem 2rem;
  border: 1px solid var(--gold);
  outline: 1px solid var(--gold); outline-offset: -10px;
  box-shadow: 0 20px 50px rgba(44,29,23,calc(.25 * var(--card-fill,.95) / .95));
  opacity: var(--card-all,1);
}
/* Optional fill gradient (dev panel → Front card → Fill gradient). The fill runs from full "Card fill" strength (--a)
   to that strength times --card-fade (--b); --card-start is how far the solid part reaches before the fade begins. */
.hero-card[data-grad] {
  --a: rgba(251,247,238,var(--card-fill,.95));
  --b: rgba(251,247,238,calc(var(--card-fill,.95) * var(--card-fade,0)));
  --s: calc(var(--card-start,0) * 100%);
}
.hero-card[data-grad="down"]  { background: linear-gradient(to bottom, var(--a) var(--s), var(--b)); }
.hero-card[data-grad="up"]    { background: linear-gradient(to top,    var(--a) var(--s), var(--b)); }
.hero-card[data-grad="right"] { background: linear-gradient(to right,  var(--a) var(--s), var(--b)); }
.hero-card[data-grad="left"]  { background: linear-gradient(to left,   var(--a) var(--s), var(--b)); }
.hero-card[data-grad="middle"] { background: radial-gradient(ellipse at center, var(--b) var(--s), var(--a)); }
.hero-card[data-grad="edges"]  { background: radial-gradient(ellipse at center, var(--a) var(--s), var(--b)); }
.hero-card h1 { font-family: var(--font-script); font-size: clamp(3.4rem, 10vw, 5.4rem); color: var(--accent); margin: 0; font-weight: 400; }
.hero-lede { font-size: 1.35rem; font-style: italic; color: var(--ink-soft); margin: 0 0 1.6rem; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* At a glance */
.glance {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: -2.5rem auto 0; position: relative; z-index: 2;
  background: var(--accent); color: var(--paper);
  border: 1px solid var(--gold); outline: 1px solid rgba(246,239,225,.4); outline-offset: -7px;
}
.glance-item { text-align: center; padding: 1.4rem .5rem; border-right: 1px solid rgba(246,239,225,.2); }
.glance-item:last-child { border-right: 0; }
.glance-num { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--highlight); }
.glance-label { font-family: var(--font-display); font-size: .85rem; letter-spacing: .12em; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 5rem var(--gutter) 3rem; }
.section-head { text-align: center; }
.section-intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; font-size: 1.3rem; color: var(--ink-soft); }

/* Welcome */
.welcome-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.drop-cap::first-letter { font-family: var(--font-display); float: left; font-size: 4.4rem; line-height: .8; padding: .35rem .5rem 0 0; color: var(--accent); }
.signature { font-family: var(--font-script); font-size: 2.2rem; color: var(--accent); margin: .5rem 0 0; }
.draft-note { font-family: system-ui, sans-serif; font-size: .9rem; background: #fff4c2; border: 1px dashed #b38f00; padding: .6rem .8rem; color: #5c4a00; }
html.hide-drafts [data-draft] { display: none; }
.framed { position: relative; margin: 0; padding: 14px; border: 1px solid var(--gold); background: var(--card); }
.framed img { display: block; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.corner { position: absolute; width: 34px; height: 34px; color: var(--gold); }
.corner.tl { top: -6px; left: -6px; }
.corner.tr { top: -6px; right: -6px; transform: scaleX(-1); }
.corner.bl { bottom: -6px; left: -6px; transform: scaleY(-1); }
.corner.br { bottom: -6px; right: -6px; transform: scale(-1, -1); }

/* Gallery */
/* Rooms */
.room { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
.room.reverse > .photo { order: 2; }
.room > .photo { border: 1px solid var(--gold); padding: 8px; background: var(--card); cursor: zoom-in; }
.room .photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room ul { padding-left: 0; list-style: none; margin: .6rem 0 0; }
.room li { padding-left: 1.3rem; position: relative; }
.room li::before { content: "❦"; position: absolute; left: 0; color: var(--gold); font-size: .9em; }
.room p { margin: 0; }
.bedrooms { margin: 0 0 .8rem !important; font-size: 1.25rem; }
.amenities-note { font-style: italic; color: var(--ink-soft); margin: .8rem 0 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; padding: 0; background: var(--card); outline-offset: 3px; transition: transform .25s, box-shadow .25s; }
.gallery-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-item:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44,29,23,.15); }
.amenities { margin-top: 3rem; text-align: center; }
.amenities ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; }
.amenities li::before { content: "❦ "; color: var(--gold); }

/* Guests */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card { background: var(--card); border: 1px solid var(--line); padding: 1.6rem 1.3rem; text-align: center; position: relative; }
.card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(168,132,63,.35); pointer-events: none; }
.card p { margin: 0; font-size: 1.1rem; }
.house-rules { margin: 3rem auto 0; max-width: 760px; text-align: center; padding: 1.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.house-rules p { margin: 0; color: var(--ink-soft); }

/* Manistee */
.manistee { background: transparent; }
.sights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 3rem; }
.sight { border-left: 2px solid var(--gold); padding-left: 1.2rem; }
.sight p { margin: 0; }

/* Book */
.book-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: start; }
.book-option, .book-form { background: var(--card); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -8px; padding: 2rem; }
.book-option { text-align: center; }
.book-form { display: grid; gap: 1rem; }
.book-form h3 { margin-bottom: 0; }
.form-intro { margin: 0; color: var(--ink-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.book-form label { display: grid; gap: .3rem; font-family: var(--font-display); font-size: .95rem; letter-spacing: .04em; color: var(--ink-soft); }
.optional { font-family: var(--font-body); font-style: italic; letter-spacing: 0; }
.book-form input, .book-form select, .book-form textarea {
  font: inherit; font-size: 1.1rem; color: var(--ink);
  padding: .5rem .7rem; border: 1px solid var(--line); background: #fff; border-radius: 0; width: 100%;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.book-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-style: italic; color: var(--green); min-height: 1.6em; }
.form-status.error { color: var(--accent); }

/* Footer */
.site-footer { text-align: center; padding: 3rem var(--gutter); background: var(--accent-deep); color: var(--paper-deep); margin-top: 3rem; }
.site-footer .flourish { color: var(--highlight); }
.site-footer p { margin: .2rem 0; font-family: var(--font-display); letter-spacing: .08em; font-size: .95rem; }
.site-footer a { color: inherit; text-decoration-color: var(--highlight); text-underline-offset: 3px; }
.footer-script { font-family: var(--font-script) !important; font-size: 2.4rem !important; letter-spacing: 0 !important; color: var(--highlight); }

/* Lightbox */
.lightbox { border: 1px solid var(--gold); padding: 14px; background: var(--card); max-width: min(94vw, 1200px); width: 100%; }
.lightbox::backdrop { background: rgba(44,29,23,.75); }
.lightbox-img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(251,247,238,.85); border: 1px solid var(--gold); color: var(--accent); font-size: 2.2rem; line-height: 1; width: 44px; height: 56px; cursor: pointer; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-caption { text-align: center; margin: .6rem 0 0; font-family: var(--font-display); }
.lightbox-close { position: absolute; top: 4px; right: 10px; z-index: 1; font-size: 2rem; background: none; border: 0; color: var(--accent); cursor: pointer; }

/* Dev panel (preview only) */
.dev-panel { position: fixed; right: 12px; bottom: 12px; z-index: 50; font-family: system-ui, sans-serif; font-size: 14px; line-height: 1.4; color: #1d1d1f; }
.dev-tab { background: #1d1d1f; color: #fff; border: 0; border-radius: 6px; padding: 6px 12px; font: 600 13px system-ui, sans-serif; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.dev-body { display: none; margin-bottom: 8px; width: 260px; max-height: 70vh; overflow: auto; background: #fff; border-radius: 10px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.dev-panel[data-open="true"] { display: flex; flex-direction: column-reverse; align-items: flex-end; }
.dev-panel[data-open="true"] .dev-body { display: block; }
.dev-body h4 { margin: 0 0 8px; font-size: 14px; }
.dev-stats { display: block; margin: 0 0 10px; padding: 7px 10px; border-radius: 6px; background: #2f6fdc; color: #fff; font-weight: 600; text-align: center; text-decoration: none; }
.dev-body fieldset { border: 1px solid #ddd; border-radius: 6px; margin: 0 0 10px; padding: 6px 10px 8px; }
.dev-body legend { font-weight: 600; padding: 0 4px; }
.dev-body fieldset label { display: block; padding: 2px 0; }
.dev-body .soon { color: #999; }
.dev-hint { margin: 6px 0 0; font-size: 12px; color: #777; }
.dev-check { display: block; margin-bottom: 10px; }
.dev-todo p { margin: 0 0 4px; }
.dev-todo ul { margin: 0; padding-left: 18px; color: #555; }

/* ---------- Seasons ---------- */

.season-badge {
  display: none; margin: 0 auto .9rem; padding: .25em 1em; width: fit-content;
  font-family: var(--font-display); font-size: .9rem; letter-spacing: .1em; color: var(--accent);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}
html:not([data-season="classic"]) .season-badge { display: block; }
.season-greeting { display: none; font-family: var(--font-script); font-size: 1.9rem; color: var(--gold); margin: 0 0 .2rem; line-height: 1.1; }
html:not([data-season="classic"]) .season-greeting { display: block; }

/* "This season in Manistee" band */
.season-feature { margin-top: 4rem; padding: 4rem var(--gutter) 3.5rem; background: var(--paper-deep); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.season-feature .section-intro { margin-bottom: 2.2rem; }
.activities { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.activity { position: relative; background: var(--card); border: 1px solid var(--line); padding: 1.6rem 1.4rem; }
.activity::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(168,132,63,.35); pointer-events: none; }
.activity h3 { font-size: 1.35rem; margin-bottom: .3em; }
.activity-when { margin: 0 0 .3rem; font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; color: var(--gold); }
.activity-text { margin: 0; font-size: 1.1rem; }
.season-feature-note { margin: 2rem auto 0; text-align: center; font-size: 1rem; font-style: italic; color: var(--ink-soft); }
/* The two big holidays get a dark, rich band */
html[data-season="december"] .season-feature,
html[data-season="summer"] .season-feature { background: var(--accent-deep); }
html[data-season="december"] .season-feature h2,
html[data-season="summer"] .season-feature h2 { color: var(--highlight); }
html[data-season="december"] .season-feature .section-intro,
html[data-season="summer"] .season-feature .section-intro,
html[data-season="december"] .season-feature-note,
html[data-season="summer"] .season-feature-note { color: rgba(246,239,225,.85); }
html[data-season="december"] .season-feature-note a,
html[data-season="summer"] .season-feature-note a { color: var(--highlight); }

/* December: Father Christmas floats in the bottom-left corner of the screen and stays put while the page scrolls.
   Clicks pass straight through him. */
.floating-santa {
  display: none; position: fixed; z-index: 31; left: -60px; bottom: 0;
  width: calc((clamp(120px, 21vw, 280px) + 100px) * .85); height: auto; pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}
html[data-season="december"] .floating-santa { display: block; }

/* Winter: the snowman family stands where Father Christmas does in December; same floating layer, clicks pass through. */
.floating-snowmen {
  display: none; position: fixed; z-index: 31; left: -6px; bottom: 0;
  width: calc((clamp(120px, 21vw, 280px) + 100px) * .72); height: auto; pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.3));
}
html[data-season="winter"] .floating-snowmen { display: block; }

/* Buster, the hidden dog (placed by seasons.js) and the note that pops up when someone finds him */
.buster {
  /* In front of every picture and card. He only ever looks behind one when hiding, which is done by cutting him off at its edge. */
  position: absolute; z-index: 18; width: clamp(28px, 2.4vw, 34px); padding: 0; border: 0; background: none;
  cursor: pointer; line-height: 0; -webkit-tap-highlight-color: transparent;
}
.buster[hidden] { display: none; }
.buster svg { display: block; width: 100%; height: auto; overflow: visible; }
.buster.running { pointer-events: none; }
/* What gathers: little snow drifts on the tops of things, and maple leaf piles (both from season-ground.js) */
.snow-drifts { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 4; pointer-events: none; }
.snow-drift {
  position: absolute; display: block; overflow: visible;
  filter: drop-shadow(0 -1px 1px rgba(60,85,115,.28));
}
.snow-drift path { fill: #fbfdff; stroke: rgba(120,150,180,.35); stroke-width: .6; stroke-linejoin: round; }
.leaf-piles { position: absolute; left: 0; top: 0; z-index: 19; pointer-events: none; display: none; }
html[data-ground="leaves"] .leaf-piles { display: block; }
.buster .dog-peek { display: none; }
.buster.peeking { width: clamp(40px, 3.2vw, 48px); }
.buster.peeking svg { display: none; }
.buster.peeking .dog-peek { display: block; transform: none; }
.peek-snow { fill: #fbfdff; stroke: rgba(120,150,180,.45); stroke-width: .7; stroke-linejoin: round; }
.peek-eyes { transform-box: fill-box; transform-origin: center; animation: peek-blink 5.5s infinite; }
.peek-pupils { animation: peek-look 7s ease-in-out infinite; }
@keyframes peek-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } 98% { transform: scaleY(1); } }
@keyframes peek-look { 0%, 28%, 100% { transform: translateX(0); } 34%, 55% { transform: translateX(-2px); } 62%, 85% { transform: translateX(2px); } }
.peek-left { position: absolute; z-index: 5; display: block; overflow: visible; pointer-events: none; transform-origin: 50% 100%; }
.peek-flake { position: absolute; z-index: 44; border-radius: 50%; background: #fff; box-shadow: 0 0 2px rgba(70,95,125,.6); pointer-events: none; }
.buster-toy { position: absolute; left: 0; top: 0; z-index: 19; pointer-events: none; will-change: transform; }
.buster-prop { position: absolute; z-index: 17; display: block; overflow: visible; pointer-events: none; transform-origin: 50% 100%; }
.buster-bit { position: absolute; z-index: 19; pointer-events: none; }
.buster-stage { position: absolute; left: 0; top: 0; width: 100%; height: 0; pointer-events: none; overflow-x: clip; overflow-y: visible; }
.buster-ball { position: absolute; left: 0; top: 0; z-index: 19; pointer-events: none; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fff 0%, #f4f8fc 55%, #c3d6e6 100%); box-shadow: 0 0 0 .6px rgba(60,85,115,.55); }
.buster-puff { position: absolute; z-index: 19; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.98) 0%, rgba(240,246,251,.85) 42%, rgba(186,208,226,.45) 60%, rgba(186,208,226,0) 74%); }
.buster-say {
  position: absolute; z-index: 19; pointer-events: none; white-space: nowrap; font-family: var(--font-display); font-size: .85rem;
  color: var(--ink, #2c1d17); text-shadow: 0 0 3px var(--card), 0 0 3px var(--card), 0 0 6px var(--card);
  transform: translate(-50%, -100%); animation: buster-say 1.5s ease-out forwards;
}
.buster-z { font-size: .95rem; animation-name: buster-z; }
/* The red squirrel (squirrel.js): its scolding is smaller and rust-coloured; its acorn has a darker cap. */
.squirrel-say { font-size: .72rem; font-style: italic; color: #8a3a14; }
/* A letter Buster has stolen (buster-play.js): see-through where it sits (the text itself is never changed), and the copy he carries. */
::highlight(buster-letters) { color: transparent; }
.buster-letter { position: absolute; left: 0; top: 0; z-index: 19; pointer-events: none; white-space: pre; text-align: center; will-change: transform; }
/* The sillier squirrel run-ins: its rocket's trail, the tuft of fur after the bang, the twinkle as it's launched off the screen. */
.rocket-trail { background: radial-gradient(circle, #fff3b0 0%, #ffb02e 45%, rgba(230,90,20,0) 72%) !important; box-shadow: none !important; }
.rocket-tuft { border-radius: 60% 40% 55% 45%; background: radial-gradient(circle at 40% 40%, #f2ad6a, #b9501d 70%); }
.squirrel-twinkle { font-size: 14px; color: #fff6b0; text-shadow: 0 0 4px #ffd23a, 0 0 8px #fff; }
/* The brawl (buster-play.js): mini arcade-style energy bars, the big words, hits in the dark. */
.fight-hud { position: absolute; z-index: 20; display: flex; align-items: flex-start; gap: 4px; transform: translateX(-50%); pointer-events: none; font-family: var(--font-display); }
.fight-side { display: flex; flex-direction: column; gap: 1px; width: 62px; }
.fight-side b { font-size: 8px; letter-spacing: .06em; color: #fff; text-shadow: 0 0 2px #000, 0 1px 1px #000; line-height: 1; }
.fight-side.flip { align-items: flex-end; }
.fight-bar { position: relative; width: 100%; height: 7px; background: #5a0d0d; border: 1px solid #1d1209; box-shadow: 0 0 0 1px #e8c35a; overflow: hidden; }
.fight-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; }
.fight-side.flip .fight-bar i { left: auto; right: 0; }
.fight-bar .fill { background: linear-gradient(#fff27a, #f2c21a 55%, #d99a0b); transition: width .22s ease-out; }
.fight-bar .lag { background: #ff4a2a; transition: width .55s ease-in-out .3s; }
.fight-ko { font-size: 9px; font-weight: 700; color: #1d1209; background: #e8c35a; border-radius: 3px; padding: 1px 3px; margin-top: 0; line-height: 1.1; }
.fight-ko.on { background: #d4271a; color: #fff; animation: fight-ko-blink .3s steps(2) 6; }
@keyframes fight-ko-blink { 50% { background: #fff27a; color: #d4271a; } }
.fight-call { position: absolute; z-index: 21; pointer-events: none; white-space: nowrap; font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 1.5rem; letter-spacing: .04em; color: #ffe066; -webkit-text-stroke: 1px #6b1d0b;
  text-shadow: 2px 2px 0 #6b1d0b, 0 0 10px rgba(255,160,40,.7); }
.fight-call.fight-go { font-size: 1.9rem; color: #ff5a2a; -webkit-text-stroke-color: #3a0d05; }
.fight-call.fight-super { font-size: 1.1rem; color: #7fd8ff; -webkit-text-stroke-color: #0b2e4a; text-shadow: 2px 2px 0 #0b2e4a, 0 0 10px rgba(80,180,255,.8); }
.fight-call.fight-ko-call { font-size: 2.1rem; color: #ff3b1f; -webkit-text-stroke-color: #2a0a04; }
.fight-dark { position: absolute; z-index: 17; border-radius: 8px; background: radial-gradient(circle at 50% 55%, #1c0a06 0%, #050202 75%);
  box-shadow: 0 0 10px 4px rgba(0,0,0,.55); pointer-events: none; transform-origin: 50% 50%; }
/* The versus screen before the brawl (buster-play.js): a panel around the fight only, two portraits and a big VS. */
.vs-screen { position: absolute; z-index: 22; pointer-events: none; overflow: hidden; border-radius: 6px; display: flex; align-items: stretch;
  background: linear-gradient(105deg, #12204a 0%, #12204a 49.6%, #f2c230 49.8%, #f2c230 50.2%, #4a1010 50.4%, #4a1010 100%);
  box-shadow: 0 0 0 2px #f2c230, 0 6px 16px rgba(0,0,0,.45); transform-origin: 50% 50%; }
.vs-side { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.vs-pic { position: relative; overflow: hidden; border: 2px solid #f2c230; border-radius: 4px; box-shadow: inset 0 0 12px rgba(0,0,0,.6);
  background: radial-gradient(circle at 50% 40%, #f6e7c8 0%, #d9b98a 70%, #a9845a 100%); }
.vs-dog { position: absolute; }
.vs-dog svg { display: block; width: 100%; height: auto; overflow: visible; }
.vs-side b { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: .78rem; letter-spacing: .08em; color: #fff;
  -webkit-text-stroke: .5px #000; text-shadow: 1px 1px 0 #000; }
.vs-vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 2.4rem; line-height: 1; color: #ffd23a; -webkit-text-stroke: 1.5px #7a1a05; text-shadow: 3px 3px 0 #7a1a05, 0 0 12px rgba(255,160,40,.8); z-index: 2; }
.fight-move { font-size: .62rem; letter-spacing: .02em; color: #ffcf3a; -webkit-text-stroke-color: #4a1d05; }
.fight-zap { position: absolute; z-index: 20; pointer-events: none; background: #fff36b; box-shadow: 0 0 4px #ffe94a;
  clip-path: polygon(55% 0, 20% 52%, 48% 52%, 30% 100%, 82% 40%, 54% 40%, 75% 0); }
.buster.fight-zapped { animation: fight-zapped .09s steps(2) infinite; }
@keyframes fight-zapped { 0% { filter: brightness(1.9) drop-shadow(0 0 3px #ffe94a); } 100% { filter: invert(1) drop-shadow(0 0 3px #ffe94a); } }
.fight-fireball.fight-flame { background: radial-gradient(circle at 55% 50%, #fffbe0 0%, #ffd36b 25%, #ff8a1f 50%, rgba(220,60,10,.7) 65%, rgba(200,40,0,0) 75%); box-shadow: 0 0 8px 3px rgba(255,140,40,.6); }
.fight-arm { position: absolute; left: 0; top: 0; z-index: 19; pointer-events: none; transform-origin: 0 50%; border-radius: 99px;
  background: linear-gradient(#e8995a, #c45a22 45%, #7a3014); }
.fight-arm::after { content: ''; position: absolute; right: -2px; top: 50%; width: 7px; height: 7px; transform: translateY(-50%); border-radius: 50%; background: #7a3014; }
.fight-trail.fight-psycho { background: radial-gradient(circle, #f3d9ff 0%, #b04bff 45%, rgba(110,20,200,0) 72%) !important; box-shadow: none !important; }
.fight-fireball { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle at 55% 50%, #ffffff 0%, #e6fbff 22%, #7fe0ff 45%, rgba(40,140,255,.75) 62%, rgba(40,110,255,0) 74%);
  box-shadow: 0 0 8px 3px rgba(90,190,255,.7); }
.fight-trail { position: absolute; z-index: 19; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, #eaffff 0%, #8fe3ff 40%, rgba(60,150,255,0) 72%); }
.fight-smoke { position: absolute; z-index: 20; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,110,105,.75) 0%, rgba(150,140,135,.45) 45%, rgba(160,150,145,0) 72%); }
.buster-say.fight-woof { font-size: 1rem; font-weight: 700; font-style: italic; color: #1f6fd1; text-shadow: 0 0 3px #fff, 0 0 6px #bfe8ff; }
.fight-flash { position: absolute; z-index: 20; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #fff6c0 25%, rgba(255,200,60,.85) 45%, rgba(255,90,30,0) 70%);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.fight-word { position: absolute; z-index: 21; pointer-events: none; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  color: #fff27a; -webkit-text-stroke: .6px #3a0d05; text-shadow: 1px 1px 0 #3a0d05; }
.fight-star { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; font-size: 8px; line-height: 1; color: #ffd23a; text-shadow: 0 0 1px #6b4a00; }
.fight-mark { position: absolute; z-index: 20; pointer-events: none; font-size: 13px; transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 3px #ff3b1f) drop-shadow(0 0 6px #ffb02e); animation: fight-mark-glow .5s ease-in-out infinite alternate; }
@keyframes fight-mark-glow { to { filter: drop-shadow(0 0 1px #ff3b1f) drop-shadow(0 0 3px #ffb02e); } }
.buster.fight-aura { filter: drop-shadow(0 0 3px #ff3b1f) drop-shadow(0 0 7px #ffb02e); animation: fight-aura .35s ease-in-out infinite alternate; }
@keyframes fight-aura { to { filter: drop-shadow(0 0 5px #ff6a1f) drop-shadow(0 0 12px #ffd23a); } }
html.authoring .fight-hud, html.authoring .fight-call, html.authoring .fight-dark, html.authoring .fight-flash, html.authoring .fight-word, html.authoring .fight-star, html.authoring .fight-mark, html.authoring .fight-fireball, html.authoring .vs-screen, html.authoring .fight-zap, html.authoring .fight-arm, html.authoring .fight-trail, html.authoring .fight-smoke { display: none !important; }
.squirrel-acorn { border-radius: 46% 46% 50% 50% / 38% 38% 62% 62%; background: radial-gradient(circle at 42% 68%, #d39a5c 0, #9c5c28 55%, #6a3814 100%); box-shadow: inset 0 .28em 0 #5b3b20, 0 0 0 .5px rgba(42,26,20,.6); }
@keyframes buster-say { 0% { opacity: 0; margin-top: 4px; } 15%, 70% { opacity: 1; margin-top: -6px; } 100% { opacity: 0; margin-top: -14px; } }
@keyframes buster-z { 0% { opacity: 0; margin: 0; } 25% { opacity: .9; } 100% { opacity: 0; margin: -30px 0 0 18px; } }
/* A ripped photo: a layer on top of the page, never part of it, and clicks pass straight through to the real photo. */
.buster-rips { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 17; pointer-events: none; overflow-x: clip; overflow-y: visible; }
.buster-tear { position: absolute; }
.buster-tear canvas { position: absolute; display: block; }
.buster-flap { will-change: transform; }
.buster-note {
  position: absolute; z-index: 46; transform: translate(-50%, -130%); white-space: nowrap; pointer-events: none;
  padding: .35em .8em; font-family: var(--font-display); font-size: .95rem; color: var(--accent);
  background: var(--card); border: 1px solid var(--gold); box-shadow: 0 4px 14px rgba(44,29,23,.2);
  animation: buster-note 3.5s ease-out forwards;
}
@keyframes buster-note { 0% { opacity: 0; } 10%, 75% { opacity: 1; } 100% { opacity: 0; } }


/* Hero: fireworks canvas and hanging glass ornaments */
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-ornaments { display: none; position: absolute; top: 0; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hero-ornaments span {
  position: absolute; left: var(--x); top: 0; width: 40px; margin-left: -20px;
  transform-origin: 50% 0; animation: sway 5s ease-in-out infinite alternate; animation-delay: var(--d);
  color: var(--c); filter: drop-shadow(0 6px 8px rgba(0,0,0,.3));
}
.hero-ornaments span::before { content: ""; display: block; width: 1px; height: var(--len); margin: 0 auto; background: #d8bd7a; }
.hero-ornaments svg { display: block; width: 40px; height: 52px; margin-top: -2px; }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
html.no-motion .hero-ornaments span, html.no-motion .trim-b { animation: none; }
@media (max-width: 1100px) { .hero-ornaments span:nth-child(3), .hero-ornaments span:nth-child(4) { display: none; } }
@media (max-width: 720px) {
  .hero-ornaments span:nth-child(2), .hero-ornaments span:nth-child(5) { display: none; }
}

.season-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
/* Just the size of Santa or the snowmen and in front of them, for the flakes that fall in front (seasons.js). */
.season-fx-front { display: none; position: fixed; pointer-events: none; z-index: 32; }

/* A decorative trim hanging under the header: bunting, garland, icicles... */
.season-trim { position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none; display: none; }
.season-trim span { position: absolute; inset: 0; background-repeat: repeat-x; background-size: auto 100%; }
html:not([data-season="classic"]) .season-trim { display: block; }

/* Spring: rose, sage, blossoms */
html[data-season="spring"] {
  --paper: #f8f2ee; --paper-deep: #efe3dc; --card: #fdf9f6;
  --accent: #8a3b56; --accent-deep: #5e2338; --gold: #7f9168; --green: #4f6b4a;
  --line: rgba(138,59,86,.22); --highlight: #f6d6e0; --hero-tint: rgba(94,35,56,.2);
}
html[data-season="spring"] .trim-a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28'%3E%3Cpath d='M0 6 Q16 16 32 6 T64 6' fill='none' stroke='%237f9168' stroke-width='1.6'/%3E%3Cpath d='M14 11 q4 -6 8 0 q-4 4 -8 0z' fill='%2397ab7c'/%3E%3Cg fill='%23f2b8c8'%3E%3Ccircle cx='32' cy='9' r='3'/%3E%3Ccircle cx='36' cy='12' r='3'/%3E%3Ccircle cx='34' cy='16' r='3'/%3E%3Ccircle cx='29' cy='15' r='3'/%3E%3Ccircle cx='28' cy='11' r='3'/%3E%3C/g%3E%3Ccircle cx='32' cy='12.5' r='1.6' fill='%23d9a441'/%3E%3C/svg%3E");
}

/* Summer: an old-fashioned Fourth of July. Navy, cream and flag red, pleated bunting, fireworks */
/* Early evening over the house, so the fireworks can be seen; the ground keeps its daylight */
html[data-season="summer"] .hero::before { background: linear-gradient(to bottom, rgba(14,24,58,.68), rgba(14,24,58,.46) 42%, rgba(14,24,58,0) 80%); }
/* On a phone the card fills the width and would hide them, so they pass in front of it, as the falling leaves do */
@media (max-width: 600px) { html[data-season="summer"] .hero-fx { z-index: 3; } }
html[data-season="summer"] {
  --paper: #f8f4e6; --paper-deep: #efe7cf; --card: #fffcf2;
  --accent: #1f3557; --accent-deep: #15253f; --gold: #b8912f; --green: #2f5d4a;
  --line: rgba(31,53,87,.22); --highlight: #f3e3b0; --hero-tint: rgba(21,37,63,.35);
}
html[data-season="summer"] .btn-primary,
html[data-season="summer"] .site-nav .nav-book { background: #a3262f; border-color: #a3262f; box-shadow: inset 0 0 0 3px #a3262f, inset 0 0 0 4px rgba(246,239,225,.5); }
html[data-season="summer"] .btn-primary:hover { background: #7f1b23; }
html[data-season="summer"] .season-trim { height: 34px; }
html[data-season="summer"] .trim-a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='40' viewBox='0 0 90 40'%3E%3Cpath d='M0 0 Q45 10 90 0 L90 5 Q45 20 0 5Z' fill='%231f3557'/%3E%3Cpath d='M0 5 Q45 20 90 5 L90 10 Q45 30 0 10Z' fill='%23fbf7ee'/%3E%3Cpath d='M0 10 Q45 30 90 10 L90 14 Q45 40 0 14Z' fill='%23a3262f'/%3E%3Cpath d='M0 14 Q45 40 90 14' fill='none' stroke='%23b8912f' stroke-width='1'/%3E%3Ccircle cx='0' cy='6' r='6' fill='%231f3557' stroke='%23b8912f'/%3E%3Ccircle cx='90' cy='6' r='6' fill='%231f3557' stroke='%23b8912f'/%3E%3Ccircle cx='0' cy='6' r='2.2' fill='%23f3d27a'/%3E%3Ccircle cx='90' cy='6' r='2.2' fill='%23f3d27a'/%3E%3C/svg%3E"); }
html[data-season="summer"] .hero-card::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 132px; height: 68px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='62' viewBox='0 0 120 62'%3E%3Cpath d='M60 0 L118.0 0.0 A58 58 0 0 1 116.0 15.0Z' fill='%23a3262f' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L116.0 15.0 A58 58 0 0 1 110.2 29.0Z' fill='%23fbf7ee' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L110.2 29.0 A58 58 0 0 1 101.0 41.0Z' fill='%23a3262f' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L101.0 41.0 A58 58 0 0 1 89.0 50.2Z' fill='%23fbf7ee' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L89.0 50.2 A58 58 0 0 1 75.0 56.0Z' fill='%23a3262f' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L75.0 56.0 A58 58 0 0 1 60.0 58.0Z' fill='%23fbf7ee' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L60.0 58.0 A58 58 0 0 1 45.0 56.0Z' fill='%23a3262f' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L45.0 56.0 A58 58 0 0 1 31.0 50.2Z' fill='%23fbf7ee' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L31.0 50.2 A58 58 0 0 1 19.0 41.0Z' fill='%23a3262f' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L19.0 41.0 A58 58 0 0 1 9.8 29.0Z' fill='%23fbf7ee' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L9.8 29.0 A58 58 0 0 1 4.0 15.0Z' fill='%23a3262f' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M60 0 L4.0 15.0 A58 58 0 0 1 2.0 0.0Z' fill='%23fbf7ee' stroke='%23c9bfa8' stroke-width='.5'/%3E%3Cpath d='M38 0 A22 22 0 0 0 82 0Z' fill='%231f3557'/%3E%3Ccircle cx='69.2' cy='9.2' r='1.6' fill='%23f3d27a'/%3E%3Ccircle cx='60.0' cy='13.0' r='1.6' fill='%23f3d27a'/%3E%3Ccircle cx='50.8' cy='9.2' r='1.6' fill='%23f3d27a'/%3E%3Cpath d='M2 0 A58 58 0 0 0 118 0' fill='none' stroke='%23b8912f' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-season="summer"] .hero-card { padding-top: 4.2rem; }
html[data-season="summer"] .activity-when::before { content: "★ "; color: #a3262f; }

/* Fall: rust, amber, deep olive */
html[data-season="fall"] {
  --paper: #f5ecdb; --paper-deep: #eadbbf; --card: #fbf5e9;
  --accent: #8c3b14; --accent-deep: #5c2610; --gold: #b5832a; --green: #4a4a22;
  --line: rgba(140,59,20,.25); --highlight: #f2c879; --hero-tint: rgba(92,38,16,.3);
}
html[data-season="fall"] .trim-a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='30' viewBox='0 0 112 30'%3E%3Cpath d='M0 3 Q28 10 56 3 T112 3' fill='none' stroke='%236b4a2a' stroke-width='1.2'/%3E%3Cpath d='M10 5 C4 10 6 18 10 22 C14 18 16 10 10 5z' fill='%23b5541c' transform='rotate(-15 10 13)'/%3E%3Cpath d='M28 9 q0 -4 3 -5' fill='none' stroke='%235c4a24' stroke-width='1.6'/%3E%3Cellipse cx='24' cy='15' rx='5' ry='6' fill='%23c96a1a'/%3E%3Cellipse cx='32' cy='15' rx='5' ry='6' fill='%23c96a1a'/%3E%3Cellipse cx='28' cy='15' rx='4.5' ry='6.3' fill='%23e07b22'/%3E%3Cpath d='M44 5 C38 10 40 18 44 22 C48 18 50 10 44 5z' fill='%23d08a2a' transform='rotate(10 44 13)'/%3E%3Cline x1='56' y1='3' x2='56' y2='6' stroke='%235c4a24' stroke-width='1.2'/%3E%3Cellipse cx='56' cy='14' rx='3.6' ry='5' fill='%23a8743a'/%3E%3Cpath d='M51.5 10 q4.5 -6 9 0z' fill='%236b4a24'/%3E%3Cpath d='M68 5 C62 10 64 18 68 22 C72 18 74 10 68 5z' fill='%23a63a1f' transform='rotate(-8 68 13)'/%3E%3Cpath d='M84 9 q0 -4 3 -5' fill='none' stroke='%235c4a24' stroke-width='1.6'/%3E%3Cellipse cx='80' cy='15' rx='5' ry='6' fill='%23d9cdb0'/%3E%3Cellipse cx='88' cy='15' rx='5' ry='6' fill='%23d9cdb0'/%3E%3Cellipse cx='84' cy='15' rx='4.5' ry='6.3' fill='%23ece3cc'/%3E%3Cpath d='M100 5 C94 10 96 18 100 22 C104 18 106 10 100 5z' fill='%23c9a227' transform='rotate(12 100 13)'/%3E%3C/svg%3E"); }
html[data-season="fall"] .section-head::before { content: ""; display: block; width: 70px; height: 36px; margin: 0 auto .4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='36' viewBox='0 0 70 36'%3E%3Cg transform='rotate(-62 35 24)'%3E%3Cpath d='M35 24 C28 18.8 30.8 11 35 4.5 C39.2 11 42 18.8 35 24z' fill='%23b5541c' stroke='rgba(90,40,10,.4)' stroke-width='.6'/%3E%3Cline x1='35' y1='24' x2='35' y2='7.099999999999998' stroke='rgba(90,40,10,.45)' stroke-width='.7'/%3E%3C/g%3E%3Cg transform='rotate(62 35 24)'%3E%3Cpath d='M35 24 C28 18.8 30.8 11 35 4.5 C39.2 11 42 18.8 35 24z' fill='%23c9a227' stroke='rgba(90,40,10,.4)' stroke-width='.6'/%3E%3Cline x1='35' y1='24' x2='35' y2='7.099999999999998' stroke='rgba(90,40,10,.45)' stroke-width='.7'/%3E%3C/g%3E%3Cg transform='rotate(0 35 22)'%3E%3Cpath d='M35 22 C30 18.0 32.0 12 35 7.0 C38.0 12 40 18.0 35 22z' fill='%23a63a1f' stroke='rgba(90,40,10,.4)' stroke-width='.6'/%3E%3Cline x1='35' y1='22' x2='35' y2='9.0' stroke='rgba(90,40,10,.45)' stroke-width='.7'/%3E%3C/g%3E%3Cline x1='30' y1='18' x2='30' y2='21' stroke='%235c4a24' stroke-width='1.2'/%3E%3Cellipse cx='30' cy='29' rx='3.6' ry='5' fill='%23a8743a'/%3E%3Cpath d='M25.5 25 q4.5 -6 9 0z' fill='%236b4a24'/%3E%3Cline x1='40' y1='18' x2='40' y2='21' stroke='%235c4a24' stroke-width='1.2'/%3E%3Cellipse cx='40' cy='29' rx='3.6' ry='5' fill='%23a8743a'/%3E%3Cpath d='M35.5 25 q4.5 -6 9 0z' fill='%236b4a24'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-season="fall"] .activity::after { content: ""; position: absolute; top: -16px; right: -8px; width: 40px; height: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='32' viewBox='0 0 40 32'%3E%3Cpath d='M14 16 q0 -4 3 -5' fill='none' stroke='%235c4a24' stroke-width='1.6'/%3E%3Cellipse cx='10' cy='22' rx='7' ry='8' fill='%23c96a1a'/%3E%3Cellipse cx='18' cy='22' rx='7' ry='8' fill='%23c96a1a'/%3E%3Cellipse cx='14' cy='22' rx='6' ry='8.4' fill='%23e07b22'/%3E%3Cpath d='M30 10 C24 15 26 23 30 27 C34 23 36 15 30 10z' fill='%23b5541c' transform='rotate(35 30 18)'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Fall hero: heirloom pumpkins, wheat sheaves and a softly glowing jack-o'-lantern on the card's corners */
.hero-harvest { display: none; position: absolute; bottom: -18px; align-items: flex-end; pointer-events: none; filter: drop-shadow(0 6px 6px rgba(44,29,23,.3)); }
html[data-season="fall"] .hero-harvest { display: flex; }
/* The darkening at the bottom of the front photo can be turned off per season (dev panel → Front photo; Hero.shadeOn in
   seasons.js). Fall starts with it off (owner, 2026-11-07: "remove the orange/brown gradient ... of the fall."). */
.hero.no-shade::before { display: none; }
.hero-harvest.left { left: -58px; }
.hero-harvest.right { right: -58px; }
.hero-harvest svg { display: block; }
.hero-harvest .wheat-sheaf { width: 36px; height: 64px; margin: 0 -6px; }
.hero-harvest .jack { width: 74px; height: 58px; }
.hero-harvest .pumpkin-sm { width: 46px; height: 36px; margin: 0 -8px; }
.hero-harvest.left .pumpkin-sm { margin-left: -14px; }
/* A flicker in steps, about 10 a second: each change makes the browser redo the glow filters, so 60 a second was the costliest thing on the page (measured 2026-11-06) */
.jack-face { filter: drop-shadow(0 0 3px #ffb347); animation: candle 3.2s steps(6, jump-none) infinite; }
@keyframes candle {
  0%, 100% { opacity: 1; } 20% { opacity: .82; } 35% { opacity: .96; } 55% { opacity: .78; } 70% { opacity: .93; }
}
html.no-motion .jack-face { animation: none; }
.jack-eye { transform-box: fill-box; transform-origin: center; transition: transform .07s ease-in; }
.jack-eye.shut { transform: scaleY(.08); }
@media (max-width: 720px) {
  .hero-harvest { transform: scale(.72); bottom: -22px; }
  .hero-harvest.left { left: -30px; transform-origin: bottom left; }
  .hero-harvest.right { right: -30px; transform-origin: bottom right; }
}

/* December: a Victorian Christmas. Evergreen garland with velvet bows, glass ornaments, holly, snow */
html[data-season="december"] {
  --paper: #f6efe1; --paper-deep: #ece0c6; --card: #fbf7ee;
  --accent: #1f4a33; --accent-deep: #133222; --gold: #b8912f; --green: #1f4a33;
  --line: rgba(31,74,51,.25); --highlight: #f0d9a0; --hero-tint: rgba(19,50,34,.35);
}
html[data-season="december"] .btn-primary,
html[data-season="december"] .site-nav .nav-book { background: #9b1c24; border-color: #9b1c24; box-shadow: inset 0 0 0 3px #9b1c24, inset 0 0 0 4px rgba(246,239,225,.5); }
html[data-season="december"] .btn-primary:hover { background: #7a141b; }
html[data-season="december"] .season-trim { height: 44px; }
html[data-season="december"] .trim-a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='44' viewBox='0 0 110 44'%3E%3Cpath d='M0 6 Q55 34 110 6' fill='none' stroke='%231f4a33' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M0 6 Q55 34 110 6' fill='none' stroke='%233d7a55' stroke-width='5' stroke-dasharray='1.5 2.5'/%3E%3Cpath d='M0 6 Q55 34 110 6' fill='none' stroke='%2316382a' stroke-width='2' stroke-dasharray='1 4' stroke-dashoffset='2'/%3E%3Cline x1='55' y1='20' x2='55' y2='29' stroke='%23b8912f' stroke-width='.8'/%3E%3Ccircle cx='55' cy='34' r='5' fill='%23b8912f'/%3E%3Crect x='53' y='27.5' width='4' height='2.5' fill='%238a6a22'/%3E%3Ccircle cx='53.3' cy='32.3' r='1.4' fill='%23fff' opacity='.5'/%3E%3Cg fill='%239b1c24'%3E%3Cpath d='M0 6 C-10 -2 -16 4 -12 9 C-8 13 -3 9 0 6Z'/%3E%3Cpath d='M0 6 C10 -2 16 4 12 9 C8 13 3 9 0 6Z'/%3E%3Cpath d='M-2 7 L-6 20 L-2 18Z'/%3E%3Cpath d='M2 7 L6 20 L2 18Z'/%3E%3C/g%3E%3Ccircle cx='0' cy='6.5' r='2.6' fill='%237a141b'/%3E%3Cg fill='%239b1c24'%3E%3Cpath d='M110 6 C100 -2 94 4 98 9 C102 13 107 9 110 6Z'/%3E%3Cpath d='M110 6 C120 -2 126 4 122 9 C118 13 113 9 110 6Z'/%3E%3Cpath d='M108 7 L104 20 L108 18Z'/%3E%3Cpath d='M112 7 L116 20 L112 18Z'/%3E%3C/g%3E%3Ccircle cx='110' cy='6.5' r='2.6' fill='%237a141b'/%3E%3C/svg%3E"); }
html[data-season="december"] .trim-b { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='44' viewBox='0 0 110 44'%3E%3Ccircle cx='18' cy='13' r='1.3' fill='%23ffe9a8'/%3E%3Ccircle cx='36' cy='18.5' r='1.3' fill='%23ffe9a8'/%3E%3Ccircle cx='74' cy='18.5' r='1.3' fill='%23ffe9a8'/%3E%3Ccircle cx='92' cy='13' r='1.3' fill='%23ffe9a8'/%3E%3C/svg%3E"); animation: twinkle 2.6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .2; } to { opacity: 1; } }
html[data-season="december"] .hero-card::before { content: ""; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 104px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='56' viewBox='0 0 96 56'%3E%3Cg fill='%239b1c24' stroke='%236e1119' stroke-width='1'%3E%3Cpath d='M46 22 L34 52 L40 48 L43 54 L50 24Z'/%3E%3Cpath d='M50 22 L62 52 L56 48 L53 54 L46 24Z'/%3E%3Cpath d='M48 20 C32 0 6 4 13 20 C18 32 36 28 48 20Z'/%3E%3Cpath d='M48 20 C64 0 90 4 83 20 C78 32 60 28 48 20Z'/%3E%3C/g%3E%3Cpath d='M44 18 C34 8 20 9 19 16' fill='none' stroke='%23d9575f' stroke-width='1.5' opacity='.7'/%3E%3Cpath d='M52 18 C62 8 76 9 77 16' fill='none' stroke='%23d9575f' stroke-width='1.5' opacity='.7'/%3E%3Cellipse cx='48' cy='21' rx='6' ry='7' fill='%238a1820' stroke='%236e1119'/%3E%3Cpath d='M38 3 h20' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-season="december"] .hero-ornaments { display: block; }
html[data-season="december"] .section-head::before,
html[data-season="december"] .activity::after { content: ""; display: block; width: 60px; height: 36px; margin: 0 auto .4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36' viewBox='0 0 60 36'%3E%3Cg fill='%232f6b49' stroke='%231f4a33' stroke-width='.8'%3E%3Cpath d='M30 20 Q24 12 18 14 Q15 8 9 10 Q8 4 2 4 Q6 10 4 15 Q10 16 11 21 Q17 20 20 25 Q25 21 30 20Z'/%3E%3Cpath d='M30 20 Q36 12 42 14 Q45 8 51 10 Q52 4 58 4 Q54 10 56 15 Q50 16 49 21 Q43 20 40 25 Q35 21 30 20Z'/%3E%3C/g%3E%3Cg fill='%23a3172a'%3E%3Ccircle cx='27' cy='22' r='3.6'/%3E%3Ccircle cx='33' cy='22' r='3.6'/%3E%3Ccircle cx='30' cy='27.5' r='3.6'/%3E%3C/g%3E%3Cg fill='%23fff' opacity='.55'%3E%3Ccircle cx='26' cy='21' r='1'/%3E%3Ccircle cx='32' cy='21' r='1'/%3E%3Ccircle cx='29' cy='26.5' r='1'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
html[data-season="december"] .activity::after { position: absolute; top: -14px; right: -10px; margin: 0; width: 46px; height: 28px; }

/* Winter: slate blue, silver, frost, icicles */
html[data-season="winter"] {
  --paper: #f1f4f6; --paper-deep: #dfe6ec; --card: #fafcfd;
  --ink: #1f2a33; --ink-soft: #4a5a68;
  --accent: #2d4a63; --accent-deep: #1d3346; --gold: #7d93a6; --green: #2d4a63;
  --line: rgba(45,74,99,.22); --highlight: #dbe8f3; --hero-tint: rgba(29,51,70,.3);
}
html[data-season="winter"] body {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.7), transparent 40%),
    repeating-linear-gradient(45deg, rgba(45,74,99,.02) 0 2px, transparent 2px 14px);
}
html[data-season="winter"] .trim-a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='28'%3E%3Cpath d='M0 0 H48 V3 H44 L41 16 L38 3 H30 L27 24 L24 3 H16 L13 12 L10 3 H0z' fill='%23eef5fb' stroke='%23a9bccb' stroke-width='.8'/%3E%3C/svg%3E");
}

/* Authoring tools */
html.authoring [contenteditable] { outline: 1px dashed rgba(184,145,47,.55); outline-offset: 3px; cursor: text; }
html.authoring [contenteditable]:hover { outline-color: #b8912f; background: rgba(255,244,194,.3); }
html.authoring [contenteditable]:focus { outline: 2px solid #b8912f; background: rgba(255,244,194,.5); }
html.authoring [contenteditable] { min-height: 1.2em; min-width: 2em; }
/* A styled first letter (drop cap) throws the cursor off while typing, especially in Safari; show it plain while editing */
html.authoring .drop-cap::first-letter { float: none; font: inherit; color: inherit; padding: 0; line-height: inherit; }
html.authoring [contenteditable]:empty::after { content: "Type here"; color: #a09380; font-style: italic; }
html.authoring li[contenteditable]:empty::after { content: "New item"; }
/* Seasonal text (saved for the season on show only) is outlined in plum; permanent text keeps the gold outline */
html.authoring #season-feature [contenteditable], html.authoring #season-greeting[contenteditable], html.authoring #season-badge[contenteditable] { outline-color: rgba(142,59,160,.6); }
html.authoring #season-feature [contenteditable]:hover, html.authoring #season-greeting[contenteditable]:hover, html.authoring #season-badge[contenteditable]:hover { outline-color: #8e3ba0; background: rgba(233,212,240,.35); }
html.authoring #season-feature [contenteditable]:focus, html.authoring #season-greeting[contenteditable]:focus, html.authoring #season-badge[contenteditable]:focus { outline-color: #8e3ba0; background: rgba(233,212,240,.5); }
html.authoring #season-feature { box-shadow: inset 0 0 0 4px #8e3ba0; }
html.authoring #season-feature [contenteditable] { outline-color: rgba(214,160,228,.85); }
.ed-scope {
  display: block; width: max-content; max-width: calc(100% - 16px); margin: 10px auto; padding: 3px 12px; border-radius: 999px;
  font: 700 12px/1.4 system-ui, sans-serif; letter-spacing: .02em; text-align: center; color: #1d1d1f; background: #f0c35a;
}
.ed-scope.seasonal, .ed-scope-pill.seasonal, .author-scope.seasonal { background: #8e3ba0; color: #fff; }
.ed-scope-pill, .author-scope { font: 700 12px system-ui, sans-serif; padding: 3px 8px; border-radius: 999px; background: #f0c35a; color: #1d1d1f; }
.author-scope[hidden] { display: none; }
html.authoring [data-region] img, html.authoring .hero, html.authoring .gallery-item { cursor: pointer; }
html.authoring .ed-selected { outline: 3px solid #2f6fdc !important; outline-offset: 4px; }
html.authoring .ed-section-selected { box-shadow: inset 0 0 0 3px rgba(47,111,220,.55); background-color: rgba(47,111,220,.04); }
html.authoring .gallery:empty { min-height: 80px; border: 2px dashed var(--line); }

.author-bar, .ed-dock, .ed-add-section, .ed-add-photos { font: 13px/1.3 system-ui, sans-serif; }
.author-bar {
  position: fixed; top: 8px; left: 50%; transform: translateX(-50%); z-index: 70;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
  width: max-content; max-width: calc(100% - 16px); padding: 6px 10px;
  background: #1d1d1f; color: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.author-bar[hidden], .ed-block-bar[hidden], .ed-section-bar[hidden], .ab-link[hidden] { display: none; }
.ab-group, .ab-link { display: flex; gap: 4px; align-items: center; }
.ab-link input { font: inherit; padding: 4px 6px; border-radius: 5px; border: 0; width: 220px; }
.author-status { font-weight: 600; color: #f0c35a; }
.author-bar button, .ed-block-bar button, .ed-section-bar button, .ed-add-section button, .ed-add-photos {
  font: 600 13px system-ui, sans-serif; border: 0; border-radius: 6px; padding: 5px 10px; cursor: pointer;
  background: #3a3a3e; color: #fff;
}
.author-bar button:disabled { opacity: .35; cursor: default; }
.author-bar .author-save { background: #f0c35a; color: #1d1d1f; }

.ed-dock {
  position: fixed; z-index: 65; left: 50%; transform: translateX(-50%); top: 52px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; width: max-content; max-width: calc(100vw - 16px);
}
.ed-block-bar, .ed-section-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px;
  padding: 4px 6px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.ed-block-bar { background: #2f6fdc; color: #fff; }
.ed-block-bar button { background: rgba(255,255,255,.18); }
.ed-block-bar input { font: inherit; padding: 4px 6px; border: 0; border-radius: 5px; width: 220px; }
.ed-section-bar { background: #fff; color: #1d1d1f; border: 1px solid #c9d6ee; }
.ed-section-bar button { background: #eef2fa; color: #1d1d1f; }
.ed-label { font-weight: 700; padding: 0 4px; }
.ed-block-bar .ed-danger { background: #b3261e; }
.ed-section-bar .ed-danger { background: #b3261e; color: #fff; }
.ed-section-bar .ed-quiet-danger { background: #eef2fa; color: #b3261e; }
.ed-add-photos { display: block; margin: 12px auto 0; background: #2f6fdc; }
.ed-add-section {
  max-width: var(--max); margin: 1rem auto 2rem; padding: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  justify-content: center; border: 2px dashed #9db5e6; border-radius: 10px; color: #1d1d1f; background: #f4f7fd;
}
.ed-add-section button { background: #2f6fdc; }
.ed-sec-toggle { display: none; }
.ed-sec-more { display: contents; }

/* "Save before leaving the editor?" box, just under the toolbar's "✕ Stop editing" */
.ed-leave {
  position: fixed; top: 60px; left: 50%; transform: translateX(-50%); z-index: 71; width: 280px; max-width: calc(100vw - 16px); padding: 12px; border-radius: 10px;
  background: #fff; color: #1d1d1f; font: 13px/1.4 system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.ed-leave[hidden] { display: none; }
.ed-leave p { margin: 0 0 10px; font-weight: 600; }
.ed-leave button { font: 600 13px system-ui, sans-serif; border: 0; border-radius: 6px; padding: 6px 10px; margin: 0 4px 4px 0; cursor: pointer; background: #e8e8ea; color: #1d1d1f; }
.ed-leave .ed-leave-save { background: #f0c35a; }

/* "Deleted the section … ↶ Undo" strip */
.ed-section-bar.ed-notice { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.ed-section-bar .ed-undo-big { background: #f0c35a; color: #1d1d1f; font-weight: 700; padding: 6px 14px; }

/* Adjust photo: the whole photo shows at 50% around its frame while adjusting */
html.authoring .photo:has(> img.ed-selected) { outline: 3px solid #2f6fdc; outline-offset: 4px; }
.ed-adjust { position: fixed; inset: 0; z-index: 60; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.ed-adjust.dragging { cursor: grabbing; }
.ed-adjust[hidden] { display: none; }
.ed-ghost { position: absolute; max-width: none; opacity: .5; pointer-events: none; }
.ed-frame { position: absolute; pointer-events: none; outline: 2px solid #2f6fdc; box-shadow: 0 0 0 1px #fff, 0 0 0 9999px rgba(29,29,31,.12); }
.ed-h {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: #fff; border: 2px solid #2f6fdc; box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.ed-h[hidden] { display: none; }
.ed-h[data-h="nw"], .ed-h[data-h="se"] { cursor: nwse-resize; }
.ed-h[data-h="ne"], .ed-h[data-h="sw"] { cursor: nesw-resize; }
.ed-h-edge { width: 34px; height: 12px; margin: -6px 0 0 -17px; border-radius: 6px; cursor: ns-resize; }
@media (pointer: coarse) { .ed-h { width: 26px; height: 26px; margin: -13px 0 0 -13px; } .ed-h-edge { width: 44px; height: 18px; margin: -9px 0 0 -22px; } }
.ed-block-bar .ed-zoom { display: inline-flex; align-items: center; gap: 6px; }
.ed-block-bar .ed-zoom input { width: 120px; padding: 0; }
.ed-block-bar button.on { background: #fff; color: #2f6fdc; }
.ed-block-bar .ed-done { background: #f0c35a; color: #1d1d1f; font-weight: 700; }
.ed-block-bar .ed-hint { flex-basis: 100%; text-align: center; font-size: 12px; opacity: .85; }

/* Hide the floating decorations (Santa, falling leaves/snow) while editing so nothing covers the text */
html.authoring .buster-toy, html.authoring .buster-letter, html.authoring .buster-prop, html.authoring .buster-bit, html.authoring .buster-puff, html.authoring .buster-ball, html.authoring .buster-say, html.authoring .buster-rips, html.authoring .snow-drifts, html.authoring .leaf-piles, html.authoring .floating-santa, html.authoring .floating-snowmen, html.authoring .buster, html.authoring .season-fx, html.authoring .season-fx-front { display: none !important; }

/* Only the owner (signed in at /owner) gets the dev panel. The preview link gets a season bar across the top, with the
   house's header sticking just below it. */
html:not(.owner) .dev-panel { display: none; }
html.preview .site-header { top: var(--preview-bar-h, 0px); }
html.preview { scroll-padding-top: calc(var(--preview-bar-h, 0px) + 5rem); }
.preview-bar {
  position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 12px; padding: 7px 12px; background: #1d1d1f; color: #fff; font: 13px/1.3 system-ui, sans-serif;
}
.gb-title { font-weight: 700; }
.gb-seasons { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.gb-seasons button {
  font: 600 13px system-ui, sans-serif; border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer;
  background: #3a3a3e; color: #fff;
}
.gb-seasons button[aria-pressed="true"] { background: #f0c35a; color: #1d1d1f; }
@media (max-width: 720px) {
  .preview-bar { padding: 6px 8px; gap: 4px; }
  .gb-title { display: none; }
  .gb-seasons { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; max-width: 100%; padding-bottom: 2px; }
  .gb-seasons button { flex: none; padding: 7px 11px; }
}

/* Phones and touch screens: bigger buttons, no zoom-in on text boxes, compact bars */
@media (pointer: coarse) {
  .author-bar button, .ed-block-bar button, .ed-section-bar button, .ed-add-section button, .ed-add-photos {
    font-size: 15px; padding: 8px 12px; min-height: 38px;
  }
  .ab-link input, .ed-block-bar input { font-size: 16px; }
}
@media (max-width: 720px) {
  .author-bar { gap: 4px 6px; padding: 5px 6px; top: 6px; }
  .author-bar .lbl, .ed-block-bar .lbl, .ed-sec-name { display: none; }
  .author-status { flex-basis: 100%; text-align: center; order: 9; font-size: 12px; }
  .ab-link input { width: 160px; }
  .ed-sec-toggle { display: inline-block; }
  .ed-section-bar:not(.open) .ed-sec-name { max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ed-section-bar:not(.open) .ed-sec-more { display: none; }
  .ed-section-bar.open .ed-sec-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: 100%; }
}

/* The welcome photo inside the text, under the first paragraph (owner, 2026-11-07). Full (or no width set): as wide as
   the section, wider than the text column; third / half / two thirds: that share of the text column, centred.
   Clears the drop cap. */
.welcome-grid:has(.welcome-text .framed) { grid-template-columns: 1fr; }
.welcome-text .framed { clear: both; margin: 2rem 0; width: calc(min(var(--max), 100vw) - 2 * var(--gutter)); left: 50%; transform: translateX(-50%); }
.welcome-text .framed:has(img[data-size="third"]) { width: 33%; }
.welcome-text .framed:has(img[data-size="half"]) { width: 50%; }
.welcome-text .framed:has(img[data-size="twothirds"]) { width: 67%; }

/* Photo framing (numbers set by "Adjust photo"; see Photos in seasons.js). The photo is zoomed around the chosen point
   and clipped back to its frame, so the file itself is never changed. */
.photo { overflow: hidden; }
img[data-crop] {
  object-position: var(--x) var(--y);
  transform: scale(var(--z)); transform-origin: var(--x) var(--y);
  clip-path: inset(calc(var(--y) * (1 - 1 / var(--z))) calc((100% - var(--x)) * (1 - 1 / var(--z)))
    calc((100% - var(--y)) * (1 - 1 / var(--z))) calc(var(--x) * (1 - 1 / var(--z))));
}
/* Front photo zoomed out below 100%: the whole photo, at its true shape (--ar), shrunk inside the banner; the page's own
   background tiles show around it. 100% = just covering the banner; --xf/--yf (0–1) say where the smaller photo sits.
   Pure CSS (container units), so visitors' pages arrive already laid out. */
.hero-pic { position: absolute; inset: 0; display: block; container-type: size; }
.hero-pic.zoomed-out img.hero-photo {
  --w: calc(var(--z) * max(100cqw, 100cqh * var(--ar)));
  --h: calc(var(--z) * max(100cqh, 100cqw / var(--ar)));
  inset: auto; left: calc((100cqw - var(--w)) * var(--xf)); top: calc((100cqh - var(--h)) * var(--yf));
  width: var(--w); height: var(--h); max-width: none; max-height: none;
  object-fit: fill; transform: none; clip-path: none;
}
/* How much of the row a room or welcome photo takes (side-by-side layouts only; phones stack them) */
@media (min-width: 901px) {
  .room:has(> .photo img[data-size="third"]), .room.reverse:has(> .photo img[data-size="twothirds"]),
  .welcome-grid:has(.framed img[data-size="twothirds"]) { grid-template-columns: 1fr 2fr; }
  .room:has(> .photo img[data-size="twothirds"]), .room.reverse:has(> .photo img[data-size="third"]),
  .welcome-grid:has(.framed img[data-size="third"]) { grid-template-columns: 2fr 1fr; }
  .room:has(> .photo img[data-size="half"]), .welcome-grid:has(.framed img[data-size="half"]) { grid-template-columns: 1fr 1fr; }
  /* "Full": the photo takes the whole width on its own row (for wide photos); the words keep a readable width */
  .room:has(> .photo img[data-size="full"]), .welcome-grid:has(.framed img[data-size="full"]) { grid-template-columns: 1fr; }
  .welcome-grid:has(.framed img[data-size="full"]) .welcome-text,
  .room:has(> .photo img[data-size="full"]) .room-text { max-width: 760px; margin: 0 auto; }
}

/* Phone and tablet */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .book-grid, .welcome-grid, .room { grid-template-columns: 1fr; gap: 1.2rem; }
  .room.reverse > .photo { order: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem var(--gutter); width: 100%; text-align: center; border-top: 1px solid var(--line); }
  .site-nav .nav-book { padding: .8rem var(--gutter); }
  .hero { min-height: 78vh; }
  .hero-card { padding: 2rem 1.2rem; }
  .glance { grid-template-columns: repeat(2, 1fr); margin: -2rem var(--gutter) 0; }
  .glance-item:nth-child(2) { border-right: 0; }
  .glance-item:nth-child(-n+2) { border-bottom: 1px solid rgba(246,239,225,.2); }
  .section { padding-top: 3.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lightbox { padding: 8px; }
  .lightbox-nav { width: 36px; height: 48px; font-size: 1.8rem; }
  .lightbox-nav.prev { left: 12px; }
  .lightbox-nav.next { right: 12px; }
  .cards, .sights, .form-row { grid-template-columns: 1fr; }
  .book-option, .book-form { padding: 1.5rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.snow-drift):not(.peek-eyes):not(.peek-pupils) { transition: none !important; animation: none !important; }
}

/* Page outline in the dev panel: drag the middle sections into a new order */
.dev-outline { border: 1px solid #ddd; border-radius: 6px; margin: 0 0 10px; padding: 6px 8px 8px; }
.dev-outline-title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; }
.dev-outline-title span { font-size: 11px; color: #888; }
.dev-outline ol { list-style: none; margin: 0; padding: 0; }
.dev-outline li { padding: 4px 8px; margin: 2px 0; border-radius: 5px; cursor: pointer; user-select: none; -webkit-user-select: none; }
.dev-outline li.fixed { color: #999; font-size: 12px; padding: 2px 8px; }
.dev-outline li.fixed:hover { color: #555; }
.dev-outline li.movable { display: flex; gap: 8px; align-items: center; background: #eef2fa; border: 1px solid #c9d6ee; cursor: grab; touch-action: none; padding: 7px 8px; }
.dev-outline li.movable:hover { border-color: #2f6fdc; }
.dev-outline .grip { color: #7a8bb0; font-size: 15px; line-height: 1; }
.dev-outline li.dragging { background: #2f6fdc; color: #fff; border-color: #2f6fdc; cursor: grabbing; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.dev-outline li.dragging .grip { color: #fff; }
.dev-outline li.just-moved { animation: dev-moved 1.5s ease-out; }
@keyframes dev-moved { from { background: #f0c35a; } to { background: #eef2fa; } }
.dev-outline li.band { background: #f3e9f6; border-color: #d6a0e4; }
.dev-outline li.band:hover { border-color: #8e3ba0; }
.dev-outline li.band .grip { color: #8e3ba0; }
.dev-outline li small { margin-left: auto; font-size: 11px; color: #8e3ba0; }
[data-season-slot] { display: none; }

/* Front card sliders in the dev panel */
.dev-card { border: 1px solid #ddd; border-radius: 6px; margin: 0 0 10px; padding: 6px 10px 8px; }
.dev-card legend { font-weight: 600; padding: 0 4px; }
.dev-card label { display: block; margin: 4px 0 0; }
.dev-card .row { display: flex; justify-content: space-between; }
.dev-card input[type=range] { width: 100%; margin: 2px 0 0; }
.dev-card .dev-hint { display: flex; justify-content: space-between; align-items: center; }
.dev-card select { width: 100%; font: 13px system-ui, sans-serif; margin: 2px 0 0; padding: 3px; }
.dev-card .dev-grad-more[hidden] { display: none; }
.dev-card button { font: 12px system-ui, sans-serif; border: 1px solid #ccc; background: #f5f5f7; border-radius: 5px; padding: 2px 8px; cursor: pointer; }

/* Front photo controls in the dev panel */
.dev-photo-state { margin: 2px 0 6px; font-size: 13px; color: #555; }
.dev-photo-btns { display: flex; flex-wrap: wrap; gap: 4px; }
.dev-photo-btns button:disabled { opacity: .4; cursor: default; }
.dev-check { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; cursor: pointer; }

/* Site info: button in the dev panel, and the box it opens */
.dev-info-btn { display: block; width: 100%; margin: 0 0 10px; padding: 7px 10px; border: 1px solid #c9d6ee; border-radius: 6px; background: #eef2fa; color: #1d1d1f; font: 600 14px system-ui, sans-serif; cursor: pointer; }
.site-info { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.45); display: flex; align-items: flex-start; justify-content: center; overflow: auto; padding: 24px 16px; font: 14px/1.45 system-ui, sans-serif; color: #1d1d1f; }
.site-info[hidden] { display: none; }
.si-box { background: #fff; border-radius: 12px; padding: 16px 18px; width: 100%; max-width: 780px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.si-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.si-close { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #555; }
.si-note { color: #666; font-size: 13px; margin: 6px 0 12px; }
.si-cols { display: flex; flex-wrap: wrap; gap: 18px; }
.si-cols > div { flex: 1 1 300px; min-width: 0; }
.si-cols h4 { margin: 0 0 2px; font-size: 15px; }
.si-res { margin: 0 0 8px; color: #555; font-size: 13px; }
.si-thumb { overflow: hidden; border: 1px solid #ccc; border-radius: 6px; margin: 0 0 8px; background: #f5f5f7; }
.si-thumb iframe { border: 0; transform-origin: 0 0; pointer-events: none; }
.si-out p { margin: 0 0 6px; }
.si-out ol { margin: 0; padding-left: 20px; color: #444; font-size: 13px; }
.si-total { font-size: 16px; }
.si-here { margin: 12px 0 0; color: #666; font-size: 13px; }

/* Photo library (dev panel → Photo library; also opens to choose any picture) */
.lib-box { max-width: 960px; }
.lib-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 4px; }
.lib-bar button { font: 600 14px system-ui, sans-serif; padding: 7px 12px; border-radius: 6px; border: 1px solid #c9d6ee; background: #eef2fa; color: #1d1d1f; cursor: pointer; }
.lib-bar .lib-upload { background: #2f6fdc; border-color: #2f6fdc; color: #fff; }
.lib-bar .lib-use { background: #f0c35a; border-color: #d9a93a; margin-left: auto; }
.lib-bar .lib-use:disabled { opacity: .5; cursor: default; }
.lib-status { color: #555; font-size: 13px; }
.lib-hint { margin: 0 0 8px; color: #666; font-size: 13px; }
.lib-box h5 { margin: 14px 0 6px; font-size: 14px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lib-tile { margin: 0; border: 2px solid transparent; border-radius: 8px; background: #f5f5f7; overflow: hidden; }
.lib-tile.chosen { border-color: #2f6fdc; box-shadow: 0 0 0 2px #2f6fdc; }
.lib-img { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.lib-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lib-tile figcaption { padding: 5px 7px 7px; font-size: 12px; }
.lib-name { display: block; font-weight: 600; overflow-wrap: anywhere; }
.lib-name[contenteditable="true"] { outline: 2px solid #2f6fdc; background: #fff; }
.lib-tile small { color: #777; }
.lib-acts { display: flex; gap: 4px; margin-top: 4px; }
.lib-acts button { font: 12px system-ui, sans-serif; padding: 2px 7px; border: 1px solid #ccc; border-radius: 5px; background: #fff; cursor: pointer; }
.lib-acts [data-lib="delete"] { color: #b3261e; }
.lib-empty { color: #888; font-size: 13px; margin: 0; }

/* Photo tool: sliders and the on-screen pad */
.ed-block-bar .ed-sliders { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.ed-block-bar .ed-slide { display: inline-flex; align-items: center; gap: 6px; }
.ed-block-bar .ed-slide input { width: 120px; padding: 0; }
.ed-block-bar .ed-slide input:disabled { opacity: .35; }
.ed-block-bar .ed-slide output { min-width: 3.2em; font-variant-numeric: tabular-nums; font-size: 12px; opacity: .9; }
.ed-pad { position: fixed; z-index: 66; display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; padding: 8px; border-radius: 12px; background: rgba(29,29,31,.72); box-shadow: 0 6px 20px rgba(0,0,0,.3); touch-action: none; user-select: none; -webkit-user-select: none; }
.ed-pad[hidden] { display: none; }
.ed-pad button { width: 44px; height: 44px; border: 0; border-radius: 8px; background: rgba(255,255,255,.92); color: #1d1d1f; font: 700 20px/1 system-ui, sans-serif; cursor: pointer; touch-action: none; }
.ed-pad button:active { background: #f0c35a; }
.ed-pad button:disabled { opacity: .35; cursor: default; }
/* The front card fades away while a photo is being adjusted, so the whole photo can be seen */
html.ed-adjusting .hero-card { opacity: .12 !important; pointer-events: none; transition: opacity .2s; }
@media (max-width: 720px) {
  .ed-block-bar .ed-sliders { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .ed-block-bar .ed-slide input { flex: 1; width: auto; }
}
/* The dev panel folds away while a photo is being adjusted (it covered the photo and the buttons) */
html.ed-adjusting .dev-body { display: none !important; }

.author-bar .author-exit { background: rgba(255,255,255,.12); }
.author-bar .author-exit[hidden] { display: none; }

/* Phones: the editing toolbar is one slim row (owner, 2026-11-07: "Make the editing tool bar smaller for mobile.").
   Smaller buttons; Unlink only while the cursor is in a link; no "Unsaved changes" line (Save lights up instead), but
   messages (Saving…, Saved ✓, problems) show briefly under the bar; no Permanent/Seasonal tag (the outlines show it). */
@media (max-width: 720px) {
  .author-bar { gap: 4px; padding: 4px 6px; top: 4px; border-radius: 9px; max-width: calc(100% - 8px); }
  .author-bar .ab-group { gap: 3px; }
  .author-bar button { font-size: 14px; padding: 4px 7px; min-height: 32px; border-radius: 6px; }
  .author-bar [data-cmd="unlink"] { display: none; }
  .author-bar.in-link [data-cmd="unlink"] { display: inline-block; }
  .author-bar .author-scope { display: none; }
  .author-bar .author-status { display: none; }
  .author-bar.has-message .author-status {
    display: block; position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap;
    padding: 3px 10px; border-radius: 999px; background: #1d1d1f; box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }
}
/* The old gentleman's snow blower (buster-play.js, blowSnow) */
.buster-say.blower-start { font-weight: 700; font-style: italic; color: #8a2b1e; text-shadow: 0 0 3px #fff; }
.buster-puff.blower-smoke { background: radial-gradient(circle, rgba(85,85,85,.55) 0%, rgba(85,85,85,0) 70%); }

/* ---------- Blog (/blog and /blog/<post>; page made by server.js from blog.html) ---------- */
@media (max-width: 900px) and (min-width: 721px) { .site-nav { gap: 1rem; } }
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.blog-main h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.blog-index .section-head { margin-bottom: 2.5rem; }
.blog-index .section-intro { margin-bottom: 1.5rem; }
.blog-empty { text-align: center; font-style: italic; color: var(--ink-soft); }
.post-list { display: grid; gap: 1.6rem; max-width: 900px; margin: 0 auto; }
.post-card { background: var(--card); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -6px; }
.post-card.is-draft { border-style: dashed; }
.post-card-link { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); color: inherit; text-decoration: none; }
.post-card-link:not(:has(.post-card-photo)) { grid-template-columns: 1fr; }
.post-card-photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.post-card-text { padding: 1.4rem 1.6rem 1.5rem; }
.post-card h2 { font-size: clamp(1.6rem, 4vw, 2rem); margin-bottom: .3em; }
.post-card-link:hover h2 { color: var(--accent); }
.post-excerpt { margin: 0 0 .8rem; color: var(--ink-soft); }
.post-more { font-family: var(--font-display); letter-spacing: .06em; color: var(--accent); font-size: 1rem; }
.post-date { font-family: var(--font-display); letter-spacing: .12em; font-size: .85rem; color: var(--gold); margin: 0 0 .4rem; }
.post-draft { display: inline-block; margin-left: .6em; padding: .1em .6em; font-family: system-ui, sans-serif; letter-spacing: 0; font-size: .75rem; color: #fff; background: #7a5a8a; border-radius: 3px; vertical-align: 1px; }
@media (max-width: 720px) {
  .post-card-link { grid-template-columns: 1fr; }
  .post-card-photo img { min-height: 0; aspect-ratio: 3 / 2; }
  .post-card-text { padding: 1.1rem 1.1rem 1.2rem; }
}

.post { max-width: 760px; padding-top: 2.5rem; }
.post-back { margin: 0 0 1.5rem; font-family: var(--font-display); letter-spacing: .05em; font-size: 1rem; }
.post-back a, .post-foot > a:first-child { text-decoration: none; }
.post-head { text-align: center; }
.post-title { margin-bottom: .2em; }
.post-cover { margin: 0 0 2rem; }
.post-cover img { width: 100%; border: 1px solid var(--gold); }
.post-body { font-size: 1.25rem; overflow-wrap: break-word; }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { font-size: clamp(1.6rem, 4vw, 2rem); margin-top: 1.6em; }
.post-body h3 { margin-top: 1.4em; }
.post-body blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--gold); font-style: italic; color: var(--ink-soft); }
.post-body figure { margin: 1.8em 0; }
.post-body figure img { width: 100%; border: 1px solid var(--line); }
.post-body figcaption { font-style: italic; font-size: 1.05rem; color: var(--ink-soft); text-align: center; margin-top: .4em; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--font-display); letter-spacing: .05em; font-size: 1rem; }

/* Owner's blog tools (blog-editor.js); plain system type like the dev panel, so they read as tools, not page */
.blog-new { margin-top: .5rem; }
.be-bar { position: relative; z-index: 15; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 1.5rem; padding: .5rem; background: #fff; border: 1px solid #d6d0c4; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.08); font: 14px/1.3 system-ui, sans-serif; color: #1d1d1f; }
.be-bar button, .be-bar select, .be-bar input, .be-pick button { font: inherit; padding: .4rem .7rem; border: 1px solid #c8c2b6; border-radius: 6px; background: #f7f5f0; color: #1d1d1f; cursor: pointer; }
.be-bar button:hover { background: #ece7dc; }
.be-bar .be-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.be-bar .be-danger { color: #a3262f; }
.be-bar label { display: inline-flex; align-items: center; gap: .3rem; }
.be-sep { width: 1px; align-self: stretch; background: #e0dace; margin: 0 .2rem; }
.be-status { margin-left: auto; color: #6b6458; }
@media (max-width: 720px) { .be-bar { position: static; } }
.be-hint { flex-basis: 100%; margin: 0; color: #6b6458; font-size: 13px; }
.post.editing .post-title, .post.editing .post-body { outline: 2px dashed #c9a24a; outline-offset: 6px; }
.post.editing .post-body { min-height: 8em; }
.post.editing .post-cover[hidden] { display: none; }
.post.editing .post-body img { cursor: pointer; }
.post.editing .post-body img.be-selected { outline: 4px solid #c9a24a; }
.be-imgbtn { position: absolute; z-index: 16; font: 14px system-ui, sans-serif; padding: .4rem .7rem; border-radius: 6px; border: 0; background: #a3262f; color: #fff; cursor: pointer; }
.be-pick { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.45); font: 14px/1.3 system-ui, sans-serif; color: #1d1d1f; }
.be-pick[hidden] { display: none; }
.be-pick-box { width: min(900px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 10px; padding: 1rem; }
.be-pick-head { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: .6rem; }
.be-pick-head strong { margin-right: auto; font-size: 16px; }
.be-pick h5 { margin: 1rem 0 .4rem; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #6b6458; }
.be-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; }
.be-grid button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #eee; cursor: pointer; aspect-ratio: 4 / 3; }
.be-grid button:hover, .be-grid button:focus-visible { border-color: var(--accent); }
.be-grid img { width: 100%; height: 100%; object-fit: cover; }
.post-card-link.no-photo { grid-template-columns: 1fr; }
.post-by { font-style: normal; }
.blog-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: 900px; margin: 2rem auto 0; font-family: var(--font-display); letter-spacing: .05em; font-size: 1rem; }
.blog-pager a { text-decoration: none; }
.blog-pager-at { color: var(--ink-soft); }
.blog-closed { font: 14px/1.4 system-ui, sans-serif; color: #7a5a8a; }
.blog-owner-btns { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin: .5rem 0 0; }

/* Blog settings panel (owner) */
.bs-form { width: min(560px, 100%); }
.bs-form fieldset { border: 1px solid #e0dace; border-radius: 8px; margin: 0 0 .8rem; padding: .6rem .8rem .8rem; }
.bs-form legend { font-weight: 600; padding: 0 .3rem; }
.bs-field { display: grid; gap: .25rem; margin: .5rem 0; }
.bs-field small, .bs-check small { display: block; color: #6b6458; font-size: 12px; }
.bs-field input, .bs-field textarea, .bs-field select { font: inherit; padding: .45rem .55rem; border: 1px solid #c8c2b6; border-radius: 6px; width: 100%; background: #fff; color: #1d1d1f; }
.bs-check { display: flex; gap: .5rem; align-items: flex-start; margin: .5rem 0; }
.bs-check input { margin-top: .2rem; }
.bs-foot { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; position: sticky; bottom: -1rem; background: #fff; padding: .6rem 0; }
.bs-foot .bs-status { margin-right: auto; color: #6b6458; }
.bs-foot button { font: inherit; padding: .5rem .9rem; border: 1px solid #c8c2b6; border-radius: 6px; background: #f7f5f0; cursor: pointer; }
.bs-foot .be-primary { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Blog: richer posts (2026-12-04) */
.post-body hr { border: 0; height: 22px; margin: 2em auto; max-width: 240px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24'%3E%3Cpath d='M120 4l8 8-8 8-8-8z' fill='%23a8843f'/%3E%3Cpath d='M106 12H6M134 12h100' stroke='%23a8843f' stroke-width='1.4'/%3E%3C/svg%3E"); }
.post-body .callout { margin: 1.6em 0; padding: 1em 1.3em; background: var(--card); border: 1px solid var(--gold); border-left-width: 5px; }
.post-body .callout > :first-child { margin-top: 0; }
.post-body .callout > :last-child { margin-bottom: 0; }
.post-body .button-row { text-align: center; margin: 1.6em 0; }
.post-body .post-button { display: inline-block; font-family: var(--font-display); letter-spacing: .06em; font-size: 1.05rem; padding: .75em 1.6em; background: var(--accent); color: var(--paper); text-decoration: none; box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px rgba(246,239,225,.5); }
.post-body .post-button:hover { background: var(--accent-deep); }
.post-body figure.size-small { max-width: 55%; margin-left: auto; margin-right: auto; }
.post-body figure.size-left, .post-body figure.size-right { width: 45%; margin-top: .3em; margin-bottom: 1em; }
.post-body figure.size-left { float: left; margin-right: 1.4em; }
.post-body figure.size-right { float: right; margin-left: 1.4em; }
.post-body::after { content: ""; display: block; clear: both; }
.post-body .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 45%), 1fr)); gap: .6rem; margin: 1.8em 0; }
.post-body .gallery figure { margin: 0; }
.post-body .gallery img { aspect-ratio: 4 / 3; object-fit: cover; height: 100%; }
.post-body .video { position: relative; aspect-ratio: 16 / 9; margin: 1.8em 0; background: #000; }
.post-body .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) {
  .post-body figure.size-left, .post-body figure.size-right { float: none; width: auto; margin: 1.8em 0; }
  .post-body figure.size-small { max-width: 80%; }
}
.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 0; }
.post-tags a, .blog-tagbar a { font-family: var(--font-display); font-size: .85rem; letter-spacing: .08em; padding: .2em .8em; border: 1px solid var(--gold); color: var(--accent); text-decoration: none; background: var(--card); }
.post-tags a:hover, .blog-tagbar a:hover, .blog-tagbar a[aria-current="page"] { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.post-card .post-tags { margin: 0; padding: 0 1.6rem 1.2rem; }
.blog-tagbar { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; max-width: 900px; margin: 0 auto 1.5rem; }
.blog-tag-head { text-align: center; margin: -0.5rem 0 1.5rem; color: var(--ink-soft); }
.post-featured { font-family: var(--font-display); letter-spacing: .12em; font-size: .85rem; color: var(--accent); margin: 0 0 .3rem; }
.post-card.is-featured { border-color: var(--gold); box-shadow: 0 6px 24px rgba(110,31,42,.12); }
.post-scheduled { background: #2f6a8a; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2rem 0 0; font-family: var(--font-display); font-size: .95rem; letter-spacing: .05em; }
.post-share > span { color: var(--ink-soft); }
.post-share a, .post-share button { font: inherit; padding: .3em .9em; border: 1px solid var(--line); background: var(--card); color: var(--accent); text-decoration: none; cursor: pointer; }
.post-share a:hover, .post-share button:hover { border-color: var(--accent); }
.post-near { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.post-near a { display: block; padding: .9rem 1rem; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-family: var(--font-display); line-height: 1.3; }
.post-near a:hover { border-color: var(--accent); }
.post-near small { display: block; color: var(--gold); letter-spacing: .1em; font-size: .78rem; margin-bottom: .2rem; }
.post-near-next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .post-near { grid-template-columns: 1fr; } .post-near-next { grid-column: 1; text-align: left; } }

/* Owner's editor (2026-12-04): two-row toolbar, Post details, photo bar, restore note, preview */
.be-tools { flex-direction: column; align-items: stretch; }
.be-row { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.be-tools button { padding: .35rem .55rem; }
.be-tools button:disabled { opacity: .4; cursor: default; }
.be-count { color: #6b6458; margin-left: .3rem; }
.be-row .be-status { margin-left: auto; }
.be-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .2rem 1rem; margin: 0 0 1.5rem; padding: .8rem 1rem; background: #fff; border: 1px solid #d6d0c4; border-radius: 8px; font: 14px/1.35 system-ui, sans-serif; color: #1d1d1f; }
.be-details[hidden] { display: none; }
.be-details-title { grid-column: 1 / -1; font-size: 15px; }
.be-details .be-wide, .be-details .be-when, .be-details .be-tag-pick { grid-column: 1 / -1; }
.be-details .be-when { margin: 0; color: #2f6a8a; }
.be-details .be-tag-pick { margin: 0; color: #6b6458; font-size: 13px; }
.be-details .be-tag-pick:empty { display: none; }
.be-details button { font: inherit; padding: .35rem .7rem; border: 1px solid #c8c2b6; border-radius: 6px; background: #f7f5f0; cursor: pointer; margin: 0 .3rem .2rem 0; }
.be-details .be-inline { display: flex; gap: .3rem; }
.be-restore { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 1rem; padding: .6rem .8rem; background: #fff8e1; border: 1px solid #e3c770; border-radius: 8px; font: 14px/1.35 system-ui, sans-serif; }
.be-restore button { font: inherit; padding: .35rem .7rem; border: 1px solid #c8c2b6; border-radius: 6px; background: #fff; cursor: pointer; }
.be-restore .be-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.be-imgbar { position: absolute; z-index: 16; display: flex; flex-wrap: wrap; gap: .3rem; max-width: min(520px, calc(100vw - 16px)); padding: .35rem; background: #fff; border-radius: 8px; box-shadow: 0 4px 18px rgba(0,0,0,.25); font: 13px system-ui, sans-serif; }
.be-imgbar[hidden] { display: none; }
.be-imgbar button { font: inherit; padding: .35rem .6rem; border: 1px solid #c8c2b6; border-radius: 6px; background: #f7f5f0; cursor: pointer; }
.be-imgbar button[aria-pressed="true"] { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.be-imgbar .be-danger { color: #a3262f; }
.be-grid button.chosen { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.be-pick-head .be-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.be-pick-head button { font: inherit; padding: .4rem .7rem; border: 1px solid #c8c2b6; border-radius: 6px; background: #f7f5f0; cursor: pointer; }
.post.editing .post-body .video { outline: 2px solid #c9a24a; }
.post.editing.previewing .post-title, .post.editing.previewing .post-body { outline: none; }
.post.editing:not(.previewing) .post-body .video iframe { pointer-events: none; }
.post.editing .post-body .video.be-selected { outline: 4px solid #c9a24a; }
.post-body .video:not(:has(iframe)) { display: none; }
.be-bar.be-tools { position: sticky; top: 100px; }
@media (max-width: 720px) { .be-bar.be-tools { position: static; } }
.post-body .gallery, .post-body .video, .post-body hr, .post-body .callout, .post-body .button-row { clear: both; }

/* Editing layout: "Add" tools above the text, writing tools and Save below it; right-click menu */
.be-bar[hidden] { display: none; }
.be-bar.be-tools.be-embeds { position: sticky; top: 100px; margin: 0 0 1.25rem; }
.be-bar.be-tools.be-format { position: sticky; top: auto; bottom: 0; margin: 1.25rem 0 1.5rem; }
.be-label { font-weight: 600; color: #6b6458; margin-right: .2rem; }
.be-foot { border-top: 1px solid #eee7da; padding-top: .45rem; }
.be-foot .be-primary { padding: .45rem 1.2rem; font-weight: 600; }
@media (max-width: 720px) { .be-bar.be-tools.be-embeds, .be-bar.be-tools.be-format { position: static; } }
.be-ctx { position: fixed; z-index: 30; min-width: 230px; max-height: calc(100vh - 16px); overflow-y: auto; padding: .3rem; background: #fff; border: 1px solid #d6d0c4; border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.22); font: 13.5px/1.25 system-ui, sans-serif; color: #1d1d1f; }
.be-ctx[hidden] { display: none; }
.be-ctx-head { padding: .45rem .6rem .15rem; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8a8273; }
.be-ctx-head:not(:first-child) { border-top: 1px solid #eee7da; margin-top: .25rem; }
.be-ctx button { display: flex; width: 100%; justify-content: space-between; gap: 1.5rem; padding: .32rem .6rem; border: 0; border-radius: 5px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.be-ctx button:hover:not(:disabled), .be-ctx button:focus-visible { background: var(--accent); color: #fff; outline: none; }
.be-ctx button:disabled { color: #b5aea2; cursor: default; }
.be-ctx kbd { font: inherit; opacity: .6; }
.be-ctx-tip { margin: .25rem 0 0; padding: .4rem .6rem .2rem; border-top: 1px solid #eee7da; font-size: 11.5px; color: #8a8273; }

/* The blog feed: whole posts, newest first, with a search box (2026-12-05) */
.blog-search { display: flex; gap: .5rem; max-width: 640px; margin: 0 auto 1.2rem; }
.blog-search input { flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; padding: .55em .8em; border: 1px solid var(--gold); background: var(--card); color: var(--ink); border-radius: 0; }
.blog-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.blog-search button { font-family: var(--font-display); letter-spacing: .06em; font-size: 1rem; padding: .5em 1.2em; border: 0; background: var(--accent); color: var(--paper); cursor: pointer; }
.blog-search button:hover { background: var(--accent-deep); }
.blog-feed { max-width: 760px; margin: 0 auto; }
.feed-post { padding-top: 1rem; }
.feed-post.is-draft { opacity: .85; }
.feed-post .post-title { font-size: clamp(2rem, 5vw, 2.6rem); }
.feed-post .post-title a { color: inherit; text-decoration: none; }
.feed-post .post-title a:hover { color: var(--accent); }
.feed-post-foot { margin: 1.4rem 0 0; font-family: var(--font-display); letter-spacing: .05em; font-size: .95rem; }
.feed-post-foot a { text-decoration: none; }
.feed-divider { color: var(--gold); text-align: center; margin: 3.5rem 0 2.5rem; }
.feed-divider .flourish { width: 240px; height: 24px; }

/* The subject line under each post's title (2026-12-05) */
.post-subject { margin: -.1em auto .5rem; max-width: 36em; font-style: italic; font-size: 1.3rem; line-height: 1.35; color: var(--ink-soft); text-align: center; }
.post-subject[hidden] { display: none; }

/* Signed-in menu, between Blog and Book Direct (only on pages for someone signed in). */
.nav-owner { position: relative; }
.nav-owner > summary { list-style: none; cursor: pointer; font-family: var(--font-display); color: var(--ink); font-size: 1rem; letter-spacing: .05em; white-space: nowrap; }
.nav-owner > summary::-webkit-details-marker { display: none; }
.nav-owner > summary::after { content: " ▾"; font-size: .8em; }
.nav-owner[open] > summary::after { content: " ▴"; }
.nav-owner > summary:hover, .nav-owner[open] > summary { color: var(--accent); }
.nav-owner-list { position: absolute; right: 0; top: calc(100% + .6rem); z-index: 60; min-width: 13rem; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: .3rem 0; }
.site-nav .nav-owner-list a, .nav-owner-list button { display: block; width: 100%; text-align: left; padding: .55rem 1rem; font-family: var(--font-display);
  font-size: .95rem; letter-spacing: .03em; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.site-nav .nav-owner-list a:hover, .nav-owner-list button:hover { background: rgba(0,0,0,.05); color: var(--accent); }
.nav-owner-list form { margin: 0; border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .3rem; }
@media (max-width: 720px) {
  .nav-owner { width: 100%; border-top: 1px solid var(--line); }
  .nav-owner > summary { padding: .8rem var(--gutter); text-align: center; }
  .nav-owner-list { position: static; box-shadow: none; border: 0; padding: 0; min-width: 0; }
  .site-nav .nav-owner-list a, .nav-owner-list button { text-align: center; padding: .7rem var(--gutter); border-top: 1px solid var(--line); background: rgba(0,0,0,.03); }
  .nav-owner-list form { margin: 0; padding: 0; }
}
