:root {
  color-scheme: dark;
  --bg: #03050b;
  --bg-2: #080b16;
  --panel: rgba(7, 10, 19, 0.78);
  --panel-solid: #0a0e19;
  --card: rgba(10, 14, 25, 0.78);
  --card-strong: #101626;
  --line: rgba(119, 157, 255, 0.2);
  --line-hot: rgba(151, 101, 255, 0.34);
  --text: #f6fbff;
  --muted: #a7b1c8;
  --cyan: #67c7ff;
  --blue: #246bff;
  --magenta: #9b5cff;
  --pink: #c078ff;
  --amber: #bba7ff;
  --ok: #54f0a6;
  --danger: #ff637d;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --nav-h: 76px;
  --mx: 50vw;
  --my: 30vh;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 18% 16%, rgba(36, 107, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 82% 22%, rgba(155, 92, 255, 0.2), transparent 32rem),
    linear-gradient(180deg, var(--bg), #070914 42%, #020308);
  color: var(--text);
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

body::before {
  background:
    linear-gradient(90deg, rgba(103, 199, 255, 0.046) 1px, transparent 1px),
    linear-gradient(180deg, rgba(103, 199, 255, 0.036) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

body::after {
  opacity: 0.18;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.38) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  transform: translateY(-150%);
}

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

.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 2000;
  height: 3px;
  width: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--amber));
  box-shadow: 0 0 24px rgba(103, 199, 255, 0.72);
}

.cursor-glow {
  position: fixed;
  left: var(--mx);
  top: var(--my);
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103, 199, 255, 0.2), rgba(155, 92, 255, 0.12) 42%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(4px);
  pointer-events: none;
}

.site-aurora {
  position: fixed;
  inset: -20vh -10vw auto;
  z-index: -2;
  height: 75vh;
  background:
    linear-gradient(115deg, transparent 10%, rgba(36, 107, 255, 0.16), transparent 34%),
    linear-gradient(72deg, transparent 30%, rgba(155, 92, 255, 0.15), transparent 58%),
    linear-gradient(135deg, transparent 55%, rgba(103, 199, 255, 0.08), transparent 76%);
  filter: blur(20px);
  transform: skewY(-8deg);
  animation: aurora-shift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1500;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(4, 6, 9, 0.78);
  backdrop-filter: blur(22px);
}

.nav-shell {
  width: min(1180px, calc(100% - 36px));
  min-height: var(--nav-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(2, 4, 10, 0.78);
  box-shadow: 0 0 28px rgba(103, 199, 255, 0.28);
}

.brand-mark.large {
  width: 104px;
  height: 104px;
  margin-inline: auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius) - 3px);
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-weight: 900;
  color: var(--text);
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.primary-nav > a,
.dropbtn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(246, 251, 255, 0.86);
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.primary-nav > a:hover,
.primary-nav > a[aria-current="page"],
.dropbtn:hover,
.dropdown.is-open .dropbtn {
  color: #fff;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.dropbtn svg,
.btn svg,
.menu-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 11, 20, 0.95);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  backdrop-filter: blur(20px);
}

.dropdown.is-open .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-content a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 750;
}

.dropdown-content a:hover,
.dropdown-content a[aria-current="page"] {
  background: rgba(103, 199, 255, 0.1);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.hero-section {
  position: relative;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 58px) 0 62px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-image img,
.hero-scrim,
.scanline {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -4;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 50%;
  transform: scale(1.02);
  animation: hero-drift 15s ease-in-out infinite alternate;
}

.hero-scrim {
  z-index: -3;
  background:
    radial-gradient(circle at 68% 44%, rgba(36, 107, 255, 0.06) 0 18rem, rgba(3, 5, 11, 0.2) 35rem),
    linear-gradient(90deg, rgba(3, 5, 11, 0.98), rgba(3, 5, 11, 0.84) 30%, rgba(3, 5, 11, 0.28) 56%, rgba(3, 5, 11, 0.48)),
    linear-gradient(180deg, rgba(3, 5, 11, 0.14), rgba(3, 5, 11, 0.78));
}

.scanline {
  z-index: -2;
  background: linear-gradient(110deg, transparent 20%, rgba(103, 199, 255, 0.14) 28%, rgba(155, 92, 255, 0.1) 31%, transparent 38%);
  transform: translateX(-70%);
  animation: light-sweep 5.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  max-width: 1180px;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-copy,
.hero-actions {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(103, 199, 255, 0.6);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-content h1,
.page-hero h1,
.thankyou-box h1 {
  font-family: Orbitron, Poppins, sans-serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 900;
  max-width: 10ch;
  text-shadow:
    0 0 25px rgba(103, 199, 255, 0.24),
    5px 5px 0 rgba(155, 92, 255, 0.28);
}

.hero-content h1 {
  max-width: 7.6ch;
}

.hero-copy {
  margin: 22px 0 0;
  color: rgba(246, 251, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

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

.btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  overflow: hidden;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background-color 190ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 46%, var(--magenta));
  color: #02040a;
  box-shadow: 0 18px 42px rgba(103, 199, 255, 0.23), 0 0 38px rgba(155, 92, 255, 0.2);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-stats {
  width: min(1180px, calc(100% - 36px));
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 14, 24, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  min-height: 108px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-family: Orbitron, Poppins, sans-serif;
  font-size: 1.45rem;
}

.hero-stats span {
  color: var(--muted);
  font-weight: 800;
}

.section,
.page-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(103, 199, 255, 0.07), transparent 36%),
    linear-gradient(300deg, rgba(155, 92, 255, 0.08), transparent 38%),
    var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.section + .section {
  margin-top: 28px;
}

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 22px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: center;
  margin-top: 72px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section h2,
.builds-showcase h2,
.page-hero h1,
.legal-shell h1 {
  font-family: Orbitron, Poppins, sans-serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 900;
}

.section p,
.section li,
.builds-showcase p:not(.eyebrow),
.content-card p,
.faq-item p {
  color: var(--muted);
}

.holo-card,
.build-card,
.service-card,
.faq-item,
.contact-card,
.thankyou-box,
.content-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 15, 27, 0.66);
  overflow: hidden;
}

.holo-card::before,
.build-card::before,
.service-card::before,
.faq-item::before,
.contact-card::before,
.thankyou-box::before,
.content-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(103, 199, 255, 0.28), transparent 34%, rgba(155, 92, 255, 0.26));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.holo-card:hover::before,
.build-card:hover::before,
.service-card:hover::before,
.faq-item:hover::before,
.contact-card:hover::before,
.content-card:hover::before {
  opacity: 1;
}

.holo-card {
  min-height: 320px;
  padding: 28px;
  transform-style: preserve-3d;
}

.holo-card h3 {
  font-family: Orbitron, Poppins, sans-serif;
  font-size: 1.6rem;
}

.card-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(90deg, rgba(103, 199, 255, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(103, 199, 255, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(500px) rotateX(58deg) translateY(80px);
  transform-origin: bottom;
}

.timeline-list,
.clean-list {
  position: relative;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-list li,
.clean-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.timeline-list span {
  color: var(--magenta);
  font-family: Orbitron, Poppins, sans-serif;
  font-weight: 900;
}

.builds-section {
  overflow: hidden;
}

.builds-showcase {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.build-gallery {
  display: grid;
  gap: 34px;
}

.build-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 560px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  background:
    linear-gradient(135deg, rgba(103, 199, 255, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(155, 92, 255, 0.12), transparent 42%),
    rgba(5, 9, 18, 0.86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.build-photo {
  grid-area: 1 / 1;
  min-height: 560px;
  overflow: hidden;
}

.build-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 700ms ease, filter 700ms ease;
}

.build-card:hover .build-photo img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.build-copy {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(500px, calc(100% - 56px));
  margin: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 9, 18, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.build-copy h3 {
  font-family: Orbitron, Poppins, sans-serif;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
}

.build-copy p:not(.eyebrow) {
  color: var(--muted);
}

.builds-page .page-hero p {
  max-width: 720px;
  color: rgba(246, 251, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.build-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 850;
}

.page-main {
  padding: calc(var(--nav-h) + 76px) 0 90px;
}

.page-hero {
  margin-bottom: 26px;
}

.page-hero h1 {
  max-width: 980px;
}

.content-card h1 {
  font-family: Orbitron, Poppins, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.content-card h2:not(:first-child),
.content-card h3 {
  margin-top: 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.service-card {
  min-height: 190px;
  padding: 22px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.note-panel {
  padding: 18px;
  border: 1px solid var(--line-hot);
  border-radius: var(--radius);
  background: rgba(155, 92, 255, 0.08);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 24px;
  align-items: center;
}

.contact-grid {
  display: grid;
  gap: 14px;
}

.contact-card {
  min-height: 116px;
  padding: 20px;
}

.contact-card span {
  display: block;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 1.1rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px;
}

.faq-item h2 {
  font-family: Poppins, sans-serif;
  font-size: 1.12rem;
}

.return-link {
  justify-self: start;
}

.quote-form {
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.full-span {
  grid-column: 1 / -1;
}

label,
.terms-row {
  color: var(--text);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(123, 231, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: #070a12;
  padding: 12px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(103, 199, 255, 0.18), 0 0 28px rgba(103, 199, 255, 0.14);
}

.contact-input {
  display: none;
}

.contact-input.is-visible {
  display: grid;
}

.honey-field {
  display: none;
}

.terms-row {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.terms-row input {
  width: 20px;
  min-height: 20px;
  flex: 0 0 auto;
}

.terms-row a,
.site-footer a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.draft-hint {
  margin: 0;
  min-height: 24px;
  color: var(--muted);
}

.submitting-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 4, 9, 0.76);
  backdrop-filter: blur(18px);
}

.submitting-overlay.is-visible {
  display: flex;
}

.spinner-card {
  width: min(320px, calc(100% - 36px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  text-align: center;
  box-shadow: var(--shadow);
}

.spinner-ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--cyan);
  border-right-color: var(--magenta);
  animation: spin 900ms linear infinite;
}

.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding: 24px 0 0;
  color: var(--muted);
  text-align: center;
}

.legal-shell {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 100dvh;
  padding: 48px 0;
  display: grid;
  align-content: center;
  gap: 22px;
}

.solo-brand {
  justify-self: start;
}

.thankyou-main {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.thankyou-box {
  width: min(680px, 100%);
  padding: 44px;
  text-align: center;
  background: rgba(9, 15, 27, 0.78);
  box-shadow: var(--shadow);
}

.thankyou-box p {
  color: var(--muted);
}

.reveal-up {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  filter: blur(10px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

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

.tilt-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.tilt-card:hover {
  box-shadow: 0 22px 70px rgba(103, 199, 255, 0.12), 0 0 50px rgba(155, 92, 255, 0.1);
}

.magnet {
  transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
}

@keyframes aurora-shift {
  from { transform: translateX(-2%) skewY(-8deg); }
  to { transform: translateX(2%) skewY(-5deg); }
}

@keyframes light-sweep {
  0%, 42% { transform: translateX(-85%); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateX(92%); opacity: 0; }
}

@keyframes hero-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.6%, 0.8%, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 70px;
  }

  .nav-shell {
    width: calc(100% - 28px);
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--nav-h) + 8px);
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 11, 20, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 5px;
  }

  .primary-nav > a,
  .dropbtn {
    width: 100%;
    justify-content: center;
  }

  .dropdown-content {
    position: static;
    min-width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  .split-section,
  .build-card,
  .contact-panel,
  .form-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .build-card,
  .build-photo {
    min-height: 0;
  }

  .build-photo,
  .build-copy {
    grid-area: auto;
  }

  .build-photo {
    aspect-ratio: 16 / 9;
  }

  .build-copy {
    width: auto;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: rgba(5, 9, 18, 0.72);
    box-shadow: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-section {
    min-height: 94dvh;
    padding-top: calc(var(--nav-h) + 38px);
  }

  .hero-image img {
    object-position: 70% 50%;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 6, 9, 0.94), rgba(4, 6, 9, 0.62) 46%, rgba(4, 6, 9, 0.92)),
      linear-gradient(90deg, rgba(4, 6, 9, 0.9), rgba(4, 6, 9, 0.28));
  }

  .hero-content,
  .hero-stats,
  .section,
  .page-hero,
  .builds-showcase,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero-content h1,
  .page-hero h1,
  .thankyou-box h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-actions,
  .form-actions,
  .btn {
    width: 100%;
  }

  .section {
    padding: 22px;
  }

  .terms-row {
    align-items: flex-start;
  }

  .thankyou-box {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
