/* ============================================================
   Fishing with Manny: client CSS (kit base.css stays untouched).
   1. Kit overrides (type, header, buttons)
   2. Hero "The bite": finished frame first (no scroll timelines / reduced motion), then the live
      scroll-scrubbed story inside @supports (animation-timeline: view()).
   3. Sessions (tackle packs on a pegboard), band, spots + tides, triptych, about, book, footer
   ============================================================ */

/* ---------- 1. Kit overrides ---------- */
body { font-size: 17px; font-stretch: 100%; }
h1, h2, h3 { font-weight: 800; font-stretch: 112%; letter-spacing: var(--display-tracking); }
.btn { text-transform: none; letter-spacing: .005em; font-size: 15.5px; font-weight: 700; padding: 14px 22px; }
.btn-accent:hover { transform: none; }
.site-header { background: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--hivis) 22%, transparent); backdrop-filter: none; }
.brand-name { font-weight: 800; font-stretch: 118%; font-size: 21px; letter-spacing: -.01em; color: var(--hivis); }
.brand-sub { letter-spacing: .08em; text-transform: none; font-size: 12px; margin-top: 5px; }
.nav { gap: 26px; }
.nav a { text-transform: none; letter-spacing: .01em; font-size: 15px; font-weight: 600; }
.nav a[href="#book"] { background: var(--hivis); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); border-bottom: 0; }
.nav a[href="#book"]:hover { background: var(--accent-hover); color: var(--ink); }
@media (max-width: 440px) { .site-header .brand-name { font-size: 19px; } .brand-sub { font-size: 11px; } }
@media (max-width: 820px) { .nav a[href="#book"] { margin-top: 14px; text-align: center; padding: 15px; border-bottom: 0; } }
section { padding: 100px 0; }
@media (max-width: 700px) { section { padding: 72px 0; } }

/* ---------- 2. Hero: finished frame (default) ---------- */
.bite { position: relative; background: var(--night); color: var(--on-dark); --sh: calc(100svh - var(--header-h)); }
@media (max-width: 899px) { .bite { background: #0e100e; } }
@media (max-width: 640px) { .bite { --sh: calc(100svh - var(--header-h) - 54px); } } /* the kit's fixed Call + Text bar (52px + our 2px top edge) would cover the story's bottom */ /* shows under the svh stage when iOS Safari's toolbar collapses: match the scrimmed bottom */
.bite-stage { position: relative; height: var(--sh); min-height: 540px; display: grid; grid-template-columns: 48fr 52fr; overflow: hidden; }
.bite-panel { position: relative; isolation: isolate; container-type: inline-size; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4.2vw, 68px); --focus: var(--focus-on-light); }
.bite-panel-bg, .bite-panel-bg span { position: absolute; inset: 0; z-index: -1; }
.bg-night { background: var(--night); }
.bg-hivis { background: var(--hivis); }
.bite-flash { display: none; }
.bite-copy { color: var(--ink); min-width: 0; }
.bite-log { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(14px, 2.4svh, 24px); font-size: 15px; font-weight: 650; font-stretch: 92%; line-height: 1.2; color: var(--ink); }
.bell { width: 21px; height: 21px; flex: none; transform-origin: 50% 14%; }
.bell.ring { animation: ring 1.3s cubic-bezier(.3, .6, .4, 1); }
@keyframes ring {
  0% { transform: rotate(0); } 8% { transform: rotate(26deg); } 18% { transform: rotate(-24deg); } 28% { transform: rotate(20deg); }
  38% { transform: rotate(-16deg); } 50% { transform: rotate(11deg); } 62% { transform: rotate(-7deg); } 76% { transform: rotate(3deg); } 100% { transform: rotate(0); }
}
.log-lines { display: grid; }
.log-lines > span { grid-area: 1 / 1; }
.log-lines > span:not(.l6) { opacity: 0; }
.bite-title { margin: 0; font-size: min(14.2cqi, 12.5svh); line-height: .93; font-weight: 820; font-stretch: 125%; letter-spacing: -.025em; }
.bite-title span { display: block; }
.bite-lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 31ch; margin: clamp(16px, 3svh, 28px) 0 clamp(18px, 3.2svh, 30px); }
.bite-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bite-btn { background: var(--ink); color: var(--hivis); }
.bite-btn:hover { background: #000; }
.bite-ghost { border: 2px solid var(--ink); color: var(--ink); }
.bite-ghost:hover { background: var(--ink); color: var(--hivis); }
.bite-cue { display: none; }
/* isolation: the scene's z-indexes (day photo 10, scrim 11, splash 12) stay inside the window, under the phone copy */
.bite-window { position: relative; isolation: isolate; container-type: size; overflow: hidden; background: linear-gradient(#2b2c30, var(--fog) 70%); }
.bite-scene, .sc-splash, .sc-white { display: none; }
.sc-day { position: absolute; inset: 0; margin: 0; z-index: 10; }
.sc-day img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sc-day figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 13px; border-radius: 99px; font-size: 13.5px; font-weight: 650; background: rgba(18, 19, 17, .78); color: var(--on-dark); }

/* Phones and portrait tablets: the story fills the stage and the copy sits over it */
@media (max-width: 899px) {
  .bite-stage { grid-template-columns: 1fr; }
  .bite-window, .bite-panel { grid-area: 1 / 1; }
  .bite-panel { z-index: 2; justify-content: stretch; padding: 16px 20px 22px; pointer-events: none; --focus: var(--focus-on-dark); }
  .bite-panel a { pointer-events: auto; }
  .bite-panel-bg { display: none; }
  .bite-copy { display: flex; flex-direction: column; height: 100%; color: var(--on-dark); }
  /* the pill keeps the small hi-vis line at 4.5:1 over the bright daylight photo (measured with contrast_snap) */
  .bite-log { width: fit-content; color: var(--hivis); font-size: 14px; margin: 0 0 10px -8px; padding: 5px 12px 5px 8px; border-radius: 99px; background: rgba(10, 11, 10, .62); }
  .bite-title { font-size: min(14.2cqi, 9.4svh); text-shadow: 0 2px 22px rgba(0, 0, 0, .35); }
  .bite-more { margin-top: auto; }
  .bite-lede { font-size: 16.5px; max-width: 34ch; margin: 0 0 14px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
  .bite-btn { background: var(--hivis); color: var(--ink); }
  .bite-btn:hover { background: var(--accent-hover); }
  .bite-ghost { color: var(--on-dark); border-color: rgba(242, 239, 230, .62); background: rgba(18, 19, 17, .35); }
  .bite-ghost:hover { background: var(--ink); color: var(--hivis); border-color: var(--ink); }
  .bite-actions .btn { padding: 12px 18px; font-size: 15px; }
  .sc-day figcaption { display: none; }
  /* scrims: title on top, buttons at the bottom, over every frame of the story */
  .bite-window::after { content: ""; position: absolute; inset: 0; z-index: 11; pointer-events: none;
    background: linear-gradient(to bottom, rgba(10, 11, 10, .74), rgba(10, 11, 10, .4) 22%, rgba(10, 11, 10, 0) 36%, rgba(10, 11, 10, 0) 50%, rgba(10, 11, 10, .82)); }
}

/* ---------- 2b. Hero: the live story ----------
   Progress p = the hero's "contain" range: 0 when it pins, 1 when it lets go. Keyframe percentages ARE p.
     0–8    night at Rio Vista; the rig hangs from Manny's real rod tip (photo 6: tip at 60.9%, 30.2%)
     8–34   the sinker drops; the camera follows it to the bottom; silt puff on landing
     43–52  a striper glides in and takes the bait (52 = the bite: panel flips hi-vis, bell rings via bite.js)
     62–86  reeled up toward a brightening surface
     86–92  splash, then daylight: Manny's striper (photo 11)
   Scene units are cqw of .bite-window: the photo is 100 wide × 133.333 tall; water from 133.333 to 283.333. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .bite { height: 420svh; view-timeline: --bite block; view-timeline-inset: 0; }
    .bite-stage { position: sticky; top: var(--header-h); }

    .bite-scene, .sc-photo, .sc-nibble, .sc-line, .sc-rig, .sc-silt, .sc-fish, .sc-bubbles, .sc-dawn, .sc-specks,
    .sc-splash, .sc-white, .sc-day, .sc-day figcaption, .bg-hivis, .log-lines > span, .bite-cue, .bite-flash, .bite-more,
    .sc-rig .leader-slack, .sc-rig .leader-taut, .sc-rig .bait, .bite-copy, .bite-log, .bite-btn, .bite-ghost {
      animation-duration: auto; animation-timing-function: linear; animation-fill-mode: both; animation-iteration-count: 1;
      animation-timeline: --bite; animation-range: contain 0% contain 100%;
    }

    .bite-scene { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 283.333cqw; z-index: 1; animation-name: cam; will-change: transform; }
    /* the fade starts below the water layer's top edge (123.333cqw = 92.5% of the photo), so no light seam shows */
    .sc-photo { position: absolute; left: 0; top: 0; width: 100%; height: 133.333cqw; object-fit: cover; z-index: 2;
      -webkit-mask-image: linear-gradient(#000 93.5%, transparent); mask-image: linear-gradient(#000 93.5%, transparent); }
    .sc-under { position: absolute; left: 0; top: 123.333cqw; width: 100%; height: 160cqw; z-index: 1; overflow: hidden;
      background: linear-gradient(#352413 0%, #3d3626 3.5%, #4b5340 6.25%, #3b4331 13%, #283023 36%, #1a2017 66%, #10130e 100%); }
    .sc-under-art { position: absolute; inset: 0; width: 100%; height: 100%; }
    .sc-specks { position: absolute; left: 0; right: 0; top: 8cqw; height: 190cqw; animation-name: specks;
      background-image: url("../img/specks.svg"), url("../img/specks.svg");
      background-size: 320px 320px, 470px 470px; background-position: 0 0, 137px 211px; }
    .sc-dawn { position: absolute; left: 0; right: 0; top: 10cqw; height: 70cqw; animation-name: dawn;
      background: linear-gradient(rgba(214, 236, 222, .92), rgba(170, 206, 186, .42) 30%, rgba(120, 160, 140, 0) 100%); }

    .sc-nibble { display: block; position: absolute; left: 55cqw; top: 47.2cqw; width: 7cqw; height: 4cqw; translate: -50% -50%; z-index: 4; animation-name: early; }
    .sc-nibble i { position: absolute; top: 0; width: 1.8cqw; height: 4cqw; border: max(1.5px, .28cqw) solid transparent; border-radius: 50%; opacity: 0; animation: nib 3.6s ease-out infinite; }
    .sc-nibble i:first-child { left: 0; border-left-color: #c8ff3c; }
    .sc-nibble i:last-child { right: 0; border-right-color: #c8ff3c; }
    @keyframes nib { 0%, 62% { opacity: 0; transform: scale(.7); } 66% { opacity: 1; transform: scale(1); } 72% { opacity: 0; transform: scale(1.35); }
      76% { opacity: 0; transform: scale(.7); } 79% { opacity: .9; transform: scale(1); } 86%, 100% { opacity: 0; transform: scale(1.35); } }

    .sc-line { display: block; position: absolute; left: 60.9cqw; top: 40.3cqw; width: max(1.3px, .2cqw); height: 214.7cqw; translate: -50% 0; transform-origin: 50% 0; z-index: 5; opacity: .82;
      background: linear-gradient(#f1eee6, #e2e1d8 30%, #c8cfbd 62%, #b7c0aa); animation-name: line; }
    .sc-rig { display: block; position: absolute; left: 55.9cqw; top: 255cqw; width: 20cqw; height: 20cqw; overflow: visible; z-index: 6; animation-name: rig; }
    .sc-rig .leader-slack { animation-name: slack; }
    .sc-rig .leader-taut { animation-name: taut; }
    .sc-rig .bait { animation-name: bait; }
    .sc-silt { display: block; position: absolute; left: 60.9cqw; top: 273.5cqw; width: 26cqw; height: 7cqw; translate: -50% -62%; border-radius: 50%; z-index: 5;
      background: radial-gradient(closest-side, rgba(128, 114, 84, .6), rgba(128, 114, 84, 0)); animation-name: silt; }

    .sc-fish { display: block; position: absolute; left: 15.64cqw; top: 253.33cqw; width: 58cqw; height: 19.33cqw; transform-origin: 97% 50%; z-index: 7; animation-name: fish; }
    .sc-fish svg { display: block; width: 100%; height: 100%; overflow: visible; }
    .fish-tail { transform-box: fill-box; transform-origin: 100% 50%; }
    .bite.is-fish .fish-tail { animation: tail .7s ease-in-out infinite alternate; }
    @keyframes tail { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }

    .sc-bubbles { display: block; position: absolute; left: 70cqw; top: 252cqw; width: 6cqw; height: 18cqw; z-index: 8; animation-name: bubbles; }
    .sc-bubbles i { position: absolute; bottom: 0; width: 1.2cqw; height: 1.2cqw; border-radius: 50%; border: max(1px, .16cqw) solid rgba(232, 240, 226, .75); opacity: 0; }
    .sc-bubbles i:nth-child(2) { left: 2cqw; width: .8cqw; height: .8cqw; }
    .sc-bubbles i:nth-child(3) { left: 3.6cqw; }
    .sc-bubbles i:nth-child(4) { left: 1cqw; width: .7cqw; height: .7cqw; }
    .bite.is-fish .sc-bubbles i { animation: rise 1.7s linear infinite; }
    .bite.is-fish .sc-bubbles i:nth-child(2) { animation-delay: .45s; }
    .bite.is-fish .sc-bubbles i:nth-child(3) { animation-delay: .9s; }
    .bite.is-fish .sc-bubbles i:nth-child(4) { animation-delay: 1.25s; }
    @keyframes rise { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(.8cqw, -16cqw); } }

    .sc-splash { display: block; position: absolute; left: 72cqw; top: 3cqw; width: 52cqw; translate: -50% -50%; z-index: 9; overflow: visible; animation-name: splash; }
    .sc-white { display: block; position: absolute; inset: 0; z-index: 12; background: #f4f7ee; pointer-events: none; animation-name: whiteout; }
    .sc-day { animation-name: day; transform-origin: 60% 30%; }
    .sc-day figcaption { animation-name: daycap; }

    .bite-cue { display: flex; align-items: center; gap: 12px; position: absolute; left: clamp(28px, 4.2vw, 68px); bottom: 26px; margin: 0;
      font-size: 14px; font-weight: 600; color: var(--on-dark-muted); animation-name: cue; }
    .cue-line { position: relative; width: 2px; height: 34px; background: linear-gradient(transparent, var(--hivis)); overflow: hidden; }
    .cue-line::after { content: ""; position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 1px; background: var(--hivis); clip-path: polygon(50% 0, 100% 100%, 0 100%); animation: drop 1.8s cubic-bezier(.5, 0, .8, .6) infinite; }
    @keyframes drop { from { top: -8px; } to { top: 34px; } }

    .log-lines .l1 { animation-name: l1; } .log-lines .l2 { animation-name: l2; } .log-lines .l3 { animation-name: l3; }
    .log-lines .l4 { animation-name: l4; } .log-lines .l5 { animation-name: l5; } .log-lines .l6 { animation-name: l6; }

    /* Desktop: the panel turns from night to hi-vis at the bite and stays that way */
    @media (min-width: 900px) {
      .bite-panel { --focus: var(--focus-on-dark); }
      .bg-hivis { animation-name: hivis; }
      .bite-copy { animation-name: copyflip; }
      .bite-log { animation-name: logflip; }
      .bite-btn { animation-name: btnflip; }
      .bite-ghost { animation-name: ghostflip; }
      .bite.is-flipped .bite-panel { --focus: var(--focus-on-light); }
    }
    /* Phones: the copy stays light over the story; the bite is a hi-vis flash; lede + buttons step aside underwater */
    @media (max-width: 899px) {
      .bite { height: 380svh; }
      .bite-flash { display: block; position: absolute; inset: 0; z-index: -1; background: var(--hivis); animation-name: flash; }
      .bite-more { animation-name: more; }
      .bite-cue { left: 0; right: 0; bottom: 6px; justify-content: center; font-size: 12.5px; color: var(--on-dark); }
      .bite-cue .cue-line { display: none; }
      .bite-copy { padding-bottom: 14px; }
    }

    @keyframes cam {
      0%, 8% { transform: translateY(max(calc(100cqh - 133.333cqw), -32cqw)); animation-timing-function: cubic-bezier(.5, 0, .75, .7); }
      34%, 62% { transform: translateY(calc(100cqh - 283.333cqw)); animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
      86%, 100% { transform: translateY(-133.6cqw); }
    }
    @keyframes line {
      0%, 8% { transform: scaleY(0); animation-timing-function: cubic-bezier(.5, 0, .75, .7); }
      34%, 62% { transform: scaleY(1); animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
      86%, 100% { transform: scaleY(.4783); }
    }
    @keyframes rig {
      0%, 6% { opacity: 0; }
      8.5%, 100% { opacity: 1; }
      0%, 8% { transform: translateY(-214.7cqw); animation-timing-function: cubic-bezier(.5, 0, .75, .7); }
      34% { transform: translateY(0); animation-timing-function: ease-out; }
      35.5% { transform: translateY(-.8cqw); animation-timing-function: ease-in; }
      37%, 62% { transform: translateY(0); animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
      86%, 100% { transform: translateY(-112cqw); }
    }
    @keyframes silt { 0%, 34% { opacity: 0; transform: scale(.25); } 35.5% { opacity: .9; transform: scale(.65); } 42%, 100% { opacity: 0; transform: scale(1.5); } }
    @keyframes specks { 0%, 8% { transform: translateY(0); } 34%, 62% { transform: translateY(-34cqw); } 86%, 100% { transform: translateY(4cqw); } }
    @keyframes slack { 0%, 51% { opacity: 1; } 52.5%, 100% { opacity: 0; } }
    @keyframes taut { 0%, 51% { opacity: 0; } 52.5%, 100% { opacity: 1; } }
    @keyframes bait { 0%, 51.6% { opacity: 1; } 52.4%, 100% { opacity: 0; } }
    @keyframes fish {
      0%, 43% { opacity: 0; transform: translate(-80cqw, -10cqw) rotate(0); }
      46% { opacity: .92; transform: translate(-50cqw, -8cqw) rotate(-2deg); }
      49.5% { opacity: 1; transform: translate(-10cqw, -2.6cqw) rotate(1deg); }
      51% { transform: translate(-5.5cqw, -.8cqw) rotate(0); animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
      52.4% { transform: translate(0, 0) rotate(4deg); }
      54.5% { transform: translate(.8cqw, .5cqw) rotate(-6deg); }
      57% { transform: translate(-.6cqw, -.6cqw) rotate(7deg); }
      59.5% { transform: translate(.4cqw, .3cqw) rotate(-4deg); }
      62% { opacity: 1; transform: translate(0, 0) rotate(-10deg); animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
      86% { transform: translate(0, -112cqw) rotate(-24deg); }
      92%, 100% { opacity: 1; transform: translate(1cqw, -126cqw) rotate(-32deg); }
    }
    @keyframes bubbles {
      0%, 51.5% { opacity: 0; transform: translateY(0); }
      52.5% { opacity: 1; }
      62% { transform: translateY(0); animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
      86% { opacity: 1; transform: translateY(-112cqw); }
      89%, 100% { opacity: 0; transform: translateY(-118cqw); }
    }
    @keyframes dawn { 0%, 66% { opacity: 0; } 86%, 100% { opacity: 1; } }
    /* the breach: rings at the surface, a white splash fills the frame, and daylight is under it when it clears */
    @keyframes splash { 0%, 84.5% { opacity: 0; transform: scale(.3); } 86% { opacity: 1; transform: scale(.8); } 88%, 100% { opacity: 0; transform: scale(1.6); } }
    @keyframes whiteout { 0%, 85.6% { opacity: 0; } 87.4%, 88.6% { opacity: .96; } 93%, 100% { opacity: 0; } }
    @keyframes day { 0%, 87.6% { opacity: 0; transform: scale(1.12); } 88% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
    @keyframes daycap { 0%, 93% { opacity: 0; } 97%, 100% { opacity: 1; } }
    @keyframes early { 0%, 4% { opacity: 1; } 7%, 100% { opacity: 0; } }
    @keyframes cue { 0% { opacity: 1; } 3%, 100% { opacity: 0; } }
    @keyframes l1 { 0%, 6% { opacity: 1; } 8.5%, 100% { opacity: 0; } }
    @keyframes l2 { 0%, 8% { opacity: 0; } 10%, 32% { opacity: 1; } 34%, 100% { opacity: 0; } }
    @keyframes l3 { 0%, 34% { opacity: 0; } 36%, 49% { opacity: 1; } 50.3%, 100% { opacity: 0; } }
    @keyframes l4 { 0%, 50.3% { opacity: 0; } 51%, 59.5% { opacity: 1; } 61%, 100% { opacity: 0; } }
    @keyframes l5 { 0%, 61% { opacity: 0; } 62.5%, 85% { opacity: 1; } 87%, 100% { opacity: 0; } }
    @keyframes l6 { 0%, 87% { opacity: 0; } 90%, 100% { opacity: 1; } }
    @keyframes hivis { 0%, 50.6% { opacity: 0; } 52.4%, 100% { opacity: 1; } }
    @keyframes copyflip { 0%, 50.6% { color: var(--on-dark); } 52.4%, 100% { color: var(--ink); } }
    @keyframes logflip { 0%, 50.6% { color: var(--hivis); } 52.4%, 100% { color: var(--ink); } }
    @keyframes btnflip { 0%, 50.6% { background-color: var(--hivis); color: var(--ink); } 52.4%, 100% { background-color: var(--ink); color: var(--hivis); } }
    @keyframes ghostflip { 0%, 50.6% { color: var(--on-dark); border-color: rgba(242, 239, 230, .55); } 52.4%, 100% { color: var(--ink); border-color: var(--ink); } }
    @keyframes flash { 0%, 50.6% { opacity: 0; } 51.6% { opacity: .94; } 56%, 100% { opacity: 0; } }
    @keyframes more { 0%, 3% { opacity: 1; visibility: visible; } 7%, 89% { opacity: 0; visibility: hidden; } 94%, 100% { opacity: 1; visibility: visible; } }
  }
}

/* ---------- 3. Sections ---------- */
.sec-head { max-width: 780px; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1; }
.sec-head p { font-size: 18.5px; color: var(--muted); margin: 18px 0 0; max-width: 60ch; }
.sample-note { display: inline-block; margin-top: 18px !important; padding: 7px 14px; background: #fbfaf6; border: 1.5px dashed var(--accent-2); border-radius: 99px; font-size: 14.5px !important; font-weight: 650; color: var(--accent-2) !important; }

/* Sessions: tackle packs hanging on a pegboard */
.sessions { background: radial-gradient(circle at 15px 15px, rgba(40, 36, 24, .16) 0 3.2px, transparent 3.8px) 0 0 / 30px 30px, #e7e2d6; }
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; padding: 46px 22px 22px; border-radius: 12px; background: #fbfaf6;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 16px 34px rgba(46, 40, 22, .13); }
.pack::before { content: ""; position: absolute; top: 15px; left: 50%; width: 48px; height: 13px; translate: -50% 0; border-radius: 99px; background: #e7e2d6; box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, .28); }
.pack-bubble { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 20px; border-radius: 18px;
  background: linear-gradient(155deg, #fff 0%, #eef1ea 55%, #e3e8df 100%); border: 1px solid rgba(0, 0, 0, .07);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .7), inset 0 -12px 20px rgba(0, 0, 0, .05); }
.pack-bubble svg { width: 48%; height: auto; color: var(--ink); }
.pack-price { position: absolute; right: -12px; top: -14px; display: grid; place-content: center; width: 78px; height: 78px; border-radius: 50%; rotate: 9deg;
  background: var(--hivis); color: var(--ink); text-align: center; line-height: 1; box-shadow: 0 5px 12px rgba(0, 0, 0, .18); }
.pack-price b { font-size: 23px; font-weight: 820; font-stretch: 115%; }
.pack-price small { font-size: 11px; font-weight: 700; margin-top: 3px; }
.pack h3 { font-size: 23px; line-height: 1.05; margin-bottom: 8px; }
.pack-meta { margin: 0 0 12px; font-size: 15px; font-weight: 650; color: var(--accent-2); }
.pack ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 7px; font-size: 15.5px; line-height: 1.4; color: var(--muted); }
.pack li { position: relative; padding-left: 18px; }
.pack li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--ink); }
.pack .btn { margin-top: auto; justify-content: center; background: var(--ink); color: var(--on-dark); }
.pack .btn:hover { background: #000; color: var(--hivis); }
@media (max-width: 1080px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .packs { grid-template-columns: 1fr; gap: 22px; } }

/* Full-bleed band */
.band { position: relative; margin: 0; height: clamp(300px, 46.8vw, 82svh); overflow: hidden; background: var(--ink); }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.band figcaption { position: absolute; left: 20px; bottom: 18px; padding: 7px 13px; border-radius: 99px; font-size: 14px; font-weight: 650; background: rgba(18, 19, 17, .78); color: var(--on-dark); }

/* Spots + live tides */
.spots { background: var(--ink-2); color: var(--on-dark); --focus: var(--focus-on-dark); }
.spots .sec-head p { color: var(--on-dark-muted); }
.spot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.spot { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #222420; border: 1px solid rgba(242, 239, 230, .08); }
.spot img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.spot-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.spot h3 { font-size: 22px; line-height: 1.05; margin-bottom: 8px; }
.spot p { font-size: 15.5px; line-height: 1.45; color: var(--on-dark-muted); margin: 0 0 16px; }
.tide { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(242, 239, 230, .12); }
.tide-now { margin: 0 0 8px !important; font-size: 15.5px !important; font-weight: 650; color: var(--on-dark) !important; }
.tide-now b { color: var(--hivis); font-weight: 700; }
.tide svg { display: block; width: 100%; height: auto; margin: 4px 0 6px; overflow: visible; }
.tide-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.tide-src { margin: 8px 0 0 !important; font-size: 12.5px !important; color: rgba(242, 239, 230, .62) !important; }
.tide-src a { color: inherit; }
.tide-none { font-size: 14px !important; margin: 0 !important; }
.tide-note { margin: 26px 0 0; font-size: 14px; color: var(--on-dark-muted); max-width: 70ch; }
@media (max-width: 1080px) { .spot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spot-grid { grid-template-columns: 1fr; } }

/* Triptych */
/* the row is pinned to the band's height: an auto row grew to the portraits' natural height and spilled into About */
.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); height: clamp(260px, 44vw, 660px); overflow: hidden; background: var(--ink); }
.triptych img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.triptych img:nth-child(2) { object-position: 50% 62%; }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; margin-bottom: 22px; }
.about-copy > p { font-size: 18.5px; color: var(--muted); max-width: 52ch; }
/* the marsh photo is tucked over the portrait's corner like a print */
.about-small { position: absolute; right: -28px; bottom: -34px; width: 36%; margin: 0; padding: 7px 7px 26px; background: #fbfaf6; rotate: 4deg; box-shadow: 0 16px 30px rgba(0, 0, 0, .22); }
.about-small img { aspect-ratio: 3 / 4; object-fit: cover; }
.about-links { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.about-links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; border-bottom: 2px solid var(--hivis); padding-bottom: 2px; }
.about-links a::after { content: "↗"; font-weight: 600; }
.about-links a:hover { color: var(--accent-2); }
@media (max-width: 899px) { .about-grid { grid-template-columns: 1fr; gap: 64px; } .about-photo { max-width: 520px; margin-right: 24px; } }
@media (max-width: 480px) { .about-small { right: -18px; bottom: -28px; padding: 5px 5px 18px; } }

/* Book */
.book { background: var(--hivis); color: var(--ink); }
.book-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.book h2 { font-size: clamp(34px, 5vw, 66px); line-height: .98; margin-bottom: 20px; }
.book p { font-size: 18.5px; max-width: 46ch; }
.book-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.book-btn { background: var(--ink); border-color: var(--ink); color: var(--on-dark); --focus: var(--ink); }
.book-btn:hover { background: #000; color: var(--hivis); }
.book-btn-alt { background: transparent; color: var(--ink); }
.call-bar { border-top: 2px solid var(--ink); } /* keeps the hi-vis Call cell apart from the hi-vis Book section */
.book-btn-alt:hover { background: var(--ink); color: var(--hivis); }
.license { padding: 26px 26px 24px; border-radius: 12px; background: #fbfaf6; box-shadow: 0 16px 34px rgba(40, 46, 0, .14); }
.license h3 { font-size: 22px; margin-bottom: 12px; }
.license p { font-size: 16px; color: var(--muted); margin-bottom: 12px; }
.license a { font-weight: 700; color: var(--accent-2); }
@media (max-width: 899px) { .book-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer .foot-h { text-transform: none; letter-spacing: .01em; font-size: 15px; font-weight: 700; }
.foot-brand .brand-name { font-size: 26px; }
