/* =====================================================================
   JBR Surf School — styles.css
   Less polished, more lived-in. Hand-painted, surf-shack aesthetic.
===================================================================== */

:root {
  --paper:   #fbf6e9;
  --shell:   #f4ecd6;
  --ink:     #181f25;
  --ink-soft:#3a4853;
  --ocean:   #0f5876;
  --reef:    #1c7796;
  --lagoon:  #2db5c4;
  --foam:    #e3f1f3;
  --sun:     #f5b942;
  --sun-deep:#e09c1f;
  --coral:   #ee5552;
  --clay:    #c2754a;
  --wood:    #6f4a32;

  --display: "Anton", "Archivo Black", system-ui, sans-serif;
  --body:    "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script:  "Caveat", cursive;
  --hand:    "Permanent Marker", "Caveat", cursive;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw:    1240px;
  --pad-x:   clamp(20px, 5vw, 56px);
  --radius:  14px;

  --shadow-soft: 0 10px 28px -14px rgba(11,31,42,.18);
  --shadow-hard: 0 30px 70px -28px rgba(11,31,42,.45);

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--coral);
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

html { background: var(--ocean); }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 17.5px);
  /* line-height 0 on body so whitespace text nodes between block children
     produce zero vertical space; restored on every block child below */
  line-height: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body > * { line-height: 1.65; }
img { max-width: 100%; display: block; }
a   { color: inherit; }
::selection { background: var(--sun); color: var(--ink); }

/* ---------------------- Paper grain overlay ---------------------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: .45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.07 0 0 0 0 0.09 0 0 0 0.20 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------------------- Shared type ---------------------- */
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 78px);
  line-height: .96;
  margin: .15em 0 .45em;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.h2 .ink-underline {
  position: relative;
  display: inline-block;
  padding: 0 .12em;
}
.h2 .ink-underline::after {
  content: "";
  position: absolute;
  left: -.06em; right: -.06em;
  bottom: -.05em;
  height: .5em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 24' preserveAspectRatio='none'><path d='M2 14 C 60 4, 120 22, 180 12 S 300 4, 318 18' stroke='%23f5b942' stroke-width='8' stroke-linecap='round' fill='none'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
}
.h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .4em;
}
.kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--reef);
  margin: 0 0 14px;
}
.kicker--light { color: rgba(255,255,255,.7); }
.script { font-family: var(--script); color: var(--coral); font-size: 1.18em; line-height: 1; }
.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 60ch;
  color: var(--ink-soft);
}
.lead--light { color: rgba(255,255,255,.85); }

/* ---------------------- Layout ---------------------- */
.section {
  padding: clamp(80px, 9vw, 132px) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.section__header {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: left;
}
.section__header .lead { margin-top: 4px; }

/* ---------------------- Buttons ---------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(238,85,82,.6);
}
.btn--primary:hover { background: #e74441; }
.btn--ghost {
  border-color: currentColor;
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-light { color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

/* ---------------------- Stamp (postal-stamp style) ---------------------- */
.stamp {
  display: inline-block;
  border: 2px dashed currentColor;
  padding: 6px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: transparent;
}
.stamp__inner {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.5);
  padding: 6px 12px;
  border-radius: 4px;
}
.stamp--hero { margin-bottom: 22px; transform: rotate(-1.5deg); }

/* ---------------------- Tape (masking tape on photos) ---------------------- */
.tape {
  position: absolute;
  background: rgba(245, 200, 100, .55);
  width: 84px; height: 22px;
  z-index: 3;
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
  mix-blend-mode: multiply;
}
.tape::before, .tape::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 6px;
  background-image: linear-gradient(90deg, rgba(255,255,255,.5) 50%, transparent 50%);
  background-size: 4px 100%;
}
.tape::before { left: 0; }
.tape::after  { right: 0; }
.tape--tl { top: -10px; left: -18px; transform: rotate(-32deg); }
.tape--tr { top: -10px; right: -18px; transform: rotate(28deg); }
.tape--bl { bottom: -10px; left: -10px; transform: rotate(22deg); }
.tape--br { bottom: -10px; right: -16px; transform: rotate(-26deg); }
.tape--t  { top: -12px; left: 50%; transform: translateX(-50%) rotate(-2deg); }

/* =====================================================================
   NAV
===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: calc(14px + env(safe-area-inset-top)) clamp(20px, 4vw, 40px) 14px;
  /* subtle dark scrim so the nav stays legible even at scroll=0 over light photo areas */
  background: linear-gradient(180deg, rgba(10,31,42,.45), rgba(10,31,42,0));
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  color: #fff;
}
.nav.is-pinned {
  background: rgba(251, 246, 233, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 4px 24px -16px rgba(11,31,42,.25);
  color: var(--ink);
}
.nav__brand { display: inline-flex; align-items: center; height: 46px; text-decoration: none; position: relative; }
.nav__logo { height: 100%; width: auto; transition: opacity .25s var(--ease); }
.nav__logo--dark  { opacity: 0; position: absolute; top: 0; left: 0; }
.nav__logo--light { opacity: 1; }
.nav.is-pinned .nav__logo--dark  { opacity: 1; position: relative; }
.nav.is-pinned .nav__logo--light { opacity: 0; position: absolute; top: 0; left: 0; }

.nav__links { display: flex; gap: 24px; justify-content: center; }
.nav__links a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .015em;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--coral);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(238,85,82,.6);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); background: #e74441; }
.nav__cta svg { flex: none; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav__burger span {
  display: block; height: 2px; background: currentColor;
  margin: 5px 0;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

@media (max-width: 940px) {
  .nav__links {
    position: fixed;
    top: calc(70px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    color: var(--ink);
    padding: 18px 0 24px;
    box-shadow: 0 24px 40px -28px rgba(11,31,42,.45);
    /* hidden by default — clip-path reveals from top down (no long-travel flicker) */
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transition: clip-path .4s var(--ease), opacity .25s var(--ease);
    pointer-events: none;
  }
  .nav__links::before {
    /* dashed top rule, like a torn ticket stub */
    content: "";
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(11,31,42,.35) 0 6px, transparent 6px 12px);
  }
  .nav.is-open .nav__links {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    font-family: var(--display);
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1;
    color: var(--ink);
    text-decoration: none;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px dashed rgba(11,31,42,.18);
    transition: background .2s var(--ease), color .2s var(--ease);
  }
  .nav__links a::after {
    /* swap the underline anim for a hand-drawn arrow */
    content: "→";
    font-family: var(--script);
    font-size: 26px;
    color: var(--coral);
    line-height: 1;
    transform: translateX(0);
    transition: transform .2s var(--ease);
    background: none;
    height: auto;
    position: static;
  }
  .nav__links a:hover,
  .nav__links a:active {
    background: var(--shell);
    color: var(--ocean);
  }
  .nav__links a:hover::after,
  .nav__links a:active::after { transform: translateX(4px); }
  .nav__links a:last-child { border-bottom: 0; }

  /* on mobile the nav becomes 3 equal columns so the badge sits dead-center
     between the logo (left) and the burger (right) */
  .nav {
    grid-template-columns: 1fr auto 1fr;
  }
  .nav__brand  { justify-self: start; }
  .nav__cta    { justify-self: center; }
  .nav__burger { justify-self: end; }

  .nav__cta {
    padding: 11px 16px;
    font-size: 14px;
    letter-spacing: .01em;
    gap: 8px;
  }
  .nav__cta span { display: inline; }
  .nav__cta svg { width: 18px; height: 18px; }

  .nav__burger { display: block; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 380px) {
  .nav__cta { padding: 10px 14px; font-size: 13px; gap: 7px; }
  .nav__cta svg { width: 17px; height: 17px; }
  .nav { gap: 10px; }
}

/* =====================================================================
   HERO
===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: calc(120px + env(safe-area-inset-top)) var(--pad-x) clamp(56px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ocean);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
  filter: contrast(1.05) saturate(1.05);
}
@media (max-width: 760px) {
  .hero__media img { object-position: center 45%; }
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    /* darker band at the very top so the nav has reliable contrast */
    linear-gradient(180deg, rgba(10,31,42,.55) 0%, rgba(10,31,42,0) 18%),
    radial-gradient(120% 80% at 80% 20%, rgba(245,185,66,.16), transparent 60%),
    linear-gradient(180deg, rgba(15,88,118,.55) 0%, rgba(10,31,42,.18) 40%, rgba(10,31,42,.82) 100%);
}

.hero__inner {
  position: relative;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(60px, 11vw, 168px);
  line-height: .92;
  margin: 0 0 8px;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title em {
  font-family: var(--script);
  font-style: normal;
  text-transform: none;
  color: var(--sun);
  font-size: 1em;
  margin-left: .12em;
  line-height: 1;
}
.hero__squiggle {
  display: block;
  width: 280px; max-width: 70%;
  height: auto;
  margin: -10px 0 22px;
  opacity: .9;
}

.hero__lede {
  font-size: clamp(17px, 1.5vw, 21px);
  max-width: 56ch;
  margin: 0 0 32px;
  font-weight: 300;
  color: rgba(255,255,255,.92);
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__ctas .btn--ghost { color: #fff; }
.hero__ctas .btn--ghost:hover { background: #fff; color: var(--ink); }

.hero__open {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin: 0;
}
.hero__open-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5fd97a;
  box-shadow: 0 0 0 3px rgba(95,217,122,.25);
}

.hero__reviews {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.hero__reviews:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-1px);
}
.hero__reviews-stars {
  color: #00aa6c;
  letter-spacing: .04em;
  font-size: 14px;
  text-shadow: 0 0 0 #00aa6c;
}
.hero__reviews-text strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: .005em;
}
@media (max-width: 480px) {
  .hero__reviews { font-size: 12px; padding: 7px 11px; }
}

.hero__scroll {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--mono);
  text-transform: lowercase;
  letter-spacing: .25em;
  font-size: 11px;
  color: #fff;
  opacity: .8;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); opacity: 1; } }

/* =====================================================================
   ABOUT
===================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about__text p { color: var(--ink-soft); }
.about__text p + p { margin-top: 1.05em; }
.about__text .signoff {
  margin-top: 1.6em;
  font-size: 22px;
}

/* photo wall */
.about__wall {
  position: relative;
  min-height: 540px;
}
.wall__photo {
  position: absolute;
  margin: 0;
  background: #fff;
  padding: 12px 12px 38px;
  border-radius: 4px;
  box-shadow: var(--shadow-hard);
  transition: transform .4s var(--ease);
}
.wall__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 2px;
  aspect-ratio: 4/3;
}
.wall__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  text-align: center;
  font-family: var(--script);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}
.wall__photo--1 { top: 0; left: 0; width: 56%; transform: rotate(-5deg); z-index: 2; }
.wall__photo--2 { top: 18%; right: -2%; width: 60%; transform: rotate(4deg); z-index: 1; }
.wall__photo--3 { bottom: 0; left: 20%; width: 50%; transform: rotate(-2deg); z-index: 3; }
.wall__photo--1:hover { transform: rotate(-2deg) translateY(-6px); z-index: 4; }
.wall__photo--2:hover { transform: rotate(2deg) translateY(-6px); z-index: 4; }
.wall__photo--3:hover { transform: rotate(0deg) translateY(-6px); z-index: 4; }

/* the JBR way */
.way {
  margin: clamp(64px, 8vw, 104px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  border-top: 1px solid rgba(15,88,118,.18);
  padding-top: clamp(40px, 5vw, 64px);
  position: relative;
}
.way__item {  }
.way__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--coral);
  display: block;
  margin-bottom: 10px;
}
.way__title {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.05;
}
.way__title em {
  font-family: var(--script);
  font-style: normal;
  text-transform: none;
  color: var(--reef);
  font-size: 1.1em;
}
.way__item p { color: var(--ink-soft); margin: 0; font-size: 15.5px; line-height: 1.55; }

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__wall { min-height: 460px; }
  .way { grid-template-columns: 1fr; gap: 24px; }
}

/* =====================================================================
   LESSONS — hand-painted price boards
===================================================================== */
.lessons {
  background: var(--shell);
  border-radius: 36px;
  margin-top: 0;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0) 30%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.25 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.lessons .section__header { text-align: center; margin-left: auto; margin-right: auto; }
.lessons .section__header .lead { margin-left: auto; margin-right: auto; }

.boards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.board {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  text-align: center;
}
.board:nth-child(1) { transform: rotate(-1deg); }
.board:nth-child(2) { transform: rotate(.5deg); }
.board:nth-child(3) { transform: rotate(-.5deg); }
.board:nth-child(4) { transform: rotate(.8deg); }
.board:nth-child(5) { transform: rotate(-.8deg); }
.board:hover { transform: translate(-2px, -2px) rotate(0); box-shadow: 8px 8px 0 var(--ink); }

.board__tag {
  position: absolute;
  top: -14px; right: 18px;
  background: var(--coral);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  transform: rotate(4deg);
  box-shadow: 0 4px 12px -4px rgba(238,85,82,.5);
  margin: 0;
}
.board__type {
  font-family: var(--hand);
  font-weight: 400;
  font-size: 38px;
  color: var(--ocean);
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.board__sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 6px 0 18px;
}
.board__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 18px;
  color: var(--ink);
}
.board__price .rp {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  margin-top: 14px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.board__price .num {
  font-family: var(--hand);
  font-size: 96px;
  line-height: .85;
  letter-spacing: -.02em;
  color: var(--coral);
}
.board__price .thousand {
  font-family: var(--hand);
  font-size: 56px;
  margin-left: 2px;
  color: var(--ink);
}
.board__rule {
  border: 0;
  border-top: 2px dashed rgba(11,31,42,.25);
  margin: 8px 0 18px;
}
.board__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
}
.board__list li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.board__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--lagoon);
  font-weight: 800;
}
.board__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.board__cta:hover { background: var(--ink); color: #fff; }
.board__cta span { transition: transform .2s var(--ease); }
.board__cta:hover span { transform: translateX(3px); }

.rentals {
  margin-top: 32px;
  padding: 22px 28px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 36px;
}
.rentals__title {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
  color: var(--sun);
}
.rentals__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0; margin: 0;
  font-size: 15px;
}
.rentals__list li { display: inline-flex; align-items: center; gap: 8px; }
.rentals__hint { color: var(--sun); font-style: italic; }

@media (max-width: 880px) {
  .boards { grid-template-columns: 1fr; }
  .board:nth-child(n) { transform: rotate(0); }
}

/* =====================================================================
   GALLERY
===================================================================== */
.gallery .section__header { text-align: center; }
.gallery .section__header .lead { margin: 4px auto 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.grid__item {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--foam);
  isolation: isolate;
  transition: transform .35s var(--ease);
}
.grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.grid__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,31,42,0) 50%, rgba(10,31,42,.4) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.grid__item:hover img { transform: scale(1.06); }
.grid__item:hover::after { opacity: 1; }
.grid__item--tall { grid-row: span 2; }
.grid__item--wide { grid-column: span 2; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .grid__item--wide { grid-column: span 2; }
}

/* =====================================================================
   CREW
===================================================================== */
.crew {
  background: var(--shell);
  border-radius: 36px;
  position: relative;
  text-align: center;
}
.crew__header {
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 56px);
}
.crew__header .lead { margin: 12px auto 0; }
.crew__sticker {
  display: inline-block;
  margin-top: clamp(28px, 4vw, 44px);
  background: var(--sun);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 999px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
}
.crew__sticker:hover {
  transform: rotate(2deg) scale(1.04);
  background: var(--sun-deep);
  box-shadow: 0 12px 24px -10px rgba(245,185,66,.55);
}

.instructors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  justify-items: center;
}
.instructor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.instructor__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.instructor__photo:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hard), 0 8px 24px -8px rgba(11,31,42,.18);
}
.instructor__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.crew__name {
  display: block;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  text-transform: uppercase;
  letter-spacing: .005em;
}
.crew__role {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .instructors { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .instructors { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   FAQ
===================================================================== */
.faq .section__header { text-align: center; }
.faq .section__header .lead { margin: 4px auto 0; }
.qa {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 880px;
  margin: 0 auto;
}
.qa__item + .qa__item { margin-top: 12px; }
.qa__item details {
  background: #fff;
  border: 1px solid rgba(11,31,42,.1);
  border-radius: 10px;
  padding: 4px 22px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.qa__item details[open] {
  background: var(--paper);
  border-color: var(--ocean);
}
.qa__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.qa__item summary::-webkit-details-marker { display: none; }
.qa__q {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  text-transform: uppercase;
  letter-spacing: .005em;
}
.qa__plus {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  color: var(--coral);
  transition: transform .25s var(--ease);
  flex: none;
}
.qa__item details[open] .qa__plus { transform: rotate(45deg); }
.qa__a {
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: 16px;
}
.qa__a p { margin: 0; }

/* =====================================================================
   FIND US
===================================================================== */
.find .section__header { text-align: center; }
.find .section__header .lead { margin: 4px auto 0; }
.find__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.find__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11,31,42,.08);
  background: var(--foam);
}
.find__map iframe { width: 100%; height: 100%; min-height: 420px; }
.find__info {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.find__info .h3 { color: #fff; }
.find__addr {
  font-size: 17px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.find__info .btn { align-self: flex-start; }
.find__hints {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}
.find__hints li::before { content: "·"; color: var(--sun); margin-right: 8px; font-weight: 800; }

@media (max-width: 880px) {
  .find__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   CONTACT — postcard
===================================================================== */
.postcard {
  /* Keep outer section, but center it and give breathing room before footer */
  padding-top: clamp(80px, 9vw, 132px);
  padding-bottom: clamp(96px, 12vw, 180px);
}
.card-postcard {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
  border: 1px solid rgba(11,31,42,.1);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(11,31,42,.06),
    0 30px 70px -25px rgba(11,31,42,.35);
  /* allow the stamp to peek over the edge */
  overflow: visible;
  transform: rotate(-.7deg);
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
.card-postcard::before {
  /* perforated edge between photo and note */
  content: "";
  position: absolute;
  top: 28px; bottom: 28px;
  left: calc(53% - 1px);
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(11,31,42,.25) 0 6px, transparent 6px 12px);
}
.card-postcard__photo {
  position: relative;
  min-height: 460px;
  /* keep this visible so the postal stamp can peek over the edge */
  overflow: visible;
}
.card-postcard__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 6px 0 0 6px;
}
@media (max-width: 880px) {
  .card-postcard__photo img { border-radius: 6px 6px 0 0; }
}
.card-postcard__stamp {
  position: absolute;
  top: -14px; right: -10px;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 10px 14px 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  transform: rotate(6deg);
  text-align: center;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,.4);
  z-index: 4;
}
@media (max-width: 880px) {
  .card-postcard__stamp { top: -14px; right: 14px; }
}
.card-postcard__stamp .stamp__inner {
  display: block;
  border: 1px dashed rgba(11,31,42,.5);
  padding: 5px 8px;
  border-radius: 0;
  margin-bottom: 4px;
}
.card-postcard__stamp .stamp__sub {
  display: block;
  font-family: var(--hand);
  font-size: 16px;
  letter-spacing: 0;
  color: var(--coral);
  text-transform: none;
}
.card-postcard__note {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 880px) {
  .card-postcard__note { padding: 32px 26px 36px; }
}
.card-postcard__greeting {
  font-family: var(--hand);
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0 0 14px;
  line-height: 1.05;
  color: var(--ocean);
}
.card-postcard__greeting .script { color: var(--coral); }
.card-postcard__body {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 26px;
}
.card-postcard__lines {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: grid;
  gap: 14px;
  border-top: 1px dashed rgba(11,31,42,.18);
  padding-top: 18px;
}
.card-postcard__lines li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  font-size: 16px;
  min-width: 0;
}
.card-postcard__lines a {
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 880px) {
  .card-postcard__lines li {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
  }
  .card-postcard__lines a { font-size: 18px; }
}
@media (max-width: 420px) {
  .card-postcard__lines li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 6px 0;
  }
  .card-postcard__lines a { font-size: 19px; }
}
.card-postcard__lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.card-postcard__lines a {
  font-family: var(--display);
  text-decoration: none;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: .005em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.card-postcard__lines a:hover { color: var(--coral); }
.card-postcard__signoff {
  font-family: var(--hand);
  font-size: 26px;
  margin: auto 0 0;
  color: var(--ocean);
  line-height: 1.2;
}
.card-postcard__signoff .script {
  color: var(--coral);
  font-family: var(--script);
  white-space: nowrap;
  display: inline-block;
}

@media (max-width: 880px) {
  .card-postcard { grid-template-columns: 1fr; transform: none; }
  .card-postcard::before {
    top: auto; bottom: auto;
    left: 28px; right: 28px;
    height: 2px; width: auto;
    top: calc(460px + 0px);
    background: repeating-linear-gradient(90deg, rgba(11,31,42,.25) 0 6px, transparent 6px 12px);
  }
  .card-postcard__photo { min-height: 320px; }
}

/* =====================================================================
   FOOTER
===================================================================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: clamp(64px, 7vw, 96px) var(--pad-x) 28px;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.footer__brand img { width: 170px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__title {
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sun);
  margin: 0 0 10px;
}
.footer p { margin: 0; line-height: 1.85; }
.footer a { color: inherit; text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__copy {
  margin: 56px auto 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  max-width: var(--maxw);
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols  { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   LIGHTBOX
===================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,18,28,.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: grid; place-items: center;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); transform: scale(1.05); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav--prev { left: 22px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lightbox__nav--next { right: 22px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.05); }

/* =====================================================================
   REVEAL ON SCROLL
===================================================================== */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.js-ready .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
  .hero__scroll { animation: none; }
}

/* =====================================================================
   INTERNAL PAGES (logbook, single session)
   No hero photo behind the nav — force the pinned look from scroll=0.
===================================================================== */
.page-internal { background: var(--paper); }
.page-internal .nav {
  background: rgba(251, 246, 233, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 4px 24px -16px rgba(11,31,42,.25);
  color: var(--ink);
}
.page-internal .nav__logo--dark  { opacity: 1; position: relative; }
.page-internal .nav__logo--light { opacity: 0; position: absolute; top: 0; left: 0; }
.page-internal .section { padding-top: clamp(120px, 14vw, 180px); }
.page-internal .nav__links a[aria-current="page"] {
  color: var(--coral);
}
.page-internal .nav__links a[aria-current="page"]::after {
  background: var(--coral);
  transform: scaleX(1);
}

/* =====================================================================
   LOGBOOK (sessions index)
===================================================================== */
.logbook__filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 28px;
}
.logbook__years {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}
.logbook__year {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 6px 14px 8px;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  transition: color .2s var(--ease), transform .2s var(--ease);
  opacity: .35;
}
.logbook__year:hover { opacity: .8; transform: translateY(-1px); }
.logbook__year.is-active { opacity: 1; }
.logbook__year.is-active::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -2px;
  height: .35em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 24' preserveAspectRatio='none'><path d='M2 14 C 60 4, 120 22, 180 12 S 300 4, 318 18' stroke='%23f5b942' stroke-width='8' stroke-linecap='round' fill='none'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
}

.logbook__months {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px dashed rgba(11,31,42,.18);
  padding-top: 14px;
}
.logbook__month {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--shell);
  border: 1px solid rgba(11,31,42,.12);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.logbook__month:hover:not([disabled]) {
  background: var(--sun);
  border-color: var(--sun-deep);
  transform: translateY(-1px);
}
.logbook__month.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.logbook__month.is-empty,
.logbook__month[disabled] {
  opacity: .35;
  cursor: not-allowed;
  background: transparent;
}

.logbook__clear {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 4px;
}
.logbook__clear:hover { color: var(--coral); }

.logbook__count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 4px 0 22px;
}

.logbook__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 32px);
  margin-top: 8px;
}
.logbook__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.logbook__empty .btn { margin-top: 12px; }

/* =====================================================================
   SESSION CARD (postcard tile)
===================================================================== */
.card-session {
  --tilt: 0deg;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transform: rotate(var(--tilt));
  transition: transform .35s var(--ease), filter .25s var(--ease);
  isolation: isolate;
}
.card-session:hover {
  transform: rotate(0deg) translateY(-4px);
  filter: drop-shadow(0 18px 24px rgba(11,31,42,.22));
}

.card-session__photo {
  position: relative;
  background: #fff;
  padding: 12px 12px 14px;
  box-shadow: 0 8px 22px -14px rgba(11,31,42,.35);
  border-radius: 4px;
  margin: 0 0 14px;
}
.card-session__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.card-session__noimg {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--shell);
  border-radius: 2px;
}
.card-session__stamp {
  position: absolute;
  top: -10px; right: 14px;
  background: var(--ocean);
  color: #fff;
  transform: rotate(2deg);
  z-index: 4;
}
.card-session__stamp .stamp__inner {
  font-size: 10px;
  letter-spacing: .18em;
  padding: 4px 8px;
}

.card-session__body {
  padding: 0 4px;
  line-height: 1.45;
}
.card-session__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.05;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.card-session__people {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-soft);
  margin: 4px 0 6px;
  text-transform: uppercase;
}
.card-session__quote {
  margin: 6px 0 0;
  color: var(--coral);
  font-size: 1.4em;
  line-height: 1.05;
}

.card-conds {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-conds li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--shell);
  padding: 4px 9px;
  border-radius: 4px;
}

.flag {
  font-size: 1.05em;
  line-height: 1;
  margin-left: 2px;
}

/* Smaller variant for the homepage strip */
.card-session--small .card-session__photo { margin-bottom: 10px; }
.card-session--small .card-session__title { font-size: clamp(18px, 1.7vw, 22px); }

/* =====================================================================
   SINGLE SESSION (postcard view)
===================================================================== */
.session-view {
  max-width: 1080px;
}

.session-postcard {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid rgba(11,31,42,.08);
  box-shadow: var(--shadow-hard);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 0 24px;
}
.session-postcard::before {
  /* dashed split rule, like a postcard divide */
  content: "";
  position: absolute;
  top: 18px; bottom: 18px;
  left: 50%;
  width: 1px;
  background: repeating-linear-gradient(0deg, rgba(11,31,42,.25) 0 6px, transparent 6px 12px);
  pointer-events: none;
}
.session-postcard__photo {
  position: relative;
  background: var(--ocean);
  min-height: 380px;
}
.session-postcard__photo a,
.session-postcard__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.session-postcard__stamp {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  transform: rotate(-3deg);
}
.session-postcard__stamp .stamp__inner {
  font-size: 11px;
  letter-spacing: .18em;
  padding: 6px 10px;
  background: rgba(0,0,0,.25);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.session-postcard__stamp .stamp__sub {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .22em;
  margin-top: 4px;
  text-align: right;
  color: rgba(255,255,255,.85);
}
.session-postcard__note {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}
.session-postcard__greeting {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.session-postcard__greeting .script { color: var(--coral); }

.session-postcard__quote {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 1.7em;
  line-height: 1.05;
}
.session-postcard__body {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
}
.session-postcard__body p { margin: 0 0 .6em; }
.session-postcard__body p:last-child { margin-bottom: 0; }

.session-postcard__lines {
  margin: 6px 0 16px;
}

.session-postcard__people {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.session-postcard__signoff {
  margin-top: auto;
  font-family: var(--body);
  color: var(--ink-soft);
}
.session-postcard__signoff .script {
  color: var(--coral);
  font-size: 1.4em;
  margin-left: 4px;
}

@media (max-width: 760px) {
  .session-postcard {
    grid-template-columns: 1fr;
  }
  .session-postcard::before { display: none; }
  .session-postcard__photo { min-height: 280px; }
}

/* Action row beneath the postcard */
.session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 36px;
}
.session-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.session-share-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* Compact mono-font pill — matches .btn--ghost at smaller scale */
.share-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease),
              transform .2s var(--ease), border-color .2s var(--ease);
}
.share-chip svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}
.share-chip:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.share-chip:hover svg { transform: translateY(1px); }
/* WhatsApp tint on hover */
.share-chip--wa:hover { background: #128C7E; border-color: #128C7E; color: #fff; }
/* Download — ocean blue to stand out as the primary download action */
.share-chip--dl {
  border-color: var(--ocean);
  color: var(--ocean);
}
.share-chip--dl:hover { background: var(--ocean); border-color: var(--ocean); color: #fff; }
@media (max-width: 640px) {
  .session-actions { flex-direction: column; align-items: flex-start; }
  .session-share { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   SESSION GALLERY (rest-of-day photos)
===================================================================== */
.session-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(24px, 3.5vw, 40px) clamp(18px, 2.5vw, 28px);
  margin-top: 22px;
}
.session-gallery__item {
  --tilt: 0deg;
  position: relative;
  display: block;
  background: #fff;
  padding: 12px 12px 16px;
  box-shadow: 0 8px 22px -14px rgba(11,31,42,.35);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transform: rotate(var(--tilt));
  transition: transform .35s var(--ease), filter .25s var(--ease);
}
.session-gallery__item:hover {
  transform: rotate(0deg) translateY(-4px);
  filter: drop-shadow(0 18px 24px rgba(11,31,42,.22));
  z-index: 2;
}
.session-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.session-gallery__item figcaption {
  font-family: var(--script);
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.1;
}

/* =====================================================================
   HOMEPAGE "LATEST FROM THE BAY" STRIP
===================================================================== */
.latest .section__header { text-align: center; }
.latest .section__header .lead { margin: 4px auto 0; }
.latest__link {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  text-decoration: none;
  white-space: nowrap;
  margin-left: 6px;
}
.latest__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.latest__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(20px, 2.5vw, 32px);
}
.latest[hidden] { display: none; }
