/* ============================================================
   Article layout (Nov 2026): long-form reading layout,
   used by the guides. Hero band with author, contents down the
   left, one reading column. Body components still come from
   guide.css (callouts, steps, case-study blocks).
   ============================================================ */

.ah-hero { background: linear-gradient(180deg, #0b0b0d, #060607); border-bottom: 1px solid var(--line); }
.ah-hero .in { max-width: 1160px; margin: 0 auto; padding: 8rem 24px 2.75rem; }
.ah-hero .breadcrumb { margin-bottom: 1.4rem; }
.ah-kicker { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-3); }
.ah-kicker .k1 { color: var(--t-1); }
.ah-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.07; color: var(--t-1); margin: 1rem 0 1.1rem; max-width: 900px; overflow-wrap: break-word; }
.ah-lede { font-size: clamp(1.05rem, 2.1vw, 1.25rem); line-height: 1.65; color: var(--t-2); max-width: 780px; margin: 0; }
.ah-author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; font-size: 0.9rem; color: var(--t-3); }
.ah-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.ah-author b { display: block; color: var(--t-1); font-weight: 500; font-size: 0.95rem; }

.ah-layout { max-width: 1160px; margin: 0 auto; padding: 3rem 24px 4.5rem; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 3.5rem; }
.ah-side { position: sticky; top: 100px; align-self: start; font-size: 0.86rem; }
.ah-side h5 { margin: 0 0 0.65rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-4); font-weight: 500; }
.ah-side ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--stroke); }
.ah-side li { margin: 0; }
.ah-side li a { display: block; padding: 0.32rem 0 0.32rem 0.85rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--t-3); text-decoration: none; line-height: 1.4; transition: color var(--ease-fast); }
.ah-side li a:hover { color: var(--t-1); }
.ah-side li a.active { color: var(--t-1); border-left-color: var(--t-1); font-weight: 500; }
.ah-side .ah-cta { display: block; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--stroke); color: var(--t-3); text-decoration: none; line-height: 1.5; }
.ah-side .ah-cta b { display: block; color: var(--t-1); font-weight: 500; margin-bottom: 0.15rem; }
.ah-side .ah-cta:hover b { text-decoration: underline; text-underline-offset: 3px; }

.ah-body { max-width: 760px; min-width: 0; font-size: 1.02rem; }
.ah-body > h2:first-child { margin-top: 0; }
.ah-body h2, .ah-body h3 { scroll-margin-top: 100px; }

@media (max-width: 980px) {
    .ah-layout { grid-template-columns: 1fr; gap: 0; padding-top: 2rem; }
    .ah-side { display: none; }
}
@media (max-width: 640px) {
    .ah-hero .in { padding: 6.5rem 16px 2rem; }
    .ah-layout { padding-left: 16px; padding-right: 16px; }
}
