@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("quality/fonts/inter-latin-wght-normal.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;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("quality/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("quality/fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("quality/fonts/vazirmatn-latin-wght-normal.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;
}

:root {
  --bg: #07010e;
  --bg-raise: #120a1c;
  --ink: #f6f1e6;
  --muted: #c3b4d2;
  --line: rgba(232, 197, 71, 0.28);
  --gold: #e8c547;
  --gold-deep: #8a5e0b;
  --violet: #7c3aed;
  --nav: rgba(7, 1, 14, 0.82);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --ok: #3dd68c;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f4efe4;
  --bg-raise: #fffaf3;
  --ink: #1b1028;
  --muted: #5c4b6e;
  --line: rgba(120, 78, 10, 0.28);
  --gold: #8a5e0b;
  --nav: rgba(244, 239, 228, 0.88);
  --shadow: 0 24px 50px rgba(70, 40, 10, 0.12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Vazirmatn, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-align: start;
}
#ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}
#ambience .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(96px);
  opacity: 0.42;
  will-change: transform;
  animation: drift 34s ease-in-out infinite;
}
#ambience .a {
  width: min(58vw, 720px);
  height: min(58vw, 720px);
  left: -14vw;
  top: 8vh;
  background: rgba(124, 58, 237, 0.18);
}
#ambience .b {
  width: min(48vw, 580px);
  height: min(48vw, 580px);
  right: -12vw;
  top: 36vh;
  background: rgba(232, 197, 71, 0.09);
  animation-delay: -11s;
}
#ambience .c {
  width: min(52vw, 640px);
  height: min(52vw, 640px);
  left: 22vw;
  bottom: -18vh;
  background: rgba(72, 24, 120, 0.18);
  animation-delay: -19s;
}
[data-theme="light"] #ambience .a { background: rgba(232, 197, 71, 0.14); }
[data-theme="light"] #ambience .b { background: rgba(201, 162, 39, 0.1); }
[data-theme="light"] #ambience .c { background: rgba(124, 58, 237, 0.05); }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2.8vw, -2vh, 0) scale(1.05); }
}
#sceneVeil {
  position: fixed;
  inset: 0;
  z-index: 8;
  background: var(--bg);
  opacity: var(--veil, 0);
  pointer-events: none;
  transition: opacity 0.55s ease;
  mix-blend-mode: normal;
}
body, main#main {
  background: transparent;
}
html[lang="fa"] body { font-family: Vazirmatn, Inter, sans-serif; line-height: 1.85; }
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: #e8c547; color: #1b1028; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  inset-inline-start: 16px;
  inset-inline-end: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding-inline: 14px 12px;
  border-radius: 999px;
  background: var(--nav);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(232, 197, 71, 0.38);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 4px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.brand:hover { background: rgba(232, 197, 71, 0.14); }
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(232, 197, 71, 0.45));
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  order: 2;
  position: relative;
}
.nav-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  z-index: 2;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: #e8c547;
  background-image: linear-gradient(105deg, #7a5410 0%, #fff8d6 22%, #e8c547 46%, #9a6f14 68%, #fff1b8 88%, #c9a227 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
  filter: drop-shadow(0 0 14px rgba(232, 197, 71, 0.38));
  animation: goldSheen 7.5s ease-in-out infinite;
}
[data-theme="light"] .nav-word {
  background-image: linear-gradient(105deg, #6d4a08 0%, #f3e0a0 22%, #8a5e0b 48%, #c9a227 72%, #fff1b8 100%);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45));
}
@keyframes goldSheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.nav-panel nav { display: flex; gap: 6px; }
.nav-panel a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: #fff1b8;
  background: rgba(232, 197, 71, 0.1);
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow: inset 0 0 12px rgba(232, 197, 71, 0.12);
}
[data-theme="light"] .nav-panel a:hover,
[data-theme="light"] .nav-panel a:focus-visible {
  color: #6d4a08;
}
.nav-panel a:active {
  color: #1b1028;
  background: linear-gradient(180deg, #f6de86, #d4ae3a);
  border-color: #c9a227;
}
.tools { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

.seg, .theme-btn, .menu-btn {
  border: 1px solid var(--line);
  background: rgba(232, 197, 71, 0.06);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.seg { display: flex; overflow: hidden; padding: 3px; gap: 2px; }
.seg:hover, .menu-btn:hover {
  border-color: #e8c547;
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.16);
}
.seg button, .theme-btn, .menu-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg button:hover:not([aria-pressed="true"]) {
  background: rgba(232, 197, 71, 0.12);
  color: #fff1b8;
}
.seg button[aria-pressed="true"] {
  background: linear-gradient(180deg, #f6de86, #d4ae3a);
  color: #1b1028;
  box-shadow: inset 0 1px 0 rgba(255, 248, 214, 0.55);
}
.menu-btn {
  border: 1px solid rgba(232, 197, 71, 0.7);
  color: #e8c547;
  min-height: 40px;
  padding: 0 16px;
  font-weight: 650;
  letter-spacing: 0.04em;
  background: rgba(232, 197, 71, 0.14);
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.12), inset 0 0 12px rgba(232, 197, 71, 0.08);
}
.theme-switch {
  position: relative;
  width: 42px;
  height: 22px;
  flex: none;
  margin-inline-start: 0;
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  background: linear-gradient(90deg, #140826, #3b1870 58%, #100818);
  box-shadow: inset 0 0 0 1px rgba(232, 197, 71, 0.5);
  transition: box-shadow 0.2s ease;
}
.theme-switch:hover {
  box-shadow: inset 0 0 0 1px #e8c547, 0 0 14px rgba(232, 197, 71, 0.45);
}
.theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1a1030;
  transition: left 0.35s ease, background 0.35s ease;
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.75);
}
.knob-moon, .knob-sun {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  display: block;
  transform: translate(-50%, -50%);
}
.knob-sun { opacity: 0; }
[data-theme="light"] .theme-switch {
  background: linear-gradient(90deg, #fff4d2, #e8c547 55%, #c9a227);
}
html[data-theme="light"] .theme-switch .theme-knob {
  left: 23px;
  background: #3a2208;
}
[data-theme="light"] .knob-moon { opacity: 0; }
[data-theme="light"] .knob-sun { opacity: 1; }

.hero, .about, .products, .contact, .footer, .specs {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16vh 24px 8vh;
  text-align: center;
  background: transparent;
  color: #f6f1e6;
}
.hero-mark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: #07010e;
}
[data-theme="light"] .hero-mark { background: #f4efe4; }
.hero-mark video,
.hero-video {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(100%, calc(100svh * 16 / 9));
  height: auto;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  object-fit: fill;
  background: transparent;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.hero-video.is-active { opacity: 1; }
[data-theme="light"] #heroVideoLight.is-active {
  filter: brightness(1.08) saturate(1.05) contrast(1.02);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(7, 1, 14, 0.5) 0%, rgba(7, 1, 14, 0.12) 42%, transparent 70%);
}
[data-theme="light"] .hero { color: #1b1028; }
[data-theme="light"] .hero-scrim {
  background: radial-gradient(ellipse at center, rgba(244, 239, 228, 0.35) 0%, rgba(244, 239, 228, 0.08) 48%, transparent 74%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  padding: 18px 8px;
}
.hero .eyebrow { color: #e8c547; }
.hero h1 span {
  color: #f6f1e6;
  -webkit-text-fill-color: #f6f1e6;
}
.hero .gold-text {
  background: none;
  color: #f2d56b;
  -webkit-text-fill-color: #f2d56b;
}
.hero .lede { color: #f3e9f8; }
.hero .eyebrow,
.hero h1,
.hero .lede {
  text-shadow: 0 2px 18px rgba(7, 1, 14, 0.95), 0 0 2px rgba(7, 1, 14, 0.9);
}
.hero .btn.line {
  color: #f6f1e6;
  border-color: rgba(232, 197, 71, 0.9);
  background: rgba(7, 1, 14, 0.55);
}
[data-theme="light"] .hero .eyebrow { color: #8a5e0b; }
[data-theme="light"] .hero h1 span {
  color: #1b1028;
  -webkit-text-fill-color: #1b1028;
}
[data-theme="light"] .hero .gold-text {
  color: #8a5e0b;
  -webkit-text-fill-color: #8a5e0b;
}
[data-theme="light"] .hero .lede { color: #3a2a4a; }
[data-theme="light"] .hero .eyebrow,
[data-theme="light"] .hero h1,
[data-theme="light"] .hero .lede {
  text-shadow: 0 1px 12px rgba(244, 239, 228, 0.85);
}
[data-theme="light"] .hero .btn.line {
  color: #1b1028;
  border-color: rgba(138, 94, 11, 0.55);
  background: rgba(255, 250, 243, 0.72);
}
.eyebrow, .kicker {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 650;
}
html[lang="fa"] .eyebrow,
html[lang="fa"] .kicker { letter-spacing: 0; text-transform: none; font-size: 14px; }
h1 {
  margin: 0 auto;
  font-size: clamp(42px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 650;
  max-width: 12em;
}
html[lang="fa"] h1 { letter-spacing: 0; line-height: 1.5; font-weight: 700; }
h1 span { display: block; }
.gold-text {
  background: linear-gradient(100deg, #fff1b8, #e8c547 42%, #c9a227);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="light"] .gold-text {
  background: none;
  color: #8a5e0b;
}
.lede { max-width: 40em; margin-inline: auto; color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 650;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.solid {
  background: linear-gradient(180deg, #f6de86 0%, #e8c547 48%, #c9a227 100%);
  color: #1b1028;
  box-shadow: inset 0 1px 0 rgba(255, 248, 214, 0.55), 0 8px 22px rgba(201, 162, 39, 0.28);
}
.btn.line {
  border-color: rgba(232, 197, 71, 0.55);
  color: var(--ink);
  background: rgba(232, 197, 71, 0.06);
}
.btn.solid:hover {
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 248, 214, 0.7), 0 14px 30px rgba(201, 162, 39, 0.38);
}
.btn.solid:active {
  filter: brightness(0.96);
  transform: translateY(0);
}
.btn.line:hover,
.hero .btn.line:hover,
[data-theme="light"] .hero .btn.line:hover {
  border-color: #e8c547;
  background: rgba(232, 197, 71, 0.14);
  color: #fff1b8;
  box-shadow: inset 0 0 16px rgba(232, 197, 71, 0.12);
}
[data-theme="light"] .btn.line:hover,
[data-theme="light"] .hero .btn.line:hover {
  color: #6d4a08;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #e8c547;
  outline-offset: 3px;
}

#boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #050308;
  --boot: 0;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#boot .boot-mark {
  position: relative;
  width: min(46vh, 300px);
  filter: drop-shadow(0 0 28px rgba(232, 197, 71, 0.28));
}
#boot .boot-mark img {
  width: 100%;
  height: auto;
  display: block;
}
#boot .boot-ghost {
  opacity: 0.16;
}
#boot .boot-fill {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 calc(var(--boot) * 92%),
    transparent calc(var(--boot) * 100% + 6%)
  );
  mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 calc(var(--boot) * 92%),
    transparent calc(var(--boot) * 100% + 6%)
  );
}
#boot.leave { opacity: 0; visibility: hidden; pointer-events: none; }
html.booting { overflow: hidden; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  width: min(1120px, calc(100% - 40px));
  margin: 36px auto 8px;
  padding: 0;
  border: 0;
}
.specs li {
  position: relative;
  text-align: center;
  padding: 28px 16px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(232, 197, 71, 0.16), transparent 58%),
    rgba(18, 10, 28, 0.35);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
[data-theme="light"] .specs li {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(232, 197, 71, 0.18), transparent 58%),
    rgba(255, 250, 243, 0.72);
}
.specs li:hover {
  transform: translateY(-4px);
  border-color: #e8c547;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.specs b {
  display: block;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1;
  color: #e8c547;
  font-weight: 680;
  letter-spacing: -0.03em;
}
[data-theme="light"] .specs b { color: #8a5e0b; }
.specs span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }
.specs li::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 16px auto 0;
  background: #e8c547;
}

.about { padding: 96px 0 40px; background: transparent; }
.about-lead { max-width: 46em; margin: 0 auto 36px; text-align: center; }
.about h2, .products h2, .contact h2, .chapter h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
}
html[lang="fa"] .about h2,
html[lang="fa"] .products h2,
html[lang="fa"] .contact h2,
html[lang="fa"] .chapter h2 { letter-spacing: 0; line-height: 1.4; }
.about-lead p:last-child { color: var(--muted); }
.about-motion { position: relative; margin-top: 8px; }
.motion-track {
  position: absolute;
  inset-inline: 7%;
  top: 22px;
  height: 2px;
  background: rgba(232, 197, 71, 0.28);
  z-index: 2;
  pointer-events: none;
}
.motion-orb {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff1b8;
  box-shadow: 0 0 0 6px rgba(232, 197, 71, 0.28), 0 0 22px #e8c547;
  transform: translate(-50%, -50%);
  animation: orbCruise 6.5s ease-in-out infinite alternate;
}
.about-motion.is-aimed .motion-orb {
  animation: none;
  left: var(--mx, 8%);
  transition: left 0.28s ease;
}
@keyframes orbCruise { from { left: 6%; } to { left: 94%; } }
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: none;
  border: 0;
}
.about-grid article {
  position: relative;
  overflow: hidden;
  background: rgba(18, 10, 28, 0.38);
  backdrop-filter: blur(10px);
  padding: 48px 18px 22px;
  margin: 0;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  cursor: pointer;
  outline: none;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease, background 0.28s ease, filter 0.28s ease;
}
[data-theme="light"] .about-grid article { background: rgba(255, 250, 243, 0.72); }
.about-grid article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff1b8, transparent);
  box-shadow: 0 0 14px #e8c547;
  transform-origin: center;
  animation: cardSweep 2.8s ease-in-out infinite;
  opacity: 0.55;
  pointer-events: none;
}
@keyframes cardSweep {
  0%, 100% { transform: scaleX(0.25); opacity: 0.25; }
  50% { transform: scaleX(1); opacity: 0.95; }
}
.about-motion.is-aimed .about-grid article:not(.hot) { opacity: 0.62; filter: saturate(0.75); }
.about-grid article.hot,
.about-grid article:focus-visible {
  opacity: 1;
  filter: none;
  transform: translateY(-10px);
  border-color: #e8c547;
  box-shadow: 0 22px 50px rgba(232, 197, 71, 0.28), inset 0 0 0 1px rgba(232, 197, 71, 0.45);
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(232, 197, 71, 0.34), transparent 70%),
    var(--bg-raise);
}
.about-grid article.hot::after,
.about-grid article:focus-visible::after {
  animation: none;
  transform: none;
  opacity: 1;
  height: 4px;
}
.about-grid article::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 0 auto 16px;
  background: #e8c547;
}
.about-grid h3 { margin: 0 0 8px; font-size: 22px; }
.about-grid p { margin: 0; color: var(--muted); }

.products { padding: 28px 0 20px; background: transparent; }
.products-lead { max-width: 40em; margin-inline: auto; padding-top: 72px; text-align: center; opacity: calc(1 - var(--veil, 0) * 0.85); }
.products-lead p:last-child { color: var(--muted); }
.bolt-stage {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 40vw) minmax(0, 1fr);
  grid-template-rows: minmax(92vh, auto) repeat(4, minmax(72vh, auto));
  width: min(1240px, calc(100% - 20px));
  margin: 10px auto 48px;
  position: relative;
}
.bolt-pin {
  grid-column: 2;
  grid-row: 1 / -1;
  position: sticky;
  top: 92px;
  align-self: start;
  height: calc(100vh - 108px);
  z-index: 10;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: visible;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1), height 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.bolt-pin.is-docked {
  position: fixed;
  top: 0;
  left: 0;
  width: 176px;
  height: 300px;
  margin: 0;
  transform: translate3d(calc(var(--dock-x, 50vw) - 50%), calc(var(--dock-y, 50vh) - 50%), 0);
  opacity: calc(0.15 + var(--dock, 0) * 0.85);
  z-index: 14;
  grid-column: auto;
  grid-row: auto;
  filter: drop-shadow(0 0 18px rgba(232, 197, 71, 0.28));
  transition: opacity 0.35s ease, width 0.45s cubic-bezier(0.22, 1, 0.36, 1), height 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  will-change: transform, opacity;
}
.bolt-pin.is-docked.is-link { cursor: pointer; }
.bolt-pin.is-docked.is-gone {
  opacity: 0;
  filter: none;
  visibility: hidden;
  pointer-events: none !important;
}
#boltCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}
html.bolt-3d #boltCanvas {
  display: block;
  transform: scale(calc(1.02 + var(--veil, 0) * 0.18));
  transform-origin: 50% 40%;
}
html.bolt-3d .bolt-sculpture,
html.bolt-3d .bolt-shine,
html.bolt-3d .bolt-glow,
html.bolt-3d .bolt-pin::before { display: none; }
.bolt-pin::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 92%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.2), transparent 62%);
}
.bolt-sculpture {
  position: relative;
  height: calc(100vh - 124px);
  width: auto;
  max-width: none;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(255, 214, 102, 0.55))
    drop-shadow(0 22px 28px rgba(0, 0, 0, 0.42));
  transform: scale(calc(1 + var(--bolt, 0) * 0.025));
}
.bolt-shine {
  position: absolute;
  top: 50%;
  left: 50%;
  height: calc(100vh - 124px);
  width: auto;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: brightness(1.7) saturate(1.2);
  transform: translate(-50%, -50%) scale(calc(1 + var(--bolt, 0) * 0.025));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 62%, transparent 100%);
  -webkit-mask-size: 100% 16%;
  mask-size: 100% 16%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center calc(var(--bolt, 0) * 86%);
  mask-position: center calc(var(--bolt, 0) * 86%);
}
[data-theme="light"] .bolt-sculpture {
  filter:
    drop-shadow(0 0 12px rgba(201, 146, 20, 0.4))
    drop-shadow(0 18px 24px rgba(90, 52, 8, 0.22));
}
[data-theme="light"] .bolt-shine { mix-blend-mode: multiply; filter: brightness(1.2) saturate(1.45); opacity: 0.8; }
[data-theme="light"] .bolt-pin::before {
  background: radial-gradient(circle, rgba(232, 197, 71, 0.28), transparent 62%);
}
.bolt-glow {
  position: absolute;
  left: 50%;
  top: calc(8% + var(--bolt, 0) * 76%);
  width: 120%;
  height: 18%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 236, 170, 0.85), rgba(232, 197, 71, 0.12) 46%, transparent 72%);
  filter: blur(3px);
}
.bolt-card {
  --pull: 0;
  --lean: 0;
  z-index: 1;
  align-self: center;
  width: min(292px, 100%);
  padding: 10px 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  backdrop-filter: blur(10px);
  text-align: start;
  opacity: calc(var(--show, 1) * (0.82 + var(--pull) * 0.18));
  transform: translate3d(calc(var(--lean) * (1 - var(--pull)) * 36px), 0, 0) scale(calc(0.94 + var(--pull) * 0.08));
  transition: opacity 0.7s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}
html[dir="rtl"] .bolt-card { direction: rtl; }
html[dir="ltr"] .bolt-card { direction: ltr; }
#project { grid-column: 3; grid-row: 2; justify-self: start; --lean: 1; }
#quality { grid-column: 1; grid-row: 3; justify-self: end; --lean: -1; }
#speak { grid-column: 3; grid-row: 4; justify-self: start; --lean: 1; }
#access { grid-column: 1; grid-row: 5; justify-self: end; --lean: -1; }
.bolt-card.live,
.bolt-card:hover {
  border-color: #e8c547;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(232, 197, 71, 0.45);
}
.bolt-card:hover { opacity: var(--show, 1); }
.bolt-card h2 { font-size: 22px; margin: 2px 0 6px; }
.bolt-card .kicker { justify-content: flex-start; margin-bottom: 0; }
.bolt-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #e8c547;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  cursor: pointer;
}
html[lang="fa"] .bolt-card .more { letter-spacing: 0; }
.bolt-card .more::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.3s ease;
}
.bolt-card.open .more::after { transform: rotate(225deg) translateY(-1px); }
.more-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.bolt-card.open .more-panel { max-height: 760px; }
.bolt-card .facts {
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 4px 0 8px;
  text-align: start;
}
.bolt-card .facts li { padding: 0; }
.bolt-card .facts h3 { font-size: 14px; }
.bolt-card .facts p { font-size: 12px; }
.bolt-card .tags { justify-content: flex-start; margin: 4px 0 8px; }
.bolt-card > div > p:not(.kicker) {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bolt-card .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
.bolt-card .frame {
  height: auto;
  margin-bottom: 8px;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  border-radius: 14px;
  border: 0;
  box-shadow: none;
}
.bolt-card .frame img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 156px;
  object-fit: contain;
  object-position: center;
  background: #100818;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.bolt-card .frame img.alt {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 156px;
  object-fit: contain;
}
.bolt-card .cap {
  position: static;
  background: none;
  color: var(--muted);
  padding: 6px 2px 0;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}
.bolt-card { position: relative; }
.bolt-card::after {
  content: "";
  position: absolute;
  top: 78px;
  width: calc(var(--pull, 0) * 42px);
  height: 2px;
  background: #e8c547;
  box-shadow: 0 0 12px #e8c547;
}
#project::after, #speak::after { left: -46px; }
#quality::after, #access::after { right: -46px; }
.chapter {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0;
  border-top: 0;
  scroll-margin-top: 96px;
  position: relative;
}
.chapter::before {
  content: "";
  position: absolute;
  inset-inline: 6%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 197, 71, 0.75), transparent);
}
.chapter .frame,
.chapter.flip .frame { order: 2; }
.chapter > div { order: 1; text-align: center; }
.kicker { display: flex; gap: 12px; align-items: center; justify-content: center; }
.kicker .soon {
  color: #1b1028;
  background: #e8c547;
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.08em;
}
html[lang="fa"] .kicker .soon { letter-spacing: 0; font-family: Vazirmatn, sans-serif; }
.chapter > div > p { color: var(--muted); }
.facts {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  counter-reset: fact;
  text-align: center;
}
.facts li {
  counter-increment: fact;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.facts li:hover {
  border-color: var(--line);
  background: rgba(232, 197, 71, 0.07);
}
.facts h3 { margin: 0 0 4px; font-size: 16px; }
.facts h3::before {
  content: counter(fact, decimal-leading-zero);
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.facts p { margin: 0; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; justify-content: center; }
.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--muted);
}

.frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: #100818;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.chapter:hover .frame,
.chapter:hover .frame.shot img {
  border-color: rgba(232, 197, 71, 0.75);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(232, 197, 71, 0.2);
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 28%;
}
.frame img.alt { animation: cross 9s ease-in-out infinite; }
@keyframes cross {
  0%, 38% { opacity: 0; }
  50%, 88% { opacity: 1; }
  100% { opacity: 0; }
}
.scan, .glow {
  position: absolute;
  pointer-events: none;
}
.scan {
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e8c547, transparent);
  box-shadow: 0 0 16px #e8c547;
  animation: scan 3.4s linear infinite;
}
@keyframes scan {
  from { top: 14%; }
  to { top: 78%; }
}
.glow {
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(232, 197, 71, 0.28), transparent 28%);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}
.cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  margin: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #f6f1e6;
  font-size: 12px;
}
.frame.shot {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.frame.shot img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.frame.shot .cap {
  position: static;
  background: none;
  color: var(--muted);
  padding: 10px 4px 0;
  text-align: center;
}
.bolt-card .frame.shot {
  height: auto;
  overflow: visible;
  background: transparent;
  border: 0;
}
.bolt-card .frame.shot img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 156px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
}
.bolt-card .frame.shot .cap {
  position: static;
  text-align: start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 6px 2px 0;
}

.contact { padding: 88px 0 96px; position: relative; background: transparent; }
.contact::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto;
  height: 42%;
  background: radial-gradient(ellipse at 50% 30%, rgba(232, 197, 71, 0.1), transparent 68%);
  pointer-events: none;
  animation: contactGlow 14s ease-in-out infinite;
}
@keyframes contactGlow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}
.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px 48px;
  align-items: start;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.contact-intro {
  text-align: start;
  padding-top: 12px;
}
.contact-intro h2 { margin: 0 0 14px; max-width: 10em; }
.contact-intro > p { color: var(--muted); max-width: 34em; }
.contact-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-points li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--ink);
  font-size: 15px;
}
.contact-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff1b8, #e8c547);
  box-shadow: 0 0 10px rgba(232, 197, 71, 0.45);
}
.mails {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.mail-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(232, 197, 71, 0.05);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.mail-pill span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
html[lang="fa"] .mail-pill span { letter-spacing: 0; text-transform: none; }
.mail-pill b {
  color: var(--gold);
  font-weight: 650;
  font-size: 15px;
}
.mail-pill:hover {
  border-color: #e8c547;
  background: rgba(232, 197, 71, 0.12);
  transform: translateY(-1px);
}
.contact-dock {
  position: absolute;
  top: 18%;
  inset-inline-end: -2%;
  width: 2px;
  height: 2px;
  pointer-events: none;
}
.contact-form {
  width: 100%;
  text-align: start;
  padding: 30px 28px 24px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(232, 197, 71, 0.12), transparent 42%),
    rgba(18, 10, 28, 0.42);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
[data-theme="light"] .contact-form {
  background:
    linear-gradient(160deg, rgba(232, 197, 71, 0.16), transparent 42%),
    rgba(255, 250, 243, 0.78);
  box-shadow: 0 18px 48px rgba(80, 50, 10, 0.08);
}
.form-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
}
html[lang="fa"] .form-kicker { letter-spacing: 0; text-transform: none; font-size: 14px; }
.contact-form:focus-within {
  border-color: #e8c547;
  box-shadow: 0 18px 48px rgba(232, 197, 71, 0.12);
}
.footer a:hover { color: #fff1b8; }
[data-theme="light"] .footer a:hover { color: #6d4a08; }
.form-label { margin: 16px 0 8px; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.chips button:hover:not(.active) {
  border-color: #e8c547;
  background: rgba(232, 197, 71, 0.16);
  transform: translateY(-1px);
}
.chips button.active {
  background: linear-gradient(180deg, #f6de86, #d4ae3a);
  color: #1b1028;
  border-color: #c9a227;
  box-shadow: inset 0 1px 0 rgba(255, 248, 214, 0.55);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input, textarea {
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:hover, textarea:hover { border-color: rgba(232, 197, 71, 0.7); }
input:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.16); }
textarea { resize: vertical; }
.contact-form .btn { margin-top: 16px; border: 0; cursor: pointer; }
.form-note { color: var(--muted); font-size: 13px; }

.footer {
  padding: 72px 0 56px;
  border-top: 0;
  color: var(--muted);
  text-align: center;
  background: transparent;
  box-shadow: none;
}
.footer-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-mark img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(232, 197, 71, 0.35));
}
.footer-word {
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  text-transform: uppercase;
  font-weight: 700;
  background-image: linear-gradient(105deg, #7a5410 0%, #fff8d6 22%, #e8c547 46%, #9a6f14 68%, #fff1b8 88%, #c9a227 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldSheen 7.5s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(232, 197, 71, 0.32));
}
.footer-line { max-width: 36em; margin: 0; }
.founder-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(460px, 100%);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 48%),
    rgba(18, 10, 28, 0.55);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
[data-theme="light"] .founder-card {
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.14), transparent 52%),
    rgba(255, 250, 243, 0.86);
}
.founder-card:hover {
  transform: translateY(-1px);
  border-color: #e8c547;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.founder-face {
  flex: none;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 50%;
  border: 1.5px solid #e8c547;
  background: #07010e;
  box-shadow: 0 8px 18px rgba(232, 197, 71, 0.22);
  box-sizing: border-box;
}
.founder-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.founder-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.founder-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
html[lang="fa"] .founder-kicker { letter-spacing: 0; text-transform: none; font-size: 12px; }
.founder-name {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
}
.founder-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--gold);
  letter-spacing: 0.04em;
}
html[lang="fa"] .founder-go { letter-spacing: 0; }
.founder-go::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
html[dir="rtl"] .founder-copy { align-items: flex-end; }
html[dir="rtl"] .founder-go::after { transform: rotate(-135deg); }
.footer a { color: var(--gold); }
.footer-meta { margin: 0; font-size: 14px; }

#pointer {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 36px;
  height: 48px;
  margin-left: -18px;
  margin-top: -24px;
  pointer-events: none;
  opacity: 0;
}
#pointer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(232, 197, 71, 0.45));
}
#pointer.on { opacity: 1; }
#pointer.hot img {
  filter: drop-shadow(0 0 14px #fff1b8) brightness(1.55);
}
#pointer.off { opacity: 0; }
html.has-pointer, html.has-pointer * { cursor: none !important; }
html.has-pointer input, html.has-pointer textarea, html.has-pointer select { cursor: text !important; }

#scrollmark {
  position: fixed;
  inset-inline-end: 16px;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 35;
  pointer-events: none;
}
#scrollmark .meter {
  position: absolute;
  inset-inline-start: 12px;
  top: 14vh;
  bottom: 14vh;
  width: 2px;
  background: var(--line);
}
#scrollmark .meter span {
  display: block;
  height: 100%;
  background: #e8c547;
  transform-origin: top center;
  transform: scaleY(var(--p, 0));
}
#scrollmark img {
  position: absolute;
  width: 26px;
  height: 34px;
  object-fit: contain;
  inset-inline-start: 0;
  top: calc(14vh + (72vh * var(--p, 0)));
  transform: translateY(-50%);
}

#about, #products, #contact { scroll-margin-top: 84px; }

@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .bolt-stage { grid-template-columns: minmax(0, 1fr) minmax(220px, 34vw) minmax(0, 1fr); }
  .bolt-card { width: min(250px, 100%); }
  .bolt-card .frame img,
  .bolt-card .frame.shot img { height: 118px; }
}
@media (max-width: 900px) {
  .menu-btn { display: none !important; }
  .nav {
    top: 8px;
    inset-inline: 8px;
    inset-inline-end: 8px;
    border-radius: 999px;
    min-height: 46px;
    padding-inline: 8px 8px;
    gap: 4px;
    overflow: hidden;
  }
  .brand { padding: 2px; }
  .brand img { width: 28px; height: 28px; }
  .nav-word { display: none; }
  .nav-panel {
    display: flex !important;
    position: static;
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    width: auto;
    max-width: none;
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact-intro { text-align: center; }
  .contact-intro h2 { margin-inline: auto; }
  .contact-intro > p { margin-inline: auto; }
  .contact-points { text-align: start; max-width: 28em; margin-inline: auto; }
  .mails { max-width: 28em; margin-inline: auto; }
  .nav-panel nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
  }
  .nav-panel nav a {
    display: inline-flex;
    font-size: 11px;
    padding: 5px 7px;
    white-space: nowrap;
    letter-spacing: 0;
  }
  .tools {
    margin-inline-start: auto;
    justify-content: flex-end;
    width: auto;
    flex-wrap: nowrap;
    gap: 4px;
    flex: none;
  }
  .theme-switch { width: 34px; height: 18px; }
  .theme-switch .theme-knob { width: 14px; height: 14px; }
  .seg { padding: 2px; gap: 1px; }
  .seg button {
    min-height: 24px;
    padding: 0 6px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .hero, .chapter, .chapter.flip, .contact-shell, .about-grid, .facts, .specs, .form-row {
    grid-template-columns: 1fr;
  }
  .motion-track { display: none; }
  .products-lead {
    min-height: calc(100svh - 64px);
    padding-top: 12vh;
    padding-bottom: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
  }
  .bolt-stage {
    display: flex;
    flex-direction: column;
    width: min(640px, calc(100% - 28px));
    padding-top: 18vh;
    padding-bottom: 36vh;
  }
  #project {
    margin-block: 8vh 26vh;
    min-height: 62vh;
  }
  .bolt-pin {
    position: sticky;
    top: 64px;
    align-self: center;
    width: min(220px, 58vw);
    height: 34vh;
    min-height: 168px;
    max-height: 260px;
    order: -1;
    z-index: 9;
    margin-inline: auto;
  }
  html.bolt-3d #boltCanvas {
    transform: scale(0.82);
    transform-origin: 50% 45%;
  }
  .bolt-pin.is-docked {
    width: 110px;
    height: 188px;
    z-index: 14;
  }
  .bolt-sculpture, .bolt-shine { height: 30vh; }
  #project { order: 1; }
  #quality { order: 2; }
  #speak { order: 3; }
  #access { order: 4; }
  .bolt-card, #project, #quality, #speak, #access {
    --lean: 0;
    width: min(340px, 100%);
    justify-self: center;
    align-self: center;
    position: relative;
    z-index: 11;
  }
  .bolt-card::after { display: none; }
  .chapter .frame, .chapter.flip .frame { order: 0; }
  .chapter > div { order: 1; }
  .specs { grid-template-columns: 1fr 1fr; }
  .hero { padding: 12vh 18px 40px; }
  .hero-mark { background: var(--bg); }
  .hero-mark video,
  .hero-video {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    transform: none;
    object-fit: cover;
    aspect-ratio: auto;
  }
  #scrollmark { display: none; }
  h1 { max-width: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav {
    top: 6px;
    inset-inline: 6px;
    min-height: 42px;
    padding-inline: 6px;
    gap: 2px;
  }
  .brand img { width: 24px; height: 24px; }
  .nav-panel nav a { font-size: 10px; padding: 4px 5px; }
  .seg button { min-height: 22px; padding: 0 5px; font-size: 9px; }
  .bolt-pin { top: 52px; height: 30vh; min-height: 150px; width: min(180px, 52vw); }
  .bolt-sculpture, .bolt-shine { height: 26vh; }
  html.bolt-3d #boltCanvas { transform: scale(0.74); }
  .hero { padding: 14vh 14px 28px; }
  .hero-copy { padding: 8px 0; }
  .products-lead { min-height: calc(100svh - 56px); padding-top: 10vh; }
  .specs { gap: 8px; }
  .specs li { padding: 12px 8px; }
  .about-grid article { padding: 28px 14px 16px; }
  .about-grid h3 { font-size: 18px; }
  .contact { padding: 40px 0 48px; }
  .bolt-card, #project, #quality, #speak, #access { width: min(100%, 440px); }
  .footer { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .frame img.alt { opacity: 0; }
}
