/* landing: THE LIVE SOUNDING (hero) + services + pools + ledger */
.hero { position: relative; display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 720px; padding-top: var(--hdr); overflow: hidden; isolation: isolate;
  background: var(--paper) linear-gradient(rgba(12, 30, 51, .045) 1px, transparent 1px) 0 0 / 100% 96px, var(--paper); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 30, 51, .045) 1px, transparent 1px) calc(var(--pad) - 1px) 0 / 96px 100%; }
.hero-top { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; align-items: end; padding: clamp(28px, 4.6vh, 56px) var(--pad) clamp(30px, 4.4vh, 52px); }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero .h1 { font-size: clamp(46px, 5vw, 96px); line-height: .96; }
.hero .h1 em { color: var(--sea); }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.08vw, 20px); }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.hero-note .link { font-weight: 600; }

/* the title block: the survey's live numbers */
.sheet { background: rgba(251, 252, 252, .92); border: 1px solid var(--line-2); border-top: 2px solid var(--rule); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); }
.sheet-hd { display: flex; justify-content: space-between; align-items: center; height: 38px; padding: 0 18px; border-bottom: 1px solid var(--line-2); }
.sheet-clock { font: 600 12px/1 var(--f-num); color: var(--ink-2); }
.sheet-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sheet .cell { display: grid; gap: 7px; align-content: start; padding: 15px 18px 14px; border-left: 1px solid var(--line); min-width: 0; }
.sheet .cell:nth-child(3n + 1) { border-left: 0; }
.sheet .cell:nth-child(n + 4) { border-top: 1px solid var(--line); }
.sheet .cell .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .cell b { font: 300 clamp(26px, 1.75vw, 34px)/1 var(--f-disp); letter-spacing: -.025em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.sheet .cell b small { font: 600 11px/1 var(--f-text); color: var(--ink-3); margin-left: 5px; letter-spacing: .04em; }
.sheet .sub { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .cell-v b { color: var(--mag); }

/* the ocean: the canvas sounding */
.ocean { position: relative; flex: 1 1 auto; min-height: 300px; z-index: 1; border-bottom: 1px solid var(--rule);
  background: repeating-linear-gradient(135deg, rgba(12, 30, 51, .11) 0 1px, transparent 1px 7px), var(--paper); }
.snd-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.snd-legend { position: absolute; z-index: 2; right: var(--pad); bottom: 22px; width: 330px; padding: 13px 15px 11px; display: grid; gap: 7px; font-size: 12.5px; color: var(--ink-2);
  background: rgba(251, 252, 252, .94); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); }
.lg-hd { display: flex; align-items: baseline; gap: 7px; padding-bottom: 8px; margin-bottom: 1px; border-bottom: 1px solid var(--line); }
.lg-hd b { font: 400 21px/1 var(--f-disp); letter-spacing: -.02em; color: var(--ink); }
.lg-hd span { color: var(--ink-3); }
.lg-row { display: flex; align-items: center; gap: 9px; min-height: 18px; }
.lg-row .muted { margin-left: auto; font-size: 11.5px; }
.lg-row i { display: block; flex: none; }
.lg-ramp { width: 26px; height: 9px; background: linear-gradient(90deg, var(--d0), var(--d2), var(--d4), var(--d6), var(--d9)); border: 1px solid var(--rule); }
.lg-col { width: 26px; height: 9px; background: linear-gradient(90deg, var(--d1) 0 30%, var(--d6) 30% 50%, var(--d9) 50% 62%, var(--d3) 62% 100%); border-bottom: 1px solid var(--rule); }
.lg-b, .lg-s { width: 2px; height: 14px; }
.lg-b { background: #16ac74; margin-left: 12px; } .lg-b:first-child { margin-left: 12px; }
.lg-s { background: #e84634; margin-left: 10px; }
.lg-m { width: 26px; height: 9px; background: var(--mag); }

.tip { position: absolute; z-index: 6; left: 0; top: 0; width: 278px; padding: 12px 14px; pointer-events: none; opacity: 0; transition: opacity .12s;
  background: rgba(251, 252, 252, .98); border: 1px solid var(--line-3); border-radius: var(--r); box-shadow: 0 22px 48px -18px rgba(11, 39, 71, .45); }
.tip.on { opacity: 1; }
.tip-hd { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.tip-hd .coin-s { font-size: 15px; }
.tip-hd .grade { margin-left: auto; }
.tip-r { display: flex; justify-content: space-between; gap: 12px; height: 23px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.tip-r b { font: 600 12.5px/1 var(--f-num); color: var(--ink); }
.tip-f { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font: 600 11px/1 var(--f-text); color: var(--sea); letter-spacing: .02em; }

/* services */
.svc { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
.svc-c { display: flex; flex-direction: column; padding: 26px 26px 20px; min-height: 480px; }
.svc-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.svc-c .h3 { font: 400 25px/1.12 var(--f-disp); letter-spacing: -.015em; }
.svc-c p { margin: 12px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.svc-live { margin-top: auto; padding-top: 22px; height: 210px; display: flex; flex-direction: column; justify-content: flex-end; }
.svc-go { display: flex; justify-content: space-between; align-items: center; height: 46px; margin-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink); }
.svc-go span { color: var(--sea); transition: transform .15s; }
.svc-go:hover span { transform: translateX(3px); }
.cliff { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: start; gap: 2px; height: 58px; border-top: 1px solid var(--rule); padding-top: 0; }
.cliff i { display: block; background: var(--d5); min-height: 2px; }
.cliff i.u { background: var(--d3); }
.cliff i.z { background: var(--line-3); }
.svc .state { margin-bottom: 4px; }

#topTbl { min-width: 900px; }
.lstrip { display: grid; }
.lrow { display: grid; grid-template-columns: 150px 120px minmax(0, 1fr) 140px 110px 120px; align-items: center; gap: 16px; height: 52px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.lrow .t { font: 500 12.5px/1 var(--f-num); color: var(--ink-3); }
.lrow .k { font: 700 11px/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.lrow .note { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .amt { font: 600 13.5px/1 var(--f-num); text-align: right; }
.lrow .lnk { text-align: right; font: 600 12.5px/1 var(--f-text); }
.lempty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }

@media (max-width: 1400px) {
  .hero-top { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 32px; }
  .snd-legend { width: 300px; }
}
@media (max-height: 900px) and (min-width: 901px) {
  .snd-legend { width: 290px; gap: 5px; padding: 10px 13px 9px; font-size: 12px; }
  .snd-legend .lg-row:nth-child(3) { display: none; }
  .lg-hd b { font-size: 19px; }
}
@media (max-width: 1280px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  /* narrow screens: the sounding comes right under the headline (first screen), the numbers after it */
  .hero { height: auto; min-height: 0; }
  .hero-top { display: contents; }
  .hero-copy { order: 1; padding: 36px var(--pad) 28px; }
  .ocean { order: 2; flex: none; height: 460px; }
  .sheet { order: 3; margin: 28px var(--pad) 0; }
}
@media (max-width: 900px) {
  .hero-copy { padding: 26px var(--pad) 22px; }
  .hero .h1 { font-size: clamp(40px, 11vw, 58px); }
  .hero .lede { margin-top: 16px; font-size: 16.5px; max-width: 34ch; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1; padding: 0 12px; }
  .hero-note { margin-top: 14px; font-size: 12px; }
  .sheet-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet .cell { padding: 12px 14px; }
  .sheet .cell:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .sheet .cell:nth-child(odd) { border-left: 0; }
  .sheet .cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .sheet .cell b { font-size: 26px; }
  .sheet-hd { padding: 0 14px; }
  .ocean { height: auto; background: var(--paper); }
  .snd-cv { position: relative; height: 360px; background: repeating-linear-gradient(135deg, rgba(12, 30, 51, .11) 0 1px, transparent 1px 7px), var(--paper); }
  .snd-legend { position: static; width: auto; padding: 12px var(--pad) 12px; gap: 6px; font-size: 12px; border: 0; border-top: 1px solid var(--rule); border-radius: 0; box-shadow: none; background: var(--bg-1); }
  .snd-legend .lg-row:nth-child(3) { display: none; }
  .svc { grid-template-columns: 1fr; }
  .svc-c { min-height: 0; }
  .svc-live { height: auto; }
  .lrow { grid-template-columns: 90px minmax(0, 1fr) 90px; height: auto; padding: 10px 4px; gap: 4px 12px; }
  .lrow .k, .lrow .lnk { display: none; }
}
.capture .tip, .capture .snd-legend .muted { display: none !important; }

/* ?view=sounding: the live sounding alone, full frame (clean captures for the kit's banners and launch pictures); &legend=0 drops the card */
html.v-sounding .hdr, html.v-sounding .hero-top, html.v-sounding main > section:not(.hero), html.v-sounding .ftr, html.v-sounding .tip { display: none !important; }
html.v-sounding .hero { display: flex; padding-top: 0; height: 100vh; min-height: 0; }
html.v-sounding .ocean { order: 0; flex: 1 1 auto; height: auto; margin-top: 16vh; border-bottom: 0; }
html.v-sounding .snd-cv { position: absolute; height: 100%; }
html.v-sounding .snd-legend { position: absolute; left: auto; right: var(--pad); bottom: 22px; width: 330px; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); }
html.v-nolegend .snd-legend { display: none !important; }
