/* The site's fonts, served from this site (no third-party requests): Latin and
   Latin Extended, which covers Croatian. Licences: fonts/*-OFL.txt. */
/* Space Mono 400, latin-ext */
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Mono 400, latin */
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Mono 700, latin-ext */
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Mono 700, latin */
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono 400, latin-ext */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 400, latin */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono 700, latin-ext */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/jetbrains-mono-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 700, latin */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/jetbrains-mono-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Rajdhani 400, latin-ext */
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/rajdhani-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Rajdhani 400, latin */
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/rajdhani-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  background: #0a0908;
  color: #e0dbd5;
  font-family: "Space Mono", monospace;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bar-top: calc(4.25rem + env(safe-area-inset-top));
  --bar-bottom: calc(4rem + env(safe-area-inset-bottom));
}

/* ── intro animation ── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes driftIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -65%);
  }
}
@keyframes subtitleIn {
  from {
    opacity: 0;
    letter-spacing: 0.5em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.3em;
  }
}

/* ── shared elements ── */
button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid #80e0d8;
  outline-offset: 4px;
  border-radius: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 1rem;
  z-index: 300;
  transform: translateY(-200%);
  background: #0a0908;
  padding: 1rem;
}
.skip-link:focus {
  transform: none;
}

/* ── canvases ── */
#nebula-canvas,
#lines-canvas,
#grain-canvas,
.background-fade,
.grain-fade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#nebula-canvas,
#lines-canvas,
#grain-canvas {
  opacity: 0;
  transition: opacity 0.8s ease;
}
#nebula-canvas {
  z-index: 0;
  animation: fadeIn 3s cubic-bezier(0.25, 0, 0.25, 1) 0.3s forwards;
}
#lines-canvas {
  z-index: 2;
  animation: fadeIn 2.5s cubic-bezier(0.25, 0, 0.25, 1) 0.8s forwards;
}
#grain-canvas,
.grain-fade {
  z-index: 50;
  mix-blend-mode: soft-light;
}
/* A copy of the previous background that fades out after a resize. */
.background-fade {
  z-index: 1;
  transition: opacity 0.6s ease;
}
.scene-transition #nebula-canvas,
.scene-transition #grain-canvas,
.scene-transition #lines-canvas {
  opacity: 0 !important;
}

/* ── home ── */
.content {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
body.panel-open .content {
  opacity: 0.12;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(0.5rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right)) 0.5rem
    max(1rem, env(safe-area-inset-left));
  font-size: clamp(0.6875rem, 1vw, 0.75rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(235, 228, 222, 1);
  white-space: nowrap;
  opacity: 0;
  animation: fadeIn 1.5s ease 1.8s forwards;
}
.top-bar > span:last-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-left: auto;
}
.top-bar button {
  min-height: 44px;
}
.dev-mode .top-bar {
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  background: rgba(10, 9, 8, 0.9);
}
#controls-toggle,
#motion-toggle,
#sound-toggle,
#noise-toggle,
#projects-toggle,
#services-toggle,
#about-toggle,
#volume-toggle {
  /* The bar's font, which follows the scene, like its separators. */
  font-family: inherit;
  text-transform: inherit;
  padding: 0;
  transition: color 0.3s;
}
#controls-toggle:hover,
#motion-toggle:hover,
#sound-toggle:hover,
#noise-toggle:hover,
#projects-toggle:hover,
#services-toggle:hover,
#about-toggle:hover,
#volume-toggle:hover {
  color: #b06030;
}
#motion-toggle.active,
#sound-toggle.active,
#noise-toggle.active,
#projects-toggle.active,
#services-toggle.active,
#about-toggle.active {
  color: #4090a0;
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -65%);
  width: min(85vw, clamp(240px, 40vw, 600px));
  height: auto;
  filter: drop-shadow(0 0 120px rgba(180, 80, 30, 0.1));
  opacity: 0;
  animation: driftIn 2.5s cubic-bezier(0.25, 0, 0.25, 1) 0.5s forwards;
}

.subtitle {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(1.2rem, 3vw, 2.8rem));
  transform: translateX(-50%);
  font-size: clamp(0.55rem, 1vw, 0.75rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(210, 200, 190, 0.4);
  text-align: center;
  white-space: normal;
  width: min(92vw, 40rem);
  opacity: 0;
  animation: subtitleIn 2s ease 2.2s forwards;
  pointer-events: auto;
}

#scene-toggle {
  min-height: 44px;
  padding: 0;
  text-transform: inherit;
  transition: color 0.3s;
}
/* Waveform toggle; the wave scrolls while the background morphs. */
#morph-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.25rem;
  vertical-align: middle;
  transition: color 0.3s;
}
#morph-toggle:hover {
  color: rgba(210, 200, 190, 0.7);
}
#morph-toggle[aria-pressed="true"] {
  color: #4090a0;
}
#morph-toggle svg {
  display: block;
  width: 2.4em;
  height: 1.2em;
  margin: auto;
}
.morph-wave {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#morph-toggle[aria-pressed="true"] .morph-wave {
  animation: morph-wave 2.4s linear infinite;
}
@keyframes morph-wave {
  to {
    transform: translateX(-12px);
  }
}
#scene-menu {
  position: absolute;
  left: 50%;
  top: calc(50% + 5rem);
  width: max-content;
  max-width: 94vw;
  transform: translateX(-50%) translateY(-5px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
#scene-menu > span {
  color: rgba(210, 200, 190, 0.15);
  font-size: clamp(0.45rem, 0.85vw, 0.65rem);
}
.scene-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(210, 200, 190, 0.4);
  transition: color 0.3s;
}
.scene-btn:hover {
  color: rgba(210, 200, 190, 0.7);
}
.scene-btn.active {
  color: #4090a0;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem max(1rem, env(safe-area-inset-right))
    max(0.5rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  font-size: clamp(0.625rem, 1vw, 0.75rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1.5s ease 2s forwards;
}
.bottom-bar button {
  min-height: 44px;
  padding: 0.25rem;
  color: rgba(235, 228, 222, 1);
  text-transform: uppercase;
  transition: color 0.3s;
}
.bottom-bar button:hover {
  color: #b06030;
}

/* ── privacy dialog ── */
.modal {
  background: #0e0d0c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  max-width: 560px;
  width: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  color: #d2c8be;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.modal::backdrop {
  background: rgba(8, 8, 7, 0.94);
  backdrop-filter: blur(10px);
}
.modal h2 {
  color: #e8e2da;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-right: 2.5rem;
}
.modal h3 {
  color: #d2c8be;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  color: #e8e2da;
  font-family: "Space Mono", monospace;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.modal-close:hover {
  color: #b06030;
}
.modal::-webkit-scrollbar {
  width: 3px;
}
.modal::-webkit-scrollbar-track {
  background: transparent;
}
.modal::-webkit-scrollbar-thumb {
  background: rgba(160, 80, 30, 0.15);
  border-radius: 2px;
}

/* ── slide panels ── */
.slide-panel,
.slide-panel-left {
  position: fixed;
  bottom: var(--bar-bottom);
  z-index: 15;
  visibility: hidden;
  max-height: calc(100vh - var(--bar-top) - var(--bar-bottom));
  max-height: calc(100dvh - var(--bar-top) - var(--bar-bottom));
  width: max-content;
  /* Vertical scrolling only: details slide in from the side as they open. */
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 1.5rem;
  margin: 0 1rem;
  pointer-events: none;
}
.slide-panel.open,
.slide-panel-left.open {
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.slide-panel {
  right: 0;
  max-width: min(44rem, calc(100vw - 2rem));
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
  text-align: right;
}
.slide-panel.open {
  opacity: 1;
}
.slide-panel-left {
  left: 0;
  max-width: calc(100vw - 2rem);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}
.slide-heading {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slide-heading-color, rgba(201, 192, 172, 0.8));
  margin-bottom: 0.3rem;
  line-height: 1.2;
  cursor: pointer;
  transition:
    color 0.3s,
    letter-spacing 0.3s;
}
button.slide-heading {
  display: block;
  width: 100%;
  text-align: inherit;
  min-height: 44px;
  padding: 0.25rem 0;
}
button.slide-heading:hover {
  color: rgba(201, 192, 172, 1);
  letter-spacing: 0.16em;
}
h3.slide-heading {
  cursor: default;
}
.slide-heading.active,
button.slide-heading.active:hover {
  color: rgba(180, 100, 50, 0.85);
}
.slide-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(40px);
  transition:
    max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-detail:not(.open) {
  visibility: hidden;
}
.slide-detail.open {
  max-height: none;
  opacity: 1;
  transform: translateX(0);
  margin-bottom: 0.75rem;
}
.slide-item {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slide-item-color, rgba(220, 212, 200, 0.8));
  margin-bottom: 0.5rem;
  cursor: default;
  transition: color 0.3s;
  line-height: 1.8;
}
.slide-item:hover {
  color: rgba(235, 228, 222, 1);
}
.slide-sub {
  font-size: 0.9em;
  letter-spacing: 0.1em;
}
.slide-link {
  display: inline-block;
  min-height: 44px;
  padding: 0.5rem 0;
  color: #df9b6c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  transition: color 0.3s;
}
.slide-link:hover {
  color: #d07040;
}

/* ── tuning panels (?dev=1) ── */
#controls,
#motion-panel,
#noise-panel,
#sound-panel {
  position: fixed;
  top: var(--bar-top);
  left: max(1rem, env(safe-area-inset-left));
  z-index: 110;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - var(--bar-top) - var(--bar-bottom));
  overflow-y: auto;
  background: rgba(10, 10, 9, 0.85);
  border: 1px solid rgba(210, 200, 190, 0.08);
  border-radius: 3px;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(12px);
  display: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c6bcb2;
}
#controls {
  width: min(360px, calc(100vw - 2rem));
}
#controls.open {
  display: block;
}
#controls::-webkit-scrollbar {
  width: 2px;
}
#controls::-webkit-scrollbar-thumb {
  background: rgba(176, 96, 48, 0.2);
  border-radius: 2px;
}
#motion-panel {
  width: 285px;
}
#noise-panel {
  z-index: 10000;
  width: 310px;
}
#sound-panel {
  width: 325px;
}

.ctrl-section {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(210, 200, 190, 0.06);
}
.ctrl-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.ctrl-section-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #bdb3aa;
  margin-bottom: 0.6rem;
}
.ctrl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.ctrl-row label {
  flex: 0 0 auto;
  margin-right: 0.5rem;
}
.ctrl-row input[type="range"] {
  flex: 1;
  min-width: 60px;
  -webkit-appearance: none;
  appearance: none;
  height: 24px;
  background: linear-gradient(
    transparent 11px,
    #6f6860 11px,
    #6f6860 13px,
    transparent 13px
  );
  outline: none;
  border-radius: 1px;
  cursor: pointer;
}
.ctrl-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d89565;
  cursor: pointer;
  transition: background 0.2s;
}
.ctrl-row input[type="range"]::-webkit-slider-thumb:hover {
  background: #b06030;
}
.ctrl-row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #d89565;
}
.ctrl-row select:focus-visible,
.ctrl-row input:focus-visible {
  outline: 2px solid #80e0d8;
}
.ctrl-val {
  flex: 0 0 28px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ctrl-row select,
.ctrl-btn,
.ctrl-val {
  font-size: 0.6875rem;
  color: #d2c8be;
}
.ctrl-row select,
.ctrl-btn {
  min-height: 36px;
  background: rgba(210, 200, 190, 0.06);
  border: 1px solid rgba(210, 200, 190, 0.12);
  font-family: "Space Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-row select {
  flex: 1;
  padding: 0.3rem 0.4rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.ctrl-row select option {
  background: #0e0d0c;
  color: rgba(210, 200, 190, 0.6);
}
.ctrl-btn-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.ctrl-btn {
  flex: 1;
  padding: 0.35rem 0;
  transition: all 0.2s;
}
.ctrl-btn:hover {
  color: #b06030;
  border-color: rgba(176, 96, 48, 0.3);
}
.ctrl-row input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(210, 200, 190, 0.15);
  border-radius: 2px;
  background: none;
  cursor: pointer;
  padding: 0;
  flex: 0 0 36px;
}
.ctrl-row input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 1px;
}
.ctrl-row input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 1px;
}

/* ── no-JavaScript fallback ── */
.fallback-content {
  position: fixed;
  z-index: 120;
  inset: auto 1rem 1rem;
  max-height: 70vh;
  overflow: auto;
  padding: 1rem;
  background: #0a0908;
  font-size: 1rem;
  line-height: 1.7;
}
.fallback-content a {
  color: #80e0d8;
}
.fallback-content h2 {
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .top-bar {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    letter-spacing: 0.05em;
  }
  .bottom-bar {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    letter-spacing: 0.04em;
  }
  .slide-panel,
  .slide-panel-left {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100vw - 1rem);
  }
  .slide-heading {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
  }
  .slide-item {
    font-size: 0.8125rem;
    letter-spacing: 0.025em;
  }
  .subtitle {
    font-size: 0.6875rem;
    letter-spacing: 0.13em;
    line-height: 1.7;
  }
  .modal {
    padding: 1.5rem;
  }
  .dev-mode {
    --bar-top: 8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-duration: 0.001ms !important;
  animation-delay: 0s !important;
  transition-duration: 0.001ms !important;
}
