:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --paper: rgba(255, 255, 255, 0.9);
  --paper-strong: rgba(255, 255, 255, 0.98);
  --ink: #0f0f0f;
  --muted: #686868;
  --line: rgba(15, 15, 15, 0.1);
  --accent: #0f0f0f;
  --accent-contrast: #ffffff;
  --accent-deep: #0f0f0f;
  --forest: #111111;
  --shadow: 0 24px 60px rgba(15, 15, 15, 0.1);
  --hero-bg: #050505;
  --orbit-a: rgba(0, 0, 0, 0.06);
  --orbit-b: rgba(0, 0, 0, 0.04);
  --overlay: rgba(5, 5, 5, 0.18);
}

@font-face {
  font-family: "Bauer Bodoni Condensed Custom";
  src: url("./assets/bauer-bodoni-condensed-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body[data-theme="dark"] {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --paper: rgba(12, 12, 12, 0.92);
  --paper-strong: rgba(18, 18, 18, 0.98);
  --ink: #f5f5f0;
  --muted: #a0a09a;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f5f5f0;
  --accent-contrast: #050505;
  --accent-deep: #f5f5f0;
  --forest: #f5f5f0;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --hero-bg: #000000;
  --orbit-a: rgba(255, 255, 255, 0.08);
  --orbit-b: rgba(255, 255, 255, 0.05);
  --overlay: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  overflow-x: hidden;
  padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--orbit-a), transparent 30%),
    radial-gradient(circle at right 20%, var(--orbit-b), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  transition: background 220ms ease, color 220ms ease;
}

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

.page-orbit {
  position: fixed;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.page-orbit-a {
  top: 5rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  background: var(--orbit-a);
}

.page-orbit-b {
  left: -5rem;
  bottom: 8rem;
  width: 15rem;
  height: 15rem;
  background: var(--orbit-b);
}

.topbar,
.hero-strip,
.cover-feed,
.article-page-wrap {
  position: relative;
  z-index: 1;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid var(--line);
}

body[data-theme="dark"] .topbar {
  background: rgba(10, 10, 10, 0.82);
}

.eyebrow {
  margin: 0 0 0.2rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  font-weight: 700;
}

.brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand-lockup {
  display: inline-flex;
  align-items: flex-end;
}

.brand-home-link {
  text-decoration: none;
  color: inherit;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: flex-end;
}

.brand-wordmark {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.16em;
  color: var(--ink);
  font-family: "Bauer Bodoni Condensed Custom", "Bauer Bodoni Condensed", "Bodoni Bd BT", "Bodoni MT Poster Compressed", Didot, serif;
  font-size: clamp(2rem, 2vw, 2.28rem);
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-wordmark-el,
.brand-wordmark-main {
  display: inline-block;
}

.brand-wordmark-el {
  letter-spacing: -0.075em;
}

.brand-wordmark-main {
  letter-spacing: -0.06em;
}

.mobile-menu-head .brand-wordmark {
  font-size: 1.82rem;
}

.topbar-spacer,
.mobile-menu-head > div:first-child {
  display: flex;
  align-items: center;
}

.topbar .brand-lockup {
  justify-self: center;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  width: 1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 999px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 72;
  background: var(--overlay);
  backdrop-filter: blur(10px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 73;
  width: min(24rem, 88vw);
  height: 100vh;
  padding: 1rem;
  background: var(--paper-strong);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(15, 15, 15, 0.14);
  backdrop-filter: blur(18px);
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-menu-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.mobile-menu-links {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.mobile-menu-links a,
.mobile-menu-links button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  color: var(--forest);
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.mobile-menu-links a,
.mobile-menu-links button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.menu-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  flex: 0 0 auto;
}

.theme-switch-wrap {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.theme-switch-copy {
  display: grid;
  gap: 0.18rem;
}

.theme-switch-label {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.theme-toggle-btn.theme-toggle-switch {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 3.6rem;
  height: 2rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.24);
  transition: background 180ms ease;
}

.theme-toggle-thumb {
  width: 1.64rem;
  height: 1.64rem;
  border-radius: 999px;
  background: var(--paper-strong);
  box-shadow: 0 4px 14px rgba(15, 15, 15, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

body[data-theme="dark"] .theme-toggle-track {
  background: var(--accent);
}

body[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(1.56rem);
  background: var(--accent-contrast);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.menu-copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.menu-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.menu-legal-links a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 0.65rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  border-radius: 1.35rem 1.35rem 0 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 -18px 40px rgba(15, 15, 15, 0.08);
}

.bottom-nav-item {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.3rem;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.bottom-nav-icon {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
}

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

.bottom-nav-label {
  font-size: 0.7rem;
  line-height: 1;
}

.bottom-nav-item.active {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 10px 20px rgba(15, 15, 15, 0.15);
}

.bottom-nav-item-muted {
  opacity: 0.58;
}

.bottom-nav-item-bellai {
  position: relative;
  min-width: 4.4rem;
  max-width: 4.9rem;
  margin-top: -1.7rem;
  padding-top: 0.8rem;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, #0b7a41 0%, #121316 100%);
  color: #fffdf8;
  box-shadow: 0 16px 30px rgba(11, 122, 65, 0.24);
}

.bottom-nav-item-bellai .bottom-nav-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.bottom-nav-item-bellai.active {
  background: linear-gradient(160deg, #0b7a41 0%, #121316 100%);
  color: #fffdf8;
}

.hero-strip {
  padding: 7.2rem 1.2rem 1.4rem;
  max-width: 90rem;
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 0.45rem;
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-strip h1 {
  margin: 0;
  max-width: 14ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5.8vw, 4.6rem);
  line-height: 0.97;
}

.hero-copy {
  max-width: 54ch;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.content-toolbar {
  display: grid;
  grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin-top: 1.2rem;
}

.content-priority {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.events-shell {
  position: relative;
  z-index: 1;
  width: min(90rem, calc(100% - 2.4rem));
  margin: 0 auto 1.4rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    linear-gradient(145deg, var(--paper-strong), var(--paper)),
    radial-gradient(circle at top right, var(--orbit-a), transparent 28%);
  box-shadow: var(--shadow);
}

.events-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.events-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.events-location {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  align-items: center;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.08);
  color: var(--forest);
  font-weight: 700;
}

.events-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.filter-field {
  display: grid;
  gap: 0.35rem;
}

.filter-field span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.filter-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.events-status {
  margin-top: 0.9rem;
  color: var(--muted);
  min-height: 1.5rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.event-card,
.event-empty {
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(15, 15, 15, 0.08);
}

.event-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.event-copy {
  padding: 1rem;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.12);
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
}

.event-tag.ghost {
  background: rgba(127, 127, 127, 0.08);
  color: var(--forest);
}

.event-copy h3,
.event-empty h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.event-venue {
  margin: 0.55rem 0 0;
  color: var(--forest);
  font-weight: 700;
}

.event-meta,
.event-address {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.event-description {
  margin: 0.75rem 0 0;
  color: var(--ink);
  line-height: 1.65;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.event-empty {
  padding: 1.2rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  padding: 0.7rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 12px 24px rgba(15, 15, 15, 0.16);
}

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

.btn.ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.cover-feed {
  height: calc(100vh - 0.5rem);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  padding: 0 1.2rem 7rem;
}

.cover {
  position: relative;
  min-height: calc(100vh - 1.2rem);
  margin: 0 auto 1.2rem;
  width: min(90rem, 100%);
  padding: 7rem 1.2rem 1.2rem;
  display: flex;
  align-items: flex-end;
  scroll-snap-align: start;
}

.cover-card {
  position: relative;
  width: min(40rem, 100%);
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.16), rgba(12, 12, 12, 0.58));
  color: #fffaf4;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.cover-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 1.8rem;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.cover-media.video::after {
  content: "VIDEO";
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
}

.cover-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.8rem;
  background:
    linear-gradient(125deg, rgba(10, 10, 10, 0.12), rgba(10, 10, 10, 0.24)),
    linear-gradient(180deg, rgba(10, 10, 10, 0.08) 22%, rgba(10, 10, 10, 0.82) 100%);
}

.cover-content {
  width: 100%;
}

.cover-category {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.cover h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.03;
}

.cover-title-link {
  color: inherit;
  text-decoration: none;
}

.cover-title-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.cover-summary {
  margin: 0.8rem 0 1rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.showcase-title-link {
  color: inherit;
  text-decoration: none;
}

.showcase-title-link:hover {
  text-decoration: underline;
}

.meta {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.52rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.showcase-panel,
.article-drawer {
  position: fixed;
  inset: 0;
  display: none;
  background: var(--overlay);
  backdrop-filter: blur(18px);
}

.showcase-panel {
  z-index: 65;
  align-items: center;
  justify-content: center;
}

.article-drawer {
  z-index: 70;
  align-items: flex-end;
}

.showcase-panel.open,
.article-drawer.open {
  display: flex;
}

.showcase-surface,
.drawer-surface,
.article-page {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.showcase-surface {
  width: min(72rem, 94vw);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 1.5rem;
  padding: 1.1rem;
}

.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.showcase-head h2,
.related h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.showcase-grid {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.showcase-item,
.related-item {
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.showcase-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.showcase-copy {
  padding: 0.95rem;
}

.showcase-copy p {
  margin: 0 0 0.35rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.showcase-copy h3 {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.showcase-link {
  margin-top: 0.45rem;
  width: 100%;
}

.drawer-surface {
  width: min(70rem, 100%);
  max-height: 92vh;
  margin: 0 auto;
  overflow-y: auto;
  border-radius: 1.6rem 1.6rem 0 0;
  padding: 1.1rem;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
}

.article-head h1 {
  margin: 0.2rem 0 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.04;
}

.article-category {
  margin: 0.5rem 0 0.15rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.article-meta {
  margin: 0;
  color: var(--muted);
}

.article-media {
  margin: 1rem 0;
}

.article-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1.3rem;
  border: 1px solid var(--line);
}

.article-caption {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.article-audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0 1.15rem;
}

.article-audio-play {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #1994df;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(25, 148, 223, 0.24);
}

.article-audio-play svg {
  width: 1.45rem;
  height: 1.45rem;
}

.article-audio-track {
  flex: 1 1 auto;
  min-width: 0;
}

.article-audio-range {
  width: 100%;
  margin: 0;
  accent-color: #1994df;
}

.article-audio-times {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.96rem;
  font-variant-numeric: tabular-nums;
}

.article-body {
  color: var(--ink);
  line-height: 1.82;
  font-size: 1.04rem;
}

body.article-font-large .article-body {
  font-size: 1.2rem;
  line-height: 1.92;
}

body.article-font-large .article-head h1 {
  font-size: clamp(1.95rem, 4vw, 3.35rem);
}

.article-body p {
  margin: 0 0 1rem;
}

.article-status {
  min-height: 1.25rem;
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-share-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.article-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.article-share-copy {
  font: inherit;
  cursor: pointer;
}

.ad-slot {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed var(--line);
  background: var(--paper);
  text-align: center;
  color: var(--muted);
}

.related {
  margin: 1.2rem 0 0.2rem;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.related-item {
  padding: 0.85rem;
}

.related-item button,
.related-item a {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--forest);
  text-align: left;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  padding: 0;
}

.article-page-wrap {
  min-height: 100vh;
  padding: 7.2rem 1rem 7rem;
}

.article-page {
  width: min(70rem, 100%);
  margin: 0 auto;
  border-radius: 1.6rem;
  padding: 1.15rem;
}

.article-detail-page .page-orbit {
  display: none;
}

.article-topbar {
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(17, 17, 20, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-topbar .brand-wordmark,
.article-topbar .menu-toggle {
  color: #f5f3ee;
}

.article-topbar .menu-toggle span {
  background: currentColor;
}

.article-topbar-start,
.article-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.article-back-btn,
.article-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0.8rem;
  background: transparent;
  color: #f5f3ee;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.article-back-btn svg,
.article-toolbar-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.article-toolbar-aa {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.article-toolbar-btn-share {
  min-width: auto;
  padding: 0 0.9rem;
  background: #12803c;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-detail-page {
  background: #ffffff;
  color: #181818;
}

.article-detail-page .page-orbit,
.article-detail-page .mobile-menu,
.article-detail-page .nav-overlay {
  display: none !important;
}

.article-detail-page .article-page-wrap,
.article-detail-page .topbar {
  z-index: 3;
}

.article-detail-page .article-page-wrap {
  position: relative;
  z-index: 1;
  padding: 5.9rem 0 2.5rem;
}

.article-detail-page .article-page {
  width: min(760px, calc(100% - 1.4rem));
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  backdrop-filter: none;
}

.article-detail-page .article-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  background: #232328;
  color: #ffffff;
  border-bottom: 0;
}

.article-topbar-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 600;
}

.article-detail-page .article-topbar-actions {
  gap: 0.1rem;
}

.article-detail-page .article-back-btn,
.article-detail-page .article-toolbar-btn {
  position: relative;
  min-width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.3rem;
  color: #ffffff;
}

.article-comments-btn {
  padding-top: 0.4rem;
}

.article-comments-badge {
  position: absolute;
  top: 0.12rem;
  left: 1.35rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: #ffffff;
  color: #161616;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.05rem;
  text-align: center;
}

.article-detail-page .article-toolbar-aa {
  font-size: 1.95rem;
  font-weight: 800;
}

.article-detail-page .article-head {
  padding: 0.15rem 0 0;
}

.article-detail-page .article-category {
  margin: 0;
  color: #2a5e91;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.article-detail-page .article-head h1 {
  margin: 0.12rem 0 0.75rem;
  color: #191919;
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(2.3rem, 7.5vw, 4.35rem);
  font-weight: 800;
  line-height: 1.02;
}

.article-detail-page .article-meta {
  margin: 0 0 1.1rem;
}

.article-meta-line {
  margin: 0;
  color: #5f5f62;
  font-size: 1rem;
  line-height: 1.4;
}

.article-meta-date {
  color: #252529;
  font-weight: 700;
}

.article-meta-author {
  color: #707074;
  font-size: 0.98rem;
}

.article-detail-page .article-media {
  margin: 0 0 0.65rem;
}

.article-detail-page .article-media img {
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

.article-detail-page .article-caption {
  margin-top: 0.55rem;
  color: #8a8a8f;
  font-size: 0.96rem;
  line-height: 1.35;
}

.article-detail-page .article-share-panel {
  gap: 0.35rem;
  margin: 0.35rem 0 0.9rem;
}

.article-detail-page .article-share-link {
  min-width: 2.15rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid #dbdbdf;
  border-radius: 999px;
  background: #f7f7f8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.article-detail-page .article-status {
  min-height: 0;
  margin: 0 0 0.4rem;
  color: #77777c;
  font-size: 0.86rem;
}

.article-market-board {
  padding: 0.7rem 0 0.9rem;
  border-top: 1px solid #dadadd;
  border-bottom: 1px solid #dadadd;
}

.article-market-board h2 {
  margin: 0 0 0.35rem;
  color: #0d0d0f;
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
}

.article-symbols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 1.1rem;
}

.article-symbol {
  font-size: 0.98rem;
  font-weight: 800;
}

.article-symbol.positive {
  color: #198f41;
}

.article-symbol.negative {
  color: #be1f2d;
}

.article-detail-page .article-audio-player {
  gap: 0.8rem;
  padding: 0.95rem 0 1.35rem;
}

.article-detail-page .article-audio-play {
  width: 4.25rem;
  height: 4.25rem;
  background: #1e95dd;
  box-shadow: none;
}

.article-detail-page .article-audio-track {
  padding-top: 0.1rem;
}

.article-detail-page .article-audio-range {
  accent-color: #1e95dd;
}

.article-detail-page .article-audio-times {
  margin-top: 0.15rem;
  color: #5d5d61;
  font-size: 0.95rem;
}

.article-detail-page .article-body {
  color: #111114;
  font-size: 1.08rem;
  line-height: 1.65;
}

.article-detail-page .article-body p {
  margin: 0 0 1rem;
}

.article-detail-page .article-body .article-dropcap::first-letter {
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: #17171b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2em;
  line-height: 0.82;
  font-weight: 700;
}

.article-detail-page .article-ads {
  margin: 1rem 0 1.2rem;
  padding: 1rem;
  border: 1px dashed #c9c9cf;
  border-radius: 0.35rem;
  background: #fafafc;
}

.article-detail-page .related {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #d9d9de;
}

.article-detail-page .related h2 {
  margin: 0 0 0.8rem;
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.article-detail-page .related-list {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.article-detail-page .related-item {
  padding: 0.9rem 0;
  border-top: 1px solid #ececf0;
  border-radius: 0;
  background: transparent;
}

.article-detail-page .related-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.article-detail-page .related-item a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  color: #0e0e11;
  text-decoration: none;
}

.article-detail-page .related-thumb-wrap {
  display: block;
  overflow: hidden;
  border-radius: 0.45rem;
  background: #f3f3f6;
}

.article-detail-page .related-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-detail-page .related-copy {
  min-width: 0;
}

.article-detail-page .related-title {
  display: block;
  color: #0e0e11;
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

body.article-font-large .article-detail-page .article-body,
body.article-font-large .article-body {
  font-size: 1.23rem;
  line-height: 1.76;
}

body.article-font-large .article-detail-page .article-head h1,
body.article-font-large .article-head h1 {
  font-size: clamp(2.55rem, 8.2vw, 4.75rem);
}

.empty-state {
  width: min(70rem, 100%);
  min-height: calc(100vh - 11rem);
  margin: 0 auto 1.2rem;
  padding: 8rem 1.4rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.empty-state h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.empty-state p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(86rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 3rem;
}

.legal-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.legal-home-link .brand-wordmark {
  font-size: clamp(2rem, 2.2vw, 2.5rem);
}

.legal-brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-tab {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
}

.legal-tab.active {
  background: var(--accent);
  color: var(--accent-contrast);
}

.legal-hero {
  padding: 4.5rem 2rem;
  border-radius: 2rem;
  background: var(--hero-bg);
  color: #fffaf4;
}

.legal-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.95;
}

.legal-hero p {
  max-width: 56ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.2rem;
}

.legal-sidebar,
.legal-article {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-sidebar {
  padding: 1rem;
  align-self: start;
  position: sticky;
  top: 1rem;
}

.legal-sidebar h2 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.legal-sidebar a {
  display: block;
  color: var(--forest);
  text-decoration: none;
  padding: 0.5rem 0;
  font-weight: 700;
}

.legal-article {
  padding: 1.2rem;
}

.legal-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 700;
}

.legal-block + .legal-block {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  margin: 0 0 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.legal-block p,
.legal-block li {
  color: var(--ink);
  line-height: 1.75;
}

.legal-block ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.legal-footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.categories-page {
  --category-tone-1: #f3e5c8;
  --category-tone-2: #d9ebdd;
  --category-tone-3: #dfe8f9;
  --category-tone-4: #f2ded6;
  --category-tone-5: #ede4cf;
  --category-tone-6: #e4dff1;
}

.category-hub {
  position: relative;
  z-index: 1;
  width: min(90rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 3.25rem;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.85fr);
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(255, 247, 234, 0.8), transparent 38%),
    linear-gradient(140deg, #191714 0%, #2a2b21 100%);
  box-shadow: var(--shadow);
  color: #fff8ef;
}

.category-eyebrow,
.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 0.95;
}

.category-hero-text {
  max-width: 60ch;
  margin: 1rem 0 0;
  color: rgba(255, 248, 239, 0.8);
  line-height: 1.75;
}

.category-hero-aside {
  display: grid;
  gap: 0.9rem;
}

.category-stat-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  background: rgba(255, 252, 247, 0.08);
  backdrop-filter: blur(10px);
}

.category-stat-label,
.category-feature-kicker,
.category-section-kicker {
  display: block;
  color: rgba(255, 248, 239, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-stat-value {
  display: block;
  margin-top: 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.category-stat-note {
  margin: 0.45rem 0 0;
  color: rgba(255, 248, 239, 0.7);
  line-height: 1.6;
}

.category-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-top: 1.2rem;
}

.category-search {
  display: grid;
  gap: 0.45rem;
}

.category-search span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-search input {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  box-shadow: var(--shadow-soft);
}

.category-toolbar-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.category-toolbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.category-featured-panel,
.category-sidebar-card,
.category-section-card,
.category-empty {
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.category-featured-panel {
  margin-top: 1.15rem;
  padding: 1.3rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-note {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.category-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-feature-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.9rem;
  min-height: 16rem;
  padding: 1.2rem;
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.97)),
    var(--category-accent);
}

.category-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.85), transparent 35%),
    linear-gradient(145deg, color-mix(in srgb, var(--category-accent) 76%, white), transparent 90%);
  pointer-events: none;
}

.category-feature-card > * {
  position: relative;
  z-index: 1;
}

.category-feature-head h3 {
  margin: 0.25rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.category-feature-copy {
  margin: 0;
  color: rgba(20, 18, 16, 0.78);
  line-height: 1.65;
}

.category-mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.category-mini-chip,
.category-section-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 800;
}

.category-jump-link {
  display: inline-flex;
  width: fit-content;
  color: var(--forest);
  text-decoration: none;
  font-weight: 800;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 18rem) minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 1.25rem;
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
}

.category-sidebar-card {
  padding: 1rem;
}

.category-ad-card,
.directory-ad-slot {
  overflow: hidden;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--paper) 92%, white);
}

.category-ad-card [data-lv-placement],
.directory-ad-slot [data-lv-placement] {
  display: block;
  min-height: 16rem;
}

.category-quick-nav {
  display: grid;
  gap: 0.45rem;
}

.category-quick-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
}

.category-quick-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--category-accent);
  box-shadow: 0 0 0 0.26rem color-mix(in srgb, var(--category-accent) 22%, white);
}

.category-usage-list {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink);
}

.category-usage-list li + li {
  margin-top: 0.45rem;
}

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

.category-sections {
  display: grid;
  gap: 1rem;
}

.category-section-card {
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)),
    var(--category-accent);
}

.category-section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.category-section-header h3 {
  margin: 0.2rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.category-section-copy {
  max-width: 64ch;
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.category-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.category-subcard {
  padding: 0.9rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--category-accent) 35%, var(--line));
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.86);
}

.category-subcard h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.category-subcard p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.category-empty {
  padding: 1.3rem;
}

.category-empty h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.category-empty p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.directory-shell {
  position: relative;
  z-index: 1;
  width: min(88rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 3rem;
}

.directory-hero {
  padding: 2.4rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, #101113 0%, #1d2c1e 100%);
  color: #fffdf8;
  box-shadow: var(--shadow);
}

.directory-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.98;
}

.directory-hero p:last-child {
  max-width: 65ch;
  margin: 1rem 0 0;
  color: rgba(255, 253, 248, 0.82);
  line-height: 1.7;
}

.directory-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(14rem, 0.8fr);
  gap: 1rem;
  margin: 1.25rem 0 0.8rem;
}

.directory-search,
.directory-filter,
.directory-submit-form label {
  display: grid;
  gap: 0.45rem;
}

.directory-search span,
.directory-filter span,
.directory-submit-form span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.directory-search input,
.directory-filter select,
.directory-submit-form input,
.directory-submit-form select,
.directory-submit-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
}

.directory-submit-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.directory-status {
  min-height: 1.3rem;
  color: var(--muted);
}

.directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

.providers-grid {
  display: grid;
  gap: 1rem;
}

.provider-card,
.directory-submit-card,
.provider-empty {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.provider-card {
  display: grid;
  grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
  overflow: hidden;
}

.provider-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-copy {
  padding: 1.2rem;
}

.provider-industry {
  margin: 0 0 0.35rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  font-weight: 700;
}

.provider-card h3,
.directory-submit-card h2,
.provider-empty h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.provider-summary {
  margin: 0.5rem 0 0.6rem;
  font-weight: 700;
}

.provider-description,
.provider-meta {
  color: var(--muted);
  line-height: 1.7;
}

.provider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.7rem;
}

.provider-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

.provider-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.provider-phones a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
}

.directory-submit-card,
.provider-empty {
  padding: 1.2rem;
}

.directory-ad-slot {
  margin-bottom: 1rem;
}

.directory-submit-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.bellai-shell {
  position: fixed;
  right: 1rem;
  bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 80;
}

.bellai-panel {
  width: min(26rem, calc(100vw - 1.5rem));
  margin-left: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.bellai-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.bellai-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.bellai-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.bellai-subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bellai-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.bellai-live-status {
  margin: 0.75rem 0;
  padding: 0.6rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(11, 122, 65, 0.08);
  color: #0b7a41;
  font-size: 0.88rem;
  line-height: 1.45;
}

.bellai-messages {
  display: grid;
  gap: 0.65rem;
  max-height: 16rem;
  overflow: auto;
  margin-bottom: 0.8rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.bellai-message {
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
}

.bellai-message p {
  margin: 0;
  line-height: 1.55;
}

.bellai-message-user {
  background: #101113;
  color: #fffdf8;
}

.bellai-message-assistant {
  background: #ffffff;
  color: #101113;
  border: 1px solid var(--line);
}

.bellai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.bellai-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 122, 65, 0.08);
  color: #0b7a41;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.bellai-form {
  display: grid;
  gap: 0.7rem;
}

.bellai-form-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.bellai-form-actions .btn.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border-radius: 999px;
}

.bellai-form-actions .btn.icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.bellai-form-actions .is-listening {
  border-color: #0b7a41;
  color: #0b7a41;
  box-shadow: 0 0 0 3px rgba(11, 122, 65, 0.12);
}

@keyframes drift {
  0% {
    transform: scale(1.04) translateY(0);
  }

  100% {
    transform: scale(1.08) translateY(-1.5%);
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto 1fr;
  }

  .hero-strip h1 {
    max-width: 10ch;
  }

  .events-head {
    flex-direction: column;
  }

  .events-location {
    justify-content: flex-start;
  }

  .legal-content {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

  .content-toolbar {
    grid-template-columns: 1fr;
  }

  .directory-layout,
  .directory-toolbar {
    grid-template-columns: 1fr;
  }

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

  .category-hero,
  .category-layout,
  .category-featured-grid,
  .category-subgrid,
  .category-toolbar {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero-strip {
    padding-top: 8.4rem;
  }

  .cover-feed {
    padding: 0 0.8rem 6rem;
  }

  .events-shell {
    width: calc(100% - 1.6rem);
    padding: 1rem;
  }

  .events-toolbar {
    grid-template-columns: 1fr;
  }

  .cover {
    min-height: calc(100vh - 0.8rem);
    padding: 6.2rem 0.4rem 0.4rem;
    margin-bottom: 0.8rem;
  }

  .cover-card,
  .showcase-surface,
  .drawer-surface,
  .article-page {
    border-radius: 1.2rem;
  }

  .showcase-surface {
    width: 96vw;
  }

  .bottom-nav {
    gap: 0.25rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .bottom-nav-item {
    min-height: 3.1rem;
  }

  .category-hub {
    width: min(100%, calc(100% - 1rem));
    padding-top: 6.4rem;
  }

  .category-hero,
  .category-featured-panel,
  .category-sidebar-card,
  .category-section-card {
    padding: 1rem;
    border-radius: 1.3rem;
  }

  .category-hero h1 {
    max-width: 11ch;
  }

  .section-heading,
  .category-section-header,
  .category-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .category-toolbar-actions {
    width: 100%;
  }

  .category-toolbar-link {
    flex: 1 1 auto;
  }

  .bottom-nav-item-bellai {
    min-width: 4rem;
    margin-top: -1.3rem;
  }

  .article-page-wrap {
    padding-top: 5.75rem;
  }

  .article-page {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 6rem;
    background: transparent;
    backdrop-filter: none;
  }

  .article-head,
  .article-media,
  .article-actions,
  .article-audio-player,
  .article-share-panel,
  .article-status,
  .article-body,
  .related {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .bellai-shell {
    right: 0.5rem;
    left: 0.5rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .bellai-panel {
    width: 100%;
  }

  .bellai-controls-grid {
    grid-template-columns: 1fr;
  }

  .article-head h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
    line-height: 1.02;
  }

  .article-category {
    font-size: 0.9rem;
  }

  .article-topbar .brand-lockup {
    display: none;
  }

  .article-topbar-actions {
    margin-left: auto;
  }

  .article-toolbar-btn-share {
    padding: 0 0.75rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 520px) {
  .article-topbar {
    padding: 0.7rem 0.75rem;
  }

  .article-topbar-actions {
    gap: 0.28rem;
  }

  .article-toolbar-btn,
  .article-back-btn {
    min-width: 2.35rem;
    height: 2.35rem;
  }

  .article-share-panel {
    gap: 0.45rem;
  }

  .article-share-link {
    flex: 1 1 calc(50% - 0.45rem);
  }
}

@media (max-width: 760px) {
  .article-detail-page .article-page {
    width: calc(100% - 1.2rem);
  }

  .article-detail-page .article-page-wrap {
    padding-top: 5.3rem;
  }

  .article-detail-page .article-topbar-title {
    display: none;
  }

  .article-detail-page .article-topbar {
    grid-template-columns: auto 1fr;
  }

  .article-detail-page .article-topbar-actions {
    margin-left: auto;
  }

  .article-detail-page .article-share-link {
    flex: 1 1 calc(50% - 0.45rem);
  }
}
