/* =============================================================================
   FirstNarration — modern magazine design
   Bold Bricolage Grotesque display + Inter. Colour-coded sections, image-forward
   cards with depth + hover motion, vibrant gradient artwork, an overlay hero.
   ============================================================================= */

:root {
  --bg:      #f3f3f7;
  --card:    #ffffff;
  --ink:     #141420;
  --ink-2:   #52525f;
  --muted:   #8a8a97;
  --line:    #e8e8ef;
  --line-2:  #f0f0f5;
  --accent:  #e10600;
  --accent-2:#ff7a34;
  --radius:  16px;
  --radius-sm: 11px;
  --shadow:  0 6px 22px rgba(20,20,45,.07);
  --shadow-lg: 0 16px 44px rgba(20,20,45,.14);
  --wrap:    1240px;
--disp: 'Montserrat', system-ui, sans-serif;
--sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- Category colours (tag + placeholder gradient share the number) -------- */
.tag { display: inline-flex; align-items: center; align-self: flex-start; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.tag.sm { font-size: 10px; padding: 3px 9px; }
.tag.c1 { background: #e6efff; color: #2563eb; } .ph.c1 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.tag.c2 { background: #e2f6ee; color: #059669; } .ph.c2 { background: linear-gradient(135deg, #34d399, #059669); }
.tag.c3 { background: #fdf0dd; color: #c2790a; } .ph.c3 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.tag.c4 { background: #efe7fe; color: #7c3aed; } .ph.c4 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.tag.c5 { background: #ddf6f4; color: #0d9488; } .ph.c5 { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.tag.c6 { background: #fde7f1; color: #db2777; } .ph.c6 { background: linear-gradient(135deg, #f472b6, #db2777); }
.tag.c7 { background: #ffe9dd; color: #ea580c; } .ph.c7 { background: linear-gradient(135deg, #fb923c, #ea580c); }
.tag.c8 { background: #e8ebf1; color: #475569; } .ph.c8 { background: linear-gradient(135deg, #94a3b8, #475569); }
.dev-badge { display: inline-flex; align-items: center; align-self: flex-start; gap: 5px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px 4px 8px; border-radius: 100px; background: var(--accent); color: #fff; }
.dev-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: dev-pulse 1.6s ease-in-out infinite; }
@keyframes dev-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.new-badge { display: inline-flex; align-items: center; align-self: flex-start; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; background: var(--ink); color: #fff; }

.ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #c8c8d6, #9a9ab0); }
.ph span { font-family: var(--disp); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.92); text-align: center; padding: 0 14px; }

/* ---- Masthead ------------------------------------------------------------ */
.masthead { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.mast-top { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.wordmark { font-family: var(--disp); font-weight: 600; font-size: 22px; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 9px; }
.wordmark .mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); transform: none; }
.mast-actions { display: flex; align-items: center; gap: 14px; }
.mast-date { font-size: 12.5px; color: var(--muted); }
.search-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border: 0; border-radius: 100px; padding: 9px 16px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.search-btn:hover { background: var(--ink); color: #fff; }
.search-btn svg { width: 15px; height: 15px; }
.mast-nav { border-top: 1px solid var(--line-2); }
.mast-nav-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mast-nav-row::-webkit-scrollbar { display: none; }
.mast-nav-row a { padding: 13px 15px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; border-bottom: 3px solid transparent; transition: color .15s; }
.mast-nav-row a:hover { color: var(--accent); }
.mast-nav-row a.active { color: var(--accent); border-bottom-color: var(--accent); }
.mast-nav-row a.is-live { display: inline-flex; align-items: center; gap: 6px; }
.mast-pill { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 100px; }
.mast-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: dev-pulse 1.6s ease-in-out infinite; }

/* ---- Breaking ------------------------------------------------------------ */
.breaking { background: var(--ink); }
.breaking-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; }
.breaking-tag { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 100px; flex: 0 0 auto; }
.breaking-viewport { flex: 1; min-width: 0; overflow: hidden; }
.breaking-track { display: inline-flex; align-items: center; white-space: nowrap; padding-left: 100%; animation: breaking-scroll 28s linear infinite; }
.breaking:hover .breaking-track { animation-play-state: paused; }
.breaking-head { color: #fff; font-family: var(--disp); font-weight: 600; font-size: 14px; white-space: nowrap; }
.breaking-head:hover { color: #ffd9cf; }
.breaking-sep { color: rgba(255,255,255,.35); margin: 0 18px; }
@keyframes breaking-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .breaking-track { animation: none; padding-left: 0; } }

/* ---- Section shell ------------------------------------------------------- */
.sec { padding: 40px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sec-title { font-family: var(--disp); font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 0; display: inline-flex; align-items: center; gap: 12px; }
.sec-title::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accent), #e00500);
}
.sec-all { font-size: 13.5px; font-weight: 700; color: var(--accent); }
.sec-all:hover { opacity: .7; }

/* ---- Cards --------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.card { display: flex; flex-direction: column; align-self: start; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; height:100%;}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-in { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-t { font-family: var(--disp); font-weight: 600; font-size: 16px; line-height: 1.22; letter-spacing: -.01em; margin: 2px 0 0; }
.card:hover .card-t { color: var(--accent); }
.card-d { color: var(--ink-2); font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-m { color: var(--muted); font-size: 12.5px; margin-top: auto; padding-top: 4px; }
.feat-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 26px; transition: transform .18s ease, box-shadow .18s ease; }
.feat-story:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-story-media { aspect-ratio: 4/3; overflow: hidden; }
.feat-story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.feat-story:hover .feat-story-media img { transform: scale(1.05); }
.feat-story-body { padding: 26px 30px 26px 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; align-items: flex-start; }
.feat-story-t { font-family: var(--disp); font-weight: 600; font-size: 27px; line-height: 1.18; letter-spacing: -.01em; margin: 2px 0 0; }
.feat-story:hover .feat-story-t { color: var(--accent); }
.feat-story-d { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Hero (overlay feature + rail) --------------------------------------- */
.hero { padding: 28px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; }
.feature { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 460px; box-shadow: var(--shadow); }
.feature-media { position: absolute; inset: 0; }
.feature-media img, .feature-media .ph { width: 100%; height: 100%; object-fit: cover; }
.feature-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,20,.86) 0%, rgba(10,10,20,.35) 45%, rgba(10,10,20,.05) 100%); }
.feature-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 32px 32px; color: #fff; }
.feature-t { font-family: var(--disp); font-weight: 600; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.05; letter-spacing: -.02em; margin: 14px 0 10px; }
.feature-d { font-size: 16.5px; line-height: 1.5; color: rgba(255,255,255,.9); margin: 0 0 12px; max-width: 42em; }
.feature-m { font-size: 13px; color: rgba(255,255,255,.75); }
.feature .tag { background: rgba(255,255,255,.94); }
.rail { display: flex; flex-direction: column; gap: 16px; }
.mini-card { display: grid; grid-template-columns: 108px 1fr; gap: 14px; background: var(--card); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease; }
.mini-card:hover { transform: translateY(-3px); }
.mini-media { height: 100%; overflow: hidden; }
.mini-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-in { padding: 10px 12px 10px 0; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.mini-t { font-family: var(--disp); font-weight: 700; font-size: 15px; line-height: 1.22; margin: 0; }
.mini-card:hover .mini-t { color: var(--accent); }

/* ---- Latest strip -------------------------------------------------------- */
.latest-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- Page hero ----------------------------------------------------------- */
.page-hero { padding: 40px 0 30px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumb a:hover { color: var(--accent); }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.page-hero h1 { font-family: var(--disp); font-weight: 600; font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -.03em; margin: 0; }
.page-hero p { color: var(--ink-2); font-size: 17px; margin: 12px 0 0; max-width: 54ch; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 24px; }
.subnav a { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; }
.subnav a:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Article ------------------------------------------------------------- */
.article { padding: 0 0 50px; }
.article-head { max-width: 820px; margin: 0 auto; padding: 40px 0 4px; text-align: center; }
.article-head h1 { font-family: var(--disp); font-weight: 600; font-size: clamp(18px, 4.4vw, 40px); line-height: 1.05; letter-spacing: -.025em; margin: 16px 0; }
.article-head .dek { font-size: 20px; line-height: 1.45; color: var(--ink-2); margin: 0 0 20px; }
.byline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.byline .by { font-weight: 700; color: var(--ink); }
.byline .dot { color: var(--muted); }
.byline .updated { color: var(--accent); font-weight: 700; }
.dev-pill { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 9px; border-radius: 100px; margin-left: 6px; }
.article-hero { max-width: 1000px; margin: 26px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-hero img { width: 100%; max-height: 560px; object-fit: cover; }
.article-hero.ph { aspect-ratio: 16/8; }
.article-with-timeline { max-width: 760px; margin: 30px auto 0; }
.article-with-timeline.has-timeline { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 40px; max-width: 1100px; align-items: start; }
.story-timeline-rail { position: sticky; top: 88px; }
.story-timeline-rail .sec-title { font-size: 13px; }
.story-timeline-rail .timeline-head { font-size: 16px; }
.article-body-wrap { position: relative; }
.share-rail { position: absolute; left: -74px; top: 4px; display: flex; flex-direction: column; gap: 10px; }
.article-with-timeline.has-timeline .share-rail { display: none; }
.article-with-timeline.has-timeline .share-bar { display: flex; }
.share-rail a, .share-bar a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ink); transition: transform .15s, background .15s; }
.share-rail a:hover, .share-bar a:hover { background: var(--accent); transform: translateY(-2px); }
.share-rail svg, .share-bar svg { width: 17px; height: 17px; }
.body { font-size: 19px; line-height: 1.72; color: #24242e; }
.body p { margin: 0 0 22px; }
.body h2 { font-family: var(--disp); font-weight: 600; font-size: 26px; line-height: 1.2; margin: 38px 0 12px; letter-spacing: -.01em; }
.body h3 { font-family: var(--disp); font-weight: 700; font-size: 21px; margin: 30px 0 10px; }
.body ul, .body ol { margin: 0 0 22px; padding-left: 24px; }
.body li { margin: 8px 0; }
.body a, .ilink { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,74,47,.4); }
.body img { margin: 24px 0; width: 100%; border-radius: var(--radius-sm); }
.body blockquote { margin: 26px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--accent); font-family: var(--disp); font-weight: 600; font-size: 23px; line-height: 1.35; color: var(--ink); }
.body .source-note { display: none; }
.share-bar { display: none; gap: 10px; margin: 24px auto 0; max-width: 760px; }
.tags-row { max-width: 760px; margin: 24px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Developing-story timeline (public) ----------------------------------- */
/* .story-timeline replaced by .story-timeline-rail (sidebar layout) above */
.timeline-list { list-style: none; margin: 0; padding: 0; }
.timeline-list li { position: relative; padding: 0 0 22px 24px; border-left: 2px solid var(--line); margin-left: 5px; }
.timeline-list li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-list li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--card); }
.timeline-time { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.timeline-head { font-family: var(--disp); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink); }
.timeline-note { font-size: 14.5px; color: var(--ink-2); margin: 6px 0 0; }
.tag-chip { font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px; color: var(--ink-2); }
.tag-chip:hover { border-color: var(--accent); color: var(--accent); }

/* Discovery */
.discover { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.discover-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.trend-list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.trend-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-2); counter-increment: t; }
.trend-list li:last-child { border-bottom: 0; }
.trend-list li::before { content: counter(t); font-family: var(--disp); font-size: 26px; font-weight: 600; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; flex: 0 0 auto; width: 26px; }
.trend-list h4 { font-family: var(--disp); font-weight: 700; font-size: 16px; line-height: 1.22; margin: 0 0 4px; }
.trend-list h4:hover { color: var(--accent); }

/* ---- Search -------------------------------------------------------------- */
.search-hero { padding: 46px 0 34px; }
.search-wrap { position: relative; max-width: 720px; }
.search-form { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 100px; padding: 8px 8px 8px 22px; box-shadow: var(--shadow); }
.search-form input { flex: 1; border: 0; background: transparent; outline: none; font-family: var(--disp); font-weight: 600; font-size: 22px; color: var(--ink); }
.search-form input::placeholder { color: var(--muted); }
.search-form button { border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 14px; padding: 13px 24px; border-radius: 100px; cursor: pointer; }
.search-form button:hover { filter: brightness(1.05); }
.suggest { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); z-index: 8; display: none; overflow: hidden; }
.suggest a { display: block; padding: 12px 16px; font-family: var(--disp); font-weight: 600; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover { background: var(--bg); color: var(--accent); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chips a { font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--line); border-radius: 100px; padding: 8px 15px; color: var(--ink-2); }
.search-chips a:hover { border-color: var(--accent); color: var(--accent); }
.results-count { font-size: 14px; color: var(--muted); margin: 26px 0 16px; }

/* ---- Prose (about/contact/404) ------------------------------------------- */
.prose { max-width: 720px; margin: 0 auto; padding: 40px 0; font-size: 19px; line-height: 1.7; color: #24242e; }
.prose p { margin: 0 0 20px; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.empty-note { padding: 60px 0; text-align: center; color: var(--muted); font-size: 18px; }

/* ---- Pagination ---------------------------------------------------------- */
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 10px; }
.pager a { min-width: 42px; text-align: center; padding: 10px 14px; border-radius: 100px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager a.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }

/* ---- Footer -------------------------------------------------------------- */
.foot-cta {
    background: linear-gradient(135deg, #e10600, #a00400);
    padding: 44px 0;
}
.foot-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-cta-copy h3 { font-family: var(--disp); font-size: 25px; font-weight: 600; color: #fff; margin: 0 0 6px; }
.foot-cta-copy p { color: rgba(255,255,255,.9); font-size: 14.5px; margin: 0; max-width: 46ch; }
.foot-cta-form { display: flex; gap: 10px; flex: 0 0 auto; }
.foot-cta-form input[type="email"] { width: 270px; max-width: 100%; padding: 13px 16px; border-radius: 100px; border: none; font-size: 14.5px; font-family: var(--sans); }
.foot-cta-form button { padding: 13px 24px; border-radius: 100px; border: none; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.foot-cta-form button:hover { background: #000; transform: translateY(-1px); }
.foot-cta-done { color: #fff; font-weight: 700; font-size: 15.5px; background: rgba(255,255,255,.16); padding: 13px 22px; border-radius: 100px; }
.foot-cta-err { color: #fff; font-size: 12.5px; margin-top: 8px; width: 100%; text-align: right; opacity: .9; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot { background: var(--ink); color: #b9b9c6; margin-top: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; padding: 50px 0 34px; flex-wrap: wrap; }
.foot-brand { max-width: 380px; }
.foot-social { display: flex; gap: 10px; margin-top: 4px; }
.foot-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #cfcfd9; transition: background .15s, color .15s; }
.foot-social a svg { width: 16px; height: 16px; }
.foot-social a:hover { background: var(--accent); color: #fff; }
.foot-cols { display: flex; gap: 56px; }
.foot-word { font-family: var(--disp); font-weight: 600; font-size: 26px; color: #fff; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 9px; }
.foot-word .mark { width: 24px; height: 24px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); transform: none; }
.foot-brand p { color: #9494a4; font-size: 14.5px; max-width: 42ch; margin: 0 0 14px; }
.foot h4 { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7c7c8c; margin: 4px 0 14px; }
.foot a.fl { display: block; font-size: 14px; color: #cfcfd9; padding: 6px 0; }
.foot a.fl:hover { color: var(--accent); }
.foot-sections { border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0; display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.foot-sections-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7c7c8c; padding-top: 8px; flex: 0 0 auto; }
.foot-pills { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 200px; }
.foot-pill { font-size: 13px; font-weight: 600; color: #cfcfd9; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; padding: 6px 14px; }
.foot-pill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.09); }
.foot-bar-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 12.5px; color: #7c7c8c; flex-wrap: wrap; gap: 10px; }
.foot-bar-links { display: flex; gap: 18px; }
.foot-bar-links a:hover { color: #fff; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature { min-height: 380px; }
  .feat-story { grid-template-columns: 1fr; }
  .feat-story-body { padding: 18px 20px 22px; }
  .feat-story-t { font-size: 22px; }
  .latest-row { grid-template-columns: repeat(2, 1fr); }
  .foot-cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .foot-cta-copy p { max-width: none; }
  .foot-cta-form { flex-direction: column; }
  .foot-cta-form input[type="email"] { width: 100%; }
  .foot-cta-err { text-align: center; }
  .card.big { grid-column: span 1; }
  .discover-grid, .rel-grid { grid-template-columns: 1fr; gap: 24px; }
  .share-rail { display: none; }
  .share-bar { display: flex; }
  .article-with-timeline.has-timeline { display: block; max-width: 760px; }
  .story-timeline-rail { position: static; margin-bottom: 30px; }
  .foot-cols { gap: 34px; }
}
@media (max-width: 560px) {
    .wordmark {
    font-size: 18px;
    gap: 7px;
}.breaking-head {
  
    font-weight: 400;
    font-size: 14px;
   
}

.article-head .dek {
    font-size: 16px;
  
}
    .mast-date { display: none; }
    .foot-sections { flex-direction: column; }
  .wrap { padding: 10px 16px; }
  .latest-row { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; }
  .foot-cols { gap: 30px; }
  .foot-bar-row { flex-direction: column; align-items: flex-start; }
  .body { font-size: 16px; }
  .feature-in { padding: 22px 20px; }
}