/* ==========================================================================
   Pacific Coast Surf Camp — Bolinas, California
   Design language: "Tideline" — sand paper, deep-ocean ink, sea-glass teal,
   generous radii, wave-cut section edges, oversized geometric display type.
   ========================================================================== */

:root {
  --sand: #FAF7EA;
  --sand-2: #F0EBD6;
  --shell-white: #FFFFFF;
  --deep: #0C3428;
  --deep-2: #14493A;
  --sea: #1C7A62;
  --sea-lite: #E2EFE9;
  --coral: #EBD84F;
  --coral-lite: #FBF6D8;
  --ink: #16302A;
  --ink-2: #47635A;
  --ink-3: #7E948B;
  --line: #E5DCC4;
  --line-2: #F0E9D6;

  --wrap: 1200px;
  --gap: 24px;
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-pill: 999px;

  --f-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--f-body); font-size: 16.5px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.14; letter-spacing: -.028em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.018em; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-lg { width: min(100% - 40px, 1360px); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--sea); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 6px; }

/* ---------- badge: the signature label ----------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--sea-lite); color: var(--sea);
  border-radius: var(--r-pill); padding: 8px 18px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.badge svg { width: 15px; height: 15px; }
.badge--sand { background: rgba(255,255,255,.14); color: #CFE6D8; }
.badge--coral { background: var(--coral-lite); color: #7A6A10; }

/* ---------- buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: var(--r-pill); font-weight: 600; font-size: .97rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-family: var(--f-body); white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sea { background: var(--sea); color: #fff; box-shadow: 0 10px 28px -12px rgba(28,122,98,.75); }
.btn-sea:hover { background: #14624E; transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #12291F; box-shadow: 0 10px 28px -12px rgba(198,180,50,.75); }
.btn-coral:hover { background: #DCC93E; transform: translateY(-2px); }
.btn-line { border-color: var(--deep); color: var(--deep); }
.btn-line:hover { background: var(--deep); color: #fff; transform: translateY(-2px); }
.btn-line-sand { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-line-sand:hover { background: #fff; color: var(--deep); }
.btn-sm { padding: 11px 21px; font-size: .88rem; }

/* ---------- header ------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.util { background: var(--deep); color: #A9C8B7; font-size: .82rem; }
.util-in { display: flex; align-items: center; gap: 24px; min-height: 40px; flex-wrap: wrap; }
.util a { text-decoration: none; }
.util a:hover { color: #fff; }
.util-cell { display: inline-flex; align-items: center; gap: 7px; }
.util-cell svg { width: 14px; height: 14px; color: #7FD8A9; }
.util-right { margin-left: auto; display: inline-flex; gap: 20px; align-items: center; }
@media (max-width: 880px) { .util-hide { display: none; } }

/* HEADER SHAPE — a detached pill floating over the page */
.bar { background: transparent; border-bottom: 0; padding-bottom: 12px; }
.bar-in {
  display: flex; align-items: center; gap: 26px; min-height: 66px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 10px 6px 24px; margin-top: 12px;
  box-shadow: 0 16px 38px -20px rgba(12,52,40,.45);
}
.brand { flex: none; text-decoration: none; }
.brand img { height: 36px; width: auto; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 3px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); padding: 10px 16px; border-radius: var(--r-pill); display: block; transition: background .16s ease, color .16s ease; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sea-lite); color: var(--sea); }

.has-sub { position: relative; display: flex; align-items: center; }
.sub-btn { background: none; border: 0; color: var(--ink-3); padding: 4px; cursor: pointer; line-height: 0; margin-left: -10px; }
.sub-btn svg { width: 15px; height: 15px; transition: transform .2s ease; }
.has-sub.is-open .sub-btn svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 280px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px; list-style: none; margin: 0;
  box-shadow: 0 26px 56px -26px rgba(12,52,40,.42);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-size: .9rem; padding: 11px 14px; border-radius: 12px; }
.sub-all { color: var(--sea) !important; border-top: 1px solid var(--line-2); margin-top: 6px; border-radius: 0 !important; }

.bar-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.burger { display: none; width: 44px; height: 44px; border: 2px solid var(--deep); border-radius: 14px; background: none; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.site-header.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .burger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .burger { display: flex; }
  .bar-cta .btn { display: none; }
  .bar-in { padding-right: 6px; }
  .nav { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 18px 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: 0 20px 44px -22px rgba(12,52,40,.4); z-index: 5; }
  .site-header.nav-open .nav { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 14px 14px; font-size: 1rem; border-radius: 14px; }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; box-shadow: none; border: 0; background: var(--sand); margin: 4px 0 8px; }
  .has-sub.is-open .sub { display: block; }
}

/* ---------- sections & wave edges ---------------------------------------- */
.sec { padding: clamp(66px, 8vw, 116px) 0; position: relative; }
.sec--tight { padding: clamp(46px, 5.5vw, 74px) 0; }
.sec--shell { background: var(--shell-white); }
.sec--sand2 { background: var(--sand-2); }
.sec--deep { background: var(--deep); color: #D2E5DA; }
.sec--deep h2, .sec--deep h3 { color: #fff; }

/* a curved top edge, used to separate bands organically */
.wave-top { position: relative; }
.wave-top::before {
  content: ""; position: absolute; top: 1px; left: 0; right: 0; height: 88px;
  background: inherit;
  -webkit-mask: radial-gradient(62% 100% at 50% 100%, #000 99.5%, transparent 100%);
  mask: radial-gradient(62% 100% at 50% 100%, #000 99.5%, transparent 100%);
  transform: translateY(-88px);
  pointer-events: none;
}
@media (max-width: 760px) { .wave-top::before { height: 46px; transform: translateY(-46px); } }

.sec-head { max-width: 680px; margin-bottom: clamp(36px, 4.4vw, 58px); }
.sec-head h2 { margin: 18px 0 0; }
.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; }
.sec--deep .sec-head p { color: #A8C6B5; }
.sec-head--row { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.sec-head--row > div { max-width: 680px; }
@media (max-width: 820px) { .sec-head--row { grid-template-columns: 1fr; align-items: start; } }

/* ---------- HERO --------------------------------------------------------- */
.hero { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 6.5vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -300px;
  background: radial-gradient(closest-side, rgba(28,122,98,.15), transparent 70%);
  border-radius: 50%;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(32px, 4.5vw, 66px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin: 22px 0 0; }
.hero h1 em { font-style: normal; color: var(--sea); }
.hero-lede { margin-top: 22px; font-size: 1.12rem; color: var(--ink-2); max-width: 40ch; }
.hero-act { margin-top: 34px; display: flex; gap: 13px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: .88rem; color: var(--ink-3); display: flex; align-items: center; gap: 9px; }
.hero-note svg { width: 16px; height: 16px; color: var(--sea); }

.hero-vis { position: relative; }
.hero-vis > img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 200px 200px var(--r-xl) var(--r-xl); }
.hero-float {
  position: absolute; background: #fff; border-radius: var(--r-lg); padding: 18px 22px;
  box-shadow: 0 24px 48px -22px rgba(12,52,40,.4); display: flex; align-items: center; gap: 14px;
}
.hero-float .hf-ico { width: 42px; height: 42px; border-radius: 14px; background: var(--sea-lite); color: var(--sea); display: grid; place-items: center; flex: none; }
.hero-float .hf-ico svg { width: 20px; height: 20px; }
.hero-float .hf-k { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.hero-float .hf-l { display: block; font-size: .78rem; color: var(--ink-3); margin-top: 2px; }
.hero-float--a { left: -30px; bottom: 78px; }
.hero-float--b { right: -22px; top: 60px; }
@media (max-width: 1140px) { .hero-float--a { left: 10px; } .hero-float--b { right: 8px; } }
@media (max-width: 560px) { .hero-float { display: none; } }

/* ---------- conditions board (signature module) -------------------------- */
.board {
  background: var(--deep); color: #fff; border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 38px); display: grid;
  grid-template-columns: auto repeat(4, 1fr); gap: 28px; align-items: center;
}
.board-lab { display: flex; flex-direction: column; gap: 6px; padding-right: 28px; border-right: 1px solid rgba(255,255,255,.16); }
.board-lab .bl-k { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; }
.board-lab .bl-s { font-size: .8rem; color: #8FB69E; }
.board-cell .bc-v { font-family: var(--f-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; color: #7FD8A9; line-height: 1.2; }
.board-cell .bc-l { font-size: .8rem; color: #9BC0AA; margin-top: 4px; }
@media (max-width: 900px) {
  .board { grid-template-columns: repeat(2, 1fr); }
  .board-lab { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); padding: 0 0 20px; }
}

/* ---------- program cards ------------------------------------------------ */
.progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.prog {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; border: 1px solid var(--line-2);
  transition: transform .22s ease, box-shadow .22s ease;
}
.prog:hover { transform: translateY(-5px); box-shadow: 0 30px 54px -30px rgba(12,52,40,.4); }
.prog-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.prog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.prog:hover .prog-img img { transform: scale(1.06); }
.prog-level { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.94); color: var(--deep); border-radius: var(--r-pill); padding: 6px 14px; font-size: .78rem; font-weight: 600; }
.prog-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.prog h3 { margin-bottom: 10px; }
.prog p { color: var(--ink-2); font-size: .94rem; margin: 0 0 20px; }
.prog-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.prog-meta { font-size: .85rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 7px; }
.prog-meta svg { width: 15px; height: 15px; color: var(--sea); }
.prog-go { color: var(--sea); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 7px; }
.prog-go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.prog:hover .prog-go svg { transform: translateX(4px); }

.prog--wide { grid-column: span 2; }
.prog--wide .prog-img { aspect-ratio: 21 / 9; }
@media (max-width: 980px) { .progs { grid-template-columns: repeat(2, 1fr); } .prog--wide { grid-column: span 2; } }
@media (max-width: 680px) { .progs { grid-template-columns: 1fr; } .prog--wide { grid-column: span 1; } }

/* ---------- day rhythm (timeline) ---------------------------------------- */
.rhythm { display: grid; gap: 0; max-width: 860px; }
.rhythm-row {
  display: grid; grid-template-columns: 118px 1fr; gap: 28px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line);
  position: relative;
}
.rhythm-row:last-child { border-bottom: 1px solid var(--line); }
.rhythm-time { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--sea); padding-top: 2px; }
.rhythm-row h3 { font-size: 1.12rem; margin-bottom: 8px; }
.rhythm-row p { color: var(--ink-2); font-size: .95rem; margin: 0; }
@media (max-width: 620px) { .rhythm-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- split -------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 68px); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 15px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: .97rem; }
.ticks .tk { width: 26px; height: 26px; border-radius: 50%; background: var(--sea-lite); color: var(--sea); display: grid; place-items: center; flex: none; margin-top: 2px; }
.ticks .tk svg { width: 15px; height: 15px; }
.ticks b { color: var(--ink); }
.sec--deep .ticks li { color: #B6D3C2; }
.sec--deep .ticks b { color: #fff; }
.sec--deep .ticks .tk { background: rgba(127,216,169,.18); color: #7FD8A9; }

/* ---------- stats -------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat { background: #fff; border-radius: var(--r-lg); padding: 30px 28px; border: 1px solid var(--line-2); }
.sec--deep .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.stat .n { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 700; color: var(--sea); line-height: 1; }
.sec--deep .stat .n { color: #7FD8A9; }
.stat .t { margin-top: 10px; color: var(--ink-2); font-size: .9rem; }
.sec--deep .stat .t { color: #A8C6B5; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* ---------- coach cards -------------------------------------------------- */
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.coach { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; }
.coach-av { width: 62px; height: 62px; border-radius: 50%; background: var(--sea); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
.coach h3 { font-size: 1.12rem; }
.coach .role { color: var(--sea); font-size: .85rem; font-weight: 600; margin: 4px 0 12px; }
.coach p { color: var(--ink-2); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .crew { grid-template-columns: 1fr; } }

/* ---------- quotes ------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote { background: #fff; border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line-2); }
.quote-stars { color: #C79A16; letter-spacing: 3px; font-size: .95rem; margin-bottom: 14px; }
.quote blockquote { margin: 0; }
.quote p { font-size: 1rem; line-height: 1.72; }
.quote footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: .87rem; color: var(--ink-3); }
.quote footer b { color: var(--ink); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- journal cards ------------------------------------------------ */
.logs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.log { text-decoration: none; display: flex; flex-direction: column; }
.log-img { overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 10; margin-bottom: 20px; }
.log-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.log:hover .log-img img { transform: scale(1.05); }
.log-meta { font-size: .8rem; font-weight: 600; color: var(--sea); letter-spacing: .04em; }
.log h3 { margin: 10px 0 8px; font-size: 1.18rem; }
.log:hover h3 { color: var(--sea); }
.log p { color: var(--ink-2); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .logs { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { display: grid; gap: 14px; max-width: 900px; }
.faq details { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; }
.faq details[open] { border-color: var(--sea); }
.faq summary { cursor: pointer; padding: 21px 58px 21px 26px; font-weight: 600; font-size: 1.02rem; position: relative; list-style: none; font-family: var(--f-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px;
  border-right: 2.4px solid var(--sea); border-bottom: 2.4px solid var(--sea);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 26px 24px; color: var(--ink-2); font-size: .96rem; }

/* ---------- CTA ---------------------------------------------------------- */
.cta {
  background: var(--deep); color: #fff; border-radius: var(--r-xl);
  padding: clamp(40px, 5.5vw, 74px); position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -90px; bottom: -130px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(127,216,169,.22), transparent 72%);
}
.cta-in { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #A8C6B5; margin: 14px 0 0; max-width: 50ch; }
.cta-act { display: flex; gap: 13px; flex-wrap: wrap; }
@media (max-width: 880px) { .cta-in { grid-template-columns: 1fr; } }

/* ---------- page header -------------------------------------------------- */
.ph { padding: clamp(44px, 5.5vw, 80px) 0 clamp(32px, 4vw, 54px); position: relative; overflow: hidden; }
.ph::before { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(28,122,98,.14), transparent 70%); }
.ph .wrap { position: relative; }
.ph--deep { background: var(--deep); color: #fff; }
.ph--deep .crumbs, .ph--deep .crumbs a { color: #8FB69E; }
.ph--deep .ph-lede { color: #B6D3C2; }
.crumbs { font-size: .84rem; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sea); }
.crumbs span { margin: 0 8px; opacity: .5; }
.ph h1 { max-width: 18ch; margin-top: 20px; }
.ph-lede { margin-top: 20px; color: var(--ink-2); font-size: 1.08rem; max-width: 60ch; }

/* ---------- doc ---------------------------------------------------------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 4vw, 60px); align-items: start; }
@media (max-width: 1000px) { .doc { grid-template-columns: 1fr; } }

.rail-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; margin-bottom: 20px; }
.rail-card h3 { font-size: 1.08rem; margin-bottom: 16px; }
.rail-card p { font-size: .92rem; color: var(--ink-2); }
.rail-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.rail-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; padding: 11px 14px; border-radius: 12px; font-size: .92rem; color: var(--ink-2); }
.rail-links a:hover, .rail-links a.is-on { background: var(--sea-lite); color: var(--sea); }
.rail-links svg { width: 15px; height: 15px; }
.rail-sticky { position: sticky; top: calc(var(--header-h) + 22px); }

.factlist { list-style: none; margin: 0; padding: 0; }
.factlist li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.factlist li:last-child { border-bottom: 0; }
.factlist .fk { color: var(--ink-3); }
.factlist .fv { font-weight: 600; text-align: right; }

/* ---------- prose -------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; }
.prose p { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--ink-2); display: grid; gap: 10px; }
.prose li::marker { color: var(--sea); }
.prose strong { color: var(--ink); }
.prose a { color: var(--sea); text-underline-offset: 3px; }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; border-radius: var(--r-lg); }
.prose figcaption { margin-top: 12px; font-size: .84rem; color: var(--ink-3); }
.prose blockquote {
  margin: 2.2em 0; padding: 26px 30px; background: var(--sea-lite);
  border-radius: var(--r-md); font-family: var(--f-display); font-size: 1.16rem;
  line-height: 1.55; color: var(--deep); font-weight: 500;
}
.prose blockquote p:last-child { margin: 0; }
.callout { background: var(--coral-lite); border-radius: var(--r-md); padding: 24px 28px; margin: 2.2em 0; }
.callout h3 { font-size: 1.04rem; margin-bottom: 8px; color: #6F6110; }
.callout p { margin: 0; font-size: .95rem; color: #4C4A2C; }

/* ---------- forms -------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  background: var(--sand); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 16px; font: inherit; font-size: .95rem; color: var(--ink); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-lite); }
.form-note { font-size: .84rem; color: var(--ink-3); margin-top: 16px; }
.form-status { margin-top: 16px; font-size: .93rem; color: var(--sea); font-weight: 600; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ------------------------------------------------------- */
.site-footer { background: var(--deep); color: #A8C6B5; padding: clamp(56px, 6vw, 88px) 0 0; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 50px; }
.foot-brand img { height: 42px; width: auto; margin-bottom: 22px; }
.foot-brand p { font-size: .93rem; max-width: 34ch; }
.foot-col h4 { color: #fff; font-family: var(--f-display); font-size: 1rem; margin-bottom: 18px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { text-decoration: none; font-size: .93rem; }
.foot-col a:hover { color: #7FD8A9; }
.foot-contact { display: grid; gap: 14px; }
.foot-contact div { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; }
.foot-contact svg { width: 16px; height: 16px; color: #7FD8A9; flex: none; margin-top: 4px; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { color: #fff; }
.foot-bot { border-top: 1px solid rgba(255,255,255,.13); padding: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; font-size: .85rem; color: #7FA78D; }
.foot-bot nav { margin-left: auto; display: flex; gap: 22px; }
.foot-bot a { text-decoration: none; }
.foot-bot a:hover { color: #fff; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; gap: 32px; } .foot-bot nav { margin-left: 0; } }

/* ---------- cookie ------------------------------------------------------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 780px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 24px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 30px 64px -28px rgba(12,52,40,.45);
}
.cookie p { margin: 0; font-size: .89rem; color: var(--ink-2); flex: 1; min-width: 240px; }
.cookie-act { display: flex; gap: 10px; }


/* last card of a 5-item index grid spans the spare column so no cell is left empty */
.log--fill { grid-column: span 2; }
.log--fill .log-img { aspect-ratio: 21 / 9; }
@media (max-width: 900px) { .log--fill { grid-column: auto; } .log--fill .log-img { aspect-ratio: 16 / 10; } }

/* ---------- reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--ink-2); }
.mt0 { margin-top: 0 !important; }
