/* ==========================================================================
   CoherenceScope — core styles
   ========================================================================== */

/* Self-hosted Latin variable fonts keep the site fully offline-capable.
   Licenses: assets/fonts/OFL-Inter.txt and assets/fonts/OFL-Newsreader.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/newsreader-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/newsreader-latin-italic-var.woff2") format("woff2");
}

:root {
  --paper: #f7f5ef;
  --paper-2: #f0ede4;
  --surface: #fffdf8;
  --surface-2: #f2efe7;
  --surface-3: #e9e5da;
  --ink: #13211f;
  --ink-soft: #3d4b47;
  --muted: #5f6d67;
  --line: #ded9cd;
  --line-strong: #c9c3b4;
  --brand: #0d5c57;
  --brand-deep: #083f3b;
  --brand-soft: #dcebe6;
  --on-brand: #ffffff;
  --accent: #df5c38;
  --accent-deep: #b8421f;
  --accent-solid: #a33d20;
  --accent-soft: #fae5dc;
  --gold: #b9852d;
  --btn-bg: #083f3b;
  --btn-ink: #ffffff;
  --btn-accent-bg: #df5c38;
  --btn-accent-ink: #ffffff;
  --header-bg: rgba(247, 245, 239, 0.92);
  --overlay: rgba(8, 24, 22, 0.64);
  --shadow-sm: 0 1px 2px rgba(16, 32, 29, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(16, 32, 29, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(16, 32, 29, 0.48);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --serif: "Newsreader", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #0b1413;
  --paper-2: #0e1918;
  --surface: #111c1a;
  --surface-2: #16221f;
  --surface-3: #1d2b27;
  --ink: #edf3ee;
  --ink-soft: #c3d0c9;
  --muted: #93a39b;
  --line: #273530;
  --line-strong: #364640;
  --brand: #7bd4c7;
  --brand-deep: #a5eadf;
  --brand-soft: #143530;
  --on-brand: #06201d;
  --accent: #f08b68;
  --accent-deep: #ffb79d;
  --accent-soft: #3a241c;
  --gold: #e1b15d;
  --btn-bg: #7bd4c7;
  --btn-ink: #06201d;
  --btn-accent-bg: #f08b68;
  --btn-accent-ink: #251008;
  --header-bg: rgba(11, 20, 19, 0.9);
  --overlay: rgba(0, 0, 0, 0.72);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.85);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.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;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(18px, 3.2vw, 32px);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* ---------- top bar ---------- */
.topbar {
  background: #071e1d;
  color: #dbe9e3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 34px;
}

.topbar-date {
  color: rgba(219, 233, 227, 0.72);
  white-space: nowrap;
}

.topbar-tag {
  color: rgba(219, 233, 227, 0.62);
  letter-spacing: 0.08em;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.topbar-links a,
.topbar-links button {
  color: rgba(219, 233, 227, 0.85);
  transition: color 0.2s ease;
}

.topbar-links a:hover,
.topbar-links button:hover {
  color: #fff;
}

.topbar-links button {
  position: relative;
  padding: 0 0 0 21px;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.topbar-links button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: var(--accent);
}

.topbar-links a + a::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 18px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--brand-deep);
  flex-shrink: 0;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

[data-theme="dark"] .brand-mark {
  color: var(--brand);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.brand-name em {
  font-style: normal;
  color: var(--accent);
}

.brand-sub {
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.main-nav a[aria-current="page"] {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

[data-theme="dark"] .main-nav a[aria-current="page"] {
  color: var(--brand);
}

/* ---------- primary navigation groups ---------- */
.nav-home,
.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-group {
  position: relative;
}

.nav-caret {
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease, margin 0.18s ease;
}

.nav-group:hover .nav-caret,
.nav-group:focus-within .nav-caret,
.nav-group.is-open .nav-caret {
  margin-top: 3px;
  transform: rotate(225deg);
}

.nav-group-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 120;
  width: 316px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.22s var(--ease), visibility 0.18s;
}

.nav-group-menu::before {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 12px;
  content: "";
}

.nav-group:hover .nav-group-menu,
.nav-group:focus-within .nav-group-menu,
.nav-group.is-open .nav-group-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-group:nth-last-child(-n + 2) .nav-group-menu {
  left: auto;
  right: 0;
  transform: translateY(-6px);
}

.nav-group:nth-last-child(-n + 2):hover .nav-group-menu,
.nav-group:nth-last-child(-n + 2):focus-within .nav-group-menu,
.nav-group:nth-last-child(-n + 2).is-open .nav-group-menu {
  transform: translateY(0);
}

.nav-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px 9px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.nav-group-head span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-group-head a {
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--brand) !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.nav-group-menu > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 9px 11px !important;
  border-radius: 10px !important;
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.nav-group-menu > a:hover {
  background: var(--surface-2) !important;
}

.nav-group-menu > a[aria-current="page"] {
  background: var(--brand-soft) !important;
}

.nav-group-menu strong {
  font-size: 12px;
  font-weight: 700;
}

.nav-group-menu span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-scenarios {
  position: relative;
}

.nav-scenarios-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 120;
  width: 340px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.22s var(--ease), visibility 0.18s;
}

.nav-scenarios-menu::before {
  position: absolute;
  top: -9px;
  left: 0;
  width: 100%;
  height: 10px;
  content: "";
}

.nav-scenarios:hover .nav-scenarios-menu,
.nav-scenarios:focus-within .nav-scenarios-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-scenarios-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px 9px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
}

.nav-scenarios-head span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-scenarios-head a {
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--brand) !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.nav-scenarios-menu > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 10px 11px !important;
  border-radius: 10px !important;
  color: var(--ink) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.nav-scenarios-menu > a:hover {
  background: var(--surface-2) !important;
}

.nav-scenarios-menu strong {
  grid-column: 1;
  font-size: 11.5px;
  font-weight: 700;
}

.nav-scenarios-menu span {
  grid-column: 1;
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-scenarios-menu em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted);
  font-size: 8.5px;
  font-style: normal;
  white-space: nowrap;
}

.mobile-nav-scenarios {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-nav-scenarios h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-scenario-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobile-scenario-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 11px;
}

.mobile-scenario-links a strong {
  font-weight: 700;
}

.mobile-scenario-links a span {
  color: var(--muted);
  font-size: 8.5px;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.saved-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.saved-count[hidden] {
  display: none;
}

.header-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn-sm {
  padding: 10px 15px;
  font-size: 10px;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

[data-theme="dark"] .btn-primary:hover {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-accent {
  background: var(--btn-accent-bg);
  color: var(--btn-accent-ink);
}

.btn-accent:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: #f7f5ef;
  color: #082b27;
}

.btn-light:hover {
  background: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .text-link {
  color: var(--brand);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- shared editorial bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-deep);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: rgba(244, 250, 246, 0.62);
}

.kicker-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker-row .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.kicker-row .kicker-date {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head h2 {
  max-width: 20ch;
  margin-top: 10px;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.05;
}

.section-head p {
  max-width: 52ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- hero ---------- */
.hero-section {
  padding-top: 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 24px;
}

#heroFeature {
  display: flex;
}

.hero-feature {
  position: relative;
  display: flex;
  flex: 1;
  align-items: flex-end;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #082522;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.hero-feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hero-feature:hover img {
  transform: scale(1.035);
}

.hero-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 14, 13, 0) 24%, rgba(3, 14, 13, 0.52) 58%, rgba(3, 14, 13, 0.95) 100%),
    linear-gradient(90deg, rgba(3, 14, 13, 0.42), transparent 55%);
}

.hero-content {
  width: 100%;
  max-width: 780px;
  padding: clamp(24px, 3.2vw, 38px);
  color: #f4f8f4;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-feature h1 {
  max-width: 20ch;
  margin: 16px 0 13px;
  color: #fff;
  font-size: clamp(30px, 3.35vw, 47px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-dek {
  max-width: 57ch;
  color: rgba(245, 250, 246, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  color: rgba(245, 250, 246, 0.58);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-side {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 22px 22px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.hero-side-head span {
  color: var(--accent-deep);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-side-head time {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.side-story {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.side-story:last-of-type {
  border-bottom: 0;
}

.side-story img {
  width: 80px;
  height: 60px;
  border-radius: 9px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.side-story:hover img {
  transform: scale(1.04);
}

.side-cat {
  color: var(--accent-deep);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.side-story h3 {
  margin: 4px 0 5px;
  font-size: 16px;
  line-height: 1.18;
  transition: color 0.2s ease;
}

.side-story:hover h3 {
  color: var(--brand-deep);
}

[data-theme="dark"] .side-story:hover h3 {
  color: var(--brand);
}

.side-meta {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-side-foot {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

/* ---------- trending ---------- */
.trending {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
}

.trending-label {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trending a {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}

.trending a:hover {
  color: var(--accent);
}

.trending .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- content layout ---------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  align-items: start;
  gap: clamp(34px, 5vw, 58px);
  padding-top: 46px;
  padding-bottom: 20px;
}

.content-main {
  min-width: 0;
}

/* ---------- filter chips ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.chip {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.chip-count {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: 1px;
}

.chip.is-active .chip-count {
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

/* ---------- story cards ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

/* lead story in the latest grid */
.article-grid .story-card--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 322px;
}

.story-card--lead .story-media {
  height: 100%;
  min-height: 322px;
  aspect-ratio: auto;
}

.story-card--lead .story-body {
  padding: 28px 30px 24px;
}

.story-card--lead .story-title {
  margin-top: 11px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
}

.story-card--lead .story-dek {
  font-size: 13.5px;
  -webkit-line-clamp: 4;
}

.story-flag {
  color: var(--accent);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* compact headline list under the latest grid */
.headline-block {
  margin-top: 30px;
}

.headline-head {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.headline-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.headline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  margin-top: 2px;
  border-top: 1px solid var(--line);
}

.headline-item {
  display: block;
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--line);
}

.headline-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.headline-meta .cat-dot {
  width: 5px;
  height: 5px;
}

.headline-meta time {
  margin-left: auto;
}

.headline-item h3 {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.headline-item:hover h3 {
  color: var(--accent);
}

.story-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #082522;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.story-card:hover .story-media img {
  transform: scale(1.04);
}

.media-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(4, 16, 14, 0.62);
  color: rgba(255, 255, 255, 0.82);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 16px;
}

.story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.story-meta a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.story-meta a:hover {
  color: var(--accent-deep);
}

.story-meta .sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--line-strong);
}

.story-title {
  margin: 9px 0 8px;
  font-size: clamp(19px, 1.75vw, 23px);
  line-height: 1.16;
  letter-spacing: -0.012em;
}

.story-title a {
  transition: color 0.2s ease;
}

.story-card:hover .story-title a {
  color: var(--brand-deep);
}

[data-theme="dark"] .story-card:hover .story-title a {
  color: var(--brand);
}

.story-dek {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.story-org {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

a.story-org:hover {
  color: var(--accent);
  text-decoration: underline;
}

.save-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.save-btn:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.save-btn svg {
  width: 15px;
  height: 15px;
}

.save-btn.is-saved {
  color: var(--accent);
}

.save-btn.is-saved svg {
  fill: currentColor;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* ---------- sidebar ---------- */
.sidebar {
  min-width: 0;
}

.widget {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.widget:first-child {
  padding-top: 0;
}

.widget:last-child {
  border-bottom: 0;
}

.widget-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.widget-head h3,
.widget-title {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.widget-head h3::before,
.widget-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 2px;
}

.widget-head a {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.widget-head a:hover {
  color: var(--accent);
}

.sidebar-search {
  position: relative;
}

.sidebar-search input {
  width: 100%;
  height: 44px;
  padding: 0 46px 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.sidebar-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.sidebar-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: background 0.2s ease;
}

.sidebar-search button:hover {
  background: var(--accent);
  color: #fff;
}

.sidebar-search button svg {
  width: 15px;
  height: 15px;
}

.cat-group + .cat-group {
  margin-top: 16px;
}

.cat-group-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.cat-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 12px;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.cat-list li a:hover {
  padding-left: 3px;
  color: var(--accent);
}

.cat-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tone, var(--brand));
}

.cat-list .count {
  margin-left: auto;
  color: var(--muted);
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
}

/* tone colours for category dots */
.tone-teal { --tone: #179f92; }
.tone-coral { --tone: #df5c38; }
.tone-violet { --tone: #8b5cf6; }
.tone-amber { --tone: #c58a2b; }
.tone-blue { --tone: #3b82c4; }
.tone-rose { --tone: #d95f82; }
.tone-indigo { --tone: #5b6fd8; }
.tone-gold { --tone: #b9852d; }
.tone-green { --tone: #3f9b6a; }
.tone-cyan { --tone: #1595a8; }
.tone-slate { --tone: #6b7c86; }

/* popular list */
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.popular-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.popular-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.popular-item:first-child {
  padding-top: 0;
}

.popular-rank {
  width: 18px;
  flex-shrink: 0;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.popular-item h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

.popular-item:hover h4 {
  color: var(--accent);
}

.popular-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* newsletter card */
.newsletter-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: #0a3330;
  color: #f1f7f2;
  isolation: isolate;
}

.newsletter-card::before,
.newsletter-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.newsletter-card::before {
  top: -72px;
  right: -54px;
  width: 190px;
  height: 190px;
}

.newsletter-card::after {
  top: -46px;
  right: -28px;
  width: 130px;
  height: 130px;
}

.newsletter-kicker {
  color: #e8a184;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.newsletter-card h3 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: 23px;
  line-height: 1.12;
}

.newsletter-card p {
  color: rgba(241, 247, 242, 0.64);
  font-size: 12px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 6px;
  margin-top: 15px;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11.5px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-form button {
  flex-shrink: 0;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #e8a184;
  color: #2a1109;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.newsletter-form button:hover {
  background: #f6c0a7;
}

.newsletter-fine {
  margin-top: 10px;
  color: var(--muted) !important;
  font-size: 9px !important;
}

.newsletter-success {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e9f6ee;
  font-size: 11.5px;
  line-height: 1.45;
}

.newsletter-success svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #8fe3c0;
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.gallery-grid a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: #0a2622;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.08);
  opacity: 0.86;
}

/* org chips */
.org-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.org-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.2;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.org-chip span {
  color: var(--muted);
  font-size: 8.5px;
}

.org-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* ---------- editor band ---------- */
.editor-band {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  background: #082f2c;
  color: #f1f6f1;
  isolation: isolate;
}

.editor-band::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  z-index: -1;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.018),
    0 0 0 140px rgba(255, 255, 255, 0.012);
}

.editor-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  padding-top: 48px;
  padding-bottom: 48px;
}

.editor-quote blockquote {
  max-width: 21ch;
  margin: 18px 0 16px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.editor-quote p {
  max-width: 52ch;
  color: rgba(241, 246, 241, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.editor-signature {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 22px 0 22px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8a184, #b94a2c);
  color: #2a1109;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.editor-signature strong {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.editor-signature span {
  display: block;
  color: rgba(241, 246, 241, 0.5);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editor-picks {
  align-self: center;
}

.editor-picks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(241, 246, 241, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.editor-picks-head a {
  color: #e8a184;
}

.editor-pick {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.editor-pick img {
  width: 78px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.9;
}

.editor-pick h4 {
  color: #fff;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.editor-pick:hover h4 {
  color: #f0b49d;
}

.editor-pick span {
  display: block;
  margin-top: 5px;
  color: rgba(241, 246, 241, 0.44);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- company strip ---------- */
.company-strip {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.company-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.company-strip h2 {
  max-width: 18ch;
  margin: 12px 0 10px;
  font-size: clamp(25px, 2.5vw, 33px);
}

.company-strip p {
  max-width: 44ch;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 56px;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.logo-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-cell--more {
  justify-content: center;
  color: var(--accent-deep);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-cell--more .logo-mark {
  border-color: currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
}

.logo-cell:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #071c1b;
  color: #e6efe8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(0, 0.72fr));
  gap: 30px;
  padding-top: 56px;
  padding-bottom: 44px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-mark {
  color: #8fdccd;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-sub {
  color: rgba(230, 239, 232, 0.62);
}

.site-footer .eyebrow {
  color: rgba(244, 250, 246, 0.72);
}

.site-footer .newsletter-fine {
  color: rgba(230, 239, 232, 0.62) !important;
}

.newsletter-card .newsletter-fine {
  color: rgba(230, 239, 232, 0.62) !important;
}

.footer-about {
  max-width: 32ch;
  color: rgba(230, 239, 232, 0.62);
  font-size: 12px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(230, 239, 232, 0.68);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover {
  border-color: #8fdccd;
  background: rgba(143, 220, 205, 0.08);
  color: #8fdccd;
}

.footer-socials svg {
  width: 14px;
  height: 14px;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: rgba(230, 239, 232, 0.62);
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col a {
  color: rgba(230, 239, 232, 0.68);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-newsletter h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.footer-newsletter p {
  color: rgba(230, 239, 232, 0.5);
  font-size: 11.5px;
  line-height: 1.5;
}

.footer-newsletter .newsletter-form {
  margin-top: 14px;
}

.footer-newsletter .newsletter-form input {
  background: rgba(255, 255, 255, 0.06);
}

.footer-newsletter .newsletter-form button {
  background: #8fdccd;
  color: #06231f;
}

.footer-newsletter .newsletter-form button:hover {
  background: #b4eddf;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(230, 239, 232, 0.62);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-icp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-icp a {
  color: inherit;
}

.footer-bottom a:hover {
  color: #fff;
}



/* ---------- mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  padding: 104px clamp(22px, 6vw, 48px) 32px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
  overflow-y: auto;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.mobile-nav-links a span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-nav-group {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-group-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.mobile-nav-group-title span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.mobile-nav-group-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  margin-top: 8px;
  padding-left: 24px;
}

.mobile-nav-links .mobile-nav-group-links a {
  display: block;
  padding: 6px 0;
  border-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.mobile-nav-links .mobile-nav-group-links a:hover {
  color: var(--brand-deep);
}

.mobile-nav-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.mobile-nav-topics {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.mobile-nav-topics h3 {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-nav-topics .chip-row {
  margin: 0;
}

/* ---------- overlays / search ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 7vh, 80px) 16px;
  background: var(--overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.overlay[hidden] {
  display: none;
}

.search-panel {
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(760px, 84vh);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px) scale(0.99);
  transition: transform 0.25s var(--ease);
}

.overlay.is-open .search-panel {
  transform: translateY(0) scale(1);
}

.search-top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.search-top > svg,
.search-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--muted);
}

.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon svg {
  width: 100%;
  height: 100%;
}

.search-top input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
}

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

.kbd-btn {
  flex-shrink: 0;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
}

.search-content {
  overflow-y: auto;
  padding: 18px;
}

.search-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-section-label + .search-section-label {
  margin-top: 18px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px;
  border-radius: 10px;
  transition: background 0.18s ease;
}

.search-result:hover {
  background: var(--surface-2);
}

.search-result img {
  width: 74px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 7px;
  object-fit: cover;
}

.search-result-body {
  min-width: 0;
}

.sr-cat {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-result h3 {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sr-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.search-result mark {
  border-radius: 2px;
  background: var(--accent-soft);
  color: inherit;
}

.search-company {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 9px;
  border-radius: 9px;
  transition: background 0.18s ease;
}

.search-company:hover {
  background: var(--surface-2);
}

.search-company .logo-mark {
  width: 34px;
  height: 34px;
}

.search-company strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.search-company span {
  color: var(--muted);
  font-size: 10px;
}

.search-paper {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px;
  border-radius: 9px;
  transition: background 0.18s ease;
}

.search-paper:hover {
  background: var(--surface-2);
}

.search-paper-field {
  flex-shrink: 0;
  width: 68px;
  padding: 5px 6px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-align: center;
}

[data-theme="dark"] .search-paper-field {
  color: var(--brand);
}

.search-paper-body {
  flex: 1;
  min-width: 0;
}

.search-paper-body strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.search-paper-body strong mark {
  border-radius: 2px;
  background: var(--accent-soft);
  color: inherit;
}

.search-paper-body span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-paper-arrow {
  flex-shrink: 0;
  color: var(--muted);
}

.search-paper-arrow svg {
  width: 13px;
  height: 13px;
}

.search-empty {
  padding: 30px 10px 34px;
  text-align: center;
}

.search-empty strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.search-empty p {
  color: var(--muted);
  font-size: 12.5px;
}

.search-empty .btn {
  margin-top: 16px;
}

.search-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.search-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9.5px;
}

.search-foot kbd {
  padding: 1px 4px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 9px;
}

.search-foot a {
  color: var(--accent);
  font-weight: 600;
}

/* subscribe modal */
.modal-card {
  position: relative;
  width: min(470px, 100%);
  margin-top: 8vh;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px) scale(0.99);
  transition: transform 0.25s var(--ease);
  overflow: hidden;
}

.overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.modal-card h2 {
  margin: 12px 0 10px;
  font-size: 32px;
  line-height: 1.05;
}

.modal-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.modal-card .newsletter-form {
  margin-top: 20px;
}

.modal-card .newsletter-form input {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink);
}

.modal-card .newsletter-form input::placeholder {
  color: var(--muted);
}

.modal-card .newsletter-form button {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.modal-card .modal-fine {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

.modal-card .newsletter-success {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink);
}

.modal-card .newsletter-success svg {
  color: var(--brand);
}

/* ---------- toast ---------- */
.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 340px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: #0b2926;
  color: #edf6ef;
  font-size: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #8fdccd;
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.to-top svg {
  width: 15px;
  height: 15px;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive: shell + home ---------- */
@media (max-width: 1180px) {
  .main-nav a {
    padding: 8px 9px;
    font-size: 10.5px;
  }
  .header-inner {
    gap: 12px;
  }
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 38px;
  }
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 1020px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .header-actions {
    margin-left: auto;
  }
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    margin-top: 42px;
    border-top: 1px solid var(--line);
  }
  .widget {
    padding: 22px 0;
  }
  .widget-search,
  .widget-newsletter,
  .widget-gallery {
    grid-column: span 2;
  }
  .widget-newsletter {
    padding-top: 22px;
  }
  .widget-newsletter .newsletter-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 26px 28px;
  }
  .widget-newsletter .newsletter-card h3 {
    margin-bottom: 4px;
  }
  .widget-newsletter .newsletter-form {
    margin-top: 0;
  }
  .widget-newsletter .newsletter-fine {
    grid-column: 2;
    margin-top: -8px;
  }
  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-newsletter {
    grid-column: span 3;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-newsletter .newsletter-form {
    max-width: 460px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-feature {
    min-height: 480px;
  }
  .hero-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    min-height: 0;
  }
  .hero-side-head,
  .hero-side-foot {
    grid-column: 1 / -1;
  }
  .side-story {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .side-story img {
    width: 96px;
    height: 72px;
  }
  .side-story:nth-of-type(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
  .side-story:nth-of-type(5) {
    grid-column: 1 / -1;
  }
  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-cell--more {
    grid-column: span 2;
  }
  .editor-band-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .editor-quote blockquote {
    max-width: 24ch;
  }
  .company-strip-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar-tag {
    display: none;
  }
  .header-inner {
    height: 70px;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
  }
  .brand-name {
    font-size: 24px;
  }
  .header-actions .icon-btn {
    width: 36px;
    height: 36px;
  }
  .header-actions .icon-btn svg {
    width: 17px;
    height: 17px;
  }
  .hero-section {
    padding-top: 26px;
  }
  .kicker-row {
    gap: 10px;
    font-size: 9px;
  }
  .kicker-date {
    display: none;
  }
  .hero-feature {
    min-height: 450px;
    border-radius: 20px;
  }
  .hero-side {
    display: flex;
    flex-direction: column;
    padding: 20px 18px 10px;
    border-radius: 20px;
  }
  .side-story {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
    padding: 9px 0;
  }
  .side-story:nth-of-type(even) {
    padding-left: 0;
    border-left: 0;
  }
  .side-story img {
    width: 76px;
    height: 58px;
  }
  .side-story h3 {
    font-size: 15.5px;
  }
  .trending {
    gap: 7px 12px;
    margin-top: 20px;
  }
  .trending .sep {
    display: none;
  }
  .content-layout {
    padding-top: 38px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-grid .story-card--lead {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .story-card--lead .story-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .story-card--lead .story-body {
    padding: 20px;
  }
  .story-card--lead .story-title {
    font-size: 23px;
  }
  .headline-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .story-title {
    font-size: 22px;
  }
  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -18px;
    padding-right: 18px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .chip-row::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex-shrink: 0;
  }
  .sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .widget-search,
  .widget-newsletter,
  .widget-gallery {
    grid-column: auto;
  }
  .widget-newsletter .newsletter-card {
    display: block;
    padding: 24px 22px;
  }
  .widget-newsletter .newsletter-form {
    margin-top: 15px;
  }
  .widget-newsletter .newsletter-fine {
    margin-top: 10px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .editor-band {
    margin-top: 46px;
  }
  .editor-band-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .editor-quote blockquote {
    font-size: 30px;
  }
  .editor-pick {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .editor-pick img {
    width: 70px;
    height: 56px;
  }
  .company-strip {
    padding: 42px 0;
  }
  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 40px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-newsletter {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .search-panel {
    max-height: 88vh;
  }
  .search-content {
    padding: 12px;
  }
  .search-result img {
    width: 60px;
    height: 48px;
  }
  .search-result h3 {
    font-size: 12.5px;
  }
  .search-foot span {
    display: none;
  }
  .modal-card {
    margin-top: 4vh;
    padding: 28px 22px;
  }
  .to-top {
    display: none;
  }
  .toast-stack {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
  .toast {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    justify-content: center;
  }
  .topbar-links {
    display: none;
  }
  .header-actions .icon-btn[data-open-search] {
    display: none;
  }
  .hero-feature {
    min-height: 440px;
  }
  .hero-dek {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .hero-meta {
    gap: 7px;
    font-size: 8.5px;
  }
  .hero-content {
    padding: 22px 20px;
  }
  .hero-feature h1 {
    font-size: 30px;
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-brand,
  .footer-newsletter {
    grid-column: auto;
  }
}

/* ---------- compact homepage hero ---------- */
.hero-section {
  padding-top: 24px;
}

.hero-feature,
.hero-side {
  min-height: 380px;
}

.hero-content {
  max-width: 700px;
  padding: 24px 28px;
}

.hero-feature h1 {
  max-width: 22ch;
  margin: 12px 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.hero-dek {
  display: -webkit-box;
  overflow: hidden;
  max-width: 54ch;
  font-size: 13.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-meta {
  margin-top: 14px;
  font-size: 9px;
}

.hero-side {
  padding: 18px 18px 10px;
}

.hero-side-head {
  padding-bottom: 11px;
}

.side-story {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  padding: 3px 0;
}

.side-story img {
  width: 52px;
  height: 38px;
  border-radius: 6px;
}

.side-story h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.side-meta {
  display: none;
}

.side-cat {
  font-size: 8px;
}

@media (max-width: 720px) {
  .hero-section {
    padding-top: 18px;
  }

  .hero-feature {
    min-height: 350px;
  }

  .hero-side {
    padding: 16px 16px 8px;
  }

  .hero-content {
    padding: 20px 20px;
  }

  .hero-feature h1 {
    font-size: 27px;
  }

  .side-story {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 9px;
    padding: 5px 0;
  }

  .side-story img {
    width: 52px;
    height: 40px;
  }

  .side-story h3 {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-feature {
    min-height: 320px;
  }

  .hero-feature h1 {
    font-size: 24px;
  }

  .hero-dek {
    -webkit-line-clamp: 2;
  }
}

.search-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 9px;
  border-radius: 9px;
  transition: background 0.18s ease;
}

.search-product:hover {
  background: var(--surface-2);
}

.search-product-cat {
  display: grid;
  place-items: center;
  width: 52px;
  min-height: 34px;
  padding: 3px 6px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 8.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

[data-theme="dark"] .search-product-cat {
  color: var(--brand);
}

.search-product strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.search-product > div span {
  color: var(--muted);
  font-size: 10px;
}
