/* ==========================================================================
   Nyxxie — a quiet portfolio
   Black, blue, one pink. Two views: the work and the stream.
   Plain CSS, no build step.
   ========================================================================== */

:root {
  color-scheme: dark;

  --black: #050507;
  --panel: #0a0c11;
  --panel-2: #0f1218;
  --panel-3: #141821;

  --line: rgba(236, 238, 243, 0.09);
  --line-strong: rgba(236, 238, 243, 0.2);
  --line-soft: rgba(236, 238, 243, 0.05);

  --text: #eceef3;
  --muted: #a2a8b4;
  --quiet: #6c727d;

  --blue: #2c58c9;
  --blue-bright: #4c78e0;
  --pink: #f25d9c;
  --pink-bright: #ff79af;

  --accent: var(--blue);
  --accent-bright: var(--blue-bright);
  --accent-soft: rgba(44, 88, 201, 0.16);
  --accent-ink: #06080d;

  --accent-2: var(--pink);
  --accent-2-bright: var(--pink-bright);

  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --gutter: clamp(20px, 4.5vw, 64px);
  --shell: 1240px;
  --header-h: 68px;
  --radius: 8px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.lite {
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", monospace;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: rgba(236, 238, 243, 0.24) var(--black);
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: var(--black);
}

html::-webkit-scrollbar-thumb {
  border: 3px solid var(--black);
  border-radius: 99px;
  background: rgba(236, 238, 243, 0.24);
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 64% 42% at 8% -6%, rgba(44, 88, 201, 0.13), transparent 66%),
    radial-gradient(ellipse 52% 40% at 100% 104%, rgba(242, 93, 156, 0.1), transparent 70%),
    var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* dot texture — static dots, subtly shifted by the pointer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  background-image: radial-gradient(circle, rgba(236, 238, 243, 0.09) 1px, transparent 1.2px);
  background-size: 28px 28px;
  background-position: var(--grid-x, 0px) var(--grid-y, 0px);
  transition: background-position 220ms ease-out;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.55) 58%, transparent 100%);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--accent-2);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: var(--gutter);
  z-index: 1200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Type primitives
   -------------------------------------------------------------------------- */

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--text);
}

.project-kind {
  color: var(--accent-2-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.accent-word {
  color: var(--accent);
}

.section-note {
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.wordmark:hover {
  color: var(--accent);
}

.wordmark .mark {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 2px;
  background: var(--accent-2);
  transition: background 0.3s ease;
}

.wordmark-tag {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Channel switch — a pill with a thumb that glides */
.channel-switch {
  position: relative;
  display: inline-flex;
  flex: none;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.channel-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(100deg, var(--blue-bright), var(--pink));
  transform: translateX(0);
  transition: transform 0.45s var(--ease);
}

.channel-switch[data-active="live"]::before {
  transform: translateX(100%);
}

.channel-switch a {
  position: relative;
  z-index: 1;
  min-width: 58px;
  padding: 6px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: color 0.25s ease;
}

.channel-switch a:hover {
  color: var(--text);
}

.channel-switch a[aria-current="page"] {
  color: var(--accent-ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline: auto;
}

.nav a {
  position: relative;
  padding-block: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a[aria-current="page"]::after,
.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chip {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.chip svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.chip:hover {
  border-color: var(--line-strong);
  background: var(--panel-2);
  color: var(--text);
}

.chip-shine {
  display: none;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.menu-toggle span {
  width: 15px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  z-index: 55;
  display: none;
  padding: 18px var(--gutter) 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 15px;
}

.mobile-menu nav a[aria-current="page"] {
  color: var(--accent);
}

.mobile-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Buttons, links, tags
   -------------------------------------------------------------------------- */

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s var(--ease);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

.button-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button .arrow {
  font-size: 13px;
  line-height: 1;
  opacity: 0.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, gap 0.22s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
  gap: 10px;
}

.text-link .arrow {
  color: var(--accent);
}

.arrow,
.browser-open,
.ec-icon,
.ec-arrow,
.cl-arrow {
  display: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list li {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.corners::before,
.corners::after {
  display: none;
}

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  background: var(--black);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

html.loading .loader {
  display: grid;
}

html.loading {
  overflow: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.loader-word {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  animation: loader-word 0.7s var(--ease) 0.05s forwards;
}

.loader-word .dot {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
}

.loader-bar {
  width: 108px;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.loader-bar::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-bright), var(--pink));
  animation: loader-bar 1.1s var(--ease) infinite;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loader-word {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loader-bar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(280%);
  }
}

/* --------------------------------------------------------------------------
   Views + glide switch
   -------------------------------------------------------------------------- */

.views {
  position: relative;
}

.view {
  transition:
    transform 0.55s var(--ease),
    opacity 0.55s ease;
}

.view[hidden] {
  display: none;
}

.views.is-animating {
  overflow: clip;
}

.views.is-animating .view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform, opacity;
}

.view.is-leaving {
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: min(calc(100svh - var(--header-h)), 820px);
  padding-block: clamp(48px, 6.5vw, 88px) clamp(40px, 5.5vw, 68px);
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(46px, 7.2vw, 94px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-lede {
  max-width: 480px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--quiet);
  font-size: 13px;
}

.hero-stack span:not(:last-child)::after {
  content: "/";
  margin-left: 16px;
  color: var(--line-strong);
}

/* Portrait */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.portrait-frame {
  position: relative;
  width: min(32vw, 380px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(5, 5, 7, 0.4) 100%);
}

.frame-bar,
.frame-foot,
.frame-corner,
.portrait-orbit,
.vlabel,
.float-card,
.status {
  display: none;
}

.portrait-caption {
  width: min(32vw, 380px);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--quiet);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Readouts
   -------------------------------------------------------------------------- */

.readouts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 48px);
  border-block: 1px solid var(--line);
}

.readout {
  padding: 18px clamp(12px, 2vw, 26px) 20px;
  border-left: 1px solid var(--line-soft);
}

.readout:first-child {
  border-left: 0;
  padding-left: 0;
}

.readout-label {
  display: block;
  color: var(--quiet);
  font-size: 12.5px;
}

.readout-value {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.readout-value small {
  color: var(--quiet);
  font-size: 12.5px;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-head h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.035em;
}

.section-head .section-note {
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Browser frame + project cards
   -------------------------------------------------------------------------- */

.browser {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition:
    border-color 0.35s ease,
    box-shadow 0.45s var(--ease);
}

.browser:hover,
.browser:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong));
  box-shadow: 0 30px 60px -44px rgba(0, 0, 0, 0.95);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel-2);
  color: var(--quiet);
  font-size: 12px;
  transition: background 0.35s ease;
}

.browser:hover .browser-bar {
  background: var(--panel-3);
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex: none;
}

.support-band {
  padding-block: 32px clamp(52px, 7vw, 92px);
}

.button-kofi {
  flex: none;
  background: #72a4f2;
  color: #080b12;
}

.button-kofi:hover {
  background: #8ab4f5;
  transform: translateY(-1px);
}

.button-kofi:active {
  transform: translateY(0);
}

.browser-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.3s ease;
}

.browser:hover .browser-dots i:last-child {
  background: var(--accent-2);
}

.browser-url {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-open {
  flex: none;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.3s ease, transform 0.4s var(--ease);
}

.browser:hover .browser-open {
  color: var(--accent-bright);
  transform: translate(2px, -2px);
}

.browser-shot {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel-2);
}

.browser-shot picture,
.browser-shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}

.browser-shot img {
  transform: scale(1.045);
}

.browser:hover .browser-shot img,
.browser:focus-visible .browser-shot img {
  transform: scale(1);
  filter: saturate(1.08) brightness(1.03);
}

.feature-project {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 56px);
  padding-bottom: clamp(44px, 5.5vw, 68px);
  margin-bottom: clamp(38px, 5.5vw, 60px);
  border-bottom: 1px solid var(--line-soft);
}

.feature-info h2,
.feature-info h3 {
  margin-top: 6px;
  font-size: clamp(32px, 4.8vw, 54px);
}

.feature-info .project-lede {
  max-width: 420px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.feature-info .tag-list {
  margin-top: 14px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.project-meta div {
  min-width: 76px;
}

.project-meta span {
  display: block;
  color: var(--quiet);
  font-size: 12.5px;
}

.project-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.project-card h3 {
  margin-top: 4px;
  font-size: clamp(21px, 2.2vw, 27px);
}

.project-index {
  color: var(--quiet);
  font-size: 13px;
}

.project-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.project-card .tag-list {
  margin-top: 12px;
}

.project-card .text-link {
  align-self: flex-start;
  margin-top: 14px;
}

/* Spec panel for software projects */
.spec-panel {
  width: 100%;
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.spec-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-panel div:last-child {
  border-bottom: 0;
}

.spec-panel span {
  color: var(--quiet);
  font-size: 12.5px;
}

.spec-panel strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

/* Zoom trigger + viewer */
.zoom-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.zoom-trigger picture,
.zoom-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-viewer {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0a0c11;
  color: var(--text);
}

.image-viewer::backdrop {
  background: rgba(2, 3, 5, 0.9);
  backdrop-filter: blur(6px);
}

.image-viewer img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.image-viewer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(5, 5, 7, 0.8);
  color: var(--text);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Tools
   -------------------------------------------------------------------------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.tool-col {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tool-col .mono {
  color: var(--quiet);
}

.tool-col p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.tool-col p strong {
  color: var(--text);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Contact band
   -------------------------------------------------------------------------- */

.contact-band {
  padding-block: clamp(52px, 7vw, 92px);
}

.contact-panel,
.support-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-panel h2,
.support-panel h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4.4vw, 48px);
}

.contact-panel p,
.support-panel p {
  max-width: 460px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.support-panel .project-kind {
  color: var(--accent-2-bright);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.page-intro {
  padding-block: clamp(48px, 7vw, 84px) clamp(36px, 5vw, 60px);
}

.page-intro h1 {
  margin-top: 12px;
  font-size: clamp(42px, 6.6vw, 80px);
}

.page-intro .intro-lede {
  max-width: 580px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.page-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--quiet);
  font-size: 13px;
}

.page-meta-row strong {
  color: var(--text);
  font-weight: 500;
}

/* Projects archive */
.archive {
  padding-bottom: clamp(64px, 8vw, 100px);
}

.archive-feature {
  padding-bottom: clamp(42px, 5.5vw, 68px);
  border-bottom: 1px solid var(--line);
}

.archive-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.42fr);
  gap: clamp(18px, 3vw, 40px);
  padding-block: clamp(26px, 3.4vw, 42px);
  border-bottom: 1px solid var(--line-soft);
}

.archive-index {
  padding-top: 4px;
  color: var(--quiet);
  font-size: 14px;
}

.archive-main h2 {
  margin-top: 4px;
  font-size: clamp(26px, 3.6vw, 40px);
}

.archive-main > p {
  max-width: 620px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.archive-main .tag-list {
  margin-top: 16px;
}

.archive-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
}

.archive-side .browser {
  width: 100%;
}

.archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
  padding-block: clamp(36px, 5vw, 60px) clamp(60px, 8vw, 96px);
}

.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.about-portrait picture,
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(5, 5, 7, 0.35) 100%);
  pointer-events: none;
}

.about-copy h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4.2vw, 48px);
}

.about-copy > p {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.about-copy .project-actions {
  margin-top: 26px;
}

.about-readouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.about-readouts div {
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.about-readouts div:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--line-soft);
}

.about-readouts span {
  display: block;
  color: var(--quiet);
  font-size: 12.5px;
}

.about-readouts strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.channel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.channel-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.channel-link .cl-label {
  display: block;
  color: var(--quiet);
  font-size: 12.5px;
}

.channel-link .cl-value {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.channel-link .cl-arrow {
  color: var(--accent);
  font-size: 18px;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
  padding-block: clamp(44px, 6vw, 76px) clamp(32px, 4vw, 56px);
}

.contact-layout h1 {
  margin-top: 12px;
  font-size: clamp(44px, 7vw, 88px);
}

.contact-layout .intro-lede {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-layout .project-actions {
  margin-top: 28px;
}

.contact-card {
  padding: 22px;
}

.contact-card .mono {
  color: var(--quiet);
}

.contact-card h2 {
  margin-top: 6px;
  font-size: 24px;
}

.contact-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.contact-card .contact-list {
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-list span {
  color: var(--accent);
}

/* 404 */
.error-page {
  padding-block: clamp(70px, 12vw, 150px);
}

.error-page h1 {
  margin-top: 12px;
  font-size: clamp(48px, 8vw, 100px);
}

.error-page .intro-lede {
  max-width: 480px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   LIVE view
   -------------------------------------------------------------------------- */

.live-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  padding-block: clamp(44px, 6.5vw, 82px) clamp(36px, 5vw, 60px);
}

.live-hero h1 {
  margin-top: 12px;
  font-size: clamp(48px, 7.6vw, 100px);
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.live-tagline {
  margin-top: 14px;
  color: var(--accent-2);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.live-lede {
  max-width: 500px;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
}

.live-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.live-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.avatar-ring {
  display: grid;
  place-items: center;
  width: min(22vw, 240px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
}

.avatar-ring picture,
.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.live-status-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.live-status-grid div {
  text-align: center;
}

.live-status-grid span {
  display: block;
  color: var(--quiet);
  font-size: 12.5px;
}

.live-status-grid strong {
  display: block;
  margin-top: 1px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.live-about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-soft);
}

.live-about h2 {
  margin-top: 6px;
  font-size: clamp(28px, 4vw, 42px);
}

.live-about p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.live-about p + p {
  margin-top: 14px;
}

.schedule-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.schedule-head h2 {
  margin-top: 6px;
  font-size: clamp(28px, 4vw, 42px);
}

.schedule-note {
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.day {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 12px;
  border-left: 1px solid var(--line-soft);
  background: var(--panel);
}

.day:first-child {
  border-left: 0;
}

.day.is-today {
  background: var(--accent-soft);
}

.day-label {
  color: var(--quiet);
  font-size: 12.5px;
}

.day-value {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.day.is-today .day-value {
  color: var(--accent);
}

.day-bars {
  display: none;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: start;
  gap: clamp(26px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 76px);
}

.monitor {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.monitor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel-2);
  color: var(--quiet);
  font-size: 12.5px;
}

.monitor-bar .rec {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.monitor-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--panel-2);
}

.monitor-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.stream-poster strong {
  font-size: 17px;
  font-weight: 600;
}

.stream-poster span {
  color: var(--quiet);
  font-size: 13.5px;
}

.play-button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.play-button:hover {
  transform: scale(1.05);
  background: var(--accent-bright);
}

.play-button svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: currentColor;
}

.watch-aside h2 {
  margin-top: 6px;
  font-size: clamp(26px, 3.4vw, 36px);
}

.watch-aside > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.watch-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.watch-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.watch-list span {
  color: var(--quiet);
  font-size: 13.5px;
}

.watch-list strong {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}

.elsewhere-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.elsewhere-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.elsewhere-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.ec-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}

.ec-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.elsewhere-card h3 {
  font-size: 16px;
  font-weight: 600;
}

.elsewhere-card p {
  margin-top: 1px;
  color: var(--quiet);
  font-size: 13px;
}

.ec-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.discord-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.discord-panel h2 {
  margin-top: 6px;
  font-size: clamp(24px, 3.4vw, 36px);
}

.discord-panel p {
  max-width: 460px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.channel-back {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-soft);
}

.channel-back h2 {
  margin-top: 4px;
  font-size: clamp(24px, 3.4vw, 38px);
}

.channel-back-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Case study (Team Lotus)
   -------------------------------------------------------------------------- */

.case-hero {
  padding-block: clamp(44px, 6.5vw, 80px) clamp(30px, 4vw, 48px);
}

.case-hero h1 {
  margin-top: 12px;
  font-size: clamp(42px, 6.8vw, 84px);
}

.case-hero .intro-lede {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
  border-block: 1px solid var(--line);
}

.case-meta div {
  padding: 16px clamp(10px, 2vw, 22px) 18px;
  border-left: 1px solid var(--line-soft);
}

.case-meta div:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-meta span {
  display: block;
  color: var(--quiet);
  font-size: 12.5px;
}

.case-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.case-shot {
  margin-top: clamp(32px, 4.5vw, 52px);
}

.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(30px, 5vw, 64px);
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-soft);
}

.case-body h2 {
  margin-top: 6px;
  font-size: clamp(26px, 3.6vw, 38px);
}

.case-body h3 {
  margin-top: 28px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.case-body p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.case-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.case-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.case-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

.case-side {
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.case-side h2 {
  margin: 0;
  font-size: 18px;
}

.case-side .case-list {
  margin-top: 12px;
}

.case-side .case-list li {
  font-size: 14px;
}

.case-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  color: var(--quiet);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Reveal motion
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .nav {
    gap: 16px;
  }

  .hero,
  .live-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .portrait-frame,
  .portrait-caption {
    width: min(36vw, 340px);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elsewhere-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav,
  .socials {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-inner {
    gap: 16px;
  }

  .channel-switch {
    margin-left: auto;
  }

  .hero,
  .live-hero,
  .about-layout,
  .contact-layout,
  .case-body,
  .watch-layout,
  .live-about {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero,
  .live-hero {
    min-height: 0;
    padding-block: 44px 40px;
  }

  .live-visual {
    order: -1;
  }

  .portrait-frame,
  .portrait-caption {
    width: min(58vw, 320px);
  }

  .avatar-ring {
    width: min(46vw, 220px);
  }

  .readouts,
  .case-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .readout:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .readout:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .case-meta div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .case-meta div:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .schedule {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .day:nth-child(5) {
    border-left: 0;
  }

  .day:nth-child(n + 5) {
    border-top: 1px solid var(--line-soft);
  }

  .archive-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .archive-side {
    grid-column: auto;
  }

  .section-head,
  .schedule-head,
  .channel-back,
  .contact-panel,
  .discord-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-note {
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wordmark-tag {
    display: none;
  }

  .project-grid,
  .elsewhere-grid,
  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-project {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-project .browser {
    order: 2;
  }

  .schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day:nth-child(odd) {
    border-left: 0;
  }

  .day:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .readouts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-readouts {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-readouts div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .loader {
    display: none;
  }

  body::before {
    transition: none;
  }
}
