/* Windward Expeditions — shared bespoke maritime styles (home + subpages). */

/* Oswald from our own server, as the fallback when Google Fonts does not arrive (4 December,
   before Windward's launch). Oswald is condensed and nothing installed is on every device:
   Windows falls to Impact, but iPhones, Android and Linux fall to a full-width sans, and the
   bar's button ("2027 account") wrapped to two lines. Named differently from Google's family
   so it is only fetched when that one is missing: in the ordinary case it costs nothing. The
   latin subset, weights 400-700 in one variable file (21 KB). SIL Open Font License, shipped
   beside it (fonts/OFL-Oswald.txt). tests/navbar.spec.js holds Windward to one line. */
@font-face{font-family:"Oswald Self";font-style:normal;font-weight:400 700;font-display:swap;
  src:url(/sites/fonts/oswald-latin-var.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --deep:#123B47; --deep-2:#0C2A33; --deep-3:#0A222A;
  --canvas:#EDE6D6; --canvas-2:#E4DAC5; --paper:#F5F0E4;
  --brass:#B8873A; --brass-lite:#D8A94E; --deck:#2A2E30; --red:#B23A2E; --fog:#9FB0B3;
  /* Theme-independent paper. Fifteen rules use this as the INK on a surface that is
     dark in BOTH themes -- the heroes, the dark bands, the form fields, the CTA, the
     footer. --canvas cannot carry them: it is the page GROUND and has to flip. Never
     redefine this in the dark block; being fixed is the entire point. Same pattern,
     and same reason, as --static-ink/--static-paper in site.css. */
  --static-paper:#EDE6D6;
  /* Hairlines and card gutters, which are drawn from --deck or --brass at low alpha.
     Both vanish once the page is dark, so they are tokens rather than literals. */
  --hairline:rgba(42,46,48,.16);
  --gutter:rgba(184,135,58,.3);
  --display:"Oswald","Oswald Self",Impact,sans-serif;
  --body:"Spectral",Georgia,serif;
  --mono:"Space Mono","SF Mono",monospace;
  --shadow:0 2px 6px rgba(10,34,42,.10),0 22px 50px -28px rgba(10,34,42,.5);
}
/* Dark mode. The camp sites follow the OS through this query and carry no [data-theme]
   blocks; Windward now matches, so a visitor with dark mode on their phone does not get
   four sites that adapt and one that does not.

   Only the four light surfaces and their ink move. The page drops BELOW --deep rather
   than above it, which keeps the three-surface rhythm intact: .band.dark stays #123B47
   and simply reads as a raised teal panel instead of a recessed one, the way .trust does
   on the camps. --deep, --deep-2 and --deep-3 are not touched at all -- they are already
   dark in both themes, and half the site is built on them. */
@media (prefers-color-scheme:dark){
  :root{
    --canvas:#0E1619; --canvas-2:#121B1F; --paper:#162025;
    --deck:#E4DCCB;                     /* 13.4:1 on the page, 12.2:1 on a card */
    /* Brass steps up, the way each camp's accent does in dark mode: #B8873A is 2.8:1 on
       a dark panel and carries headings, table heads and the readmore links. These are
       5.2:1 and 7.1:1 respectively, and the brass FILLS still pair with --deep-2 at
       6.96:1, up from 4.71:1. */
    --brass:#D8A94E; --brass-lite:#E8C170;
    --hairline:rgba(216,169,78,.22);
    /* Matched to light's weight on purpose. The gutter is the container showing
       through a 2px gap, so any alpha above this turns .growth's empty trailing cell
       -- 7 cards in a 2-column grid -- into a solid block. That artifact predates dark
       mode and is visible in production today; raising the alpha only made it louder. */
    --gutter:rgba(216,169,78,.34);
    --shadow:0 2px 6px rgba(0,0,0,.5),0 22px 50px -28px rgba(0,0,0,.9);
  }
}
*{box-sizing:border-box}
html,body{overflow-x:hidden}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--deck);font-family:var(--body);line-height:1.65;font-size:17px;-webkit-font-smoothing:antialiased}
/* 1140px, matching site.css. It was 1120 -- drift rather than a decision, and 20px
   narrower than the three camps for no reason anybody wrote down. Normalising it is a
   consistency win on its own, and it happens to pay for most of the nav fitting. */
.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}
/* Same two-ring treatment as the camps, and the same reason: a single brass ring was
   1.83-2.11:1 over the hero photographs. Worst case for this pair is 3.64:1. */
:focus-visible{outline:3px solid var(--static-paper);outline-offset:2px;
  box-shadow:0 0 0 6px var(--deep-3);border-radius:4px}
section[id]{scroll-margin-top:78px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

h1,h2,h3,.disp{font-family:var(--display);text-transform:uppercase;letter-spacing:.01em;font-weight:600;line-height:1.02}
.logtag{font-family:var(--mono);font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--brass)}
.rule{height:1px;background:linear-gradient(90deg,var(--brass),transparent);opacity:.5;margin:0}

.btn{display:inline-flex;align-items:center;gap:9px;font-family:var(--display);text-transform:uppercase;letter-spacing:.06em;font-weight:600;font-size:14.5px;border:2px solid transparent;border-radius:2px;padding:13px 24px;cursor:pointer;transition:transform .12s,background .15s,color .15s}
.btn:active{transform:translateY(1px)}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{filter:brightness(1.08)}
.btn-brass{background:var(--brass);color:var(--deep-2)}
.btn-brass:hover{filter:brightness(1.06)}
.btn-line{background:transparent;border-color:currentColor}
.btn-line:hover{background:rgba(255,255,255,.08)}

/* header */
header.bar{position:fixed;top:0;left:0;right:0;z-index:40;transition:background .3s,box-shadow .3s;border-bottom:1px solid transparent}
/* Same problem as the camp sites: the bar is transparent over a hero photograph, and
   the nav is a pale cream. Measured against the pixels behind it, "For Parents" was
   2.79:1. The bar is position:fixed, so nothing that walks up the DOM can see the
   photograph it sits on. */
/*   .68/.40 put the nav at 2.45:1 on /ship and 2.88:1 on /voyages over pale hero
   photographs. Arrived at by measurement, not arithmetic: a solver predicted .76/.50 would
   be enough and the rendered pixels said 3.18:1, so it was raised until the worst page
   cleared. .84/.62 still left /ship at 4.26. This is the lightest pair where every nav
   item on every Windward page clears 4.5:1. */
header.bar::before{content:"";position:absolute;inset:0 0 auto;height:164px;pointer-events:none;
  background:linear-gradient(to bottom,rgba(12,18,17,.90),rgba(12,18,17,.70) 46%,transparent);
  transition:opacity .3s;z-index:-1}
header.bar.solid::before,header.bar.scrolled::before{opacity:0}
header.bar:not(.solid) .links a{text-shadow:0 1px 3px rgba(4,10,14,.6)}
.bar .wrap{display:flex;align-items:center;gap:16px;height:84px}
/* .06em, not .1em. On twenty uppercase characters the wider tracking was ~38px of pure
   letter-spacing, which is what put a six-item nav 21px over its container at every
   desktop width. .06em is not a new look: this brand already uses it below 430px, so the
   desktop bar now matches the treatment the phone has always had.

   WHAT THIS DOES NOT SURVIVE, deliberately: if Oswald AND Impact are both unavailable the
   generic sans renders the wordmark 56px wider and the bar no longer fits. That is the
   measurement in fits() doing its job -- it collapses to the drawer rather than running
   off the edge -- and no brand trim short of dropping the wordmark would change it. */
.brand{font-family:var(--display);font-weight:700;font-size:19px;text-transform:uppercase;letter-spacing:.06em;color:var(--static-paper);margin-right:auto;display:flex;align-items:center;gap:11px;white-space:nowrap}
@media (max-width:430px){.brand{font-size:16px;letter-spacing:.06em;gap:9px}.brand .brandlogo{width:54px;height:54px}}
.brand .brandlogo{width:64px;height:64px;border-radius:50%;object-fit:contain;background:#fff;flex:none;padding:6px}
nav.links{display:flex;gap:24px;align-items:center}
/* Full opacity, not .85. The alpha mixed the cream toward the photograph behind it,
   which is what put these at 2.45:1 on /ship and 2.88:1 on /voyages. Measured against
   the brightest pixel behind the nav on each page, not against a guess. */
/* white-space:nowrap so a label can never break mid-item. The camp sites have had this
   since the same request went round a couple of weeks ago (site.css); Windward was
   missed rather than regressing, which is why it is the only one of the five that could
   do it. */
nav.links a{font-family:var(--display);text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:500;color:var(--static-paper);white-space:nowrap}
nav.links a:hover{color:var(--brass-lite)}
nav.links a.active{color:var(--brass-lite)}
header.bar.solid{background:var(--deep-2);box-shadow:0 4px 20px -10px rgba(0,0,0,.6)}
/* The toggle has to outrank the panel it opens — same fault, same fix as site.css.
 *
 * Windward keeps its own copy of this rule rather than inheriting, so the fix has to be
 * made twice; its drawer is z-index:45 inside a header.bar at 40, exactly as the camps'
 * is, and its breakpoint is wider (1080px) so the broken state was reachable on more
 * screens, not fewer. position:relative is what makes the z-index apply at all.
 */
.navtoggle{display:none;background:none;border:none;cursor:pointer;color:var(--static-paper);padding:6px;line-height:0;margin-left:6px;
  position:relative;z-index:46}
.navtoggle svg{width:28px;height:28px}
/* 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(10,34,42,.55);opacity:0;pointer-events:none;transition:opacity .28s;z-index:38}
.navscrim.open{opacity:1;pointer-events:auto}
@media (max-width:1080px){
  .navtoggle{display:inline-flex}
  nav.links{position:fixed;top:0;right:0;bottom:0;width:min(82vw,320px);z-index:45;background:var(--deep-2);flex-direction:column;align-items:stretch;gap:2px;padding:84px 24px 24px;transform:translateX(102%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:-24px 0 60px -24px rgba(0,0,0,.6);border-left:1px solid rgba(184,135,58,.4);overflow-y:auto}
  nav.links.open{transform:none}
  nav.links a{color:var(--static-paper)!important;font-size:15px;padding:14px 4px;border-bottom:1px solid rgba(159,176,179,.2)}
  nav.links a.btn{margin-top:16px;justify-content:center;border-bottom:none}
}

/* And the same when it simply does not FIT, whatever the width.
 *
 * windward.js now measures the bar like site.js does, and sets .bar--compact. The 1080px
 * query above is a floor, not the whole rule: with a sixth nav item this bar needed 1037px
 * of a 1032px container at EVERY desktop width including 1440, and ran past the right edge
 * at 1081. Nothing showed it -- html{overflow-x:hidden} swallows the evidence, which is
 * also why a scrollWidth check comes back clean. Exactly the fault Crystalaire had, in the
 * copy of this CSS that never got the fix. */
header.bar--compact .navtoggle{display:inline-flex}
header.bar--compact nav.links{position:fixed;top:0;right:0;bottom:0;width:min(82vw,320px);z-index:45;background:var(--deep-2);flex-direction:column;align-items:stretch;gap:2px;padding:84px 24px 24px;transform:translateX(102%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:-24px 0 60px -24px rgba(0,0,0,.6);border-left:1px solid rgba(184,135,58,.4);overflow-y:auto}
header.bar--compact nav.links.open{transform:none}
header.bar--compact nav.links a{color:var(--static-paper)!important;font-size:15px;padding:14px 4px;border-bottom:1px solid rgba(159,176,179,.2)}
header.bar--compact nav.links a.btn{margin-top:16px;justify-content:center;border-bottom:none}

/* The bar's Register button, outside nav.links so it never goes into the drawer. Same
   reserved width as the camps (site.css); sites/navbar.js reserves the max-width, not the
   label, so a label that changes with the registration state cannot move the decision. */
.bar .barcta{flex:none;max-width:120px;white-space:normal;text-align:center;justify-content:center;line-height:1.2;font-size:12.5px;letter-spacing:.05em;padding:10px 12px}
/* A phone: the logo stands for the name. Visually hidden only. */
header.bar--tight .brand .btxt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* The Project Foxwood badge (sites/windward.js), as the camps' in site.css: the badge on the
   logo's top-left corner, "A PROJECT FOXWOOD PROGRAM" under the name, one grid inside .brand
   so sites/navbar.js measures all of it. Windward keeps its own logo (64px, 54px on a small
   phone) and wordmark sizes; only the logo moves right for the badge. Measured with Work at
   Camp in the nav at 1440, the widest Windward bar, it fits with about 60px to spare; at
   1080 and below the menu is in the drawer anyway. The caption takes the nav's font and
   color, as on the camps. On a phone the caption goes and the badge stays. */
.brand--badge{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:11px;row-gap:5px;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.brand--badge .brandlogo{grid-column:1;grid-row:1/3;margin:10px 0 0 19px;width:auto;height:auto;padding:0;background:none;border-radius:0;display:block;line-height:0}
.brand--badge .blogo{width:64px;height:64px;border-radius:50%;object-fit:contain;background:#fff;padding:6px;display:block}
@media (max-width:430px){.brand--badge .blogo{width:54px;height:54px}}
.brand--badge .brandname{grid-column:2;grid-row:1;align-self:end;color:inherit}
.brand--badge .fxcap{grid-column:2;grid-row:2;align-self:start;font-family:var(--display);font-size:10.5px;font-weight:500;letter-spacing:.1em;line-height:1;color:var(--static-paper)}
header.bar:not(.solid) .brand--badge .fxcap{text-shadow:0 1px 3px rgba(4,10,14,.6)}
/* 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}

/* hero (home) */
.hero{position:relative;color:var(--static-paper);overflow:hidden;padding:150px 0 clamp(54px,8vw,104px);background:var(--deep-2);min-height:clamp(520px,80vh,760px);display:flex;align-items:flex-end}
.hero-photo{position:absolute;inset:0;z-index:0}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(12,42,51,.4) 0%,rgba(12,42,51,.12) 38%,rgba(10,34,42,.72) 100%),linear-gradient(90deg,rgba(10,34,42,.8) 0%,rgba(10,34,42,.32) 40%,rgba(10,34,42,0) 70%)}
.hero .wrap{position:relative;z-index:2}
.hero .logtag{color:var(--brass-lite);text-shadow:0 2px 10px rgba(0,0,0,.4)}
.hero h1{font-size:clamp(40px,7.2vw,84px);font-weight:700;margin:16px 0 0;max-width:15ch;text-wrap:balance;text-shadow:0 3px 24px rgba(0,0,0,.45)}
.hero h1 em{font-style:normal;color:var(--brass-lite)}
.hero .sub{font-size:clamp(17px,1.9vw,21px);color:rgba(237,230,214,.95);max-width:56ch;margin:22px 0 0;line-height:1.55;text-shadow:0 2px 14px rgba(0,0,0,.5)}
.hero .hero-line{font-family:var(--body);font-style:italic;font-size:clamp(16px,1.8vw,20px);color:var(--brass-lite);margin:15px 0 0;max-width:46ch;line-height:1.4;text-shadow:0 2px 12px rgba(0,0,0,.45)}
.hero-cta{margin-top:30px;display:flex;flex-wrap:wrap;gap:13px}
.waterline{position:absolute;left:0;right:0;bottom:0;z-index:2;height:5px;background:repeating-linear-gradient(90deg,var(--brass) 0 22px,transparent 22px 44px);opacity:.6}

/* split hero — text panel + photo, no overlay (home + subpages, stacks image-on-top on mobile) */
.hero.split,.page-hero.split{display:grid;grid-template-columns:1fr;grid-template-areas:"img" "copy";padding:0;overflow:hidden;align-items:stretch}
.split .hero-copy{grid-area:copy;background:var(--deep-2);color:var(--static-paper);display:flex;flex-direction:column;justify-content:center;padding:clamp(40px,7vw,60px) clamp(22px,6vw,44px) clamp(46px,7vw,60px)}
.split .hero-copy>*{max-width:36rem;width:100%}
.split .logtag{color:var(--brass-lite)}
.split .sub{text-shadow:none;color:rgba(237,230,214,.92)}
.split .hero-img{grid-area:img;position:relative;min-height:clamp(230px,40vh,360px)}
.split .hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.split .hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,34,42,.5) 0%,transparent 18%);pointer-events:none}
.hero.split h1{font-size:clamp(33px,7vw,58px);margin:14px 0 0;max-width:16ch;text-shadow:none}
.hero.split .sub{font-size:clamp(16px,2vw,20px);margin-top:20px;max-width:52ch}
.hero.split .hero-cta{margin-top:28px}
.page-hero.split h1{margin:12px 0 0;max-width:15ch;text-shadow:none}
.page-hero.split .sub{margin-top:16px}
@media (min-width:900px){
  .hero.split,.page-hero.split{grid-template-areas:"copy img"}
  .split .hero-copy{justify-content:center;padding:118px clamp(34px,4vw,60px) 72px max(44px,calc((100vw - 1120px)/2 + 44px))}
  .split .hero-img{min-height:0}
  .hero.split{grid-template-columns:46% 54%;min-height:clamp(560px,82vh,780px)}
  .page-hero.split{grid-template-columns:44% 56%;min-height:clamp(420px,56vh,560px)}
}

/* page hero (subpages) */
.page-hero{position:relative;background:var(--deep-2);color:var(--static-paper);overflow:hidden;padding:132px 0 clamp(34px,5vw,56px);display:flex;align-items:flex-end;min-height:clamp(380px,52vh,540px)}
.page-hero .hero-photo{position:absolute;inset:0;z-index:0}
.page-hero .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 62%}
.page-hero .hero-scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(12,42,51,.6),rgba(10,34,42,.9))}
.page-hero .wrap{position:relative;z-index:2}
.page-hero .logtag{color:var(--brass-lite)}
.page-hero h1{font-size:clamp(34px,5.6vw,60px);font-weight:700;margin:12px 0 0;max-width:18ch;text-wrap:balance;text-shadow:0 3px 20px rgba(0,0,0,.4)}
.page-hero .sub{font-size:clamp(16px,1.7vw,19px);color:rgba(237,230,214,.92);max-width:56ch;margin:16px 0 0}

/* generic section */
section.band{padding:clamp(40px,5.5vw,72px) 0}
.band.dark{background:var(--deep);color:var(--static-paper)}
.band.deck{background:var(--canvas-2)}
.band.pad-sm{padding:clamp(38px,5vw,64px) 0}
.loghead{margin-bottom:28px}
.loghead h2{font-size:clamp(28px,4.2vw,46px);margin:8px 0 0;max-width:20ch}
.lead{font-size:clamp(18px,2vw,21px);max-width:60ch;line-height:1.6}
.lead.big{font-family:var(--display);text-transform:none;font-weight:400;letter-spacing:0;line-height:1.28;font-size:clamp(22px,3.2vw,34px)}
.cols2{display:grid;grid-template-columns:1fr;gap:clamp(26px,4vw,52px)}
@media (min-width:880px){.cols2{grid-template-columns:1.1fr .9fr}}
/* A grid column will not shrink below its content, and an input keeps a natural width of
   about 205px: two side by side in the form's .row2 made a 422px row, so on a 375px phone the
   whole column -- the inquiry form and its submit button -- ran 107px off the screen
   (19 October). Both lines are needed: the column may shrink, and the inputs fill it. */
.cols2>*{min-width:0}
.readmore{display:inline-flex;align-items:center;gap:8px;margin-top:20px;font-family:var(--display);text-transform:uppercase;letter-spacing:.05em;font-size:14px;font-weight:600;color:var(--brass);border-bottom:1px solid rgba(184,135,58,.5);padding-bottom:2px}
.band.dark .readmore{color:var(--brass-lite);border-bottom-color:rgba(216,169,78,.5)}
.readmore:hover{border-bottom-color:currentColor}

/* the experience — ship's log / watch-bill */
.logbook{border-top:1px solid rgba(184,135,58,.4)}
.entry{display:grid;grid-template-columns:1fr;gap:6px;padding:22px 0;border-bottom:1px solid rgba(184,135,58,.25)}
@media (min-width:760px){.entry{grid-template-columns:150px 1fr;gap:24px;align-items:baseline}}
.entry .when{font-family:var(--mono);font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--brass)}
.band.dark .entry .when{color:var(--brass-lite)}
.entry h3{font-size:22px;font-weight:600;margin:0 0 4px}
.entry p{margin:0;color:inherit;opacity:.9;font-size:16px;max-width:60ch}

/* card grid (come home with / included / etc.) */
.growth{display:grid;grid-template-columns:1fr;gap:2px;background:var(--gutter);border:1px solid var(--gutter)}
@media (min-width:720px){.growth{grid-template-columns:1fr 1fr}}
.growth.three{grid-template-columns:1fr}
@media (min-width:720px){.growth.three{grid-template-columns:1fr 1fr 1fr}}
.growth .g{background:var(--paper);padding:22px 24px}
.band.dark .growth .g{background:var(--deep-2)}
.band.deck .growth .g{background:var(--paper)}
.growth .g h3{font-size:19px;font-weight:600;margin:0 0 6px;color:var(--brass)}
.band.dark .growth .g h3{color:var(--brass-lite)}
.growth .g p{margin:0;font-size:15px;opacity:.9}

/* spec chart */
.spec{font-family:var(--mono);font-size:14px;background:var(--deep-2);color:var(--static-paper);border:1px solid rgba(184,135,58,.4);border-radius:3px;padding:22px 24px}
.spec .row{display:flex;align-items:baseline;gap:10px;padding:7px 0;border-bottom:1px dotted rgba(159,176,179,.3)}
.spec .row:last-child{border-bottom:none}
.spec .k{color:var(--fog);letter-spacing:.08em;text-transform:uppercase;font-size:12px;white-space:nowrap}
.spec .d{flex:1;border-bottom:1px dotted rgba(159,176,179,.35);transform:translateY(-4px)}
.spec .v{color:var(--brass-lite);font-weight:700}

/* image figure */
.fig{position:relative;overflow:hidden;border-radius:3px;box-shadow:var(--shadow);background:var(--deep-2);aspect-ratio:4/3.2}
.fig img{width:100%;height:100%;object-fit:cover}
.fig.tall{aspect-ratio:4/4.6}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
.gallery.g3{grid-template-columns:repeat(2,1fr)}
@media (min-width:720px){.gallery.g3{grid-template-columns:repeat(3,1fr)}}
.gallery figure{margin:0;overflow:hidden;border-radius:3px;aspect-ratio:4/3;background:var(--deep-2);position:relative}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gallery figure:hover img{transform:scale(1.06)}
/* Photo credit for images supplied by Inland Seas Education Association. Small, muted and
   out of the way: an attribution, not a caption competing with the picture. */
.credit{font-size:12px;letter-spacing:.02em;color:var(--fog);margin:5px 0 0;line-height:1.35}
.fig .credit,.hero-img .credit{position:absolute;right:8px;bottom:6px;margin:0;padding:2px 7px;
  background:rgba(18,32,40,.62);color:var(--static-paper);border-radius:3px;backdrop-filter:blur(2px)}
.gallery figure .credit{position:absolute;right:6px;bottom:5px;margin:0;padding:2px 6px;
  background:rgba(18,32,40,.62);color:var(--static-paper);border-radius:3px;font-size:12px}
.gallery figure::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(184,135,58,.25)}
/* One credit for a whole gallery, written in by windward.js when every photograph in the
   grid shares the same one. Deliberately quiet and below the grid: an overlay on each of
   six images is a watermark, this is a courtesy. */
.gallery-credit{margin-top:10px;text-align:right;font-size:11.5px;opacity:.78}
.gallery-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.gallery-credit a:hover{color:var(--brass-lite,#E8C170)}

/* pull quote — salt */
.saltquote{border-left:3px solid var(--brass);padding:6px 0 6px 26px;margin:0;max-width:40ch}
.saltquote p{font-family:var(--display);text-transform:none;font-weight:400;font-size:clamp(22px,3vw,32px);line-height:1.25;margin:0}
.saltquote .by{font-family:var(--mono);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--brass);margin-top:14px}
.band.dark .saltquote .by{color:var(--brass-lite)}

/* crew cards */
.crew-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:680px){.crew-grid{grid-template-columns:1fr 1fr}}
.crewcard{display:flex;gap:16px;background:var(--deep-2);border:1px solid rgba(184,135,58,.35);border-radius:3px;padding:18px}
.band:not(.dark) .crewcard{background:var(--paper)}
.crewcard .ph{flex:none;width:78px;height:94px;border-radius:2px;overflow:hidden;background:var(--deep-3);display:grid;place-items:center}
.crewcard .ph img{width:100%;height:100%;object-fit:cover}
.crewcard .ph .mono{font-family:var(--mono);font-size:22px;color:var(--brass)}
.crewcard .nm{font-family:var(--display);font-size:18px;font-weight:600}
.crewcard .rl{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--brass);margin:3px 0 8px}
.band.dark .crewcard .rl{color:var(--brass-lite)}
.crewcard p{margin:0;font-size:14.5px;opacity:.9}

/* checklist (what to bring / included) */
.kit{display:grid;grid-template-columns:1fr;gap:10px;list-style:none;margin:0;padding:0}
@media (min-width:640px){.kit{grid-template-columns:1fr 1fr}}
.kit li{display:flex;gap:11px;align-items:flex-start;font-size:16px}
.kit li::before{content:"▪";color:var(--brass);flex:none;transform:translateY(1px)}

/* voyages table */
.voyages{width:100%;border-collapse:collapse;font-family:var(--body)}
.voyages th{font-family:var(--display);text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:600;text-align:left;color:var(--brass);padding:12px 14px;border-bottom:2px solid rgba(184,135,58,.5)}
.voyages td{padding:14px;border-bottom:1px solid var(--hairline);font-size:15.5px}
.voyages tr:last-child td{border-bottom:none}
/* A voyage with a staff note (public/js/session-note.js): the note is the row under it, read as one. */
.voyages tr.has-vnote td{border-bottom:none;padding-bottom:4px}
.voyages tr.vnote td{padding-top:0}
.voyages .soon{font-family:var(--mono);font-size:12.5px;color:var(--fog)}
.noteband{background:var(--paper);border-left:4px solid var(--brass);border-radius:2px;padding:16px 20px;font-size:14.5px;color:var(--deck);margin-top:20px}
.band.dark .noteband{background:var(--deep-2);color:var(--static-paper);border-left-color:var(--brass-lite)}
.noteband b{font-family:var(--display);text-transform:uppercase;letter-spacing:.04em;font-size:13px}

/* faq */
.faq details{border-bottom:1px solid var(--hairline)}
.band.dark .faq details{border-bottom-color:rgba(159,176,179,.2)}
.faq summary{cursor:pointer;list-style:none;padding:18px 0;font-family:var(--display);text-transform:none;font-weight:600;font-size:19px;display:flex;justify-content:space-between;gap:14px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--mono);color:var(--brass);font-size:22px;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{margin:0 0 18px;opacity:.9;max-width:64ch}
.faq details ul{margin:0 0 18px;padding-left:22px;max-width:64ch}
.faq details li{margin-bottom:7px;opacity:.9}
.faq details p:last-child,.faq details ul:last-child{margin-bottom:22px}

/* compass divider */
.compass-div{display:flex;justify-content:center;padding:8px 0}
.compass-div svg{width:54px;height:54px;opacity:.85}

/* contact form */
.form{background:var(--deep-2);border:1px solid rgba(184,135,58,.4);border-radius:4px;padding:clamp(20px,3vw,30px)}
.form .field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.form label{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--fog)}
/* .3 measured 1.81:1. The edge is what identifies the field, so it owes 3:1; this is 3.21:1. */
.form input,.form textarea{font-family:var(--body);font-size:16px;background:var(--deep-3);border:1px solid rgba(159,176,179,.55);border-radius:3px;padding:11px 13px;color:var(--static-paper)}
.form input,.form textarea{min-width:0;width:100%}
.form input:focus,.form textarea:focus{outline:none;border-color:var(--brass)}
.form textarea{min-height:96px;resize:vertical}
.form .row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.success{background:rgba(184,135,58,.14);border:1px solid var(--brass);color:var(--static-paper);border-radius:4px;padding:24px;text-align:center;font-family:var(--display);text-transform:none;font-size:18px}
.contact-lines{font-family:var(--mono);font-size:14px;line-height:2;color:inherit}
.contact-lines .k{color:var(--brass-lite)}

/* final cta */
.final{background:linear-gradient(135deg,var(--deep) 0%,var(--deep-2) 100%);color:var(--static-paper);text-align:center;padding:clamp(40px,7vw,90px) 0;position:relative;overflow:hidden}
.final h2{font-size:clamp(30px,5vw,54px);margin:14px auto 0;max-width:18ch}
.final p{max-width:52ch;margin:16px auto 0;opacity:.9}
.final .hero-cta{justify-content:center}

/* footer */
footer.site{background:var(--deep-3);color:var(--fog);padding:44px 0 46px;font-size:14px}
footer.site .top{display:flex;flex-wrap:wrap;gap:18px 40px;align-items:flex-start;justify-content:space-between;padding-bottom:24px;border-bottom:1px solid rgba(159,176,179,.18)}
footer.site .fb{font-family:var(--display);text-transform:uppercase;letter-spacing:.1em;color:var(--static-paper);font-size:18px}
footer.site .fnav{display:flex;flex-wrap:wrap;gap:16px;font-family:var(--display);text-transform:uppercase;letter-spacing:.05em;font-size:13px}
footer.site a:hover{color:var(--brass-lite)}
footer.site .bottom{padding-top:20px;font-family:var(--mono);font-size:12px;letter-spacing:.03em}
footer.site .bottom a{color:var(--brass-lite)}

@media (prefers-color-scheme:dark){
  /* The east-west arm is drawn as a literal --deep, which is all but the page color
     once the page is darker than --deep. Decorative (aria-hidden), but it should still
     be visible. Attribute selector so the light rendering is untouched. */
  .compass-div svg path[fill="#123B47"]{fill:#39707F}
}

/* Reveal on scroll, VISIBLE BY DEFAULT: hidden only under html.reveal-on, which windward.js
   adds once its observer is running. The same rule and reason as site.css (30 November). */
.reveal-on .reveal:not(.in){opacity:0;transform:translateY(24px)}
.reveal-on .reveal.in{opacity:1;transform:none;transition:opacity .8s ease,transform .8s cubic-bezier(.22,1,.36,1)}

/* "Find the right fit" (30 November): the shared finder (/sites/finder.js, /sites/finder.css)
   on the home page. It reads the camps' tokens, which Windward does not have, so they are
   mapped onto Windward's own here, on #finder only, in both themes; nothing else on the page
   sees them. Fonts: Oswald for labels and buttons, Spectral for reading, as everywhere here. */
#finder{--accent:var(--deep);--on-accent:var(--static-paper);--card:var(--paper);--sand:var(--canvas);
  --ink:var(--deck);--ink-2:var(--deck);--muted-ink:#4F5759;--line:var(--hairline);--field-line:#6E7870;
  --shadow-lg:var(--shadow)}
@media (prefers-color-scheme:dark){
  #finder{--accent:#5FA9B4;--on-accent:var(--deep-2);--muted-ink:#A9B4B5;--field-line:#8D968F}
}
#finder .finder{border-radius:6px}
#finder .sec-head .lab{font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--brass)}
@media (prefers-color-scheme:dark){#finder .sec-head .lab{color:var(--brass-lite)}}
#finder .sec-head h2{font-family:var(--display);text-transform:uppercase;letter-spacing:.01em;line-height:1.1;margin:8px 0 10px}
#finder .sec-lead{font-size:18px;line-height:1.6;max-width:60ch;margin:0}
#finder .ff input,#finder .ff-chk{border-radius:6px}
#finder .ff input{font-family:var(--body)}
#finder .sched-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#finder .sched-view{display:inline-flex;background:var(--card);border:1px solid var(--line);border-radius:100px;padding:3px}
#finder .sched-view .sv{font-family:var(--display);font-weight:600;font-size:13px;letter-spacing:.03em;border:none;background:none;color:var(--ink);padding:7px 15px;border-radius:100px;cursor:pointer}
#finder .sched-view .sv.active{background:var(--accent);color:var(--on-accent)}
#finder .btn-accent{background:var(--accent);color:var(--on-accent)}
#finder .btn-accent:hover{filter:brightness(1.08)}
#finder .btn-light{background:var(--card);color:var(--ink);border-color:var(--line)}
#finder .fnone a{color:var(--accent);font-weight:600}
#finder .btn{justify-content:center}
