:root {
  --bg-1: #130a24;
  --bg-2: #21123b;
  --bg-3: #321d56;
  --panel: rgba(29, 18, 53, 0.86);
  --panel-strong: rgba(35, 21, 64, 0.94);
  --card: rgba(43, 26, 76, 0.9);
  --card-soft: rgba(62, 40, 102, 0.88);
  --text-main: #f5efff;
  --text-soft: #d8c9f4;
  --text-dim: #b59fd9;
  --line: rgba(193, 163, 245, 0.2);
  --line-strong: rgba(204, 176, 250, 0.38);
  --accent: #9b6cff;
  --accent-strong: #c6a6ff;
  --accent-soft: rgba(155, 108, 255, 0.2);
  --success: #79d68b;
  --warning: #f0c36a;
  --shadow: 0 24px 90px rgba(7, 2, 18, 0.52);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1200px, calc(100vw - 40px));
}

html[data-theme="light"] {
  --bg-1: #f6f0ff;
  --bg-2: #ede3ff;
  --bg-3: #ddceff;
  --panel: rgba(255, 252, 255, 0.93);
  --panel-strong: rgba(247, 240, 255, 0.97);
  --card: rgba(252, 247, 255, 0.95);
  --card-soft: rgba(242, 233, 255, 0.95);
  --text-main: #291745;
  --text-soft: #4a356f;
  --text-dim: #71599a;
  --line: rgba(111, 73, 173, 0.2);
  --line-strong: rgba(111, 73, 173, 0.36);
  --accent: #8654e8;
  --accent-strong: #ad84ff;
  --accent-soft: rgba(134, 84, 232, 0.14);
  --shadow: 0 18px 70px rgba(66, 33, 122, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(155, 108, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(198, 166, 255, 0.14), transparent 28%),
    linear-gradient(145deg, var(--bg-1) 0%, var(--bg-2) 52%, var(--bg-3) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 88%);
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  line-height: 1;
}

p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  position: relative;
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  background: rgba(19, 10, 36, 0.74);
}

html[data-theme="light"] .site-header {
  background: rgba(246, 240, 255, 0.84);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-main {
  color: var(--text-main);
  font-family: "Great Vibes", "Brush Script MT", "Lucida Handwriting", cursive !important;
  font-weight: 400;
  font-size: clamp(2.4rem, 3vw, 3.3rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.brand-sub {
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.mobile-toggle,
.theme-toggle {
  border-radius: 999px;
  border: 1px solid transparent;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 38%),
    linear-gradient(135deg, rgba(173, 132, 255, 0.22), rgba(46, 8, 84, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 24px rgba(12, 5, 29, 0.35);
  color: var(--text-main);
  cursor: pointer;
}

html[data-theme="light"] .theme-toggle {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.58) 42%),
    linear-gradient(135deg, rgba(173, 132, 255, 0.16), rgba(134, 84, 232, 0.28));
}

.main-nav a {
  padding: 10px 14px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 0.2s ease;
}

.main-nav .nav-link-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: not-allowed;
  opacity: 0.95;
}

.main-nav .nav-tape {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd978 0%, #f5b94d 100%);
  color: #2d1f08;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.main-nav a.current {
  color: #160f27;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-main);
  cursor: pointer;
}

.theme-toggle:hover,
.mobile-toggle:hover,
.theme-toggle:focus-visible,
.mobile-toggle:focus-visible {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 38%),
    linear-gradient(135deg, rgba(198, 166, 255, 0.28), rgba(46, 8, 84, 0.76));
  outline: none;
}

.appointment-strip {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(155, 108, 255, 0.24), rgba(198, 166, 255, 0.12)),
    rgba(26, 14, 45, 0.84);
}

html[data-theme="light"] .appointment-strip {
  background:
    linear-gradient(90deg, rgba(134, 84, 232, 0.16), rgba(173, 132, 255, 0.1)),
    rgba(255, 251, 255, 0.9);
}

.appointment-strip-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.appointment-strip strong {
  color: var(--text-main);
}

.hero,
.contact-hero {
  padding-top: 28px;
}

.hero-carousel,
.project-carousel {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 48vw, 620px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(43, 26, 76, 0.95), rgba(19, 10, 36, 0.96));
  box-shadow: var(--shadow);
}

.hero-carousel {
  height: clamp(360px, 48vw, 620px);
  min-height: 0;
}

.hero-swiper,
.project-swiper,
.hero-swiper .swiper-wrapper,
.project-swiper .swiper-wrapper,
.hero-swiper .swiper-slide,
.project-swiper .swiper-slide {
  height: 100%;
}

.project-carousel {
  min-height: auto;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at top, rgba(155, 108, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(27, 15, 48, 0.98), rgba(14, 8, 27, 0.98));
}

.featured-builds-carousel {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 44vw, 540px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(43, 26, 76, 0.95), rgba(19, 10, 36, 0.96));
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.hero-carousel img,
.project-carousel img {
  display: block;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.project-carousel img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.featured-builds-carousel img {
  display: block;
  width: 100%;
  min-height: inherit;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 6, 24, 0.92) 8%, rgba(11, 6, 24, 0.24) 56%, rgba(11, 6, 24, 0.08) 100%);
}

.hero-copy,
.project-carousel-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  max-width: 760px;
}

.featured-builds-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  max-width: 760px;
}

.featured-builds-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.featured-builds-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 239, 255, 0.28);
  background: rgba(20, 11, 38, 0.62);
  color: #f5efff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-copy h1,
.page-title {
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.hero-copy h1 {
  font-family: "Great Vibes", "Brush Script MT", "Lucida Handwriting", cursive !important;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.project-carousel-copy h3,
.section h2,
.contact-card-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-copy p,
.project-carousel-copy p {
  margin-top: 10px;
  color: #f3e9ff;
}

.kicker,
.card-eyebrow {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  margin-top: 64px;
}

.section-heading,
.build-detail-head,
.build-toolbar,
.detail-actions,
.footer-wrap,
.hero-links,
.build-filters {
  display: flex;
  gap: 16px;
}

.section-heading,
.build-detail-head,
.footer-wrap {
  align-items: end;
  justify-content: space-between;
}

.panel,
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
}

.panel::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%);
}

.panel-premium,
.panel-accent,
.intro-panel,
.feature-panel {
  background:
    radial-gradient(circle at top right, rgba(198, 166, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(54, 33, 94, 0.96), rgba(24, 13, 45, 0.96));
}

html[data-theme="light"] .panel-premium,
html[data-theme="light"] .panel-accent,
html[data-theme="light"] .intro-panel,
html[data-theme="light"] .feature-panel {
  background:
    radial-gradient(circle at top right, rgba(173, 132, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 255, 0.97), rgba(239, 230, 255, 0.96));
}

.card-content,
.panel {
  padding: 24px;
}

.lead {
  margin-top: 12px;
  max-width: 820px;
  font-size: 1.02rem;
}

.grid-3,
.grid-2,
.build-grid,
.contact-grid-premium,
.project-summary-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.contact-grid-premium,
.project-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.build-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.section-cta .btn {
  min-width: 220px;
}

.showroom-carousel {
  position: relative;
  padding: 20px 56px;
}

.showroom-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.showroom-track .build-card {
  flex: 0 0 min(330px, 84vw);
  scroll-snap-align: start;
}

.showroom-track .build-card[hidden] {
  display: none;
}

.showroom-ctrl {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(24, 13, 45, 0.66);
  color: var(--text-main);
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 3;
}

html[data-theme="light"] .showroom-ctrl {
  background: rgba(247, 239, 255, 0.84);
}

.showroom-ctrl.left {
  left: 10px;
}

.showroom-ctrl.right {
  right: 10px;
}

.showroom-ctrl:hover,
.showroom-ctrl:focus-visible {
  border-color: var(--accent-strong);
  background: var(--accent-soft);
  outline: none;
}

.build-project-link {
  display: block;
  height: 100%;
}

.build-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, var(--card-soft) 0%, var(--card) 100%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.build-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.build-card .card-content {
  display: grid;
  gap: 10px;
  align-content: start;
  flex: 1;
}

.build-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.project-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-badge,
.build-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(24, 13, 45, 0.78);
  backdrop-filter: blur(10px);
}

html[data-theme="light"] .project-card-badge {
  background: rgba(249, 244, 255, 0.9);
}

.status-finished {
  color: var(--success);
}

.status-progress {
  color: var(--warning);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover,
button.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #160f27;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.btn-ghost {
  border-color: rgba(198, 166, 255, 0.44);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(198, 166, 255, 0.64);
  background: var(--accent-soft);
}

.hero-links {
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-ctrl {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(18, 10, 33, 0.54);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
}

.hero-ctrl.left {
  left: 18px;
}

.hero-ctrl.right {
  right: 18px;
}

.hero-ctrl:focus-visible,
.hero-dots button:focus-visible,
.project-carousel-dots button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.hero-dots,
.project-carousel-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  max-width: min(60%, 380px);
}

.featured-builds-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  max-width: min(60%, 380px);
}

.hero-dots button,
.project-carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
}

.featured-builds-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
}

.hero-dots button.active,
.project-carousel-dots button.active {
  width: 30px;
  background: var(--accent-strong);
}

.featured-builds-dots button.active {
  width: 30px;
  background: var(--accent-strong);
}

.page-intro {
  max-width: 980px;
}

.build-toolbar {
  align-items: center;
  justify-content: space-between;
}

.build-filters {
  flex-wrap: wrap;
  justify-content: end;
}

.build-filters label {
  display: block;
  flex: 1 1 220px;
  min-width: 220px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(26, 14, 45, 0.78);
  color: var(--text-main);
  padding: 0 16px;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: rgba(253, 249, 255, 0.9);
}

textarea {
  min-height: 140px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

input::placeholder {
  color: var(--text-dim);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-strong);
  outline: none;
}

.detail-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.list li + li {
  margin-top: 8px;
}

.build-specs {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

.build-specs th,
.build-specs td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.build-specs th {
  width: 28%;
  color: var(--text-main);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}

.build-specs td {
  padding-left: 24px;
}

.contact-page {
  position: relative;
}

.contact-headline {
  margin-top: 12px;
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.contact-summary,
.contact-note {
  margin-top: 14px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-data {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.contact-data a {
  color: var(--text-main);
}

.contact-label {
  display: block;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-cta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.form-status.success {
  background: rgba(121, 214, 139, 0.12);
  color: #c8ffd4;
}

.form-status.error {
  background: rgba(255, 111, 136, 0.12);
  color: #ffd6de;
}

html[data-theme="light"] .form-status.success {
  color: #19502a;
}

html[data-theme="light"] .form-status.error {
  color: #5f1d2b;
}

.empty {
  margin-top: 18px;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: rgba(17, 10, 34, 0.52);
}

html[data-theme="light"] .site-footer {
  background: rgba(251, 247, 255, 0.68);
}

.footer-wrap {
  align-items: center;
  padding: 20px 0 30px;
}

.footer-wrap p,
.footer-wrap a {
  color: var(--text-dim);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .build-detail-head,
  .build-toolbar,
  .section-heading,
  .appointment-strip-wrap,
  .footer-wrap {
    align-items: stretch;
    flex-direction: column;
  }

  .build-filters {
    justify-content: stretch;
  }
}

@media (max-width: 920px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(24, 13, 45, 0.96);
  }

  html[data-theme="light"] .main-nav {
    background: rgba(251, 246, 255, 0.98);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
  }

  .main-nav .nav-link-soon {
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
  }

  .contact-grid-premium,
  .project-summary-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .theme-toggle {
    margin-left: 0;
    order: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .hero-carousel,
  .project-carousel,
  .featured-builds-carousel {
    min-height: clamp(360px, 96vw, 520px);
  }

  .hero-copy,
  .project-carousel-copy,
  .featured-builds-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .hero-ctrl {
    top: auto;
    bottom: 86px;
    transform: none;
  }

  .hero-dots,
  .project-carousel-dots,
  .featured-builds-dots {
    left: 18px;
    right: 18px;
    bottom: 16px;
    max-width: none;
    justify-content: flex-start;
  }

  .grid-3,
  .build-grid {
    grid-template-columns: 1fr;
  }

  .showroom-carousel {
    padding: 16px;
  }

  .showroom-ctrl {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .showroom-ctrl.left {
    left: 16px;
  }

  .showroom-ctrl.right {
    left: 64px;
    right: auto;
  }

  .showroom-track {
    padding-bottom: 56px;
  }

  .build-filters label {
    min-width: 100%;
  }

  .build-specs th,
  .build-specs td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .build-specs td {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 16px;
  }

  .hero-links,
  .detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  button.btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-main {
    font-size: 2.3rem;
  }

  .hero-copy h1,
  .page-title {
    font-size: clamp(2.6rem, 18vw, 4.2rem);
  }

  .project-carousel-copy h3,
  .section h2,
  .contact-card-title {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .card-content,
  .panel {
    padding: 18px;
  }
}
/* ============================================================
   Swiper.js Integration
   Override Swiper defaults to match the design system.
   All carousels run on the GPU compositing layer.
   ============================================================ */

/* Slides fill the carousel container height */
.hero-swiper .swiper-slide,
.featured-swiper .swiper-slide,
.project-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Images fill each slide and stay GPU-composited */
.hero-swiper .swiper-slide img,
.featured-swiper .swiper-slide img,
.project-swiper .swiper-slide img {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: translateZ(0);
  will-change: transform;
}

.project-swiper .swiper-slide {
  display: flex;
  align-items: stretch;
}

.project-swiper .swiper-slide img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

/* Featured carousel: peek-a-boo edges signal more content on mobile.
   clip-path preserves the border-radius while allowing overflow for peeking. */
.featured-swiper {
  overflow: visible;
  clip-path: inset(0 round var(--radius-lg));
}

/* Swiper pagination bullets � match design system dot style */
.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.46) !important;
  opacity: 1 !important;
  transition: width 0.3s ease, background 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  width: 30px !important;
  background: var(--accent-strong) !important;
}

/* Hero pagination: absolute positioned to match .hero-dots layout */
.hero-swiper .swiper-pagination {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: auto;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(60%, 380px);
}

/* Featured and project pagination: same pattern */
.featured-swiper .swiper-pagination,
.project-swiper .swiper-pagination {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: auto;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(60%, 380px);
}

/* ============================================================
   Mobile Action Bar
   Thumb-zone navigation fixed to bottom. Hidden on desktop.
   env(safe-area-inset-bottom) supports iPhone notch /
   Dynamic Island without content being clipped.
   ============================================================ */

.action-bar {
  display: none;
}

.action-bar-btn {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
  transition: color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.action-bar-btn:last-child {
  border-right: 0;
}

.action-bar-btn:active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.action-bar-primary {
  color: var(--accent-strong);
  background: rgba(155, 108, 255, 0.1);
}

.action-bar-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .action-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-top: 1px solid var(--line-strong);
    background: rgba(19, 10, 36, 0.94);
    backdrop-filter: blur(24px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  html[data-theme="light"] .action-bar {
    background: rgba(246, 240, 255, 0.96);
  }

  /* Offset page content so nothing hides under the fixed bar */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* 100svh (small viewport height) fills the visible screen on iOS/Android
     without the address bar eating into the hero background */
  .hero-carousel {
    height: clamp(320px, 72vh, 520px);
    min-height: 320px;
  }
}

/* ============================================================
   Motion One � scroll-reveal initial states.
   .motion-ready is added by JS only after Motion One loads,
   so content stays visible on slow connections or script failure.
   ============================================================ */

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: none;
}
