:root {
  --bg: #050505;
  --panel: #0a0a0a;
  --panel-2: #11161d;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #ffffff;
  --muted: #888888;
  --accent: #ff4e00;
  --accent-soft: #ff8a5c;
  --accent-rgb: 255, 78, 0;
  --ok: #22c55e;
  --warn: #ffb347;
  --danger: #ff5f5f;
  --radius: 24px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@font-face {
  font-family: 'AssinaturaFont';
  src: url('../fonts/Boss.ttf') format('truetype');
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container { width: min(1280px, calc(100% - 2rem)); margin: 0 auto; }
.wide-container { width: min(1800px, calc(100% - 4rem)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: all .45s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  transition: padding .45s ease;
}
.site-header.is-solid .nav-shell { padding: 1rem 0; }
.brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .9rem;
  background: rgba(var(--accent-rgb), .18);
  color: var(--accent);
}
.brand-logo img {
  height: 4rem;
  width: auto;
  object-fit: contain;
  transition: transform .45s ease;
}
.brand-logo:hover img { transform: scale(1.05); }
.brand-text strong,
.footer-brand span { color: var(--accent); }

.site-nav a {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  transition: color .25s ease;
}
.site-nav a.is-active { color: var(--accent); }
.site-nav a:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1.15rem 1.75rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: all .35s ease;
}
.button:hover { transform: translateY(-1px); }
.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .2);
  color: var(--text);
}
.button-white {
  background: #fff;
  color: #000;
}
.button-white:hover {
  background: var(--accent);
  color: #fff;
}
.button-sm {
  padding: .8rem 1rem;
  border-radius: 999px;
  font-size: .75rem;
}
.menu-toggle { display: none; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .5em;
  margin-bottom: 1rem;
}
h1, h2, h3, h4 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  line-height: .95;
  letter-spacing: -.04em;
}
.accent { color: var(--accent); }
.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 42rem;
}
.glass-card,
.card,
.table-shell,
.form-shell,
.admin-header,
.stat,
.flash .container,
.admin-sidebar {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1.8rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.card,
.stat,
.form-shell,
.admin-header { padding: 1.5rem; }
.card p,
.stat p,
.page-hero p,
.table-shell p,
.form-shell p,
.admin-header p,
.site-footer p { color: var(--muted); line-height: 1.75; }

.hero-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  border-bottom: 1px solid var(--line-soft);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12rem 2rem 6rem;
}
.hero-copy-inner {
  width: min(700px, 100%);
  margin: 0 auto;
}
.hero-title {
  margin-bottom: 2.25rem;
  font-size: clamp(4.2rem, 10vw, 10rem);
  line-height: .85;
  background: linear-gradient(90deg, #fff, #fff 70%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions,
.button-row,
.cta-buttons,
.feature-link,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line-soft);
}
.hero-stat-label {
  display: block;
  margin-bottom: .65rem;
  color: var(--muted);
  font-size: .65rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.hero-stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  background: var(--panel);
}
.hero-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  transform: scale(1.1);
}
.hero-visual-bg[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(var(--parallax-r, 0deg)) scale(1.1);
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-visual::before { background: linear-gradient(90deg, var(--bg), transparent 45%); }
.hero-visual::after { background: linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
.floating-widget {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 80%;
  aspect-ratio: 4 / 3;
  padding: 2rem;
  transform: translate(-50%, -50%) rotate(3deg);
  animation: float 6s ease-in-out infinite;
}
.widget-header,
.widget-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget-header { margin-bottom: 2rem; }
.widget-signal {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.widget-dot {
  width: .75rem;
  height: .75rem;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 16px rgba(34, 197, 94, .55);
}
.widget-body {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.widget-pulse {
  display: grid;
  place-items: center;
  height: 8rem;
  margin-top: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-soft);
  color: rgba(var(--accent-rgb), .25);
  font-size: 3rem;
}
.vertical-rail {
  position: absolute;
  top: 50%;
  right: 2rem;
  z-index: 2;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(255, 255, 255, .2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .65rem;
  letter-spacing: 1em;
  text-transform: uppercase;
}

.section { padding: 4rem 0; }
.home-features { padding: 10rem 0 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 6rem;
}
.section-header h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  text-transform: uppercase;
}
.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .74rem;
}

.home-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.home-bento article { min-height: 16rem; }
.home-bento .bento-primary {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column: span 2;
  grid-row: span 2;
  padding: 3rem;
  overflow: hidden;
}
.home-bento .bento-primary::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(var(--accent-rgb), .1);
  filter: blur(100px);
  transform: translate(40%, -40%);
}
.bento-primary h3 { font-size: 3rem; }
.feature-link {
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.bento-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: span 2;
}

.gallery-mosaic {
  position: relative;
  margin-top: 8rem;
  height: 1200px;
  overflow: hidden;
  border-radius: 5rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .01);
}
.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  height: 100%;
  padding: 3rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .7s ease;
}
.gallery-item img[data-parallax] {
  --hover-scale: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(var(--parallax-r, 0deg)) scale(calc(var(--parallax-s, 1) * var(--hover-scale)));
}
.gallery-item:hover img[data-parallax] {
  --hover-scale: 1.1;
}
.gallery-item:hover img:not([data-parallax]) { transform: scale(1.08); }
.gallery-1 { grid-column: 1 / span 4; height: 300px; }
.gallery-2 { grid-column: 5 / span 3; height: 500px; margin-top: -5rem; }
.gallery-3 { grid-column: 9 / span 4; height: 400px; margin-top: 5rem; }
.gallery-4 { grid-column: 2 / span 5; height: 350px; margin-top: -10rem; }
.gallery-5 { grid-column: 8 / span 4; height: 450px; margin-top: 2.5rem; }
.gallery-6 {
  grid-column: 5 / span 4;
  height: 256px;
  margin-top: 5rem;
  padding: 4rem;
  background: rgba(0, 0, 0, .6);
}
.gallery-6 img { object-fit: contain; }
.gallery-7 { grid-column: 1 / span 3; height: 400px; margin-top: -3rem; }
.gallery-8 { grid-column: 10 / span 3; height: 350px; margin-top: 10rem; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.gallery-overlay-card {
  padding: 3rem;
  text-align: center;
  background: rgba(5, 5, 5, .4);
  border: 1px solid rgba(var(--accent-rgb), .2);
}
.gallery-overlay-card h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  text-transform: uppercase;
}

.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .94);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gallery-lightbox-image {
  max-width: min(92vw, 1800px);
  max-height: 88vh;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-open { overflow: hidden; }

.medicine-protocol-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .32s ease, opacity .25s ease;
}

.medicine-protocol-plus {
  transition: transform .3s ease;
}

.medicine-protocol-card.is-open .medicine-protocol-plus {
  transform: rotate(45deg);
}

.cta-section { padding: 10rem 0; }
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 5rem 3rem;
  text-align: center;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--accent-rgb), .05);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  text-transform: uppercase;
}
.cta-buttons { justify-content: center; }

.page-hero { padding: 10rem 0 2rem; }
.page-hero p { max-width: 48rem; font-size: 1.05rem; }

.stats-grid,
.cards-grid,
.three-grid,
.two-grid,
.admin-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.5rem; }
.cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.list,
.footer-grid ul,
.detail-list { list-style: none; margin: 0; padding: 0; }
.list li,
.detail-list li {
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), .1);
  border: 1px solid rgba(var(--accent-rgb), .2);
  color: var(--accent);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.badge-muted {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line);
  color: var(--muted);
}
.badge-ok {
  background: rgba(34, 197, 94, .1);
  border-color: rgba(34, 197, 94, .2);
  color: var(--ok);
}
.badge-warn {
  background: rgba(255, 179, 71, .1);
  border-color: rgba(255, 179, 71, .2);
  color: var(--warn);
}
.badge-danger {
  background: rgba(255, 95, 95, .1);
  border-color: rgba(255, 95, 95, .2);
  color: var(--danger);
}

.filters { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.filters .field,
.form-grid .field { flex: 1; min-width: 220px; }
.field label {
  display: block;
  margin-bottom: .5rem;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.full { grid-column: 1 / -1; }

.table-shell { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th,
td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  text-align: left;
}
th {
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
td { font-size: .95rem; }

.site-footer {
  margin-top: 4rem;
  padding: 0 0 2rem;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding: 6rem 0 0;
}
.footer-grid h4 {
  margin-bottom: 2rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .4em;
}
.footer-grid li { margin-bottom: 1rem; color: var(--muted); }
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.footer-brand-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .8rem;
  background: var(--accent);
  color: #fff;
}
.footer-brand {
  margin: 0;
  font-size: 2rem;
  text-transform: uppercase;
}
.footer-intro p {
  max-width: 34rem;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .05);
  color: inherit;
  transition: all .25s ease;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.flash {
  position: fixed;
  top: 6.5rem;
  right: 1rem;
  z-index: 45;
  width: min(560px, calc(100% - 2rem));
  pointer-events: none;
}
.flash .container {
  width: 100%;
  margin: 0;
  padding: 1rem 1.25rem;
}
.flash-success .container { border-color: rgba(34, 197, 94, .3); color: var(--ok); }
.flash-error .container { border-color: rgba(255, 95, 95, .3); color: var(--danger); }

.whitelist-top-card {
  border-color: rgba(var(--accent-rgb), .8);
  background: linear-gradient(180deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .62));
}

.whitelist-top-card--staff {
  border-color: rgba(var(--accent-rgb), .28);
  background: linear-gradient(180deg, rgba(34, 10, 6, .74), rgba(22, 8, 6, .7));
}

.whitelist-top-card:hover {
  border-color: rgba(var(--accent-rgb), 1);
}

.whitelist-step-card {
  border-color: rgba(255, 255, 255, .1);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.whitelist-step-card:hover {
  border-color: rgba(var(--accent-rgb), .9);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .25), 0 22px 44px rgba(0, 0, 0, .45);
  transform: translateY(-2px);
}

.signature-preview {
  min-height: 4.75rem;
  text-decoration: none !important;
  white-space: nowrap;
}

.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: rgba(var(--accent-rgb), .15);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}
.timeline-item:nth-child(even) .card { grid-column: 2; }

.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky;
  top: 1rem;
  height: calc(100vh - 2rem);
  margin: 1rem;
  padding: 1.25rem;
}
.admin-user {
  margin-bottom: 1.25rem;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.admin-user strong { display: block; }
.admin-user span {
  color: var(--muted);
  font-size: .85rem;
}
.admin-nav { display: grid; gap: .35rem; }
.admin-nav a,
.admin-sidebar-footer a {
  padding: .9rem 1rem;
  border-radius: 16px;
  color: var(--muted);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.admin-nav a.is-active,
.admin-nav a:hover,
.admin-sidebar-footer a:hover {
  background: rgba(var(--accent-rgb), .12);
  color: var(--text);
}
.admin-sidebar-footer {
  display: grid;
  gap: .35rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.admin-main { padding: 1rem 1rem 2rem 0; }
.admin-header { margin-bottom: 1.25rem; }
.admin-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
}
.admin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.admin-sidebar-scroll {
  overflow-y: auto;
  overflow-x: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), .5) rgba(255, 255, 255, .06);
}

.admin-sidebar-scroll::-webkit-scrollbar {
  width: 8px;
}

.admin-sidebar-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
}

.admin-sidebar-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .95), var(--accent-soft));
  border-radius: 999px;
}

[data-admin-sidebar][data-collapsed="true"] .admin-tooltip {
  opacity: 0;
}

[data-admin-sidebar][data-collapsed="true"] a.group:hover .admin-tooltip,
[data-admin-sidebar][data-collapsed="true"] button.group:hover .admin-tooltip {
  opacity: 1;
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}
.login-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  width: min(1080px, 100%);
  overflow: hidden;
}
.login-side,
.login-form { padding: 3rem; }
.login-side {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .22), rgba(255, 255, 255, .03));
}
.login-form { background: rgba(17, 22, 29, .95); }

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(3deg); }
  50% { transform: translate(-50%, calc(-50% - 20px)) rotate(5deg); }
}

@media (max-width: 1100px) {
  .hero-home,
  .cards-grid,
  .three-grid,
  .two-grid,
  .admin-grid,
  .footer-grid,
  .login-card,
  .timeline-item,
  .admin-layout,
  .home-bento {
    grid-template-columns: 1fr;
  }
  .timeline::before { display: none; }
  .hero-copy { padding: 10rem 2rem 4rem; }
  .hero-visual { min-height: 44rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .home-bento .bento-primary,
  .bento-wide { grid-column: auto; grid-row: auto; }
  .gallery-mosaic { height: auto; border-radius: 2rem; }
  .gallery-grid-home {
    grid-template-columns: 1fr;
    height: auto;
    padding: 1rem;
  }
  .gallery-1,
  .gallery-2,
  .gallery-3,
  .gallery-4,
  .gallery-5,
  .gallery-6,
  .gallery-7,
  .gallery-8 {
    grid-column: auto;
    height: 18rem;
    margin-top: 0;
  }
  .gallery-overlay {
    position: relative;
    padding: 1rem 1rem 3rem;
  }
  .admin-main { padding: 0 1rem 2rem; }
  .admin-sidebar { position: static; height: auto; }
}

@media (max-width: 820px) {
  .wide-container { width: min(1800px, calc(100% - 2rem)); }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
  }
  .site-nav {
    position: absolute;
    top: calc(100% + .5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(5, 5, 5, .95);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
  }
  .section-header,
  .footer-bottom { flex-direction: column; align-items: start; }
  .form-grid { grid-template-columns: 1fr; }
  .brand-logo img { height: 3rem; }
}

@media (min-width: 64rem) {
  .site-nav[data-menu-desktop] {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
}
