/* SuniStroi - homepage styles (dark theme, locked)
   Radius rule: containers 28px, inner panels 20px, inputs 14px, interactive elements full pill.
   Layers: grain 40, nav 50, mobile menu 60, nav above open menu 70. */

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1d1d20;
  --ink: #f4f4f5;
  --muted: #a3a3ab;
  --line: rgb(255 255 255 / 0.12);
  --accent: #ffb224;
  --accent-ink: #17130a;
  --glass: rgb(20 20 22 / 0.62);
  --danger: #ff8a80;

  --r-card: 28px;
  --r-inner: 20px;
  --r-input: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(5.5rem, 12vw, 11rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Film grain: fixed and non-interactive so it never repaints with scroll */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-top: 0; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 80; background: var(--accent); color: var(--accent-ink); padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600; transition: top 0.25s; }
.skip:focus { top: 1rem; }

.h-display { font-size: clamp(2.25rem, 7.2vw, 6.75rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; }
.h-section { font-size: clamp(2.25rem, 5.2vw, 4.75rem); line-height: 1; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.h-section em, .h-display em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.3125rem); line-height: 1.5; color: var(--muted); max-width: 44ch; text-wrap: pretty; }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.outline { color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.38); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 3.5rem; padding: 0 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, scale 0.3s var(--ease);
}
.btn:active { scale: 0.96; }
.btn-primary { background: var(--accent); color: var(--accent-ink); padding-right: 0.5rem; box-shadow: 0 14px 40px -14px rgb(255 178 36 / 0.55); }
.btn-primary:hover { background: #ffc24f; }
.btn-arrow { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent-ink); color: var(--accent); display: grid; place-items: center; transition: transform 0.45s var(--ease); }
.btn:hover .btn-arrow { transform: rotate(-45deg); }
.btn-ghost { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn-ghost:hover { border-color: var(--ink); background: rgb(255 255 255 / 0.12); }
.btn-sm { min-height: 2.5rem; padding: 0 1.15rem; font-size: 0.9375rem; box-shadow: none; }

/* Navigation: web approximation of a glass pill (backdrop blur + inner highlight) */
.nav { position: fixed; inset: 0.75rem 0 auto 0; z-index: 50; pointer-events: none; }
.nav-bar {
  pointer-events: auto;
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  height: 3.75rem; padding: 0 0.625rem 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.1);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), 0 20px 50px -24px rgb(0 0 0 / 0.9);
}
.brand { display: inline-flex; align-items: center; gap: 0.625rem; font-size: 1.1875rem; letter-spacing: -0.02em; }
.brand svg { width: 2rem; height: 2rem; }
.brand b { font-weight: 700; }
.brand span { font-weight: 400; }
.nav-links { display: none; gap: 0.25rem; font-size: 0.9375rem; font-weight: 500; }
.nav-links a { padding: 0.5rem 0.9rem; border-radius: 999px; color: var(--muted); transition: color 0.25s, background-color 0.25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); background: rgb(255 255 255 / 0.1); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle { width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.nav-toggle .icon-close, .menu-open .nav-toggle .icon-open { display: none; }
.menu-open .nav-toggle .icon-close { display: block; }
.nav-cta { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  padding: 7rem var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s;
}
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open .nav { z-index: 70; }
.menu ul { display: grid; }
.menu li a { display: block; padding: 0.5rem 0; font-size: 2.75rem; font-weight: 700; letter-spacing: -0.04em; border-bottom: 1px solid var(--line); }
.menu .btn { width: 100%; justify-content: space-between; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .menu { display: none; }
}

/* Hero: full-bleed photo, copy anchored bottom-left */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100dvh; display: grid; align-items: end; padding: 7rem 0 clamp(2rem, 5vw, 4rem); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-slide:nth-child(2) img { object-position: 68% 78%; }
.hero-slide:nth-child(3) img { object-position: 50% 50%; }
.hero-slide:nth-child(5) img { object-position: 50% 52%; }
/* Ken Burns: each photo drifts and zooms slowly while it is on screen */
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-shown img { animation: kb-a 4s linear both; }
  .hero-slide:nth-child(2).is-shown img { animation-name: kb-b; }
  .hero-slide:nth-child(3).is-shown img { animation-name: kb-c; }
  .hero-slide:nth-child(4).is-shown img { animation-name: kb-d; }
  .hero-slide:nth-child(5).is-shown img { animation-name: kb-a; }
}
@keyframes kb-a { from { transform: scale(1.04); } to { transform: scale(1.2) translate(-2.5%, 2%); } }
@keyframes kb-b { from { transform: scale(1.2) translate(2.5%, -2%); } to { transform: scale(1.04); } }
@keyframes kb-c { from { transform: scale(1.05) translate(-2%, -1.5%); } to { transform: scale(1.2) translate(2%, 1.5%); } }
@keyframes kb-d { from { transform: scale(1.2) translate(-2%, 2%); } to { transform: scale(1.05) translate(1.5%, -1%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 0% 100%, rgb(255 178 36 / 0.2), transparent 70%),
    linear-gradient(0deg, var(--bg) 4%, rgb(10 10 11 / 0.82) 34%, rgb(10 10 11 / 0.15) 70%, rgb(10 10 11 / 0.55) 100%);
}
.hero-copy { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); justify-items: start; }
.hero-copy .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-copy .line > span { display: block; }
.hero-foot { display: grid; gap: 1.5rem; width: 100%; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) {
  .hero-media { left: 26%; }
  .hero::before {
    background:
      radial-gradient(45% 60% at 0% 100%, rgb(255 178 36 / 0.16), transparent 70%),
      linear-gradient(90deg, var(--bg) 26%, rgb(10 10 11 / 0.35) 50%, rgb(10 10 11 / 0) 72%),
      linear-gradient(0deg, var(--bg) 2%, rgb(10 10 11 / 0.55) 24%, rgb(10 10 11 / 0) 52%, rgb(10 10 11 / 0.35) 100%);
  }
  .hero-foot { grid-template-columns: 1fr auto; align-items: end; }
}

/* Service marquee: oversized, alternating outline and fill */
.marquee { padding-block: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; }
.marquee-track ul { display: flex; flex: none; }
.marquee-track li { display: inline-flex; align-items: center; font-size: clamp(2.75rem, 8vw, 7rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.045em; white-space: nowrap; }
.marquee-track li:nth-child(odd) { color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.42); }
.marquee-track li::after { content: ""; width: 0.22em; height: 0.22em; margin-inline: 0.35em; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 60s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services bento: photo fills the cell, copy sits on a scrim */
.bento { display: grid; gap: 0.875rem; }
.cell {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  border-radius: var(--r-card); background: var(--surface); min-height: 21rem;
}
.cell-media { position: absolute; inset: 0; z-index: -2; }
.cell-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cell:hover .cell-media img { transform: scale(1.06); }
.cell::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 10 11 / 0.05) 25%, rgb(10 10 11 / 0.92) 100%); }
/* Border that lights up under the cursor (position set from main.js) */
.cell::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(22rem circle at var(--mx, -40rem) var(--my, -40rem), rgb(255 178 36 / 0.9), rgb(255 255 255 / 0.1) 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.cell-copy { padding: clamp(1.5rem, 2.6vw, 2.5rem); display: grid; gap: 0.6rem; }
.cell h3 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.375rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.cell p { color: rgb(244 244 245 / 0.82); max-width: 36ch; }
.cell-tint { background: var(--accent); color: var(--accent-ink); }
.cell-tint::after { background: radial-gradient(80% 70% at 100% 0%, rgb(255 255 255 / 0.4), transparent 65%); }
.cell-tint p { color: rgb(23 19 10 / 0.82); }
.cell-glyph { position: absolute; right: -1.5rem; top: -1.5rem; z-index: -1; width: 13rem; height: 13rem; opacity: 0.16; transition: transform 1.2s var(--ease); }
.cell-glyph .icon { width: 100%; height: 100%; }
.cell-tint:hover .cell-glyph { transform: rotate(-8deg) scale(1.06); }

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 29rem; }
  .cell { min-height: 0; }
  .c-7 { grid-column: span 7; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-8 { grid-column: span 8; }
}

.extras { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.25rem; }
.extras h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.extras ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.extras li { padding: 0.7rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); font-size: clamp(0.9375rem, 0.5vw + 0.85rem, 1.125rem); font-weight: 500; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.extras li:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Projects rail */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.rail-head .section-head { margin: 0; }
.rail-nav { display: none; gap: 0.5rem; }
.rail-btn { width: 3.5rem; height: 3.5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: scale 0.3s var(--ease), opacity 0.25s, background-color 0.25s, color 0.25s; }
.rail-btn:not(:disabled):hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.rail-btn:active { scale: 0.92; }
.rail-btn:disabled { opacity: 0.3; cursor: default; }
.rail {
  display: flex; gap: 0.875rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.shot { flex: none; width: min(80vw, 24rem); scroll-snap-align: start; display: grid; gap: 1rem; align-content: start; }
.shot-media { aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.shot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.shot:hover .shot-media img { transform: scale(1.05); }
.shot figcaption { display: grid; gap: 0.2rem; padding-inline: 0.25rem; }
.shot figcaption b { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.shot figcaption span { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 900px) {
  .rail-nav { display: flex; }
  .shot { width: 29rem; }
  .shot:nth-child(even) { margin-top: 4.5rem; }
}

/* Light statement: full-bleed photo that opens up, then text that lights word by word */
.spot-media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.spot-media img { width: 100%; height: 100%; object-fit: cover; }
.spot-text { margin-top: clamp(2.5rem, 6vw, 5rem); font-size: clamp(1.75rem, 4.3vw, 4.25rem); line-height: 1.06; letter-spacing: -0.04em; font-weight: 700; text-wrap: pretty; max-width: 22ch; }
@media (min-width: 900px) { .spot-media { aspect-ratio: 21 / 9; } }

/* Process: four stages joined by a line that fills with scroll progress */
.steps { position: relative; display: grid; gap: 2.5rem; --p: 1; }
.steps::before, .steps-fill { content: ""; position: absolute; left: 1.75rem; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.steps-fill { background: var(--accent); transform-origin: 0 0; transform: scaleY(var(--p)); }
.step { position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; align-items: start; }
.step-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 1.125rem; }
.step h3 { font-size: clamp(1.375rem, 1vw + 1.1rem, 1.75rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 0.6rem; padding-top: 0.75rem; }
.step p { color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .steps::before, .steps-fill { left: 0; right: 0; top: 1.75rem; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; }
  .steps-fill { transform: scaleX(var(--p)); }
  .step { grid-template-columns: 1fr; gap: 1.75rem; }
  .step h3 { padding-top: 0; }
}

/* FAQ: title beside a plain ruled list */
.faq-grid { display: grid; gap: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.6rem; font-size: clamp(1.1875rem, 0.9vw + 1rem, 1.625rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; transition: color 0.25s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.5rem; height: 1.5rem; transition: transform 0.45s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.75rem; max-width: 58ch; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .faq-grid .h-section { position: sticky; top: 7.5rem; }
}

/* Contact: solid accent block with a dark form panel */
.contact-card { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-card); padding: clamp(1.25rem, 4vw, 3.5rem); display: grid; gap: clamp(2rem, 5vw, 4rem); }
.contact-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 0% 0%, rgb(255 255 255 / 0.45), transparent 60%); }
.contact-copy { position: relative; display: grid; gap: 1.25rem; align-content: start; padding: 0.5rem; }
.contact-copy .lede { color: rgb(23 19 10 / 0.8); }
.call { position: relative; display: grid; gap: 1.75rem; justify-items: start; align-content: center; background: var(--bg); color: var(--ink); border-radius: var(--r-inner); padding: clamp(1.5rem, 4vw, 3rem); }
.call-number { font-size: clamp(1.875rem, 3vw, 2.875rem); line-height: 1; font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; transition: color 0.25s; }
.call-number:hover { color: var(--accent); }
.btn:hover .btn-arrow:has([href$="#phone"]) { transform: rotate(-12deg); }
@media (min-width: 900px) {
  .contact-card { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: stretch; }
}

/* Footer */
.footer { padding-top: clamp(3rem, 6vw, 5rem); overflow: hidden; color: var(--muted); font-size: 0.9375rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 1.5rem 3rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-weight: 500; color: var(--ink); }
.footer-links a:hover { color: var(--accent); }
.footer-meta { display: grid; gap: 0.4rem; max-width: 46ch; }
.footer-meta a { text-decoration: underline; text-underline-offset: 3px; }
.footer-word { display: block; margin-top: clamp(2rem, 5vw, 4rem); font-size: clamp(4rem, 19.5vw, 20rem); line-height: 0.78; font-weight: 700; letter-spacing: -0.06em; white-space: nowrap; text-align: center; margin-bottom: -0.06em; }
.footer-word b { font-weight: 700; color: var(--accent); -webkit-text-stroke: 0; }

/* Motion starting states: only when JS and motion are both available */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(44px); }
  .js .hero-copy .line > span { transform: translateY(110%); }
  .js [data-hero-fade] { opacity: 0; transform: translateY(20px); }
  .js .hero-media { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-bar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn-ghost { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
