/* software.watch — monochrome */
:root {
  --ink: #050505; --ink-2: #0c0c0c; --ink-3: #161616;
  --paper: #f2f2ef; --paper-2: #e7e7e3; --text: #0a0a0a;
  --muted: #6d6d68; --muted-dark: #94948f;
  --line: #d6d6d1; --line-dark: #242424;
  --lime: #f2f2ef; --white: #fafaf8;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --gut: max(24px, calc((100vw - 1280px) / 2));
  --head: 76px;
}
::selection { background: #fff; color: #000; }
:focus-visible { outline-color: #fff; }
.section :focus-visible { outline-color: #000; }

/* header */
.site-header { background: #050505; backdrop-filter: none; border-bottom: 1px solid #1d1d1d; }
.nav-shell { height: var(--head); }
.brand { font-family: var(--display); font-size: 28px; font-weight: 400; letter-spacing: -.01em; }
.brand__watch { color: #8a8a85; font-style: italic; }
.desktop-nav a { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; border-radius: 0; }
.desktop-nav a:hover { background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 8px; }
.menu-toggle { border-radius: 0; }

/* buttons */
.button { border-radius: 0; min-height: 48px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.button--primary, .button--primary:hover { color: #050505; background: #fafaf8; border-color: #fafaf8; }
.button--primary:hover { background: #fff; transform: none; box-shadow: 6px 6px 0 #6d6d68; }
.button--ghost, .button--light { color: inherit; border-color: currentColor; }
.button--ghost:hover, .button--light:hover { color: #050505; background: #fafaf8; border-color: #fafaf8; }
.nav-brief { color: #fafaf8; background: transparent; border-color: #444; }
.nav-brief:hover { color: #050505; background: #fafaf8; box-shadow: none; }
.text-link { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .2em; }
.eyebrow span { border: 0; padding: 0; }
.hero .eyebrow, .section-heading--light .eyebrow, .newsletter .eyebrow { color: var(--muted-dark); }

/* hero: one centred stage, copy overlaid */
.hero { min-height: 0; background: #050505; border: 0; overflow: visible; }
.hero::before, .hero::after, .hero-grid, .brand-panel::before, .brand-scene::before, .brand-scene::after, .brand-scene__floor { display: none; }
.hero__layout.container { width: 100%; max-width: none; min-height: 0; padding: 0; display: block; }
.hero__copy { position: sticky; top: var(--head); z-index: 6; height: 0; padding: 0; pointer-events: none; }
.hero__copy > * { position: relative; left: var(--gut); top: 44px; width: min(360px, 34vw); pointer-events: auto; }
.hero__copy .eyebrow { margin-bottom: 18px; }
.hero h1 { margin: 0; font: 400 clamp(2.1rem, 3.3vw, 3.2rem)/1.04 var(--display); letter-spacing: -.02em; text-transform: none; }
.hero h1 span { display: block; color: #8a8a85; font-style: italic; -webkit-text-stroke: 0; }
.hero__dek { margin: 20px 0 0; color: #94948f; font-size: 14px; line-height: 1.65; }
.hero__actions { margin-top: 28px; }

.brand-story { width: 100%; max-width: none; }
.brand-chapter { min-height: 135svh; padding: 0; display: block; }
.brand-panel { position: sticky; top: var(--head); height: calc(100svh - var(--head)); min-height: 520px; display: block; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: hidden; }
.brand-scene { position: absolute; inset: 0; min-height: 0; background: radial-gradient(ellipse 46% 52% at 50% 50%, rgba(255,255,255,.13), transparent 72%), #050505; }
.brand-scene__orbit { width: min(46vw, 620px); border-color: rgba(255,255,255,.55); box-shadow: 0 0 70px rgba(255,255,255,.14), inset 0 0 50px rgba(255,255,255,.06); }
.brand-scene__orbit::before, .brand-scene__orbit::after { border-color: rgba(255,255,255,.1); }
.brand-object { width: clamp(230px, 28vw, 420px); }
.brand-object__depth { background: #121212; }
.brand-object__rim { background: linear-gradient(145deg, #c9c9c5, #2a2a28); }
.brand-object__face { background: linear-gradient(138deg, #fff 4%, #dcdcd8 46%, #6a6a66); }
.brand-scene__word { z-index: 1; left: 50%; right: auto; top: 50%; bottom: auto; font: 400 clamp(6rem, 21vw, 21rem)/.8 var(--display); letter-spacing: -.04em; text-transform: none; -webkit-text-stroke: 1px rgba(255,255,255,.13); transform: translate(-50%, -50%) translateX(calc(var(--brand-x) * -1.6)); }
.brand-panel__rail { top: auto; bottom: 58px; left: auto; right: var(--gut); flex-direction: column; align-items: flex-end; gap: 8px; color: #8a8a85; letter-spacing: .18em; }
.brand-panel__rail span:last-child::before { background: #fff; box-shadow: 0 0 12px #fff; }
.brand-news { position: absolute; left: var(--gut); bottom: 52px; width: min(430px, 38vw); padding: 0; background: none; border: 0; backdrop-filter: none; opacity: 0; transition: opacity .5s var(--ease); }
.brand-chapter.is-active .brand-news { opacity: 1; border: 0; }
.brand-news__meta { color: #fff; letter-spacing: .16em; }
.brand-news__meta i { background: #fff; box-shadow: 0 0 10px #fff; }
.brand-news h2 { margin: 14px 0 10px; font: 400 clamp(1.7rem, 2.4vw, 2.4rem)/1.08 var(--display); letter-spacing: -.02em; }
.brand-news p { color: #94948f; font-size: 13px; }
.brand-news a { color: #fff; font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }

/* sections */
.section { padding-block: 140px; }
.section-heading { align-items: end; padding-bottom: 36px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.section-heading--light { border-bottom-color: var(--line-dark); }
.section-heading h2 { font: 400 clamp(2.7rem, 5.4vw, 5.4rem)/1 var(--display); letter-spacing: -.035em; text-transform: none; text-wrap: balance; }
.section-heading > p { font-size: 15px; line-height: 1.7; }

/* trending */
.search-intelligence { background: var(--paper); color: var(--text); }
.search-dashboard { background: #050505; border: 0; border-radius: 0; box-shadow: none; }
.search-dashboard__topline, .search-dashboard__insight, .search-dashboard__note { border-color: #1f1f1f; background: transparent; }
.search-dashboard__topline strong, .search-dashboard__insight > span { letter-spacing: .16em; color: #fff; }
.trend-chart { background: none; border-color: #1f1f1f; }
.trend-chart__label strong, .query-list strong { color: #fff; }
.trend-grid path { stroke: rgba(255,255,255,.08); }
.trend-area { fill: rgba(255,255,255,.06); }
.trend-line { stroke: #fff; filter: none; stroke-width: 2; }
.query-list li { border-color: #1f1f1f; }
.query-list i { background: #1f1f1f; } .query-list i::after { background: #fff; }
.range-switch, .period-switch { border-radius: 0; background: none; border-color: #2c2c2c; }
.range-switch button, .period-switch button { border-radius: 0; letter-spacing: .12em; }
.range-switch button[aria-pressed="true"], .period-switch button[aria-pressed="true"] { color: #050505; background: #fafaf8; }
.search-dashboard__insight p { color: #b8b8b3; }
.search-dashboard__insight a:hover { color: #fff; }

/* github */
.github-radar { background: #0a0a0a; border-top: 1px solid #1d1d1d; }
.repo-board, .repo-row, .repo-source-note { border-color: #222; }
.repo-row:hover { background: #121212; }
.repo-main h3 { font-weight: 400; } .repo-main h3 strong { color: #fff; }
.repo-controls p { color: #77776f; }
.repo-board__header { color: #6d6d68; letter-spacing: .16em; }

/* newsletter */
.newsletter { background: var(--paper); color: var(--text); border: 0; }
.newsletter::after { font: 400 clamp(10rem, 25vw, 28rem)/1 var(--display); -webkit-text-stroke: 1px rgba(0,0,0,.08); }
.newsletter__grid { display: none; }
.newsletter .eyebrow { color: var(--muted); }
.newsletter__copy h2 { font: 400 clamp(3.2rem, 6.4vw, 6.6rem)/.96 var(--display); letter-spacing: -.035em; text-transform: none; }
.newsletter__copy p { color: #55554f; font-size: 17px; }
.newsletter-form { color: var(--white); background: #050505; border: 0; border-radius: 0; padding: 36px; }
.newsletter-form input { border-radius: 0; background: #0f0f0f; border-color: #2a2a2a; }
.newsletter-form input:focus { border-color: #fff; box-shadow: none; }
.newsletter-form .button--primary { box-shadow: none; }

.site-footer { background: #050505; }
.footer-brand p { font: italic 400 22px var(--display); color: var(--muted-dark); }
.footer-links { grid-template-columns: repeat(2, 1fr); }
.toast { color: #050505; background: #fafaf8; border-radius: 0; }

@media (max-width: 1100px) {
  .hero__copy > * { width: min(420px, 60vw); }
  .brand-news { width: min(420px, 60vw); }
}
@media (max-width: 780px) {
  :root { --head: 64px; --gut: 20px; }
  .section { padding-block: 88px; }
  .hero__copy { position: static; height: auto; padding: 44px 20px 12px; }
  .hero__copy > * { position: static; width: auto; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .brand-chapter { min-height: 0; }
  .brand-panel { position: relative; top: auto; height: 600px; border-top: 1px solid #1d1d1d; }
  .brand-object { width: 200px; }
  .brand-scene__orbit { width: 82vw; }
  .brand-scene__word { font-size: 34vw; }
  .brand-news { width: auto; right: 20px; bottom: 28px; opacity: 1; }
  .brand-panel__rail { top: 20px; bottom: auto; flex-direction: row; right: 20px; left: 20px; justify-content: space-between; }
  .brand-panel__rail span:last-child { font-size: 9px; }
  .section-heading h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .newsletter__copy h2 { font-size: clamp(3.2rem, 14vw, 5rem); }
}
@media (forced-colors: active) { .hero h1 span { color: var(--white); } }
.brand-chapter.is-active .brand-object { filter: drop-shadow(0 0 40px rgba(255,255,255,.14)); }
.brand-scene { background: radial-gradient(ellipse 46% 52% at 50% 50%, rgba(255,255,255,.13), transparent 72%), #050505 !important; }
.hero { overflow: clip; }
@media (max-width:420px){.brand-panel__rail span:last-child{font-size:9px}.brand-panel__rail span:last-child::after{content:none}}

/* hero copy scrolls away with the page instead of sticking */
.hero__copy { position: absolute; top: 0; left: 0; right: 0; height: 0; }
.hero__layout.container { position: relative; }

/* live sections */
.hn { background: #fff; color: var(--text); }
.hn-list { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.hn-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hn-n { color: var(--muted); font: 500 11px var(--mono); padding-top: 9px; }
.hn-title { font: 400 clamp(1.4rem, 2.3vw, 2.1rem)/1.15 var(--display); letter-spacing: -.015em; }
.hn-title:hover { text-decoration: underline; text-underline-offset: 6px; }
.hn-list p { margin: 8px 0 0; color: var(--muted); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hn-list p a:hover { color: var(--text); text-decoration: underline; }
.hn-loading { display: block !important; color: var(--muted); font: 500 12px var(--mono); }
.search-intelligence { background: var(--paper); }
.trends-live { background: #fff; border: 1px solid var(--line); }
.trends-live__bar, .trends-live__note { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; }
.trends-live__bar strong { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.trends-live .range-switch { border-color: var(--line); }
.trends-live .range-switch button { color: var(--muted); }
.trends-live .range-switch button[aria-pressed="true"] { color: #fff; background: #050505; }
.trends-grid { display: grid; grid-template-columns: 1.5fr 1fr; border-block: 1px solid var(--line); }
.trends-grid iframe { width: 100%; height: 460px; border: 0; background: #fff; }
.trends-grid iframe + iframe { border-left: 1px solid var(--line); }
.trends-live__note { color: var(--muted); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.trends-live__note a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.repo-filter input { height: 44px; width: min(320px, 100%); padding: 0 14px; color: #fff; background: transparent; border: 1px solid #2c2c2c; border-radius: 0; font: 13px var(--mono); outline: 0; }
.repo-filter input:focus { border-color: #fff; }
.repo-controls { flex-wrap: wrap; }
.language-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; }
.repo-empty { padding: 48px 0; color: #94948f; font: 12px var(--mono); }
.repo-empty a { color: #fff; text-decoration: underline; }
.repo-row { min-height: 108px; }
.repo-stars strong { font-size: 15px; }
@media (max-width: 900px) { .trends-grid { grid-template-columns: 1fr; } .trends-grid iframe + iframe { border-left: 0; border-top: 1px solid var(--line); } .trends-live__bar, .trends-live__note { flex-direction: column; align-items: flex-start; } .hn-list li { grid-template-columns: 38px 1fr; } }
.repo-stars strong, .repo-main p, .repo-language { color: #fff; }
.repo-main p { color: #94948f; }
.repo-filter input { width: min(360px, 100%); }
.repo-filter { flex: 1 1 260px; max-width: 360px; }

/* ---- brand: bigger, neon lights on and off ---- */
.brand { font-size: clamp(32px, 3.3vw, 46px); line-height: 1; text-shadow: 0 0 22px rgba(255,255,255,.3); }
.brand__watch { color: #f2f2ef; animation: neon 8s infinite; }
@keyframes neon {
  0%, 5%, 8%, 11%, 100% { color: #f2f2ef; text-shadow: 0 0 10px rgba(255,255,255,.65), 0 0 34px rgba(255,255,255,.3); }
  6%, 9.5% { color: #34342f; text-shadow: none; }
  7%, 10% { color: #cfcfca; text-shadow: 0 0 6px rgba(255,255,255,.35); }
}
@keyframes lightsOn { 0% { opacity: 0 } 6% { opacity: .9 } 9% { opacity: .08 } 13% { opacity: .8 } 16% { opacity: .15 } 22% { opacity: 1 } 28% { opacity: .5 } 34%, 100% { opacity: 1 } }

/* ---- hero intro: headline centred in the dark ---- */
.hero__copy { position: relative; top: auto; left: auto; right: auto; height: calc(100svh - var(--head)); display: grid; align-content: center; justify-items: center; text-align: center; padding: 0 24px; }
.hero__copy > * { position: static; left: auto; top: auto; width: auto; }
.hero__copy::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 52% 46% at 50% 50%, rgba(255,255,255,.12), transparent 72%); animation: lightsOn 2.8s both; }
.hero h1 { font-size: clamp(3.2rem, 8.6vw, 9.4rem); line-height: .95; letter-spacing: -.045em; max-width: none; animation: lightsOn 2.8s .15s both; text-shadow: 0 0 40px rgba(255,255,255,.18); }
.hero h1 span { text-shadow: none; }
.hero__copy .eyebrow { margin-bottom: 28px; animation: lightsOn 2.8s .4s both; }
.hero__dek { max-width: 520px; text-align: center; animation: lightsOn 2.8s .6s both; }
.hero__actions { animation: lightsOn 2.8s .8s both; }
@media (min-width: 781px) {
  .hero__copy { position: sticky; top: var(--head); z-index: 6; margin-bottom: calc(-1 * (100svh - var(--head))); pointer-events: none; opacity: calc(1 - var(--p, 1) * 1.5); transform: translateY(calc(var(--p, 1) * -36px)) scale(calc(1 - var(--p, 1) * .04)); filter: blur(calc(var(--p, 1) * 6px)); }
  .hero__copy .button { pointer-events: auto; }
  .hero.intro-done .hero__copy { visibility: hidden; }
  .brand-story { opacity: var(--p, 1); }
  .brand-chapter:first-child { min-height: 210svh; }
}
@media (max-width: 780px) { .brand { font-size: 30px; } .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); } }

/* ---- topic chips ---- */
.topic-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-switch button { min-height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.topic-switch button:hover { color: var(--text); border-color: var(--text); }
.topic-switch button[aria-pressed="true"] { color: #fff; background: #050505; border-color: #050505; }
.hn .topic-switch { margin-bottom: 18px; }
.trends-live__topics { padding: 0 20px 16px; }

/* ---- digest, apps, releases, signup topics ---- */
.digest { background: var(--paper); color: var(--text); }
.hn { background: #fff; }
.digest .topic-switch { margin-bottom: 28px; }
.digest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.digest-item { padding: 26px 0; border-top: 1px solid var(--line); }
.digest-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.digest-item h3 { margin: 12px 0 8px; font: 400 clamp(1.4rem, 2.1vw, 1.9rem)/1.12 var(--display); letter-spacing: -.015em; }
.digest-item h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.digest-item p { margin: 0; color: #55554f; font-size: 14px; line-height: 1.6; }
.digest-item .why { margin-top: 10px; color: var(--text); }
.digest-item .why b { font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-right: 8px; }
.digest-empty { grid-column: 1 / -1; padding: 40px 0; color: var(--muted); font: 12px/1.7 var(--mono); max-width: 640px; }
.apps { background: #fff; color: var(--text); }
.apps-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.apps-filter input { color: var(--text); border-color: var(--line); }
.apps-filter input:focus { border-color: #000; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.app-card { display: flex; flex-direction: column; min-height: 250px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.app-card:hover { color: #fff; background: #050505; }
.app-card__top, .app-card__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.app-card h3 { margin: 26px 0 8px; font: 400 1.9rem/1 var(--display); letter-spacing: -.02em; }
.app-card p { margin: 0 0 18px; color: #66665f; font-size: 13px; line-height: 1.55; }
.app-card:hover p, .app-card:hover .app-card__top, .app-card:hover .app-card__meta { color: #a9a9a3; }
.app-card__meta { margin-top: auto; }
.app-card__links { display: flex; gap: 18px; margin-top: 14px; font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.app-card__links a { text-decoration: underline; text-underline-offset: 5px; }
.release-tag { color: #fff; font-weight: 600; } .newsletter-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 22px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.newsletter-topics > span { color: var(--muted-dark); }
.newsletter-topics label { display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; letter-spacing: .08em; }
.newsletter-topics input { width: 14px; height: 14px; accent-color: #fff; }
@media (max-width: 1100px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 780px) { .digest-list { grid-template-columns: 1fr; } .app-grid { grid-template-columns: 1fr; } .release-row { grid-template-columns: 1fr auto; } .release-row time { display: none; } }

/* ---- sources marquee ---- */
.sources { padding: 40px 0 44px; background: #050505; border-block: 1px solid #1d1d1d; overflow: hidden; }
.sources__label { margin: 0 0 28px; text-align: center; color: #94948f; font: 500 11px var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__half { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__sep { flex: none; padding: 7px 14px; color: #6d6d68; border: 1px solid #262626; font: 500 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.logo-item { display: inline-flex; align-items: center; gap: 16px; flex: none; color: #fafaf8; }
.logo-item img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.logo-item b { font: 400 30px/1 var(--display); letter-spacing: -.02em; }
.src-item { flex: none; color: #d9d9d4; white-space: nowrap; }
.src-item img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.src-name { font: 400 28px/1 var(--display); letter-spacing: -.01em; }
.src-bbc .src-name, .src-cnn .src-name { font: 800 22px/1 var(--sans); letter-spacing: .04em; }
.src-reuters .src-name { font: 500 28px/1 var(--display); letter-spacing: .02em; }
.src-nyt .src-name { font-style: italic; }
.src-aljazeera .src-name { font: 600 22px/1 var(--sans); letter-spacing: .01em; }
.src-linkedin .src-name { font: 700 22px/1 var(--sans); letter-spacing: -.02em; }
.src-x .src-name { font: 500 30px/1 var(--mono); }
.src-truth .src-name { font: 700 20px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } .marquee__half { flex-wrap: wrap; justify-content: center; padding: 0 24px; } .marquee__half[aria-hidden="true"] { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }

/* ---- logo: a little further left ---- */
@media (min-width: 1100px) { .brand { margin-left: calc(-1 * clamp(0px, (100vw - var(--container)) / 2 - 24px, 56px)); } }

/* ---- headline: one line, written in left to right ---- */
.hero h1 { animation: none; }
.hero h1 span { display: inline; color: inherit; font-style: inherit; text-shadow: inherit; }
.hero h1 .sub { color: #8a8a85; font-style: italic; text-shadow: none; }
.hero h1 .ch { animation: ink .75s both; animation-delay: calc(.5s + var(--i) * 50ms); }
@keyframes ink { 0% { opacity: 0; } 55% { opacity: 1; text-shadow: 0 0 26px rgba(255,255,255,.85); } 100% { opacity: 1; } }
@media (min-width: 781px) { .hero h1 { white-space: nowrap; font-size: clamp(2.2rem, 5.2vw, 7.6rem); letter-spacing: -.04em; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .ch { animation: none; } }

/* ---- logo strap now sits in the first screen, under the headline ---- */
.hero__copy .sources { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 0 30px; background: none; border: 0; border-top: 1px solid #1d1d1d; pointer-events: auto; text-align: left; }
.hero__copy .sources__label { margin-bottom: 20px; }
@media (min-width: 781px) { .hero__copy { padding-bottom: 130px; } }
@media (max-width: 780px) { .hero__copy .sources { position: static; margin: 44px -20px 0; } }

/* GitHub topic chips on the dark section */
.github-radar .topic-switch button { color: #94948f; border-color: #2c2c2c; }
.github-radar .topic-switch button:hover { color: #fff; border-color: #fff; }
.github-radar .topic-switch button[aria-pressed="true"] { color: #050505; background: #fafaf8; border-color: #fafaf8; }
.github-radar .repo-controls { gap: 16px 24px; }
.digest-empty code, .repo-empty code { padding: 2px 6px; color: inherit; background: rgba(128,128,128,.18); }

/* ===== v15: pinned hero stage (all screen sizes). Desktop: logo left, news right. Phone: logo top, news below. ===== */
.hero__copy { grid-template-columns: minmax(0, 1fr); }
.hero__copy > * { min-width: 0; max-width: 100%; }
.sources { width: 100%; overflow: hidden; }
.brand-story { position: relative; height: var(--story-h, 520svh); }
.brand-stage { position: sticky; top: var(--head); height: calc(100svh - var(--head)); min-height: 480px; overflow: hidden; }
.brand-chapter, .brand-chapter:first-child { position: absolute; inset: 0; min-height: 0; padding: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s var(--ease), visibility 0s linear .55s; }
.brand-chapter.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .55s var(--ease), visibility 0s; }
.brand-panel { position: relative; top: auto; height: 100%; min-height: 0; border: 0; }
.brand-panel__rail { z-index: 7; }
.brand-progress { display: flex; position: absolute; z-index: 7; gap: 6px; }
.brand-progress i { width: 26px; height: 2px; background: #2a2a28; transition: background .3s; }
.brand-progress i.on { background: #fff; }
@media (min-width: 781px) {
  .brand-scene { inset: 0 50% 0 0; }
  .brand-scene::before { display: none; }
  .brand-scene__orbit { width: min(32vw, 520px); }
  .brand-object { width: clamp(210px, 23vw, 360px); }
  .brand-scene__word { font-size: clamp(5rem, 13vw, 14rem); }
  .brand-panel::after { content: ""; position: absolute; z-index: 4; top: 14%; bottom: 14%; left: 50%; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.16), transparent); }
  .brand-news { left: 56%; right: var(--gut); bottom: auto; top: 50%; width: auto; max-width: 560px; transform: translateY(calc(-50% + var(--news-y))); transition: opacity .5s var(--ease) .1s; }
  .brand-chapter.is-active .brand-news { opacity: 1; }
  .brand-news h2 { font-size: clamp(2rem, 3.3vw, 3.6rem); line-height: 1.04; margin: 18px 0 16px; }
  .brand-news p { font-size: 15px; line-height: 1.65; }
  .brand-news a { margin-top: 26px; }
  .brand-progress { left: 56%; bottom: 52px; }
}
@media (min-width: 781px) and (max-width: 1100px) { .brand-news { left: 54%; } }
@media (max-width: 780px) {
  .hero__copy { padding: 52px 20px 28px; }
  .brand-scene { inset: 0 0 46% 0; min-height: 0; }
  .brand-object { width: min(46vw, 200px); }
  .brand-scene__orbit { width: 74vw; }
  .brand-scene__word { font-size: 30vw; }
  .brand-panel__rail { top: 16px; bottom: auto; flex-direction: row; left: 20px; right: 20px; justify-content: space-between; }
  .brand-news { left: 20px; right: 20px; bottom: 54px; top: auto; width: auto; transform: translateY(var(--news-y)); opacity: 0; }
  .brand-chapter.is-active .brand-news { opacity: 1; }
  .brand-news h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.06; margin: 12px 0 8px; }
  .brand-news p { font-size: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .brand-news a { margin-top: 12px; min-height: 36px; }
  .brand-progress { left: 20px; bottom: 22px; }
}

/* ===== v15: email preview ===== */
.newsletter__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.newsletter__left { display: grid; gap: 34px; min-width: 0; }
.newsletter__copy h2 { font-size: clamp(2.8rem, 5vw, 5.4rem); }
.mail { margin: 0; background: #fff; color: #111; border: 1px solid #d9d9d3; box-shadow: 0 30px 70px -28px rgba(0,0,0,.35), 0 2px 0 rgba(0,0,0,.04); font-family: var(--sans, Inter, system-ui, sans-serif); min-width: 0; }
.mail__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f1f1ed; border-bottom: 1px solid #e1e1db; }
.mail__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfcfc8; }
.mail__bar span { margin-left: 10px; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #77776f; }
.mail__head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 18px 22px 14px; border-bottom: 1px solid #ececE6; }
.mail__avatar { width: 38px; height: 38px; display: grid; place-items: center; background: #050505; color: #fff; font: 500 13px var(--mono); }
.mail__head b { font-size: 14px; } .mail__head span { font-size: 12px; color: #77776f; }
.mail__head time { font: 500 11px var(--mono); color: #77776f; }
.mail__subject { margin-top: 4px; font: 400 24px/1.1 var(--display); letter-spacing: -.01em; }
.mail__body { padding: 20px 22px 8px; max-height: 470px; overflow: hidden; position: relative; }
.mail__body::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, #fff); }
.mail__hi { margin: 0 0 16px; font-size: 14px; color: #3d3d38; }
.mail__item { padding: 14px 0; border-top: 1px solid #ececE6; }
.mail__tag { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #77776f; }
.mail__item h3 { margin: 6px 0 6px; font: 400 21px/1.15 var(--display); letter-spacing: -.01em; }
.mail__item h3 a { color: inherit; text-decoration: none; }
.mail__item p { margin: 0; font-size: 13px; line-height: 1.55; color: #55554f; }
.mail__item .why { margin-top: 6px; color: #111; } .mail__item .why b { font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
.mail figcaption { padding: 12px 22px; border-top: 1px solid #ececE6; background: #fafaf7; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #77776f; }
@media (max-width: 900px) { .newsletter__layout { grid-template-columns: 1fr; } }

/* ===== v15.2: never let anything widen the page on phones ===== */
html, body { max-width: 100%; overflow-x: clip; }
@media (max-width: 780px) {
  .hero__copy .sources { width: calc(100% + 40px); max-width: none; margin: 44px -20px 0; }
}

.turnstile { margin-top: 14px; min-height: 0; }

/* ===== v20: phones with toolbars (Brave, Samsung...) have a shorter viewport; the intro grows instead of spilling under the stage ===== */
@media (max-width: 780px) {
  .hero__copy { height: auto; min-height: calc(100svh - var(--head)); padding: 28px 24px 0; }
  .hero__copy .sources { margin-top: 36px; }
}
