/* Shared styles for all Project Foxwood program sites (home + subpages). */
:root{
  /* Every image container on the site uses this, so "one radius" is a rule and not a habit. */
  --img-radius:18px;
  /* Fallbacks only. site.js sets these per camp, picking white or dark ink by the
     accent’s luminance, because the dark-mode accent is a LIGHT tint and white on it
     is unreadable. Anything that FILLS with an accent must use these, never #fff. */
  --on-accent-soft:rgba(255,255,255,.86); --on-ember:#FFFFFF;
  --sand:#F5EEE1; --sand-2:#EFE5D4; --cream:#FCF8F0; --card:#FFFFFF;
  --ink:#22302E; --ink-2:#586460; --ink-3:#8A9188;
  --line:#E6DCC9; --line-2:#D6C9B1;
  /* A form field is identified by its edge, so that edge is a UI component under
     1.4.11 and owes 3:1 -- unlike --line-2, which draws decorative rules and does not.
     --line-2 was carrying both jobs at 1.63:1. This is 3.69:1 on sand. */
  --field-line:#6E7870;
  --accent:#22707C; --on-accent:#FFFFFF;
  --lab-ink:#174B53;   /* fallback only; site.js sets it per camp at 65% of that accent */
  --ember:#DE7A3C; --gold:#EEA636; --gold-ink:#7A4E12;
  /* Text-only companions. The brand values above are unchanged and still correct for
     fills and edges; these exist because --ember (2.62:1) and --ink-3 (2.81:1) cannot
     carry text on a light ground. Both invert in dark mode below. */
  --ember-ink:#A4501C;   /* 4.86:1 on --sand */
  --muted-ink:#646C67;   /* 4.69:1 on --sand */
  --tint:#E6EEEA;
  /* Theme-independent ink/paper. Some surfaces are always dark (the footer slab, the
     CTA gradient) and some are always light (the white button), so their partner color
     must NOT follow the theme. Flipping it is what made the footer nav cream-on-cream
     and .btn-light near-white-on-white in dark mode. Never redefine these in the dark
     block -- being fixed is the entire point. The quote card joined them for the same
     reason: it inverted into a bright slab in dark mode. */
  --static-ink:#22302E; --static-paper:#F5EEE1;
  /* Gold that belongs with the fixed pair above. --gold-ink is tuned for a LIGHT
     ground and drops to 1.9:1 on the dark quote card; this is 6.63:1 on it. */
  --static-gold:#EEA636;
  --footer-bg:var(--static-ink); --footer-ink:var(--static-paper);
  --on-light:var(--static-ink);
  --radius:22px; --radius-sm:14px;
  --display:"Bricolage Grotesque",Georgia,serif;
  --script:"Bricolage Grotesque","Figtree",system-ui,sans-serif;
  /* Kept for quote attributions only, where a hand is a signature rather than a label. */
  --hand:"Caveat",cursive;
  --font:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
  --shadow:0 2px 5px rgba(34,48,46,.05),0 16px 40px -20px rgba(34,48,46,.28);
  --shadow-lg:0 40px 80px -34px rgba(34,48,46,.42);
}
@media (prefers-color-scheme:dark){
  :root{
    --sand:#14191A; --sand-2:#191F20; --cream:#1B2223; --card:#1E2627;
    /* --ink-3 was #828C86, which is 4.44:1 on the dark card — just under AA, and it
       carries ages, form notes and session kinds on every page. */
    --ink:#F1EADC; --ink-2:#B4BCB4; --ink-3:#8D968F;
    --line:#2A322F; --line-2:#3A433E; --tint:#17211F; --gold-ink:#EEA636;
    --field-line:#8D968F;   /* 5.06:1 on --card; the light value is 1.51:1 here */
    /* --muted-ink was #828C86: 4.44:1 on the dark card, just under AA, and it carries
       form notes, session kinds, staff roles and the "Full" pill on every page. */
    --ember-ink:#DE7A3C; --muted-ink:#8D968F;
    /* --lab-ink's light value is #174B53, a deep teal that works on cream and is 1.38:1
       here — unreadable. It is only ever a FALLBACK: site.js sets this per camp from that
       camp's accent, so the camp sites never saw it. The hub does not set it, which is why
       the six eyebrow labels above its sections (Find your program, Still deciding?, Our
       philosophy, Meet the team, The shop, Get in touch) were the only unreadable text on
       the page — every h1, h2 and h3 measures between 12.9 and 17.7:1.
       #5FB98A is the hub's own accentDark, already a brand color and already chosen for
       dark mode, rather than a new one invented for this: 7.43:1 on the page ground,
       6.46:1 on a card and 5.60:1 on the green panel. */
    --lab-ink:#5FB98A;
    --shadow:0 2px 5px rgba(0,0,0,.35),0 18px 44px -22px rgba(0,0,0,.7);
    --shadow-lg:0 44px 90px -36px rgba(0,0,0,.8);
  }
}
/* No [data-theme] blocks: nothing in the site ever sets that attribute, so they were
   dead code implying a toggle that does not exist. Dark mode follows the OS, through
   the prefers-color-scheme query above. */

*{box-sizing:border-box}
html,body{overflow-x:hidden}
html{scroll-behavior:smooth}
body{margin:0;background:var(--sand);color:var(--ink);font-family:var(--font);line-height:1.6;-webkit-font-smoothing:antialiased}
.wrap{max-width:1140px;margin:0 auto;padding:0 clamp(18px,4vw,44px)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
/* Two rings, not one. A single accent ring is 1.22-2.11:1 over a hero photograph,
   because the header is transparent and the ring lands on the picture. This pair is
   11.9:1 apart, and its worst case against ANY backdrop is 3.45:1 -- solve
   x^2=(Lpaper+.05)(Link+.05) for the crossover. Static tokens on purpose: the ring has
   to clear the photograph, which does not change with the theme. */
:focus-visible{outline:3px solid var(--static-paper);outline-offset:2px;
  box-shadow:0 0 0 6px var(--static-ink);border-radius:6px}
h1,h2,h3,.display{font-family:var(--display);letter-spacing:-.02em}
section[id]{scroll-margin-top:82px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

.script{font-family:var(--script);font-size:clamp(13px,1.1vw,14px);color:var(--gold-ink);font-weight:700;
  line-height:1.25;letter-spacing:.14em;text-transform:uppercase}
/* Not --accent: the tint panel is a 12% mix of the accent into sand, and the accent on
   its own tint is only 3.66:1. This is 5.61:1 there and 6.57:1 on plain sand. */
.lab{font-family:var(--display);font-size:12.5px;letter-spacing:.11em;text-transform:uppercase;color:var(--lab-ink);font-weight:700}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:var(--display);font-weight:700;font-size:15px;border-radius:100px;padding:13px 24px;cursor:pointer;border:2px solid transparent;white-space:nowrap;transition:transform .16s cubic-bezier(.34,1.56,.64,1),filter .15s}
.btn-accent{background:var(--accent);color:var(--on-accent)}
.btn-accent:hover{transform:translateY(-2px);filter:brightness(1.05)}
.btn-warm{background:var(--ember);color:var(--on-ember)}
.btn-warm:hover{transform:translateY(-2px);filter:brightness(1.05)}
.btn-ghost{background:transparent;border-color:currentColor;color:inherit}
.btn-ghost:hover{transform:translateY(-2px)}
.btn-light{background:#fff;color:var(--on-light)}
.btn-light:hover{transform:translateY(-2px)}

/* header (injected by site.js) */
header.bar{position:fixed;top:0;left:0;right:0;z-index:40;transition:background .3s,box-shadow .3s,border-color .3s;border-bottom:1px solid transparent}
/* The bar is transparent over a hero, and everything in it is white. What is behind it
   is a photograph, which no contrast check that reads background-color can see: the bar
   is position:fixed, so it is not even a DOM descendant of the hero. Measured against
   the rendered pixels, 103 of 215 header items across the five sites were below their
   requirement, down to 1.14:1 over a bright sky.
   A scrim under the bar fixes every one of them at once and costs nothing once the bar
   turns solid, where it fades out. Behind the content, so it darkens the photo and not
   the text. */
/*   .72/.44 left Crystalaire’s dates page at 4.41:1, which is under 4.5 and so is a
   failure rather than a rounding error. Raised until the worst camp page cleared. */
header.bar::before{content:"";position:absolute;inset:0 0 auto;height:164px;pointer-events:none;
  background:linear-gradient(to bottom,rgba(12,18,17,.78),rgba(12,18,17,.52) 46%,transparent);
  transition:opacity .3s;z-index:-1}
header.bar.solid::before,header.bar.scrolled::before{opacity:0}
/* The scrim carries most of it; this covers the handful of glyphs that still land on a
   highlight. Only while the bar is transparent -- once it is solid the shadow would be
   a smudge on a flat panel. */
header.bar:not(.solid):not(.scrolled) nav.links a,
header.bar:not(.solid):not(.scrolled) .brand{text-shadow:0 1px 3px rgba(8,12,11,.55)}
header.bar:not(.solid):not(.scrolled) nav.links a.btn{text-shadow:none}
/* A real floor under the separation. At 16px the longest nav pushed the brand until it
   wrapped; the name and the menu have to read as two things. */
.bar .wrap{display:flex;align-items:center;gap:clamp(24px,4vw,40px);height:84px}
/* flex:none so the nav cannot squeeze it, and nowrap so the camp's name is one unit
   rather than two lines with the menu alongside. */
.brand{font-family:var(--display);font-weight:800;font-size:20px;color:#fff;margin-right:auto;display:flex;align-items:center;gap:10px;transition:color .3s;flex:none;white-space:nowrap}
.brand .dot{display:none}
.brand .blogo{height:64px;width:64px;object-fit:contain;display:block;background:#fff;border-radius:50%;padding:6px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
/* foxwoodBadge (config.js; Carvela and Lookout): the Project Foxwood mark as a badge on the
   top-left corner of the camp's logo, and "A PROJECT FOXWOOD PROGRAM" under the camp's name,
   both linking to the hub. A grid, so every piece takes real width in .brand -- which is
   what sites/navbar.js measures -- and the bar still collapses when it does not fit.
   Column 1 is the badge and the logo, the logo pushed right and down so the badge sits on
   its corner; column 2 is the name over the caption.

   THE SIZE IS THE MOST THE BAR HAS ROOM FOR. Measured 18 November, Chrome, with Work at Camp
   in the nav as tests/navbar.spec.js runs it: at 1024px Lookout and Carvela had 64-68px
   spare without the badge, 33px with it, 10px at these sizes (1.1x the first mockup), and
   collapsed at 1.2x. Crystalaire (2px with the badge at 1x) and Windward (-2px at 1024)
   cannot take it as their bars are. Anything made bigger here re-measures first.

   The caption takes the NAV's color and font, not the brand's: white over the photo, ink
   once the bar is solid. On a phone (bar--tight) the caption goes and the badge stays; the
   badge's alt says "Project Foxwood". */
.brand--badge{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:10px;row-gap:4px;align-items:center}
.brand--badge .fxbadge{grid-column:1;grid-row:1/3;align-self:start;justify-self:start;z-index:1}
.brand--badge .fxbadge img{display:block;height:33px;width:33px;object-fit:contain;background:#fff;border-radius:50%;padding:3px;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.brand--badge .brandlogo{grid-column:1;grid-row:1/3;margin:10px 0 0 19px}
.brand--badge .brandname{grid-column:2;grid-row:1;align-self:end;display:flex;align-items:center}
.brand--badge .fxcap{grid-column:2;grid-row:2;align-self:start;font-family:var(--font);font-size:9.4px;font-weight:700;letter-spacing:.08em;line-height:1;color:rgba(255,255,255,.92)}
/* Desktop only, and three classes so it wins over the 56px .brand .blogo rule below. */
@media (min-width:1024px){
  .brand.brand--badge:not(.brand--small) .blogo{height:62px;width:62px}
  .brand.brand--badge:not(.brand--small) .brandname{font-size:22px}
}
/* foxwoodSmall (Crystalaire, 23 November): badge and caption at NO cost in width.
   Measured with Work at Camp in the nav at 1440: Crystalaire's brand is 294px without the
   badge and was 319px with the layout above (the logo pushed 19px right and the name up to
   22px), and that bar has about 19px to spare. So here the logo and name keep exactly their
   size and place without the badge, and a smaller badge sits over the logo's top-left
   corner, drawn out by a transform into the bar's padding: a transform moves what is drawn,
   not the layout. The caption sits under the name, narrower than it, so the brand is as
   wide as it is with no badge at all. tests/foxwood-badge.spec.js fails if the badge ever
   collapses this menu. */
.brand--badge.brand--small .brandlogo{margin:0}
.brand--badge.brand--small .fxbadge{transform:translate(-9px,-7px)}
.brand--badge.brand--small .fxbadge img{height:28px;width:28px;padding:2px}
nav.links{display:flex;gap:24px;align-items:center}
/* nowrap because a nav item that wraps mid-label is worse than one that overflows: adding
   Custom Adventures to Crystalaire turned "A Day in the Life" into four stacked words. */
nav.links a{font-size:14.5px;color:rgba(255,255,255,.92);font-weight:600;transition:color .3s;white-space:nowrap}
/* The Register button is a filled pill sitting inside that bar, so it takes its color
   from the accent behind it rather than from the bar. Without this the rule above wins on
   specificity and the button stays white — which on the dark-mode accent, a light tint,
   is 2:1 against a 4.5 requirement. */
nav.links a.btn-accent{color:var(--on-accent)}
/* Crystalaire carries the longest nav of the three camps, and .wrap is capped at 1140px,
   so the bar has the same room at 1440 as it does at 1200. Tightening was conditional on
   the VIEWPORT at first, which meant the nav went back to full size above the cap and
   overflowed on the widest screens. The container never grows, so neither does the rule. */
@media (min-width:1024px){
  nav.links{gap:13px}
  nav.links a{font-size:13.5px}
  nav.links a.btn{padding:11px 18px}
  /* Crystalaire's bar has eleven things in it. Eight pixels off the logo is eight pixels
     the nav does not have to find elsewhere, and nothing else in the bar notices. */
  .brand .blogo{height:56px;width:56px}
}
nav.links a:hover{color:#fff}
nav.links a.active{color:#fff;text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--gold)}
header.bar.solid,header.bar.scrolled{background:color-mix(in srgb,var(--sand) 92%,transparent);border-color:var(--line);box-shadow:0 6px 24px -18px rgba(0,0,0,.4)}
/* The solid bar's blur is on a layer BEHIND the bar's contents, never on the header itself
   (1 December). A backdrop-filter makes its element the containing block of every
   position:fixed element inside it, and the phone menu is fixed inside the header: with the
   blur on the header, from 13 July, the menu opened inside the 108px bar instead of the
   screen as soon as the bar turned solid. Scrolled down, the button "did nothing", and an
   open menu collapsed when the page scrolled. tests/zero-size-media.spec.js opens the menu
   scrolled down on every page. Nothing in header.bar may carry backdrop-filter, filter,
   transform, perspective or contain: each does the same to the menu. */
header.bar::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1}
header.bar.solid::after,header.bar.scrolled::after{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
header.bar.solid .brand,header.bar.scrolled .brand{color:var(--accent)}
header.bar.solid nav.links a,header.bar.scrolled nav.links a{color:var(--ink-2)}
header.bar.solid .brand .fxcap,header.bar.scrolled .brand .fxcap{color:var(--ink-2)}
header.bar.solid nav.links a:hover,header.bar.scrolled nav.links a:hover{color:var(--ink)}
header.bar.solid nav.links a.active,header.bar.scrolled nav.links a.active{color:var(--ink)}
header.bar.solid nav.links a.btn-accent,header.bar.scrolled nav.links a.btn-accent{color:var(--on-accent)}
/* The toggle has to outrank the panel it opens.
 *
 * nav.links is the drawer AND a child of header.bar, which is position:fixed with
 * z-index:40 and therefore a stacking context. Inside it the drawer takes z-index:45
 * while the toggle took none, so an open drawer painted over its own button — and the
 * drawer spans top:0 right:0 bottom:0 for min(82vw,330px), which contains the toggle at
 * every width. Measured: at 900px the toggle sits at 824-864 and the drawer at 570-900.
 *
 * The consequence was reported three times from two sites before it was believed.
 * document.elementFromPoint at the center of the three lines returned nav.links, not the
 * button; Playwright refused to click it at all. Clicking the dark scrim still closed the
 * menu, and so did tapping a link, so the drawer was not "broken" in any way a source
 * review would show — but the one action a person actually takes to close a menu was
 * impossible, and the page looked frozen until they reloaded.
 *
 * position:relative is load-bearing: z-index does nothing on a statically positioned
 * element, so the obvious one-line fix without it would have changed precisely nothing
 * and looked like it had worked.
 */
.navtoggle{display:none;background:none;border:none;cursor:pointer;color:#fff;padding:6px;line-height:0;margin-left:6px;
  position:relative;z-index:46}
.navtoggle svg{width:28px;height:28px}
header.bar.solid .navtoggle,header.bar.scrolled .navtoggle{color:var(--ink)}
/* Below header.bar (z-index:40). The panel lives INSIDE the header, so a scrim
   above 40 covers it: dimmed, and every tap lands on the scrim instead of a link. */
.navscrim{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .28s;z-index:38}
.navscrim.open{opacity:1;pointer-events:auto}
/* The drawer. Reachable two ways: below 1024px, where it is always right, and through
   .bar--compact, which site.js sets when the nav does not actually fit beside the name.
   Crystalaire has ten items and overflows its container at every desktop width; before
   this it was hidden by html{overflow-x:hidden}, which is also why a scrollWidth check
   did not catch it. */
@media (max-width:1023px){
  .navtoggle{display:inline-flex}
  nav.links{position:fixed;top:0;right:0;bottom:0;width:min(82vw,330px);z-index:45;background:var(--sand);flex-direction:column;align-items:stretch;justify-content:flex-start;gap:2px;padding:84px 22px 24px;transform:translateX(102%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:-24px 0 60px -24px rgba(0,0,0,.5);border-left:1px solid var(--line);overflow-y:auto}
  nav.links.open{transform:none}
  nav.links a{color:var(--ink-2)!important;font-size:17px;font-weight:600;padding:13px 4px;border-bottom:1px solid var(--line)}
  nav.links a.active{color:var(--ink)!important}
  nav.links a.btn{margin-top:16px;justify-content:center;color:var(--on-accent)!important;border-bottom:none}
}
header.bar--compact .navtoggle{display:inline-flex}
header.bar--compact nav.links{position:fixed;top:0;right:0;bottom:0;width:min(82vw,330px);z-index:45;background:var(--sand);flex-direction:column;align-items:stretch;justify-content:flex-start;gap:2px;padding:84px 22px 24px;transform:translateX(102%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:-24px 0 60px -24px rgba(0,0,0,.5);border-left:1px solid var(--line);overflow-y:auto}
header.bar--compact nav.links.open{transform:none}
header.bar--compact nav.links a{color:var(--ink-2)!important;font-size:17px;font-weight:600;padding:13px 4px;border-bottom:1px solid var(--line)}
header.bar--compact nav.links a.active{color:var(--ink)!important}
header.bar--compact nav.links a.btn{margin-top:16px;justify-content:center;color:var(--on-accent)!important;border-bottom:none}

/* The bar's button: Register on the camps, Request Info on the hub. Outside nav.links, so
   it never goes into the drawer. The max-width is what sites/navbar.js reserves for it,
   so the label can change with the registration state -- "Opens Nov 10", "Register" --
   without moving the collapse decision. A label longer than the box wraps rather than
   pushing the bar. */
/* 12px sides: at 14px "Opens Nov 10" measured 120.3px and broke onto two lines.
   Its own font stack, decided 18 October. Through --display this button fell back to
   Georgia, a serif on a sans button, and with the webfonts blocked "Opens Nov 10" measured
   122.4px and wrapped. Arial (Helvetica's metric twin) is within about 1% of Bricolage's
   widths and ships on Windows, macOS and iOS: with the webfonts blocked the widest label,
   "Opens Nov 10", is 118.0px. Headings keep --display. */
.bar .barcta{flex:none;max-width:120px;white-space:normal;text-align:center;line-height:1.15;font-size:13.5px;padding:10px 12px;
  font-family:"Bricolage Grotesque",Arial,Helvetica,sans-serif}
/* The bar's 40px gap is there to keep the NAME apart from the menu. The button belongs to
   the menu, so at desktop it sits at the nav's own 13px spacing, as it did when it was the
   nav's last item. Those 27px are what clear Crystalaire, which needs 1060 of 1052 with the
   full gap. navbar.js reads this margin, so the measurement stays honest. */
@media (min-width:1024px){.bar .barcta{margin-left:-27px}}
/* ---- A way to reach us beside Register (site.js builds it, navbar.js places it) ----
   "Ask us", on desktop and phone alike (4 December; on desktop it was the phone number where it
   fitted, 2 to 3 December, see site.js). It opens the sheet: call, Request info, directions; the
   drawer only after it has given way. On desktop it sits 25px from the nav, not the nav's 13px,
   so it does not read as a nav item. tests/home-order.spec.js. */
/* Outlined, so it reads as second to Register, which is filled. */
.bar .barask{display:inline-flex;flex:none;cursor:pointer;font-size:13.5px;padding:8px 12px;line-height:1.15;
  font-family:"Bricolage Grotesque",Arial,Helvetica,sans-serif;background:transparent;
  border:2px solid currentColor;color:#fff}
header.bar.solid .barask,header.bar.scrolled .barask{color:var(--ink)}
@media (min-width:1024px){
  .bar .barask{margin-left:-15px}
}
/* Not even "Ask us" fits (a phone at 360px with a long Register label; a 1024px desktop):
   neither, rather than the nav going to the drawer or the menu button off the screen. The
   number is still in the hero's facts, Come see it for yourself and every footer. */
header.bar.bar--noreach .barask{display:none}
/* ROOM FOR THE REACH BUTTON ON A PHONE (3 December). Measured at 390, 375 and 360px with
   Register's full 120px reservation, the reach button was 49 to 79px short on Lookout and
   Carvela. Three levers, in Curtis's order, all three needed to fit 360 (one of the commonest
   Android widths); see HANDOVER, "The camp bar's order of giving way", for the numbers. */
/* 1. Register reads "Register" on a phone in every registration state, so it is reserved at
      its real width, not 120px. gate.js writes both forms (.bar-long, .bar-short); exactly one
      is shown, so a screen reader announces what is seen. Wider screens keep the full label. */
.barcta .bar-short{display:none}
@media (max-width:1023px){
  .bar .barcta[data-bar-short]{max-width:none}
  .bar .barcta .bar-long{display:none}
  .bar .barcta .bar-short{display:inline}
}
/* 2. Lookout's and Carvela's Foxwood badge sits over the logo on a phone, as Crystalaire's
      already does everywhere (.brand--small): consistency rather than a new look. */
@media (max-width:1023px){
  .brand--badge .brandlogo{margin:0}
  .brand--badge .fxbadge{transform:translate(-9px,-7px)}
  .brand--badge .fxbadge img{height:28px;width:28px;padding:2px}
}
/* 3. 12px between the bar's items on a phone, not 24. */
@media (max-width:1023px){
  .bar .wrap{column-gap:12px}
}
/* THE NAME ON A PHONE IS HIDDEN BY CSS, NOT ONLY BY navbar.js (3 December). The same two rules as
   bar--tight, from the stylesheet alone below 600px: on any phone the full name never fits beside
   "Ask us", Register and the menu button, so navbar.js always lands on bar--tight there anyway;
   this changes nothing when the script runs, and keeps the bar inside the screen when it does not.
   Before this, with navbar.js not running, the name showed and the menu button went off the
   screen (87-155px on master; 128-158px with the reach button). Tablets keep the measured
   behavior, where there is room for the name. tests/home-order.spec.js ("navbar.js not
   running"). Layout that only exists after a script has run is its own recurring failure:
   HANDOVER, beside "a check that passes because it never looks". */
@media (max-width:599px){
  header.bar .brand .btxt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  header.bar .brand--badge .fxcap{display:none}
}
/* The "Ask us" sheet: three ways to reach us, from the bottom of a phone's screen, centered on
   anything wider. */
dialog.asksheet{margin:auto auto 0;width:100%;max-width:520px;max-height:none;border:0;
  border-radius:18px 18px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));
  background:var(--sand);color:var(--ink);box-shadow:0 -12px 40px -12px rgba(0,0,0,.35)}
dialog.asksheet::backdrop{background:rgba(10,16,18,.5)}
@media (min-width:560px){dialog.asksheet{margin:auto;border-radius:18px}}
.asksheet .askhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.asksheet h2{font-family:var(--display);font-size:22px;margin:0}
.asksheet .askclose{background:none;border:0;font-size:30px;line-height:1;color:var(--ink-2);cursor:pointer;
  padding:4px 8px;min-width:44px;min-height:44px}
.asksheet .askopt{display:flex;flex-direction:column;gap:2px;padding:14px 16px;margin-top:8px;border-radius:14px;
  border:1px solid var(--line);background:#fff;color:var(--ink);text-decoration:none;min-height:44px}
.asksheet .askopt strong{font-family:var(--display);font-size:17px}
.asksheet .askopt span{font-size:14px;color:var(--ink-2)}
/* Philosophy and Team, under About: in the drawer, not the bar. */
nav.links a.sub{display:none}
header.bar--compact nav.links a.sub{display:block;padding-left:20px;font-size:15px}
@media (max-width:1023px){nav.links a.sub{display:block;padding-left:20px;font-size:15px}}
/* Home, on a camp with Philosophy in the bar (barPhilosophy): the logo goes home there, so
   Home is in the drawer only, at full size like any other item. */
nav.links a.drawer-only{display:none}
header.bar--compact nav.links a.drawer-only{display:block}
@media (max-width:1023px){nav.links a.drawer-only{display:block}}
/* A phone, where even the name, the button and the toggle do not fit: the logo stands for
   the name. Hidden visually only; the name stays in the link for a screen reader. */
header.bar--tight .brand .btxt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Not just clipped like the name: the caption is a link, and a clipped link still takes Tab
   focus with nothing on screen to show it. */
header.bar--tight .brand--badge .fxcap{display:none}

/* full-bleed home hero */
.hero{position:relative;min-height:clamp(600px,94vh,900px);display:flex;align-items:flex-end;overflow:hidden}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,22,24,.60) 0%,rgba(14,22,24,.28) 38%,rgba(12,19,21,.52) 70%,rgba(10,16,18,.90) 100%),linear-gradient(90deg,rgba(12,19,21,.55) 0%,rgba(12,19,21,0) 58%)}
.hero-inner{position:relative;color:#fff;padding:126px 0 clamp(46px,7vw,88px);max-width:780px}
.hero .script{color:#FFD98A;margin-bottom:12px;display:block;text-shadow:0 2px 14px rgba(0,0,0,.4)}
.hero h1{font-size:clamp(42px,7.4vw,82px);line-height:.98;font-weight:800;margin:0;text-wrap:balance;color:#fff;text-shadow:0 3px 30px rgba(0,0,0,.45)}
.hero .intro{font-size:clamp(16.5px,1.9vw,20px);color:rgba(255,255,255,.95);max-width:52ch;margin:20px 0 0;text-shadow:0 2px 16px rgba(0,0,0,.5)}
.hero-cta{margin-top:30px;display:flex;flex-wrap:wrap;gap:13px}
.hero-meta{margin-top:26px;padding-top:16px;border-top:1px solid rgba(255,255,255,.18);
  display:flex;flex-wrap:wrap;align-items:center;gap:9px 20px}
.hero-meta .chip{font-family:var(--display);font-weight:600;font-size:13px;color:rgba(255,255,255,.86);
  display:inline-flex;align-items:center;gap:7px;text-decoration:none;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.hero-meta .chip svg{width:14px;height:14px;opacity:.62;flex:none}
.hero-meta a.chip:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* subpage hero (shorter, image band) */
.page-hero{position:relative;min-height:clamp(320px,46vh,460px);display:flex;align-items:flex-end;overflow:hidden}
/* Biased upward, not centered. The page hero is wider than the 2000x900 crops it is
   given, so object-fit:cover trims the vertical edges -- and centring that trim takes the
   top, which is where heads are. Camp Life cut the tops off all four campers and a cap.
   The source images are fine; the crop was doing it. 32% keeps faces in frame without
   pushing the horizon out of the bottom of the band. */
.page-hero .hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 32%}
.page-hero .hero-scrim{background:linear-gradient(180deg,rgba(14,22,24,.5) 0%,rgba(12,19,21,.3) 45%,rgba(10,16,18,.85) 100%)}
.page-hero .inner{position:relative;color:#fff;padding:120px 0 clamp(28px,4vw,50px)}
.page-hero .script{color:#FFD98A;display:block;margin-bottom:6px}
.page-hero h1{font-size:clamp(34px,5.6vw,58px);line-height:1;font-weight:800;margin:0;color:#fff;text-wrap:balance;text-shadow:0 3px 24px rgba(0,0,0,.4)}

/* ---- split hero: dark text panel + photo, alternating sides (home + subpages) ---- */
.hero.split,.page-hero.split{display:grid;grid-template-columns:1fr;grid-template-areas:"img" "copy";gap:0;min-height:0;padding:0;overflow:hidden;align-items:stretch}
.split .hero-copy{grid-area:copy;background:#22302E;color:#fff;display:flex;flex-direction:column;justify-content:center;padding:clamp(38px,7vw,58px) clamp(22px,6vw,44px) clamp(44px,7vw,56px)}
.split .hero-copy>*{max-width:38rem;width:100%}
.split .hero-img{grid-area:img;position:relative;min-height:clamp(240px,42vh,380px);background:#22302E}
.split .hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.split .hero-img .hero-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,22,24,.5) 0%,transparent 16%);pointer-events:none}
.hero.split .script,.page-hero.split .script{color:#FFD98A;text-shadow:none;margin-bottom:10px}
.hero.split h1,.page-hero.split h1{color:#fff;text-shadow:none}
.hero.split h1{font-size:clamp(36px,5vw,64px)}
.hero.split .intro{color:rgba(255,255,255,.9);text-shadow:none;max-width:48ch}
@media (min-width:900px){
  .hero.split,.page-hero.split{grid-template-areas:"copy img"}
  .hero.split.flip,.page-hero.split.flip{grid-template-areas:"img copy"}
  .hero.split{grid-template-columns:47% 53%;min-height:clamp(520px,74vh,720px)}
  .page-hero.split{grid-template-columns:44% 56%;min-height:clamp(340px,50vh,480px)}
  .split .hero-img{min-height:0}
  .split .hero-copy{padding-top:124px;padding-bottom:66px}
  .hero.split:not(.flip) .hero-copy,.page-hero.split:not(.flip) .hero-copy{padding-left:max(44px,calc((100vw - 1140px)/2 + 44px));padding-right:clamp(34px,4vw,60px)}
  .hero.split.flip .hero-copy,.page-hero.split.flip .hero-copy{padding-right:max(44px,calc((100vw - 1140px)/2 + 44px));padding-left:clamp(34px,4vw,60px)}
}

/* section rhythm */
section.band{padding:clamp(52px,8vw,104px) 0}
.sec-head{margin-bottom:30px}
.sec-head h2{font-size:clamp(28px,4.4vw,46px);line-height:1.04;font-weight:800;margin:10px 0 0;text-wrap:balance;max-width:20ch}
.sec-lead{font-size:clamp(16px,1.7vw,18.5px);color:var(--ink-2);max-width:58ch;margin:16px 0 0}
.readmore{display:inline-flex;align-items:center;gap:7px;margin-top:22px;font-family:var(--display);font-weight:700;font-size:15px;color:var(--accent)}
.readmore:hover{gap:11px}
.center{text-align:center;margin-left:auto;margin-right:auto}

/* prose */
.prose{max-width:66ch}
.prose p{font-size:clamp(16px,1.7vw,18.5px);color:var(--ink-2);margin:0 0 18px}
.prose p.lead{font-size:clamp(18px,2vw,22px);color:var(--ink);font-weight:500}

/* friendship / image split */
.split2{display:grid;grid-template-columns:1fr;gap:clamp(28px,5vw,60px);align-items:center}
@media (min-width:900px){.split2{grid-template-columns:1fr 1fr}}
.split2.flip .fig{order:2}
/* One shape for every photograph on the site.
   This used to be aspect-ratio 4/4.3 with an asymmetric radius and a gold blob glowing
   behind one corner, while galleries were 4/3 — so a feature photo and the gallery photo
   beside it were different shapes for no reason a reader could detect. The files ship at
   820x620, which is 4/3, so the portrait box was also cropping every one of them hard.
   A section that genuinely wants a tall image asks for it with .fig--tall, on purpose. */
.fig{position:relative;border-radius:var(--img-radius);overflow:hidden;aspect-ratio:4/3;box-shadow:var(--shadow-lg);background:var(--sand-2)}
.fig--tall{aspect-ratio:4/5}
.fig img{width:100%;height:100%;object-fit:cover}
.split2 .body{font-size:clamp(16px,1.8vw,19px);color:var(--ink-2);margin-top:18px}
.split2 .pull{margin-top:22px;font-family:var(--display);font-size:clamp(18px,2.2vw,23px);font-weight:700;color:var(--ink);border-left:4px solid var(--gold);padding-left:16px;line-height:1.3}
.split2 h2 .hl{color:var(--accent)}
/* A section's own heading when it sits beside a photo. .split2 h2 has no size of its own and
   falls to the browser's 24px, which read smaller than the parts beneath it (Camp Life
   Cabins, 9 November). The parts of such a section are h3s in a .subhead. */
.split2 h2.sec-title{font-size:clamp(28px,3.4vw,40px);line-height:1.06;font-weight:800;margin:10px 0 0;text-wrap:balance}
.subhead{margin:44px 0 16px}
.subhead h3{font-size:clamp(20px,2.2vw,26px);line-height:1.15;font-weight:800;margin:8px 0 0;text-wrap:balance}

/* wide image band */
.imgband{position:relative;height:clamp(240px,38vw,420px);border-radius:32px;overflow:hidden;box-shadow:var(--shadow-lg)}
.imgband img{width:100%;height:100%;object-fit:cover}

/* trust band */
/* A full-width panel filled with the camp’s accent. In dark mode that accent is the
   light tint, so this was the brightest thing on the page and its white heading came
   out at 2.01:1 on Carvela. Everything here now takes its color from the accent. */
.trust{background:var(--accent);color:var(--on-accent);border-radius:36px;padding:clamp(30px,5vw,60px)}
.trust .th{max-width:24ch}
.trust .th .lab{color:var(--on-accent-soft)}
.trust h2{color:var(--on-accent)}
.trust .grid{margin-top:30px;display:grid;grid-template-columns:1fr;gap:2px;background:color-mix(in srgb,var(--on-accent) 18%,transparent);border-radius:18px;overflow:hidden}
/* An odd last item spans both columns, or the grid shows an empty tinted cell beside it. */
@media (min-width:680px){.trust .grid{grid-template-columns:1fr 1fr}.trust .grid>.item:last-child:nth-child(odd){grid-column:1/-1}}
.trust .item{background:var(--accent);padding:22px 24px}
.trust .item h3{font-size:18px;font-weight:800;margin:0 0 7px;color:var(--on-accent)}
.trust .item p{margin:0;font-size:14px;color:var(--on-accent-soft)}
/* In dark mode the accent is the light tint, so filling this whole band with it made the
   brightest thing on the page a gold slab. The text is legible either way now, but with
   the CTA band below it darkened for contrast, a lone bright panel reads as a mistake
   rather than emphasis. Tinted instead: the camp's hue in the panel and its label, normal
   page text, and an accent-tinted edge to keep it a distinct object. Light mode keeps the
   solid band exactly as designed. Placed after the rules above, not in the token block,
   because equal specificity means the later declaration wins. */
@media (prefers-color-scheme:dark){
  .trust{background:color-mix(in srgb,var(--accent) 20%,var(--card));color:var(--ink);
    border:1px solid color-mix(in srgb,var(--accent) 34%,var(--line))}
  .trust .th .lab{color:var(--lab-ink)}
  .trust h2{color:var(--ink)}
  .trust .grid{background:color-mix(in srgb,var(--accent) 30%,var(--line))}
  .trust .item{background:color-mix(in srgb,var(--accent) 20%,var(--card))}
  .trust .item h3{color:var(--ink)}
  .trust .item p{color:var(--ink-2)}
}

/* shop band — mirrors the Foxwood hub shop section */
/* Sister programs. Built from FOXWOOD_PROGRAMS, so a camp never lists itself. */
.family{background:var(--tint);border-radius:32px;padding:clamp(26px,4vw,48px)}
.family .sec-head{margin-bottom:18px}
.famgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:18px}
.famcard{display:flex;flex-direction:column;gap:6px;background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:16px 18px;text-decoration:none;color:var(--ink);transition:transform .18s,box-shadow .18s}
.famcard:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.famcard .fname{font-family:var(--display);font-weight:700;font-size:16px;display:flex;align-items:center;gap:9px}
.famcard .fdot{width:11px;height:11px;border-radius:50%;flex:none}
.famcard .fkind{font-size:12px;color:var(--muted-ink);font-weight:600}
.famcard .fblurb{font-size:13.5px;color:var(--ink-2);line-height:1.5}
.famhub{margin-top:18px;font-size:13.5px}
.famhub a{color:var(--lab-ink);font-weight:700}
@media (prefers-reduced-motion:reduce){.famcard{transition:none}}

/* The video box (.videobox, .video-placeholder) lives in sites/video.css: Windward does not
   load this file, and one aspect-ratio rule is better than two that drift. */

.shopband{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;background:var(--tint);border-radius:32px;padding:clamp(24px,4vw,44px)}
@media (min-width:760px){.shopband{grid-template-columns:1.1fr .9fr}}
.shopband h2{margin:8px 0 6px}
.shopart img{width:100%;height:auto;border-radius:18px;box-shadow:var(--shadow-lg);display:block;transition:transform .25s}
.shopart:hover img{transform:scale(1.02)}

/* pillars / value cards */
.pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}
.pillar{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow);transition:transform .16s}
.pillar:hover{transform:translateY(-4px)}
.pillar .n{font-family:var(--display);font-size:26px;font-weight:800;color:var(--ember-ink)}
.pillar h3{margin:11px 0 6px;font-size:17px;font-weight:700}
.pillar p{margin:0;font-size:13.5px;color:var(--ink-2)}
.values{display:grid;grid-template-columns:1fr;gap:16px}
/* An odd last card spans both columns rather than sitting alone in the left one: five pillars. */
@media (min-width:720px){.values{grid-template-columns:1fr 1fr}.values>.value:last-child:nth-child(odd){grid-column:1/-1}}
.value{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:24px 26px;box-shadow:var(--shadow);display:flex;gap:18px;align-items:flex-start}
.value .num{font-family:var(--display);font-size:34px;font-weight:800;color:var(--gold-ink);line-height:1;flex:none}
.value h3{margin:2px 0 8px;font-size:20px;font-weight:800}
.value p{margin:0;font-size:15px;color:var(--ink-2)}
.value h3 .say{font-family:var(--font);font-size:15px;font-weight:500;color:var(--ink-2);margin-left:4px;white-space:nowrap}

/* checklist (goals / what's included) */
.checks{display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:0;list-style:none}
@media (min-width:640px){.checks{grid-template-columns:1fr 1fr}}
/* The tick stays; the card around each line goes. */
.checks li{display:flex;gap:12px;align-items:flex-start;padding:4px 0;font-size:15px;color:var(--ink-2)}
.checks li b{color:var(--ink)}
/* "Overnight sessions" / "Day camp" above an item, where one list holds both (dates.html). */
.checks .inc-for{display:block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent)}
.checks .tick{flex:none;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--gold) 26%,var(--card));color:var(--gold-ink);display:grid;place-items:center;font-weight:800;font-family:var(--display);font-size:13px;margin-top:1px}

/* testimonial */
.quote{position:relative;background:var(--static-ink);color:var(--static-paper);border-radius:34px;padding:clamp(30px,5vw,64px);overflow:hidden;box-shadow:var(--shadow-lg)}
.quote .mark{position:absolute;top:-24px;right:26px;font-family:var(--display);font-size:200px;color:var(--static-gold);opacity:.24;line-height:1}
.quote blockquote{margin:0;position:relative;font-family:var(--display);font-size:clamp(22px,3.4vw,38px);line-height:1.22;font-weight:700;text-wrap:balance;max-width:22ch}
.quote .by{margin-top:18px;font-family:var(--hand);font-size:24px;color:var(--static-gold)}  /* 6.63:1 on the card */
.quote blockquote,.quote .by{overflow-wrap:anywhere}
/* One quote in a spot beside what it proves (/js/testimonials.js): under the session list, in
   the trust panel, inside the homesickness answer. Quieter than the large card on purpose --
   one line of someone's words, not a block of them. Hidden until a quote is placed. */
.tq{margin:30px 0 0;padding:2px 0 2px 20px;border-left:4px solid var(--gold);max-width:60ch}
.tq blockquote{margin:0;font-family:var(--display);font-weight:600;font-size:clamp(18px,2.2vw,22px);line-height:1.35;color:var(--ink);text-wrap:pretty;overflow-wrap:anywhere}
.tq figcaption{margin-top:8px;font-family:var(--hand);font-size:22px;line-height:1.2;color:var(--ink-2);overflow-wrap:anywhere}
.trust .tq{border-left-color:var(--on-accent-soft)}
.trust .tq blockquote{color:var(--on-accent)}
.trust .tq figcaption{color:var(--on-accent-soft)}
.faq details .tq{margin:0 20px 20px}
/* The one-line quote directly above the "Why parents trust us" panel (home-above-trust;
   3 December, out of the panel 4 December): a quiet line leading into the section, not a pull
   quote, so smaller, with its signature on the same line where there is room. A plain line with
   no signature hides the figcaption (public/js/testimonials.js). */
.tq-line{margin:0 0 22px;max-width:none;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;row-gap:4px}
.tq-line[hidden],.tq-line figcaption[hidden]{display:none}
.tq-line blockquote{font-size:clamp(16px,1.7vw,18px);font-weight:600}
.tq-line figcaption{margin-top:0;font-size:19px}
@media (prefers-color-scheme:dark){
  .trust .tq{border-left-color:color-mix(in srgb,var(--accent) 50%,var(--line))}
  .trust .tq blockquote{color:var(--ink)}
  .trust .tq figcaption{color:var(--ink-2)}
}

/* schedule */
.ses-note{color:var(--muted-ink);font-size:15px}
.sched-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 22px}
.sched-hint{font-size:13.5px;color:var(--muted-ink)}
.sched-view{display:inline-flex;background:var(--card);border:1px solid var(--line);border-radius:100px;padding:4px;gap:3px}
.sched-view .sv{font-family:var(--display);font-weight:700;font-size:13px;border:none;background:transparent;color:var(--ink-2);padding:8px 17px;border-radius:100px;cursor:pointer;transition:.14s}
.sched-view .sv.active{background:var(--accent);color:var(--on-accent)}
.sched-group{margin-top:26px}.sched-group:first-child{margin-top:0}
.group-label{font-family:var(--display);font-weight:800;font-size:13.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--accent);display:flex;align-items:center;gap:14px;margin-bottom:14px}
.group-label::after{content:"";flex:1;height:2px;border-radius:2px;background:color-mix(in srgb,var(--accent) 24%,transparent)}
.slist{display:flex;flex-direction:column;gap:11px}
.srow{display:flex;align-items:center;gap:16px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:15px 17px;box-shadow:var(--shadow);transition:transform .16s}
.srow:hover{transform:translateY(-3px)}
/* An add-on, under the week it attaches to. Indented, quieter, and without a Register
   button of its own -- it is not separately bookable, it is a checkbox on the week
   above, and offering a second button here is how a family ends up on a page that does
   not list the thing they clicked. */
.srow.addon{margin-left:26px;border-left:2px solid var(--tint);border-radius:0 14px 14px 0;
  background:color-mix(in srgb,var(--card) 60%,transparent);box-shadow:none}
.srow.addon:hover{transform:none}
.srow.addon .snm{font-size:15px;font-weight:700;color:var(--ink-2)}
.srow.addon .snm .plus{color:var(--gold-ink);font-weight:800;margin-right:7px}
.srow.addon .sprice{font-size:16px;color:var(--ink-2)}
.sinfo{flex:1;min-width:0}
.sinfo .snm{font-family:var(--display);font-weight:800;font-size:17.5px}
.sinfo .smeta{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px;align-items:center}
.tagpill{font-size:12px;font-weight:600;padding:4px 11px;border-radius:100px;white-space:nowrap}
.tag-date{background:var(--sand-2);color:var(--ink-2);font-variant-numeric:tabular-nums}
.tag-age{background:color-mix(in srgb,var(--accent) 15%,var(--card));color:var(--accent);font-weight:800}
.stagline{margin-top:6px;font-size:12.5px;font-weight:600;color:var(--accent);line-height:1.4}
.sright{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.sprice{font-family:var(--display);font-weight:800;font-size:18px;font-variant-numeric:tabular-nums}
.savail{font-family:var(--display);font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:100px}
.savail.open{background:color-mix(in srgb,var(--gold) 26%,var(--card));color:var(--gold-ink)}
.savail.full{background:var(--sand-2);color:var(--muted-ink);border:1px solid var(--line)}
.sbtn{font-family:var(--display);font-weight:700;font-size:13px;background:var(--accent);color:var(--on-accent);border-radius:100px;padding:8px 16px;transition:transform .14s}
.sbtn:hover{transform:translateY(-2px)}
@media (max-width:640px){.srow{flex-wrap:wrap}.sright{width:100%;flex-direction:row;justify-content:space-between;align-items:center;order:3;border-top:1px solid var(--line);padding-top:11px;margin-top:3px}}
.crosscamp{margin-top:26px;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px 22px;font-size:15px;color:var(--ink-2)}
.crosscamp b{font-family:var(--display);color:var(--ink)}
.crosscamp a{color:var(--accent);font-weight:700;white-space:nowrap}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
/* No nth-child exceptions. The 4n rule turned every fourth image portrait while its
   neighbours stayed landscape, and 3n rounded one corner differently. Both applied by
   position rather than by content, and the activities gallery has exactly four images,
   so the odd one out was always on screen. */
.gallery figure{margin:0;border-radius:var(--img-radius);overflow:hidden;aspect-ratio:4/3;background:var(--sand-2);box-shadow:var(--shadow)}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gallery figure:hover img{transform:scale(1.05)}

/* team */
.staff{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px}
.person{text-align:center}
.person .ph{border-radius:26px 26px 40px 26px;overflow:hidden;aspect-ratio:3/3.5;background:var(--sand-2);box-shadow:var(--shadow);margin-bottom:11px;transition:transform .16s;display:grid;place-items:center}
.person:hover .ph{transform:translateY(-4px) rotate(-1deg)}
.person .ph img{width:100%;height:100%;object-fit:cover}
.person .ph .initials{font-family:var(--display);font-size:44px;font-weight:800;color:var(--accent)}
.person .nm{font-family:var(--display);font-weight:800;font-size:15.5px}
.person .rl{font-size:12.5px;color:var(--muted-ink);font-weight:600}
/* full bio cards (team page) */
.bios{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:720px){.bios{grid-template-columns:1fr 1fr}}
.bio{display:flex;gap:18px;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow)}
.bio .ph{flex:none;width:96px;height:112px;border-radius:16px 16px 24px 16px;overflow:hidden;background:var(--sand-2);display:grid;place-items:center}
.bio .ph img{width:100%;height:100%;object-fit:cover}
.bio .ph .initials{font-family:var(--display);font-size:30px;font-weight:800;color:var(--accent)}
.bio .nm{font-family:var(--display);font-size:18px;font-weight:800}
.bio .rl{font-size:12.5px;color:var(--accent);font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin:2px 0 8px}
.bio .rl .pr{color:var(--muted-ink);text-transform:none;letter-spacing:0;font-weight:600}
.bio p{margin:0;font-size:14px;color:var(--ink-2)}

/* request form */
.split{display:grid;grid-template-columns:1fr;gap:26px}
@media (min-width:860px){.split{grid-template-columns:.9fr 1.1fr;align-items:start}}
.infoform{background:var(--card);border:1px solid var(--line);border-radius:26px;padding:clamp(20px,3vw,30px);box-shadow:var(--shadow-lg)}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.field label{font-size:12.5px;font-weight:700;color:var(--ink-2)}
.field input,.field textarea{font:inherit;font-size:15px;background:var(--sand);border:1.5px solid var(--field-line);border-radius:12px;padding:11px 13px;color:var(--ink);width:100%}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.field textarea{min-height:96px;resize:vertical}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-note{font-size:12.5px;color:var(--muted-ink);margin:2px 0 14px}
.success{background:var(--tint);border:1.5px solid var(--accent);color:var(--ink);border-radius:20px;padding:26px;text-align:center;font-family:var(--display);font-size:17px;font-weight:700}
.contact-list{display:flex;flex-direction:column;gap:16px;font-size:15.5px}
.contact-list .ci{display:flex;gap:13px;align-items:flex-start}
.contact-list .ci .k{font-family:var(--display);font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted-ink);min-width:66px;padding-top:3px}

/* final cta */
/* --cta-accent, not --accent: site.js darkens the accent only as far as white needs,
   so a dark accent renders exactly as before and a light one stops being a pale slab
   with white text on it. */
.final{position:relative;background:linear-gradient(135deg,var(--cta-accent),color-mix(in srgb,var(--cta-accent) 60%,var(--static-ink)));color:#fff;border-radius:40px;padding:clamp(38px,6vw,80px);text-align:center;overflow:hidden}
.final::before{content:"";position:absolute;top:-60px;right:-40px;width:260px;height:260px;background:radial-gradient(circle,var(--gold),transparent 68%);opacity:.4}
/* Was a fixed #FFD98A, which failed on every accent we measured -- 4.23:1 on the teal
   and 2.45:1 on Carvela’s gold, both below the 4.5 this 13px text owes. */
.final .script{color:var(--cta-kicker);position:relative}
.final h2{position:relative;color:#fff;font-size:clamp(28px,4.6vw,50px);margin:8px auto 0;max-width:20ch}
.final p{position:relative;color:rgba(255,255,255,.92);max-width:48ch;margin:16px auto 0;font-size:clamp(16px,1.7vw,18px)}
.final .cta{position:relative;margin-top:28px;display:flex;gap:13px;justify-content:center;flex-wrap:wrap}
/* The CTA band is a GRADIENT built from the accent, and in dark mode the accent is the
   light tint — so it rendered as a bright slab carrying white text and a pale gold kicker
   at 1.49:1 on Carvela. Nothing that inspects background-COLOR can see this, because a
   gradient is a background-image; it was found by computing the gradient's own endpoints.
   Darkened rather than recoloring the text, so the band keeps the camp's hue and its white
   copy keeps working. It has to sit after .final above, not up in the token block, or the
   later rule wins. Light mode is untouched. */
@media (prefers-color-scheme:dark){
  .final{background:linear-gradient(135deg,
    color-mix(in srgb,var(--accent) 26%,var(--static-ink)),
    color-mix(in srgb,var(--accent) 10%,var(--static-ink)))}
}

/* footer (injected) */
footer.site{background:var(--footer-bg);color:var(--footer-ink);padding:clamp(40px,6vw,64px) 0 56px}
footer.site .cols{display:grid;grid-template-columns:1fr;gap:26px;padding-bottom:26px;border-bottom:1px solid color-mix(in srgb,var(--footer-ink) 14%,transparent)}
@media (min-width:680px){footer.site .cols{grid-template-columns:1.4fr 1fr 1fr}}
footer.site .fb{font-family:var(--display);font-weight:800;font-size:20px;margin-bottom:8px}
footer.site .fabout{color:color-mix(in srgb,var(--footer-ink) 72%,transparent);font-size:14px;max-width:34ch}
footer.site h4{font-family:var(--display);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:color-mix(in srgb,var(--footer-ink) 60%,transparent);margin:0 0 12px}
footer.site .fnav{display:flex;flex-direction:column;gap:9px;font-size:14.5px}
footer.site a{color:color-mix(in srgb,var(--footer-ink) 90%,transparent)}
footer.site a:hover{color:var(--gold)}
footer.site .frow{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding-top:22px;font-size:13px;color:color-mix(in srgb,var(--footer-ink) 60%,transparent)}
footer.site .frow a:not(.btn){color:var(--gold);font-weight:700}

/* a-day timeline */
.timeline{position:relative;margin:0;padding:0 0 0 8px;list-style:none}
.timeline::before{content:"";position:absolute;left:8px;top:8px;bottom:8px;width:2px;background:color-mix(in srgb,var(--accent) 30%,transparent)}
.tl{position:relative;padding:0 0 26px 34px}
.tl:last-child{padding-bottom:0}
.tl::before{content:"";position:absolute;left:1px;top:4px;width:16px;height:16px;border-radius:50%;background:var(--gold);border:3px solid var(--sand)}
.tl .time{font-family:var(--display);font-weight:800;font-size:13px;color:var(--accent);letter-spacing:.02em}
.tl h3{margin:3px 0 4px;font-size:18px;font-weight:800}
.tl p{margin:0;font-size:14.5px;color:var(--ink-2)}
/* A filled, rounded, shadowed shape means "click me". Nothing that is not a button gets
   one. .chips is kept for pages still using it; new work uses .wordlist below. */
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chips .c{font-family:var(--display);font-weight:700;font-size:14px;color:var(--ink-2);padding:2px 0}
.chips .c:not(:last-child)::after{content:"·";color:var(--gold-ink);margin:0 2px 0 10px;font-weight:800}

/* Fifty-six activities. As bordered pills they read as fifty-six things to click; as a
   wrapped list of words they read as abundance, which is what the section is claiming. */
.wordlist{font-family:var(--display);font-weight:600;font-size:16px;line-height:2;color:var(--ink-2);max-width:74ch}
/* Each activity holds together: "Snorkel the Shipwreck" broke across two lines with
   the separator stranded at the start of the second.
   And the list wraps BETWEEN activities as a flex row, never by relying on a space in the
   markup. The template joins the spans with nothing, and nowrap spans with nothing between
   them have nowhere a line may break: from 28 September all fifty-six sat on one line 7,146px
   wide, two of them visible on a phone, hidden by html's overflow-x (text-overflow.spec.js). */
.wordlist{display:flex;flex-wrap:wrap}
.wordlist span{white-space:nowrap}
.wordlist span:not(:last-child)::after{content:"·";color:var(--gold-ink);margin:0 6px 0 10px;font-weight:800}

/* Jump links. Navigation, so: text and a rule, never a pill. */
.jumpbar{display:flex;flex-wrap:wrap;gap:22px;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.jumpbar a{font-family:var(--display);font-weight:700;font-size:14px;letter-spacing:.02em;color:var(--accent);text-decoration:none;border-bottom:2px solid transparent;padding-bottom:2px}
.jumpbar a:hover{border-bottom-color:var(--accent)}

/* Swim levels: three columns under a hairline, each with its photograph. The card border
   they used to sit in was doing nothing the photograph does not already do. */
.levels{display:grid;grid-template-columns:1fr;gap:26px}
@media (min-width:720px){.levels{grid-template-columns:repeat(3,1fr);gap:30px}}
.lvl{border-top:1px solid var(--line);padding-top:16px}
.lvl h3{margin:0 0 7px;font-size:17px;font-weight:800}
.lvl p{margin:0;font-size:14px;color:var(--ink-2)}
.lvlfig{margin:0 0 15px;border-radius:var(--img-radius);overflow:hidden;aspect-ratio:4/3;background:var(--sand-2)}
.lvlfig img{width:100%;height:100%;object-fit:cover;display:block}

/* faq */
.faq{display:flex;flex-direction:column;gap:12px;max-width:820px}
.faq details{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.faq summary{cursor:pointer;list-style:none;padding:18px 20px;font-family:var(--display);font-weight:700;font-size:17px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--display);font-size:24px;color:var(--accent);font-weight:700;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{margin:0;padding:0 20px 20px;font-size:15px;color:var(--ink-2)}
.infocards{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:720px){.infocards{grid-template-columns:repeat(3,1fr)}}
/* Columns under a rule rather than boxes, for the same reason as .levels. */
.infocard{border-top:1px solid var(--line);padding:16px 0 0}
.infocard h3{margin:0 0 8px;font-size:17px;font-weight:800}
.infocard p{margin:0;font-size:14px;color:var(--ink-2)}
.infocard a{color:var(--accent);font-weight:700}

/* sample menu (camp life / food) */
.menu{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:720px){.menu{grid-template-columns:repeat(3,1fr)}}
/* A menu is typography. */
.menu .mcard{border-top:1px solid var(--line);padding:16px 0 0}
.menu .mcard h3{font-family:var(--display);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:0 0 13px}
.menu .mcard ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.menu .mcard li{font-size:15px;color:var(--ink-2)}
.menu .mcard li::before{content:"›";color:var(--gold-ink);font-weight:800;margin-right:9px}

/* fact / stat tiles (about / location) */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-top:8px}
.fact{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow)}
.fact .fk{font-family:var(--display);font-size:24px;font-weight:800;color:var(--accent);line-height:1}
.fact .fv{font-size:13px;color:var(--ink-2);margin-top:5px}
/* Work at Camp, the hub's page (25 November): three things no page had a component for.
   Fact text in the site's text orange: --ember-ink is 5.61:1 on the white card and, in dark
   mode, #DE7A3C at 5.11:1 on the dark one. --ember itself is 3.02:1 on white, too pale for
   the 13px line. */
.facts--warm .fk,.facts--warm .fv{color:var(--ember-ink)}
/* A heading with a row of logos beside it, wrapping under it when there is no room. */
.title-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 36px}
.title-row h2{flex:0 1 auto}
.logo-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.logo-row img{display:block;height:58px;width:auto;max-width:150px;object-fit:contain}
.logo-row a{display:block;border-radius:12px;transition:transform .16s}
.logo-row a:hover{transform:translateY(-2px)}
/* A page hero under the hub's bar starts below it. The camps' bar is see-through over the
   photo; the hub's is solid (hubchrome.js), and fixed, so it hid the collage's top row.
   84px is .bar .wrap's height, and 1px its border. */
header.bar.solid + .page-hero{margin-top:85px}
/* The hero's photo as a 3×3 collage, filling the space the one photo filled. */
.split .hero-img .hero-collage{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px;background:#22302E}
.split .hero-img .hero-collage img{position:static;inset:auto;width:100%;height:100%;min-height:0;object-fit:cover}
/* Phones and tablets (the stacked hero, below 900px): 3×3, with the grid in the photos' own
   4:3 shape, so each tile is near 4:3 and little is cut off (25 November; a 3×2 grid's tall
   tiles, and a tablet's wide ones, cut the photos badly). Capped at 560px wide and centered, so
   on a tablet it does not take over the screen: the size is limited, never the tiles' shape. */
@media (max-width:899px){
  /* ONLY where there is a collage, which sets its own height. A single photo is absolutely
     positioned and gives its box no height of its own: with min-height:0 on every hero, as
     this read from 25 November to 1 December, every single-photo hero and page hero on the
     three camps rendered at 0px on phones. tests/zero-size-media.spec.js. */
  .split .hero-img:has(.hero-collage){min-height:0}
  .split .hero-img .hero-collage{position:relative;inset:auto;aspect-ratio:4/3;width:100%;max-width:560px;margin:0 auto}
}
/* Desktop (side by side, 900px and up): the column's size is the layout's, so the grid takes the
   largest 4:3 that fits it, centered on the hero's dark ground -- tiles near 4:3 here too, not
   whatever shape the column happens to be (square at 1024px, wide at 1440px). */
@media (min-width:900px){
  .split .hero-img:has(.hero-collage){container-type:size}
  .split .hero-img .hero-collage{inset:0;margin:auto;width:min(100cqw,calc(100cqh * 4 / 3));height:min(100cqh,calc(100cqw * 3 / 4))}
}
/* Larger on desktop (25 November), sized to sit BESIDE the heading: from 96px at 900px wide to
   140px from about 1270px. A fixed 174px pushed them under it. A phone keeps 58px. */
@media (min-width:900px){
  .logo-row img{height:clamp(96px,11vw,140px);max-width:none}
  /* One line: the heading narrows and wraps its own words beside the logos. Wrapping the row
     instead put the logos under it, because the heading's box takes its whole 20ch. */
  .title-row{flex-wrap:nowrap}
  .title-row .logo-row{flex:none}
}
/* The narrowest phones (320px): 52px, so the four stay on one line, evenly spaced. */
@media (max-width:359px){.logo-row img{height:52px}}

/* trip cards (Crystalaire expeditions) */
.tripgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
@media (min-width:680px){.tripgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tripcard{min-width:0;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s}
.tripcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.tripcard .timg{aspect-ratio:16/10;overflow:hidden;background:var(--sand-2)}
.tripcard .timg img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.tripcard:hover .timg img{transform:scale(1.05)}
.tripcard .tbody{padding:20px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.tripcard .ttag{align-self:flex-start;font-family:var(--display);font-weight:700;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,var(--card));border-radius:100px;padding:4px 11px}
.tripcard h3{margin:0;font-family:var(--display);font-size:21px;font-weight:800}
.tripcard .tmeta{display:flex;flex-wrap:wrap;gap:7px}
.tripcard .tmeta span{font-size:12.5px;font-weight:600;color:var(--ink-2);background:var(--sand-2);border-radius:100px;padding:4px 11px}
.tripcard p{margin:0;font-size:14.5px;color:var(--ink-2);line-height:1.55}
/* Departures inside a trip card. A trip is a name and a photograph; a departure is a date
   you can book, so it gets its own row with the only three facts that decide it: when, how
   full, and how much. */
.tripcard .tdeps{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:2px}
.tripcard .tdep{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 0}
.tripcard .tdep+.tdep{border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}
.tripcard .ddate{font-family:var(--display);font-weight:700;font-size:14px;font-variant-numeric:tabular-nums}
.tripcard .dright{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tripcard .dprice{font-family:var(--display);font-weight:800;font-size:15px;font-variant-numeric:tabular-nums}
.tripcard .dsoon{font-size:12.5px;font-weight:600;color:var(--muted-ink)}
.tripcard .dmore{display:block;padding-top:10px;font-size:13px;font-weight:600;color:var(--accent)}

/* Closing panel on the trips page. Deliberately the quiet tint band the site already uses
   for .family and .shopband, not a second .final slab: the accent CTA directly below it is
   the one that should carry the weight. */
.moreadv{background:var(--tint);border-radius:32px;padding:clamp(26px,4vw,48px);text-align:center}
.moreadv h2{font-family:var(--display);font-size:clamp(26px,3.6vw,38px);line-height:1.08;font-weight:800;margin:0;text-wrap:balance;max-width:18ch;margin-inline:auto}
.moreadv p{margin:14px auto 0;max-width:52ch;font-size:clamp(15.5px,1.6vw,17px);line-height:1.6;color:var(--ink-2)}
.moreadv .cta{margin-top:24px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
/* Two buttons side by side stop fitting well before the band does, so below that they go
   full width and stack rather than wrapping into a ragged pair. */
@media (max-width:460px){
  .moreadv .cta{flex-direction:column;align-items:stretch}
  .moreadv .cta .btn{width:100%;white-space:normal}
}

/* enrollment & payment policies accordion */
.policies{display:flex;flex-direction:column;gap:12px;max-width:880px}
.policies details{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.policies summary{cursor:pointer;list-style:none;padding:18px 20px;font-family:var(--display);font-weight:700;font-size:16.5px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.policies summary::-webkit-details-marker{display:none}
.policies summary::after{content:"+";font-family:var(--display);font-size:24px;color:var(--accent);font-weight:700;transition:transform .2s;flex:none}
.policies details[open] summary::after{transform:rotate(45deg)}
.policies .pbody{padding:0 20px 20px}
.policies .pbody p{margin:0 0 12px;font-size:15px;color:var(--ink-2)}
.policies .pbody p:last-child{margin-bottom:0}
.policies .pbody ul{margin:0 0 12px;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.policies .pbody ul:last-child{margin-bottom:0}
.policies .pbody li{font-size:15px;color:var(--ink-2);padding-left:20px;position:relative}
.policies .pbody li::before{content:"–";position:absolute;left:4px;color:var(--gold-ink);font-weight:800}

/* Reveal on scroll. VISIBLE BY DEFAULT: a .reveal is hidden only under html.reveal-on, which
   the page script adds once its observer is running (site.js; foxwood.html for the hub). A
   script that fails costs the fade, never the section. Until 30 November this hid every
   .reveal outright, and Carvela's Find a Session sat invisible for families. The transition is
   on the way in only, so starting the effect hides at once instead of fading out first.
   tests/reveal.spec.js holds all of this. */
.reveal-on .reveal:not(.in){opacity:0;transform:translateY(26px)}
.reveal-on .reveal.in{opacity:1;transform:none;transition:opacity .8s ease,transform .8s cubic-bezier(.22,1,.36,1)}

/* ── Custom adventures page ──────────────────────────────────────────────────
   Reuses .famcard for the "who we build for" and "what doesn't change" grids, which until
   now only ever held the Foxwood family cards and so only styled their own inner classes.
   Headings and paragraphs are given the same treatment here so the card works with plain
   markup too. */
.famcard h3{margin:0;font-family:var(--display);font-weight:700;font-size:16px}
.famcard p{margin:0;font-size:13.5px;color:var(--ink-2);line-height:1.55}
.prose-h{font-family:var(--display);font-size:clamp(24px,3.4vw,34px);line-height:1.1;font-weight:800;
  margin:0;text-wrap:balance}

/* The steps are numbered because they are a real sequence: nobody changes a route before
   somebody has drafted one. Nothing else on the page is numbered. */
ol.cusetps{list-style:none;counter-reset:cs;margin:26px 0 0;padding:0;display:grid;
  grid-template-columns:minmax(0,1fr);gap:0}
@media (min-width:760px){ol.cusetps{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px}}
ol.cusetps li{counter-increment:cs;position:relative;padding:18px 0 18px 54px;border-top:1px solid var(--line)}
ol.cusetps li::before{content:counter(cs);position:absolute;left:0;top:16px;width:34px;height:34px;
  display:grid;place-items:center;border-radius:100px;background:var(--accent);color:var(--on-accent);
  font-family:var(--display);font-weight:700;font-size:15px}
ol.cusetps h3{margin:0 0 5px;font-family:var(--display);font-weight:700;font-size:17px}
ol.cusetps p{margin:0;font-size:14.5px;color:var(--ink-2);line-height:1.55}

.chiprow{display:flex;flex-wrap:wrap;gap:9px}
.chiprow .chip{font-size:13.5px;font-weight:600;color:var(--ink-2);background:var(--sand-2);
  border-radius:100px;padding:7px 15px}

/* A blank line in a paragraph's copy draws a second paragraph (SiteCopy.fill, public/js/site-copy.js).
 Most paragraphs here are styled margin:0 as the one block in their card, so the space between
 them is set here. None of these match a page whose copy has no blank line in it. */
p[data-copy-cont]{margin-top:.75em}
.quote blockquote > p{margin:0}
.quote blockquote > p + p{margin-top:.5em}
