/* ==========================================================================
   Paradise Palms — v4 additions (Figma "Ready for Dev")
   Holds everything the v4 design introduced: the Kids Town Victorian kit, the
   Kids Town page, the events empty state and the rebuilt Visitor Guidelines.
   Components introduced by the Kids Town page. Separate from base.css and
   styles.css so the v3 design system stays as delivered.

   Specs quoted from DEV NOTES — Kids Town:
     HANDBILL FRAME = Stone 50 fill · 1px Ornament 600 outer stroke ·
       padding 8 · 1px Ornament rule · padding 2 · 1px Ornament inner ·
       content padding 28/30 (desktop) 24/18 (mobile).
       Corners: Ornament / Corner at 10px inset, rotated 0/-90/-180/-270.
     RIBBON = Red Hat Display Bold 13/16, tracking 4, caps,
       Stone 50 on Zen 600 (Lake on the hero sign). 14px folded notches each side.
   Ornament tokens are strokes and ornaments ONLY — never text, never fills.
   ========================================================================== */

/* --- Handbill frame ------------------------------------------------------ */
.handbill { background: var(--stone-50); border: 1px solid var(--ornament-600); padding: 8px; }
.handbill__rule  { border: 1px solid var(--ornament); padding: 2px; }
.handbill__inner { position: relative; border: 1px solid var(--ornament); padding: 28px 30px; }

/* The four corners ship as separate pre-rotated exports rather than one glyph
   turned in CSS, so each is placed from its own file at a 10px inset. */
.handbill__corner { position: absolute; width: 28px; height: 28px; pointer-events: none; }
.handbill__corner--tl { top: 10px;    left: 10px; }
.handbill__corner--tr { top: 10px;    right: 10px; }
.handbill__corner--br { bottom: 10px; right: 10px; }
.handbill__corner--bl { bottom: 10px; left: 10px; }
.handbill__corner img { width: 100%; height: 100%; display: block; }

@media (max-width: 960px) {
  .handbill__inner { padding: 24px 18px; }
}

/* --- Ribbon --------------------------------------------------------------
   The exported notch is a 14px-wide end piece with a 6.5px triangular bite,
   so the clip-path cuts 6.5px at each end. Doing it in CSS rather than with
   the two colour-baked notch SVGs keeps the ribbon recolourable by tone.    */
.ribbon {
  display: inline-block;
  padding: 9px 24px;
  background: var(--zen-600);
  color: var(--stone-50);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6.5px) 50%, 100% 100%, 0 100%, 6.5px 50%);
}
.ribbon--lake  { background: var(--teal); }
.ribbon--slate { background: var(--slate); }

/* --- Scroll divider ------------------------------------------------------ */
.scroll-divider { display: flex; align-items: center; justify-content: center; gap: var(--space-5); }
.scroll-divider img { height: 14px; width: auto; }

.ornament-rule { border: 0; border-top: 1px solid var(--ornament); margin: var(--space-6) 0; }

/* ==========================================================================
   Kids Town page
   Cadence (per DEV NOTES): Photo hero → Base (What's Inside) → Tint/Zen 100
   (Playdates) → Photo band → Base (Parties) → Tint Alt (Good to Know)
   → Deep/Lake (Closing CTA) → Footer light.
   One Clay primary per viewport: the hero, then the Playdate card.
   Measurements taken off the 1440 desktop frame.
   ========================================================================== */

/* Content column is 1210px inside a 1440 frame. */
.kt-wrap { max-width: calc(1210px + 2 * var(--page-margin)); margin: 0 auto; padding: 0 var(--page-margin); }

.kt-section { padding: var(--section-pad) 0; }
.kt-section--base { background: var(--stone); }
.kt-section--tint { background: var(--tint); }
.kt-section--alt  { background: var(--stone); }
.kt-section--deep { background: var(--deep); color: var(--stone); }

.kt-row { display: flex; gap: 160px; align-items: flex-start; }
.kt-row__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.kt-row__aside { flex: 0 0 481px; }
.kt-head h2 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-2); line-height: var(--lh-heading-2); margin-top: var(--space-4); }
.kt-head h2 em { font-style: italic; font-weight: 700; }
.kt-note { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); }
.kt-note strong { color: var(--teal); }
.kt-note a { color: var(--clay); text-decoration: none; font-weight: 500; }

/* --- Hero ---------------------------------------------------------------- */
.kt-hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.kt-hero__bg { position: absolute; inset: 0; }
.kt-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--focal, 25%); }
.kt-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(4,51,61,.3), rgba(4,51,61,.72)); }
.kt-hero__inner { position: relative; z-index: 1; width: 100%; color: var(--stone); }
.kt-sign { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); max-width: 620px; }
.kt-sign h1 { font-family: var(--font-headings); font-weight: 700; font-size: var(--fs-display); line-height: var(--lh-display); }
.kt-sign__meta { font-size: var(--fs-caption); letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.kt-hero__cta { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; margin-top: var(--space-2); }

/* --- The houses: a single column of bordered cards ----------------------- */
.kt-houses { display: flex; flex-direction: column; gap: var(--space-3); }
.kt-house {
  display: flex; gap: var(--space-4); align-items: center;
  padding: var(--space-4) var(--space-5);
  background: var(--stone-50);
  border: 1px solid var(--slate-40);
  border-radius: var(--radius-sm);
}
.kt-house__icon { flex: none; width: 48px; height: 42px; }
.kt-house__icon img { width: 100%; height: 100%; display: block; }
.kt-house__name { display: flex; align-items: center; gap: var(--space-3); }
.kt-house__name h3 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-4); line-height: 1.2; }
.kt-house p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); margin-top: 2px; }
.kt-verify {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 3px;
  border: 1px solid var(--clay); color: var(--clay);
}
.kt-more { margin-top: var(--space-3); text-align: right; font-family: var(--font-headings); font-style: italic; color: var(--ink); }

/* --- Playdate card ------------------------------------------------------- */
.kt-card__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.kt-card__eyebrow { font-family: var(--font-headings); font-size: var(--fs-small); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.kt-price { font-family: var(--font-headings); color: var(--teal); line-height: 1; }
.kt-price sup { font-size: 22px; vertical-align: super; }
.kt-price b { font-size: 52px; font-weight: 700; }
.kt-price em { font-size: 20px; font-style: italic; font-weight: 400; margin-left: 6px; }
.kt-seal { position: relative; width: 108px; height: 108px; display: grid; place-items: center; text-align: center; }
.kt-seal img { position: absolute; inset: 0; width: 100%; height: 100%; }
.kt-seal span { position: relative; color: var(--stone-50); font-size: 9px; line-height: 12px; letter-spacing: .12em; text-transform: uppercase; }
.kt-seal span b { display: block; font-family: var(--font-headings); font-size: 20px; letter-spacing: 0; }
.kt-facts { width: 100%; display: flex; flex-direction: column; }
.kt-fact { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--slate-40); font-size: var(--fs-small); }
.kt-fact:first-child { border-top: 1px solid var(--slate-40); }
.kt-fact dt { color: var(--ink); letter-spacing: .12em; text-transform: uppercase; font-size: var(--fs-caption); }
.kt-fact dd { font-weight: 500; text-align: right; }
.kt-card__inner .btn { width: 100%; }
.kt-card__fine { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); }
.kt-card__fine a { color: var(--clay); font-weight: 500; }

/* --- Photo band + quote -------------------------------------------------- */
.kt-band { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; text-align: center; }
.kt-band__bg { position: absolute; inset: 0; }
.kt-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--focal, 25%); }
.kt-band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(4,51,61,.55); }
.kt-band__inner { position: relative; z-index: 1; color: var(--stone); display: flex; flex-direction: column; gap: var(--space-5); align-items: center; }
.kt-band blockquote { font-family: var(--font-headings); font-style: italic; font-size: var(--fs-heading-2); line-height: var(--lh-heading-2); }

/* --- Booking steps ------------------------------------------------------- */
.kt-steps { display: flex; flex-direction: column; gap: var(--space-5); }
.kt-step { display: flex; gap: var(--space-4); }
.kt-step__num { flex: none; width: 36px; font-family: var(--font-headings); font-style: italic; font-size: var(--fs-heading-3); color: var(--ornament-600); }
.kt-step h3 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-4); line-height: 1.3; }
.kt-step p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); margin-top: 2px; }
.kt-cta-row { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }

/* --- Signpost ------------------------------------------------------------ */
.kt-signpost { max-width: 763px; margin: 0 auto; }
.kt-signpost__title { text-align: center; font-family: var(--font-headings); font-size: var(--fs-small); letter-spacing: .22em; text-transform: uppercase; color: var(--zen-600); margin-bottom: var(--space-5); }
.kt-directions { display: flex; flex-direction: column; }
.kt-direction { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; border-top: 1px solid var(--slate-40); }
.kt-direction__arrow { flex: none; width: 24px; font-size: 15px; line-height: 1.6; color: var(--teal); }
.kt-direction__text { flex: 1 1 0; min-width: 0; }
.kt-direction h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-small); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.kt-direction p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); margin-top: 4px; }
.kt-direction__link { flex: none; color: var(--clay); font-size: var(--fs-small); font-weight: 500; white-space: nowrap; padding-top: 2px; }
.kt-signpost__note { margin-top: var(--space-5); padding: var(--space-3); text-align: center; font-size: var(--fs-small); color: var(--teal); border: 1px solid var(--slate-40); }

/* --- Closing ------------------------------------------------------------- */
.kt-closing { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.kt-closing h2 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-2); line-height: var(--lh-heading-2); }
.kt-closing h2 em { font-style: italic; font-weight: 700; }
.kt-closing p { max-width: 620px; }

@media (max-width: 960px) {
  .kt-row { flex-direction: column; gap: var(--space-8); }
  .kt-row__aside { flex: 1 1 auto; width: 100%; }

  /* Mobile frame heights, measured off the 390 comp. */
  .kt-hero { min-height: 609px; }
  .kt-band { min-height: 300px; }

  /* The link is white-space:nowrap, so as a flex sibling it was reserving its
     full width on the same line and starving the text column — a three-line
     paragraph was wrapping to thirteen. Give the text the rest of the first
     line and drop the link onto its own, aligned under the text. */
  .kt-direction { flex-wrap: wrap; }
  .kt-direction__text { flex: 1 1 calc(100% - 40px); }
  .kt-direction__link { flex: 0 0 100%; padding-left: 40px; margin-top: var(--space-2); }

  .kt-more { text-align: center; }
}

/* --- Events empty state (v4) --------------------------------------------
   Shown when no events remain. Specified on the home page's Upcoming Events
   in the v4 mobile comp; reused on the events calendar for the same reason. */
.events-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); max-width: 560px; }
.events-empty p { color: var(--ink); }

/* ==========================================================================
   Visitor Guidelines (v4 rebuild)
   Band order, sampled off the 1440 frame: stone (title + before you arrive) →
   tint (what to bring) → stone (in the garden) → stone-200 (weather) →
   stone (anything else) → lake (reserve band).
   The accordion reuses the v3 .acc--faq component from styles.css.
   ========================================================================== */

.vg-wrap { max-width: calc(1210px + 2 * var(--page-margin)); margin: 0 auto; padding: 0 var(--page-margin); }
.vg-section { padding: var(--section-pad) 0; }
.vg-section--stone { background: var(--stone); }
.vg-section--tint  { background: var(--tint); }
.vg-section--alt   { background: var(--stone-200); }
.vg-section--lake  { background: var(--teal); color: var(--stone); }
.vg-section h2 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-2); line-height: var(--lh-heading-2); }

/* Two-column band: heading left, content right. */
.vg-split { display: flex; gap: var(--space-10); align-items: flex-start; }
.vg-split__head { flex: 0 0 380px; }
.vg-split__body { flex: 1 1 0; min-width: 0; }

/* --- Page title (no hero photo, shared with Contact Us) ------------------ */
.vg-title { padding: var(--section-pad) 0 0; background: var(--stone); }
.vg-title h1 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-1); line-height: var(--lh-heading-1); margin: var(--space-3) 0 var(--space-4); }
.vg-title p { max-width: 560px; }
.vg-title hr { border: 0; border-top: 1px solid var(--slate-40); margin-top: var(--section-pad); }

/* --- Before you arrive: label/value fact rows ---------------------------- */
.vg-facts { max-width: 977px; margin-top: var(--space-6); }
.vg-fact { display: flex; gap: var(--space-6); align-items: baseline; padding: var(--space-4) 0; border-bottom: 1px solid var(--slate-40); }
.vg-fact:first-child { border-top: 1px solid var(--slate-40); }
.vg-fact dt { flex: 0 0 180px; font-size: var(--fs-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.vg-fact dd { flex: 1 1 0; min-width: 0; color: var(--teal); }
.vg-note { margin-top: var(--space-6); max-width: 620px; color: var(--ink); font-size: var(--fs-small); line-height: var(--lh-small); }

/* --- What to bring ------------------------------------------------------- */
.vg-bullets { display: flex; flex-direction: column; gap: var(--space-5); }
.vg-bullet { display: flex; gap: var(--space-3); }
.vg-bullet::before { content: "\00b7"; color: var(--zen-600); font-weight: 700; }

/* --- Anything else cards ------------------------------------------------- */
.vg-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-6); }
.vg-card { background: var(--stone-50); border: 1px solid var(--slate-40); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.vg-card h3 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-4); line-height: 1.3; }
.vg-card p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); }
.vg-private { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); font-size: var(--fs-small); color: var(--ink); }

/* --- Reserve band -------------------------------------------------------- */
.vg-reserve { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); }
.vg-reserve__text { max-width: 640px; display: flex; flex-direction: column; gap: var(--space-3); }

@media (max-width: 960px) {
  .vg-split { flex-direction: column; gap: var(--space-6); }
  .vg-split__head { flex: 1 1 auto; }
  .vg-fact { flex-direction: column; gap: var(--space-1); }
  .vg-fact dt { flex: 1 1 auto; }
  .vg-cards { grid-template-columns: 1fr; }
  .vg-reserve { flex-direction: column; align-items: flex-start; }
}

/* Email addresses render as written rather than upper-cased — .link-arrow
   upper-cases by default, but the design shows them lowercase. */
.link-arrow--plain { text-transform: none; letter-spacing: 0; }

/* ==========================================================================
   #1 — Content max-width (1200px)
   Sections keep their full-bleed backgrounds; only the inline padding grows,
   so the content column centres once the viewport exceeds 1200 + padding.
   max() means narrow screens keep their original padding untouched.
   ========================================================================== */

.intro__welcome,
.plan                                   { --pp-pad-x: var(--page-margin); }
.spotlight, .facts, .newsletter,
.member-band, .events-band              { --pp-pad-x: var(--section-pad); }
.learn-intro, .gallery, .gallery-controls,
.guidelines, .sc-detail, .more-section,
.event-row                              { --pp-pad-x: var(--section-pad-sm); }
.facts-band                             { --pp-pad-x: 24px; }

.intro__welcome, .plan, .spotlight, .facts, .newsletter,
.member-band, .events-band,
.learn-intro, .facts-band, .gallery, .gallery-controls,
.guidelines, .sc-detail, .more-section, .event-row {
  padding-inline: max( var(--pp-pad-x, var(--page-margin)), calc( (100% - var(--content-max)) / 2 ) );
}

/* The Kids Town and Visitor Guidelines columns were built at the frame's
   measured 1210; align them to the stated 1200. */
.kt-wrap, .vg-wrap { max-width: calc(var(--content-max) + 2 * var(--page-margin)); }

/* Ticketing flow pages centre their own card. */
.booking__inner { max-width: var(--content-max); margin-inline: auto; }

/* ==========================================================================
   #2/#3 — Sticky header with a scroll transition
   position:fixed rather than sticky: .pp-page sets overflow-x: clip, which
   establishes a clipping context and stops sticky from working at all.
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color .28s ease, box-shadow .28s ease, color .28s ease;
}
/* Overlay pages already float the header over the hero, so only solid-header
   pages need the page pushed down past it. */
body.pp-header-solid .pp-page { padding-top: var(--header-h); }

/* Scrolled state: the transparent overlay header fills in; the already-solid
   variants just gain a soft edge so they lift off the content. */
.site-header--overlay.is-scrolled { background: var(--deep); }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(4, 51, 61, .10), 0 8px 24px rgba(4, 51, 61, .10); }
.site-header--light.is-scrolled { background: var(--stone); }

/* The drawer hangs off the header, which is now fixed. */
.mobile-menu { position: fixed; }

body.admin-bar .site-header { top: 32px; }
body.admin-bar .mobile-menu { top: calc(var(--header-h) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .mobile-menu { top: calc(var(--header-h) + 46px); }
}

/* ==========================================================================
   #4 — Hero title drifts away on scroll
   Driven from JS so it tracks scroll position rather than firing once.
   ========================================================================== */
.pp-hero-fade { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .pp-hero-fade { transform: none !important; opacity: 1 !important; will-change: auto; }
}

/* ==========================================================================
   Policies page
   Reuses the Visitor Guidelines page-title and band scaffolding.
   ========================================================================== */
.pol__version { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink); }
.pol__body { max-width: 820px; margin-top: var(--space-6); }
.pol__body h3 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-4); line-height: var(--lh-heading-4); margin-top: var(--space-6); }
.pol__body h3:first-child { margin-top: 0; }
.pol__body p { margin-top: var(--space-3); }
.pol__body ul { margin-top: var(--space-3); padding-left: var(--space-5); list-style: disc; }
.pol__body li + li { margin-top: var(--space-2); }
.pol__body a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

/* An unapproved policy shows a notice instead of a body — never draft text. */
.pol__pending {
  max-width: 820px;
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--ornament-600);
  background: var(--stone-50);
  color: var(--ink);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}
.pol-index dd a { color: var(--teal); }
.pol-index__extra { display: block; margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink); }

/* Footer legal row — added in v4 alongside the Policies page. */
.footer-legal { display: flex; justify-content: center; gap: var(--space-5); margin-top: var(--space-4); font-size: var(--fs-small); }
.footer-legal a { opacity: .75; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ===========================================================================
   Forms -- tour request page, plus the shared notice and honeypot
   =========================================================================== */

/* Visually hidden, but not display:none -- some bots skip hidden inputs and
   the point is that they fill this one in. */
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cloudflare Turnstile.
   Normally this renders nothing at all -- the widget only becomes visible when
   Cloudflare decides a visitor needs an interactive check. So it must not
   reserve vertical space in the common case, or every form grows a gap for a
   box that is not there. :not(:empty) does that: margin applies only once
   Cloudflare has injected its iframe. */
.pp-turnstile:not(:empty) { margin: 16px 0 0; max-width: 100%; }
.pp-turnstile iframe { max-width: 100%; }

.pp-notice {
  width: 100%;
  margin: 0;
  padding: var(--space-4) var(--space-5);
  border-radius: 2px;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  text-align: left;
}
.pp-notice--ok    { background: var(--stone-200); color: var(--teal); border-left: 3px solid var(--ornament-600); }
.pp-notice--error { background: #f6e3da; color: var(--clay-600); border-left: 3px solid var(--clay-600); }

.req { padding-bottom: 0; }
.req__head {
  padding: 72px 24px var(--space-6);
  padding-inline: max(24px, calc((100% - var(--content-max)) / 2));
  text-align: center;
}
.req__head .eyebrow--bold { margin-bottom: var(--space-3); }
.req__lede { max-width: 56ch; margin: var(--space-5) auto 0; }

.req__body {
  padding: 0 24px 96px;
  padding-inline: max(24px, calc((100% - var(--content-max)) / 2));
}
.req__body .pp-notice { max-width: 760px; margin: 0 auto var(--space-6); }

.req__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5) var(--space-5);
  max-width: 760px;
  margin: 0 auto;
}
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field__label { font-size: var(--fs-small); line-height: var(--lh-small); }
.field__label abbr { border: 0; text-decoration: none; color: var(--clay-600); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--teal);
  border-radius: 2px;
  background: #fff;
  color: var(--teal);
  font: inherit;
  font-size: var(--fs-small);
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--teal); font-style: italic; opacity: 0.7; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 0; box-shadow: 0 0 0 2px rgba(6, 74, 88, 0.2); }

.req__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.req__note { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); opacity: 0.8; }

@media (max-width: 760px) {
  .req__head { padding-top: 48px; }
  .req__form { grid-template-columns: 1fr; }
  .req__actions { align-items: stretch; }
  .req__actions .btn { width: 100%; }
}

/* ===========================================================================
   Contact Us
   =========================================================================== */

/* Form beside the directory card. The directory is the narrower column so the
   message box keeps a comfortable measure. */
.ct-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--space-10, 64px);
  align-items: start;
}
.ct-reply { font-weight: 700; font-size: var(--fs-small); line-height: var(--lh-small); margin: var(--space-3) 0 var(--space-5); }

.ct-form { display: flex; flex-direction: column; gap: var(--space-5); }
.ct-form .pp-notice { margin-bottom: var(--space-4); }
.ct-names { border: 0; margin: 0; padding: 0; }
.ct-names legend { padding: 0; margin-bottom: var(--space-2); }
.ct-names__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ct-form textarea { min-height: 200px; }

/* Directory: reuses the Visitor Guidelines fact rows, stacked rather than
   side by side, because the key column is narrow here. */
.ct-directory .vg-facts { margin-top: 0; }
.ct-directory .vg-fact { flex-direction: column; gap: var(--space-2); align-items: stretch; }
.ct-directory .vg-fact dt { flex: none; color: var(--ornament-600); }
.ct-directory .vg-fact dd { margin: 0; font-weight: 700; }  /* dd carries a 40px UA margin */
.ct-map { display: block; margin-top: var(--space-6); border: 1px solid var(--slate-40); }
.ct-map img { display: block; width: 100%; height: auto; }
.ct-directory .link-arrow { margin-top: var(--space-5); }

/* Explore grid */
.ct-explore h2 { margin: var(--space-3) 0 var(--space-6); }
.ct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.ct-card { display: flex; flex-direction: column; gap: var(--space-3); }
.ct-card .thumb { aspect-ratio: 400 / 260; overflow: hidden; }
.ct-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ct-card h3 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-h3); line-height: normal; }
.ct-card p { font-size: var(--fs-small); line-height: var(--lh-small); flex: 1 0 auto; }
.ct-card .btn { align-self: flex-start; }

/* Closing band */
.ct-closing { background: var(--teal); color: var(--stone); padding: 96px 0; }
.ct-closing__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8, 48px); }
.ct-closing h2 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-2); line-height: var(--lh-heading-2); margin: var(--space-3) 0; }
.ct-closing__copy p:last-child { margin: 0; }

@media (max-width: 980px) {
  .ct-cols { grid-template-columns: 1fr; gap: var(--space-8, 48px); }
  .ct-cards { grid-template-columns: 1fr; }
  .ct-closing { padding: 64px 0; }
  .ct-closing__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .ct-names__row { grid-template-columns: 1fr; }
}

/* A CTA whose destination is not known yet: same shape, plainly inactive.
   Used by pp_cta() for Gift a membership and Give Today until the Doubleknot
   URLs arrive -- filling the option in turns these back into real links. */
.is-pending { cursor: default; opacity: .55; }
.btn.is-pending:hover { background: transparent; }
.footer-vital__right .is-pending:hover { text-decoration: none; }

/* ===========================================================================
   Header search panel
   =========================================================================== */

/* Sits directly under the fixed header, above everything else on the page.
   The header is z-index 50, so this clears it. */
.site-search {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 49;
  background: var(--stone);
  border-bottom: 1px solid var(--slate-40);
  box-shadow: 0 8px 24px rgba(4, 51, 61, .12);
}
body.admin-bar .site-search { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  body.admin-bar .site-search { top: calc(var(--header-h) + 46px); }
}

.site-search__form {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-5) var(--page-margin);
}
.site-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--teal);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--teal);
  font: inherit;
  font-size: var(--fs-base);
}
.site-search__input::placeholder { color: var(--teal); font-style: italic; opacity: .7; }
.site-search__input:focus { outline: 0; box-shadow: 0 0 0 2px rgba(6, 74, 88, .2); }
.site-search__form .btn { flex: none; }

/* The mobile menu's input had no form around it, so Enter did nothing. */
.mm-search-form { display: block; width: 100%; }

@media (max-width: 560px) {
  .site-search__form { padding: var(--space-4) var(--space-5); gap: var(--space-3); }
}

/* ===========================================================================
   Search results
   =========================================================================== */

.pp-search { padding: var(--section-pad) 0; }
.pp-search__head { max-width: var(--content-max); margin: 0 auto var(--space-6); padding: 0 var(--page-margin); }
.pp-search__head h1 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-heading-2); line-height: var(--lh-heading-2); }
.pp-search__count { margin-top: var(--space-3); color: var(--ink); font-size: var(--fs-small); }
.pp-search__list { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-margin); }

.pp-result { padding: var(--space-6) 0; border-top: 1px solid var(--slate-40); }
.pp-result:last-of-type { border-bottom: 1px solid var(--slate-40); }
.pp-result__kind {
  display: inline-block;
  margin-bottom: var(--space-2);
  color: var(--ornament-600);
  font-size: var(--fs-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pp-result h2 { font-family: var(--font-headings); font-weight: 400; font-size: var(--fs-h3); line-height: normal; }
.pp-result h2 a { text-decoration: none; }
.pp-result h2 a:hover { text-decoration: underline; }
.pp-result p { margin-top: var(--space-3); max-width: 70ch; }
.pp-result mark { background: var(--stone-200); color: inherit; padding: 0 2px; }

.pp-search__empty { max-width: 70ch; margin: 0 auto; padding: 0 var(--page-margin); }
.pp-search__empty ul { margin: var(--space-4) 0 0 var(--space-5); list-style: disc; }
.pp-search__empty li { margin-bottom: var(--space-2); }

/* About, Fig. 9: the garden video replaces the placeholder photo band. */
.ab-visitors--video { height: auto; padding: 0; }
.ab-visitors__video { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; background: var(--deep); }
@media (max-width: 760px) { .ab-visitors__video { max-height: 320px; } }

/* ===========================================================================
   Event inquiry
   =========================================================================== */

.inq__cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-10, 64px); align-items: start; }
.inq__required { margin-bottom: var(--space-6); font-size: var(--fs-small); }
.inq__required abbr, .field__label abbr { border: 0; text-decoration: none; color: var(--clay-600); }

.inq__form { display: flex; flex-direction: column; gap: var(--space-8, 48px); }
.inq__part { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.inq__part legend { display: block; width: 100%; padding: 0 0 var(--space-4); margin-bottom: var(--space-2); border-bottom: 1px solid var(--slate-40); }
.inq__part legend .eyebrow { display: block; color: var(--ornament-600); margin-bottom: var(--space-2); }
.inq__part legend .t-h3 { display: block; font-family: var(--font-headings); font-weight: 400; }

.inq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field__note { display: block; margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink); }
.inq__hint { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); }

.inq__checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-5); margin-top: var(--space-2); }
.check { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--teal); }

.inq__submit { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }

/* Success state replaces the form column in place -- no separate page. */
.inq__success { max-width: 60ch; }
.inq__success h2 { font-family: var(--font-headings); font-weight: 400; margin: var(--space-3) 0 var(--space-4); }
.inq__rule { border: 0; border-top: 1px solid var(--slate-40); margin: var(--space-6) 0; }
.inq__summary { font-weight: 700; }

.inq__next { background: var(--stone-50, #f2f2e7); padding: var(--space-8, 48px); border-radius: 8px; }
.inq__steps { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.inq__steps li { display: flex; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--slate-40); }
.inq__steps li:first-child { border-top: 0; }
.inq__num { flex: none; width: 34px; font-family: var(--font-headings); font-style: italic; color: var(--ornament-600); }
.inq__steps p { margin: var(--space-1) 0 0; font-size: var(--fs-small); line-height: var(--lh-small); }

@media (max-width: 980px) {
  .inq__cols { grid-template-columns: 1fr; gap: var(--space-8, 48px); }
}
@media (max-width: 620px) {
  .inq__grid, .inq__checks { grid-template-columns: 1fr; }
  .inq__submit .btn { width: 100%; }
}

/* Kids Town playdate card head — Figma 3573:11296.
   Price left, a slate pennant on the right. Replaces the earlier centred
   price, "Open session" eyebrow, green ribbon and circular burst seal. */
.kt-card__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--space-5);
  /* .kt-card__inner is a centred flex column, so the head has to stretch
     itself or the price and pennant bunch up in the middle. */
  width: 100%; align-self: stretch; text-align: left;
}
.kt-card__head .kt-price { margin: 0; }

.kt-banner {
  flex: none;
  width: 112px;
  padding: 18px 10px 32px;
  background: var(--slate);
  color: var(--stone-50, #f2f2e7);
  text-align: center;
  /* notch cut into the bottom edge, so it reads as a hanging pennant */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}
.kt-banner b { display: block; font-family: var(--font-headings); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.kt-banner span { display: block; margin-top: 6px; font-size: 12px; line-height: 16px; }

@media (max-width: 560px) {
  .kt-card__head { gap: var(--space-4); }
  .kt-banner { width: 108px; padding: 12px 10px 22px; }
  .kt-banner b { font-size: 22px; }
}

/* Portrait photos cropped into wide bands centre on the subject's torso, so
   faces get cut off. Bias the crop upward; --focal overrides per band. */
.ct-card .thumb img { object-position: center var(--focal, 30%); }

/* Accordion open/close easing.
   Native <details> snaps open with no transition. ::details-content animates
   it in Chrome 131+ and Safari 18.4+; interpolate-size lets `auto` be
   animated. Browsers without it simply snap, as before — nothing breaks. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
}
@supports selector(::details-content) {
  .acc::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .32s cubic-bezier(.2, .7, .3, 1), content-visibility .32s allow-discrete;
  }
  .acc[open]::details-content { block-size: auto; }
}
/* Match the chevron to the new timing. */
.acc__chevron { transition: transform .32s cubic-bezier(.2, .7, .3, 1); }

@media (prefers-reduced-motion: reduce) {
  .acc::details-content,
  .acc__chevron { transition: none; }
}

/* Memberships hero: caps on desktop, mixed case on mobile (Patrick,
   2026-10-26). Written mixed case in the markup so screen readers and the
   search index get the real word, with caps applied visually above 960px. */
.intro__title--caps { text-transform: uppercase; }
@media (max-width: 960px) {
  .intro__title--caps { text-transform: none; }
}

/* Newsletter — dark variant (Events, desktop and mobile).
   Deep teal with the botanical art laid over it at soft-light, rather than a
   separate exported background, so the one asset serves both variants. */
.newsletter--dark {
  position: relative;
  background: var(--deep);
  color: var(--stone);
  isolation: isolate;          /* keep the blend inside this band */
}
.newsletter--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/newsletter-bg.png) center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: .9;
  pointer-events: none;
  z-index: -1;
}
.newsletter--dark .newsletter__inner > .icon { color: var(--stone); }
.newsletter--dark .newsletter__field { color: var(--stone); }
.newsletter--dark .newsletter__field input {
  border-color: var(--stone);
  background: var(--stone);
  color: var(--teal);
}
.newsletter--dark .btn--filled { background: var(--clay); border-color: var(--clay); color: var(--stone); }
.newsletter--dark .btn--filled:hover { background: var(--clay-600); border-color: var(--clay-600); }
.newsletter--dark .pp-notice--ok { background: rgba(229, 230, 210, .14); color: var(--stone); border-left-color: var(--ornament); }

/* Ticket picker — Doubleknot gives each time slot its own link, so the Visit
   page offers a button per time under each type rather than one generic CTA. */
.ticket-picker { display: flex; flex-direction: column; gap: var(--space-5); width: 100%; }
.ticket-picker__group { display: flex; flex-direction: column; gap: var(--space-3); }
.ticket-picker__group .eyebrow--bold { color: var(--ornament-600); }
.ticket-picker__times { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ticket-picker__times .btn { flex: 1 1 auto; min-width: 7.5rem; justify-content: center; }

@media (max-width: 560px) {
  .ticket-picker__times { flex-direction: column; }
  .ticket-picker__times .btn { width: 100%; }
}

/* Gift membership: Doubleknot has no separate gift link — gifting is a step
   inside each level's checkout, so the button carries a short explainer. */
.gift-card__cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.gift-card__note { margin: 0; max-width: 34ch; font-size: var(--fs-small); line-height: var(--lh-small); }
