/* 443sec - article page */

.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--rose));
  z-index: 100; transition: width 0.1s linear;
}

/* ---------- hero ---------- */
.a-hero {
  position: relative; isolation: isolate;
  min-height: 68vh; display: flex; align-items: flex-end;
  padding: 4rem 0 3rem; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.a-hero video, .a-hero img.fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.a-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(24, 18, 10, 0.82) 38%, rgba(24, 18, 10, 0.42) 72%),
    linear-gradient(to right, rgba(24, 18, 10, 0.8), rgba(24, 18, 10, 0.1) 68%);
}
/* hero for pieces with no footage: typographic, not a missing image */
.a-hero.plain { min-height: 52vh; background: linear-gradient(135deg, #2a1a0c 0%, #3d2410 45%, #4a1f22 100%); }
.a-hero.plain::after {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.13) 1px, transparent 0) 0 0 / 15px 15px,
    linear-gradient(to top, var(--bg) 3%, rgba(24, 18, 10, 0.55) 46%, rgba(24, 18, 10, 0.2) 100%);
}
.a-hero.plain .lock {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: min(20rem, 26vw); opacity: 0.14; z-index: -1; color: var(--peach);
}
@media (max-width: 780px) { .a-hero.plain .lock { display: none; } }

.a-hero h1 {
  font-size: clamp(1.95rem, 5vw, 3.3rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  margin: 1rem 0 0.9rem; max-width: 20ch;
}
.a-hero .dek { color: var(--text-2); font-size: 1.05rem; max-width: 38rem; margin-bottom: 1.2rem; }
.a-hero .meta { font-size: 0.82rem; }

/* ---------- body ---------- */
.a-body { max-width: var(--read); margin: 0 auto; padding: 3rem 1.5rem 1rem; position: relative; z-index: 1; }
.a-body > * + * { margin-top: 1.35rem; }

.a-body p { color: var(--text-2); font-size: 1.055rem; line-height: 1.78; }
.a-body p strong, .a-body li strong { color: var(--text); font-weight: 650; }

.a-body .lead { font-size: 1.2rem; line-height: 1.7; color: var(--text); }

.a-body h2 {
  font-size: clamp(1.42rem, 3.2vw, 1.85rem); font-weight: 750;
  letter-spacing: -0.028em; line-height: 1.2; color: var(--text);
  margin-top: 3.2rem; padding-top: 0.4rem;
}
.a-body h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; margin-top: 2.2rem; }

.a-body em { color: var(--peach); font-style: italic; }

.a-body hr { border: 0; height: 1px; background: var(--border); margin: 3rem 0; }

/* pull quote */
.pull {
  border-left: 2px solid var(--orange);
  padding: 0.2rem 0 0.2rem 1.4rem;
  font-size: 1.22rem; line-height: 1.55; font-weight: 600;
  letter-spacing: -0.02em; color: var(--text);
  margin: 2.4rem 0;
}

/* case callout */
.callout {
  border: 1px solid rgba(251, 146, 60, 0.28);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.075), rgba(251, 113, 133, 0.035));
  border-radius: 14px; padding: 1.6rem 1.7rem;
  margin: 2.4rem 0;
}
.callout .kicker { margin-bottom: 0.7rem; }
.callout p { font-size: 1rem; }
.callout p + p { margin-top: 0.9rem; }

/* checklist */
.checklist {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 1.7rem 1.8rem; background: var(--card); margin: 2rem 0;
}
.checklist h3 { margin: 0 0 1.1rem; font-size: 1.05rem; }
.checklist ul { list-style: none; display: flex; flex-direction: column; gap: 0.72rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-2); line-height: 1.55; }
.checklist input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 17px; height: 17px; flex: 0 0 17px; margin-top: 0.24rem;
  border: 1.5px solid var(--border-strong); border-radius: 5px;
  cursor: pointer; transition: all 0.18s; position: relative;
}
.checklist input[type="checkbox"]:hover { border-color: var(--orange); }
.checklist input[type="checkbox"]:checked { background: var(--orange); border-color: var(--orange); }
.checklist input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 5px; top: 1.5px;
  width: 4px; height: 9px; border: solid #1a1206;
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checklist label { cursor: pointer; }
.checklist input:checked + label { color: var(--text-3); text-decoration: line-through; }

/* body lists */
.a-body ul.plain { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.a-body ul.plain li {
  color: var(--text-2); font-size: 1.03rem; line-height: 1.7;
  padding-left: 1.15rem; position: relative;
}
.a-body ul.plain li::before {
  content: ''; position: absolute; left: 0; top: 0.72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--orange); opacity: 0.75;
}

/* closing question */
.closer {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2rem 0; margin: 3rem 0;
}
.closer p { font-size: 1.1rem; color: var(--text); }

/* CTA */
.a-cta {
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.08), rgba(251, 113, 133, 0.04));
  padding: 1.9rem; margin: 2.5rem 0 1rem;
}
.a-cta h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.a-cta p { font-size: 0.95rem; }
.a-cta a.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  color: #1a1206; font-weight: 700; font-size: 0.9rem;
  padding: 0.7rem 1.3rem; border-radius: 999px; transition: transform 0.2s, box-shadow 0.2s;
}
.a-cta a.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(251, 146, 60, 0.28); }

/* back link */
.a-back { max-width: var(--read); margin: 0 auto; padding: 0 1.5rem 1rem; position: relative; z-index: 1; }
.a-back a { font-size: 0.85rem; color: var(--text-3); display: inline-flex; align-items: center; gap: 0.45rem; }
.a-back a:hover { color: var(--orange); }
