@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500&family=Outfit:wght@300;400;500&display=swap');

:root {
  --bg-dark: #0a0e0c;
  --bg-light: #f4f2ed;
  --text-light: #f4f2ed;
  --text-dark: #0a0e0c;
  --solar-gold: #f6ce13;
  --solar-glow: #ffcc44;
  --mid-grey: #6b7280;
  --green-accent: #2d6a4f;

  --font-serif: 'Oswald', sans-serif;
  --font-sans: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  cursor: none;
  /* Hide default cursor for custom cursor */
}

a,
button {
  cursor: none;
  /* Keep none for custom cursor hover */
}

/* Lenis Recommended */
html {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  display: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  margin: 0;
}

.heading-giant {
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.88;
}

.heading-large {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.italic {
  font-style: italic;
}

.label-caps {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--solar-gold);
  margin-bottom: 1rem;
  display: block;
}

.body-text {
  font-size: 1.1rem;
  color: var(--mid-grey);
  max-width: 500px;
}

/* Custom Cursor */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--solar-gold);
  border-radius: 50%;
  position: fixed;
  top: -4px;
  left: -4px;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transition: width 0.3s, height 0.3s, background 0.3s, top 0.3s, left 0.3s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--solar-gold);
  border-radius: 50%;
  position: fixed;
  top: -18px;
  left: -18px;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.6;
  mix-blend-mode: difference;
  transition: width 0.3s, height 0.3s, border-radius 0.3s, top 0.3s, left 0.3s;
}

.cursor.hover {
  width: 48px;
  height: 48px;
  top: -24px;
  left: -24px;
  background: transparent;
  border: 1px solid var(--solar-gold);
}

.cursor.hover+.cursor-ring {
  opacity: 0;
  transform: scale(1.5);
}

/* Page Load Overlay */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#loader svg circle {
  fill: none;
  stroke: var(--solar-gold);
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

#loader-text {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  opacity: 0;
}

#loader-text span {
  opacity: 0;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--solar-gold);
  color: var(--text-dark);
}

.btn-gold:hover {
  background: var(--solar-glow);
  box-shadow: 0 0 20px rgba(240, 165, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--text-dark);
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9900;
  transition: background 0.5s ease, padding 0.4s ease;
  background: transparent;
}

.nav.scrolled {
  background: black;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 3rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
  text-decoration: none;
}

.nav-monogram {
  color: var(--solar-gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.nav-wordmark {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-link .label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-grey);
}

.nav-link .name {
  font-size: 0.9rem;
}

.nav-link::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--solar-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  margin-top: 4px;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-phone {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

/* Sections Base */
section {
  padding: 8rem 3rem;
  position: relative;
}

.dark-section {
  background: var(--bg-dark);
  color: var(--text-light);
}

.light-section {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* GPU acceleration on animated elements */
.card,
.hero-media,
.reveal-image {
  will-change: transform;
  backface-visibility: hidden;
}

/* Section 1: Hero */
.hero {
  height: 100vh;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media {
  width: 100%;
  height: 125%;
  /* extra for parallax */
  object-fit: cover;
  position: absolute;
  top: -12.5%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 14, 12, 0.3) 0%, rgba(10, 14, 12, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5rem;
}

.hero-text .line {
  overflow: hidden;
}

.hero-desc {
  max-width: 600px;
  margin: 2rem auto 3rem;
  font-size: 1.1rem;
  color: rgba(244, 242, 237, 0.8);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.hero-bottom {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-indicator span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--solar-gold);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(200%);
  }
}



/* Section 2: Marquee */
.brand-marquee {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 2rem;
  animation: marquee 25s linear infinite;
  gap: 2rem;
}

.marquee-content span {
  display: inline-block;
}

.marquee-content span:nth-child(even) {
  color: var(--solar-gold);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Section 3: Who We Are */
.who-we-are {
  padding-top: 10rem;
}

.split-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: center;
}

.img-reveal-wrapper {
  width: 100%;
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.img-reveal-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.text-link:hover::after {
  transform: scaleX(1);
}

/* Section 4: Solutions */
.solutions .heading-large {
  margin-bottom: 4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(240, 165, 0, 0);
  transition: box-shadow 0.4s ease;
}

.card img {
  width: 100%;
  height: 120%;
  top: -10%;
  object-fit: cover;
  position: relative;
}

.card:hover {
  box-shadow: 0 0 0 1px var(--solar-gold);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 12, 0.9) 0%, rgba(10, 14, 12, 0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Section 5: Why Us */
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.why-row-rev {
  grid-template-columns: 1fr 1fr;
}

.why-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 10%;
}

.why-num {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--solar-gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.why-content .heading-large {
  font-size: 3rem;
}

.why-img {
  position: relative;
  overflow: hidden;
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section 6: Stats */
.stats {
  position: relative;
  text-align: center;
}

.stats-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.15) 0%, rgba(10, 14, 12, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--solar-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-grey);
}


/* Section 8: Showroom */
.showroom {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.showroom-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.showroom-media img {
  width: 100%;
  height: 120%;
  top: -10%;
  position: relative;
  object-fit: cover;
}

.showroom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 12, 0.6);
  z-index: 1;
}

.showroom-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Section 9: Testimonials */
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.arrows {
  display: flex;
  gap: 1rem;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-dark);
  transition: all 0.3s;
}

.arrow-btn:hover {
  background: var(--text-dark);
  color: var(--bg-light);
}

.slider-wrap {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 15rem;
  color: var(--solar-gold);
  line-height: 0.7;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.client-name {
  font-weight: 500;
}

.client-loc {
  font-size: 0.9rem;
  color: var(--mid-grey);
}



/* Section 11: CTA */
.cta-section {
  text-align: center;
  padding: 12rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.2) 0%, rgba(10, 14, 12, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: pulseBlob 8s ease-in-out infinite alternate;
}

@keyframes pulseBlob {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-content .heading-giant {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 8vw, 7rem);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--mid-grey);
  margin-bottom: 3rem;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
}

/* Footer */
.footer {
  position: relative;
  padding: 6rem 3rem 2rem;
  overflow: hidden;
}

.footer-med {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-med img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 12, 0.85);
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4rem;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--solar-gold);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--mid-grey);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* Responsive */
@media (max-width: 1200px) {

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  .split-top,
  .why-row,
  .why-row-rev {
    grid-template-columns: 1fr;
  }

  .slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-content {
    padding: 3rem 5%;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-phone,
  .cursor,
  .cursor-ring {
    display: none;
  }

  body,
  a,
  button {
    cursor: auto !important;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.65rem;
  }

  .stats,
  .testimonials {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-content {
    text-align: left;
    align-items: flex-start;
  }

  .hero-desc {
    margin-left: 0;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .split-top,
  .why-content,
  .cta-section,
  .showroom-content,
  .panel-types .split-top {
    text-align: left;
  }

  .cta-content {
    align-items: flex-start;
  }

  .hero-bottom {
    left: 0;
    right: 0;
    justify-content: center;
    bottom: 2rem;
  }

  .scroll-indicator span {
    display: none;
  }

  .card-overlay {
    padding: 1rem;
    justify-content: flex-end;
  }
  
  .card-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .card-overlay p {
    display: none;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .quote-mark {
    font-size: 6rem;
  }

  .quote-text {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

/* Floating Calculator */
.floating-calc {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9995;
  font-family: var(--font-sans);
}

.calc-toggle-btn {
  background: var(--solar-gold);
  color: var(--text-dark);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.calc-toggle-btn:hover {
  transform: scale(1.1);
  background: var(--solar-glow);
}

.calc-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: var(--bg-light);
  color: var(--text-dark);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.1);
}

.calc-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.5rem;
}

.calc-header h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0;
}

#calcClose {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--mid-grey);
  transition: color 0.3s ease;
  cursor: pointer;
}

#calcClose:hover {
  color: var(--text-dark);
}

.calc-body label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid-grey);
  display: block;
  margin-bottom: 0.5rem;
}

.calc-body input {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.8rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s ease;
}

.calc-body input:focus {
  border-color: var(--solar-gold);
}

.calc-result {
  margin-top: 1rem;
  background: #fdfbf7;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  border: 1px solid #eee;
}

.calc-result p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid-grey);
  margin-bottom: 0.2rem;
}

.calc-result h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--green-accent);
  margin: 0;
}

@media (max-width: 768px) {
  .floating-calc {
    bottom: 20px;
    right: 20px;
  }
}