
* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--body-grad-top) 0%, var(--body-grad-bottom) 280px),
    radial-gradient(820px 420px at 12% 0%, var(--body-radial), transparent 65%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
}

.focus-overlay {
  position: fixed;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}

.focus-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--topbar-border);
  background: linear-gradient(180deg, var(--topbar-bg-start) 0%, var(--topbar-bg-end) 100%);
  backdrop-filter: blur(8px);
  /* Promote to GPU compositing layer — prevents white-line repaint on iOS when
     the virtual keyboard appears alongside position:sticky + backdrop-filter. */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.masthead-shell {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
  padding: 16px 0 10px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-datetime {
  color: var(--chip-ink);
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, var(--chip-border));
  background: color-mix(in srgb, var(--accent-2) 12%, var(--chip-bg));
  border-radius: var(--ui-radius);
  padding: 6px 12px;
  white-space: nowrap;
}

.weather-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, var(--chip-border));
  background: color-mix(in srgb, var(--accent-2) 12%, var(--chip-bg));
  border-radius: var(--ui-radius);
  padding: 8px 10px;
  font-size: 0.88rem;
  color: var(--chip-ink);
}

.weather-city {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.weather-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.weather-temp {
  font-weight: 700;
}

.weather-low {
  color: var(--muted);
}

.weather-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.theme-toggle {
  min-height: 38px;
  border-radius: var(--ui-radius);
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, var(--chip-border));
  background: color-mix(in srgb, var(--accent-2) 12%, var(--chip-bg));
  color: var(--chip-ink);
  padding: 6px 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.theme-toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.theme-toggle-label {
  line-height: 1;
  font-size: 0.84rem;
  font-weight: 650;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.search-inline {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.search-label {
  font-size: 0.78rem;
  color: var(--header-muted);
  font-weight: 600;
}

.search-inline input {
  min-height: 38px;
  width: 210px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, var(--input-border));
  border-radius: var(--ui-radius);
  background: color-mix(in srgb, var(--accent-2) 12%, var(--input-bg));
  color: var(--input-ink);
  padding: 0 12px;
  font: inherit;
}

.search-inline input::placeholder {
  color: var(--input-placeholder);
}

/* Make the native search-cancel (×) button visible on dark backgrounds */
.search-inline input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: auto;
  appearance: auto;
  opacity: 0.65;
  filter: invert(1);
  cursor: pointer;
}

:root[data-theme="light"] .search-inline input[type="search"]::-webkit-search-cancel-button {
  filter: invert(0);
}

.page-shell {
  width: min(1120px, calc(100% - 72px));
  margin: 22px auto 42px;
  padding-bottom: env(safe-area-inset-bottom);
  display: block;
  position: relative;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: -24px -14px auto;
  height: 180px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(320px 120px at 8% 40%, rgba(227, 0, 15, 0.13), transparent 70%),
    radial-gradient(360px 120px at 92% 65%, rgba(45, 140, 255, 0.15), transparent 68%);
  filter: blur(10px);
}

.promo-lane {
  display: none;
}

.content {
  min-height: calc(100dvh - 120px);
  display: grid;
  gap: 10px;
}

.page-intro {
  display: grid;
  gap: 6px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--card-bg-start), var(--card-bg-end));
  padding: 12px;
  box-shadow: var(--card-shadow);
}

.section-title {
  margin: 0 0 6px;
  color: var(--section-kicker-ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-subtitle {
  margin: 0;
  color: var(--section-subtitle-ink);
  font-size: 0.92rem;
}

#hero-section {
  display: grid;
  gap: 12px;
}

.hero-heading {
  margin: 0;
  color: var(--hero-heading-ink);
  font-family: var(--font-display);
  letter-spacing: 0.005em;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
  font-weight: 700;
}

.lead-gap {
  margin-top: 14px;
}

.utility-doc .hero-heading {
  max-width: 18ch;
}

.utility-doc .section-title {
  margin-bottom: 8px;
}

.utility-doc .doc-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.utility-doc .doc-grid h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--hero-heading-ink);
}

.utility-doc .doc-grid p,
.utility-doc .doc-grid li {
  color: var(--section-subtitle-ink);
  line-height: 1.58;
}

.utility-doc a,
.utility-meta a:not(.promo-cta) {
  color: color-mix(in srgb, var(--accent-2) 72%, #f4d8a6);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.utility-doc a:hover,
.utility-doc a:focus-visible,
.utility-meta a:not(.promo-cta):hover,
.utility-meta a:not(.promo-cta):focus-visible {
  color: var(--chip-ink);
  text-decoration-thickness: 2px;
}

.utility-doc .doc-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}

.utility-doc .doc-block {
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 12px;
  padding: 12px;
  background: color-mix(in srgb, var(--surface-2) 86%, transparent);
}

.source-flat-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.source-flat-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
}

.source-flat-item strong {
  font-weight: 700;
}

.source-flat-item span {
  color: var(--section-subtitle-ink);
  text-align: right;
  word-break: break-word;
}

@media (max-width: 640px) {
  .source-flat-item {
    flex-direction: column;
    gap: 4px;
  }

  .source-flat-item span {
    text-align: left;
  }
}

.utility-shell {
  padding-top: 24px;
}

.utility-card {
  margin: 0 auto;
}

.utility-card-wide {
  max-width: 920px;
}

.utility-card-narrow {
  max-width: 880px;
}

body:not(.is-hydrated) #hero-section,
body:not(.is-hydrated) #categories-section,
body:not(.is-hydrated) #feed-section,
body:not(.is-hydrated) #legal-footer {
  opacity: 1;
  transform: none;
}

.loading-card {
  display: grid;
  gap: 10px;
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: color-mix(in srgb, var(--story-surface-2) 80%, var(--surface) 20%);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-hero {
  min-height: 220px;
}

.skeleton-line {
  min-height: 16px;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-grid {
  min-height: 280px;
}

@keyframes skeleton-shimmer {
  to {
    transform: translateX(100%);
  }
}

body.is-hydrated #hero-section,
body.is-hydrated #categories-section,
body.is-hydrated #feed-section,
body.is-hydrated #legal-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

body.is-hydrated #categories-section {
  transition-delay: 70ms;
}

body.is-hydrated #feed-section {
  transition-delay: 120ms;
}

body.is-hydrated #legal-footer {
  transition-delay: 170ms;
}

#utilities-section[hidden] {
  display: none !important;
}

.story-card {
  position: relative;
  background: var(--story-surface);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.story-card:focus-visible,
.story-open-link:focus-visible,
.headline-link:focus-visible,
.cluster-source-title:focus-visible,
.cluster-drawer-close:focus-visible,
.feed-mode-btn:focus-visible,
.promo-cta:focus-visible,
.social-links a:focus-visible,
.footer-link-list a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.story-card.is-clickable:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--line) 55%, var(--accent-2) 45%);
  box-shadow: 0 18px 36px rgba(20, 16, 12, 0.2);
}

.story-card.is-focused {
  z-index: 1000;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.56);
  outline: 1px solid rgba(255, 241, 224, 0.3);
  background: var(--story-surface-focus);
  filter: none !important;
  opacity: 1 !important;
  animation: none !important;
  isolation: isolate;
  transform: none;
}

body.focus-reading .story-card.is-focused {
  position: fixed;
  left: 50%;
  top: 88px;
  transform: translateX(-50%);
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100dvh - 100px);
  overflow: auto;
  z-index: 1000;
}

body.focus-reading .story-card.is-focused,
body.focus-reading .story-card.is-focused * {
  filter: none !important;
  opacity: 1 !important;
}

body.focus-reading .dimmable,
body.focus-reading .story-card:not(.is-focused) {
  filter: grayscale(0.15) opacity(0.45);
}

body.focus-reading .story-card:not(.is-focused) {
  pointer-events: none;
}

.story-visual {
  margin: 0 0 10px;
  border: 1px solid var(--story-visual-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--story-visual-bg);
  position: relative;
}

.story-open-link {
  display: block;
}

.story-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-card .story-visual img {
  aspect-ratio: 16 / 8;
}

.story-meta-rail {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 8px;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--story-meta-ink);
}

.story-meta-rail .dot {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  color: var(--story-meta-dot);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  border: 1px solid var(--badge-border);
  background: var(--badge-bg);
  border-radius: 8px;
  padding: 0 7px;
  color: var(--badge-ink);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.badge.ok {
  color: var(--ok);
}

.badge.warn {
  color: var(--warn);
}

.badge.danger {
  color: var(--danger);
}

.freshness-badge {
  color: color-mix(in srgb, var(--ok) 80%, var(--badge-ink) 20%);
}

.cluster-badge {
  color: color-mix(in srgb, var(--accent-2) 80%, var(--badge-ink) 20%);
}

.cluster-badge-button {
  min-height: 22px;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  padding: 0 7px;
}

.cluster-badge-button:hover,
.cluster-badge-button:focus-visible {
  border-color: color-mix(in srgb, var(--accent-2) 72%, var(--chip-border) 28%);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.cluster-drawer-open .focus-overlay.open {
  background: rgba(0, 0, 0, 0.18);
}

.cluster-drawer {
  position: fixed;
  left: var(--cluster-popover-left, 16px);
  top: var(--cluster-popover-top, 96px);
  width: min(390px, calc(100vw - 24px));
  max-height: min(540px, calc(100dvh - 24px));
  z-index: 1001;
}

.cluster-drawer::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 28px;
  width: 14px;
  height: 14px;
  border-left: 1px solid color-mix(in srgb, var(--line) 78%, var(--accent-2) 22%);
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, var(--accent-2) 22%);
  background: var(--card-bg-start);
  transform: rotate(45deg);
}

.cluster-drawer-panel {
  display: grid;
  gap: 10px;
  max-height: inherit;
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--accent-2) 22%);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--accent-2) 11%, transparent) 0 25%, transparent 42%),
    linear-gradient(180deg, var(--card-bg-start), var(--card-bg-end));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  padding: 14px;
}

.cluster-drawer-handle {
  display: none;
  justify-self: center;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--story-muted-ink) 55%, transparent);
}

.cluster-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cluster-drawer-head h2 {
  margin: 2px 0 0;
  color: var(--headline-ink);
  font-size: clamp(1.05rem, 3.4vw, 1.22rem);
  line-height: 1.12;
}

.cluster-drawer-close {
  flex: 0 0 auto;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-ink);
}

.cluster-drawer-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cluster-drawer-source {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--story-surface-2) 72%, transparent);
  padding: 9px;
}

.cluster-source-rank {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 18%, var(--chip-bg) 82%);
  color: var(--badge-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.cluster-source-body {
  min-width: 0;
}

.cluster-source-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  color: var(--story-muted-ink);
  font-size: 0.72rem;
}

.cluster-source-title {
  color: var(--headline-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.28;
  text-decoration: none;
}

.cluster-source-title:hover,
.cluster-source-title:focus-visible {
  color: var(--headline-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card h2 {
  margin: 0 0 8px;
}

.headline-btn,
.headline-link,
.headline-static {
  color: var(--headline-ink);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.headline-link {
  text-decoration: none;
}

.feed-item .headline-btn,
.feed-item .headline-link,
.feed-item .headline-static {
  font-size: clamp(1.04rem, 1.4vw, 1.34rem);
  line-height: 1.24;
}

.headline-btn:hover,
.headline-btn:focus-visible,
.headline-link:hover,
.headline-link:focus-visible {
  color: var(--headline-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card p {
  margin: 0 0 8px;
  color: var(--story-body-ink);
  line-height: 1.5;
}

.meta {
  color: var(--story-muted-ink);
  font-size: 0.78rem;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

button,
.link-btn {
  min-height: 34px;
  border: 1px solid var(--chip-border);
  border-radius: 10px;
  background: var(--chip-bg);
  color: var(--chip-ink);
  padding: 6px 12px;
  font: inherit;
  cursor: pointer;
}

button.primary {
  background: #1f4f9f;
  border-color: #1f4f9f;
}

.close-x {
  min-height: 36px;
  width: 36px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
}

.close-x-visual {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  border: 0;
  background: rgba(49, 42, 36, 0.85);
  color: #fff;
}

.close-x-visual:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

#utilities-section,
#categories-section {
  display: grid;
  gap: 10px;
}

.widgets-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.chip {
  border-radius: 999px;
  min-height: 30px;
  padding: 4px 12px;
  font-size: 0.8rem;
}

.chip.active {
  border-color: var(--chip-active-border);
  color: var(--chip-active-ink);
  background: var(--chip-active-bg);
  font-weight: 600;
}

#feed-section {
  display: grid;
  gap: 10px;
}

.feed-control-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 12px;
  align-items: center;
}

.feed-control-copy {
  min-width: 0;
}

.feed-control-copy--inline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.feed-control-copy--inline .section-title,
.feed-control-copy--inline .section-subtitle {
  margin: 0;
}

.feed-control-copy--inline .section-subtitle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 24%, var(--chip-border) 76%);
  border-radius: 16px;
  background: color-mix(in srgb, var(--chip-bg) 84%, transparent);
  padding: 5px;
}

.feed-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--headline-ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.feed-mode-btn[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent-2) 48%, var(--chip-border) 52%);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 17%, transparent), transparent 60%),
    color-mix(in srgb, var(--chip-bg) 78%, var(--accent-2) 22%);
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feed-item {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--story-surface);
  border-radius: 14px;
}

.feed-item .story-visual {
  margin: 0;
  border: 0;
}

.feed-item .story-meta-rail,
.feed-item h2,
.feed-item p,
.feed-item .meta {
  padding-left: 10px;
  padding-right: 10px;
}

.feed-item .story-meta-rail {
  margin-top: 10px;
}

.feed-item h2 {
  margin-top: 2px;
  margin-bottom: 8px;
}

.feed-item p {
  margin-bottom: 10px;
}

.feed-item .meta {
  padding-bottom: 12px;
}

.feed-item .actions {
  padding-bottom: 10px;
}

:root[data-theme="light"] .feed-item .headline-link,
:root[data-theme="light"] .feed-item .headline-static {
  line-height: 1.3;
  letter-spacing: 0.004em;
}

:root[data-theme="light"] .feed-item p {
  color: #4a3d2f;
}

:root[data-theme="light"] .feed-item .meta {
  color: #7c6b58;
}

.promo-inline {
  display: none;
}

.promo-unit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: var(--story-surface-2);
}

.promo-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 82%, var(--accent-2) 18%);
  border-radius: 10px;
  background: color-mix(in srgb, var(--story-surface) 84%, var(--accent-2) 16%);
  aspect-ratio: 16 / 9;
}

.promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, var(--chip-border));
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-2) 18%, var(--chip-bg));
  color: var(--chip-ink);
  padding: 6px 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
}

.promo-cta:hover,
.promo-cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.promo-kicker {
  margin: 0;
  color: var(--section-kicker-ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.promo-unit h3 {
  margin: 6px 0;
  font-size: 1rem;
}

.promo-unit p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--story-body-ink);
}

.hero-widget {
  background: linear-gradient(180deg, color-mix(in srgb, var(--story-surface-2) 95%, transparent), var(--story-surface));
}

.hero-commercial-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
}

.commercial-square {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 60%, var(--accent-2) 40%);
  background:
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 38%),
    linear-gradient(180deg, color-mix(in srgb, var(--story-surface-2) 94%, var(--surface) 6%), var(--story-surface));
  animation: commercial-fade-pulse 4.8s ease-in-out infinite;
  animation-delay: var(--fade-delay, 0ms);
}

.commercial-square .promo-kicker {
  font-size: 0.68rem;
  opacity: 0.7;
}

.commercial-square .promo-media {
  aspect-ratio: 16 / 7;
}

.commercial-square h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.commercial-square > p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--story-body-ink);
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.commercial-square .promo-cta {
  margin-top: auto;
  width: 100%;
  font-size: 0.82rem;
}

@keyframes commercial-fade-pulse {
  0%,
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

.hero-news-package {
  padding: 0;
  align-self: stretch;
  border: 1px solid color-mix(in srgb, var(--line) 70%, var(--accent-2) 30%);
  background:
    radial-gradient(circle at 92% 6%, color-mix(in srgb, var(--accent-2) 17%, transparent), transparent 34%),
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--story-surface-2) 90%, var(--surface) 10%), var(--story-surface));
  overflow: hidden;
}

.hero-news-package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
  align-items: stretch;
}

.hero-news-package-grid.has-commercial {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.28fr);
}

.hero-news-package-grid--lead-only {
  grid-template-columns: 1fr;
}

.hero-news-core {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 12px;
  align-items: stretch;
}

.hero-news-package-grid--lead-only .hero-news-core {
  grid-template-columns: 1fr;
}

.hero-focus-slot,
.hero-support-slot {
  min-width: 0;
  display: grid;
  transition: opacity 260ms ease;
}

.hero-support-slot {
  align-content: start;
}

.hero-focus-slot.is-rotating-out,
.hero-support-slot.is-rotating-out {
  opacity: 0;
}

.hero-focus-slot.is-rotating-in,
.hero-support-slot.is-rotating-in {
  animation: hero-focus-fade-in 260ms ease both;
}

.hero-story-card {
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--line) 72%, var(--accent-2) 28%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--story-surface) 90%, var(--story-surface-2) 10%);
  overflow: hidden;
  animation: hero-card-reveal 260ms ease both;
}

.hero-story-card.is-clickable {
  cursor: pointer;
}

.hero-story-card.is-clickable:hover {
  border-color: color-mix(in srgb, var(--line) 52%, var(--accent-2) 48%);
}

.hero-lead-story {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.1fr);
  min-height: 100%;
}

.hero-lead-story .story-visual,
.hero-support-story .story-visual {
  margin: 0;
  border: 0;
}

.hero-lead-story .story-visual {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  border-radius: 0;
  margin: 0;
}

.hero-lead-story .story-open-link {
  height: 100%;
}

.hero-lead-story .story-visual img {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.hero-lead-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 16px;
}

.hero-story-meta {
  flex-wrap: wrap;
  row-gap: 5px;
  margin: 0;
}

.hero-lead-copy h2 {
  margin: 0;
  color: var(--headline-ink);
  font-size: clamp(1.12rem, 1.36vw, 1.42rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero-lead-copy .headline-link,
.hero-lead-copy .headline-static {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 780;
}

.hero-lead-summary {
  margin: 0;
  color: var(--story-body-ink);
  font-size: clamp(0.86rem, 0.94vw, 0.94rem);
  line-height: 1.42;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.hero-support-panel {
  min-width: 0;
  display: grid;
  align-content: start;
}

.hero-support-list {
  display: grid;
  gap: 7px;
  align-content: start;
}

.hero-support-story {
  display: grid;
  grid-template-columns: minmax(74px, 92px) minmax(0, 1fr);
  gap: 8px;
  padding: 7px;
  align-items: stretch;
  min-height: 90px;
  animation-delay: var(--support-delay, 0ms);
}

.hero-support-story .story-visual {
  border-radius: 9px;
  align-self: stretch;
}

.hero-support-story .story-visual img {
  height: 100%;
  min-height: 76px;
  aspect-ratio: 4 / 3;
}

.hero-support-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hero-support-copy h3 {
  margin: 0;
  color: var(--headline-ink);
  font-size: clamp(0.86rem, 0.98vw, 0.98rem);
  line-height: 1.2;
}

.hero-support-copy .headline-link,
.hero-support-copy .headline-static {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 720;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-commercial-rail {
  min-width: 0;
  display: grid;
}

.hero-commercial-rail .hero-commercial-stack {
  height: 100%;
}

@keyframes hero-card-reveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-focus-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.brief-summary {
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--story-surface-2);
}

.category-commercial {
  padding: 0;
}

.category-commercial .promo-unit {
  border: 0;
  border-radius: 14px;
  min-height: 96px;
  display: grid;
  align-content: center;
  padding: 14px;
  background: transparent;
}

.brief-summary h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.brief-summary p {
  margin: 0 0 8px;
}

.story-expand {
  margin-top: 12px;
  border-top: 1px solid #695f55;
  padding-top: 10px;
  position: relative;
}

.story-expand h4 {
  margin: 10px 0 6px;
}

.story-expand ul {
  margin: 0;
  padding-left: 18px;
}

.collapse-btn {
  display: block;
  margin: 12px auto 0;
  width: 40px;
  min-height: 40px;
  border-radius: 999px;
}

.caret-up {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #e4ebf7;
  border-right: 2px solid #e4ebf7;
  transform: rotate(-45deg);
}

.legal-footer {
  margin-top: 8px;
  padding: 18px 14px 22px;
  border-top: 1px solid var(--footer-border);
  color: var(--footer-note);
  font-size: 0.88rem;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--footer-bg-start), var(--footer-bg-end));
}

.footer-layout {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.legal-footer .footer-block {
  margin-top: 4px;
}

.footer-meta {
  display: grid;
  gap: 6px;
}

.footer-title {
  font-size: inherit;
  line-height: 1.45;
  color: var(--footer-title);
}

.footer-note {
  color: var(--footer-note);
  font-size: inherit;
  line-height: 1.45;
}

.footer-disclaimer {
  margin-top: 6px;
  color: var(--footer-disclaimer);
  font-size: inherit;
  line-height: 1.45;
}

.footer-privacy-note {
  color: var(--footer-disclaimer);
  line-height: 1.45;
}

.legal-footer .footer-block,
.footer-copyright,
.footer-link-list a,
.social-links a {
  font-size: inherit;
}

.footer-nav {
  border-top: 1px solid var(--footer-border);
  border-bottom: 1px solid var(--footer-border);
  padding: 10px 0;
  width: 100%;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 4px;
  text-decoration: none;
  color: var(--footer-link-ink);
}

.footer-link-list a:hover,
.footer-link-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-extras {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.footer-copyright { color: var(--footer-note); }

.footer-copyright {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit-sep {
  opacity: 0.6;
}

.footer-credit-label {
  font-weight: 620;
}

.footer-credit-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.05);
}

@media (max-width: 640px) {
  .footer-credit-logo {
    height: 22px;
  }
}

.feed-top-anchor {
  position: fixed;
  right: 20px;
  bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateY(10px);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, var(--chip-border));
  background: color-mix(in srgb, var(--accent-2) 18%, var(--chip-bg));
  backdrop-filter: blur(6px);
  opacity: 0;
  z-index: 30;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 38px;
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.feed-top-anchor.is-visible {
  opacity: 0.78;
  pointer-events: auto;
  transform: translateY(0);
}

.feed-top-anchor:hover,
.feed-top-anchor:focus-visible {
  opacity: 0.95;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-2) 28%, transparent);
}

.feed-top-glyph {
  color: color-mix(in srgb, var(--chip-ink) 94%, transparent);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
}

.feed-top-glyph::before {
  content: "\2191";
}

.social-links {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links a {
  text-decoration: none;
  color: var(--footer-link-ink);
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, var(--chip-border));
  padding: 7px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent-2) 18%, var(--chip-bg));
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--social-link-hover);
}

.social-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--social-icon-border);
  color: var(--social-icon-ink);
  padding: 3px;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.social-label {
  line-height: 1;
}

.utility-page {
  padding-top: 24px;
}

.utility-card {
  max-width: 920px;
  margin: 0 auto;
}

.utility-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.utility-lead {
  margin: 0;
  max-width: 16em;
  font-size: clamp(1.04rem, 1rem + 0.5vw, 1.34rem);
  line-height: 1.6;
  color: color-mix(in srgb, var(--text-main) 92%, transparent);
}

.contact-hero-main,
.contact-hero-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.contact-hero-copy .utility-lead {
  max-width: none;
}

.utility-meta {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.utility-meta p {
  margin: 0;
}

.corrections-card {
  padding: clamp(20px, 2vw, 28px);
}

.corrections-form {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid color-mix(in srgb, var(--accent-2) 18%, var(--input-border));
  border-radius: 24px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--accent-2) 12%, var(--surface)) 0%, color-mix(in srgb, var(--surface) 92%, black) 100%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.corrections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.form-field {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-2) 24%, var(--text-soft));
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--accent-2) 32%, var(--input-border));
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 64%, var(--input-bg));
  color: var(--input-ink);
  padding: 15px 18px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--input-placeholder);
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: color-mix(in srgb, var(--accent-2) 54%, var(--input-border));
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--accent-2) 72%, var(--input-border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 16%, transparent);
  transform: translateY(-1px);
}

.select-shell {
  position: relative;
  display: block;
}

.select-shell::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid color-mix(in srgb, var(--accent-2) 46%, var(--input-ink));
  border-bottom: 2px solid color-mix(in srgb, var(--accent-2) 46%, var(--input-ink));
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.select-shell select {
  appearance: none;
  padding-right: 46px;
}

.form-footnote {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.corrections-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 18px;
  align-items: start;
}

.corrections-submit,
.corrections-back-link {
  justify-self: stretch;
  width: 100%;
  justify-content: center;
}

.correction-status {
  margin: 0;
  min-height: 1.5em;
  color: color-mix(in srgb, var(--accent-2) 26%, var(--text-main));
  font-size: 0.95rem;
}

.correction-status[data-state="success"] {
  color: color-mix(in srgb, #7bd88f 78%, var(--text-main));
}

.correction-status[data-state="error"] {
  color: color-mix(in srgb, #ff8c7a 82%, var(--text-main));
}

.corrections-meta {
  gap: 18px;
}

.corrections-history {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.corrections-history-list {
  padding: clamp(14px, 1.5vw, 18px);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 88%, var(--chip-bg));
  border: 1px solid color-mix(in srgb, var(--accent-2) 14%, var(--input-border));
}

.corrections-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.correction-item {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--chip-bg) 76%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-2) 12%, var(--input-border));
}

.correction-item-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.correction-reason {
  color: var(--text-main);
  letter-spacing: 0.08em;
}

.correction-date {
  font-size: 0.84rem;
  color: var(--text-soft);
}

.correction-summary {
  color: color-mix(in srgb, var(--text-main) 90%, transparent);
  line-height: 1.55;
}

.corrections-empty {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 1080px) {
  .masthead-shell,
  .page-shell {
    width: min(1120px, calc(100% - 32px));
  }

  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .contact-page .utility-card {
    max-width: 1080px;
  }

  .contact-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.25fr);
    gap: 24px clamp(28px, 4vw, 54px);
    align-items: end;
  }

  .contact-hero-copy {
    align-self: center;
  }

  .corrections-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
    align-items: end;
  }

  .corrections-actions {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .corrections-submit,
  .corrections-back-link {
    width: auto;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .header-actions {
    margin-left: auto;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .search-inline input {
    width: 160px;
  }

  .search-label {
    width: 100%;
  }

  .feed-control-card {
    grid-template-columns: 1fr;
  }

  .hero-news-package-grid {
    grid-template-columns: 1fr;
  }

  .hero-news-core {
    grid-template-columns: 1fr;
  }

  .hero-lead-story {
    min-height: auto;
  }

  .hero-lead-story .story-visual {
    margin: 10px 10px 10px 0;
  }

  .hero-lead-story .story-visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .widgets-grid {
    grid-template-columns: 1fr;
  }

  .feed-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .masthead-shell {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .brand-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }


  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .header-datetime {
    display: none;
  }

  .weather-chip {
    min-width: 0;
    justify-content: center;
    padding-inline: 9px;
  }

  .search-inline {
    width: 100%;
  }

  .search-inline input {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: static;
  }

  .masthead-shell,
  .page-shell {
    width: calc(100% - 18px);
  }

  .masthead-shell {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .page-shell::before {
    inset: -18px 0 auto;
  }





  .theme-toggle {
    min-width: 38px;
    justify-content: center;
    padding-inline: 10px;
    margin-left: 0;
  }

  .theme-toggle-label {
    display: none;
    font-size: 0.8rem;
  }

  .weather-chip {
    gap: 6px;
    padding-inline: 9px;
    border-radius: 999px;
  }

  .weather-city {
    display: inline;
    font-size: 0.68rem;
  }

  .search-inline {
    gap: 4px;
    width: 100%;
  }

  .search-inline input {
    width: 100%;
  }

  .hero-news-package-grid {
    gap: 9px;
    padding: 9px;
  }

  .hero-lead-story {
    grid-template-columns: 1fr;
  }

  .hero-lead-copy,
  .hero-lead-story .story-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-lead-story .story-visual {
    margin: 0 11px 11px;
    border-radius: 12px;
  }

  .hero-lead-story .story-open-link {
    height: auto;
  }

  .hero-lead-story .story-visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8.6;
  }

  .hero-lead-copy {
    gap: 8px;
    padding: 12px 11px 10px;
  }

  .hero-lead-copy h2 {
    font-size: clamp(1.18rem, 6vw, 1.52rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
  }

  .hero-lead-summary {
    font-size: 0.92rem;
    line-height: 1.42;
    -webkit-line-clamp: 3;
  }

  .hero-story-meta {
    gap: 5px;
    font-size: 0.68rem;
  }

  .hero-support-list .hero-support-story:nth-child(n + 3) {
    display: none;
  }

  .hero-support-story {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    min-height: 96px;
    padding: 7px;
  }

  .hero-support-story .story-visual img {
    min-height: 82px;
  }

  .hero-support-copy {
    gap: 5px;
  }

  .hero-support-copy h3 {
    font-size: 0.9rem;
    line-height: 1.24;
  }

  .hero-support-copy .headline-link,
  .hero-support-copy .headline-static {
    -webkit-line-clamp: 3;
  }

  /* Keep mobile commercial inventory compact when real creatives are configured. */
  .commercial-square--second {
    display: none;
  }

  .hero-commercial-stack {
    grid-template-rows: 1fr;
  }

  .feed-item {
    display: flex;
    flex-direction: column;
  }

  .feed-item h2 {
    order: 1;
    margin-top: 10px;
    overflow-wrap: anywhere;
  }

  .feed-item .story-meta-rail {
    order: 2;
  }

  .feed-item .story-visual {
    order: 3;
  }

  .feed-item p {
    order: 4;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .feed-item > .meta {
    order: 6;
  }

  .cluster-drawer {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 8px;
    width: auto;
    max-height: min(82dvh, 720px);
  }

  .cluster-drawer::before {
    display: none;
  }

  .cluster-drawer-panel {
    border-radius: 24px 24px 18px 18px;
    padding: 10px 12px 14px;
  }

  .cluster-drawer-handle {
    display: block;
  }

  .cluster-drawer-head h2 {
    font-size: 1.45rem;
  }

  .cluster-drawer-source {
    border-radius: 14px;
  }

  .footer-link-list {
    flex-direction: column;
    gap: 10px;
  }

  .corrections-card {
    padding: 18px 14px;
    border-radius: 24px;
  }

  .utility-hero {
    gap: 10px;
    margin-bottom: 22px;
  }

  .utility-lead {
    max-width: none;
    font-size: 1rem;
  }

  .hero-heading {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem);
    line-height: 1.08;
  }

  .utility-doc .hero-heading {
    font-size: clamp(1.5rem, 6.8vw, 2rem);
    line-height: 1.09;
  }

  .corrections-form {
    padding: 14px;
    border-radius: 20px;
    gap: 14px;
  }

  .form-label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .select-shell::after {
    right: 16px;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .form-field textarea {
    min-height: 156px;
  }

  .corrections-submit,
  .corrections-back-link {
    width: 100%;
    justify-content: center;
  }

  .corrections-history-list {
    padding: 12px;
    border-radius: 18px;
  }

  .correction-item {
    padding: 12px;
    border-radius: 16px;
  }

  body.focus-reading .story-card.is-focused {
    top: 70px;
    width: calc(100vw - 10px);
    max-height: calc(100dvh - 74px);
  }
}

@media (max-width: 480px) {
  .masthead-shell,
  .page-shell {
    width: calc(100% - 16px);
  }

  .header-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .weather-chip {
    grid-column: 1 / 2;
    grid-row: 1;
    justify-content: flex-start;
  }

  .theme-toggle {
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .search-inline {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .search-inline input {
    min-height: 42px;
    font-size: 1rem;
  }

  .feed-control-copy--inline .section-subtitle {
    display: none;
  }

  .feed-mode-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feed-mode-btn {
    min-height: 38px;
  }
}
