/* 21st Financial: home page layer (v34, November 2026). Loads last, after the story stylesheets.
   Holds the rebuilt services, Grand Forks and booking sections and the small story fixes. */

/* ---------- Story fixes ---------- */
/* "Our view" reads as a plain label, not a boxed chip (unslop rule, November 2nd, 2026) */
.tx-life-turn .view,.tx-step .view{display:inline!important;margin:0!important;padding:0!important;background:none!important;color:inherit!important;
  font-size:inherit!important;line-height:inherit!important;letter-spacing:0!important;text-transform:none!important;font-weight:600!important;vertical-align:baseline!important}
/* The risk note keeps its weight without the tinted box */
.tx-risk{display:block!important;border:0!important;border-left:2px solid var(--tx-orange)!important;background:none!important;padding:2px 0 2px 20px!important}
.tx-risk b{display:inline!important;margin:0!important;padding:0!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:0!important;text-transform:none!important;font-weight:600!important}
/* Never break "4-year"; give the unit room after the figure */
.tx-g4-head h2{max-width:none!important}
.tx-g4 .v small{margin-left:.28em}
.nb{white-space:nowrap}

/* ---------- What 21st Financial does ---------- */
.svc{background:var(--c-page);color:var(--c-ink);padding:clamp(72px,8vw,128px) var(--gutter) clamp(64px,7vw,112px);font-family:Jost,Arial,sans-serif}
.svc-inner{max-width:var(--max);margin:0 auto}
.svc h2{margin:0;max-width:22ch;font-weight:560;font-size:clamp(32px,3.9vw,56px);line-height:1.08;letter-spacing:.12em;text-transform:uppercase;text-wrap:balance}
.svc-lead{margin:26px 0 0;max-width:46ch;font-size:clamp(20px,1.6vw,24px);line-height:1.5;color:var(--c-ink)}
.svc-grid{display:grid;grid-template-columns:minmax(260px,4fr) minmax(0,8fr);gap:clamp(36px,6vw,96px);margin-top:clamp(44px,5.5vw,80px);align-items:start}
.svc-fee{position:sticky;top:calc(var(--sh-h) + 32px)}
.svc-fee-n{display:block;margin:0 0 14px;font-weight:500;font-size:clamp(72px,8.6vw,128px);line-height:.92;letter-spacing:.02em;color:var(--c-ink)}
.svc-fee-n sup{font-size:.42em;vertical-align:.95em;margin-left:.06em;letter-spacing:0}
.svc-fee p{margin:0;max-width:30ch;font-size:18px;line-height:1.6;color:var(--c-body)}
.svc-fee p+p{margin-top:14px}
.svc a,.loc a{color:var(--c-ink);text-decoration:underline;text-decoration-color:var(--c-orange);text-decoration-thickness:2px;text-underline-offset:4px}
.svc a:hover,.loc a:hover{background:#f5991f33}
.svc-rows{margin:0;padding:0;list-style:none;border-top:1px solid var(--c-rule)}
.svc-rows li{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,8fr);gap:8px clamp(20px,3vw,48px);padding:clamp(26px,3vw,40px) 0;border-bottom:1px solid var(--c-rule)}
.svc-rows h3{margin:0;font-weight:560!important;font-size:clamp(18px,1.5vw,21px);line-height:1.3;letter-spacing:.12em!important;text-transform:uppercase}
.svc-rows p{margin:0;font-size:19px;line-height:1.62;color:var(--c-body)}

/* ---------- Grand Forks (pending build only) ---------- */
.loc{background:var(--c-stone);color:var(--c-ink);padding:clamp(64px,7vw,112px) var(--gutter);font-family:Jost,Arial,sans-serif}
.loc-inner{max-width:var(--max);margin:0 auto}
.loc h2{margin:0;max-width:24ch;font-weight:560;font-size:clamp(28px,3.3vw,48px);line-height:1.1;letter-spacing:.12em;text-transform:uppercase;text-wrap:balance}
.loc-lead{margin:24px 0 0;max-width:52ch;font-size:clamp(20px,1.6vw,23px);line-height:1.5}
.loc-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3.4vw,56px);margin-top:clamp(36px,4.5vw,64px)}
.loc-cols.two{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:clamp(30px,3.6vw,52px)}
.loc-cols>div{padding-top:22px;border-top:1px solid #b9b2a4}
.loc-cols h3{margin:0 0 10px;font-weight:560!important;font-size:18px;line-height:1.3;letter-spacing:.12em!important;text-transform:uppercase}
.loc-cols.two h3{font-size:22px;letter-spacing:.01em!important;text-transform:none!important}
.loc-cols p{margin:0;font-size:18.5px;line-height:1.62;color:#3b3a37}
.loc-foot{margin:clamp(30px,3.6vw,48px) 0 0;font-size:18px;color:#3b3a37}

/* ---------- Booking: a visible loading state instead of a blank card ---------- */
.calendar-frame{position:relative;min-height:420px}
.calendar-loading{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:24px;text-align:center;color:#5c5a55;font-size:18px!important}
.calendar-loading[hidden]{display:none}

@media(max-width:900px){
  .svc-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .svc-fee{position:static}
  .svc-fee p{max-width:44ch}
  .svc-rows li{grid-template-columns:minmax(0,1fr)}
  .loc-cols,.loc-cols.two{grid-template-columns:minmax(0,1fr)}
}

/* Data labels read in sentence case at a readable size (no tiny tracked caps) */
.tx-g4 .k{font-size:15px!important;letter-spacing:.01em!important;text-transform:none!important}

/* v37: "Prefer email?" reads as a plain line, and the booking fallback link is a full tap target */
.email-option>span{letter-spacing:.01em!important;text-transform:none!important;font-size:17px!important}
.calendar-fallback a{display:inline-block;padding:10px 4px}

/* ---------- v38: live Bitcoin price on a log scale, drawn by scroll like the scenes above it ---------- */
.tx-px{display:none;position:relative;max-width:1400px;margin:clamp(34px,4vw,60px) auto 0;color:var(--tx-white)}
.tx-js .tx-px{display:block}
.tx-px-stage{display:flex;flex-direction:column;gap:clamp(10px,1.8vh,20px);height:min(76vh,660px)}
.tx-js .tx-px{height:calc(2.8 * 90vh + 100vh)}
.tx-js .tx-px-stage{position:sticky;top:0;height:100vh;height:100svh;box-sizing:border-box;padding:calc(var(--hdr,84px) + clamp(16px,3vh,36px)) 0 clamp(16px,3vh,30px)}
.tx-px-head{display:grid;grid-template-columns:minmax(0,1fr) var(--bigw,auto);align-items:end;gap:24px}
.tx-px-copy h3{margin:0;font:var(--logo-weight,560) clamp(26px,3vw,50px)/1.08 Jost,sans-serif!important;letter-spacing:var(--logo-track,.12em)!important;text-transform:uppercase!important}
.tx-px-copy h3 .tx-l{display:block}
.tx-px-copy h3 em{font-style:normal;color:var(--tx-orange)}
.tx-px-how{margin:12px 0 0;font:400 clamp(16px,1.2vw,19px)/1.5 Jost,sans-serif;color:#d6d2cb}
.tx-px-big{display:grid;justify-items:end;text-align:right;font-variant-numeric:tabular-nums}
.tx-px-big .a{font:500 clamp(44px,5.6vw,96px)/.9 Jost,sans-serif;color:var(--tx-orange);white-space:nowrap}
.tx-px-big .b{margin-top:8px;font:500 clamp(15px,1.3vw,20px)/1.2 Jost,sans-serif;color:#cfcac2;white-space:nowrap}
.tx-px-plot{position:relative;flex:1;min-height:0;touch-action:pan-y}
.tx-px-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.tx-px-svg .grid line{stroke:#ffffff17;stroke-width:1}
.tx-px-svg .grid line.tick{stroke:#ffffff38}
.tx-px-svg .grid text{font:500 13px Jost,sans-serif;fill:#b3ada4;font-variant-numeric:tabular-nums}
.tx-px-svg .ln{fill:none;stroke:var(--tx-orange);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.tx-px-svg .dot{fill:var(--tx-orange);stroke:#111111;stroke-width:2}
.tx-px-svg .ring{fill:none;stroke:var(--tx-orange);stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center}
.tx-px.is-done.tick .tx-px-svg .ring{animation:px-ping 1.5s ease-out}
@keyframes px-ping{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(3.4)}}
.tx-px-svg .cross{stroke:#ffffff59;stroke-width:1;opacity:0}
.tx-px-svg .cdot{fill:#ffffff;stroke:#111111;stroke-width:2;opacity:0}
.tx-px.is-hover .tx-px-svg .cross,.tx-px.is-hover .tx-px-svg .cdot{opacity:1}
.tx-px-tip{position:absolute;left:0;top:0;z-index:2;display:grid;gap:2px;padding:9px 13px;background:#1d1d1d;border:1px solid #ffffff26;pointer-events:none;white-space:nowrap;font-family:Jost,sans-serif}
.tx-px-tip[hidden]{display:none}
.tx-px-tip b{font:600 18px/1.2 Jost,sans-serif;color:#ffffff;font-variant-numeric:tabular-nums}
.tx-px-tip span{font:400 14px/1.3 Jost,sans-serif;color:#cfcac2}
.tx-px-foot{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 28px}
.tx-px-live{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:0;font:500 clamp(15px,1.15vw,17px)/1.3 Jost,sans-serif;color:#cfcac2}
.tx-px-live[hidden]{display:none}
.tx-px-live b{color:#ffffff;font-weight:600;font-variant-numeric:tabular-nums}
.tx-px-live>span:first-of-type{color:var(--tx-orange);font-weight:600}
.tx-px-live i{width:9px;height:9px;margin-right:-8px;border-radius:50%;background:var(--tx-orange)}
.tx-px.is-stale .tx-px-live i{background:#8a857c}
.tx-px.is-stale .tx-px-live>span:first-of-type{display:none}
.tx-px-src{margin:0;font:400 14px/1.4 Jost,sans-serif;color:#b3ada4;text-wrap:pretty}
@media(max-width:700px){
  .tx-js .tx-px{height:calc(2.3 * 90vh + 100vh)}
  .tx-px-head{grid-template-columns:1fr;gap:12px}
  .tx-px-big{justify-items:start;text-align:left}
  .tx-px-big .a{font-size:min(10.6vw,44px)}
  .tx-px-how{margin-top:8px}
  .tx-px-svg .ln{stroke-width:2.5}
  .tx-px-svg .grid text{font-size:12.5px}
}
@media(max-height:520px){
  .tx-px-how{display:none}
  .tx-px-copy h3{font-size:22px!important}
  .tx-px-big .a{font-size:34px}
  .tx-js .tx-px-stage{padding-top:calc(var(--hdr,84px) + 6px);padding-bottom:10px;gap:8px}
}
@media(prefers-reduced-motion:reduce){
  .tx-js .tx-px{height:auto}
  .tx-js .tx-px-stage{position:static;height:min(76vh,660px);padding:0}
  .tx-px.is-done.tick .tx-px-svg .ring{animation:none}
}

/* ---------- v39: fixes from the full live pass (November 12th, 2026) ---------- */
/* Founder quote: on short desktop windows the name and the opinion line fell below the screen. The type now scales with the window height. */
@media(min-width:901px){
  .tx-js .tx-view[data-quote] .tx-view-quote .mark{font-size:min(clamp(110px,12vw,180px),17vh)}
  .tx-js .tx-view[data-quote] blockquote p{font-size:min(clamp(28px,3.2vw,52px),5.1vh)}
  .tx-js .tx-view[data-quote] .who{margin-top:min(34px,3.4vh)}
  .tx-js .tx-view[data-quote] .note{margin-top:min(16px,1.8vh)}
}
/* Phone hero: "U.S. federal debt" and "Live estimate" each stay on one line */
@media(max-width:400px){
  .tx-clock-label{letter-spacing:.05em!important;font-size:13px!important;gap:6px 10px;flex-wrap:wrap}
  .tx-clock-label>*{white-space:nowrap}
}
/* A phone held sideways: the quote scene has no room for the photo, so the words get the whole screen */
@media(max-width:900px) and (max-height:480px){
  .tx-js .tx-view[data-quote] .tx-view-photo{display:none}
  .tx-js .tx-view[data-quote] .tx-view-wrap{grid-template-rows:1fr;align-content:center;padding-top:calc(var(--hdr,72px) + 6px)}
  .tx-js .tx-view[data-quote] .tx-view-quote .mark{font-size:44px}
  .tx-js .tx-view[data-quote] blockquote p{font-size:clamp(17px,5.4vh,22px)}
  .tx-js .tx-view[data-quote] .who{margin-top:10px}
  .tx-js .tx-view[data-quote] .note{margin-top:6px}
}
/* A small phone held sideways: the debt scene puts its number beside the headline, so the chart keeps its room */
@media(max-width:700px) and (max-height:480px){
  .tx-js .tx-th-stage{gap:8px;padding:calc(var(--hdr,72px) + 8px) 0 8px}
  .tx-th-head{grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end}
  .tx-th-big{justify-items:end;text-align:right;order:0}
  .tx-th-big .a{font-size:34px}
  .tx-th-big .b{margin-top:4px;font-size:14px}
  .tx-th-ch h3{font-size:18px}
  .th-time{gap:14px}
  .th-time .lab{flex-direction:row;margin-bottom:4px;font-size:15px}
  .th-time .track{height:34px}
  .th-bars{gap:8px}
  .th-bars .bar{grid-template-columns:118px minmax(0,1fr) 68px;gap:10px}
  .th-bars .n{grid-column:1;font-size:14px}
  .th-bars b{grid-column:3;grid-row:1;font-size:14px}
  .th-bars i{grid-column:2;grid-row:1;height:16px}
  .th-cents{gap:10px}
  .th-cents .grid{grid-template-columns:repeat(25,1fr);gap:5px}
}
/* Phone: the "1971: $100" label sat under the moving price labels. The dashed line stays, and the source line under the chart says what it is. */
@media(max-width:700px){.tx-sc-chart .base-t{display:none}}
