:root {
  --bg: #12100a;
  --bg-mid: #1a160e;
  --bg-elevated: #221c12;
  --ink: #f7f2e6;
  --muted: #a89f8a;
  --gold: #e0b43a;
  --gold-dim: #a88420;
  --spark: #ffe08a;
  --amber-wash: rgba(224, 180, 58, 0.14);
  --line: rgba(224, 180, 58, 0.28);
  --danger-soft: #c43b3b;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(255, 210, 90, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 0% 30%, rgba(224, 180, 58, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 35% at 100% 60%, rgba(200, 150, 40, 0.09), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(180, 130, 30, 0.08), transparent 55%),
    linear-gradient(180deg, #1c170c 0%, var(--bg) 35%, #16130b 70%, #1a150d 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

/* Preloader — két vezeték + egyszeri szikra */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #0c0b08;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-stage {
  position: relative;
  width: min(360px, 86vw);
  height: 64px;
}

.cable {
  position: absolute;
  top: 50%;
  width: 48%;
  height: auto;
  margin-top: -20px;
  overflow: visible;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.55));
}

.cable-left {
  left: 0;
  animation: cable-meet-left 1.05s cubic-bezier(0.33, 1, 0.45, 1) both;
}

.cable-right {
  right: 0;
  animation: cable-meet-right 1.05s cubic-bezier(0.33, 1, 0.45, 1) both;
}

.cable .sheath {
  filter: drop-shadow(0 0 0.5px #6a5a40);
}

.cable .strands {
  filter: drop-shadow(0 0 2px rgba(224, 180, 58, 0.35));
}

.arc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.arc-glow {
  position: absolute;
  left: -36px;
  top: -36px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 236, 170, 0.7) 18%,
    rgba(224, 180, 58, 0.35) 42%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.2);
  filter: blur(1px);
  animation: arc-glow 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) 1.05s both;
}

.arc-bolt {
  position: absolute;
  left: -32px;
  top: -32px;
  width: 64px;
  height: 64px;
  overflow: visible;
  opacity: 0;
  animation: arc-bolt 0.55s ease-out 1.05s both;
}

.bolt-main {
  fill: #fffef5;
  stroke: #ffe08a;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px #e0b43a);
}

.bolt-side {
  fill: none;
  stroke: #fff8d0;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px #ffe08a);
  opacity: 0;
}

.bolt-a { animation: bolt-flick 0.4s ease-out 1.08s both; }
.bolt-b { animation: bolt-flick 0.38s ease-out 1.1s both; }
.bolt-c { animation: bolt-flick 0.36s ease-out 1.12s both; }
.bolt-d { animation: bolt-flick 0.34s ease-out 1.11s both; }

.ember {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffe08a;
  box-shadow: 0 0 6px 2px rgba(255, 200, 80, 0.9);
  opacity: 0;
}

.e1 { animation: ember-fly 0.55s ease-out 1.1s both; --ex: -18px; --ey: -16px; }
.e2 { animation: ember-fly 0.6s ease-out 1.12s both; --ex: 20px; --ey: -12px; }
.e3 { animation: ember-fly 0.5s ease-out 1.14s both; --ex: -14px; --ey: 14px; }
.e4 { animation: ember-fly 0.58s ease-out 1.11s both; --ex: 16px; --ey: 18px; }
.e5 { animation: ember-fly 0.48s ease-out 1.13s both; --ex: 2px; --ey: -22px; background: #fff; }

@keyframes cable-meet-left {
  from {
    transform: translateX(-40px);
    opacity: 0.4;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes cable-meet-right {
  from {
    transform: translateX(40px);
    opacity: 0.4;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes arc-glow {
  0% {
    opacity: 0;
    transform: scale(0.15);
  }
  18% {
    opacity: 1;
    transform: scale(1.05);
  }
  32% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  48% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes arc-bolt {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-8deg);
  }
  15% {
    opacity: 1;
    transform: scale(1.05) rotate(2deg);
  }
  35% {
    opacity: 0.35;
    transform: scale(0.92) rotate(-1deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.12) rotate(3deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.25) rotate(6deg);
  }
}

@keyframes bolt-flick {
  0% {
    opacity: 0;
    stroke-dashoffset: 24;
  }
  25% {
    opacity: 1;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
  }
}

@keyframes ember-fly {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--ex), var(--ey)) scale(0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cable-left,
  .cable-right,
  .arc-glow,
  .arc-bolt,
  .bolt-side,
  .ember {
    animation: none;
  }

  .arc-glow {
    opacity: 0.7;
    transform: scale(1);
  }
}

img {
  display: block;
  max-width: 100%;
}

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

/* Electrical grid / spark atmosphere */
.spark-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(224, 180, 58, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 180, 58, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 15%, transparent 78%);
}

.spark-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 224, 138, 0.12) 50%, transparent 60%);
  animation: flash-sweep 9s ease-in-out infinite;
}

@keyframes flash-sweep {
  0%,
  88%,
  100% {
    opacity: 0;
    transform: translateX(-8%);
  }
  92% {
    opacity: 1;
    transform: translateX(0);
  }
  96% {
    opacity: 0.4;
    transform: translateX(6%);
  }
}

/* Subtle circuit traces — sides only, stays behind content */
.motif-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.circuit {
  position: absolute;
  top: 50%;
  height: min(92vh, 720px);
  width: auto;
  color: var(--gold);
  opacity: 0.11;
  transform: translateY(-50%);
}

.circuit-left {
  left: 0;
  mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
}

.circuit-right {
  right: 0;
  mask-image: linear-gradient(270deg, #000 0%, #000 55%, transparent 100%);
}

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

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(18, 16, 10, 0.78);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  justify-content: center;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
}

/* Hero — brand first, one composition */
.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vw, 5.5rem);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 180, 58, 0.18), transparent 68%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  animation: pulse-glow 4.5s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -55%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -55%) scale(1.06);
  }
}

.hero-logo {
  width: clamp(140px, 28vw, 220px);
  height: clamp(140px, 28vw, 220px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(224, 180, 58, 0.12), 0 20px 60px rgba(0, 0, 0, 0.55);
  animation: logo-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-logo-link {
  display: inline-block;
  line-height: 0;
}

.hero-brand {
  margin: 1.5rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 0.95;
  color: var(--ink);
  text-shadow: 0 0 40px rgba(224, 180, 58, 0.25);
  animation: rise-in 0.85s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand a {
  color: inherit;
  transition: color 0.2s ease;
}

.hero-brand a:hover {
  color: var(--gold);
}

.hero-tagline {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--muted);
  font-weight: 500;
  animation: rise-in 0.85s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-experience {
  margin: 1.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  animation: rise-in 0.85s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--spark);
  border-color: var(--spark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(224, 180, 58, 0.08);
  transform: translateY(-2px);
}

/* Section bands — clear separation */
.band {
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.band-alt {
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(224, 180, 58, 0.08);
}

.section {
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  max-width: 960px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.05em;
  font-weight: 400;
  line-height: 1;
}

.section-lead {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 32rem;
}

.service-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.bolt {
  flex-shrink: 0;
  width: 10px;
  height: 22px;
  background: var(--gold);
  clip-path: polygon(40% 0, 100% 0, 60% 45%, 100% 45%, 0 100%, 35% 55%, 0 55%);
  box-shadow: 0 0 12px rgba(224, 180, 58, 0.55);
}

.service-list strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.area-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
  margin-top: 1.75rem;
}

.area-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.area-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.area-text strong {
  color: var(--ink);
  font-weight: 600;
}

.area-map {
  margin: 0;
  padding: 0.65rem;
  background: rgba(18, 16, 10, 0.65);
  border: 1px solid var(--line);
}

.area-map img {
  width: 100%;
  height: auto;
  display: block;
}


/* Gallery placeholders — ready for upcoming photos */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item--video {
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.05);
  transition: filter 0.3s ease, transform 0.45s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: brightness(1.05) contrast(1.08);
  transform: scale(1.04);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(224, 180, 58, 0.92);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.gallery-play::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 15px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #12100a;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(8, 7, 5, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  margin: 0;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: min(96vw, 1100px);
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #0a0907;
  opacity: 1;
  transform: translateX(0) scale(1);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.lightbox-stage img.is-out-next,
.lightbox-stage video.is-out-next {
  opacity: 0;
  transform: translateX(-28px) scale(0.985);
  transition-duration: 0.2s;
}

.lightbox-stage img.is-out-prev,
.lightbox-stage video.is-out-prev {
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  transition-duration: 0.2s;
}

.lightbox-stage img.is-in-next,
.lightbox-stage video.is-in-next {
  opacity: 0;
  transform: translateX(36px) scale(0.985);
  transition: none;
}

.lightbox-stage img.is-in-prev,
.lightbox-stage video.is-in-prev {
  opacity: 0;
  transform: translateX(-36px) scale(0.985);
  transition: none;
}

.lightbox-stage video {
  width: min(96vw, 1100px);
}

.lightbox-stage figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  max-width: 40rem;
  transition: opacity 0.3s ease;
}

.lightbox-stage figcaption.is-dim {
  opacity: 0;
}

.lightbox-stage figcaption[hidden],
#lightbox-img[hidden] {
  display: none !important;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid var(--line);
  background: rgba(28, 23, 12, 0.9);
  color: var(--gold);
  font-size: 1.75rem;
  line-height: 1;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 6;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(224, 180, 58, 0.15);
  border-color: var(--gold);
}

body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .site-header {
  visibility: hidden;
  pointer-events: none;
}

/* Contact */
.contact {
  text-align: left;
  max-width: 1100px;
}

.contact-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(3rem, 8vw, 6rem);
  margin-top: 2.25rem;
  min-width: 0;
}

.contact-site {
  display: block;
  flex: 0 1 18rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 1.5rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-site:hover {
  border-color: var(--gold);
  background: rgba(224, 180, 58, 0.06);
}

.contact-map-hint {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  flex: 0 1 26rem;
  min-width: 0;
  max-width: 100%;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-sizing: border-box;
  min-width: 0;
}

.contact-card .bolt {
  margin-top: 0.4rem;
}

.contact-body {
  min-width: 0;
}

.contact-role {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.contact-meta {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.contact-detail {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-name,
.contact-meta {
  overflow-wrap: anywhere;
}

.contact-detail:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-dim);
  opacity: 0.9;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .area-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  .contact-list,
  .contact-site {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .contact-card,
  .contact-site {
    padding: 1.1rem 1rem;
  }

  .contact-detail {
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .nav {
    gap: 0.55rem;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
  }

  .nav a {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 1rem;
  }

  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }

  .hero {
    min-height: calc(100svh - 70px);
  }

  .circuit {
    opacity: 0.06;
  }
}

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

  .spark-layer::after,
  .hero-glow,
  .hero-logo,
  .hero-brand,
  .hero-tagline,
  .hero-experience {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
