/* The Red Thread — self-contained blog styles. Palette + type per the brand kit. */
@font-face { font-family:'Paul Slab'; src:url('../assets/fonts/paulslab-bold.otf') format('opentype'); font-weight:700; font-display:swap; }
@font-face { font-family:'Paul Slab'; src:url('../assets/fonts/paulslab-regular.otf') format('opentype'); font-weight:400; font-display:swap; }

:root{ --wine:#6e1320; --red:#c12530; --bright:#e01515; --gold:#bd8b23; --coral:#f1a3b1; --cream:#f6e7d8; --body:#8a3a45; --ease:cubic-bezier(.16,1,.3,1); --navh:70px; }

*{ box-sizing:border-box; }
body.rt{ margin:0; background:#fff; color:var(--body); font-family:'Jost',system-ui,sans-serif; font-weight:300; -webkit-font-smoothing:antialiased; }
.rt a{ color:inherit; }
.rt img{ max-width:100%; }

/* ---- Header (sticky, light static shell, SVG logo) ---- */
.rt-nav{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px clamp(20px,5vw,64px); border-bottom:1px solid rgba(110,19,32,.12); position:sticky; top:0; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); z-index:20; min-height:var(--navh); }
.rt-home img{ display:block; height:24px; width:auto; }
.rt-menu{ display:flex; align-items:center; gap:clamp(16px,2vw,30px); }
.rt-menu a{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; color:var(--wine); font-weight:500; }
.rt-menu a:hover{ color:var(--red); }
.rt-jlink.is-active{ color:var(--red); }
.rt-navcta{ background:var(--wine); color:#fff !important; padding:9px 18px; border-radius:30px; transition:background .2s; }
.rt-navcta:hover{ background:var(--red); }

/* ---- Index header ---- */
.rt-index{ max-width:1200px; margin:0 auto; padding:clamp(36px,6vw,72px) clamp(20px,5vw,64px) 0; }
.rt-hero{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; border-bottom:1px solid rgba(110,19,32,.14); padding-bottom:28px; }
.rt-h1{ font-family:'Paul Slab',serif; font-weight:700; text-transform:uppercase; color:var(--bright); line-height:.9; font-size:clamp(48px,9vw,120px); margin:0; }
.rt-sub{ font-size:clamp(15px,1.5vw,19px); color:var(--wine); margin:12px 0 0; max-width:34ch; }
.rt-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.rt-chip{ font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--wine); border:1px solid rgba(110,19,32,.3); border-radius:20px; padding:6px 12px; }

/* ---- Featured (two big) ---- */
.rt-feat{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,3vw,44px); margin-top:clamp(28px,4vw,52px); }
.rt-card{ text-decoration:none; display:flex; flex-direction:column; }
.rt-ph{ aspect-ratio:16/10; border-radius:10px; display:flex; align-items:flex-start; justify-content:flex-end; padding:18px; overflow:hidden; }
.rt-ph-num{ font-family:'Paul Slab',serif; font-weight:700; font-size:clamp(40px,6vw,86px); line-height:1; opacity:.92; }
/* palette rotation. text over coral only in wine. */
.rt-ph--wine{ background:var(--wine); color:var(--cream); }
.rt-ph--red{ background:var(--red); color:var(--cream); }
.rt-ph--gold{ background:var(--gold); color:var(--wine); }
.rt-ph--coral{ background:var(--coral); color:var(--wine); }
.rt-ph--cream{ background:var(--cream); color:var(--wine); }
.rt-card .rt-cat{ margin:16px 0 6px; }
.rt-cat{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--wine); font-weight:600; }
.rt-card h2{ font-family:'Paul Slab',serif; font-weight:700; color:var(--bright); line-height:1.02; font-size:clamp(24px,2.6vw,38px); margin:0; text-transform:uppercase; }
.rt-card:hover h2{ color:var(--red); }
.rt-card p{ margin:10px 0 0; font-size:15px; line-height:1.5; color:var(--body); }

/* ---- Grid (three) ---- */
.rt-rule{ border:0; border-top:1px solid rgba(110,19,32,.14); margin:clamp(32px,5vw,60px) 0; }
.rt-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,2.4vw,34px); }
.rt-grid .rt-ph{ aspect-ratio:16/11; }
.rt-grid .rt-ph-num{ font-size:clamp(30px,4vw,56px); }
.rt-grid h2{ font-size:clamp(19px,1.9vw,25px); }

/* ---- CTA band (replaces the newsletter) ---- */
.rt-band{ background:var(--coral); border-radius:14px; margin:clamp(40px,6vw,80px) 0 0; padding:clamp(28px,4vw,52px); display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.rt-band h2{ font-family:'Paul Slab',serif; font-weight:700; text-transform:uppercase; color:var(--wine); line-height:.98; font-size:clamp(24px,3vw,42px); margin:0; max-width:18ch; }
.rt-band p{ color:var(--wine); margin:10px 0 0; max-width:40ch; }
.rt-band-cta{ display:flex; gap:12px; flex-wrap:wrap; }
.rt-btn{ text-decoration:none; font-weight:600; text-transform:uppercase; letter-spacing:.08em; font-size:14px; padding:14px 26px; border-radius:30px; white-space:nowrap; transition:background .2s,color .2s; }
.rt-btn--solid{ background:var(--wine); color:#fff; }
.rt-btn--solid:hover{ background:var(--red); }
.rt-btn--ghost{ border:1.5px solid var(--wine); color:var(--wine); }
.rt-btn--ghost:hover{ background:var(--wine); color:#fff; }

/* ---- Article shell ---- */
.rt-article{ max-width:1180px; margin:0 auto; padding:clamp(28px,5vw,56px) clamp(20px,5vw,64px) clamp(48px,7vw,96px); }
.rt-crumb{ text-decoration:none; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--red); font-weight:500; }
.rt-crumb:hover{ color:var(--wine); }
.rt-article > .rt-cat{ margin:26px 0 10px; }
.rt-title{ font-family:'Paul Slab',serif; font-weight:700; text-transform:uppercase; color:var(--bright); line-height:.96; font-size:clamp(34px,5.4vw,72px); margin:0; max-width:16ch; }
.rt-dek{ font-size:clamp(18px,2vw,24px); line-height:1.4; color:var(--wine); margin:20px 0 0; font-weight:400; max-width:44ch; }
/* answer-object standfirst: a readable boxed callout (the red thread at the edge), NOT giant display type */
.rt-lead{ margin:clamp(26px,4vw,44px) 0; padding:clamp(20px,3vw,30px) clamp(22px,3.5vw,34px); background:var(--cream); border-left:3px solid var(--red); border-radius:8px; }
.rt-lead p{ font-family:'Jost',sans-serif; font-weight:400; font-size:clamp(17px,1.7vw,21px); line-height:1.55; color:var(--wine); margin:0; max-width:62ch; text-transform:none; }
.rt-lead p + p{ margin-top:.7em; }

/* ---- Movements: numbered three-column sections with the sticky-push number ---- */
.rt-movements{ margin-top:clamp(20px,3vw,36px); }
.mv{ display:grid; grid-template-columns:minmax(120px,.85fr) minmax(0,1fr) minmax(0,1.55fr); gap:clamp(20px,3vw,52px); padding:clamp(28px,5vw,64px) 0; align-items:start; }
.mv:first-child{ border-top:1px solid rgba(110,19,32,.14); }
.mv-num{ position:sticky; top:calc(var(--navh) + 18px); align-self:start; }
.mv-num span{ display:block; font-family:'Paul Slab',serif; font-weight:700; color:var(--bright); font-size:clamp(66px,11vw,158px); line-height:.8; letter-spacing:-.02em; }
.mv-head .mv-rule{ border:0; border-top:2px solid var(--wine); margin:0 0 16px; width:100%; }
.mv-eyebrow{ font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--red); font-weight:600; margin:0 0 8px; }
.mv-title{ font-family:'Paul Slab',serif; font-weight:700; text-transform:uppercase; color:var(--wine); line-height:1.02; font-size:clamp(22px,2.4vw,34px); margin:0; }
.mv-body p{ font-size:17px; line-height:1.62; color:var(--body); margin:0 0 1.15em; }
.mv-body p:last-child{ margin-bottom:0; }
.mv-body p strong{ color:var(--wine); font-weight:600; }
.rt-colophon{ font-size:14px !important; color:var(--wine) !important; opacity:.85; border-top:1px solid rgba(110,19,32,.16); padding-top:16px; margin-top:24px !important; }
.rt-back{ display:inline-block; margin-top:8px; text-decoration:none; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--red); font-weight:500; }
.rt-back:hover{ color:var(--wine); }

/* ---- Gate (downloadable) ---- */
.rt-gate{ max-width:760px; margin:0 auto; padding:clamp(28px,5vw,60px) clamp(20px,5vw,28px) clamp(48px,7vw,96px); }
.rt-gate .rt-title{ font-size:clamp(30px,4.4vw,52px); max-width:none; }
.rt-gate .rt-cat{ margin:26px 0 10px; }
.rt-dims{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin:clamp(24px,4vw,40px) 0; }
.rt-dim{ border:1px solid rgba(189,139,35,.5); border-left:3px solid var(--gold); border-radius:6px; padding:16px 18px; background:rgba(189,139,35,.05); }
.rt-dim h3{ font-family:'Paul Slab',serif; font-weight:700; text-transform:uppercase; color:var(--wine); font-size:18px; margin:0 0 6px; }
.rt-dim p{ margin:0; font-size:14px; line-height:1.5; }
.rt-form{ background:var(--cream); border-radius:12px; padding:clamp(22px,3vw,34px); }
.rt-form label{ display:block; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--wine); font-weight:600; margin:0 0 8px; }
.rt-form input{ width:100%; padding:13px 15px; border:1px solid rgba(110,19,32,.28); border-radius:8px; font-family:inherit; font-size:16px; color:var(--wine); background:#fff; margin-bottom:16px; }
.rt-form input:focus{ outline:2px solid var(--red); border-color:var(--red); }
.rt-form .rt-btn--solid{ border:0; cursor:pointer; }
.rt-gate-done{ display:none; }
.rt-gate.sent .rt-form form{ display:none; }
.rt-gate.sent .rt-gate-done{ display:block; }

/* ---- Interactive audit (McKinsey exhibit): 4 threads, live sum, instant result ---- */
.rt-scorer{ border:0; padding:0; margin:clamp(28px,4.5vw,44px) 0 0; }
.rt-q{ border:0; border-top:2px solid var(--wine); padding:clamp(20px,3vw,28px) 0; margin:0; }
.rt-q-head{ display:flex; gap:clamp(14px,2.4vw,26px); align-items:flex-start; }
.rt-q-num{ font-family:'Paul Slab',serif; font-weight:700; color:var(--red); font-size:clamp(30px,4.4vw,52px); line-height:.85; flex:0 0 auto; }
.rt-q-name{ font-family:'Paul Slab',serif; font-weight:700; text-transform:uppercase; color:var(--wine); font-size:clamp(19px,2.1vw,28px); line-height:1; margin:.1em 0 0; }
.rt-q-ask{ font-size:clamp(15px,1.5vw,18px); line-height:1.5; color:var(--body); margin:10px 0 0; max-width:56ch; }
.rt-scale{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:18px 0 0; }
.rt-opt{ position:relative; }
.rt-opt input{ position:absolute; opacity:0; inset:0; width:100%; height:100%; margin:0; cursor:pointer; }
.rt-opt span{ display:block; text-align:center; padding:12px 6px; border:1px solid rgba(110,19,32,.3); border-radius:8px;
  font-size:12px; letter-spacing:.08em; text-transform:uppercase; font-weight:600; color:var(--wine); background:#fff;
  transition:background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.rt-opt:hover span{ border-color:var(--red); }
.rt-opt input:checked + span{ background:var(--wine); color:var(--cream); border-color:var(--wine); }
.rt-opt input:focus-visible + span{ outline:3px solid var(--gold); outline-offset:2px; }

/* Gate de entrada: teaser de dimensiones + email; desbloquea test online y PDF */
.rt-wall{ margin-top:clamp(24px,4vw,40px); }
.rt-wall-note{ font-size:12px; color:var(--wine); opacity:.7; margin:12px 0 0; text-align:center; }
.rt-locked[hidden]{ display:none; }
/* Al desbloquear: eleccion arriba (PDF impreso o test en linea) */
.rt-choice{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; margin:clamp(20px,3vw,32px) 0 0; padding:16px 20px; background:var(--cream); border-radius:12px; }
.rt-choice-h{ font-family:'Paul Slab',serif; font-weight:700; text-transform:uppercase; color:var(--wine); font-size:16px; margin:0; flex:1 1 auto; }
.rt-choice-or{ font-size:13px; color:var(--wine); opacity:.72; }

/* Instruccion de escala */
.rt-instruct{ font-size:14px; line-height:1.5; color:var(--wine); margin:14px 0 0; padding:12px 16px; background:var(--cream); border-radius:8px; max-width:60ch; }
.rt-instruct b{ font-weight:600; color:var(--red); }

/* Afirmaciones (5 por dimension) */
.rt-stmts{ margin:16px 0 0; padding:0; list-style:none; counter-reset:s; }
.rt-stmt{ counter-increment:s; display:grid; grid-template-columns:1.6em 1fr; gap:10px 12px; align-items:start;
  padding:14px 0; border-top:1px solid rgba(110,19,32,.12); }
.rt-stmt::before{ content:counter(s); font-family:'Paul Slab',serif; font-weight:700; color:var(--red); font-size:15px; line-height:1.4; }
.rt-stmt-txt{ margin:0; font-size:clamp(14px,1.4vw,16px); line-height:1.5; color:var(--body); }
.rt-rate{ grid-column:2; display:flex; gap:7px; margin-top:2px; }
.rt-r{ position:relative; }
.rt-r input{ position:absolute; opacity:0; inset:0; width:100%; height:100%; margin:0; cursor:pointer; }
.rt-r span{ display:grid; place-items:center; width:40px; height:40px; border:1px solid rgba(110,19,32,.3); border-radius:8px;
  font-family:'Paul Slab',serif; font-weight:700; font-size:15px; color:var(--wine); background:#fff;
  transition:background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.rt-r:hover span{ border-color:var(--red); }
.rt-r input:checked + span{ background:var(--wine); color:var(--cream); border-color:var(--wine); }
.rt-r input:focus-visible + span{ outline:3px solid var(--gold); outline-offset:2px; }

/* Contador en vivo */
.rt-live{ position:sticky; bottom:0; background:linear-gradient(#fff0, #fff 22%); padding-top:14px; margin:clamp(24px,3.5vw,34px) 0 18px; z-index:2; }
.rt-live-bar{ height:8px; border-radius:6px; background:rgba(110,19,32,.12); overflow:hidden; }
.rt-live-bar span{ display:block; height:100%; width:0; background:var(--gold); transition:width .4s var(--ease); }
.rt-live-txt{ margin:10px 0 0; font-size:14px; color:var(--wine); }
.rt-live-txt b{ font-family:'Paul Slab',serif; font-size:22px; color:var(--red); }
.rt-live-txt em{ font-style:normal; opacity:.6; }
.rt-live-txt span{ margin-left:10px; font-size:12px; letter-spacing:.1em; text-transform:uppercase; opacity:.7; }
#rt-see{ border:0; cursor:pointer; }
#rt-see:disabled{ opacity:.4; cursor:not-allowed; }

/* Panel de resultado */
.rt-result{ margin-top:clamp(30px,5vw,52px); background:var(--cream); border-radius:14px; padding:clamp(24px,4vw,40px); }
.rt-result[hidden]{ display:none; }
.rt-result-top{ display:flex; align-items:center; gap:clamp(20px,3.5vw,40px); border-bottom:1px solid rgba(110,19,32,.18); padding-bottom:22px; }
.rt-result-score{ flex:0 0 auto; text-align:center; line-height:1; }
.rt-result-score b{ display:block; font-family:'Paul Slab',serif; font-weight:700; color:var(--bright); font-size:clamp(56px,9vw,104px); }
.rt-result-score span{ font-size:14px; letter-spacing:.1em; text-transform:uppercase; color:var(--wine); opacity:.7; }
.rt-band-title{ font-family:'Paul Slab',serif; font-weight:700; text-transform:uppercase; color:var(--wine); line-height:1; font-size:clamp(24px,3vw,40px); margin:0; }
.rt-band-diag{ font-size:clamp(15px,1.5vw,18px); line-height:1.5; color:var(--wine); margin:12px 0 0; max-width:52ch; }
.rt-weak{ margin:22px 0 0; padding:16px 20px; background:#fff; border-left:3px solid var(--red); border-radius:8px;
  font-size:clamp(15px,1.5vw,18px); line-height:1.5; color:var(--wine); }
.rt-weak b{ font-weight:600; }
.rt-breakdown{ display:flex; flex-direction:column; gap:12px; margin:24px 0 0; }
.rt-bd-row{ display:grid; grid-template-columns:minmax(0,10.5em) 1fr auto; align-items:center; gap:14px; }
.rt-bd-name{ font-size:13px; letter-spacing:.06em; text-transform:uppercase; font-weight:600; color:var(--wine); }
.rt-bd-track{ height:7px; border-radius:5px; background:rgba(110,19,32,.12); overflow:hidden; }
.rt-bd-fill{ display:block; height:100%; border-radius:5px; background:var(--gold); }
.rt-bd-fill.is-weak{ background:var(--red); }
.rt-bd-val{ font-family:'Paul Slab',serif; font-weight:700; font-size:15px; color:var(--wine); min-width:2.6em; text-align:right; }
.rt-result-cta{ display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 0; }
.rt-capture{ margin-top:26px; }
.rt-capture-done{ display:none; }
.rt-result.sent .rt-capture form{ display:none; }
.rt-result.sent .rt-capture-done{ display:block; }
.rt-offline{ font-size:13px; color:var(--wine); opacity:.8; margin:26px 0 0; }
.rt-offline a{ color:var(--red); font-weight:500; }

/* ---- Footer ---- */
.rt-foot{ background:var(--wine); color:var(--cream); padding:clamp(36px,5vw,60px) clamp(20px,5vw,64px); margin-top:clamp(40px,6vw,80px); }
.rt-foot-in{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; border-bottom:1px solid rgba(246,231,216,.18); padding-bottom:24px; }
.rt-foot-brand{ display:flex; align-items:center; gap:14px; text-decoration:none; color:var(--cream); }
.rt-foot-brand img{ display:block; height:40px; width:auto; }
.rt-foot-brand span{ font-size:14px; max-width:22ch; }
.rt-foot-nav{ display:flex; gap:20px; flex-wrap:wrap; }
.rt-foot-nav a{ text-decoration:none; color:var(--cream); font-size:13px; letter-spacing:.1em; text-transform:uppercase; }
.rt-foot-nav a:hover{ color:#fff; }
.rt-foot-legal{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:20px; }
.rt-foot-legal p{ margin:0; font-size:12px; opacity:.8; }
.rt-foot-legal nav{ display:flex; gap:16px; }
.rt-foot-legal a{ color:var(--cream); text-decoration:none; font-size:12px; opacity:.8; }
.rt-foot-legal a:hover{ opacity:1; }

/* ---- Reduced motion: the number does not pin ---- */
@media (prefers-reduced-motion: reduce){ .mv-num{ position:static; } }

/* ---- Responsive (overrides AFTER base, per HANDOFF lesson) ---- */
@media (max-width:820px){
  .rt-feat{ grid-template-columns:1fr; }
  .rt-grid{ grid-template-columns:1fr; }
  .rt-dims{ grid-template-columns:1fr; }
  .rt-menu a:not(.rt-navcta):not(.rt-jlink){ display:none; }
  .mv{ grid-template-columns:1fr; gap:8px; padding:clamp(26px,7vw,40px) 0; }
  .mv-num{ position:static; }
  .mv-num span{ font-size:clamp(48px,16vw,72px); line-height:1; }
  .mv-head{ margin-top:6px; }
  .rt-lead p{ max-width:none; }
  .rt-scale{ grid-template-columns:repeat(2,1fr); }
  .rt-result-top{ flex-direction:column; align-items:flex-start; gap:12px; text-align:left; }
  .rt-bd-row{ grid-template-columns:minmax(0,8em) 1fr auto; gap:10px; }
}
