/* VOICE   grounded waterfront editorial: confident, practical, no nautical kitsch
   IDEA    the dockside tide board and the printed charter rate card
   PICTURE large crop-ready photo slots (illustrated placeholders until Codex fills them);
           Inlet Now reads like an instrument strip
   COLOUR  deep teal ground, warm white, ink; lime only for actions and "now"; coral for unavailable, ochre for stale
   TYPE    Archivo variable: condensed 800 for display, normal width for text; tabular figures for data
   LAYOUT  laptop: full-bleed photo with a solid teal title block in its lower-left corner;
           phone: compact photo, title, two entry buttons, narrow Inlet Now strip, then the trip chooser */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --teal-950: #032a2d;
  --teal-900: #063a3e;
  --teal: #0b5055;
  --teal-600: #11686e;
  --teal-100: #dcebe7;
  --paper: #fbf7ef;
  --card: #ffffff;
  --ink: #10211f;
  --muted: #4c5e5c;
  --line: #ddd4c4;
  --line-dark: rgba(255, 255, 255, .18);
  --lime: #c9f052;
  --lime-ink: #182400;
  --coral: #c8452c;
  --coral-bg: #fbe5df;
  --ochre: #7f5600;
  --ochre-bg: #f9edcf;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1240px;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
}
:root[data-theme=dark], :root[data-theme=light] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.55 var(--font); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--teal-600); text-underline-offset: .18em; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--teal-600); }
.band-dark :focus-visible, .site-header :focus-visible, .hero-title :focus-visible, .inlet-strip :focus-visible { outline-color: var(--lime); }
h1, h2, h3 { font-stretch: 78%; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 .4em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lede { font-size: 18px; color: var(--muted); max-width: 60ch; }
.num, .price, .stat-value, time { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--lime); color: var(--lime-ink); padding: 10px 14px; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(32px, 5vw, 72px); }
.band-dark { background: var(--teal); color: #fff; }
.band-dark .lede, .band-dark .muted { color: #cfe3df; }
.band-dark a { color: #fff; }
.band-tint { background: var(--teal-100); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }

/* ---------- Scaffold notice ---------- */
.scaffold-bar { background: var(--lime); color: var(--lime-ink); font-size: 14px; font-weight: 600; }
.scaffold-bar .wrap { padding-block: 7px; }

/* ---------- Header ---------- */
.site-header { background: var(--teal-900); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-stretch: 75%; font-size: 23px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand svg { flex: none; }
.brand:hover { color: #fff; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: #e4f0ed; text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 15.5px; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a[aria-current=page] { color: #fff; box-shadow: inset 0 -3px 0 var(--lime); border-radius: 0; }
.menu-btn { display: none; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; border: 1px solid var(--line-dark); border-radius: 10px; min-height: 44px; padding: 0 14px; font: 600 15px var(--font); }
  .nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a[aria-current=page] { box-shadow: inset 3px 0 0 var(--lime); padding-left: 12px; }
  .brand { order: 0; } .header-cta { order: 1; } .menu-btn { order: 2; } .nav { order: 3; }
}
.btn.header-cta { gap: 0; }

.stay-directory { padding-block: clamp(22px, 4vw, 54px); }
.stay-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 18px; }
.stay-tools .field { width: min(100%, 355px); }
.stay-tools p { margin: 0 0 12px; }
.stay-group { border-top: 1px solid var(--line); margin: 26px 0 36px; padding-top: 26px; }
.stay-group h2 { font-size: clamp(25px, 3vw, 33px); }
.stay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 14px; }
.stay-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stay-address { color: var(--muted); font-size: 14px; }
.stay-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; }
.stay-actions a { padding-block: 8px; font-weight: 600; }
.stay-link { margin: 16px 0 0; }
@media (max-width: 480px) {
  .hide-sm { display: none; }
  .brand { font-size: 20px; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .site-header .wrap { gap: 8px; min-height: 60px; }
  .header-cta { padding: 0 14px; font-size: 15px; }
  .menu-btn { padding: 0 12px; }
  .scaffold-bar { font-size: 13px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font: 700 16px var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #d8f77c; color: var(--lime-ink); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-900); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-line { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-line:hover { background: var(--teal); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.header-cta { min-height: 44px; }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--teal-100); color: var(--teal-900); white-space: nowrap; }
.badge-private { background: var(--teal); color: #fff; }
.badge-shared { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.badge-sample { background: transparent; color: var(--muted); box-shadow: none; border: 1.5px dashed currentColor; font-weight: 600; }
.band-dark .badge-sample, .inlet-strip .badge-sample, .hero-title .badge-sample, .price-card .badge-sample, .choose-private .badge-sample { color: #d7e9e5; }
.badge-stale { background: var(--ochre-bg); color: var(--ochre); }
.badge-unavailable { background: var(--coral-bg); color: var(--coral); }

/* ---------- Photo slots ---------- */
.slot { position: relative; overflow: hidden; background: var(--teal-100); margin: 0; }
.slot > img, .slot > picture, .slot > picture > img, .slot > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-tag { position: absolute; left: 8px; bottom: 8px; background: rgba(3, 42, 45, .82); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.slot-credit { position: absolute; right: 8px; bottom: 8px; background: rgba(3, 42, 45, .7); color: #fff; font-size: 12.5px; padding: 2px 8px; border-radius: 6px; }

/* ---------- Home hero ---------- */
.hero { background: var(--teal-900); color: #fff; position: relative; }
.hero .slot { aspect-ratio: 3 / 2; }
.hero-title { padding: 22px max(5vw, 16px) 24px; }
.hero-title h1 { margin-bottom: 10px; }
.hero-title p { color: #d4e7e3; font-size: 17px; max-width: 46ch; margin-bottom: 18px; }
.hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.hero-actions .btn { padding: 0 12px; }
@media (min-width: 760px) {
  .hero .slot { aspect-ratio: auto; height: clamp(460px, 62vh, 640px); }
  .hero-title { position: absolute; left: max(5vw, 16px); bottom: 32px; width: min(560px, 56%); background: var(--teal-900); border-radius: var(--radius); padding: 30px 32px; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-actions .btn { padding: 0 22px; }
}
@media (min-width: 1400px) { .hero-title { left: calc((100vw - var(--wrap)) / 2 + 5vw); } }

/* ---------- Inlet Now strip ---------- */
.inlet-strip { background: var(--teal-950); color: #fff; }
.inlet-strip .wrap { padding-block: 14px; }
.strip-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.strip-head strong { font-stretch: 80%; font-size: 18px; font-weight: 800; }
.strip-head .stamp { font-size: 13px; color: #b8d4cf; }
.strip-head a { margin-left: auto; color: var(--lime); font-weight: 700; font-size: 15px; text-decoration: none; padding: 6px 0; }
.strip-head a:hover { text-decoration: underline; color: var(--lime); }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border-radius: 10px; overflow: hidden; }
.strip-cell { background: var(--teal-950); padding: 8px 12px; }
.strip-cell .k { font-size: 13px; color: #a9c9c3; display: block; }
.strip-cell .v { font-size: 19px; font-weight: 700; font-stretch: 85%; white-space: nowrap; font-variant-numeric: tabular-nums; }
.strip-cell .u { font-size: 13px; color: #a9c9c3; font-weight: 500; }
.strip-msg { font-size: 15px; color: #e4f0ed; margin: 0; }
.strip-msg a { color: var(--lime); }
@media (max-width: 640px) {
  .inlet-strip .wrap { padding-block: 10px 12px; }
  .strip-head { margin-bottom: 8px; gap: 2px 10px; }
  .strip-head strong { font-size: 17px; }
  .strip-head .stamp { order: 5; width: 100%; font-size: 12.5px; }
  .strip-head a { padding: 0; min-height: 32px; display: inline-flex; align-items: center; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-cell { padding: 5px 10px; line-height: 1.25; }
  .strip-cell .k { font-size: 12.5px; }
  .strip-cell .v { font-size: 16.5px; }
}
.inlet-strip.is-stale .strip-cell .v { color: #f3dca2; }

/* ---------- Trip chooser ---------- */
.chooser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choose-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.choose-card h3 { margin: 0; font-size: 26px; }
.choose-card .from { font-size: 15px; color: var(--muted); }
.choose-card .from b { color: var(--ink); font-size: 20px; }
.choose-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.choose-private { background: var(--teal); color: #fff; border-color: var(--teal); }
.choose-private .from, .choose-private p { color: #d4e7e3; }
.choose-private .from b { color: #fff; }
.choose-private .btn-line { color: #fff; border-color: rgba(255, 255, 255, .6); }
.choose-private .btn-line:hover { background: #fff; color: var(--teal); }
.family-link { margin-top: 14px; font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 640px) { .chooser { grid-template-columns: minmax(0, 1fr); gap: 12px; } .choose-card { padding: 18px; } }

/* ---------- Trip cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.trip-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.trip-card .slot { aspect-ratio: 3 / 2; }
.trip-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.trip-body h3 { margin: 2px 0 0; }
.trip-body h3 a { color: var(--ink); text-decoration: none; }
.trip-body h3 a:hover { text-decoration: underline; }
.trip-body h3 a::after { content: ""; position: absolute; inset: 0; }
.trip-card { position: relative; }
.trip-card:focus-within { outline: 3px solid var(--teal-600); outline-offset: 2px; }
.trip-card a:focus-visible { outline: none; }
.trip-meta { font-size: 15px; color: var(--muted); margin: 0; }
.trip-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price-main { font-size: 28px; font-weight: 800; font-stretch: 80%; line-height: 1.1; }
.price-main .unit { font-size: 15px; font-weight: 600; color: var(--muted); font-stretch: 100%; }
.price-sub { font-size: 14px; color: var(--muted); margin: 2px 0 0; }

/* ---------- Page headers ---------- */
.page-head { background: var(--teal); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.page-head .head-text { padding: clamp(28px, 5vw, 64px) max(5vw, 16px); align-self: center; }
.page-head .lede { color: #d4e7e3; }
.page-head .slot { min-height: 260px; }
@media (max-width: 760px) { .page-head { grid-template-columns: minmax(0, 1fr); } .page-head .slot { order: -1; min-height: 0; aspect-ratio: 16 / 7; } }
.page-head-plain { background: var(--teal); color: #fff; }
.page-head-plain .wrap { padding-block: clamp(28px, 4vw, 52px); }
.page-head-plain .lede { color: #d4e7e3; }

/* ---------- Filters ---------- */
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 14px; margin-bottom: 22px; }
.filters fieldset { border: 0; margin: 0; padding: 0; }
.filters legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--teal-100); border-radius: 12px; padding: 4px; gap: 4px; width: 100%; max-width: 560px; }
.seg label, .chip { position: relative; }
.seg input, .chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 9px; font-weight: 700; font-size: 15.5px; padding: 0 10px; text-align: center; color: var(--teal-900); }
.seg input:checked + span { background: var(--teal); color: #fff; }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--teal-600); outline-offset: 2px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 14px 28px; }
#more-filters { display: none; }
@media (max-width: 760px) {
  #more-filters {
    display: flex;
    align-items: center;
    gap: .35em;
    min-height: 44px;
    padding: 4px;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: var(--teal-600);
    font: 700 15px var(--font);
    cursor: pointer;
  }
  #more-filters::after {
    content: "";
    width: 9px;
    height: 9px;
    margin: 0 6px 4px auto;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  #more-filters[aria-expanded="true"]::after { transform: rotate(225deg); margin-bottom: -4px; }
  #more-filters[aria-expanded="false"] + .filter-row { display: none; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.chip input:checked + span { background: var(--teal-900); color: #fff; border-color: var(--teal-900); }
.chip input[type=checkbox]:checked + span::before { content: "✓"; margin-right: 6px; }
.results-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.results-line p { margin: 0; font-weight: 600; }
.linkbtn { background: none; border: 0; color: var(--teal-600); font: 600 15px var(--font); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
.empty { background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }

/* ---------- Trip detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.detail-hero .slot { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-size: 13.5px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.detail-section { margin-top: 28px; }
.detail-section h2 { font-size: 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2.5px solid var(--teal-600); border-bottom: 2.5px solid var(--teal-600); transform: rotate(-45deg); }
.species { display: flex; flex-wrap: wrap; gap: 6px; }
.terms { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.terms p:last-child { margin: 0; }
.price-card { background: var(--teal-900); color: #fff; border-radius: var(--radius); padding: 22px; position: sticky; top: 84px; }
.price-card .price-main { font-size: 40px; }
.price-card .price-main .unit, .price-card .price-sub, .price-card .muted { color: #c4dcd7; }
.price-card hr { border: 0; border-top: 1px solid var(--line-dark); margin: 16px 0; }
.stepper { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: #fff; font: 700 22px var(--font); cursor: pointer; }
.stepper button:hover { background: rgba(255, 255, 255, .08); }
.stepper output { min-width: 3ch; text-align: center; font-size: 22px; font-weight: 800; }
.estimate { font-size: 18px; font-weight: 700; }
.warn { color: #f3dca2; font-size: 14.5px; }
.person-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; }
.person-card .slot { aspect-ratio: 1; border-radius: 50%; }
.dock-card { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 16px; align-items: start; }
.dock-card .slot { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.sticky-cta { display: none; }
.mobile-price { display: none; }
.person-card .slot-tag { display: none; }
@media (max-width: 900px) { .mobile-price { display: block; margin: 0 0 8px; } .mobile-price .price-main { font-size: 30px; } }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .price-card { position: static; }
  .sticky-cta { display: flex; position: sticky; bottom: 0; z-index: 15; background: var(--teal-950); color: #fff; padding: 10px max(16px, 5vw) calc(10px + env(safe-area-inset-bottom, 0px)); align-items: center; justify-content: space-between; gap: 12px; }
  .sticky-cta .price-main { font-size: 22px; }
}
@media (max-width: 520px) { .dock-card { grid-template-columns: minmax(0, 1fr); } .facts dd { font-size: 16px; } }

/* ---------- Conditions ---------- */
.cond-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 18px; }
.cond-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h2 { font-size: 24px; margin-bottom: 4px; }
.panel .src { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.tide-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.tide-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tide-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tide-table td.r, .tide-table th.r { text-align: right; }
.tide-table tr.next td { background: #f1f8d9; font-weight: 700; }
.tide-type { font-weight: 700; }
.tide-table tr.day th { background: var(--teal-100); color: var(--teal-900); font-size: 14px; font-weight: 700; padding: 6px 8px; }
.next-tag { display: inline-block; margin-left: 6px; font-size: 12.5px; font-weight: 700; background: var(--lime); color: var(--lime-ink); border-radius: 999px; padding: 1px 8px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(9em, 1fr)); gap: 12px; margin-top: 10px; }
.stat { border-left: 3px solid var(--teal-600); padding: 2px 0 2px 12px; }
.stat-label { font-size: 13.5px; color: var(--muted); display: block; }
.stat-value { font-size: 30px; font-weight: 800; font-stretch: 80%; line-height: 1.1; white-space: nowrap; }
.stat-unit { font-size: 15px; color: var(--muted); font-weight: 600; }
.forecast-text { margin: 14px 0 0; font-size: 15.5px; }
.caveat { background: var(--teal-100); border-radius: var(--radius); padding: 16px 18px; font-size: 15.5px; }
.caveat p:last-child { margin: 0; }
.notice { border-radius: var(--radius); padding: 18px 20px; }
.notice h2 { font-size: 22px; }
.notice p:last-child { margin-bottom: 0; }
.notice-unavailable { background: var(--coral-bg); color: #5a1b0f; border: 1px solid #efc1b5; }
.notice-stale { background: var(--ochre-bg); color: #4a3300; border: 1px solid #ecd59b; }
.is-stale .stat-value, .is-stale .tide-table td { color: #6b5a3a; }
.state-switch { font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border: 1.5px dashed var(--line); border-radius: 10px; margin-bottom: 18px; }
.state-switch a { padding: 8px 10px; border-radius: 8px; font-weight: 600; }
.state-switch a[aria-current=true] { background: var(--teal-900); color: #fff; text-decoration: none; }
.source-list { padding-left: 20px; margin: 0; }
.source-list li { margin-bottom: 6px; }
@media (max-width: 900px) { .cond-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Dock notes ---------- */
.notes { display: grid; gap: 16px; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); overflow: hidden; }
.note.no-photo { grid-template-columns: minmax(0, 1fr); }
.note .slot { aspect-ratio: 3 / 2; height: 100%; }
.note-body { padding: 16px 18px; }
.note-body h3 { margin-bottom: 6px; }
.note-meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
@media (max-width: 600px) { .note { grid-template-columns: minmax(0, 1fr); } .note .slot { height: auto; } }

/* ---------- Explore ---------- */
.river-routes, .lesson-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.river-route { background: var(--card); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.river-route h3 { margin-bottom: 4px; }
.river-route a, .lesson-guide a { font-weight: 650; }
.park-access { margin: 16px 0 0; }
.lesson-guide { align-items: start; gap: 0 30px; }
.lesson-guide details { border-top: 1px solid var(--line); }
.lesson-guide summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--teal-900); }
.lesson-guide summary span { display: block; margin-left: 1.2rem; font-weight: 450; }
.lesson-guide details > div { padding: 0 0 18px 1.2rem; }
.lesson-guide details p { margin-bottom: 6px; }
@media (max-width: 700px) { .river-routes, .lesson-guide { grid-template-columns: minmax(0, 1fr); } }
.explore-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.ex-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ex-card .slot { aspect-ratio: 4 / 5; }
.ex-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ex-body h3 { margin: 0; }
.depart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; font-size: 14.5px; padding: 10px 12px; background: var(--teal-100); border-radius: var(--radius-sm); margin: 4px 0; }
.depart dt { color: var(--muted); }
.depart dd { margin: 0; font-weight: 700; }
.ex-body .btn { margin-top: auto; align-self: flex-start; }
.home-explore { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-explore .ex-card .slot { aspect-ratio: 3 / 2; }
@media (max-width: 860px) { .home-explore { grid-template-columns: minmax(0, 1fr); } .home-explore .ex-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); } .home-explore .ex-card .slot { aspect-ratio: auto; height: 100%; } .home-explore .ex-body { padding: 12px 14px; } .home-explore .ex-body p { display: none; } .home-explore .slot-tag { display: none; } }

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: 15.5px; color: var(--muted); }
.band-dark .steps li { background: var(--teal-900); border-color: var(--line-dark); }
.band-dark .steps li::before { background: var(--lime); color: var(--lime-ink); }
.band-dark .steps p { color: #cfe3df; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 14px; padding: 16px; } .steps li::before { margin: 0; grid-row: span 2; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.form { display: grid; gap: 22px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 0; padding: 18px; display: grid; gap: 14px; }
.form legend { font-weight: 800; font-stretch: 85%; font-size: 19px; padding: 0 6px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); margin: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea { font: 400 16px var(--font); color: var(--ink); background: #fff; border: 1.5px solid #b9b0a0; border-radius: 10px; min-height: 48px; padding: 10px 12px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 1px; border-color: var(--teal-600); }
input:user-invalid, select:user-invalid { border-color: var(--coral); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--teal); }
.selected-trip { background: var(--teal-100); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 4px; }
.selected-trip strong { font-size: 18px; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 84px; }
.aside-card h2 { font-size: 22px; }
.preview-flag { background: var(--ochre-bg); color: #4a3300; border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.form-error { color: var(--coral); font-weight: 600; margin: 0; }
@media (max-width: 900px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .aside-card { position: static; } }
@media (max-width: 520px) { .two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Receipt ---------- */
.receipt { display: grid; gap: 20px; }
.ref-box { background: var(--teal-900); color: #fff; border-radius: var(--radius); padding: 22px; }
.ref-label { color: #b8d4cf; font-size: 14px; margin: 0; }
.ref-id { font-size: clamp(30px, 6vw, 46px); font-weight: 800; font-stretch: 80%; letter-spacing: .01em; margin: 2px 0 8px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.status-pending { display: inline-flex; gap: 8px; align-items: center; background: var(--lime); color: var(--lime-ink); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 14.5px; }
.summary { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; }
.summary dt { color: var(--muted); font-size: 15px; }
.summary dd { margin: 0; font-weight: 600; }
.handoff textarea { font: 400 15px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; min-height: 240px; background: #f6f3ec; }
.handoff-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.copy-status { font-size: 14.5px; font-weight: 600; color: var(--teal-600); }
@media (max-width: 520px) { .summary { grid-template-columns: minmax(0, 1fr); gap: 0; } .summary dd { margin-bottom: 10px; } }

/* ---------- Prose pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.draft-flag { display: inline-block; background: var(--ochre-bg); color: #4a3300; border-radius: 8px; padding: 6px 10px; font-weight: 700; font-size: 14.5px; margin-bottom: 14px; }

.scroll { overflow-x: auto; }
@media (max-width: 600px) {
  .stack thead { display: none; }
  .stack tr { display: grid; padding-block: 10px; border-bottom: 1px solid var(--line); }
  .stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 3px 0; white-space: normal; text-align: right; }
  .stack td::before { content: attr(data-l); color: var(--muted); font-size: 14px; text-align: left; }
  .stack td:first-child { font-weight: 700; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-950); color: #cfe3df; font-size: 15px; }
.site-footer .wrap { padding-block: 40px 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.site-footer h2 { font-size: 20px; color: #fff; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-base { border-top: 1px solid var(--line-dark); grid-column: 1 / -1; padding-top: 16px; font-size: 13.5px; color: #a9c9c3; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: no-preference) {
  .trip-card, .ex-card { transition: transform .18s ease, box-shadow .18s ease; }
  .trip-card:hover, .ex-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(3, 42, 45, .45); }
}
.charter-intro .head-text{padding-block:25px}.charter-id-link{display:inline-block;margin-top:6px;font-weight:650;color:inherit}.fish-pick{width:min(100%,420px);min-width:0}.fish-pick label,.target-control label{display:block;font-weight:700;margin-bottom:6px}.fish-pick select,.target-control select{font:inherit;background:white;color:var(--ink);border:1px solid #90a7a0;border-radius:7px;min-height:46px;padding:9px 10px;width:100%}.target-control{margin-bottom:16px}.target-control a{display:inline-block;font-size:.88rem;margin-top:8px}.fish-pick a{font-size:.85rem}.fish-empty-links{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
@media(max-width:759px){.charter-intro .slot{display:none}.charter-intro .head-text{padding-block:22px}.charter-intro .lede{margin-bottom:8px}.charter-intro h1{margin-bottom:4px}}
.family-mark{width:53px;height:53px;object-fit:contain;flex:none}.family-band{background:#e5ebe0}.family-promo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,6vw,74px)}.family-promo img{display:block;width:100%;height:clamp(220px,26vw,365px);object-fit:cover;border-radius:8px}.family-promo h2{margin:0 0 12px}.family-promo p{max-width:52ch}.family-eyebrow{font-size:.83rem;letter-spacing:.05em;font-weight:650;margin:0 0 10px}.family-header{color:white;background:#163f41;padding:clamp(33px,5vw,65px) 0}.family-header .wrap{display:flex;align-items:center;gap:clamp(20px,4vw,52px)}.family-header img{width:clamp(98px,12vw,154px);height:auto}.family-header h1{font-size:clamp(2.4rem,6vw,5rem);line-height:1;letter-spacing:-.045em;margin:0 0 12px}.family-header p:last-child{max-width:58ch;margin:0}.family-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.family-gallery figure{margin:0}.family-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:6px}.family-gallery figcaption{font-size:.88rem;color:var(--muted);margin-top:5px}.tournament img{height:clamp(280px,34vw,420px);object-fit:contain}.tournament{grid-template-columns:.85fr 1.15fr}
@media(min-width:760px){.hero{display:grid;grid-template-columns:minmax(320px,42%) 1fr;align-items:stretch}.hero-title{position:static;grid-row:1;grid-column:1;width:auto;max-width:none;align-self:center;padding:clamp(24px,4vw,65px);border-radius:0;background:transparent}.hero .slot{grid-row:1;grid-column:2;height:clamp(360px,38vw,540px)}.hero-title h1{font-size:clamp(2.75rem,4.6vw,5rem);line-height:1}.hero-title .hero-actions{gap:8px}}
@media(max-width:680px){.family-promo,.family-gallery,.tournament{grid-template-columns:1fr}.family-header .wrap{align-items:flex-start}.family-header img{width:76px}.family-gallery{gap:20px}.family-promo img{height:auto;max-height:320px}.family-mark{width:44px;height:44px}}

/* Secondary reading and planning pages */
.more-nav{position:relative;align-self:center;color:white;font-weight:600}
.more-nav summary{cursor:pointer;padding:10px 12px;font-size:15.5px}
.more-nav>div{position:absolute;right:0;top:100%;z-index:3;width:235px;padding:6px;background:var(--teal-900);border-radius:8px;box-shadow:0 8px 22px #032b2d40}
.more-nav a{display:block}
.fleet-options{padding:0;margin:0;list-style:none}
.fleet-options li{border-top:1px solid var(--line);padding:10px 0}
.fleet-options a{font-weight:700}.fleet-options span{display:block;color:var(--muted);font-size:15px}
.fleet-card .trip-body>p{margin:0}.fleet-card summary{cursor:pointer;color:var(--teal);font-weight:650}
.fleet-card .slot{flex-shrink:0}.fleet-card details{margin-top:auto}
.crossing-card .btn{white-space:normal}
.note .slot[data-slot="note-2"]{align-self:center;height:auto;aspect-ratio:3/2;width:100%}
.note [data-slot="note-2"] img,.person-card [data-slot="captain-b"] img{object-fit:contain}
.person-card [data-slot="captain-b"]{border-radius:10px}
.person-card [data-slot="captain-b"] .slot-credit{position:static}
.trip-body,.note-body,.person-card>div{min-width:0;overflow-wrap:break-word}
@media(max-width:1000px){.more-nav{align-self:stretch}.more-nav>div{position:static;width:auto;box-shadow:none}.more-nav summary{padding:12px 6px}}

.filters [hidden]{display:none}

.fleet-option{display:flex;gap:10px;align-items:center}.fleet-option img{width:60px;height:46px;object-fit:cover;border-radius:5px}.fleet-option>div{min-width:0}

.note { container-type: inline-size; }
.note .slot[data-slot] { width:100%; height:auto; align-self:center; aspect-ratio:auto; display:grid; }
.note .slot > :is(img,svg,picture) { position:static; width:100%; height:auto; aspect-ratio:3/2; }
.note .slot figcaption { position:static; white-space:normal; overflow-wrap:anywhere; border-radius:0; padding:.35rem .65rem; }
@container (max-width: 440px) {
  .note > .slot, .note > .note-body { grid-column:1 / -1; }
}

.family-photo-album {margin-bottom:2rem;align-items:center}
.family-photo-album a {display:block}
.family-photo-album img {display:block;object-fit:contain;background:#f3f1ea}
