/* =========================================
   SAIKOUWORKS — Main Stylesheet

   FONT NOTE:
   Sofachrome (display) is proxied by Bebas Neue.
   Industry (body/UI) is proxied by Barlow.

   To apply licensed fonts, add @font-face declarations here:

   @font-face {
     font-family: 'Sofachrome';
     src: url('../assets/fonts/sofachrome.woff2') format('woff2');
     font-weight: normal;
     font-style: normal;
     font-display: swap;
   }
   @font-face {
     font-family: 'Industry';
     src: url('../assets/fonts/industry-bold.woff2') format('woff2');
     font-weight: 700;
     font-style: normal;
     font-display: swap;
   }
   @font-face {
     font-family: 'Industry';
     src: url('../assets/fonts/industry-light.woff2') format('woff2');
     font-weight: 300;
     font-style: normal;
     font-display: swap;
   }

   Then update --font-display and --font-body below.
   ========================================= */


/* ─── Custom Properties ─── */
:root {
  /* Brand Colours */
  --color-midnight-void: #050507;
  --color-midnight-void-60: rgba(5, 5, 7, 0.6);
  --color-midnight-void-15: rgba(5, 5, 7, 0.15);
  --color-ceramic-chassis: #F2F2F2;
  --color-engineering-gold: #D4AF37;
  --color-engineering-gold-60: rgba(212, 175, 55, 0.6);
  --color-voltage-blue: #00E5FA;
  --color-technical-teal: #00B4B4;
  --color-bright-hot-pink: #E6007E;
  --color-velocity-yellow: #F6FE00;

  /* Typography — swap font names here when licensed files are added */
  --font-display: 'sofachrome', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Rajdhani', 'Arial', sans-serif;

  /* Layout */
  --nav-height: 80px;
  --section-pad: clamp(72px, 9vw, 128px);
  --page-gutter: clamp(24px, 5vw, 80px);

  /* Motion */
  --ease-base: 0.3s ease;
  --ease-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ─── Theme: Dark (default) ─── */
body.dark {
  --bg: var(--color-midnight-void);
  --text: var(--color-ceramic-chassis);
  --text-dim: rgba(242, 242, 242, 0.45);
  --nav-bg: rgba(5, 5, 7, 0.55);
  --nav-border: rgba(0, 229, 250, 0.08);
  --border: rgba(242, 242, 242, 0.1);
  --img-bg-a: linear-gradient(150deg, #0c0c12 0%, #16141c 50%, #0a0a0f 100%);
  --img-bg-b: linear-gradient(160deg, #100e18 0%, #1c1420 50%, #0e0c14 100%);
  --img-bg-c: linear-gradient(140deg, #0a0e14 0%, #141820 50%, #0c0e12 100%);
}

/* ─── Theme: Light ─── */
body.light {
  --bg: var(--color-ceramic-chassis);
  --text: var(--color-midnight-void);
  --text-dim: rgba(5, 5, 7, 0.45);
  --nav-bg: rgba(242, 242, 242, 0.65);
  --nav-border: rgba(0, 180, 180, 0.15);
  --border: rgba(5, 5, 7, 0.1);
  --img-bg-a: linear-gradient(150deg, #d0d0d4 0%, #e0dee4 50%, #cccccc 100%);
  --img-bg-b: linear-gradient(160deg, #c8c4d0 0%, #d8d0dc 50%, #c4c0cc 100%);
  --img-bg-c: linear-gradient(140deg, #ccced4 0%, #d4d8e0 50%, #c8ccd4 100%);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

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

button {
  cursor: pointer;
}


/* ─── Shared Utility ─── */
.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-bright-hot-pink);
  margin-bottom: 28px;
  display: block;
}


/* =========================================
   NAVIGATION
   ========================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 var(--page-gutter);
  background: transparent;
  transition: background var(--ease-base), backdrop-filter var(--ease-base);
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}

/* Wordmark */
.nav__wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease-slow), transform 0.6s var(--ease-slow);
  pointer-events: none;
}

.nav.scrolled .nav__wordmark {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__wordmark svg {
  height: 18px;
  width: auto;
  transition: color var(--ease-base);
}

.nav__wordmark:hover {
  color: var(--color-engineering-gold);
}

/* Nav links row */
.nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s var(--ease-slow) 0.05s, transform 0.6s var(--ease-slow) 0.05s;
  pointer-events: none;
}

.nav.scrolled .nav__links {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Non-homepage: logo and links appear instantly, no slide-in animation */
.nav[data-always-scrolled] .nav__wordmark,
.nav[data-always-scrolled] .nav__links {
  transition: none;
}

.nav__sep {
  font-size: 8px;
  opacity: 0.25;
  color: var(--text);
  user-select: none;
}

.nav__link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 3px;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-engineering-gold);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__link:hover {
  color: var(--color-engineering-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

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



/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-height) var(--page-gutter) 80px;
  background-color: #14151a;
  background-image:
    radial-gradient(ellipse at 85% 5%, rgba(110, 12, 28, 0.65) 0%, transparent 52%),
    radial-gradient(ellipse at 15% 92%, rgba(15, 20, 45, 0.55) 0%, transparent 45%);
  background-size: 100% 100%, 100% 100%;
}



/* Animated SVG background */
.hero__svg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}

/* Corner brackets — fade out once logo animation completes */
.hero__bracket {
  animation: bracket-fade 0.6s ease-out 5.1s forwards;
}

@keyframes bracket-fade {
  to { opacity: 0; }
}

/* ── Gold spotlight — large cone that sweeps through occasionally */
.hero__spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__spotlight::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  background: radial-gradient(circle,
      rgba(212, 175, 55, 0.07) 0%,
      rgba(212, 175, 55, 0.03) 40%,
      transparent 65%);
  animation: spotlight-wander 75s ease-in-out infinite;
}

@keyframes spotlight-wander {
  0% {
    transform: translate(0, 0);
  }

  11% {
    transform: translate(22vw, -12vh);
  }

  24% {
    transform: translate(-18vw, 8vh);
  }

  35% {
    transform: translate(10vw, 18vh);
  }

  47% {
    transform: translate(-25vw, -8vh);
  }

  58% {
    transform: translate(18vw, -18vh);
  }

  70% {
    transform: translate(-12vw, 14vh);
  }

  82% {
    transform: translate(28vw, 4vh);
  }

  91% {
    transform: translate(-8vw, -16vh);
  }

  100% {
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__spotlight::before {
    animation: none;
  }
}

/* Left section navigation removed */

/* Centre content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  transition: opacity 0.8s var(--ease-slow), transform 0.8s var(--ease-slow), filter 0.8s var(--ease-slow);
}

.nav.scrolled~.hero .hero__content {
  opacity: 0;
  transform: translateY(-60px) scale(0.95);
  filter: blur(20px);
  pointer-events: none;
}

.hero__heading {
  font-family: var(--font-display);
  margin-bottom: 32px;
  width: 100%;
}

.hero__logo-main {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
  /* Prevent clipping of laser glows */
}

/* ── Laser Cut Animation ── */
.laser-path {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2px;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  transform-origin: center;
}

@keyframes laser-cut {
  0% {
    stroke: rgba(255, 200, 50, 0);
    stroke-dashoffset: 100;
    filter: drop-shadow(0 0 0px rgba(255, 100, 0, 0));
  }

  15% {
    stroke: #ffffff;
    /* pure white hot core */
    filter: drop-shadow(0 0 10px #ff6600) drop-shadow(0 0 24px #ff0000);
  }

  80% {
    stroke: #ffaa00;
    /* cooling to orange edge */
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 6px #ff4400);
  }

  100% {
    stroke: rgba(255, 100, 0, 0.3);
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 2px rgba(255, 50, 0, 0));
  }
}

@keyframes laser-fill {
  0% {
    fill: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 100, 0, 0.4));
  }

  100% {
    fill: var(--text);
    filter: none;
  }
}

/* Sequential stagger for 16 paths left-to-right */
.laser-path:nth-child(1) {
  animation: laser-cut 1.6s ease-out 0.1s forwards, laser-fill 0.8s ease-out 2.8s forwards;
}

.laser-path:nth-child(2) {
  animation: laser-cut 1.6s ease-out 0.25s forwards, laser-fill 0.8s ease-out 2.9s forwards;
}

.laser-path:nth-child(3) {
  animation: laser-cut 1.6s ease-out 0.4s forwards, laser-fill 0.8s ease-out 3.0s forwards;
}

.laser-path:nth-child(4) {
  animation: laser-cut 1.6s ease-out 0.55s forwards, laser-fill 0.8s ease-out 3.1s forwards;
}

.laser-path:nth-child(5) {
  animation: laser-cut 1.6s ease-out 0.7s forwards, laser-fill 0.8s ease-out 3.2s forwards;
}

.laser-path:nth-child(6) {
  animation: laser-cut 1.6s ease-out 0.85s forwards, laser-fill 0.8s ease-out 3.3s forwards;
}

.laser-path:nth-child(7) {
  animation: laser-cut 1.6s ease-out 1.0s forwards, laser-fill 0.8s ease-out 3.4s forwards;
}

.laser-path:nth-child(8) {
  animation: laser-cut 1.6s ease-out 1.15s forwards, laser-fill 0.8s ease-out 3.5s forwards;
}

.laser-path:nth-child(9) {
  animation: laser-cut 1.6s ease-out 1.3s forwards, laser-fill 0.8s ease-out 3.6s forwards;
}

.laser-path:nth-child(10) {
  animation: laser-cut 1.6s ease-out 1.45s forwards, laser-fill 0.8s ease-out 3.7s forwards;
}

.laser-path:nth-child(11) {
  animation: laser-cut 1.6s ease-out 1.6s forwards, laser-fill 0.8s ease-out 3.8s forwards;
}

.laser-path:nth-child(12) {
  animation: laser-cut 1.6s ease-out 1.75s forwards, laser-fill 0.8s ease-out 3.9s forwards;
}

.laser-path:nth-child(13) {
  animation: laser-cut 1.6s ease-out 1.9s forwards, laser-fill 0.8s ease-out 4.0s forwards;
}

.laser-path:nth-child(14) {
  animation: laser-cut 1.6s ease-out 2.05s forwards, laser-fill 0.8s ease-out 4.1s forwards;
}

.laser-path:nth-child(15) {
  animation: laser-cut 1.6s ease-out 2.2s forwards, laser-fill 0.8s ease-out 4.2s forwards;
}

.laser-path:nth-child(16) {
  animation: laser-cut 1.6s ease-out 2.35s forwards, laser-fill 0.8s ease-out 4.3s forwards;
}

/* In the scrolled state, stop animations to keep navbar version clean */
.nav.scrolled~.hero .laser-path {
  animation: none !important;
  stroke: transparent !important;
  stroke-dashoffset: 0 !important;
  fill: var(--text) !important;
  filter: none !important;
}

.hero__heading-accent {
  color: rgba(242, 242, 242, 0.55);
}

.hero__subtext {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.75;
  color: rgba(242, 242, 242, 0.85);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* Rimac-style CTA — rule / label / rule */
.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__cta-rule {
  width: 220px;
  height: 1px;
  background: rgba(242, 242, 242, 0.25);
}

.hero__cta-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__cta-sep {
  font-size: 8px;
  opacity: 0.25;
  color: var(--color-ceramic-chassis);
  user-select: none;
}

.hero__cta-link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-ceramic-chassis);
  padding: 16px 0 19px;
  transition: color 0.25s ease;
}

.hero__cta-link::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-engineering-gold);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__cta-link:hover {
  color: var(--color-engineering-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

.hero__cta-link:hover::after {
  width: 100%;
}


/* =========================================
   IMAGE SHOWCASE / SLIDER
   ========================================= */

.showcase {
  position: relative;
  height: 78vh;
  min-height: 480px;
  overflow: hidden;
}

.showcase__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform var(--ease-slow);
}

.showcase__slide {
  min-width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.showcase__panel {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.showcase__panel:first-child {
  border-right: 1px solid var(--border);
}

/* Full-cover image for all panels */
.panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase__panel:hover .panel-img,
.philosophy__image:hover .panel-img,
.featured-build__image:hover .panel-img {
  transform: scale(1.025);
}

/* Image placeholder panels — replace .img-panel div with <img> */
.img-panel {
  width: 100%;
  height: 100%;
  background: var(--img-bg-a);
  position: relative;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle radial highlight for depth */
.img-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 60%, rgba(212, 175, 55, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.img-panel--alt {
  background: var(--img-bg-b);
}

.img-panel--2 {
  background: var(--img-bg-c);
}

.img-panel--2b {
  background: var(--img-bg-a);
}

.img-panel--3 {
  background: var(--img-bg-b);
}

.img-panel--3b {
  background: var(--img-bg-c);
}

.img-panel--philosophy {
  background: var(--img-bg-b);
}

.img-panel--featured {
  background: var(--img-bg-a);
}

.showcase__panel:hover .img-panel {
  transform: scale(1.025);
}

/* Panel label (shows over placeholder, remove when using real images) */
.img-panel__label {
  position: absolute;
  bottom: 24px;
  left: 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.25);
}

/* Arrows */
.showcase__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: var(--color-ceramic-chassis);
  font-size: 40px;
  line-height: 1;
  padding: 20px 12px;
  opacity: 0.3;
  transition: opacity var(--ease-base);
  font-weight: 100;
}

.showcase__arrow:hover {
  opacity: 1;
}

.showcase__arrow--prev {
  left: 4px;
}

.showcase__arrow--next {
  right: 4px;
}

/* Slide counter */
.showcase__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.3);
}


/* =========================================
   PHILOSOPHY
   ========================================= */

.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
  border-top: 1px solid var(--border);
}

.philosophy__text {
  padding: var(--section-pad) clamp(36px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.philosophy__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 50px);
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 40px;
}

.philosophy__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 440px;
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  transition: color var(--ease-base);
}

.text-link:hover {
  color: var(--color-voltage-blue);
}

.philosophy__image {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--border);
}

.philosophy__image .img-panel {
  height: 100%;
}


/* =========================================
   FEATURED BUILD
   ========================================= */

.featured-build {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
  border-top: 1px solid var(--border);
}

.featured-build__image {
  position: relative;
  overflow: hidden;
}

.featured-build__image .img-panel {
  height: 100%;
}

.featured-build__content {
  padding: var(--section-pad) clamp(36px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.featured-build__tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.featured-build__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 50px);
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
}

.featured-build__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 400px;
  margin-bottom: 40px;
}

/* Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.spec-table__row:last-child {
  border-bottom: 1px solid var(--border);
}

.spec-table dt {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-technical-teal);
  align-self: center;
}

.spec-table dd {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.status--complete {
  color: var(--color-technical-teal);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* =========================================
   COMMISSION CTA
   ========================================= */

.commission {
  padding: var(--section-pad) var(--page-gutter);
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.commission__bg-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(320px, 60vw, 700px);
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

body.dark .commission__bg-icon {
  filter: invert(1);
}

.commission>*:not(.commission__bg-icon) {
  position: relative;
  z-index: 1;
}

.commission__heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}

.commission__subtext {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 400px;
  margin: 0 auto 48px;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  padding: 15px 44px;
  background: var(--color-bright-hot-pink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background var(--ease-base), transform var(--ease-base);
}

.btn-primary:hover {
  background: var(--color-engineering-gold);
  color: var(--color-midnight-void);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
  position: relative;
  padding: 72px var(--page-gutter) 52px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

/* Blue underglow */
.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(0, 229, 250, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
}

/* Left: identity */
.footer__identity {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__wordmark {
  color: var(--text-dim);
}

.footer__wordmark svg {
  height: 13px;
  width: auto;
}

.footer__tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Right: link columns */
.footer__cols {
  display: flex;
  gap: 64px;
  flex-shrink: 0;
}

.footer__col-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer__col a {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color var(--ease-base);
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--color-voltage-blue);
}

/* Bottom disclaimer */
.footer__disclaimer {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 10px;
  line-height: 1.7;
  color: rgba(242, 242, 242, 0.2);
  max-width: 640px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  position: relative;
  z-index: 1;
}


/* THEME TOGGLE (REMOVED) */


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

  .philosophy,
  .featured-build {
    grid-template-columns: 1fr;
  }

  .philosophy__image,
  .featured-build__image {
    height: 55vw;
    min-height: 300px;
    border-left: none;
    border-bottom: 1px solid var(--border);
  }

  /* Featured build: image on top */
  .featured-build__image {
    order: -1;
  }

  .featured-build__content {
    border-left: none;
  }

  .philosophy__image .img-panel,
  .featured-build__image .img-panel {
    height: 100%;
  }
}

@media (max-width: 680px) {
  .showcase {
    height: 55vh;
  }

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

  .showcase__panel:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .footer__inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer__cols {
    gap: 40px;
  }
}

@media (max-width: 420px) {
  .footer__cols {
    flex-direction: column;
    gap: 32px;
  }
}