/* Skipper Ledger · site-v3 distinctiveness layer (DRAFT, mock only). Loads after site-v2.css. */
:root { --rule-gap: 32px; --margin-x: 44px; --note-font: var(--font-display); }

/* 1 · Motif: ledger rule → wake line */
.ledger-wake { height: 40px; background: url("/assets/v3/motif/ledger-wake-teal.svg?v=09767ab834") left center / 100% 40px no-repeat; margin: 0 0 28px; opacity: .9; }
.ledger-wake.wake { background-image: url("/assets/v3/motif/ledger-wake-wake.svg?v=33b446bfb0"); }
.ledger-wake.white { background-image: url("/assets/v3/motif/ledger-wake-white.svg?v=814fed75e6"); }
.kicker { display: flex; align-items: center; gap: 12px; font: 700 12px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.kicker .no { color: var(--teal); font-variant-numeric: tabular-nums; }
.kicker::after { content: ""; flex: 0 0 72px; height: 2px; background: var(--wake); border-radius: 2px; }

/* 2 · Nib-tip bullets (from the Nib Sail mark's tip) */
.li-dot { width: 10px; height: 12px; border: 0; border-radius: 0; background: url("/assets/v3/motif/nib-tip-wake.svg?v=0cde2b3f85") center / contain no-repeat; margin-top: 4px; flex: 0 0 10px; }
.nib-list { list-style: none; padding: 0; }
.nib-list li { padding-left: 22px; position: relative; margin: 6px 0; }
.nib-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 12px; background: url("/assets/v3/motif/nib-tip-wake.svg?v=0cde2b3f85") center / contain no-repeat; }

/* 3 · Logbook paper: ruled lines + teal margin rule */
.logbook { position: relative; background-color: #fff; background-image:
  linear-gradient(90deg, transparent calc(var(--margin-x) - 1px), rgba(29,181,166,.8) calc(var(--margin-x) - 2px), rgba(29,181,166,.8) var(--margin-x), transparent var(--margin-x)),
  repeating-linear-gradient(180deg, transparent 0 calc(var(--rule-gap) - 1px), rgba(11,110,110,.11) calc(var(--rule-gap) - 1px) var(--rule-gap));
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 20px calc(var(--margin-x) + 24px); box-shadow: var(--shadow-sm); }
.section.alt .voyage .how .step.logbook { background-color: #fff; }
.logbook .n, .logbook .step-no { font-family: var(--font-display); color: var(--teal); }
.logbook-entry-date { font: 600 11.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-soft); }

/* 4 · Margin notes (handwritten style) */
.margin-note { font-family: var(--note-font); font-size: 22px; line-height: 1.15; color: var(--teal); transform: rotate(-2.5deg); display: inline-block; max-width: 220px; }
.margin-note::before { content: ""; display: inline-block; width: 34px; height: 14px; margin-right: 6px; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 14'%3E%3Cpath d='M2 10c8-6 16-6 26-2' fill='none' stroke='%231DB5A6' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M24 4l5 4-6 3' fill='none' stroke='%231DB5A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.margin-note.draft::after { content: " · draft"; font: 600 10px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-soft); }

/* 5 · Section photos */
.sec-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--mint); }
.sec-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.sec-photo.r43 { aspect-ratio: 4 / 3; } .sec-photo.r169 { aspect-ratio: 16 / 9; } .sec-photo.r34 { aspect-ratio: 3 / 4; } .sec-photo.r11 { aspect-ratio: 1; }
.sec-photo figcaption { position: absolute; left: 16px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); font: 600 12px/1 var(--font-display); padding: 8px 12px; border-radius: 999px; display: flex; gap: 8px; align-items: center; }
.sec-photo figcaption::before { content: ""; width: 8px; height: 10px; background: url("/assets/v3/motif/nib-tip-teal.svg?v=be47b005fe") center / contain no-repeat; }
.photo-stack { position: relative; }
.photo-stack .overlay { position: absolute; right: -18px; bottom: -28px; width: min(58%, 340px); }
.photo-stack .overlay.left { right: auto; left: -18px; }
.photo-stack .overlay .mini-card, .photo-stack .overlay img.interactive { box-shadow: var(--shadow); background: #fff; border-radius: 18px; }
.photo-stack .note-pin { position: absolute; top: -40px; right: 6px; }
.photo-stack .note-pin .margin-note { max-width: none; white-space: nowrap; }
.photo-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.photo-strip .sec-photo { aspect-ratio: auto; height: 300px; }
.card-photo { margin: -28px -28px 20px; border-radius: 16px 16px 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 6 · Teal Wake colour bands */
.band { position: relative; padding: 84px 0; }
.band.mint { background: var(--mint); }
.band.ink { background: var(--ink); color: #fff; }
.band.teal { background: linear-gradient(135deg, var(--teal), #0A5A5A); color: #fff; }
.band.photo { color: #fff; overflow: hidden; }
.band.photo > .band__media { position: absolute; inset: 0; }
.band.photo > .band__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.band.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,58,58,.86) 0%, rgba(11,110,110,.55) 52%, rgba(11,110,110,.05) 100%); z-index: 1; }
.band > .wrap { position: relative; z-index: 2; }

/* 7 · Founder-voice pull quote */
.pull-quote { max-width: 760px; }
.pull-quote blockquote { font: 700 clamp(26px, 3vw, 38px)/1.22 var(--font-display); letter-spacing: -.02em; margin: 0 0 18px; }
.pull-quote blockquote::before { content: ""; display: block; width: 16px; height: 20px; margin-bottom: 18px; background: url("/assets/v3/motif/nib-tip-white.svg?v=fb92c7d2de") center / contain no-repeat; }
.band.mint .pull-quote blockquote::before { background-image: url("/assets/v3/motif/nib-tip-teal.svg?v=be47b005fe"); }
.pull-quote cite { font: 500 14px/1.4 var(--font-body); font-style: normal; opacity: .85; }
.pull-quote .src { display: inline-block; margin-left: 10px; font: 600 10.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.16); }
.band.mint .pull-quote .src { background: rgba(11,110,110,.1); color: var(--teal); }

/* 8 · CTA on photo */
.cta-band.photo-cta { background: linear-gradient(90deg, rgba(8,58,58,.92), rgba(11,110,110,.55) 60%, rgba(11,110,110,.15)), var(--cta-img) center / cover no-repeat; min-height: 260px; }
.cta-band.photo-cta::before { display: none; }

/* 9 · Layout helpers */
.split-photo { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.split-photo.top { align-items: start; }
.photo-stack .note-below { margin-top: 18px; padding-left: 8px; }
.vote-legend { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.split-photo.flip > :first-child { order: 2; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.problem-grid .feat { padding: 22px; }
.problem-grid .feat:last-child { grid-column: 1 / -1; }
.founder-pending { display: inline-block; margin-top: 12px; font: 600 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--warning); background: var(--warning-bg); padding: 6px 9px; border-radius: 6px; }

@media (max-width: 800px) {
  .split-photo, .split-photo.flip { grid-template-columns: 1fr; gap: 28px; }
  .split-photo.flip > :first-child { order: 0; }
  .split-photo.top > .photo-stack { order: 2; }
  .sec-photo.r34 { aspect-ratio: 4 / 3; }
  .problem-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip > :first-child { grid-column: 1 / -1; }
  .photo-strip .sec-photo { height: 200px; }
  .photo-stack .overlay { position: relative; right: auto; left: auto; bottom: auto; width: 100%; margin-top: -40px; padding: 0 14px; }
  .photo-stack .note-pin { display: none; }
  .band { padding: 56px 0; }
  .band.photo::before { background: linear-gradient(180deg, rgba(8,58,58,.55), rgba(8,58,58,.88)); }
  .margin-note { font-size: 19px; }
  .cta-band.photo-cta { background: linear-gradient(180deg, rgba(8,58,58,.7), rgba(8,58,58,.92)), var(--cta-img) center / cover no-repeat; }
}

/* Contrast fixes (axe): wake on white/fog was ~2.4:1 — use teal like step numbers */
.kicker .no { color: var(--teal); }
.band.mint .pull-quote .src { color: #0A5252; background: #fff; font-weight: 700; opacity: 1; }
.band.mint .pull-quote cite { opacity: 1; color: var(--ink-soft); }
.founder-pending { color: #8A5A00; background: #F7E7C1; }
.logbook .n, .logbook .step-no { color: var(--teal); }
/* Developer Bot: keep section photos contained (masters are 1600w) */
.sec-photo { max-width: 960px; }
.photo-stack .sec-photo { max-width: none; }
.band__media img { max-width: none; }
.card-photo img { max-width: none; }
.margin-note { font-style: italic; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
@media (max-width: 800px) { .margin-note { font-size: 16px; } }
.faq-with-side { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: start; }
@media (max-width: 800px) { .faq-with-side { grid-template-columns: 1fr; } .faq-with-side .sec-photo { max-width: 100%; } }

/* v6 hero portal note (shared Home/Features) */
.hero-portal-note { font-size: 13px; line-height: 1.45; color: var(--ink-soft); font-weight: 500; margin: 12px 0 20px; }
.photo-hero .actions.has-note { margin-bottom: 0; }
.photo-hero__content .lede:has(+ .hero-portal-note) { margin-bottom: 12px; }
.photo-hero.inner .hero-portal-note { margin-bottom: 0; }
@media (min-width: 801px) { .photo-hero[data-hero="hero-home"] .photo-hero__content .lede { max-width: 560px; } }
@media (max-width: 800px) {
  .photo-hero .ey-long { display: none; }
  .photo-hero .hero-trust { display: none; }
  .hero-portal-note .hpn-extra { display: none; }
  .photo-hero .hero-portal-note { margin-bottom: 0; }
  .photo-hero[data-hero="hero-home"] .photo-hero__content .eyebrow { margin-bottom: 10px; }
  .photo-hero[data-hero="hero-home"] .photo-hero__content .lede { margin-bottom: 20px; }
}
