/* ============================================
   TRUSTED TECHNO ELECTRIC
   Design System & Core Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Theme-driven palette (JS overrides these via brightness) */
  --bg: #000000;
  --bg-secondary: #0a0a0a;
  --text: #ffffff;
  --text-secondary: #999999;
  --card-bg: #111111;
  --border: #222222;
  --nav-bg: rgba(0,0,0,0.9);
  --card-shadow: none;

  /* Static palette references (mapped to theme vars below) */
  --black: #0a0a0a;
  --white: #f5f5f5;
  --pure-white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-300: #c0c0c0;
  --gray-400: #888888;
  --gray-500: #666666;
  --gray-600: #444444;
  --gray-700: #2a2a2a;
  --gray-800: #1a1a1a;
  --gray-900: #111111;
  --accent: #c8a45c; /* Subtle gold, used extremely sparingly */

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Layout */
  --container-max: 1400px;
  --container-padding: clamp(1.5rem, 4vw, 4rem);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Header height */
  --header-h: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Noise Texture Overlay --- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    display: block;
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
    mix-blend-mode: difference;
  }

  .cursor-ring {
    display: block;
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(245, 245, 245, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
    mix-blend-mode: difference;
  }

  .cursor-hover .cursor-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
  }

  .cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
  }
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* --- Typography --- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

.text-outline {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

.section-header {
  margin-bottom: var(--space-2xl);
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--duration-normal) var(--ease-out),
              backdrop-filter var(--duration-normal) var(--ease-out);
}

.header--scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 101;
}

.nav__logo-mark {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--text);
  color: var(--bg);
  padding: 0.4rem 0.6rem;
  line-height: 1;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--text-secondary);
}

.nav__links {
  display: flex;
  gap: var(--space-xl);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--text);
  padding: 0.6rem 1.2rem;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.nav__cta:hover {
  background: var(--text-secondary);
  transform: translateY(-1px);
}

.nav__cta-icon {
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav__cta:hover .nav__cta-icon {
  transform: translateX(3px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 101;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.nav__burger.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav__burger.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--container-padding);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  transform: translateY(30px);
  opacity: 0;
  transition: transform var(--duration-slow) var(--ease-out),
              opacity var(--duration-slow) var(--ease-out),
              color var(--duration-fast);
}

.mobile-menu.active .mobile-menu__link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu__link:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu__link:hover {
  color: var(--text-secondary);
}

.mobile-menu__footer {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu__phone {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.mobile-menu__social {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.hero__content {
  padding: var(--space-2xl) var(--container-padding);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-lg);
}

.hero__title-line {
  display: block;
}

.hero__title-line--outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
}

.hero__visual-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-inner {
  position: relative;
  width: 60%;
  aspect-ratio: 1;
}

.hero__bolt {
  width: 100%;
  height: 100%;
  color: var(--border);
  animation: boltFloat 6s ease-in-out infinite;
}

@keyframes boltFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__visual-label {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 0.6rem 1rem;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: var(--container-padding);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --- Marquee --- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xl);
  animation: marqueeScroll 30s linear infinite;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.marquee__dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Featured Section (Tesla/EV) --- */
.featured {
  padding: var(--space-3xl) 0;
}

.featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.featured__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.featured__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.featured__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.featured__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.featured__list-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.featured__image-placeholder {
  position: relative;
}

/* --- Placeholder Boxes --- */
.placeholder-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal);
}

.placeholder-box:hover {
  border-color: var(--text-secondary);
}

.placeholder-box small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.placeholder-box__icon {
  width: 48px;
  height: 48px;
  color: var(--border);
  margin-bottom: 0.5rem;
}

.placeholder-box--large {
  aspect-ratio: 4 / 5;
}

.placeholder-box--portrait {
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 380px;
}

.placeholder-box--square {
  aspect-ratio: 1;
  width: 100%;
}

.placeholder-box--gallery {
  aspect-ratio: 4 / 3;
  width: 100%;
}

/* --- Services --- */
.services {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--space-lg);
  background: var(--bg-secondary);
  box-shadow: var(--card-shadow);
  transition: background var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal);
  position: relative;
  cursor: pointer;
}

.service-card:hover {
  background: var(--bg);
}

.service-card--highlight {
  background: var(--bg);
  border-left: 2px solid var(--accent);
}

.service-card__number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  transition: color var(--duration-normal);
}

.service-card:hover .service-card__icon {
  color: var(--text);
}

.service-card--highlight .service-card__icon {
  color: var(--accent);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.service-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex-grow: 1;
}

.service-card__arrow {
  display: inline-block;
  margin-top: var(--space-lg);
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__arrow {
  color: var(--text);
  transform: translateX(4px);
}

/* --- Stats --- */
.stats {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline;
}

.stat__suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--accent);
}

.stat__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}

/* --- About --- */
.about {
  padding: var(--space-3xl) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about__text p:first-child {
  color: var(--text-secondary);
}

.about__visual {
  display: flex;
  justify-content: flex-end;
}

.about__image-group {
  position: relative;
  width: 100%;
  max-width: 380px;
}

/* Team */
.team {
  border-top: 1px solid var(--border);
  padding-top: var(--space-2xl);
}

.team__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.team__member {
  text-align: center;
}

.team__member .placeholder-box {
  margin-bottom: var(--space-md);
}

.team__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team__role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- Gallery --- */
.gallery {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item .placeholder-box {
  height: 100%;
  min-height: 280px;
}

/* --- CTA Band --- */
.cta-band {
  padding: var(--space-3xl) 0;
}

.cta-band__inner {
  text-align: center;
}

.cta-band__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__detail-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.contact__detail-value {
  font-size: 1.05rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

a.contact__detail-value:hover {
  color: var(--text);
}

.contact__form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: var(--space-xl);
  transition: box-shadow var(--duration-normal);
}

.contact__form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  outline: none;
  transition: border-color var(--duration-fast);
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input:focus {
  border-color: var(--text);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-select option {
  background: var(--bg);
  color: var(--text);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--text-secondary);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
}

.btn--full {
  width: 100%;
}

.btn__icon {
  display: flex;
  align-items: center;
}

.btn__arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* --- Potlights Interactive Section --- */
.potlights {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #080808;
  padding: var(--space-2xl) var(--container-padding);
  transition: background 0.4s ease;
}

.potlights__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.potlights__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.potlights__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-inline: auto;
}

.potlights__brightness-label {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.potlights__brightness-label.visible {
  opacity: 1;
}

/* Layout: switch + ceiling side by side */
.potlights__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

/* ==========================================
   DECORA DIMMER SWITCH (Lutron Caseta-style)
   ========================================== */
.decora-switch {
  --dimmer-value: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.decora-switch__label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Wall plate — Lutron Decora proportions (~2.75" x 4.5" aspect) */
.decora-switch__plate {
  position: relative;
  width: 80px;
  height: 140px;
  background: linear-gradient(180deg, #f2efea 0%, #eae7e2 40%, #e0ddd8 100%);
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 10px 8px;
  gap: 6px;
  box-shadow:
    0 2px 14px rgba(0, 0, 0, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),
    inset 1px 0 0 rgba(255, 255, 255, 0.6),
    inset -1px 0 0 rgba(0, 0, 0, 0.03);
}

/* Rocker — dominant element, fills most of the plate */
.decora-switch__rocker {
  position: relative;
  width: 55px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.12),
    inset 0 -1px 2px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.7);
}

.decora-switch__rocker-top,
.decora-switch__rocker-bottom {
  flex: 1;
  width: 100%;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decora-switch__rocker-top {
  background: linear-gradient(180deg, #edebe6 0%, #e5e2dd 100%);
  border-radius: 3px 3px 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.04);
}

.decora-switch__rocker-bottom {
  background: linear-gradient(180deg, #e5e2dd 0%, #dbd8d3 100%);
  border-radius: 0 0 3px 3px;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.decora-switch__rocker-divider {
  height: 1px;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

/* LED indicator dot on rocker */
.decora-switch__led {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bbb;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ON state */
.decora-switch.is-on .decora-switch__led {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6), 0 0 12px rgba(74, 222, 128, 0.2);
}

.decora-switch.is-on .decora-switch__rocker-top {
  background: linear-gradient(180deg, #e2dfda 0%, #dbd8d3 100%);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}

.decora-switch.is-on .decora-switch__rocker-bottom {
  background: linear-gradient(180deg, #eae7e2 0%, #e5e2dd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 2px rgba(0, 0, 0, 0.04);
}

/* Press feedback */
.decora-switch__rocker-top:active {
  background: linear-gradient(180deg, #dbd8d3 0%, #d5d2cd 100%);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
}

.decora-switch__rocker-bottom:active {
  background: linear-gradient(180deg, #dbd8d3 0%, #d5d2cd 100%);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Thin dimmer strip — right side of plate */
.decora-switch__dimmer-rail {
  position: relative;
  width: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.decora-switch__dimmer-track {
  position: relative;
  width: 4px;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.decora-switch__dimmer-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #c8a45c, #e8d5a0);
  border-radius: 2px;
  transform-origin: bottom;
  transform: scaleY(var(--dimmer-value, 0));
  transition: transform 0.05s linear;
}

/* Dimmer thumb — small, positioned via CSS custom property */
.decora-switch__dimmer-thumb {
  position: absolute;
  width: 8px;
  height: 8px;
  left: 50%;
  margin-left: -4px;
  bottom: calc(var(--dimmer-value, 0) * 100%);
  transform: translateY(50%);
  background: linear-gradient(180deg, #f8f6f2 0%, #e5e2dd 100%);
  border-radius: 50%;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: grab;
  touch-action: none;
  z-index: 3;
  transition: box-shadow 0.2s ease;
}

.decora-switch__dimmer-thumb:active {
  cursor: grabbing;
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.45),
    0 0 8px rgba(200, 164, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Ceiling panel */
.potlights__ceiling {
  position: relative;
  width: 100%;
  max-width: 680px;
  min-height: 500px;
  perspective: 900px;
}

.potlights__ceiling-surface {
  position: relative;
  width: 100%;
  min-height: 500px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(30,30,30,0.6) 0%, transparent 70%),
    linear-gradient(180deg, #101010 0%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transform: rotateX(6deg);
  transform-style: preserve-3d;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Light grid */
.potlights__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 5rem);
  width: 100%;
  min-height: 100%;
  place-items: center;
}

/* Individual pot light */
.potlight {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Light fixture (the recessed ring) */
.potlight__fixture {
  position: relative;
  width: clamp(80px, 12vw, 130px);
  height: clamp(80px, 12vw, 130px);
  border-radius: 50%;
  background:
    radial-gradient(circle, #2a2a2a 40%, #1e1e1e 60%, #161616 100%);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.9),
    inset 0 -1px 3px rgba(255,255,255,0.06),
    0 0 0 2px #333,
    0 0 0 4px #222,
    0 0 0 5px rgba(255,255,255,0.08);
  transition: background 0.4s ease, box-shadow 0.5s ease;
  flex-shrink: 0;
}

/* Chrome ring */
.potlight__ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  background: transparent;
  pointer-events: none;
  transition: border-color 0.4s ease;
}

/* Frosted glass lens */
.potlight__lens {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, #333 0%, #222 100%);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Glow state when light is on */
.potlight.is-on .potlight__lens {
  background: radial-gradient(
    circle,
    #FFF5E0 0%,
    #FFE8B0 30%,
    #F5D070 60%,
    rgba(200, 164, 92, 0.3) 100%
  );
  border-color: transparent;
}

.potlight.is-on .potlight__fixture {
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.4),
    inset 0 -1px 3px rgba(255,245,224,0.1),
    0 0 0 3px #1c1c1c,
    0 0 0 5px #141414,
    0 0 0 6px rgba(255,245,224,0.08),
    0 0 30px rgba(255,245,224, var(--light-intensity, 0));
}

/* Brightness ring indicator around fixture */
.potlight__brightness-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.potlight.is-on .potlight__brightness-ring {
  border-color: rgba(255,245,224, var(--light-intensity, 0));
}

/* Light cone / rays projecting downward */
.potlight__cone {
  position: absolute;
  top: 55%;
  left: 50%;
  width: clamp(120px, 18vw, 220px);
  height: clamp(160px, 22vw, 300px);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.4s ease;
}

.potlight__cone-inner {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 0%,
      rgba(255, 245, 224, 0.25) 0%,
      rgba(255, 232, 176, 0.12) 25%,
      rgba(245, 208, 112, 0.05) 50%,
      transparent 75%
    );
  filter: blur(12px);
  will-change: opacity;
}

.potlight.is-on .potlight__cone {
  opacity: var(--light-intensity, 0);
}

/* Ambient floor glow beneath entire ceiling */
.potlights__ambient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,245,224,0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

/* CTA below ceiling */
.potlights__cta {
  margin-top: var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 2;
}

.potlights__cta-hint {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.potlights__cta-hint svg {
  animation: tapBounce 2s ease-in-out infinite;
}

@keyframes tapBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: var(--space-2xl);
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    padding: var(--space-xl) var(--container-padding);
  }

  .featured__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .about__visual {
    justify-content: flex-start;
  }

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

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .potlights__ceiling {
    max-width: 560px;
    min-height: 450px;
  }

  .potlights__ceiling-surface {
    min-height: 450px;
    transform: rotateX(3deg);
  }

  .potlights__layout {
    gap: clamp(1.5rem, 3vw, 3rem);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero__title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

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

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

  .gallery__item--wide {
    grid-column: span 1;
  }

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

  .team__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .cta-band__actions {
    flex-direction: column;
    align-items: center;
  }

  .contact__form-wrap {
    padding: var(--space-lg);
  }

  .potlights__layout {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .potlights__ceiling {
    max-width: 100%;
    min-height: auto;
    aspect-ratio: 1;
  }

  .potlights__ceiling-surface {
    min-height: auto;
    height: 100%;
    transform: rotateX(0deg);
  }

  .potlights__grid {
    gap: clamp(1rem, 4vw, 1.5rem);
    padding: clamp(1rem, 4vw, 1.5rem);
  }

  .potlight__fixture {
    width: clamp(60px, 18vw, 80px);
    height: clamp(60px, 18vw, 80px);
  }

  .potlight__cone {
    width: clamp(80px, 22vw, 120px);
    height: clamp(100px, 28vw, 160px);
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .potlight__fixture {
    width: clamp(50px, 16vw, 70px);
    height: clamp(50px, 16vw, 70px);
  }

  .potlight__cone {
    width: clamp(70px, 20vw, 100px);
    height: clamp(90px, 24vw, 130px);
  }

  .potlights__grid {
    gap: 0.75rem;
    padding: 0.75rem;
  }
}
