/* About page: one continuous crimson thread from the hero board to the demo form. */
.about{position:relative;z-index:0}
.about>section{position:relative;z-index:2}
.about>.final{background:transparent}
.fin-bg{position:absolute;left:0;right:0;z-index:-1;background:radial-gradient(ellipse 60% 70% at 85% 100%,rgba(200,32,47,.10),transparent 70%),var(--bg-2)}
.thread{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}
.bstring{position:absolute;inset:0;width:100%;height:100%;z-index:2;overflow:visible;pointer-events:none}
.bstring path{fill:none;stroke-linecap:round}
.thread path,.thread .t-local path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.t-string{stroke:#B3192A;stroke-width:2.6;filter:drop-shadow(0 3px 2px rgba(0,0,0,.6))}
.t-line{stroke:var(--crimson);stroke-width:2.2;filter:drop-shadow(0 0 5px rgba(200,32,47,.55))}
.t-local .cream{stroke:#E8DCCB;stroke-width:2}
.t-local .dash{stroke:#E8DCCB;stroke-width:2;stroke-dasharray:7 8}
.t-local .hot{stroke:var(--crimson);stroke-width:2.2}
.t-local .faint{stroke:rgba(255,255,255,.28);stroke-width:1.6;stroke-dasharray:4 7}
.t-local path{opacity:0;transition:opacity .8s}
.t-local path.on{opacity:1}
.ask{font-family:var(--serif);font-weight:600;font-size:clamp(22px,2.2vw,30px);line-height:1.25;color:var(--cream);margin:22px 0}
.a-copy .lede{margin-top:14px}

/* nodes */
.node{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:68px;height:68px;border-radius:50%;background:#101114;border:2px solid rgba(239,233,225,.85);color:var(--cream);flex:none}
.node.face{overflow:hidden;border:2px solid rgba(239,233,225,.35)}
.node.face img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.node.hot{border-color:var(--crimson);box-shadow:0 0 0 4px rgba(200,32,47,.15),0 0 24px rgba(200,32,47,.35)}
.node.acct{border:2px dashed rgba(239,233,225,.6);background:var(--bg-2)}
.lbl-node{position:relative;z-index:3;display:inline-flex;flex-direction:column;align-items:center;text-align:center}
.lbl-node b{margin-top:8px;font-weight:500;font-size:15px}
.lbl-node small{color:var(--muted);font-size:13px;line-height:1.35;max-width:200px}

/* 1 hero */
.a-hero{padding:clamp(48px,6vw,80px) 0 clamp(70px,8vw,110px)}
.a-hero .wrap{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:clamp(28px,4vw,56px);align-items:center;max-width:1480px}
.a-hero h1{font-size:clamp(40px,4.6vw,66px)}
.board{position:relative;aspect-ratio:1448/1086;border-radius:12px;overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.06)}
.board-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pa{position:absolute;width:1px;height:1px}
.ps{position:absolute;z-index:3;height:auto;pointer-events:none}
.bstring path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.s-shadow{stroke:rgba(0,0,0,.75);stroke-width:3.6;filter:url(#sblur);transform:translate(2.5px,5px)}
.s-base{stroke:#9C121D;stroke-width:3.1}
.s-twist{stroke:#5A0710;stroke-width:3.1;stroke-dasharray:1.1 2.7;stroke-linecap:butt!important;opacity:.55}
.s-twist2{stroke:#D2404B;stroke-width:1;stroke-dasharray:1.6 2.2;stroke-dashoffset:.9;stroke-linecap:butt!important;opacity:.45;transform:translate(-.5px,-.6px)}
.s-hi{stroke:rgba(255,200,180,.18);stroke-width:.6;transform:translate(-.7px,-1px)}
.exit{position:absolute;right:0;width:1px;height:1px}

/* split sections */
.a-split .wrap{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(32px,5vw,80px);align-items:center;max-width:1480px}
.a-vis{position:relative;padding-right:56px}
.vis-l{font-size:12.5px;letter-spacing:.24em;text-transform:uppercase;font-weight:600;color:var(--text-2);margin:0 0 16px}
.vis-l2{margin-top:44px;padding-top:30px;border-top:1px solid var(--line)}

/* 2 tools */
.tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tool{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:linear-gradient(170deg,#1B1C1F,#141517);padding:14px}
.tool-l{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--text-2);font-weight:600}
.tool-b{display:flex;gap:10px;align-items:center}
.tool-b b{display:block;font-weight:500;font-size:13.5px;line-height:1.3}.tool-b span{display:block;font-size:12.5px;color:var(--muted);margin-top:3px}
.tool-logo{flex:none;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:52px;height:52px;background:#fff;border-radius:8px}
.tool-logo svg{width:32px;height:16px}.tool-logo em{font:700 8px/1 var(--sans);font-style:normal;letter-spacing:.08em;color:#1F4E96;margin-top:2px}
.tool-logo.sm{width:46px;height:40px}
.bar{display:block;height:4px;border-radius:2px;background:rgba(255,255,255,.12);margin-top:8px}.bar i{display:block;width:72%;height:100%;border-radius:2px;background:rgba(255,255,255,.45)}
.rel-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.chips{display:flex;gap:10px;align-items:center;margin-top:16px}
.chip{position:relative;z-index:3;display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;background:#E9E2D6;color:#24201C;font-size:12.5px;line-height:1.3;font-weight:500;max-width:150px}
.chip img{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:none}

/* 3 judgment */
.judge{height:520px}
.judge .lbl-node{position:absolute;transform:translate(-50%,-34px)}
.j-you{left:9%;top:50%}
.j-ex{left:80%}.j1{top:12%}.j2{top:50%}.j3{top:88%}
.judge .face{width:92px;height:92px}
.judge .j-you .node{width:80px;height:80px}
.j1 b{color:var(--cream)}.dim{opacity:.55}
.tag{display:block;margin-top:8px;text-align:center;font-style:normal;font-size:12.5px;line-height:1.35;color:var(--crimson-text);border:1px solid rgba(200,32,47,.55);background:rgba(200,32,47,.08);border-radius:8px;padding:8px 10px}
.jl{position:absolute;z-index:3;font-size:14px;font-weight:500;background:var(--bg);padding:2px 8px;border-radius:6px;white-space:nowrap}
.jl1{left:38%;top:23%;color:var(--crimson-text)}.jl2{left:42%;top:45%;color:#E8DCCB}.jl3{left:40%;top:73%;color:var(--muted)}

/* 4 beliefs */
.a-beliefs .wrap{max-width:1240px}
.bels{margin-top:22px}
.bel{position:relative;padding:0 0 clamp(30px,3.6vw,46px) 54px}
.bel-dot{position:absolute;left:0;top:14px;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--crimson);box-shadow:0 0 0 5px rgba(200,32,47,.15),0 0 14px rgba(200,32,47,.6);z-index:3}
.bel h3{font-size:clamp(26px,2.8vw,40px);line-height:1.15}
.bel p{margin:10px 0 0;color:var(--text-2);max-width:820px}

/* 5 map */
.map{position:relative}
.map svg{display:block;width:100%;height:auto}
.m-states{fill:#121316;stroke:rgba(255,255,255,.12);stroke-width:.7}
.m-dots circle{fill:rgba(207,201,195,.42)}
.m-tn{fill:rgba(239,233,225,.10);stroke:rgba(239,233,225,.55);stroke-width:1}
.hz-pin{position:absolute;z-index:3;transform:translate(-50%,-50%)}
.hz-pin .tool-logo{box-shadow:0 0 0 2px var(--crimson),0 8px 20px rgba(0,0,0,.6)}
.map-people{display:flex;justify-content:flex-end;gap:120px;margin-top:26px;padding-right:4%}
.mp-mark{order:2}.mp-you{order:1}

/* 6 standard */
.std-row{display:flex;align-items:flex-start;gap:0}
.std-row .seg{flex:1;height:68px}
.q{position:relative;z-index:3;flex:none;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin:11px 30px 0;border-radius:50%;border:2px solid var(--crimson);background:#101114;color:var(--crimson-text);font:600 22px/1 var(--serif)}
.std-cap{display:grid;grid-template-columns:1fr 1fr 1.7fr;gap:18px;margin:18px 0 0 76px}
.std-cap span{font-size:14px;color:var(--text-2);line-height:1.45;text-align:center}
.std-cap b{display:block;font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--cream);font-weight:600;margin-bottom:6px}
.std-cap .u b{color:var(--crimson-text)}

/* 7 final */
.fin-line{display:flex;justify-content:space-between;max-width:420px;margin-bottom:46px}
.final .ask{margin-top:26px}
.oi-know span{display:block}

@media(max-width:980px){
  .a-hero .wrap,.a-split .wrap{grid-template-columns:1fr}
  .a-vis{padding-right:0}
  .tools{grid-template-columns:1fr}
  .rel-row{flex-direction:column;align-items:center;gap:14px}.chips{flex-direction:column;margin:0}.chip{max-width:none}
  .judge{height:600px}.j-you{left:14%}.j-ex{left:72%}.tag{display:none}.jl{white-space:normal;max-width:130px;font-size:12.5px}
  .map-people{gap:60px;justify-content:center;padding:0}
  .std-cap{grid-template-columns:1fr;margin-left:0;padding:0}
  .bel{padding-left:40px}
  .a-beliefs .wrap{padding-left:calc(var(--gutter) + 6px)}
}
@media(prefers-reduced-motion:reduce){.t-local path{transition:none}}


.std-cap .u{text-align:left}

.bstring mask .t-string{stroke:#fff!important;stroke-width:16!important;filter:none!important}

/* hero: red period, lead-in string, left fade into the board */
.h1-dot{color:var(--crimson)}
.lead{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:4;overflow:visible}
.lead path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.lead .l-sh{filter:url(#lblur)}
.lead .l-mask{stroke:#fff;stroke-width:16}
.lead-pin{position:absolute;z-index:5;pointer-events:none;height:auto}
.board{-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 5%,#000 13%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 5%,#000 13%);border:0;border-radius:0 12px 12px 0;box-shadow:none}
.a-hero .wrap{gap:clamp(12px,2vw,28px)}
@media(max-width:980px){.board{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 12%);mask-image:linear-gradient(180deg,transparent 0,#000 12%);border-radius:0}}

/* phones: keep section 3 labels inside the screen */
@media(max-width:620px){
  .judge{height:560px}
  .j-ex{left:70%}
  .judge .face{width:72px;height:72px}
  .judge .j-you .node{width:64px;height:64px}
  .judge .lbl-node b{font-size:13.5px}
  .judge .lbl-node small{max-width:120px;font-size:12px}
  .jl1{left:0;top:17%;max-width:150px}.jl2{left:30%;top:43%}.jl3{left:22%;top:68%}
}

@media(max-width:980px){
  .lead,.lead-pin{display:none}
  .bel-dot{left:-15px}
}

/* Horizon logo tiles (section 2 and the map) */
.a-vis .tool-logo,.tool-b .tool-logo{display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;flex:none;width:64px;height:64px;margin:0!important;background:#fff;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.tool-logo svg{display:block;width:38px;height:19px}
.tool-logo em{display:block;font:700 9.5px/1 var(--sans);font-style:normal;letter-spacing:.06em;color:#1F4E96;margin-top:3px}
.tool-logo small{display:block;font:600 4.6px/1 var(--sans);letter-spacing:.06em;color:#1F4E96;margin-top:2px;white-space:nowrap}
.hz-pin .tool-logo{width:52px;height:46px;border-radius:8px;box-shadow:0 8px 20px rgba(0,0,0,.6)}
.hz-pin .tool-logo svg{width:32px;height:16px}.hz-pin .tool-logo em{font-size:8px}
.tool-b{align-items:flex-start}

/* map: the thread surfaces through the map, stitches around Horizon, and dives back under */
.stitch{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:3;overflow:visible}
.st-line{fill:none;stroke:var(--crimson);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 2px rgba(0,0,0,.7)) drop-shadow(0 0 4px rgba(200,32,47,.5))}
.hole{fill:#050506;stroke:rgba(255,255,255,.18);stroke-width:.8;opacity:0;transition:opacity .25s}
.hole.on{opacity:1}
.hz-pin .tool-logo{box-shadow:0 8px 20px rgba(0,0,0,.6)!important}
