/* ============================================================
   Doctor With Data - landing page styles (assets/css/landing.css)
   Front page only. Full-bleed sections: the section element spans
   the viewport, .dwd-wrap centers the content. This fixes the
   boxed-in margins of the old Custom HTML block approach.
   Class names match the patterns in patterns/*.php.
   ============================================================ */

/* ---------- scroll reveal (subtle, ~200ms) ---------- */
.dwd-reveal{opacity:0;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease}
.dwd-reveal.dwd-in{opacity:1;transform:none}

/* ---------- hero (full-bleed navy) ---------- */
.dwd-hero{
  background:var(--dwd-navy);color:var(--dwd-paper);
  padding-top:88px;padding-bottom:88px;position:relative;overflow:hidden;
}
.dwd-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px);
  background-size:26px 26px;
}
.dwd-hero .dwd-wrap{position:relative}
.dwd-hero h1{
  font-family:var(--dwd-serif);font-weight:600;color:#fff;
  font-size:2.5rem;line-height:1.12;letter-spacing:-0.015em;max-width:640px;margin:0;
}
.dwd-hero h1 .dwd-accent{color:var(--dwd-orange)}
.dwd-hero-sub{color:#C9D4E2;font-size:1.12rem;max-width:600px;margin:18px 0 0}
.dwd-hero-stats{
  display:flex;flex-wrap:wrap;gap:12px 36px;margin:44px 0 0;padding:28px 0 0;
  border-top:1px solid rgba(250,247,242,.16);
}
.dwd-stat{display:flex;flex-direction:column;gap:2px}
.dwd-stat-num{font-family:var(--dwd-mono);font-weight:600;font-size:1.35rem;color:var(--dwd-orange)}
.dwd-stat-label{font-size:.85rem;color:#A9B8CC}

/* ---------- verdict cards ---------- */
.dwd-verdicts{padding-top:64px;padding-bottom:64px}
.dwd-cards{display:grid;grid-template-columns:1fr;gap:20px;margin-top:36px}
.dwd-card{
  background:#fff;border:1px solid var(--dwd-line);border-radius:var(--dwd-radius);
  padding:26px;position:relative;
  transition:transform .2s ease,box-shadow .2s ease;
}
.dwd-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(15,27,45,.10)}
.dwd-ph{
  display:inline-block;font-family:var(--dwd-mono);font-size:.68rem;font-weight:600;
  letter-spacing:.1em;color:var(--dwd-navy);background:var(--dwd-paper-dim);
  border:1px dashed var(--dwd-muted);border-radius:6px;padding:4px 10px;margin-bottom:14px;
}
.dwd-card h3{
  font-family:var(--dwd-serif);font-weight:600;font-size:1.3rem;line-height:1.3;
  color:var(--dwd-navy);margin:0 0 6px;
}
.dwd-card-topic{font-size:.85rem;color:var(--dwd-muted);margin:0 0 16px}
.dwd-verdict-row{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.dwd-verdict-word{
  font-family:var(--dwd-serif);font-weight:700;font-size:1.25rem;color:var(--dwd-orange-deep);
}
.dwd-verdict-score{font-family:var(--dwd-mono);font-size:.8rem;color:var(--dwd-muted)}

/* evidence meter: 5 steps, Weak to Strong.
   Position + numeric label + text carry meaning (colour-blind safe). */
.dwd-meter{margin:4px 0 6px}
.dwd-meter-track{display:flex;gap:6px}
.dwd-meter-seg{
  height:10px;flex:1;border-radius:5px;background:var(--dwd-line);
  transition:background-color .2s ease;
}
.dwd-meter-seg.dwd-on{background:var(--dwd-teal)}
.dwd-meter-labels{
  display:flex;justify-content:space-between;margin-top:6px;
  font-family:var(--dwd-mono);font-size:.7rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--dwd-muted);
}
.dwd-card-blurb{font-size:.94rem;color:var(--dwd-muted);margin:12px 0 0}
.dwd-section-cta{margin-top:30px;text-align:center}
.dwd-link-more{
  font-weight:700;color:var(--dwd-orange-deep);text-decoration:none;font-size:1rem;
  border-bottom:2px solid transparent;transition:border-color .2s ease;
}
.dwd-link-more:hover{border-color:var(--dwd-orange-deep)}

/* ---------- tools strip (full-bleed navy) ---------- */
.dwd-tools{background:var(--dwd-navy);color:var(--dwd-paper);padding-top:64px;padding-bottom:64px}
.dwd-tools .dwd-section-title{color:#fff}
.dwd-tools .dwd-section-sub{color:#A9B8CC}
.dwd-tools .dwd-eyebrow{color:var(--dwd-orange)}
.dwd-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.dwd-chip{
  font-family:var(--dwd-mono);font-size:.85rem;text-decoration:none;
  color:var(--dwd-paper);border:1px solid rgba(250,247,242,.3);
  border-radius:999px;padding:9px 18px;
  transition:transform .2s ease,border-color .2s ease,background-color .2s ease;
}
.dwd-chip:hover{transform:translateY(-2px);border-color:var(--dwd-orange);background:rgba(255,138,0,.12);color:var(--dwd-paper)}
.dwd-tools-note{font-size:.85rem;color:#8FA0B5;margin:18px 0 0;max-width:640px}

/* ---------- author section ---------- */
.dwd-author-section{padding-top:64px;padding-bottom:0}
.dwd-author-wrap{padding-bottom:64px}
.dwd-author-wrap .dwd-author-card{margin-top:36px}

/* ---------- responsive ---------- */
@media (min-width:768px){
  .dwd-hero h1{font-size:3.4rem}
  .dwd-verdicts,.dwd-tools{padding-top:88px;padding-bottom:88px}
  .dwd-author-section{padding-top:88px}
  .dwd-author-wrap{padding-bottom:88px}
  .dwd-cards{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:1280px){
  .dwd-hero h1{font-size:3.9rem}
  .dwd-hero{padding-top:110px;padding-bottom:110px}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .dwd-reveal{opacity:1;transform:none}
  .dwd-landing-motion-off *{transition:none !important}
}
