/* ===== CSS Reset & Base ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Valentiamo-Regular';
  src: url('fonts/Valentiamo-Regular.woff2') format('woff2'),
    url('fonts/Valentiamo-Regular.woff') format('woff'),
    url('fonts/Valentiamo-Regular.ttf') format('truetype'),
    url('fonts/Valentiamo-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* Color Palette */
  --color-amber: #E8A832;
  --color-amber-light: #F5C563;
  --color-amber-pale: #FDF5E6;
  --color-amber-bg: #FFF9EE;
  --color-dark: #1A1A1A;
  --color-dark-soft: #333333;
  --color-gray: #666666;
  --color-gray-light: #999999;
  --color-white: #FFFFFF;
  --color-cream: #FFFBF5;
  --color-cream-warm: #FFF8F0;

  /* Typography */
  --font-serif: 'Valentiamo-Regular', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-max: 1320px;
  --container-padding: 40px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s ease;
  --transition-slow: 0.5s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
  list-style: none;
}

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

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

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition-medium), box-shadow var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(255, 251, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-cream-warm);
  border: 2px solid var(--color-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--color-amber);
  border-radius: 2px;
  position: absolute;
}

.logo-icon::after {
  content: '';
  width: 12px;
  height: 4px;
  background: var(--color-amber);
  border-radius: 2px;
  position: absolute;
  bottom: 10px;
}

.logo-text {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  background: transparent;
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 8px;
  padding: 13px 8px;
}

.nav-links a {
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-amber);
}

.nav-links a.active {
  color: var(--color-amber);
  font-weight: 600;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.btn-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-arrow--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-arrow--dark:hover {
  background: var(--color-dark-soft);
  transform: scale(1.05);
}

.btn-arrow--amber {
  width: 54px;
  height: 54px;
  background: #FFC13C;
  color: var(--color-dark);
}

.btn-arrow--amber:hover {
  background: #ffce63;
  transform: translateY(-2px);
}

.btn-arrow--amber-outline {
  background: transparent;
  border: 2px solid var(--color-amber);
  color: var(--color-amber);
}

.btn-arrow--amber-outline:hover {
  background: var(--color-amber);
  color: var(--color-white);
  transform: scale(1.05);
}

.btn-arrow svg {
  width: 18px;
  height: 18px;
}

.btn-get-started {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 50px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-get-started:hover {
  background: var(--color-dark-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-get-started .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn-get-started:hover .btn-icon {
  transform: translate(2px, -2px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--color-cream);
}

/* Left top ambient glow - small, concentrated in the corner */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 168, 50, 0.30) 0%, rgba(232, 168, 50, 0.08) 40%, rgba(232, 168, 50, 0) 65%);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: 1;
}

/* Right top ambient glow - bigger but very subtle, hugging the edge */
.hero::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -250px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 50, 0.12) 0%, rgba(232, 168, 50, 0.03) 40%, rgba(232, 168, 50, 0) 60%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* Background house drawing — left side, very faint */
.hero-bg-drawing {
  position: absolute;
  left: -40px;
  bottom: 0;
  width: 52%;
  height: 85%;
  opacity: 0.25;
  background-image: url('images/house-drawing.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  pointer-events: none;
  z-index: 1;
}

/* ===== Hero image — pinned to absolute bottom-right of .hero ===== */
.hero-image-arch {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 0;
  width: 900px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  animation: archReveal 1s ease 0.2s both;
}

@keyframes archReveal {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-arch img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none;
}


/* Drone — positioned directly on .hero, overlapping left edge of circle */
@keyframes floatCard {

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

  50% {
    transform: translateY(-12px);
  }
}

.hero-drone {
  position: absolute;
  bottom: 120px;
  right: 730px;
  width: 340px;
  z-index: 6;
  animation: droneEntrance 4s linear forwards;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.22));
}

.hero-drone img {
  width: 100%;
  height: auto;
  display: block;
  animation: floatCard 4s ease-in-out 4s infinite;
}


/* ===== LEFT CONTENT — overlays on top of the arch ===== */
.hero .container {
  position: relative;
  height: 100%;
  z-index: 10;
  /* above the arch image */
  display: flex;
  align-items: center;
  pointer-events: none;
  /* let clicks pass to nav arrows etc */
}

.hero-content {
  position: relative;
  pointer-events: all;
  padding-top: 40px;
  /* NO max-width cap — let title bleed right into the image */
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-amber-pale);
  border: 1px solid rgba(232, 168, 50, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-check {
  width: 14px;
  height: 14px;
  color: var(--color-amber);
  display: inline-block;
  flex-shrink: 0;
}

.hero-badge-check polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: drawCheck 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-badge span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-amber);
  letter-spacing: 0.02em;
}

/* Big title — spans left cream area AND bleeds over the image */
.hero-title {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: clamp(3.4rem, 6.2vw, 5.6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-dark);
  margin-bottom: 44px;
  animation: fadeInUp 0.9s ease 0.25s forwards;
  opacity: 0;
  text-shadow: 2px 2px 0px #FFFBF5;
}

.hero-title em {
  font-style: italic;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.9s ease 0.45s forwards;
  opacity: 0;
}

.btn-discover {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFC13C;
  color: var(--color-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.btn-discover:hover {
  background: #ffce63;
  transform: translateY(-2px);
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes droneEntrance {
  0% {
    opacity: 0;
    transform: translate(550px, -500px) rotate(0deg);
  }

  10% {
    opacity: 1;
    transform: translate(522px, -499px) rotate(-3deg);
  }

  20% {
    transform: translate(451px, -495px) rotate(-7deg);
  }

  30% {
    transform: translate(355px, -477px) rotate(-10deg);
  }

  40% {
    transform: translate(254px, -438px) rotate(-12deg);
  }

  50% {
    transform: translate(163px, -375px) rotate(-10deg);
  }

  60% {
    transform: translate(91px, -290px) rotate(-7deg);
  }

  70% {
    transform: translate(43px, -193px) rotate(-4deg);
  }

  80% {
    transform: translate(15px, -99px) rotate(-2deg);
  }

  90% {
    transform: translate(3px, -28px) rotate(0deg);
  }

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


/* ===== Scroll Reveal System ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}


/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ===== About Section ===== */
.about {
  position: relative;
  background: var(--color-cream);
  padding: 120px 0 0 0;
  overflow: hidden;
  z-index: 5;
}

.about-header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.about-badge {
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  border-radius: 50px;
  padding: 8px 22px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  letter-spacing: 0.02em;
}

.about-crane-pill {
  width: 130px;
  height: 52px;
  border-radius: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.about-crane-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-heading {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 60px;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 2;
}

.about-heading .highlight-pill {
  color: var(--color-dark);
  padding: 2px 24px;
  border-radius: 16px;
  display: inline-block;
  font-weight: 500;
  transform: translateY(-2px);
  background: linear-gradient(90deg, #FFC13C 100%, transparent 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  transition: background-size 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-heading .highlight-pill.revealed {
  background-size: 100% 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 90px;
}

.experience-card {
  background: var(--color-white);
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.02);
}

.about-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.about-logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.about-logo-text {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-dark);
}

.about-desc-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-gray);
  max-width: 540px;
}

.about-actions {
  display: flex;
  align-items: center;
}

.btn-contact-group {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  border-radius: 100px;
  padding: 6px 6px 6px 28px;
  transition: all var(--transition-fast);
  background: transparent;
  width: fit-content;
}

.btn-contact-group:hover {
  border-color: var(--color-dark);
  background: rgba(26, 26, 26, 0.02);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn-contact-text {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
}

.btn-contact-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.btn-contact-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-contact-group:hover .btn-contact-arrow {
  background: var(--color-dark-soft);
}

.btn-contact-group:hover .btn-contact-arrow svg {
  transform: translate(2px, -2px);
}

.about-bg-drawing {
  position: absolute;
  right: -60px;
  bottom: 80px;
  width: 45%;
  height: 70%;
  opacity: 0.07;
  background-image: url('images/house-drawing.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  pointer-events: none;
  z-index: 0;
}

.ticker-banner {
  width: 100%;
  background: #FFC13C;
  padding: 16px 0;
  margin: 35px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(26, 26, 26, 0.05);
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
  gap: 80px;
  padding-right: 80px;
}

.ticker-item {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--color-dark);
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-33.3333%, 0, 0);
  }
}

/* ===== Services Section ===== */
.services {
  padding: 100px 0 160px;
  background: var(--color-white);
  position: relative;
}

.services-video-wrapper {
  width: 100%;
  height: 480px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  margin-bottom: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.services-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: #FFC13C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: transform var(--transition-fast), background var(--transition-fast), opacity var(--transition-medium), visibility var(--transition-medium);
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-play-video:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: var(--color-amber-light);
}

.btn-play-video svg {
  width: 32px;
  height: 32px;
  margin-left: 5px;
}

.services-video-wrapper.playing .btn-play-video {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.services-header-centered {
  text-align: center;
  margin-bottom: 60px;
}

.services-heading {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-dark);
  letter-spacing: -0.015em;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.offer-box {
  background: #F8F8F8;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.offer-box:hover {
  background: var(--color-white);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
}

.offer-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.offer-icon svg {
  width: 100%;
  height: 100%;
}

.offer-title {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.offer-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  opacity: 0.75;
}

/* ===== Our Portfolio Section ===== */
.portfolio {
  padding: 120px 0;
  background: #1e1e1e;
  position: relative;
}

.portfolio-main-title {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: -0.01em;
}

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin: 0 auto;
}

.portfolio-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 90%;
  /* HEIGHT: adjust this to make rows taller/shorter */
  height: 380px;
}

/* Alternate Alignment: Left, Right, Left, Right */
.portfolio-row:nth-child(odd) {
  margin-right: auto;
}

.portfolio-row:nth-child(even) {
  margin-left: auto;
}

/* Alternate the flex direction for every even row */
.portfolio-row:nth-child(even) {
  flex-direction: row-reverse;
}

.portfolio-img-wrapper {
  /* WIDTH RATIO: increase this number to make the photo wider */
  flex: 6;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-text-card {
  /* WIDTH RATIO: decrease this number to make the photo wider */
  flex: 3;
  background: var(--color-white);
  border-radius: 7px;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.portfolio-badge {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-amber);
  margin-bottom: 8px;
  display: inline-block;
  line-height: 1;
}

.portfolio-title {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.portfolio-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

.portfolio-btn {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark);
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.portfolio-btn svg {
  width: 14px;
  height: 14px;
}

.portfolio-btn:hover {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

/* ===== Timelapse / Try Yourself Section ===== */
.timelapse {
  padding: 100px 0 120px;
  background: var(--color-cream);
}

.timelapse-viewer {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 50px;
}

.timelapse-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
  background: #e8e4df;
}

.timelapse-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.timelapse-img.active {
  opacity: 1;
}

/* --- Controls --- */
.timelapse-controls {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
  padding-top: 40px;
}

.timelapse-date-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  background: #FFC13C;
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  transition: left 0.25s ease;
  z-index: 3;
}

.timelapse-date-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #FFC13C;
}

/* Dots row – sits ABOVE the track */
.timelapse-dots {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.timelapse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D5D5D5;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
}

.timelapse-dot.active {
  background: #FFC13C;
  transform: scale(1.5);
}

.timelapse-dot.passed {
  background: #FFC13C;
}

.timelapse-dot:hover {
  transform: scale(1.6);
}

/* Track – the thick slider bar */
.timelapse-track {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}

/* Gray base rail */
.timelapse-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 5px;
  background: #D5D5D5;
  border-radius: 3px;
  transform: translateY(-50%);
  z-index: 0;
}

/* Gold fill rail */
.timelapse-track-fill {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 5px;
  background: #FFC13C;
  border-radius: 3px;
  transform: translateY(-50%);
  transition: width 0.25s ease;
  z-index: 1;
}

/* Visible circle handle */
.timelapse-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid #FFC13C;
  transform: translate(-50%, -50%);
  transition: left 0.25s ease;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Hidden range slider on top for drag interaction */
.timelapse-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 4;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.timelapse-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 44px;
  cursor: grab;
}

.timelapse-slider::-moz-range-thumb {
  width: 30px;
  height: 44px;
  cursor: grab;
  border: none;
  background: transparent;
}

.timelapse-description {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-gray);
  text-align: center;
  max-width: 660px;
  margin: 25px auto 0;
  padding: 0 15px;
}

.timelapse-video-section {
  margin-top: 80px;
  width: 100%;
}

.timelapse-subheading {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: -0.015em;
  text-align: center;
  margin-bottom: 40px;
}

.timelapse-video-viewer {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
  background: #e8e4df;
}

.timelapse-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero-visual {
    width: 62%;
  }

  .hero-title {
    font-size: clamp(3rem, 5.5vw, 5rem);
  }

  .about-grid {
    gap: 40px;
  }

  .about-heading {
    font-size: 3.4rem;
  }

  .services-video-wrapper {
    height: 400px;
  }

  .offer-grid {
    gap: 20px;
  }

  .offer-box {
    padding: 30px 20px;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    background: var(--color-white);
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 12px;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 999;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    color: var(--color-dark);
    font-size: 1rem;
    padding: 10px 15px;
    width: 100%;
    border-radius: 6px;
    text-align: center;
  }

  .nav-links a.active {
    background: var(--color-cream-warm);
    color: var(--color-dark);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero .container {
    flex-direction: column;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 420px;
    pointer-events: all;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-arch {
    width: 580px;
    bottom: 0;
    right: -40px;
  }

  .hero-drone {
    width: 250px;
    right: 230px;
    bottom: 360px;
  }

  .hero-bg-drawing {
    width: 95%;
    height: 75%;
    right: 120px;
    bottom: 250px;
    left: auto;
    top: auto;
    opacity: 0.3;
    background-position: right bottom;
  }

  .about {
    padding: 80px 0 0 0;
  }

  .about-header-row {
    justify-content: center;
    margin-bottom: 28px;
  }

  .about-heading {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
  }

  .experience-card {
    margin: 0 auto;
  }

  .about-desc-col {
    align-items: center;
    text-align: center;
  }

  .about-text {
    max-width: 600px;
  }

  .about-bg-drawing {
    display: none;
  }

  .services-video-wrapper {
    height: 360px;
    margin-bottom: 60px;
    border-radius: 30px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .portfolio-row {
    width: 100%;
  }

  /* Reset the alternating margins for mobile */
  .portfolio-row:nth-child(odd),
  .portfolio-row:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .portfolio-grid {
    gap: 40px;
  }

  .portfolio-row,
  .portfolio-row:nth-child(even) {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .portfolio-img-wrapper {
    height: 350px;
    min-height: 350px;
  }

  .portfolio-text-card {
    padding: 40px 30px;
    flex: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }

  .navbar {
    padding: 16px 0;
  }

  .btn-get-started {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .btn-get-started span {
    display: none;
  }

  .btn-get-started .btn-icon {
    width: 18px;
    height: 18px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero .container {
    padding-bottom: 370px;
  }

  .hero-image-arch {
    width: 500px;
    bottom: 0;
    right: -50px;
  }

  .hero-drone {
    width: 210px;
    right: 180px;
    bottom: 310px;
  }

  .about-heading {
    font-size: 2.2rem;
  }

  .ticker-banner {
    padding: 13px 0;
    margin: 25px 0;
  }

  .ticker-item {
    font-size: 1.9rem;
  }

  .services-video-wrapper {
    height: 280px;
    margin-bottom: 40px;
    border-radius: 20px;
  }

  .services-header-centered {
    margin-bottom: 40px;
  }

  .services-heading {
    font-size: 2.4rem;
  }

  .offer-box {
    padding: 30px;
    min-height: 340px;
    justify-content: center;
  }

  .offer-title {
    font-size: 1.6rem;
  }

  .portfolio {
    padding: 80px 0;
  }

  .portfolio-main-title {
    font-size: 2.8rem;
    margin-bottom: 50px;
  }

  .portfolio-img-wrapper {
    height: 300px;
    min-height: 300px;
  }

  .portfolio-title {
    font-size: 1.8rem;
  }

  .timelapse {
    padding: 80px 0 100px;
  }

  .timelapse-viewer {
    max-width: 100%;
  }

  .timelapse-frame {
    border-radius: 16px;
  }

  .timelapse-controls {
    max-width: 100%;
    padding-top: 36px;
  }

  .timelapse-date-tooltip {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .timelapse-video-viewer {
    max-width: 100%;
    border-radius: 16px;
  }

  .timelapse-video-section {
    margin-top: 60px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero .container {
    padding-top: 130px;
    padding-bottom: 320px;
  }

  .hero-image-arch {
    width: 380px;
    bottom: 0;
    right: -30px;
  }

  .hero-drone {
    width: 160px;
    right: 180px;
    bottom: 250px;
  }

  .about-heading {
    font-size: 1.8rem;
  }

  .about-heading .highlight-pill {
    padding: 2px 16px;
  }

  .experience-card {
    padding: 15px;
    max-width: 220px;
  }

  .about-logo-img {
    width: 100px;
    height: 100px;
  }

  .about-logo-text {
    font-size: 1.6rem;
  }

  .ticker-banner {
    padding: 9px 0;
    margin: 20px 0;
  }

  .ticker-item {
    font-size: 1.6rem;
  }

  .btn-contact-group {
    padding: 4px 4px 4px 20px;
  }

  .btn-contact-text {
    font-size: 0.875rem;
  }

  .btn-contact-arrow {
    width: 38px;
    height: 38px;
  }

  .services {
    padding: 60px 0 100px;
  }

  .services-video-wrapper {
    height: 200px;
    border-radius: 16px;
  }

  .services-heading {
    font-size: 2rem;
  }

  .offer-box {
    padding: 24px;
    min-height: auto;
  }

  .offer-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .portfolio {
    padding: 60px 0;
  }

  .portfolio-main-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .portfolio-img-wrapper {
    height: 240px;
    min-height: 240px;
  }

  .portfolio-text-card {
    padding: 30px 20px;
    flex: auto;
    width: 100%;
  }

  .timelapse {
    padding: 60px 0 80px;
  }

  .timelapse-frame {
    border-radius: 12px;
  }

  .timelapse-controls {
    padding-top: 30px;
  }

  .timelapse-dot {
    width: 8px;
    height: 8px;
  }

  .timelapse-date-tooltip {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .timelapse-video-viewer {
    border-radius: 12px;
  }

  .timelapse-video-section {
    margin-top: 40px;
  }
}

/* ===== Footer ===== */
.footer {
  background: #232120;
  color: var(--color-white);
  overflow: hidden;
}

/* --- Marquee --- */
.footer-marquee-wrap {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 44px;
}

.footer-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: footer-marquee 28s linear infinite;
  will-change: transform;
}

.footer-marquee-text {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  padding-right: 2px;
}

@keyframes footer-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- Main Grid --- */
.footer-main {
  padding: 72px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

/* --- Brand Column --- */
.footer-col--brand {
  padding-right: 24px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-text {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

/* Light version of logo icon for dark backgrounds */
.logo-icon--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.logo-icon--light::before {
  background: var(--color-amber);
}

.logo-icon--light::after {
  background: var(--color-amber);
}

.footer-about {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 28px;
  max-width: 240px;
}

.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-social-link:hover {
  color: var(--color-white);
}

/* --- Column Titles --- */
.footer-col-title {
  font-family: var(--font-serif);
  -webkit-text-stroke: 0.4px currentColor;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

/* --- Link Lists --- */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links li a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--color-white);
}

/* --- Contact List --- */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* --- Newsletter --- */
.footer-newsletter-field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 10px;
  gap: 10px;
}

.footer-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-white);
  padding: 4px 0;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  padding: 0;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.footer-newsletter-btn svg {
  width: 18px;
  height: 18px;
}

.footer-newsletter-btn:hover {
  color: var(--color-amber);
}

/* --- Bottom Bar --- */
.footer-bottom {
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.30);
  white-space: nowrap;
}

.footer-bottom-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-bottom-nav a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.40);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color var(--transition-fast);
}

.footer-bottom-nav a:hover {
  color: var(--color-white);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-white);
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
}

/* --- Footer Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .footer-col--brand .footer-about {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .footer-marquee-wrap {
    padding: 36px 0 32px;
  }

  .footer-main {
    padding: 52px 0 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom-nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-marquee-text {
    font-size: 2.2rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal-divider {
    display: none;
  }
}