: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;
  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: 50%;
  bottom: 0.9rem;
  z-index: 50;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  transform: translateX(-50%);
  width: min(34rem, calc(100% - 1rem));
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--paper);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.bottom-nav-item {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 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.72rem;
  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;
}

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

.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-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

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

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

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

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

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

@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 {
    width: calc(100% - 0.8rem);
    bottom: 0.4rem;
  }
}
