/* page.css: Social clips inner page. Copied from pages/talking-head/page.css (th- classes), page-only additions use sc- and sit at the end. */

.cr{position:relative;display:block;overflow:hidden;width:100%}
.shot.cr>img{position:absolute;max-width:none;height:auto}
.tn{position:absolute;display:block;object-fit:cover;object-position:50% 0;max-width:none;pointer-events:none}

/* ---------- hero ---------- */
.th-crumb{padding-left:16px}
.th-hl{color:var(--coral)}
.th-os{position:relative;margin:18px 0 0;font-size:13.5px;color:var(--tx3);display:flex;align-items:center;gap:.35em}
.th-os .os{width:15px;height:15px}
.th-pwin{width:min(1080px,100% - 40px)}
.th-app{display:grid;grid-template-columns:1fr 437px;background:#0C0C0E}
.th-stage{display:flex;flex-direction:column;align-items:center;padding:16px 20px 26px;background:radial-gradient(70% 60% at 50% 55%,rgba(242,84,91,.07),transparent 70%),#0A0A0C;border-right:1px solid var(--line)}
.th-stage-top{align-self:stretch;display:flex;align-items:center;gap:12px;margin-bottom:18px;font-size:13px;color:var(--tx2)}
.th-stage-top b{font:600 17px var(--sans);color:var(--tx)}
.th-kind{padding:5px 10px;border-radius:9px;background:var(--s3);border:1px solid var(--line);color:var(--tx)}
.th-stage-top .win-tabs{margin-left:auto}
.th-panel{background:#101013;align-self:start}
.th-panel .cr{width:100%}

.th-tall{position:relative;width:282px;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#121215;box-shadow:0 24px 60px -20px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.08)}
.th-tall>video{position:absolute;left:0;top:50%;width:100%;height:50%;object-fit:cover;object-position:50% 22%;max-width:none}
.th-kin{font-size:34px;padding:0 18px 18px}
.th-kin small{display:block;margin-bottom:auto;padding-top:16px;font:500 10.5px/1 var(--mono);letter-spacing:.04em;color:var(--tx3)}
.th-cap{position:absolute;z-index:2;left:50%;bottom:7%;transform:translateX(-50%);white-space:nowrap;padding:5px 11px;border-radius:10px;background:rgba(12,12,14,.88);border:1px solid rgba(255,255,255,.14);font:700 15px/1.2 var(--display);color:#fff}
.th-cap b{color:var(--coral)}
.th-tag{position:absolute;z-index:3;top:10px;right:10px;font:500 10.5px/1.4 var(--mono);padding:2px 7px;border-radius:6px;background:rgba(12,12,14,.78);border:1px solid rgba(255,255,255,.16);color:#D2D2D9}
.th-tall .th-tag{top:auto;bottom:calc(50% + 10px)}

/* ---------- what you stop doing ---------- */
.th-stop{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.th-stop article{border-radius:var(--r-lg);background:linear-gradient(180deg,var(--s2),var(--s1));border:1px solid var(--line);padding:22px 20px 22px;display:flex;flex-direction:column}
.th-ic{width:38px;height:38px;border-radius:11px;border:1px solid var(--line-2);background:var(--s3);display:grid;place-items:center;color:var(--coral);margin-bottom:18px}
.th-ic .i{width:18px;height:18px}
.th-stop h3{margin:0 0 8px;font-size:19px;font-weight:600;letter-spacing:-.012em;line-height:1.2}
.th-stop p{margin:0 0 16px;font-size:14.5px;color:var(--tx2);line-height:1.55}
.th-stop s{margin-top:auto;font:400 12.5px/1.45 var(--mono);color:var(--tx3);text-decoration-color:rgba(242,84,91,.8);text-decoration-thickness:1.5px}

/* ---------- deep-dive rows ---------- */
.th-rows{padding-top:40px}
.th-row+.th-row{margin-top:120px}
.th-row{grid-template-columns:.85fr 1.15fr}
.th-row.rev{grid-template-columns:1.15fr .85fr}
.th-step{margin:0 0 14px;font-size:13px;color:var(--coral)}
.th-mini{box-shadow:0 30px 80px -30px rgba(0,0,0,.85),0 0 80px -40px rgba(242,80,68,.4)}
.th-mini .win-bar{min-height:42px}

/* ---------- layout toggle demo ---------- */
.th-demo{max-width:980px;margin:0 auto}
.th-wide-wrap{padding:22px;background:#0A0A0C}
.th-wide{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#121215;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.th-wide .sp-g,.th-wide .th-person{transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease,opacity .3s ease,border-radius .3s ease}
.th-wide .sp-g{height:100%;width:50%;left:0;right:auto;border-bottom:0;border-right:2px solid var(--seam)}
.th-person{position:absolute;z-index:2;left:50%;top:0;width:50%;height:100%;overflow:hidden}
.th-person video{width:100%;height:100%;object-fit:cover;object-position:50% 40%;max-width:none}
.th-check{padding:0 8% 0 7%;justify-content:center}
.th-check b{font-size:13px}
.th-check strong{display:block;margin:0 0 22px;font:800 clamp(30px,3.6vw,48px)/1 var(--display);letter-spacing:-.025em;color:#fff}
.th-check li{font-size:clamp(16px,1.7vw,22px)}
.th-check ul{gap:14px}
.th-wide[data-layout="presenter"] .sp-g{opacity:0}
.th-wide[data-layout="presenter"] .th-person{left:0;width:100%}
.th-wide[data-layout="graphic"] .sp-g,.th-wide[data-layout="corner"] .sp-g{width:100%;border-right-color:transparent}
.th-wide[data-layout="graphic"] .th-person{left:100%;width:0;opacity:0}
.th-wide[data-layout="corner"] .th-person{left:73%;top:52%;width:23%;height:40.9%;border-radius:14px;box-shadow:0 0 0 2px var(--seam),0 12px 30px -8px rgba(0,0,0,.8)}
.th-wide .th-tag{top:12px;right:12px;left:auto}
.th-seg{flex-wrap:wrap;justify-content:center}

/* ---------- related ---------- */
.th-rel{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.th-rel a{display:flex;flex-direction:column;height:100%;border-radius:var(--r-lg);border:1px solid var(--line);background:linear-gradient(180deg,var(--s2),var(--s1));padding:12px 12px 18px;transition:border-color .2s}
.th-rel a:hover{border-color:var(--line-c)}
.th-rel a:focus-visible{outline:2px solid var(--coral);outline-offset:3px}
.th-rel-m{position:relative;display:block;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:#121215;margin-bottom:14px}
.th-rel-m img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.th-rel b{font:600 18px/1.2 var(--display);padding:0 6px}
.th-rel small{margin-top:6px;font-size:14px;color:var(--tx2);padding:0 6px}

.th-fin{padding:110px 0 120px;width:min(1200px,100% - 40px);margin:0 auto}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .th-stop{grid-template-columns:repeat(2,1fr)}
  .th-rel{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .th-app{grid-template-columns:1fr}
  .th-stage{border-right:0;border-bottom:1px solid var(--line)}
  .th-panel .cr{max-width:437px;margin:0 auto}
  .th-row,.th-row.rev{grid-template-columns:1fr;gap:30px}
  .th-row.rev>:first-child{order:0}
  .th-row+.th-row{margin-top:80px}
}
@media (max-width:640px){
  .th-pwin,.th-fin{width:calc(100% - 32px)}
  .th-stage{padding:12px 12px 20px}
  .th-stage-top{flex-wrap:wrap;gap:8px;margin-bottom:14px}
  .th-stage-top b{font-size:15px}
  .th-stage-top .win-tabs{margin-left:0}
  .th-tall{width:min(250px,78%)}
  .th-kin{font-size:29px}
  .th-stop{grid-template-columns:1fr}
  .th-rel{grid-template-columns:1fr 1fr;gap:10px}
  .th-rel a{padding:8px 8px 14px}
  .th-rel b{font-size:16px;padding:0 4px}
  .th-rel small{font-size:13px;padding:0 4px}
  .th-wide-wrap{padding:10px}
  .th-check b{font-size:10.5px;margin-bottom:6px}
  .th-check strong{font-size:19px;margin-bottom:8px}
  .th-check li{font-size:13px;gap:7px}
  .th-check li i{width:15px;height:15px}
  .th-check li i::after{left:3.8px;top:1px;width:4px;height:8px}
  .th-check ul{gap:7px}
  .th-seg button{padding:0 13px;font-size:13.5px}
  .th-fin{padding:80px 0 90px}
  .stats{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){.th-wide .sp-g,.th-wide .th-person{transition:none}}
/* stub pages share this file */
.th-stub{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}

/* ==================== Social clips additions (sc-) ==================== */
.sc-tall>video{top:0;height:100%;object-position:50% 30%}
.sc-tall .th-tag{top:10px;bottom:auto}
.sc-mask{position:absolute;background:#101012;border-radius:2px}
.sc-cap{position:absolute;z-index:2;left:7%;right:7%;bottom:15%;display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-end;gap:5px 5px;min-height:3.2em;font:800 21px/1.15 var(--display);letter-spacing:-.01em;color:#fff;text-align:center;pointer-events:none}
.sc-cap i{font-style:normal;padding:3px 9px 4px;border-radius:8px;background:rgba(14,14,16,.92);box-shadow:0 4px 14px -4px rgba(0,0,0,.6)}
.sc-cap i.c{background:var(--coral);color:var(--on-coral)}
[data-style="karaoke"] .sc-cap{gap:2px 7px;font-size:23px}
[data-style="karaoke"] .sc-cap i{background:none;box-shadow:none;padding:0;color:rgba(255,255,255,.5);text-shadow:0 2px 12px rgba(0,0,0,.75),0 0 2px rgba(0,0,0,.6)}
[data-style="karaoke"] .sc-cap i.f{color:#fff}
[data-style="karaoke"] .sc-cap i.c{background:none;color:var(--coral)}
[data-style="big"] .sc-cap{bottom:auto;top:50%;transform:translateY(-50%);min-height:0}
[data-style="big"] .sc-cap i,[data-style="big"] .sc-cap i.c{background:none;box-shadow:none;padding:0;color:#fff;font-size:46px;line-height:1;letter-spacing:-.03em;text-shadow:0 4px 24px rgba(0,0,0,.7),0 0 3px rgba(0,0,0,.7)}
[data-style="subtitle"] .sc-cap{bottom:6%;left:10%;right:10%;min-height:0;gap:0 .28em;padding:6px 10px;border-radius:6px;background:rgba(10,10,12,.66);font:500 14px/1.35 var(--sans);letter-spacing:0}
[data-style="subtitle"] .sc-cap i{background:none;box-shadow:none;padding:0}
.sc-narrow{max-width:430px;justify-self:center;width:100%}

/* caption style demo */
.sc-demo{max-width:900px;margin:0 auto}
.sc-demo-in{display:grid;grid-template-columns:auto 1fr;gap:48px;align-items:center;padding:28px 40px;background:radial-gradient(60% 70% at 30% 50%,rgba(242,84,91,.07),transparent 70%),#0A0A0C}
.sc-big{width:300px}
.sc-side h3{margin:0 0 10px;font:700 clamp(28px,3vw,40px)/1.05 var(--display);letter-spacing:-.025em}
.sc-side p{margin:0;max-width:34ch;font-size:16px;line-height:1.55;color:var(--tx2)}
.sc-side .sc-same{margin-top:22px;font-size:14px;color:var(--tx3)}
.sc-side .th-step{color:var(--coral)}
@media (max-width:760px){
  .sc-demo-in{grid-template-columns:1fr;gap:20px;padding:16px 14px 20px;justify-items:center;text-align:center}
  .sc-big{width:min(250px,74%)}
  .sc-side p{margin:0 auto}
  .sc-side .sc-same{margin-top:12px}
}
@media (max-width:640px){
  .sc-cap{font-size:18px}
  [data-style="big"] .sc-cap i{font-size:38px}
}
.po{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none;pointer-events:none}
.sc-tall>.po{object-position:50% 30%}.cu-vid>.po{object-position:50% 35%}
.cu-vid video,.cu-ba-vid video{position:relative}
