/* home-v1.css: homepage styles (cream, retro print look).
   Contrast, measured: ink #141414 on cream #F7F0E2 16.2:1; orange #BD481B on
   cream 4.51:1 (text/links); ink on #E8601C 5.37:1 (fills only); #E8601C on
   ink 5.37:1 (accents on black, where #BD481B fails at 3.6:1). */
:root {
    --cream: #F7F0E2;
    --paper: #FCF8EF;
    --ink: #141414;
    --ink-soft: #4A4440;
    --orange-text: #BD481B;
    --orange-fill: #E8601C;
    --line: #2B2B2B;
    --line-soft: #D9CFBD;
    --radius: 4px;
    --shadow: 4px 4px 0 var(--ink);
    --display: 'Syne', 'Space Grotesk', system-ui, sans-serif;
    --body: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 10;
    background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* Dateline: a thin black strip, like the top of a printed page */
.dateline { background: var(--ink); color: var(--cream); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.dateline-inner { display: flex; justify-content: center; gap: 18px; min-height: 30px; align-items: center; font-weight: 600; }
.dateline-inner span + span::before { content: "\2022"; color: var(--orange-fill); margin-right: 18px; }
.dateline-mid { display: none; }
@media (min-width: 700px) { .dateline-inner { justify-content: space-between; } .dateline-inner span + span::before { display: none; } .dateline-mid { display: inline; } }
@media (max-width: 420px) { .dateline-inner span:last-child { display: none; } }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
    padding: 0 20px; border-radius: var(--radius); font: 700 16px/1 var(--body);
    text-decoration: none; cursor: pointer; border: 2px solid var(--ink); white-space: nowrap;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-primary { background: var(--orange-fill); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-primary:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: var(--shadow); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* Header: masthead with a double rule */
.site-header { border-bottom: 3px double var(--ink); background: var(--cream); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand {
    display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
    text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; }
.nav-toggle {
    margin-left: auto; min-height: 44px; padding: 0 14px; background: transparent;
    border: 2px solid var(--ink); border-radius: var(--radius); font: 700 15px var(--body); color: var(--ink);
}
.header-cta { min-height: 44px; padding: 0 14px; font-size: 15px; }
@media (max-width: 599px) { .header-cta { display: none; } }
.site-nav { display: none; width: 100%; order: 3; padding-bottom: 12px; }
.site-nav.open { display: block; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav a {
    display: flex; align-items: center; min-height: 44px; color: var(--ink);
    text-decoration: none; font-weight: 600;
}
.site-nav a:hover { color: var(--orange-text); text-decoration: underline; }
.icon-link svg { width: 22px; height: 22px; fill: currentColor; }
@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .site-nav { display: block; width: auto; order: 0; margin-left: auto; padding: 0; }
    .site-nav ul { flex-direction: row; gap: 24px; align-items: center; }
    .header-cta { margin-left: 8px; }
}

/* Hero */
.hero { padding: 28px 0 32px; }
.hero-inner { display: grid; gap: 32px; }
.kicker {
    display: inline-block; margin-bottom: 14px; padding: 4px 10px; border: 2px solid var(--ink);
    background: var(--paper); font: 700 13px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1 {
    font-family: var(--display); font-weight: 800; font-size: 33px; line-height: 1.08;
    letter-spacing: -0.02em; overflow-wrap: break-word;
}
.hero h1::after {
    content: ""; display: block; width: 72px; height: 6px; margin-top: 16px; background: var(--orange-fill);
}
@media (min-width: 600px) { .hero h1 { font-size: 42px; } }
@media (min-width: 1000px) {
    .hero { padding: 48px 0 48px; }
    .hero-inner { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; }
    .hero h1 { font-size: 44px; }
}
@media (min-width: 1280px) { .hero h1 { font-size: 50px; } }
.hero-sub { margin-top: 14px; font-size: 17px; max-width: 600px; color: var(--ink-soft); }
.trust { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.hero-bonus { margin-top: 4px; max-width: 560px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.bonus-tag { display: inline-block; margin-right: 6px; padding: 1px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--orange-fill); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px; }
.hero-bonus + .trust { margin-top: 6px; }

/* Signup */
.signup { margin-top: 22px; max-width: 560px; }
.signup-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.signup-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 520px) { .signup-row { flex-direction: row; } }
.signup-input {
    flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; font: 17px var(--body);
    color: var(--ink); background: #FFFFFF; border: 2px solid var(--ink); border-radius: var(--radius);
}
.signup-input::placeholder { color: #6B625B; }
.signup-input[aria-invalid="true"] { border-color: #A3290F; }
.signup-msg { min-height: 1.6em; margin-top: 8px; font-size: 15px; font-weight: 600; }
.signup-msg.is-error { color: #A3290F; }
.signup-msg.is-success { color: var(--ink); }

/* Format strip: Skip / Watch / Do */
.format { padding: 0; }
.format-row { display: grid; gap: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.format-row li { padding: 14px 0; font-size: 16px; border-top: 1px solid var(--line-soft); }
.format-row li:first-child { border-top: 0; }
.format-key {
    display: inline-block; min-width: 84px; margin-right: 8px; font: 800 15px/1 var(--display);
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-text);
}
@media (min-width: 800px) {
    .format-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .format-row li { padding: 16px 20px; border-top: 0; border-left: 1px solid var(--line-soft); }
    .format-row li:first-child { border-left: 0; padding-left: 0; }
}

/* Sections */
section { padding: 36px 0; }
@media (min-width: 900px) { section { padding: 52px 0; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.section-title { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
@media (min-width: 900px) { .section-title { font-size: 34px; } }
.section-link { font-weight: 700; white-space: nowrap; }
.section-link::after { content: " \2192"; }
.section-sub { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }
.page-title { font-size: 36px; }
@media (min-width: 900px) { .page-title { font-size: 48px; } }
.section-count { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav a[aria-current="page"] { color: var(--orange-text); text-decoration: underline; text-decoration-thickness: 2px; }
.block.is-bonus .block-num { color: var(--ink); background: var(--orange-fill); padding: 2px 6px; border-radius: 3px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Story blocks: compact, text first, ruled like a printed index */
.blocks { display: grid; gap: 0; margin-top: 4px; }
@media (min-width: 720px) { .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 720px) and (max-width: 1023px) { .blocks-3 { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .blocks-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.block { padding: 16px 0 18px; border-bottom: 1px solid var(--line-soft); }
.block-meta { font-size: 14px; color: var(--ink-soft); }
.block-num { margin-right: 4px; font: 800 14px/1 var(--display); color: var(--orange-text); letter-spacing: 0.02em; }
.block-title { margin-top: 4px; font: 700 20px/1.3 var(--body); }
.block-title a { color: var(--ink); text-decoration: none; }
.block-title a:hover { text-decoration: underline; text-decoration-color: var(--orange-fill); text-decoration-thickness: 2px; }
.block-summary { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

.free-type {
    display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 3px; background: var(--ink); color: var(--cream);
    font: 700 12px/1.5 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
}
.free-store { margin-top: 20px; font-size: 16px; color: var(--ink-soft); }

/* Wins */
.wins { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.collection-banner {
    display: inline-block; padding: 5px 10px; background: var(--ink); color: var(--cream);
    font-weight: 700; letter-spacing: 0.12em; font-size: 13px; text-transform: uppercase; border-radius: 3px;
}
.win-grid { display: grid; gap: 0; margin-top: 10px; }
@media (min-width: 640px) { .win-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1024px) { .win-grid { grid-template-columns: 1fr 1fr 1fr; } }
.win-card {
    display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 12px; align-content: start;
    padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.win-card > * { grid-column: 2; }
.win-num { grid-column: 1; grid-row: 1 / span 4; font: 800 21px/1.25 var(--display); color: var(--orange-text); }
.win-title { font: 700 18px/1.3 var(--body); }
.win-outcome { margin-top: 4px; font-size: 15px; line-height: 1.5; }
.win-meta { margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.win-link { margin-top: 6px; font-size: 15px; font-weight: 700; justify-self: start; }

/* Since your last visit: a slim strip for returning readers. */
.since { padding: 0; background: var(--ink); color: var(--cream); }
.since-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-top: 12px; padding-bottom: 12px; padding-right: 56px; }
.since-head { font-size: 14px; }
.since-title { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange-fill); }
.since-count { color: var(--cream); font-weight: 600; }
.since-list { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.since-list li { display: flex; align-items: baseline; gap: 6px; }
.since-list a { color: var(--cream); font-weight: 600; text-underline-offset: 3px; }
.since-list a:hover { color: var(--orange-fill); }
.since-tag { font-size: 12px; font-weight: 700; color: #C9BFAE; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.since-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--cream); border: 0; cursor: pointer; }
.since-close svg { width: 18px; height: 18px; }
.since-close:hover { color: var(--orange-fill); }
.new-tag { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 3px; background: var(--orange-fill); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* Ask the archive. Hidden until ask-archive.js runs, since it needs JS. */
.ask { padding: 28px 0 8px; }
.ask-card { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: 5px 5px 0 var(--ink); padding: 20px 16px; }
@media (min-width: 700px) { .ask-card { padding: 26px 28px; } }
.ask-title { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; }
.ask-sub { margin-top: 6px; color: var(--ink-soft); font-size: 16px; max-width: 640px; }
.ask-form { margin-top: 16px; max-width: 680px; }
.btn-dark { background: var(--ink); color: var(--cream); box-shadow: 3px 3px 0 var(--orange-fill); }
.btn-dark:hover { color: var(--cream); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--orange-fill); }
.ask-tries { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.ask-tries span { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.ask-try { min-height: 36px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.ask-try:hover { background: var(--ink); color: var(--cream); }
.ask-out:not(:empty) { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.ask-lead { font-weight: 700; font-size: 15px; }
.ask-none { font-size: 16px; color: var(--ink-soft); }
.ask-results { margin-top: 6px; }
.ask-hit { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ask-hit:last-child { border-bottom: 0; padding-bottom: 0; }
.ask-meta { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-text); }
.ask-hit .ask-title { font: 700 18px/1.3 var(--body); margin-top: 2px; }
.ask-hit .ask-quote { margin-top: 4px; font-size: 16px; line-height: 1.55; border-left: 3px solid var(--orange-fill); padding-left: 12px; }
.ask-quote mark { background: #F6D7BF; color: var(--ink); padding: 0 2px; }
.ask-inline { padding: 20px 0 6px; }

/* Closing signup */
.closing { border-top: 3px double var(--ink); }
.closing-inner { display: grid; gap: 24px; align-items: center; }
.closing-inner .section-title { max-width: 640px; }
.closing-sub { margin-top: 8px; color: var(--ink-soft); }
.skip-reading { width: 100%; max-width: 240px; justify-self: center; }
@media (min-width: 900px) { .closing-inner { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } .skip-reading { max-width: 300px; } }


/* Newsletter-on-a-phone mockup beside the second signup */
.phone-wrap { position: relative; justify-self: center; width: 230px; padding: 0 0 0 40px; }
.phone {
    width: 210px; padding: 10px; border: 3px solid var(--ink); border-radius: 30px; background: var(--ink);
    box-shadow: 6px 6px 0 var(--orange-fill);
}
.phone-screen { position: relative; min-height: 360px; padding: 26px 14px 16px; border-radius: 21px; background: var(--paper); overflow: hidden; }
.phone-screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 56px; height: 8px; margin-left: -28px; border-radius: 6px; background: var(--ink); }
.phone-bar { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font: 800 12px/1 var(--display); color: var(--ink); }
.phone-bar img { width: 20px; height: 20px; }
.phone-meta { margin-top: 10px; font-size: 11px; font-weight: 700; color: var(--orange-text); }
.phone-title { margin-top: 2px; font: 800 17px/1.2 var(--display); color: var(--ink); }
.phone-row { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.phone-row .format-key { min-width: 0; font-size: 11px; }
.phone-row i { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: var(--line-soft); }
.phone-row i.short { width: 62%; }
.phone-cta { margin-top: 14px; padding: 8px 0; border: 2px solid var(--ink); border-radius: 4px; background: var(--orange-fill); text-align: center; font: 700 11px/1 var(--body); color: var(--ink); }
.phone-skip { position: absolute; left: -18px; bottom: -10px; width: 120px; height: auto; }
@media (min-width: 900px) { .phone-wrap { width: 260px; } .phone { width: 230px; } .phone-skip { width: 140px; left: -40px; } }

/* Reading time in issue lists */
.read-time { white-space: nowrap; }

/* Footer: compact. Brand and socials on one line, links in a single wrapping row. */
.site-footer { border-top: 2px solid var(--ink); padding: 20px 0 18px; font-size: 14px; background: var(--paper); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.footer-top .brand { font-size: 16px; }
.footer-top .brand img { width: 28px; height: 28px; }
.social { display: flex; flex-wrap: wrap; gap: 6px; }
.social a {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 2px solid var(--ink); border-radius: var(--radius); color: var(--ink);
}
.social a:hover { background: var(--ink); color: var(--cream); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-links { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--orange-text); text-decoration: underline; }
.footer-links a[href="/free"] { color: var(--orange-text); }
.footer-base { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); color: var(--ink-soft); font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.footer-legal { display: flex; flex-wrap: wrap; }
.footer-legal li + li::before { content: "\00B7"; margin: 0 8px; }
.footer-legal a { color: var(--ink-soft); }
.footer-legal a:hover { color: var(--orange-text); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* How this gets made strip (anonymous trust) */
.made { padding: 40px 0 8px; }
.made-list { display: grid; gap: 14px; margin-top: 16px; }
.made-list li { font-size: 16px; line-height: 1.55; color: var(--ink-soft); padding-left: 16px; border-left: 3px solid var(--orange-fill); }
.made-list strong { color: var(--ink); }
.made-skip { display: flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.made-art { flex: 0 0 auto; width: 128px; height: auto; margin: -12px -8px -12px -22px; }
@media (min-width: 900px) {
    .made { padding-top: 56px; }
    .made-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* Hero: the phone mockup shows the newest issue beside the signup on wide screens */
.hero-phone { display: none; }
@media (min-width: 1000px) { .hero-phone { display: block; } }
.tag {
    display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 3px; background: var(--ink); color: var(--cream);
    font: 700 12px/1.5 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
}

.recent-more { margin-top: 22px; }
.closing-solo { grid-template-columns: 1fr !important; }

/* Menu: Kits is marked paid; Subscribe lives in the menu on phones */
.nav-paid {
    display: inline-block; margin-left: 6px; padding: 1px 6px; border: 1.5px solid var(--ink); border-radius: 3px;
    font: 700 11px/1.4 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.site-nav .nav-subscribe { margin-top: 8px; }
.site-nav .nav-subscribe a.btn { display: inline-flex; color: var(--ink); text-decoration: none; }
@media (min-width: 600px) { .site-nav .nav-subscribe { display: none; } }
/* Footer: reels label beside the social icons */
.footer-social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.social-label { margin: 0; font: 700 14px/1.3 var(--body); color: var(--ink); }

/* Archive: task topic chips (same list as the Guides page) */
.topic-chips { display: flex; gap: 8px; margin: 8px 0 12px; overflow-x: auto; padding-bottom: 4px; }
.topic-chips .chip { flex: 0 0 auto; white-space: nowrap; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); font: 600 15px var(--body); cursor: pointer; }
.topic-chips .chip:hover { background: var(--paper); }
.topic-chips .chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.topic-chips .chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (min-width: 800px) { .topic-chips { flex-wrap: wrap; overflow: visible; } }
.topic-count { min-height: 1.2em; margin: 0 0 4px; font-size: 14px; color: var(--ink-soft); }


/* Recent issues: the latest 10 as a plain list, one line each */
.recent { padding-top: 40px; }
.issue-cards { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ic a { display: flex; flex-direction: column; height: 100%; background: #FFFDF8; border: 1px solid #E3D9C6; border-radius: 14px; padding: 8px 8px 14px; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ic a:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 8px 20px rgba(20,20,20,.10); }
.ic a:focus-visible { outline: 3px solid var(--orange-fill); outline-offset: 3px; }
.ic-img { display: block; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: var(--ink); }
.ic-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ic-num { margin: 12px 4px 4px; font: 800 13px/1.2 var(--display); color: var(--orange-text); letter-spacing: .02em; }
.ic-title { margin: 0 4px 10px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.ic-meta { margin: auto 4px 0; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 1099px) { .issue-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
    .issue-cards { grid-template-columns: 1fr; gap: 10px; }
    .ic a { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 12px; padding: 8px; }
    .ic-img { grid-row: 1 / 4; align-self: start; }
    .ic-num { margin: 2px 0 2px; }
    .ic-title { margin: 0 0 4px; font-size: 15px; }
    .ic-meta { margin: 0; font-size: 12px; }
}

/* Homepage Guides: centered heading, pills, image cards */
.home-guides { padding: 72px 0 24px; text-align: center; }
.hg-head { font: 800 clamp(44px, 7vw, 76px)/1 var(--display); letter-spacing: -0.02em; margin: 0 0 14px; }
.hg-intro { max-width: 640px; margin: 0 auto; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--ink-soft); }
.hg-pills { list-style: none; padding: 0; margin: 26px auto 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hg-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-soft); background: #FFFDF8; color: var(--ink); font: 600 16px/1 var(--body); text-decoration: none; }
.hg-pill:hover { border-color: var(--ink); }
.hg-pill.is-all { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.hg-pill:focus-visible { outline: 3px solid var(--orange-fill); outline-offset: 2px; }
.pill-ic { flex: none; }
.hg-cards { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; text-align: left; }
.hg-card a { display: flex; flex-direction: column; height: 100%; background: #FFFDF8; border: 1px solid #E3D9C6; border-radius: 18px; padding: 12px 12px 20px; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.hg-card a:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 10px 24px rgba(20,20,20,.10); }
.hg-card a:focus-visible { outline: 3px solid var(--orange-fill); outline-offset: 3px; }
.gc-img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 8 / 5; background: var(--ink); }
.gc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hg-title { margin: 16px 6px 0; font: 700 19px/1.3 var(--body); }
.hg-more { margin: 36px 0 0; }
.btn-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--ink); background: #FFFDF8; color: var(--ink); font: 700 17px/1 var(--body); text-decoration: none; transition: background .15s, color .15s; }
.btn-pill:hover { background: var(--ink); color: var(--cream); }
.btn-pill:focus-visible { outline: 3px solid var(--orange-fill); outline-offset: 3px; }
@media (max-width: 1099px) { .hg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
    .home-guides { padding-top: 56px; }
    .hg-cards { grid-template-columns: 1fr; gap: 16px; }
    .hg-pills { gap: 8px; }
    .hg-pill { font-size: 15px; padding: 0 14px; }
    .hg-title { font-size: 17px; }
}
