:root {
  --ink: #101720;
  --paper: #f6f5f1;
  --white: #ffffff;
  --muted: #69717c;
  --line: #d9dadd;
  --soft: #edf0ef;
  --night: #07121f;
  --night-2: #0d1c2c;
  --accent: #e24b36;
  --lime: #d6e647;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); transition: background 0.3s, color 0.3s; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
.site-shell { overflow: hidden; }

/* TOPBAR */
.topbar { height: 76px; display: flex; align-items: center; gap: 26px; padding: 0 max(5vw, 36px); border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: inline-flex; align-items: center; position: relative; color: #101b28; font-size: 25px; letter-spacing: -1.9px; font-weight: 700; line-height: 1; }
.brand span { letter-spacing: -2.7px; }
.brand b { color: var(--accent); font-weight: 800; }
.brand em { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin: 10px 0 0 2px; }
.edition-select { display: flex; align-items: center; gap: 8px; padding-left: 24px; border-left: 1px solid var(--line); color: #4d5661; font-size: 10px; letter-spacing: .12em; font-family: var(--mono); }
.edition-select svg { width: 13px; }
.pulse-dot, .breaking-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #e24b3622; }
.top-nav { display: flex; margin-left: auto; align-items: center; gap: 10px; }
.top-nav button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.top-nav svg { width: 15px; }
.top-nav .nav-live { color: var(--accent); }
.nav-live span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: blink 1.4s infinite; }
.profile-button { width: 33px; height: 33px; justify-content: center; border-radius: 50% !important; color: var(--white) !important; background: #1c2b3c !important; font-family: var(--sans) !important; letter-spacing: 0 !important; font-weight: 700; }

/* TOP BAR SPONSORED AD BANNER */
.top-ad-banner { background: #07121f; color: #e2e8f0; border-bottom: 1px solid #ffffff1a; padding: 8px max(5vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; }
.top-ad-inner { display: flex; align-items: center; gap: 12px; flex: 1; flex-wrap: wrap; }
.ad-tag { background: #d6e64722; color: var(--lime); border: 1px solid #d6e64744; font-family: var(--mono); font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 3px; letter-spacing: .08em; text-transform: uppercase; }
.top-ad-text { color: #cbd5e1; font-size: 12px; font-weight: 500; }
.top-ad-text strong { color: #ffffff; }
.ad-cta-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: white; padding: 4px 12px; border-radius: 3px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; transition: background 0.2s; }
.ad-cta-btn:hover { background: #c83824; }
.ad-close-btn { background: none; border: 0; color: #94a3b8; padding: 4px; display: flex; align-items: center; border-radius: 3px; }
.ad-close-btn:hover { color: white; background: rgba(255,255,255,0.1); }

/* SECTION NAV */
.section-nav { height: 49px; display: flex; align-items: stretch; gap: 25px; padding: 0 max(5vw, 36px); overflow-x: auto; white-space: nowrap; border-bottom: 1px solid var(--line); background: var(--paper); }
.section-nav::-webkit-scrollbar { display: none; }
.section-nav button { border: 0; background: none; padding: 0; color: #414b56; font-size: 12px; font-weight: 600; position: relative; }
.section-nav button.active { color: var(--ink); }
.section-nav button.active::after { position: absolute; content: ""; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.section-nav .search-trigger { margin-left: auto; display: flex; gap: 7px; align-items: center; }
.search-trigger svg { width: 16px; }
.search-trigger kbd, .search-input-wrap kbd { border: 1px solid var(--line); border-radius: 3px; color: #7c838a; padding: 1px 4px; font-family: var(--mono); font-size: 9px; }

/* BREAKING TICKER */
.breaking-bar { height: 39px; background: var(--night); color: white; display: flex; align-items: center; padding: 0 max(5vw, 36px); font-family: var(--mono); overflow: hidden; }
.breaking-label { color: #ff7a65; display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: .12em; padding-right: 20px; border-right: 1px solid #ffffff2c; flex: none; font-weight: 700; }
.breaking-label span { width: 6px; height: 6px; box-shadow: 0 0 0 3px #e24b3650; }
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker { display: inline-block; padding-left: 18px; white-space: nowrap; font-size: 10px; letter-spacing: .035em; animation: ticker 27s linear infinite; }
.ticker.paused { animation-play-state: paused; }
.ticker-control { border: 0; border-left: 1px solid #ffffff2c; background: transparent; color: #aeb9c6; padding: 4px 0 4px 17px; }
.ticker-control svg { width: 14px; display: block; }

/* MAIN LAYOUT */
main { max-width: 1440px; margin: auto; padding: 0 max(5vw, 36px); }
.masthead { padding: 60px 0 34px; display: flex; justify-content: space-between; align-items: flex-end; }
.eyebrow { margin: 0 0 12px; color: #68717b; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.eyebrow span { color: var(--accent); padding: 0 5px; }
.masthead h1, .section-heading h2 { margin: 0; font: 700 clamp(32px, 3.4vw, 49px)/1.02 var(--serif); letter-spacing: -.045em; }
.masthead-actions { display: flex; gap: 10px; }
.outline-button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 3px; background: transparent; font-size: 11px; font-weight: 600; }
.outline-button svg { width: 14px; }

/* HERO GRID */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.93fr) minmax(290px, .8fr); gap: 28px; }
.lead-story { position: relative; min-height: 480px; display: grid; overflow: hidden; border-radius: 2px; background: var(--night); color: var(--white); cursor: pointer; }
.lead-image { position: absolute; inset: 0; }
.image-wrap { position: relative; overflow: hidden; }
.image-wrap img { display: block; height: 100%; width: 100%; object-fit: cover; transition: transform .6s ease; }
.story-card:hover .image-wrap img { transform: scale(1.04); }
.image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #07121f12 20%, #07121fe8 100%); }
.tag { position: absolute; top: 14px; left: 14px; display: inline-flex; background: var(--lime); color: #162112; padding: 5px 7px; font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .08em; border-radius: 2px; }
.tag-light { background: #f9fbf9; }
.save-button { width: 33px; height: 33px; border: 1px solid #ffffff55; border-radius: 50%; display: grid; place-items: center; background: #09142142; color: white; backdrop-filter: blur(5px); transition: background 0.2s; }
.save-button svg { width: 15px; }
.save-button.saved { color: var(--lime); background: #0a1a25a9; }
.floating { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lead-copy { position: relative; align-self: end; z-index: 1; max-width: 710px; padding: 36px; }
.story-meta { margin: 0 0 14px; font: 10px var(--mono); letter-spacing: .08em; color: #becbd4; text-transform: uppercase; }
.story-meta b { padding: 0 6px; color: var(--accent); }
.live-indicator { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ff624b; margin: 0 5px 1px 0; }
.lead-copy h2 { margin: 0; font: 700 clamp(31px, 3.2vw, 50px)/1.06 var(--serif); letter-spacing: -.038em; }
.lead-copy > p:not(.story-meta) { color: #d0d7dc; max-width: 600px; font-size: 15px; line-height: 1.5; margin-top: 10px; }
.byline { display: flex; align-items: center; gap: 8px; padding-top: 9px; color: #d5dde0; font-size: 11px; }
.author-avatar { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #c9a07c; color: #3a2418; font-size: 8px; font-weight: 700; }
.byline span:not(.author-avatar) { color: #82909c; }

/* RIGHT RAIL & PANELS */
.right-rail { display: grid; gap: 22px; }
.panel-card { border: 1px solid var(--line); background: #fbfbf9; padding: 22px; border-radius: 4px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; }
.panel-heading h3 { margin: 0; font: 700 20px var(--serif); letter-spacing: -.03em; }
.panel-heading h3 span { margin-left: 5px; padding: 3px 4px; vertical-align: 3px; background: #feeee8; color: var(--accent); font: 9px var(--mono); letter-spacing: .06em; font-weight: 700; border-radius: 2px; }
.panel-heading button { padding: 0; background: none; border: 0; }
.panel-heading svg { width: 16px; }
.market-tabs { display: flex; margin: 20px 0 10px; gap: 17px; border-bottom: 1px solid var(--line); }
.market-tabs button { border: 0; background: none; padding: 0 0 9px; font-size: 10px; color: var(--muted); position: relative; font-family: var(--mono); font-weight: 600; text-transform: uppercase; }
.market-tabs .selected { color: var(--ink); font-weight: 700; }
.market-tabs .selected::after { content:""; position:absolute; bottom:-1px; height:2px; background:var(--accent); left:0; right:0; }
.market-list > div { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 7px 0; font-family: var(--mono); font-size: 10px; border-bottom: 1px dashed #e2e8f0; }
.market-list > div:last-child { border: 0; }
.market-list b { color: #3e4752; font-weight: 500; }
.market-list em { font-style: normal; text-align: right; font-weight: 600; }
.up { color: #278a65; }
.down { color: var(--accent); }
.market-spark { color: #41a67f; margin-top: 10px; height: 45px; background: linear-gradient(180deg, #41a67f18, transparent); border-radius: 4px; }
.market-spark svg { width: 100%; height: 100%; }

.quick-read { padding-bottom: 15px; }
.quick-read article { padding: 15px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.quick-read article:last-child { border: 0; padding-bottom: 0; }
.mini-tag { color: #57636f; font: 9px var(--mono); letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.quick-read h4 { margin: 6px 0; font: 600 15px/1.25 var(--serif); letter-spacing: -.02em; }
.quick-read p { margin: 0; color: #899097; font: 10px var(--mono); }

/* SECTIONS & TILES */
.section-block { margin-top: 82px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-size: 35px; }
.text-button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; color: #283643; background: none; font-size: 11px; font-weight: 700; font-family: var(--mono); text-transform: uppercase; }
.text-button svg { width: 15px; transition: transform .2s; }
.text-button:hover svg { transform: translateX(4px); }
.story-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-tile { min-width: 0; border-radius: 4px; overflow: hidden; cursor: pointer; }
.article-tile .image-wrap { height: 220px; background: var(--night); border-radius: 4px; }
.tile-copy { padding-top: 17px; }
.tile-copy .story-meta { color: #69727d; margin-bottom: 8px; }
.tile-copy h3 { margin: 0; font: 700 23px/1.11 var(--serif); letter-spacing: -.03em; }
.tile-desc { margin: 10px 0 13px; color: #626c76; font-size: 12px; line-height: 1.45; }
.tile-footer { display: flex; justify-content: space-between; align-items: center; color: #77808a; font: 10px var(--mono); }
.tile-footer button { display: grid; place-items: center; border: 0; padding: 3px; background: none; color: #56626e; }
.tile-footer svg { width: 15px; }

/* WORLD WIRE & 3D MAP */
.world-wire { padding-top: 5px; }
.red-dot { display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--accent); }
.wire-filter { display: flex; gap: 4px; padding: 3px; border-radius: 4px; background: #e7e8e5; }
.wire-filter button { border: 0; background: transparent; color: #69717b; padding: 7px 9px; border-radius: 3px; font-size: 10px; font-family: var(--mono); text-transform: uppercase; font-weight: 600; }
.wire-filter button.selected { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px #1017201b; font-weight: 700; }
.wire-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .75fr); gap: 40px; }
.wire-list { border-top: 1px solid var(--line); }
.wire-item { display: grid; grid-template-columns: 58px 1fr 120px; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.wire-time { color: #515c68; font: 11px var(--mono); line-height: 1.1; font-weight: 600; }
.wire-time span { color: #91979e; font-size: 9px; }
.wire-item h3 { margin: 5px 0 5px; font: 700 22px/1.12 var(--serif); letter-spacing: -.03em; }
.wire-item p { max-width: 550px; color: #65707a; margin: 0; font-size: 12px; line-height: 1.42; }
.wire-photo { align-self: center; height: 81px; overflow: hidden; border-radius: 4px; }
.wire-photo img { height: 100%; width: 100%; object-fit: cover; }
.wire-tools { display: flex; gap: 12px; margin-top: 11px; }
.wire-tools button { display: inline-flex; gap: 4px; align-items: center; padding: 0; border: 0; background: none; color: #7a838b; font: 10px var(--mono); font-weight: 600; }
.wire-tools button.follow-topic { color: #226c57; }
.wire-tools button.following { color: var(--accent); }
.wire-tools svg { width: 12px; }

.map-card { align-self: start; background: var(--night); color: #dbe9f0; border-radius: 4px; overflow: hidden; }
.map-header { display: flex; justify-content: space-between; padding: 15px 17px; color: #b5c8d4; font: 9px var(--mono); letter-spacing: .09em; font-weight: 700; }
.map-header span { display: flex; gap: 6px; align-items: center; }
.map-header svg { width: 13px; }
.map-header button { border:0; padding:0; background:none; color:#b5c8d4; }
.map-visual { position: relative; height: 215px; overflow:hidden; background: radial-gradient(circle at 47% 51%, #24485c 0 2%, #142c41 32%, #0c1a29 72%); }
.globe-lines { position:absolute; width: 280px; height:280px; top:-27px; left:50%; border:1px solid #6893a530; border-radius:50%; transform:translateX(-50%); background: repeating-linear-gradient(0deg, transparent 0 29px, #85abb925 30px 31px), repeating-linear-gradient(90deg, transparent 0 36px, #85abb921 37px 38px); }
.continent { position:absolute; background:#54848e9e; filter:drop-shadow(0 1px 2px #001320); }
.c1 { width:70px; height:39px; top:69px; left:55px; clip-path: polygon(0 16%, 34% 0, 90% 14%, 100% 68%, 62% 78%, 42% 100%, 14% 71%); }
.c2 { width:42px; height:67px; top:102px; left:99px; clip-path: polygon(0 0, 83% 12%, 100% 39%, 57% 100%, 17% 77%); }
.c3 { width:84px; height:45px; top:65px; right:50px; clip-path: polygon(0 37%, 38% 0, 100% 28%, 82% 80%, 36% 90%, 18% 64%); }
.c4 { width:59px; height:65px; top:105px; right:66px; clip-path: polygon(17% 0, 82% 5%, 100% 33%, 60% 100%, 13% 63%); }
.map-pulse { position:absolute; width:8px; height:8px; border-radius:50%; background:#d6e647; box-shadow:0 0 0 5px #d6e6472b; animation:pulse 2s infinite; }
.p1{top:80px;left:89px}.p2{top:118px;left:116px}.p3{top:78px;right:79px}.p4{top:126px;right:94px}.p5{top:163px;right:55px}
.map-caption { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; padding:14px 13px 17px; }
.map-caption div { display:flex; flex-direction:column; border-left:1px solid #88a0ae2e; padding-left:8px; }
.map-caption b { color:var(--lime); font:500 16px var(--mono); }
.map-caption span { margin-top:3px; color:#9eb0bb; font-size:9px; font-family: var(--mono); text-transform: uppercase; }

/* FEATURE BANNER */
.feature-banner { display:grid; grid-template-columns: 1.15fr 1fr; margin-top:84px; color:white; background:var(--night); border-radius: 4px; overflow: hidden; }
.feature-art { min-height:370px; overflow:hidden; }
.feature-art img { height:100%; width:100%; object-fit:cover; opacity:.83; }
.feature-content { padding:52px 5vw 45px 48px; background:linear-gradient(130deg,#0d2030,#07121f); }
.feature-content .eyebrow { color:#a0b5c0; }
.feature-content h2 { margin:0; font:700 clamp(29px,3vw,44px)/1.09 var(--serif); letter-spacing:-.04em; }
.feature-content h2 i { color:var(--lime); font-weight:600; font-style: italic; }
.feature-content > p:not(.eyebrow) { max-width:390px; color:#c2cbd0; font-size:13px; line-height:1.5; margin: 12px 0 24px; }
.light-button, .dark-button { display:inline-flex; align-items:center; gap:8px; border:0; border-radius:2px; padding:11px 14px; background:var(--white); color:var(--ink); font-size:11px; font-weight:700; text-transform: uppercase; font-family: var(--mono); }
.light-button svg,.dark-button svg { width:14px; }
.light-button span { color:#68727c; padding-left:8px; border-left:1px solid #d8dadb; font:10px var(--mono); }

/* PERSONAL FEED & NEWSLETTER */
.personal-grid { display:grid; grid-template-columns: 1.6fr .72fr; gap:55px; align-items:stretch; margin-bottom:88px; }
.for-you .section-heading { margin-bottom:18px; }
.icon-button { display:grid; place-items:center; width:34px; height:34px; border:1px solid var(--line); background:transparent; border-radius:50%; }
.icon-button svg { width:15px; }
.mobile-menu { display:none; }
.topic-chips { display:flex; flex-wrap:wrap; gap:7px; }
.topic-chips button { padding:7px 10px; border:1px solid var(--line); border-radius:18px; background:transparent; color:#5b6570; font-size:10px; font-family: var(--mono); font-weight: 600; }
.topic-chips button.selected { background:#172735; color:white; border-color:#172735; }
.topic-chips svg { width:12px; display:block; }
.perspective-card { margin-top:17px; padding:25px; background:#e8e9e4; border-left:3px solid var(--accent); border-radius: 0 4px 4px 0; }
.perspective-card h3 { margin:6px 0 8px; font:700 26px/1.1 var(--serif); letter-spacing:-.03em; }
.perspective-card p:not(.mini-tag) { max-width:550px; margin:0 0 17px; color:#61707a; font-size:12px; line-height: 1.5; }
.newsletter-card { padding:26px; background:var(--lime); border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; }
.newsletter-card > svg { width:23px; height:23px; }
.newsletter-card .eyebrow { margin:17px 0 8px; color:#435027; font-weight: 700; }
.newsletter-card h3 { margin:0; font:700 28px/1.05 var(--serif); letter-spacing:-.035em; color: #1e2e12; }
.newsletter-card p:not(.eyebrow) { margin:9px 0 18px; color:#46512e; font-size:12px; line-height:1.4; }
.newsletter-card form { display:flex; background:white; border-radius: 3px; overflow: hidden; border: 1px solid #c2d634; }
.newsletter-card input { min-width:0; flex:1; border:0; padding:10px; outline:0; font-size:11px; }
.newsletter-card form button { display:grid; place-items:center; width:37px; border:0; background:#1a2b3b; color:#fff; }
.newsletter-card form svg { width:14px; }
.newsletter-card small { display:block; color:#66763e; margin-top:10px; font-size:8px; line-height:1.35; font-family: var(--mono); }

/* FOOTER */
footer { padding:48px max(5vw,36px) 22px; color:#d1d9de; background:var(--night); }
.footer-top { display:flex; align-items:center; padding-bottom:40px; border-bottom:1px solid #ffffff1d; }
.footer-top .brand { color:#fff; }
.footer-top p { margin:0 0 0 20px; color:#9eacb5; font-size:12px; max-width: 480px; }
.socials { display:flex; gap:9px; margin-left:auto; }
.socials button, .socials a { display:grid; place-items:center; width:28px; height:28px; border:1px solid #ffffff38; border-radius:50%; color:#dce4e8; background:transparent; transition: background 0.2s; }
.socials a:hover, .socials button:hover { background: rgba(255,255,255,0.15); }
.socials svg { width:13px; }
.footer-links { display:grid; grid-template-columns:repeat(4, 1fr); padding:37px 0; gap: 24px; }
.footer-links h4 { margin:0 0 13px; color:var(--lime); font:10px var(--mono); letter-spacing:.1em; text-transform: uppercase; font-weight: 700; }
.footer-links a { display:block; margin:8px 0; color:#aebbc3; font-size:11px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display:flex; justify-content:space-between; align-items: center; padding-top:18px; border-top:1px solid #ffffff1d; color:#80909b; font:9px var(--mono); text-transform: uppercase; }
.footer-bottom div { display:flex; gap:15px; }

/* MODALS & TOAST */
.modal-backdrop { position:fixed; inset:0; z-index:90; pointer-events:none; opacity:0; background:#06101ce0; transition:opacity .25s; }
.modal { position:fixed; z-index:91; opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; }
.modal.open, .modal-backdrop.open { opacity:1; pointer-events:auto; }

.search-modal { left:50%; top:18%; width:min(650px, calc(100vw - 36px)); transform:translate(-50%,-25px); padding:10px; background:#fbfbf9; border-radius: 6px; box-shadow:0 18px 65px #0005; }
.search-modal.open { transform:translate(-50%,0); }
.search-input-wrap { display:flex; align-items:center; gap:10px; padding:11px; border-bottom:1px solid var(--line); }
.search-input-wrap svg { width:18px; }
.search-input-wrap input { flex:1; padding:6px 0; border:0; outline:0; background:transparent; font:600 20px var(--serif); }
.search-results { min-height:140px; max-height: 360px; overflow-y: auto; padding:14px; }
.search-results p { color:#6d757c; font-size:12px; }
.result { display:flex; justify-content:space-between; gap:10px; padding:12px 4px; border-bottom:1px solid var(--line); width: 100%; text-align: left; background: none; border-top:0; border-left:0; border-right:0; border-radius: 3px; cursor: pointer; }
.result:hover { background: #f1f5f9; }
.result:last-child { border:0; }
.result b { font:600 15px var(--serif); }
.result span { color:#66717a; font:9px var(--mono); }

/* AUDIO BRIEFING MODAL */
.audio-modal { left:50%; top:50%; width:min(480px, calc(100vw - 36px)); transform:translate(-50%,-45%); padding:32px; background:var(--night-2); color: white; border-radius: 8px; }
.audio-modal.open { transform:translate(-50%,-50%); }
.audio-modal h3 { margin: 10px 0 6px; font: 700 24px var(--serif); }
.audio-modal p { color: #a6bdc9; font-size: 13px; margin-bottom: 20px; }
.audio-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 20px 0; }
.audio-play-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--night); border: 0; display: grid; place-items: center; font-size: 20px; font-weight: 700; }
.audio-progress { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; margin-top: 14px; position: relative; }
.audio-progress-bar { height: 100%; width: 35%; background: var(--lime); }

/* ARTICLE READER MODAL */
.article-modal { left:50%; top:5%; width:min(860px, calc(100vw - 36px)); height: 90vh; transform:translate(-50%,-20px); padding:40px; background:var(--white); color: var(--ink); border-radius: 8px; overflow-y: auto; box-shadow: 0 25px 80px rgba(0,0,0,0.5); }
.article-modal.open { transform:translate(-50%,0); }
.article-modal-header { border-bottom: 1px solid var(--line); pb: 20px; margin-bottom: 24px; }
.article-modal-header h2 { font: 700 clamp(26px, 3vw, 38px)/1.1 var(--serif); margin: 10px 0; }
.article-modal-body img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 6px; margin: 16px 0; }
.article-modal-body p { font-size: 16px; line-height: 1.7; color: #334155; margin-bottom: 18px; }

.digest-modal { right:5vw; top:50%; width:min(395px,calc(100vw - 36px)); padding:36px; color:#eff5f5; background:var(--night-2); transform:translateY(-45%); border-radius: 6px; }
.digest-modal.open { transform:translateY(-50%); }
.modal-close { position:absolute; right:15px; top:15px; display:grid; place-items:center; width:28px; height:28px; color:#dfe6e8; background:none; border:1px solid #ffffff35; border-radius:50%; }
.modal-close svg { width:14px; }
.digest-modal .eyebrow { color:#a6bdc9; }
.digest-modal h2 { margin:0; font:700 37px/1.05 var(--serif); letter-spacing:-.045em; }
.digest-modal h2 i { color:var(--lime); font-style: italic; }
.digest-modal > p:not(.eyebrow) { color:#c1cdd2; font-size:13px; line-height:1.5; }
.digest-options { display:grid; gap:8px; margin:20px 0; }
.digest-choice { padding:11px; color:#d4dee2; border:1px solid #ffffff25; text-align:left; background:transparent; font-size:11px; font-family: var(--mono); border-radius: 3px; }
.digest-choice.selected { color:var(--night); background:var(--lime); border-color:var(--lime); font-weight: 700; }
.dark-button { width:100%; justify-content:center; background:white; }

.toast { position:fixed; z-index:99; left:50%; bottom:20px; display:flex; align-items:center; gap:9px; transform:translate(-50%,90px); padding:11px 14px; border-radius:3px; color:white; background:#172735; box-shadow:0 8px 28px #0003; transition:transform .3s; font-size:11px; }
.toast.show { transform:translate(-50%,0); }
.toast svg { width:14px; color:var(--lime); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* DARK MODE OVERRIDES */
body.dark { --paper:#101a25; --ink:#eff4f1; --white:#142432; --line:#ffffff1d; --soft:#1a2b38; --muted:#a9b7c1; }
body.dark .topbar, body.dark .section-nav { background:#101a25; }
body.dark .brand { color:#f3f7f4; }
body.dark .edition-select, body.dark .section-nav button, body.dark .outline-button, body.dark .tile-desc, body.dark .wire-item p, body.dark .tile-footer, body.dark .text-button { color:#bdc7cf; }
body.dark .panel-card { background:#142432; }
body.dark .market-list b, body.dark .market-tabs .selected { color:#edf3f4; }
body.dark .perspective-card { background:#192a36; }
body.dark .newsletter-card { color:#1b2614; }
body.dark .newsletter-card h3 { color:#172312; }
body.dark .newsletter-card p:not(.eyebrow) { color:#415027; }
body.dark .article-modal { background: #0f172a; color: white; }
body.dark .article-modal-body p { color: #94a3b8; }
body.dark .search-modal { background: #142432; color: white; }
body.dark .search-input-wrap input { color: white; }
body.dark .result b { color: white; }
body.dark .result:hover { background: #1e293b; }

@keyframes ticker { to { transform:translateX(-45%); } }
@keyframes blink { 50% { opacity:.25; } }
@keyframes pulse { 50% { box-shadow:0 0 0 9px #d6e64708; } }

@media (max-width: 920px) {
  .section-nav { gap:18px; }
  .hero-grid,.wire-layout,.personal-grid { grid-template-columns:1fr; }
  .right-rail { grid-template-columns:1fr 1fr; }
  .map-card { max-width:430px; }
  .feature-content { padding:42px 38px; }
  .wire-layout { gap:24px; }
  .personal-grid { gap:30px; }
  .newsletter-card { max-width:430px; }
  .story-row { gap:16px; }
  .article-tile .image-wrap { height:180px; }
}

@media (max-width: 650px) {
  .topbar { height:61px; padding:0 18px; gap:14px; }
  .mobile-menu { display:grid; width:29px; height:29px; border:0; }
  .mobile-menu svg { width:18px; }
  .brand { font-size:22px; }
  .edition-select { display:none; }
  .top-nav { gap:1px; }
  .top-nav button:not(.profile-button) { display:none; }
  .profile-button { width:30px; height:30px; }
  .section-nav { height:44px; padding:0 18px; gap:18px; }
  .section-nav button { font-size:11px; }
  .section-nav .search-trigger { position:sticky; right:0; padding-left:12px; background:var(--paper); }
  .search-trigger span,.search-trigger kbd { display:none; }
  .breaking-bar { height:35px; padding:0 18px; }
  .breaking-label { padding-right:11px; }
  .ticker { font-size:9px; }
  .masthead { padding:36px 0 25px; align-items:flex-start; }
  .masthead h1 { font-size:37px; }
  .masthead-actions { display:none; }
  main { padding:0 18px; }
  .hero-grid { gap:15px; }
  .lead-story { min-height:430px; }
  .lead-copy { padding:22px; }
  .lead-copy h2 { font-size:34px; }
  .lead-copy > p:not(.story-meta) { font-size:13px; }
  .right-rail { grid-template-columns:1fr; gap:14px; }
  .section-block { margin-top:55px; }
  .section-heading { align-items:end; }
  .section-heading h2 { font-size:29px; }
  .story-row { grid-template-columns:1fr; gap:30px; }
  .article-tile .image-wrap { height:235px; }
  .wire-filter { display:none; }
  .wire-item { grid-template-columns:45px 1fr; }
  .wire-photo { display:none; }
  .wire-item h3 { font-size:20px; }
  .feature-banner { grid-template-columns:1fr; margin:58px -18px 0; }
  .feature-art { min-height:220px; }
  .feature-content { padding:35px 28px; }
  .personal-grid { margin-bottom:55px; }
  .perspective-card h3 { font-size:23px; }
  footer { padding:36px 18px 18px; }
  .footer-top { align-items:flex-start; flex-wrap:wrap; }
  .footer-top p { width:100%; order:3; margin:14px 0 0; }
  .footer-links { grid-template-columns:1fr 1fr; gap:22px 10px; }
  .footer-bottom { display:block; line-height:2; }
  .footer-bottom div { margin-top:6px; }
  .socials { margin-left:auto; }
  .map-card { max-width:none; }
  .digest-modal { right:18px; padding:30px; }
}
