/* Rhythm Index — global surface system (single stylesheet) */

:root {
  --color-primary: #1a2421;
  --color-accent: #d9fb52;
  --color-surface: #f5f2ed;
  --color-muted: #8c7a73;
  --color-veil: rgba(245, 242, 237, 0.08);
  --font-display: "Fraunces", serif;
  --font-data: "JetBrains Mono", monospace;
  --space-xs: 0.35rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --radius-sm: 0.45rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.35rem;
  --shadow-soft: 0 1.2rem 3rem rgba(26, 36, 33, 0.18);
  --shadow-glass: 0 0.5rem 2rem rgba(26, 36, 33, 0.12);
  --transition-fast: 0.32s ease;
  --transition-breathe: 2.8s ease-in-out;
  --max-readable: 72rem;
  --header-offset: 0;
}

html[data-sensory="restorative"] {
  --color-primary: #2a1410;
  --color-accent: #ffb86b;
  --color-surface: #f7e6d8;
  --color-muted: #a67c6d;
  --color-veil: rgba(255, 184, 107, 0.12);
}

html[data-sensory="focus"] {
  --color-primary: #1b211c;
  --color-accent: #9fb29a;
  --color-surface: #e8ebe7;
  --color-muted: #6f756f;
  --color-veil: rgba(159, 178, 154, 0.14);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  font-family: var(--font-data);
  color: var(--color-surface);
  background-color: var(--color-primary);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(217, 251, 82, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(140, 122, 115, 0.25), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(26, 36, 33, 0.9), #0f1412);
  transition: background 1.4s ease;
}

html[data-sensory="vibrant"] .page-atmosphere {
  animation: atmosphere-shift 18s ease-in-out infinite alternate;
}

html[data-sensory="focus"] .page-atmosphere {
  animation: none;
  filter: saturate(0.45) contrast(1.05);
}

html[data-sensory="restorative"] .page-atmosphere {
  animation: none;
  background: radial-gradient(circle at 30% 10%, rgba(255, 184, 107, 0.18), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(80, 20, 10, 0.55), transparent 55%),
    #140805;
}

@keyframes atmosphere-shift {
  0% {
    filter: hue-rotate(0deg);
    transform: scale(1);
  }
  100% {
    filter: hue-rotate(25deg);
    transform: scale(1.03);
  }
}

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

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  position: relative;
  z-index: 40;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) clamp(var(--space-md), 4vw, var(--space-xl));
  background: linear-gradient(120deg, rgba(26, 36, 33, 0.82), rgba(26, 36, 33, 0.35));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-veil);
  transform: translateY(0);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.site-header.is-retracted {
  transform: translateY(-110%);
  opacity: 0.85;
}

.header-orbit {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 auto;
  margin-inline-end: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.identity-lockup {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2.4vw, 1.45rem);
  text-transform: uppercase;
  color: var(--color-surface);
  min-width: 0;
  overflow-wrap: anywhere;
}

.identity-lockup span {
  color: var(--color-accent);
}

.header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  flex: 1 1 auto;
  justify-content: flex-end;
}

.sensory-dock-shell {
  position: sticky;
  top: 0;
  z-index: 36;
  width: 100%;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: var(--space-sm) max(clamp(var(--space-md), 4vw, var(--space-xl)), env(safe-area-inset-right, 0px)) 0
    max(clamp(var(--space-md), 4vw, var(--space-xl)), env(safe-area-inset-left, 0px));
  margin-bottom: var(--space-sm);
  border-top: 1px solid rgba(245, 242, 237, 0.06);
  background: linear-gradient(180deg, rgba(15, 20, 18, 0.55), transparent 85%);
}

.sensory-dock {
  position: relative;
  pointer-events: auto;
  max-width: min(22rem, 100%);
}

.sensory-dock-trigger {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  border-radius: 999px;
  border: 1px solid var(--color-veil);
  background: rgba(26, 36, 33, 0.82);
  backdrop-filter: blur(16px);
  color: var(--color-surface);
  padding: 0.45rem 1.1rem;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-glass);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.sensory-dock-trigger:hover,
.sensory-dock-trigger:focus-visible {
  transform: translateY(-0.06rem);
  border-color: rgba(217, 251, 82, 0.35);
  outline: none;
}

.sensory-dock-trigger-text {
  color: var(--color-accent);
}

.sensory-dock.is-open .sensory-dock-trigger {
  border-color: rgba(217, 251, 82, 0.45);
}

.sensory-dock-panel {
  position: absolute;
  top: calc(100% + var(--space-sm));
  right: 0;
  width: min(20rem, 92vw);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-veil);
  background: rgba(15, 20, 18, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.4rem) scale(0.98);
  transform-origin: top right;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.sensory-dock.is-open .sensory-dock-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.sensory-dock-lede {
  margin: 0 0 var(--space-md);
  font-size: 0.8rem;
  color: rgba(245, 242, 237, 0.78);
  line-height: 1.45;
}

.sensory-dock-panel .sensory-cluster {
  justify-content: flex-start;
}

html[data-sensory="focus"] .sensory-dock-trigger:hover {
  transform: none;
}

.sensory-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.sensory-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.sensory-toggle {
  border: 1px solid var(--color-veil);
  background: rgba(245, 242, 237, 0.06);
  color: var(--color-surface);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--transition-breathe), box-shadow var(--transition-fast), background var(--transition-fast);
}

.sensory-toggle:hover,
.sensory-toggle:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 0 1.2rem rgba(217, 251, 82, 0.35);
  outline: none;
}

.sensory-toggle.is-active {
  background: rgba(217, 251, 82, 0.18);
  color: var(--color-accent);
}

html[data-sensory="focus"] .sensory-toggle {
  transition: none;
}

html[data-sensory="focus"] .sensory-toggle:hover {
  transform: none;
  box-shadow: none;
}

.nav-primary {
  display: none;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: flex-end;
  align-items: center;
}

.nav-primary a {
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-surface);
  border: 1px solid transparent;
}

.nav-primary a:hover,
.nav-primary a:focus-visible {
  border-color: var(--color-veil);
  color: var(--color-accent);
}

.nav-burger {
  flex: 0 0 auto;
  order: 2;
  margin-inline-start: auto;
  border: 1px solid var(--color-veil);
  background: rgba(245, 242, 237, 0.08);
  color: var(--color-surface);
  border-radius: var(--radius-sm);
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.32rem;
  cursor: pointer;
  transition: transform var(--transition-breathe), box-shadow var(--transition-fast);
}

.nav-burger span {
  display: block;
  width: 1.35rem;
  height: 0.12rem;
  background: currentColor;
  border-radius: 999px;
}

.nav-burger:hover,
.nav-burger:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 0 1rem rgba(217, 251, 82, 0.35);
  outline: none;
}

html[data-sensory="focus"] .nav-burger:hover {
  transform: none;
  box-shadow: none;
}

.nav-panel {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 11, 0.72);
  backdrop-filter: blur(18px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  z-index: 50;
}

.nav-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-panel-surface {
  width: min(22rem, 92vw);
  background: rgba(26, 36, 33, 0.95);
  border-left: 1px solid var(--color-veil);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transform: translateX(105%);
  transition: transform var(--transition-fast);
}

.nav-panel.is-open .nav-panel-surface {
  transform: translateX(0);
}

.nav-panel a {
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245, 242, 237, 0.08);
}

.nav-panel-close {
  align-self: flex-end;
  border: 1px solid var(--color-veil);
  background: transparent;
  color: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--color-veil);
  padding: var(--space-lg) clamp(var(--space-md), 4vw, var(--space-xl));
  background: rgba(15, 20, 18, 0.92);
}

.footer-grid {
  max-width: var(--max-readable);
  margin: 0 auto;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  font-size: 0.82rem;
}

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

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu a {
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.banner-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-veil);
}

.banner-stack {
  display: flex;
  flex-direction: column;
  min-height: clamp(16rem, 38vw, 28rem);
}

.banner-copy {
  position: relative;
  z-index: 2;
  padding: clamp(var(--space-lg), 6vw, var(--space-xl));
  max-width: var(--max-readable);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: var(--space-md);
}

.banner-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.banner-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0;
  color: var(--color-surface);
}

.banner-lede {
  max-width: 38rem;
  color: rgba(245, 242, 237, 0.85);
  font-size: 0.95rem;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.btn-breathe {
  border: 1px solid var(--color-veil);
  background: rgba(217, 251, 82, 0.12);
  color: var(--color-accent);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-breathe), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-breathe:hover,
.btn-breathe:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 0 1.5rem rgba(217, 251, 82, 0.35);
  outline: none;
}

.btn-breathe--ghost {
  background: transparent;
  color: var(--color-surface);
}

html[data-sensory="focus"] .btn-breathe:hover {
  transform: none;
  box-shadow: none;
}

.banner-visual {
  position: relative;
  width: 100%;
  margin-top: auto;
}

.banner-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 36, 33, 0.65), transparent 40%);
  pointer-events: none;
}

.banner-visual img {
  width: 100%;
  height: clamp(12rem, 32vw, 22rem);
  object-fit: cover;
  border-radius: 0;
}

.section-wrap {
  max-width: var(--max-readable);
  margin: 0 auto;
  padding: clamp(var(--space-lg), 5vw, var(--space-xl)) clamp(var(--space-md), 4vw, var(--space-xl));
  width: 100%;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 var(--space-md);
  color: var(--color-surface);
}

.section-lede {
  color: rgba(245, 242, 237, 0.78);
  max-width: 46rem;
  margin-bottom: var(--space-lg);
}

.section-lede--tight {
  margin-bottom: 0;
}

.section-lede--cta {
  margin-bottom: var(--space-md);
}

.heading-subtle {
  font-size: 1.35rem;
}

.colophon-title {
  font-family: var(--font-display);
  margin-top: 0;
}

.split-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
}

.glass-panel {
  background: rgba(245, 242, 237, 0.04);
  border: 1px solid var(--color-veil);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(16px);
}

.stat-pair {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--color-muted);
}

.stat-pair strong {
  color: var(--color-accent);
  font-weight: 500;
}

.tile-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.tile {
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(245, 242, 237, 0.08);
  background: linear-gradient(145deg, rgba(245, 242, 237, 0.08), rgba(26, 36, 33, 0.4));
}

.tile h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.media-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-block: 1px solid var(--color-veil);
  background: rgba(15, 20, 18, 0.55);
}

.media-band-inner {
  max-width: var(--max-readable);
  margin: 0 auto;
  padding: var(--space-lg) clamp(var(--space-md), 4vw, var(--space-xl));
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: center;
}

.media-band img {
  width: 100%;
  max-height: 18rem;
  object-fit: cover;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.list-check li {
  padding-left: 1.6rem;
  position: relative;
  color: rgba(245, 242, 237, 0.85);
  font-size: 0.9rem;
}

.list-check li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  top: 0.45rem;
}

.contact-layout {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-veil);
  padding: var(--space-lg);
  background: rgba(245, 242, 237, 0.04);
}

.contact-form {
  display: grid;
  gap: var(--space-md);
}

.contact-form label {
  display: grid;
  gap: var(--space-xs);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 242, 237, 0.18);
  background: rgba(15, 20, 18, 0.65);
  color: var(--color-surface);
  padding: 0.65rem 0.75rem;
  font-family: var(--font-data);
}

.consent-row {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(245, 242, 237, 0.85);
}

.map-frame {
  width: 100%;
  min-height: 16rem;
  border: 0;
  border-radius: var(--radius-md);
  filter: grayscale(0.2);
}

.product-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-veil);
  overflow: hidden;
  background: rgba(245, 242, 237, 0.04);
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  max-height: 14rem;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-body {
  padding: var(--space-md);
  display: grid;
  gap: var(--space-sm);
}

.product-price {
  font-size: 1.1rem;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.audit-shell {
  display: grid;
  gap: var(--space-lg);
}

.audit-step {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-veil);
  padding: var(--space-lg);
  background: rgba(15, 20, 18, 0.65);
  display: none;
}

.audit-step.is-visible {
  display: grid;
  gap: var(--space-md);
}

.switch-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 242, 237, 0.08);
  background: rgba(245, 242, 237, 0.03);
}

.switch-field span {
  font-size: 0.95rem;
}

.switch-toggle {
  position: relative;
  width: 4.5rem;
  height: 2.2rem;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-paddle {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(140, 122, 115, 0.35);
  border-radius: 999px;
  transition: background var(--transition-fast);
}

.switch-paddle::before {
  content: "";
  position: absolute;
  height: 1.65rem;
  width: 1.65rem;
  left: 0.3rem;
  bottom: 0.28rem;
  background: var(--color-surface);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.switch-toggle input:checked + .switch-paddle {
  background: rgba(217, 251, 82, 0.45);
}

.switch-toggle input:checked + .switch-paddle::before {
  transform: translateX(2.1rem);
}

.audit-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.bento-board {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.bento-cell {
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  min-height: 10rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 237, 0.12);
}

.bento-cell--wide {
  grid-column: span 2;
}

.bento-cell--tall {
  grid-row: span 2;
}

.bento-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217, 251, 82, 0.08), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.bento-cell:nth-child(2)::before {
  background: linear-gradient(200deg, rgba(140, 122, 115, 0.35), transparent 55%);
}

.bento-cell:nth-child(3)::before {
  background: radial-gradient(circle at 20% 20%, rgba(245, 242, 237, 0.2), transparent 50%);
}

.bento-cell:nth-child(4)::before {
  background: linear-gradient(45deg, rgba(26, 36, 33, 0.8), rgba(217, 251, 82, 0.12));
}

.bento-cell h3,
.bento-cell p {
  position: relative;
  z-index: 1;
}

.sandbox-layout {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.timeline-rail {
  position: relative;
  border-left: 2px dashed rgba(245, 242, 237, 0.2);
  padding-left: var(--space-lg);
  display: grid;
  gap: var(--space-md);
}

.timeline-slot {
  min-height: 3.5rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(245, 242, 237, 0.25);
  padding: var(--space-sm);
  background: rgba(245, 242, 237, 0.03);
}

.timeline-slot.is-filled {
  border-style: solid;
  border-color: rgba(217, 251, 82, 0.35);
}

.block-palette {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.block-chip {
  border-radius: 999px;
  border: 1px solid var(--color-veil);
  padding: 0.45rem 0.9rem;
  background: rgba(217, 251, 82, 0.12);
  color: var(--color-accent);
  cursor: grab;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.block-chip:active {
  cursor: grabbing;
}

.graph-surface {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-veil);
  padding: var(--space-md);
  background: rgba(15, 20, 18, 0.75);
}

.graph-surface svg {
  width: 100%;
  height: auto;
}

.legal-flow {
  max-width: 52rem;
}

.legal-flow h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-flow h2 {
  font-family: var(--font-display);
  margin-top: var(--space-lg);
  font-size: 1.35rem;
}

.legal-flow p,
.legal-flow li {
  color: rgba(245, 242, 237, 0.88);
  font-size: 0.92rem;
}

.legal-flow ul {
  padding-left: 1.2rem;
}

.date {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.thank-panel {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-veil);
  padding: var(--space-xl);
  background: rgba(245, 242, 237, 0.04);
}

.error-hero {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: var(--space-md);
}

.energy-widget {
  position: fixed;
  right: clamp(0.5rem, 2vw, 1.5rem);
  bottom: clamp(4rem, 10vw, 6rem);
  width: min(14rem, 88vw);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-veil);
  background: rgba(26, 36, 33, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  z-index: 30;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.energy-widget meter {
  width: 100%;
  margin-top: var(--space-sm);
}

.cookie-consent {
  position: fixed;
  inset-inline: clamp(var(--space-sm), 3vw, var(--space-xl));
  bottom: clamp(var(--space-sm), 3vw, var(--space-lg));
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-veil);
  background: rgba(15, 20, 18, 0.92);
  backdrop-filter: blur(16px);
  display: none;
  gap: var(--space-md);
  z-index: 60;
  box-shadow: var(--shadow-soft);
}

.cookie-consent.is-visible {
  display: grid;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

@media (min-width: 63.9375rem) {
  .nav-primary {
    display: flex;
  }

  .nav-burger {
    display: none;
  }
}

@media (max-width: 63.9375rem) {
  .nav-primary {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
  }
}

@media (max-width: 48rem) {
  .bento-cell--wide {
    grid-column: span 1;
  }

  .bento-cell--tall {
    grid-row: span 1;
  }

  .header-orbit {
    flex-direction: column;
    align-items: stretch;
  }

  .header-meta {
    justify-content: space-between;
  }
}

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