/* owner: main. 01 hero, 02 proof strip, 18 final + footer. */

/* 01 hero: the morning sea. Misty cream sky, light mint sea, lime light that stays. One headline, one line, one button. */
.hero { position: relative; min-height: max(100svh, 720px); display: flex; flex-direction: column; isolation: isolate; overflow: clip; background: var(--cream); }
.hero__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58.5%; }
.hero__glow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__ship { position: absolute; z-index: 3; right: -40px; bottom: -40px; width: 600px; height: 400px; pointer-events: none; }
.hero__bow { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(transparent 0%, #000 36%); mask-image: linear-gradient(transparent 0%, #000 36%); }
.hero__ship::after { content: ""; position: absolute; left: 10%; bottom: 8%; width: 80%; height: 30%; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent); }
.hero__pirate { position: absolute; z-index: 1; left: 44%; bottom: 57%; height: 380px; width: 202px; }
.hero__pirate > img { margin: 0 auto; filter: drop-shadow(-5px -3px 10px rgba(255, 248, 220, .9)) drop-shadow(0 18px 14px rgba(42, 54, 0, .25)); }
.hero__pirate::after { bottom: -4px; width: 64%; height: 18px; background: radial-gradient(closest-side, rgba(42, 30, 0, .4), transparent); }
.hero__in { position: relative; z-index: 4; flex: 1; display: grid; align-items: center; padding-top: var(--top-h); padding-bottom: 120px; width: 100%; }
.hero__copy { max-width: 1000px; }
.hero__h { color: var(--ink); }
.hero__inv { display: block; color: var(--olive); }
.hero__line { margin-top: 22px; color: var(--olive-deep); max-width: 32ch; }
.hero__btn { margin-top: 32px; }

@media (max-width: 1100px) {
  .hero__ship { width: 460px; height: 307px; right: -60px; bottom: -30px; }
  .hero__pirate { height: 292px; width: 155px; }
  }
@media (max-width: 700px) {
  .hero { min-height: 100svh; }
  .hero__plate img { object-position: 60% 61%; }
  .hero__in { padding-top: calc(var(--top-h) + 22px); padding-bottom: 270px; }
  .hero__line { margin-top: 14px; }
  .hero__btn { margin-top: 22px; width: 100%; }
  .hero__ship { width: 280px; height: 187px; right: -46px; bottom: -22px; }
  .hero__pirate { height: 176px; width: 94px; }
  .top:not(.is-past) .top__nav .btn { visibility: hidden; }
}

/* 02 proof strip: the top of the cream band under the hero. BP's own count, never shown as proof. */
.proof { position: relative; background: var(--cream); padding: 44px 0 clamp(48px, 5vw, 72px); }
.proof__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 48px; align-items: center; }
.proof__h { color: var(--olive); }
.proof__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__list li { display: flex; flex-direction: column; gap: 2px; padding: 2px 22px; border-left: 2px solid rgba(42, 54, 0, .15); }
.proof__list li:first-child { border-left: 0; padding-left: 0; }
.proof__n { color: var(--ink); font-size: clamp(30px, 3.1vw, 48px); white-space: nowrap; }
.proof__list .s { color: var(--muted); }
.proof__note { grid-column: 2; margin: 0; color: var(--muted); }
@media (max-width: 1100px) { .proof__note { grid-column: 1; } }
.proof__more { display: inline; }
.proof__more summary { display: inline; cursor: pointer; color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.proof__more[open] { display: block; margin-top: 6px; }
@media (max-width: 1100px) {
  .proof__in { grid-template-columns: 1fr; }
  .proof__list { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .proof__list li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) { .proof { padding-top: 32px; } .proof__list li { padding: 2px 14px; } }

/* 18 final + footer */
.final { position: relative; isolation: isolate; overflow: clip; min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--sec-y) + 20px) 0 var(--sec-y); }
.final__plate img { height: 125%; object-position: 50% 55%; }
.final__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(251, 246, 230, .94) 0%, rgba(251, 246, 230, .78) 38%, rgba(251, 246, 230, 0) 62%); }
.final__in { width: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.final__kicker { color: var(--olive); font-weight: 600; }
.final__h { margin-top: 12px; max-width: 12ch; }
.final__sub { margin-top: 22px; color: var(--muted); max-width: 38ch; }
.final__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.final__list { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; color: var(--olive-deep); font-weight: 600; }
.final__list li { display: inline-flex; align-items: center; gap: 8px; }
.final__list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 2px var(--olive-deep); }
.final__mail { margin-top: 20px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.final__copybtn { border: 0; background: var(--lime-soft); padding: 6px 12px; border-radius: 999px; cursor: pointer; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(42, 54, 0, .3); transition: background-color 160ms ease; }
.final__copybtn:hover { background: var(--lime); }
.final__side { position: relative; height: 480px; }
.final__pirate { position: absolute; right: 8%; bottom: 0; height: 440px; width: 240px; }
.final__bubble { right: calc(8% + 200px); bottom: 360px; }
.foot { background: var(--sand); color: var(--ink); padding: 72px 0 28px; border-top: 2px solid var(--olive-deep); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 48px; }
.foot__logo { width: 190px; height: auto; background: var(--paper); border-radius: 14px; padding: 10px 14px; box-sizing: content-box; }
.foot__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.foot__brand .s { color: var(--muted); max-width: 32ch; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot__cols h3 { color: var(--olive); margin-bottom: 12px; }
.foot__cols ul { display: grid; gap: 8px; }
.foot__cols a { color: var(--olive-deep); text-decoration: none; background: linear-gradient(var(--olive), var(--olive)) 0 100% / 0 2px no-repeat; transition: background-size 260ms var(--ease), color 160ms; }
.foot__cols a:hover { color: var(--olive); background-size: 100% 2px; }
.foot__nums li { color: var(--muted); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(42, 54, 0, .2); color: var(--muted); }
@media (max-width: 1100px) {
  .final__in { grid-template-columns: 1fr; }
  .final__side { height: 340px; }
  .final__pirate { height: 320px; width: 170px; right: 4%; }
  .final__bubble { right: calc(4% + 150px); bottom: 250px; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .final { min-height: 0; padding: 72px 0 24px; }
  .final__veil { background: linear-gradient(rgba(251, 246, 230, .95) 0%, rgba(251, 246, 230, .86) 60%, rgba(251, 246, 230, .2) 100%); }
  .final__btns .btn { width: 100%; }
  .final__side { height: 280px; }
  .final__pirate { height: 260px; width: 140px; right: 0; }
  .final__bubble { left: 0; right: auto; bottom: 190px; max-width: 180px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__base { flex-direction: column; }
}

/* page owner, light rule: a dark poster frame of a real founder video is washed light at rest; the video itself plays untouched */
.cin__screen:not(.is-playing) .cin__video { filter: brightness(1.45) contrast(.82) saturate(.85); }

/* 12 claim, closing scene (main): midday, the lit sea, the buyers' sails gathered around the ship, the pirate back on the bow */
.claim { padding-bottom: 0; }
.claim__head { margin-bottom: clamp(36px, 4vw, 56px); }
.claim__harbour { position: relative; height: clamp(250px, 25vw, 380px); margin-top: clamp(8px, 2vw, 24px); }
.claim__glow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.claim__ship { position: absolute; z-index: 2; right: max(16px, 6vw); bottom: -34px; width: clamp(260px, 30vw, 470px); aspect-ratio: 640 / 427; pointer-events: none; }
.claim__bow { display: block; width: 100%; height: auto; }
.claim__ship::after { content: ""; position: absolute; left: 6%; bottom: 6%; width: 84%; height: 26%; background: radial-gradient(closest-side, rgba(255, 255, 255, .6), transparent); z-index: -1; }
.claim .claim__slot { position: absolute; left: 46%; right: auto; bottom: 56%; height: 74%; width: auto; aspect-ratio: 189 / 450; display: block; filter: drop-shadow(0 10px 14px rgba(68, 90, 0, .18)); }
.claim .claim__slot img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 899px) {
  .claim__head { margin-bottom: 32px; }
  .claim__harbour { height: 230px; }
  .claim__ship { right: -30px; bottom: -22px; width: 232px; }
}

/* join fix (main): the cinema pirate stands beside the film strip and never reaches up into the quote */
@media (min-width: 901px) { .cin__pirate { height: 230px !important; width: 154px !important; } }

/* main review fixes, 30 Nov */
/* 9: the back of Nick's post sits on top of the front (no turn-over), so a crossfade shows it */
.br__face--back { transform: translateZ(1px); transition: none; }
.br__face { transition: none; }
/* 2: less space between the numbers strip and "Be honest" (the strip keeps room for the wave join) */
#sound { padding-top: clamp(20px, 2.4vw, 36px); }
/* 5: no tinted lane bands on the 30-day board (they read as big empty bands); a thin dashed lane line instead */
.how__track::before, .how__track::after { background: none !important; box-shadow: none !important; border-radius: 0; margin: 0 0 -8px; border-bottom: 2px dashed rgba(42, 54, 0, .2); }
/* 6: the slider shows only real material: no drawn post cards floating around it, no dashed "No post" boxes */
.cmp__ghost { display: none !important; }
.cmp__pf--alone .cmp__posts { visibility: hidden; }
/* 6: the pointing pirate stands fully left of the slider frame on wide screens */
@media (min-width: 1101px) {
  .cmpx__stage { padding-left: 176px; padding-right: 40px; }
  .cmpx__guide { left: 0; }
}
/* 7: the sticky claim pill is small and keeps to the bottom edge; it also steps aside while the slider, the founders wall,
   the 30-day board, the week calendar or the road phones are on screen (core.js) */
.sticky { padding: 5px 5px 5px 14px; gap: 10px; box-shadow: inset 0 0 0 2px var(--olive-deep), 0 10px 24px -14px rgba(42, 54, 0, .35); }
.sticky .s { font-size: 13px; }
.sticky .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
@media (min-width: 901px) { .sticky { right: 14px; bottom: 14px; } }
@media (max-width: 900px) { .sticky { left: 0; right: 0; bottom: 0; border-radius: 16px 16px 0 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)) 16px; } }
/* no "No post" placeholder boxes anywhere: weeks with no post on your own are simply empty */
.week__wkcell--none { box-shadow: none !important; }
