/* Vessel Training — unified site design system.
   Port of the landing's visual language (brand brown, pill CTAs, hero
   chip, pure white ground like live) using the SAME type as the live landing:
   Season Mix (display) + Season Sans (body), self-hosted.
   ⚠️ Licensing: these font files came with the adapted landing export —
   recommend the client purchase proper web licenses for both. */

@font-face {
  font-family: 'Season Sans';
  src: url('../fonts/season-sans-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Season Sans';
  src: url('../fonts/season-sans-medium.woff2') format('woff2');
  font-weight: 550;
  font-display: swap;
}
@font-face {
  font-family: 'Season Sans';
  src: url('../fonts/season-sans-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Season Mix';
  src: url('../fonts/season-mix-regular.woff2') format('woff2');
  font-weight: 420;
  font-display: swap;
}
@font-face {
  font-family: 'Season Mix';
  src: url('../fonts/season-mix-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --brown: #9c7b5b;
  --brown-deep: #6b4f37;
  --ink: #1f1b16;
  --ink-soft: #57534e;
  --ink-mute: #a8a29e;
  --ground: #ffffff;
  --card: #ffffff;
  --line: #e9e3d8;
  --dark: #171412;
  --dark-2: #211c18;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Season Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Every heading matches the home page's "The Vessel Training Community"
   title: Season Mix, regular weight, tight tracking. */
h1, h2, h3, .serif {
  font-family: 'Season Mix', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}
h3 { font-weight: 500; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
/* Every page shares the home nav's geometry: 1689px max width, 64px
   bar 24px from the top, 57.6px logo, small pill CTA. On inner pages the
   bar sits on a dark strip; top: -24px lets that top gap scroll away so
   the stuck bar is compact. */
.site-header {
  position: sticky;
  top: -24px;
  z-index: 50;
  /* viewport-fit=cover: the page runs under the iOS status bar, so the
     header pads by the safe area and its own background sits behind the
     clock — the one way to get an exact color match (Safari tints any
     strip it paints itself). */
  padding: calc(24px + env(safe-area-inset-top, 0px)) 0 12px;
  background: #2a2725;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1689px;
  min-height: 64px;
  padding: 0 40px;
}
@media (min-width: 1024px) {
  /* Live: nav px-6 + bar pl-6 / pr-1.5 → logo 48px in, pill 30px in. */
  .site-header .wrap { padding: 0 30px 0 48px; }
}
.brand-logo { position: relative; }
.brand-logo img { height: 57.6px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a.active { color: #fff; border-bottom-color: var(--brown); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  padding: 6px;
  cursor: pointer;
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--dark);
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: 1.05rem; }
}

/* Home: the nav floats transparent over the page and stays FIXED as you
   scroll, like live. Geometry matches the live landing: 24px from the
   top, 1689px max width, 64px tall bar, 57.6px logo, small pill CTA. */
.site-header.over-hero {
  position: fixed;
  top: calc(24px + env(safe-area-inset-top, 0px));
  padding: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}
.site-nav a.vessel-cta {
  padding: 1rem 2rem;
  border-bottom: 0;
}
.site-nav a.vessel-cta--sm { padding: 0.625rem 1.25rem; }
@media (max-width: 820px) {
  .site-header.over-hero .site-nav { background: rgba(23, 20, 18, 0.96); top: 64px; border-radius: 16px; }
}

/* Over the white Community section the nav flips to brown, like live:
   logo recolored through a mask, tabs brown, pill brown with white text
   (pill flip is desktop-only on live). js/site.js toggles the class. */
.site-header.over-hero .brand-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #6b4f37;
  -webkit-mask: url('../images/brand/vessel-logo.svg?v=2') left center / contain no-repeat;
  mask: url('../images/brand/vessel-logo.svg?v=2') left center / contain no-repeat;
  pointer-events: none;
  opacity: 0;
}
body.theme-community .site-header.over-hero .brand-logo img { visibility: hidden; }
body.theme-community .site-header.over-hero .brand-logo::before { opacity: 1; }
body.theme-community .site-header.over-hero .nav-toggle { color: #6b4f37; }
@media (min-width: 821px) {
  body.theme-community .site-header.over-hero .site-nav a:not(.vessel-cta) { color: #6b4f37; }
}
@media (min-width: 1024px) {
  body.theme-community .vessel-cta {
    background: #6b4f37;
    box-shadow: 0 8px 30px rgba(107, 79, 55, 0.22), 0 0 0 1px rgba(107, 79, 55, 0.18);
  }
  body.theme-community .vessel-cta:hover {
    background: #876647;
    box-shadow: 0 10px 36px rgba(107, 79, 55, 0.32), 0 0 0 1px rgba(107, 79, 55, 0.22);
  }
  body.theme-community .vessel-cta__text,
  body.theme-community .vessel-cta:hover .vessel-cta__text {
    background-image: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
  }
  body.theme-community .vessel-cta__arrow { color: #fff; }
}

/* ── Live CTA pill ── white pill, gradient text, arrow nudges on hover. */
.vessel-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 9999px;
  padding: 1rem 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
  transition: box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.vessel-cta:hover {
  box-shadow: 0 8px 30px rgba(156,123,91,0.18), 0 0 0 1px rgba(156,123,91,0.12);
}
.vessel-cta__text {
  font-family: 'Season Sans', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
  background-image: linear-gradient(to right, #44403c, #57534e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-image 0.3s ease;
}
.vessel-cta:hover .vessel-cta__text {
  background-image: linear-gradient(to right, #6b4f37, #876647);
}
.vessel-cta__arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: #a8a29e;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.vessel-cta:hover .vessel-cta__arrow {
  transform: translateX(0.25rem);
  color: #9c7b5b;
}
.vessel-cta--sm { gap: 0.75rem; }
.vessel-cta--sm .vessel-cta__text { font-size: 0.9375rem; }
.vessel-cta--sm .vessel-cta__arrow { width: 1rem; height: 1rem; }

/* ── Hero (home) ── the live landing's exact mechanism: a STICKY
   full-viewport photo layer, with the content column pulled back up
   over it (margin-top: -100vh). The photo holds while content scrolls
   past, all contained inside this section. */
.hero-stage {
  position: relative;
  background: #1a1715;
  /* clip (not hidden: hidden would break the sticky photo) so the photo's
     overhang below never shows at the top of the Community section */
  overflow: clip;
}
.hero {
  position: relative;
  color: #fff;
}
.hero__media {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  /* visible, not hidden: the image below overhangs this box on purpose */
  overflow: visible;
  z-index: 0;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  /* Overhang: iOS Safari's translucent bottom toolbar shows the page
     under the viewport line, which was the dark stage. 160px of extra
     photo covers it; .hero-stage clips it at the end of the hero. */
  height: calc(100% + 160px);
  object-fit: cover;
  object-position: center;
}
.hero__img--desktop { display: none; }
@media (min-width: 768px) {
  .hero__img--mobile { display: none; }
  .hero__img--desktop { display: block; }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(26,23,21,0.7) 0%, rgba(26,23,21,0.4) 35%, rgba(26,23,21,0.15) 55%, transparent 80%);
}
.hero__fg {
  position: relative;
  z-index: 10;
  margin-top: -100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 15px;
}
.hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px 32px;
}
.hero__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  max-width: 370px;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  text-align: center;
}
.hero h1 {
  font-family: 'Season Mix', Georgia, serif;
  font-weight: 600;
  font-size: 2.125rem;
  line-height: 1;
  letter-spacing: -0.34px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero__sub {
  font-family: 'Season Sans', system-ui, sans-serif;
  font-weight: 520;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.18px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8), 0 0 4px rgba(0,0,0,0.4);
}
/* Live keeps an empty caption slot under the CTA (12px gap). */
.hero__lead .vessel-cta { margin-bottom: 12px; }
.hero-phone { display: flex; justify-content: center; }
.hero-phone img { width: 100%; height: auto; max-width: 75%; margin-inline: auto; }
@media (min-width: 1024px) {
  .hero__stack { padding: 139px 20px 48px; }
  .hero__lead { gap: 40px; max-width: none; }
  .hero__copy { gap: 16px; }
  .hero h1 { font-size: 3.9375rem; letter-spacing: -0.63px; }
  .hero__sub { font-size: 1.25rem; letter-spacing: -0.2px; }
  /* Width follows viewport height so the phone always meets the fold
     the same way: clamp(275px, 100vh - 550px, 440px). */
  .hero-phone { max-width: clamp(275px, calc(100dvh - 550px), 440px); margin: 0 auto; }
  .hero-phone img { max-width: 100%; }
}
/* Headline phrases drop in one after the other, like live. */
@keyframes letterSlideIn {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}
.headline-phrase {
  display: inline-block;
  animation: letterSlideIn 0.8s ease-out forwards;
  transform: translateY(-100%);
  opacity: 0;
  will-change: transform, opacity;
}
@media (max-width: 425px) {
  .headline-phrase { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .headline-phrase { animation: none; transform: none; opacity: 1; }
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  font-family: 'Season Sans', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 14px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ── Spirit · Soul · Body reel (home) ── live's three stacked panels. */
.scrollreel {
  background: linear-gradient(180deg, #0d0a09 0%, #1a1715 100%);
  color: #f5f0e8;
  position: relative;
  z-index: 1;
}
/* On the home page the reel rides straight over the pinned hero photo
   (no tint, per Peter). Text gets a shadow for legibility, and the reel
   and hero content are promoted to their own compositor layers so a fast
   scroll never shows the photo alone while the panels catch up. */
.hero-stage .scrollreel {
  /* Slight tint that eases in: clear where the reel begins, deepening
     over the first third, so there's no edge as it scrolls up. */
  background: linear-gradient(180deg,
    rgba(13,10,9,0) 0%,
    rgba(13,10,9,0.18) 12%,
    rgba(13,10,9,0.38) 30%,
    rgba(13,10,9,0.48) 55%,
    rgba(13,10,9,0.5) 100%);
}
.hero-stage .scrollreel__intro-title,
.hero-stage .scrollreel__slide h3 { text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.35); }
.hero-stage .scrollreel__intro-sub,
.hero-stage .scrollreel__slide p { color: rgba(245,240,232,0.92); text-shadow: 0 1px 10px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.4); }
.hero-stage .scrollreel__intro-eyebrow,
.hero-stage .scrollreel__pill { text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.hero-stage .scrollreel__pill { background: rgba(0,0,0,0.28); border-color: rgba(255,255,255,0.18); }
.hero-stage .scrollreel__phone { filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45)); }
.hero-stage .scrollreel,
.hero-stage .hero__fg { transform: translateZ(0); will-change: transform; }
.hero__media { transform: translateZ(0); }
.scrollreel__intro {
  text-align: center;
  padding: 120px 24px 40px;
  max-width: 760px;
  margin: 0 auto;
}
.scrollreel__intro-eyebrow {
  display: inline-block;
  font-family: 'Season Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9a574;
  margin-bottom: 16px;
}
.scrollreel__intro-title {
  font-family: 'Season Mix', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 18px;
  color: #f5f0e8;
}
.scrollreel__intro-sub {
  font-size: 1.125rem;
  font-weight: 550;
  line-height: 1.5;
  color: rgba(245, 240, 232, 0.7);
  margin: 0 auto;
  max-width: 540px;
}
.scrollreel__panels {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vh, 96px);
  padding: clamp(32px, 6vh, 64px) 0 clamp(64px, 10vh, 120px);
}
.scrollreel__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  gap: clamp(12px, 2vh, 22px);
}
/* Mobile: each panel fills the viewport, one pillar at a time. */
@media (max-width: 1023px) {
  .scrollreel__panels { gap: 0; padding: 0; }
  .scrollreel__slide { min-height: 100vh; padding: 40px 24px; }
}
/* Copy wrapper is layout-transparent on mobile; order puts the phone
   between the headline and the paragraph. */
.scrollreel__slide__copy { display: contents; }
.scrollreel__slide .scrollreel__pill { order: 1; margin-bottom: 0; }
.scrollreel__slide h3 { order: 2; }
.scrollreel__slide .scrollreel__phone { order: 3; }
.scrollreel__slide p { order: 4; }
.scrollreel__pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 9999px;
}
.scrollreel__slide h3 {
  font-family: 'Season Mix', Georgia, serif;
  font-size: clamp(1.625rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #f5f0e8;
  max-width: 560px;
}
.scrollreel__slide p {
  /* A touch bigger and the medium weight so it holds up over the photo. */
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 550;
  line-height: 1.55;
  color: rgba(245, 240, 232, 0.72);
  margin: 0 auto;
  max-width: 460px;
}
.scrollreel__phone {
  width: clamp(160px, 24vh, 220px);
  aspect-ratio: 766 / 1570;
  flex-shrink: 0;
}
.scrollreel__phone img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1024px) {
  .scrollreel__slide {
    flex-direction: row;
    gap: clamp(48px, 6vw, 96px);
    text-align: left;
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px clamp(40px, 6vw, 80px) 24px;
  }
  /* Soul panel alternates: phone left, copy right. */
  .scrollreel__panels > .scrollreel__slide:nth-child(2) { flex-direction: row-reverse; }
  .scrollreel__slide__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    row-gap: 18px;
    flex: 0 1 520px;
    max-width: 520px;
  }
  .scrollreel__slide .scrollreel__pill,
  .scrollreel__slide h3,
  .scrollreel__slide p,
  .scrollreel__slide .scrollreel__phone { order: 0; }
  .scrollreel__slide h3 { text-align: left; max-width: 520px; }
  .scrollreel__slide p { text-align: left; margin: 0; max-width: 520px; }
  .scrollreel__slide .scrollreel__phone { width: clamp(260px, 32vh, 320px); }
}

/* ── App page ── dark all the way down, same reel as the home page. */
body.page-dark { background: #0d0a09; }
.page-dark .site-footer { margin-top: 0; border-top: 1px solid rgba(255,255,255,0.06); }
/* Pinned photo behind the whole App reel (same mechanism as the home
   page): a sticky full-viewport layer, the intro + rows pulled back over it
   with a tint that eases in, and the footer scrolls over it at the end. */
.app-reel { position: relative; background: #0d0a09; }
.app-hero__bg {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
  background: url('../images/banners/app-hero.webp') center 35% / cover no-repeat;
  transform: translateZ(0);
}
.app-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,10,9,0.6) 0%, rgba(13,10,9,0.35) 30%, rgba(13,10,9,0.4) 70%, rgba(13,10,9,0.55) 100%);
}
.app-reel__fg {
  position: relative;
  z-index: 1;
  margin-top: -100vh;
  transform: translateZ(0);
  will-change: transform;
  /* Clear over the intro, deepening through the first rows. */
  background: linear-gradient(180deg,
    rgba(13,10,9,0) 0%,
    rgba(13,10,9,0.18) 14%,
    rgba(13,10,9,0.4) 32%,
    rgba(13,10,9,0.5) 55%,
    rgba(13,10,9,0.52) 100%);
}
.app-hero { position: relative; }
.app-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 104px;
}
/* Soft extra shade right behind the text block. */
.app-intro::before {
  content: '';
  position: absolute;
  inset: 40px 0 -40px;
  z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(13,10,9,0.5) 0%, rgba(13,10,9,0) 100%);
  pointer-events: none;
}
.app-reel .scrollreel__intro-title,
.app-reel .scrollreel__slide h3 { text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.35); }
.app-reel .scrollreel__slide p { color: rgba(245,240,232,0.92); text-shadow: 0 1px 10px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.4); }
.app-reel .scrollreel__pill {
  /* Same build as the home pillar chips (size, weight, stroke, dark fill)
     in the brand brown: light brown text, brown stroke. No icons here. */
  color: #C3A17B;
  border: 1.5px solid #9C7B5B;
  background: rgba(13, 10, 9, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 9px 16px;
  text-shadow: none;
}
.app-reel .scrollreel__phone { filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45)); }
.app-intro .scrollreel__intro-title,
.app-intro .scrollreel__intro-sub {
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.35);
}
.app-intro .scrollreel__intro-sub { color: rgba(245, 240, 232, 0.88); }
.app-intro .scrollreel__intro-eyebrow { color: #e3c190; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.app-intro .vessel-cta { margin-top: 14px; }
@media (min-width: 1024px) {
  /* Alternate every other row: phone left, copy right. */
  .app-reel .scrollreel__panels > .scrollreel__slide:nth-child(even) { flex-direction: row-reverse; }
}
.app-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 24px 24px 128px;
}
.app-close .scrollreel__intro-title { margin: 0; }

/* Pillar chips in the app's accent colors (constants/theme.ts):
   Spirit scarlet, Soul blue, Body green. Text + outline, faint tint. */
/* Text uses the LIGHT end of each pillar's app gradient (readable on dark);
   the stroke uses the core accent. Solid dark fill, icon, bolder type. */
.scrollreel__pill.pill--spirit { color: #F2876F; border-color: #E5533D; }
.scrollreel__pill.pill--soul { color: #A9B6E0; border-color: #7B8EC8; }
.scrollreel__pill.pill--body { color: #A6C0A6; border-color: #7B9B7B; }
.scrollreel__pill.pill--spirit,
.scrollreel__pill.pill--soul,
.scrollreel__pill.pill--body {
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 9px 16px 9px 13px;
  border-width: 1.5px;
  background: rgba(13, 10, 9, 0.9);
  text-shadow: none;
}
.scrollreel__pill svg { width: 15px; height: 15px; flex-shrink: 0; }
/* The app's own Body mark is wide (300x221). */
.pill--body svg { width: 21px; height: 15px; }

/* ── Be His Vessel (home) ── live's full-screen photo close with the CTA. */
.bhv {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
}
.bhv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bhv__fg {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 104px 16px;
}
.bhv__title {
  font-family: 'Season Mix', Georgia, serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.34px;
  color: #fff;
  text-align: center;
  transform: translateY(-100px);
  text-shadow: 0 2px 24px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
}
@media (min-width: 768px) {
  .bhv__fg { padding: 104px 60px; }
  .bhv__title { font-size: 72px; letter-spacing: -1px; }
}
@media (min-width: 1024px) {
  .bhv__title {
    font-size: 100px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.275), 0 1px 4px rgba(0,0,0,0.2);
  }
}
.home .site-footer { margin-top: 0; }

/* ── Page hero (subpages) ── */
.page-head { padding: 64px 0 32px; }
.page-head .kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}
.page-head p.lede {
  margin-top: 16px;
  max-width: 620px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ── CTA pills ── */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border-radius: 9999px;
  padding: 0.95rem 1.9rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}
.cta:hover {
  box-shadow: 0 10px 34px rgba(156,123,91,0.22), 0 0 0 1px rgba(156,123,91,0.14);
  transform: translateY(-1px);
}
.cta__arrow { color: var(--ink-mute); transition: transform 0.3s ease, color 0.3s ease; }
.cta:hover .cta__arrow { transform: translateX(4px); color: var(--brown); }
.cta--dark { background: var(--dark); color: #fff; box-shadow: none; }
.cta--dark .cta__arrow { color: rgba(255,255,255,0.6); }
.cta--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  color: #fff;
}

/* ── Sections ── */
section.band {
  padding: 72px 0;
  background: var(--ground);
  position: relative;
  z-index: 1;
}
section.band--dark { background: var(--dark); color: #fff; }
section.band--dark .sec-lede { color: rgba(255,255,255,0.72); }
.sec-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
}
.sec-lede { margin-top: 14px; max-width: 640px; color: var(--ink-soft); font-size: 1.08rem; }

/* ── Cards & grids ── */
.grid { display: grid; gap: 22px; margin-top: 40px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .card-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
}

/* Phone mockup frames (App page) */
.shot {
  background: var(--dark-2);
  border-radius: 26px;
  padding: 10px;
  border: 1px solid var(--line);
}
.shot img { border-radius: 18px; width: 100%; }
.shot--placeholder {
  aspect-ratio: 9 / 19;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

/* Feature rows (App page): text beside a phone */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; }
.feature .phone { max-width: 300px; margin: 0 auto; }
.feature.flip .phone { order: -1; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .phone { order: 0; }
}

/* Community section — identical to the live landing: white ground,
   Season Mix headline, 320x400 rounded tiles on a 90s loop. */
.community {
  position: relative;
  z-index: 1;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.community__inner {
  width: 100%;
  max-width: 1689px;
  margin: 0 auto;
  padding: 64px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
/* Desktop: the section fills the screen, title and tiles centered in it. */
@media (min-width: 1024px) {
  .community { min-height: 100vh; }
  .community__inner {
    padding: clamp(64px, 6dvh, 96px) 64px;
    gap: clamp(80px, 10dvh, 140px);
  }
}
.community-title {
  font-family: 'Season Mix', Georgia, serif;
  font-weight: 400;
  color: #000;
  line-height: 1;
  letter-spacing: -0.34px;
  font-size: clamp(1.75rem, 8vw, 2.125rem);
  text-align: center;
}
@media (min-width: 1024px) {
  .community-title {
    font-size: clamp(3rem, 6vw, 5.25rem);
    letter-spacing: -0.84px;
  }
}
.marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 90s linear infinite;
  will-change: transform;
}
.marquee__item {
  flex: 0 0 auto;
  width: 320px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f4;
}
.marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .marquee__item { width: 240px; height: 300px; border-radius: 18px; }
  .marquee__track { gap: 16px; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── About ── opener (headline + verse beside the founders photo),
   copy + photo splits, sign-off. */
.about-hero { padding: 56px 0 24px; }
/* All three photo sections share one grid and one 4:5 frame, alternating
   right → left → right down the page. */
.about-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.nowrap { white-space: nowrap; }
.about-hero__copy h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.about-hero__copy .kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 14px;
}
.about-verse { margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.about-verse p {
  font-family: 'Season Mix', Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.about-verse cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
}
@media (max-width: 820px) {
  .about-hero { padding-top: 40px; }
  .about-hero__grid { grid-template-columns: 1fr; gap: 28px; }
}
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-split--flip { grid-template-columns: 0.9fr 1.1fr; } /* photo column stays the narrower one */
.about-split--flip .about-photo { order: -1; }
.about-copy p:not(.sec-kicker) { color: var(--ink-soft); font-size: 1.08rem; }
.about-copy p + p { margin-top: 18px; }
.about-copy p.about-callout:not(.sec-kicker) {
  font-family: 'Season Mix', Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding-left: 18px;
  border-left: 2px solid var(--brown);
}
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  background: #f5f5f4;
}
@media (max-width: 820px) {
  .about-split, .about-split--flip { grid-template-columns: 1fr; }
  .about-split--flip .about-photo { order: 0; }
  .about-photo img { aspect-ratio: 4 / 5; }
}
.about-signoff { text-align: center; }
.about-signoff p { font-size: 1.15rem; color: var(--ink-soft); }
.about-signoff p.serif {
  margin-top: 10px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--ink);
}
.about-team { border-top: 1px solid var(--line); }

/* Team grid (About) */
.person { text-align: center; }
.person .headshot {
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(160deg, #e9e0d2, #d8cbb8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-deep);
  font-family: 'Season Mix', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 14px;
  overflow: hidden;
}
.person .headshot img { width: 100%; height: 100%; object-fit: cover; }
.person .name { font-weight: 700; }
.person .role { color: var(--ink-mute); font-size: 0.9rem; }

/* ── Shop ── live catalog: collection chips, product tiles, product panel. */
.vessel-cta--dark { background: var(--dark); box-shadow: none; }
.vessel-cta--dark:hover { background: #2a241f; box-shadow: none; }
.vessel-cta--dark .vessel-cta__text,
.vessel-cta--dark:hover .vessel-cta__text { background-image: none; -webkit-text-fill-color: #fff; color: #fff; }
.vessel-cta--dark .vessel-cta__arrow { color: rgba(255,255,255,0.6); }
.vessel-cta--dark:hover .vessel-cta__arrow { color: #fff; }
.vessel-cta.is-disabled { opacity: 0.45; pointer-events: none; }

/* Controls sit right under the page intro: no stacked section padding. */
section.band.shop { padding-top: 0; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
/* Filter + sort bar in the Shopify collection-page idiom: text labels,
   chevron dropdowns, product count on the right. */
.shop-filterbar, .shop-sortbar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.shop-sortbar { margin-left: auto; }
.shop-filterbar__label { font-size: 0.95rem; color: var(--ink-mute); }
.shop-dd { position: relative; }
.shop-dd > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.95rem; font-weight: 550; color: var(--ink); padding: 6px 0; user-select: none;
}
.shop-dd > summary::-webkit-details-marker { display: none; }
.shop-dd > summary svg { width: 14px; height: 14px; color: var(--ink-mute); transition: transform 0.2s ease; }
.shop-dd[open] > summary svg { transform: rotate(180deg); }
.shop-dd__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 20; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.1); display: flex; flex-direction: column; gap: 10px;
}
.shop-dd__menu--price { min-width: 280px; }
.shop-dd__hint { font-size: 0.85rem; color: var(--ink-mute); }
.shop-check { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; cursor: pointer; }
.shop-check input { width: 16px; height: 16px; accent-color: var(--dark); }
.shop-check__n { color: var(--ink-mute); font-size: 0.85rem; }
.shop-price { display: flex; gap: 10px; }
.shop-price label { display: flex; align-items: center; gap: 6px; flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--ink-mute); font-size: 0.9rem; }
.shop-price input { width: 100%; border: 0; outline: 0; font: inherit; font-size: 0.95rem; color: var(--ink); min-width: 0; -moz-appearance: textfield; }
.shop-price input::-webkit-outer-spin-button, .shop-price input::-webkit-inner-spin-button { -webkit-appearance: none; }
.shop-dd__menu .ev-link-btn { margin-top: 0; align-self: flex-start; }
.shop-sort { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.shop-sort select {
  appearance: none; -webkit-appearance: none; border: 0; background: none; font: inherit; font-size: 0.95rem; font-weight: 550;
  color: var(--ink); padding: 6px 22px 6px 0; cursor: pointer; outline: 0;
}
.shop-sort svg { position: absolute; right: 0; width: 14px; height: 14px; color: var(--ink-mute); pointer-events: none; }
.shop-count { font-size: 0.95rem; color: var(--ink-mute); }
@media (max-width: 700px) {
  .shop-bar { gap: 12px 20px; }
  .shop-sortbar { margin-left: 0; width: 100%; justify-content: space-between; }
}
.cart-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 8px 14px 8px 12px;
  cursor: pointer;
}
.cart-button svg { width: 18px; height: 18px; }
.cart-button__count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background: var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-button.has-items { border-color: var(--dark); }
.cart-button.has-items .cart-button__count { background: var(--dark); color: #fff; }
.shop-chip {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.shop-chip:hover { border-color: var(--brown); color: var(--ink); }
.shop-chip.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.shop-status { margin-top: 18px; min-height: 0; color: var(--ink-mute); font-size: 0.95rem; }
.shop-status:empty { display: none; }
.shop-status a { color: var(--brown); }
/* Four per row like their Shopify store; 3 on tablet, 2 on phones. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
  margin-top: 28px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; } }
.product-tile { display: block; text-decoration: none; color: inherit; }
.product-tile__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f4;
}
.product-tile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s ease;
}
.product-tile__alt { opacity: 0; }
@media (hover: hover) {
  .product-tile:hover .product-tile__alt { opacity: 1; }
  .product-tile:hover .product-tile__media img { transform: scale(1.03); }
}
.product-tile.is-soldout .product-tile__media img { opacity: 0.7; }
.product-tile__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,0.92);
  padding: 6px 10px;
  border-radius: 9999px;
}
.product-tile__badge--sale { color: #fff; background: var(--brown-deep); }
.product-tile__name { margin-top: 12px; font-weight: 550; font-size: 0.95rem; line-height: 1.3; }
.product-tile__price { color: var(--ink); font-size: 0.92rem; margin-top: 2px; }
.product-tile__price s { margin-right: 4px; }
.shop-more { justify-content: center; margin-top: 56px; }

/* Cart drawer */
.cart {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(23, 20, 18, 0.45);
  display: flex;
  justify-content: flex-end;
}
.cart[hidden] { display: none; }
.cart__panel {
  width: min(440px, 100%);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,0.15);
}
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.cart__title { font-size: 1.5rem; }
.cart__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer; padding: 4px 8px; }
.cart__lines { flex: 1; overflow: auto; padding: 8px 24px; }
.cart__empty { padding: 32px 24px; color: var(--ink-mute); text-align: center; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; transition: opacity 0.2s ease; }
.cart-line.is-busy { opacity: 0.5; pointer-events: none; }
.cart-line__img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; background: #f5f5f4; flex-shrink: 0; }
.cart-line__body { flex: 1; min-width: 0; }
.cart-line__name { font-weight: 550; font-size: 0.95rem; line-height: 1.3; padding-right: 28px; }
.cart-line__opts { color: var(--ink-mute); font-size: 0.85rem; margin-top: 2px; }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cart-line__price { font-size: 0.95rem; color: var(--ink-soft); }
.cart-line__remove { position: absolute; top: 14px; right: 0; background: none; border: 0; font-size: 1.3rem; line-height: 1; color: var(--ink-mute); cursor: pointer; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9999px; }
.qty__btn { width: 32px; height: 32px; background: none; border: 0; font: inherit; font-size: 1.1rem; color: var(--ink); cursor: pointer; }
.qty__n { min-width: 24px; text-align: center; font-size: 0.9rem; font-weight: 550; }
.cart__foot { padding: 16px 24px 24px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-weight: 550; font-size: 1.05rem; }
.cart__note { color: var(--ink-mute); font-size: 0.82rem; margin-top: 4px; }
.cart__checkout { width: 100%; justify-content: center; margin-top: 16px; }

/* Product panel */
body.modal-open { overflow: hidden; }
.pm {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(23, 20, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pm[hidden] { display: none; }
.pm__card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.pm__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.pm__media { background: #f5f5f4; padding: 20px; }
.pm__gallery { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: #eeece9; }
.pm__gallery img { width: 100%; height: 100%; object-fit: cover; }
.pm__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pm__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #eeece9;
  cursor: pointer;
}
.pm__thumb.is-active { border-color: var(--ink); }
.pm__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm__body { padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.pm__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.pm__price { font-size: 1.15rem; color: var(--ink-soft); margin-top: -8px; }
.pm__price s { color: var(--ink-mute); margin-right: 6px; }
.pm__opt-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.pm__opt + .pm__opt { margin-top: 12px; }
.pm__opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.pm__val {
  font: inherit;
  font-size: 0.88rem;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.pm__val.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pm__val.is-out { color: var(--ink-mute); text-decoration: line-through; border-style: dashed; }
.pm__buy { align-self: flex-start; margin-top: 4px; }
.pm__desc { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.pm__desc p + p { margin-top: 10px; }
.pm__desc ul { padding-left: 18px; }
.pm__store { font-size: 0.85rem; color: var(--ink-mute); text-decoration: underline; margin-top: auto; }
@media (max-width: 820px) {
  .pm { padding: 0; align-items: flex-end; }
  .pm__card { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 94vh; width: 100%; }
  .pm__media { padding: 14px 14px 0; background: #fff; }
  .pm__body { padding: 20px 20px 28px; }
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 40px;
  margin-top: 96px;
}
.site-footer .cols {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.site-footer .fineprint {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer .brand-logo img { height: 26px; }
.site-footer .cols { align-items: center; }
.social { display: flex; gap: 14px; }
.social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.75); transition: color 0.2s ease, border-color 0.2s ease; }
.social a:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.social svg { width: 17px; height: 17px; }

/* ── Contact form ── */
section.band.contact { padding-top: 0; }
.page-head--center { text-align: center; }
.page-head--center .lede { margin-left: auto; margin-right: auto; }
.contact-form { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.field span em { font-style: normal; color: var(--brown); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; outline: 0; width: 100%;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 150px; border-radius: 18px; }
.field input:focus, .field textarea:focus { border-color: var(--brown); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__actions { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.contact-form__status { color: var(--ink-soft); font-size: 0.95rem; }
button.vessel-cta.is-disabled { opacity: 0.5; pointer-events: none; }

/* ── Event page (/e/[eventId]) ── same system as the rest of the site:
   white ground, Season Mix headings, pill buttons, brown accents. */
.ev { padding: 40px 0 96px; }
.ev--private { padding: 96px 0 120px; }
.ev--private .sec-lede { margin-top: 18px; }
.ev-banner {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
}
.ev-banner--red { background: rgba(229, 83, 61, 0.12); color: #c2432f; }
.ev-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); /* minmax(0): long unbreakable lines can't widen the card past the wrap */
  grid-template-areas: "cover card" "main card";
  gap: 0 48px;
  align-items: start;
}
.ev-cover { grid-area: cover; }
.ev-main { grid-area: main; }
.ev-card { grid-area: card; }
@media (max-width: 900px) {
  .ev-grid { grid-template-columns: 1fr; grid-template-areas: "cover" "card" "main"; gap: 24px; }
  .ev-section--first { margin-top: 8px; }
}

.ev-cover { position: relative; border-radius: 24px; overflow: hidden; background: #f5f5f4; aspect-ratio: 4 / 3; }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; }
.ev-cover__empty { width: 100%; height: 100%; background: linear-gradient(160deg, #e9e0d2, #d8cbb8); }
.ev-cover__badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,255,255,0.94); color: var(--ink); padding: 7px 12px; border-radius: 9999px;
}
.ev-section { margin-top: 40px; }
.ev-desc { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }
.ev-desc + .ev-desc { margin-top: 14px; }

/* Details card */
.ev-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  position: sticky;
  top: 112px;
}
@media (max-width: 900px) { .ev-card { position: static; } }
.ev-card__kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 12px;
}
.ev-title { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.08; }
.ev-metas { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.ev-meta { display: flex; gap: 12px; align-items: flex-start; }
.ev-meta__icon { width: 20px; height: 20px; color: var(--brown); flex-shrink: 0; margin-top: 2px; }
.ev-meta__icon svg { width: 100%; height: 100%; }
.ev-meta__main { font-weight: 550; line-height: 1.35; }
.ev-meta__city { color: var(--ink-mute); font-weight: 400; }
.ev-meta__sub { color: var(--ink-mute); font-size: 0.92rem; margin-top: 2px; }
.ev-host { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.ev-host__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #e9e0d2; display: block; }
.ev-host__label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.ev-host__name { font-weight: 550; }
.ev-host__name span { color: var(--ink-mute); font-weight: 400; font-size: 0.9rem; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ev-tag {
  font-size: 0.78rem; font-weight: 550; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 9999px; padding: 6px 12px;
}
.ev-tag--price { color: var(--brown-deep); border-color: rgba(156,123,91,0.5); background: rgba(156,123,91,0.08); }
.ev-card__controls { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }

/* RSVP controls */
.ev-cta { width: 100%; justify-content: center; }
.ev-rsvp { display: flex; flex-direction: column; gap: 10px; }
.ev-pill {
  font: inherit; font-size: 0.92rem; font-weight: 550; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 9999px;
  padding: 11px 18px; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.ev-pill:hover { border-color: var(--brown); }
.ev-pill.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.ev-pill--wide { width: 100%; padding: 14px 18px; }
.ev-pill--quiet { color: var(--ink-mute); }
.ev-choice { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ev-fine { color: var(--ink-mute); font-size: 0.85rem; line-height: 1.5; margin-top: 10px; }
.ev-link-btn {
  display: inline-block; margin-top: 14px; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 0.92rem; font-weight: 550; color: var(--brown-deep); text-decoration: underline;
}
.ev-status__line { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: 1.05rem; }
.ev-status__check {
  width: 26px; height: 26px; border-radius: 50%; background: #7B9B7B; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ev-status__check svg { width: 15px; height: 15px; }
.ev-status__check--brown { background: var(--brown); }
.ev-status__check--lg { width: 44px; height: 44px; }
.ev-status__check--lg svg { width: 24px; height: 24px; }
.ev-codes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ev-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95rem; letter-spacing: 0.06em;
  background: #f5f2ed; border: 1px dashed rgba(156,123,91,0.5); color: var(--ink); padding: 8px 12px; border-radius: 10px;
}
.ev-notice { border-radius: 16px; padding: 14px 16px; }
.ev-notice + .ev-cta, .ev-notice + .vessel-cta { margin-top: 12px; }
.ev-notice__title { font-weight: 550; }
.ev-notice__body { color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; line-height: 1.5; }
.ev-notice--muted { background: #f5f2ed; }
.ev-notice--brown { background: rgba(156,123,91,0.1); }
.ev-notice--red { background: rgba(229, 83, 61, 0.1); }
.ev-notice--red .ev-notice__title { color: #c2432f; }

/* Tickets */
.ev-tickets__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.ev-tickets__price { font-size: 1.5rem; font-weight: 550; line-height: 1.1; }
.ev-tickets__price span { font-size: 0.9rem; color: var(--ink-mute); font-weight: 400; margin-left: 4px; }
.ev-tickets__left { color: var(--ink-mute); font-size: 0.88rem; margin-top: 4px; }
.ev-cta.is-disabled, .ev-cta:disabled { opacity: 0.45; pointer-events: none; }
button.vessel-cta { font: inherit; border: 0; cursor: pointer; }

/* Announcements */
.ev-announcements { display: flex; flex-direction: column; gap: 12px; }
.ev-announcement { background: #f5f2ed; border-radius: 16px; padding: 16px 18px; }
.ev-announcement__body { color: var(--ink); line-height: 1.55; }
.ev-announcement__when { color: var(--ink-mute); font-size: 0.82rem; margin-top: 6px; }

/* Host panel */
.ev-hostpanel { background: var(--dark); color: #fff; border-radius: 24px; padding: 26px; }
.ev-hostpanel__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #C3A17B; margin-bottom: 16px; }
.ev-hostpanel__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 600px) { .ev-hostpanel__grid { grid-template-columns: 1fr; } }
.ev-tool {
  display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 14px 16px;
  transition: background 0.2s ease;
}
.ev-tool:hover { background: rgba(255,255,255,0.1); }
.ev-tool__label { font-weight: 550; }
.ev-tool__sub { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.ev-tool--danger .ev-tool__label { color: #F2876F; }
.ev-sharelink { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); }
.ev-sharelink__label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.ev-sharelink__label svg { width: 16px; height: 16px; }
.ev-sharelink__row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ev-sharelink__url { font-size: 0.85rem; background: rgba(255,255,255,0.08); padding: 10px 12px; border-radius: 10px; flex: 1; min-width: 200px; color: #fff; }
.ev-hostpanel .ev-pill { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); color: #fff; }
.ev-hostpanel .ev-pill--quiet { color: rgba(255,255,255,0.7); }
.ev-hostpanel .ev-fine { color: rgba(255,255,255,0.55); }

/* Get the app */
.ev-getapp {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--dark); color: #fff; border-radius: 24px; padding: 26px 28px;
}
@media (max-width: 600px) { .ev-getapp { flex-direction: column; align-items: flex-start; } }
.ev-getapp__icon { width: 88px; height: 88px; border-radius: 20px; flex-shrink: 0; box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.ev-getapp__copy { flex: 1; }
@media (max-width: 600px) { .ev-getapp__icon { width: 64px; height: 64px; border-radius: 15px; } }
.ev-getapp__title { font-family: 'Season Mix', Georgia, serif; font-size: 1.4rem; line-height: 1.15; }
.ev-getapp__sub { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-top: 6px; max-width: 480px; }
/* Compact variant (event page): one line of copy, no heading. */
.ev-getapp__lead { color: rgba(255,255,255,0.9); font-size: 1.02rem; line-height: 1.5; max-width: 480px; }
.ev-getapp .vessel-cta--dark { background: #fff; box-shadow: none; flex-shrink: 0; }
.ev-getapp .vessel-cta--dark .vessel-cta__text { -webkit-text-fill-color: var(--ink); color: var(--ink); }
.ev-getapp .vessel-cta--dark .vessel-cta__arrow { color: var(--ink-mute); }
.ev-report { margin-top: 28px; font-size: 0.85rem; }
.ev-report a { color: var(--ink-mute); }

/* Post-RSVP interstitial */
.ev-interstitial {
  position: fixed; inset: 0; z-index: 120; background: rgba(23,20,18,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.ev-interstitial__card {
  background: #fff; border-radius: 24px; padding: 36px 32px; width: min(460px, 100%);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.ev-interstitial__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brown); }
.ev-interstitial__card h2 { font-size: 1.7rem; line-height: 1.1; }
.ev-interstitial__card p:not(.ev-interstitial__kicker) { color: var(--ink-soft); line-height: 1.55; }
.ev-interstitial__card .ev-cta { margin-top: 8px; }

/* Preview-only state switcher */
.ev-preview {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  background: var(--dark); color: #fff; border-radius: 9999px; padding: 8px 14px;
  font-size: 0.78rem; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.ev-preview label { display: flex; align-items: center; gap: 10px; }
.ev-preview select { font: inherit; font-size: 0.82rem; background: #fff; color: var(--ink); border: 0; border-radius: 9999px; padding: 6px 10px; }

/* ── Discover (/events) ── */
section.band.discover { padding-top: 0; }
.disc-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.disc-field {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 9999px; padding: 0 16px; height: 46px;
  color: var(--ink-mute); min-width: 180px;
}
.disc-field--grow { flex: 1 1 320px; }
.disc-field svg { width: 18px; height: 18px; flex-shrink: 0; }
.disc-field input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 0.95rem; color: var(--ink); min-width: 0; }
.disc-field input::placeholder { color: var(--ink-mute); }
.disc-field:focus-within { border-color: var(--brown); }
.disc-submit { height: 46px; }
.disc-status { margin-top: 18px; }
.evc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: 8px; }
@media (max-width: 900px) { .evc-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
@media (max-width: 560px) { .evc-grid { grid-template-columns: 1fr; } }
.evc { display: block; text-decoration: none; color: inherit; }
.evc__media { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #f5f5f4; }
.evc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
@media (hover: hover) { .evc:hover .evc__media img { transform: scale(1.03); } }
.evc__price {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255,255,255,0.94); color: var(--ink); padding: 6px 10px; border-radius: 9999px;
}
.evc__date { margin-top: 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown); }
.evc__title { margin-top: 6px; font-size: 1.25rem; line-height: 1.2; }
.evc__meta { color: var(--ink-soft); font-size: 0.92rem; margin-top: 6px; }
.evc__going { color: var(--ink-mute); font-size: 0.85rem; margin-top: 2px; }
.disc-more { justify-content: center; margin-top: 48px; }
.disc-app { padding-top: 0; }

/* ── Auth (/login, /signup, /auth/callback, /account/complete) ── one
   centered card on the white ground; inputs reuse .field from Contact. */
.auth { padding: 56px 20px 120px; display: flex; justify-content: center; }
.auth__card {
  width: min(460px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
}
.auth__card--wide { width: min(540px, 100%); }
@media (max-width: 600px) { .auth { padding-top: 32px; } .auth__card { padding: 28px 22px; } }
.auth__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brown); }
.auth__title { font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.1; }
.auth__lede { color: var(--ink-soft); line-height: 1.55; }
.auth__form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.auth__form .ev-cta { margin-top: 4px; }
.auth__captcha {
  height: 64px; border: 1px dashed var(--line); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.auth__or { display: flex; align-items: center; gap: 14px; color: var(--ink-mute); font-size: 0.82rem; margin: 6px 0; }
.auth__or::before, .auth__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth__providers { display: flex; flex-direction: column; gap: 10px; }
.auth__provider {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 550; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 9999px; padding: 13px 18px;
  transition: border-color 0.2s ease;
}
.auth__provider:hover { border-color: var(--brown); }
.auth__provider svg { width: 18px; height: 18px; flex-shrink: 0; }
.auth__fine { color: var(--ink-mute); font-size: 0.85rem; line-height: 1.5; }
.auth__fine a { color: var(--brown); }
.auth__back { color: var(--ink-soft); font-size: 0.9rem; padding-top: 12px; border-top: 1px solid var(--line); }
.auth__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.auth__actions .ev-pill { width: 100%; padding: 13px 18px; text-align: center; }
.auth__icon {
  width: 56px; height: 56px; border-radius: 50%; background: #f5f2ed; color: var(--brown);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.auth__icon svg { width: 26px; height: 26px; }
.auth__icon--brown { background: var(--brown); color: #fff; }
.auth__spinner {
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 8px;
  border: 3px solid var(--line); border-top-color: var(--brown);
  animation: auth-spin 0.9s linear infinite;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }
.auth__check { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.auth__check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--brown); }
.field__affix { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.2s ease; }
.field__affix b { padding: 0 0 0 16px; color: var(--ink-mute); font-weight: 550; }
.field__affix input { border: 0; padding-left: 6px; }
.field__affix:focus-within { border-color: var(--brown); }
.field__hint, .field__error { font-size: 0.82rem; line-height: 1.45; color: var(--ink-mute); }
.field__error { color: #c2432f; }
.field.is-invalid input, .field.is-invalid .field__affix { border-color: #c2432f; }
.field.is-invalid .field__affix input { border-color: transparent; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 50px; }

/* ── My events (/events/mine) ── */
.my-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.my-head__actions { display: flex; align-items: center; gap: 18px; padding-bottom: 6px; }
.my-head__browse { color: var(--ink-soft); font-weight: 550; text-decoration: none; }
.my-head__browse:hover { color: var(--brown); }
section.band.my { padding-top: 8px; }
.my-section { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); font-family: inherit; margin: 28px 0 10px; }
.my-section:first-child { margin-top: 0; }
.my-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.my-row {
  display: grid; grid-template-columns: 132px 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px;
}
.my-row__media { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f5f5f4; }
.my-row__media img { width: 100%; height: 100%; object-fit: cover; }
.my-row__date { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown); }
.my-row__title { font-size: 1.25rem; line-height: 1.2; margin-top: 4px; }
.my-row__title a { color: inherit; text-decoration: none; }
.my-row__title a:hover { color: var(--brown-deep); }
.my-row__meta { color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; }
.my-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 150px; }
.my-row__actions { display: flex; gap: 8px; }
.my-row__actions .ev-pill { padding: 9px 14px; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 8px; }
.my-badge { background: var(--brown); color: #fff; font-size: 0.7rem; font-weight: 700; border-radius: 9999px; min-width: 18px; height: 18px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; }
.my-row__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; color: var(--ink); font-size: 0.92rem; }
.my-row__link .vessel-cta__arrow { width: 1rem; height: 1rem; color: var(--ink-mute); }
.my-row__link:hover { color: var(--brown-deep); }
.my-row__fine { color: var(--ink-mute); font-size: 0.88rem; }
.my-status {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 9999px; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink-soft);
}
.my-status--hosting { background: var(--dark); border-color: var(--dark); color: #fff; }
.my-status--going { background: rgba(156,123,91,0.1); border-color: rgba(156,123,91,0.45); color: var(--brown-deep); }
.my-status--waitlisted { color: var(--ink-mute); }
.my-status--cancelled { background: rgba(229,83,61,0.08); border-color: rgba(229,83,61,0.3); color: #c2432f; }
.my-row--past { opacity: 0.72; }
.my-row--past .my-row__media img { filter: grayscale(0.5); }
.my-row--cancelled .my-row__title { text-decoration: line-through; text-decoration-color: var(--ink-mute); }
.my-past { margin-top: 36px; }
.my-past summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute);
  padding: 14px 0; border-top: 1px solid var(--line);
}
.my-past summary::-webkit-details-marker { display: none; }
.my-past summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-left: auto; transition: transform 0.2s ease; }
.my-past[open] summary::after { transform: rotate(-135deg); }
.my-past summary span { background: #f5f2ed; border-radius: 9999px; padding: 2px 8px; letter-spacing: 0; }
.my-past .my-list { margin-top: 4px; }
.my-empty { text-align: center; max-width: 520px; margin: 24px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; border: 1px dashed var(--line); border-radius: 24px; }
.my-empty h2 { font-size: 1.8rem; line-height: 1.1; }
.my-empty p:not(.auth__kicker) { color: var(--ink-soft); line-height: 1.55; }
.my-empty__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
@media (max-width: 760px) {
  .my-row { grid-template-columns: 96px 1fr; }
  .my-row__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; min-width: 0; }
  .my-row__title { font-size: 1.1rem; }
}

/* links styled as pills/rows never underline */
a.ev-pill, .my-row__link, .my-head__browse { text-decoration: none; }

/* iOS 26 Safari paints the status-bar strip from BODY's background and
   ignores theme-color (WebKit 300965). Body goes dark to match the header
   and footer; everything between them paints its own white. :where() keeps
   this at zero specificity so any section with its own background wins. */
body:not(.page-dark) { background: #2a2725; }
:where(body:not(.page-dark)) > :where(*:not(.site-header, .site-footer, script, .ev-preview)) { background-color: var(--ground); }
/* App page (dark ground): same deal, so its strip is the header color
   rather than the page's near-black. */
body.page-dark { background: #2a2725; }
:where(body.page-dark) > :where(*:not(.site-header, .site-footer, script)) { background-color: #0d0a09; }
.ev-desc a { color: var(--brown-deep); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }

/* Team: two per row on phones (one per row made the headshots huge;
   Peter, Oct 10). Order in the markup: Spencer, Graham / Peter, Matt. */
@media (max-width: 600px) {
  .about-team .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .person .headshot { max-width: 160px; margin-left: auto; margin-right: auto; }
}
/* Home: iOS 26 Safari tints its top strip AND bottom toolbar from the body
   color. The hero photo runs under both, so the body takes the photo's own
   average edge tone (#a19b92, sampled from hero-mobile.webp top and bottom
   8%) instead of the dark header color the other pages use. */
body.home { background: #a19b92; }

/* Mobile menu: an inset, opaque card with row dividers instead of the
   edge-to-edge translucent sheet (Peter, Oct 10). Same on every page. */
@media (max-width: 820px) {
  .site-nav,
  .site-header.over-hero .site-nav {
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    background: #1a1715;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 8px 8px 12px;
    gap: 0;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
  .site-header.over-hero .site-nav { top: calc(100% + 12px); }
  .site-nav a:not(.vessel-cta) {
    width: 100%;
    padding: 15px 14px;
    font-size: 1.1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .site-nav a:not(.vessel-cta):last-of-type { border-bottom: 0; }
  .site-nav a.active:not(.vessel-cta) { color: #C3A17B; }
  .site-nav a.vessel-cta { margin: 10px 6px 2px; align-self: stretch; justify-content: center; }
  /* While open, the hamburger shows a close glyph and the home's clear
     header gets a ground so the card hangs off something. */
  .nav-toggle.is-open { font-size: 1.5rem; line-height: 1; }
  body.theme-community .site-header.over-hero .site-nav a:not(.vessel-cta) { color: #fff; }
}

/* Shop bar on phones: two tidy rows — filters with the cart on the right,
   then sort with the product count on the right (Peter, Oct 10). */
@media (max-width: 600px) {
  .shop-bar { display: grid; grid-template-columns: 1fr auto; gap: 14px 12px; align-items: center; padding-bottom: 16px; }
  .shop-filterbar { grid-column: 1; grid-row: 1; gap: 14px; }
  .cart-button { grid-column: 2; grid-row: 1; justify-self: end; }
  .shop-sortbar { grid-column: 1 / -1; grid-row: 2; margin-left: 0; width: 100%; justify-content: space-between; gap: 12px; }
}
