/* Custom Fonts */
@font-face {
  font-family: 'Supreme LL';
  src: url('../fonts/SUPREMELL-LIGHT.OTF') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Supreme LL';
  src: url('../fonts/SupremeLL-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Supreme LL';
  src: url('../fonts/SUPREMELL-MEDIUM.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/sf-pro-display-thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYTHINITALIC.OTF') format('opentype');
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYULTRALIGHTITALIC.OTF') format('opentype');
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYLIGHTITALIC.OTF') format('opentype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYSEMIBOLDITALIC.OTF') format('opentype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYHEAVYITALIC.OTF') format('opentype');
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SFPRODISPLAYBLACKITALIC.OTF') format('opentype');
  font-weight: 900;
  font-style: italic;
}

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

/* =====================================================
   GLOBAL DESIGN SYSTEM - CSS Variables & Base Styles
   ===================================================== */

:root {
  /* Colors */
  --color-primary: #3E2321;
  --color-primary-light: #7D5B56;
  --color-accent: #A56A63;
  --color-accent-light: #D7A6AC;
  --color-white: #ffffff;
  --color-bg-light: #f4f4f4;
  --color-bg-muted: rgba(60, 59, 60, 0.06);

  /* Typography - Font Families */
  --font-primary: 'Supreme LL', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Typography - Font Sizes (Desktop) */
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 35px;
  --text-4xl: 40px;
  --text-5xl: 48px;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* =====================================================
   GLOBAL TYPOGRAPHY
   ===================================================== */

/* Headlines */
.headline-xl,
h1 {
  font-family: var(--font-primary);
  font-size: var(--text-5xl);
  font-weight: 300;
  line-height: var(--leading-tight);
  color: var(--color-primary);
}

.headline-lg,
h2 {
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: var(--leading-normal);
  color: var(--color-primary);
}

.headline-md,
h3 {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: var(--leading-normal);
  color: var(--color-primary);
}

.headline-sm,
h4 {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: var(--leading-normal);
  color: var(--color-primary);
}

/* Paragraphs */
.text-body,
p {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-primary);
}

.text-body-lg {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: var(--leading-relaxed);
}

.text-body-sm {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: var(--leading-relaxed);
}

/* Secondary font body text */
.text-secondary {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-relaxed);
}

/* =====================================================
   GLOBAL BUTTON SYSTEM
   ===================================================== */

/* Base button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn svg {
  transition: transform var(--transition-base);
}

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

/* Primary button - White bg, dark text with accent arrow */
.btn-primary {
  background: var(--color-white);
  color: #3E2321;
}

.btn-primary:hover {
  background: var(--color-white);
  color: #3E2321;
}

.btn-primary svg {
  color: #A56A63;
}

/* Secondary button - Light bg, dark text */
.btn-secondary {
  background: var(--color-bg-muted);
  color: var(--color-primary-light);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Outline button - White bg with border */
.btn-outline {
  background: var(--color-white);
  color: var(--color-primary-light);
  border: 1.5px solid var(--color-primary-light);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Button sizes */
.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--text-md);
}

/* Download button - arrow points down */
.btn:hover svg.icon-download {
  transform: translateY(2px);
}

/* Responsive Typography */
@media (max-width: 1024px) {
  :root {
    --text-3xl: 28px;
    --text-4xl: 32px;
    --text-5xl: 38px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-2xl: 22px;
    --text-3xl: 24px;
    --text-4xl: 28px;
    --text-5xl: 28px;
  }

  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--text-xs);
  }

  /* Global text overflow prevention for mobile */
  h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  /* Prevent horizontal scroll */
  section, .container, [class*="-container"], [class*="-wrapper"] {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  :root {
    --text-xl: 18px;
    --text-2xl: 20px;
    --text-3xl: 20px;
    --text-4xl: 24px;
    --text-5xl: 24px;
  }

  /* Extra small screen text fixes */
  h1, h2, h3, h4 {
    word-break: break-word;
  }

  /* Remove forced line breaks on small screens */
  br.desktop-only {
    display: none;
  }
}

/* =====================================================
   END GLOBAL DESIGN SYSTEM
   ===================================================== */

body {
  font-family: var(--font-primary);
  color: white;
  overflow-x: hidden;
}

/* LOGO (top layer) */
#logo {
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10010;
  pointer-events: auto;
  text-decoration: none;
  display: block;
}

#logoImg {
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1); /* Make SVG white */
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10009;
  background: transparent;
  padding: 0.8rem 3rem;
  transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.3);
}

.nav-inner {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 14px;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.nav-separator {
  color: white;
  opacity: 0.5;
  margin: 0 0.5rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

/* HAMBURGER MENU (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(62, 35, 33, 0.97);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 2rem;
  padding: 4rem 2rem;
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  font-family: 'Supreme LL', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.mobile-nav-link:hover {
  opacity: 0.7;
}

.mobile-menu-divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 1rem 0;
}

/* HERO */
.hero-spacer {
  height: 250vh;
  width: 100%;
  position: relative;
}

.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

/* Hero sticky state - locks hero at bottom of viewport */
.hero-spacer.hero-locked .hero {
  position: fixed;
  top: 0;
  left: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  will-change: background-position;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100vh;
  background-image: url('../images/hero-overlay.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 5;
  will-change: transform;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.hero-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  pointer-events: none;
  margin-top: 10vh;
}

/* Hero logo - "16" displayed above title on mobile */
.hero-logo {
  display: none; /* Hidden on desktop - shown on mobile */
  margin-bottom: 1rem;
}

.hero-logo-img {
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1); /* Make SVG white */
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 5rem;
}

.title-text {
  width: 400px;
  height: auto;
  will-change: opacity;
  margin-top: 1rem;
  filter: brightness(0) invert(1); /* Make SVG white */
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-details {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.8;
  color: white !important;
}

.hero-details p {
  margin: 0.25rem 0;
  color: white !important;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
  transition: opacity 0.3s ease;
}

.scroll-icon {
  width: 50px;
  height: 50px;
  opacity: 0.9;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Specification Tiles */

.specs-container {
  position: absolute;
  bottom: 15vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 4rem 3rem;
  z-index: 15;
  pointer-events: none;
}

/* Scroll trigger - invisible element to detect animation start */
.scroll-trigger {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

.spec-tile {
  background: rgba(208, 204, 204, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 251, 251, 0.15);
  border-radius: 16px;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: all;
  will-change: transform, opacity;
  min-height: 280px;
  position: relative;
}

.spec-number {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  font-style: normal;
  text-align: left;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.spec-title {
  font-size: 1.75rem;
  font-weight: 300;
  color: white;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
  text-align: center;
}

.spec-description {
  font-size: 0.95rem;
  font-weight: 300;
  color: white;
  text-align: center;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
  opacity: 0.9;
}

.spec-button {
  background: #795653;
  color: white;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
}

.spec-button:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.spec-button svg {
  width: 20px;
  height: 20px;
}

.spec-button svg circle {
  display: none;
}

.spec-button svg path {
  stroke: white;
  stroke-width: 2;
}

/* Responsive Tiles */
@media (max-width: 1024px) {
  .specs-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 2rem;
  }

  .spec-tile {
    min-height: 240px;
    padding: 2rem 2rem 1.75rem 2rem;
  }

  .spec-number {
    font-size: 2.25rem;
  }

  .spec-button {
    width: 44px;
    height: 44px;
    bottom: -22px;
  }
}

@media (max-width: 768px) {
  /* ========================================
     MOBILE HERO - SIMPLE STATIC LAYOUT
     No animations, everything in normal flow
     ======================================== */

  /* Logo - fixed in navbar position on mobile */
  #logo {
    position: fixed !important;
    top: 0.8rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  #logo #logoImg {
    width: 30px !important;
  }

  /* Hero spacer - contains hero and tiles */
  .hero-spacer {
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  /* Fixed background layer - works better on iOS than background-attachment: fixed */
  .hero-spacer::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
  }

  /* Hero - relative position, single viewport */
  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
  }

  /* Hide the overlay on mobile */
  .hero-overlay {
    display: none !important;
  }

  /* Hide hero-bg on mobile - using fixed pseudo-element background instead */
  .hero-bg {
    display: none !important;
  }

  /* Hero content - positioned higher (35% from top), always visible */
  .hero-content {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    width: 90%;
    max-width: 400px;
    opacity: 1 !important;
  }

  /* Show hero logo "16" on mobile */
  .hero-logo {
    display: block;
    margin-bottom: 1.5rem;
  }

  .hero-logo-img {
    width: 50px;
  }

  .hero-title {
    margin-bottom: 1.5rem;
  }

  .title-text {
    width: 240px !important;
    opacity: 1 !important;
  }

  .hero-details {
    font-size: 0.9rem;
    opacity: 1 !important;
  }

  .hero-details p {
    margin: 0.4rem 0;
  }

  /* Hide scroll indicator on mobile */
  .scroll-indicator {
    display: none !important;
  }

  /* Hide scroll trigger on mobile */
  .scroll-trigger {
    display: none;
  }

  /* Spec tiles - in normal document flow, below hero, with semi-transparent overlay for readability */
  .specs-container {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }

  /* Tiles - static, always visible */
  .spec-tile {
    min-height: auto;
    padding: 1.25rem;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .spec-number {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .spec-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .spec-description {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .spec-button {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 0.75rem;
    width: 36px;
    height: 36px;
  }

  .spec-button:hover {
    transform: none;
  }

  .spec-button svg {
    width: 16px;
    height: 16px;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
  .hero {
    min-height: 450px;
  }

  .hero-content {
    width: 85%;
  }

  .title-text {
    width: 200px !important;
  }

  .hero-details {
    font-size: 0.8rem;
  }

  .specs-container {
    padding: 1rem;
    gap: 0.75rem;
  }

  .spec-tile {
    padding: 1rem;
  }

  .spec-number {
    font-size: 1.25rem;
  }

  .spec-title {
    font-size: 1rem;
  }

  .spec-description {
    font-size: 0.8rem;
  }

  .spec-button {
    width: 32px;
    height: 32px;
    margin-top: 0.5rem;
  }
}

/* NEW TEXT SECTION */
.text-section {
  position: relative;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 3rem;
  z-index: 2;
}

.text-section-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.text-section-headline {
  color: var(--color-primary);
  text-align: center;
  font-family: "Supreme LL", sans-serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0;
  margin: 0;
  padding-bottom: 50px;
}

/* Word wrapper to prevent mid-word line breaks */
.word {
  display: inline;
  white-space: nowrap;
}

/* Character animation styles for text section headline */
.text-section-headline .char {
  transition: opacity 0.3s ease;
  display: inline-block;
  color: #3E2321;
}

/* Responsive */
@media (max-width: 1024px) {
  .text-section-headline {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .text-section {
    padding: 4rem 2rem;
  }

  .text-section-headline {
    font-size: 24px;
  }
}

/* EXPANDABLE SECTION */
.expandable-section {
  position: relative;
  height: 350vh; /* controls duration of the animation - taller = slower, smoother */
  background: #f4f4f4;
  z-index: 2;
}

.expandable-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.expandable-headline {
  position: absolute;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-primary);
  font-style: normal;
  line-height: var(--leading-normal);
  margin: 0;
  text-align: center;
  max-width: 1200px;
  padding: 30px 3rem;
  z-index: 10;
  opacity: 1;
}

/* Character animation styles for expandable headline */
.expandable-headline .char {
  transition: opacity 0.3s ease;
  display: inline-block;
  color: #3E2321;
}

/* Content panel - always visible, behind the image */
.expandable-panel {
  position: absolute;
  max-width: 1600px;
  margin-top: 60px;
  width: calc(100% - 8vw);
  height: calc(90vh - 30vh);
  background: #E8DDD9;
  border-radius: 24px;
  z-index: 0;
}

/* New design for expandable panel */
.expandable-panel-new {
  background: transparent;
}

.expandable-container {
  position: relative;
  max-width: 1600px;
  width: calc(100% - 8vw);
  height: calc(100vh - 28vh);
}

.expandable-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.expandable-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.expandable-title {
  font-family: "Supreme LL", sans-serif;
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  line-height: 130%;
  letter-spacing: 0;
  color: #7D5B56;
  margin: 0;
}

/* Character animation styles for expandable title */
.expandable-title .char {
  transition: opacity 0.3s ease;
  display: inline-block;
  color: #7D5B56;
}

.expandable-description {
  font-size: 1rem;
  font-weight: 300;
  color: #7D5B56;
  line-height: 1.6;
  margin: 0;
}

.expandable-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: #3E2321;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  align-self: flex-start;
  box-shadow: var(--shadow-md);
}

.expandable-button:hover {
  background: var(--color-white);
  color: #3E2321;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.expandable-button svg {
  transition: transform var(--transition-base);
  color: #A56A63;
}

.expandable-button:hover svg {
  transform: translateX(4px);
}

.expandable-image {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  will-change: width, height, top, left, border-radius;
  background-color: #000;
  z-index: 99;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .expandable-headline {
    font-size: 28px;
    top: 8vh;
  }

  .expandable-panel,
  .expandable-container {
    width: calc(100% - 4vw);
  }

  .expandable-content {
    width: 60%;
    padding: 2rem;
  }

  .expandable-image {
    width: 40vw;
    height: 60vh;
  }
}

@media (max-width: 768px) {
  /* Mobile: No scroll animation, simple stacked layout */
  .expandable-section {
    height: auto; /* Remove extra scroll height */
    padding: 2rem 0;
    overflow: hidden;
  }

  .expandable-sticky {
    position: relative; /* Not sticky on mobile */
    height: auto;
    flex-direction: column;
    padding: 0 1rem;
    gap: 1.5rem;
  }

  .expandable-headline {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    font-size: 22px;
    padding: 0 0.5rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Remove line breaks on mobile */
  .expandable-headline br {
    display: none;
  }

  .expandable-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .expandable-content {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1.5rem;
    background: rgba(232, 221, 217, 0.95);
    border-radius: 16px;
    order: 2; /* Content below video */
  }

  .expandable-panel {
    display: none;
  }

  /* Video fixed size on mobile, stacked above content */
  .expandable-image {
    position: relative !important;
    width: 100% !important;
    height: 45vh !important;
    min-height: 250px;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    border-radius: 16px !important;
    order: 1; /* Video above content */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }

  .expandable-title {
    font-size: 1.35rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Remove line breaks in title on mobile */
  .expandable-title br {
    display: none;
  }

  .expandable-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .expandable-text-content {
    gap: 1rem;
  }

  .expandable-button {
    width: 100%;
    justify-content: center;
  }
}

/* FULL SCREEN IMAGE SECTION */
.fullscreen-image-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 2;
}

.fullscreen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .fullscreen-image-section {
    height: 60vh;
  }
}

/* GLOW SECTION */
.glow-section {
  min-height: 100vh;
  background: white;
  background-image: linear-gradient(0deg, rgba(219, 169, 172, 0.47) 0%, rgba(225, 225, 225, 0.50) 49.52%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.glow-container {
  max-width: 1000px;
  color: #D7A6AC;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.glow-text {
  font-family: "Supreme LL", sans-serif;
  font-size: 35px;
  font-weight: 400;
  font-style: normal;
  line-height: 130%;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 2rem;
  color: #D7A6AC;
  will-change: transform, font-size;
}

/* Character animation styles for glow text */
.glow-text .char {
  transition: opacity 0.3s ease;
  display: inline-block;
  color: #D7A6AC;
}

@media (max-width: 768px) {
  .glow-section {
    min-height: 80vh;
    padding: 3rem 1.5rem;
  }

  .glow-container {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .glow-text {
    font-size: 1.75rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .glow-text br {
    display: none;
  }
}

@media (max-width: 480px) {
  .glow-text {
    font-size: 1.5rem;
  }
}

/* CONTENT */
main {
  min-height: 100vh;
  background: linear-gradient(to bottom, #DBA9AC 0%, #E9E4DB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 2;
}

.content-container {
  max-width: 900px;
  color: #D7A6AC;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.content-container h2 {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: #D7A6AC;
}

/* Character animation styles */
.content-container h2 .char {
  transition: opacity 0.3s ease;
  display: inline-block;
  color: #D7A6AC; /* Final color - lighter */
}

.content-container p {
  font-size: 2.2rem;
  line-height: 1.15;
  color: #D7A6AC;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.content-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: #3E2321;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  margin: 0 auto;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.content-button:hover {
  background: var(--color-white);
  color: #3E2321;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.content-button svg {
  transition: transform 0.3s ease;
  color: #A56A63;
}

.content-button:hover svg {
  transform: translateX(4px);
}

/* GALLERY SECTION - Scroll-locked horizontal scroll with fisheye effect */
.gallery-spacer {
  height: 300vh; /* Controls scroll duration */
  width: 100%;
  position: relative;
}

.gallery-section {
  background: #613c39;
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6rem 0 4rem 0;
}

.gallery-track {
  display: flex;
  align-items: flex-start; /* Align to top */
  gap: 0.35rem;
  padding: 2rem 0;
  will-change: transform;
  flex-shrink: 0;
  flex: 1;
  /* Start with images off-screen to the right */
  transform: translateX(100vw);
}

.gallery-item {
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease-out;
  transform-origin: top center;
  /* Heights will be set by JS for irregular sizing */
}

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

.gallery-cta {
  display: flex;
  justify-content: flex-start;
  padding: 2rem 4rem;
  position: absolute;
  bottom: 2rem;
  left: 0;
}

.gallery-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: #3E2321;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.gallery-button:hover {
  background: var(--color-white);
  color: #3E2321;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.gallery-button svg {
  transition: transform 0.3s ease;
  color: #A56A63;
}

.gallery-button:hover svg {
  transform: translateX(4px);
}

/* Responsive - Gallery */
@media (max-width: 1024px) {
  .gallery-spacer {
    height: 250vh;
  }

  .gallery-section {
    padding: 4rem 0 3rem 0;
  }

  .gallery-cta {
    padding: 1.5rem 3rem;
    bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-spacer {
    height: auto;
  }

  .gallery-section {
    position: relative;
    height: auto;
    min-height: auto;
    padding: 2rem 0;
  }

  .gallery-track {
    gap: 0.75rem;
    transform: none !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1rem;
    scroll-snap-type: x mandatory;
    align-items: center;
  }

  .gallery-item {
    height: 50vh !important;
    width: auto !important;
    scroll-snap-align: center;
    transform: none !important;
  }

  .gallery-item img {
    height: 100%;
    width: auto;
  }

  .gallery-cta {
    position: relative;
    bottom: auto;
    padding: 1.5rem 2rem;
  }
}

/* CONTACT SECTION */
.contact-section {
  background: #FFFFFF;
  padding: 6rem 4rem;
  position: relative;
  z-index: 2;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-headline {
  color: var(--color-accent);
  text-align: center;
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-style: normal;
  font-weight: 300;
  line-height: var(--leading-normal);
  margin: 0;
}

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-copy {
  color: #3E2321;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  min-width: 220px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-bg-muted);
  color: #3E2321;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-button svg {
  transition: transform 0.3s ease;
  color: #A56A63;
}

.contact-button:hover svg {
  transform: translateX(4px);
}

/* Responsive Contact */
@media (max-width: 1024px) {
  .contact-section {
    padding: 4rem 3rem;
  }

  .contact-headline {
    font-size: 32px;
  }

  .contact-copy {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-headline {
    font-size: 28px;
  }

  .contact-copy {
    font-size: 18px;
  }
}

/* FOOTER */
.footer {
  background: #989486;
  border-radius: 20px 20px 0 0;
  padding: 4rem;
  position: relative;
  z-index: 2;
  margin-top: -20px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0; /* Prevent grid blowout */
  overflow: hidden;
}

.footer-title {
  color: #FFFFFF;
  font-family: "Supreme LL", sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-family: "SF Pro Display", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--radius-md);
  background: #727069;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  max-width: 180px;
  box-shadow: var(--shadow-md);
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.footer-btn svg {
  transition: transform 0.3s ease;
}

.footer-btn:hover svg {
  transform: translateX(4px);
}

.footer-address {
  margin-top: 1.5rem;
}

.footer-address h4 {
  color: #FFFFFF;
  font-family: "Supreme LL", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.footer-address p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "SF Pro Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.footer-address a {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-col-title {
  color: rgba(255, 255, 255, 0.6);
  font-family: "SF Pro Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0 0 1rem 0;
  height: 20px;
  line-height: 20px;
}

.footer-agent {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

/* Logo container for consistent alignment - fixed height box with logo at bottom */
.agent-logo {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left bottom;
  margin-bottom: 0.5rem;
  display: block;
}

/* Knight Frank column needs top padding to match columns with titles */
.footer-col-knight {
  padding-top: calc(20px + 1rem); /* matches .footer-col-title height + margin */
}

/* Extra padding on Knight Frank logo to align agent names with other columns */
.footer-col-knight .footer-agent:first-child .agent-logo {
  margin-top: 0.9rem;
}

.agent-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  overflow: hidden;
}

.agent-name {
  color: #FFFFFF;
  font-family: "SF Pro Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.agent-email {
  color: rgba(255, 255, 255, 0.8);
  font-family: "SF Pro Display", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.agent-phone {
  color: rgba(255, 255, 255, 0.7);
  font-family: "SF Pro Display", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0;
}

.footer-logo {
  margin-top: auto;
  padding-top: 2rem;
}

.kajima-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  object-position: left bottom;
  display: block;
}

.footer-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  transform: translateX(100%);
  will-change: transform;
}

.footer-overlay-img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border: none;
  position: relative;
  z-index: 1;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-family: "SF Pro Display", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  margin: 0;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer {
    padding: 3rem;
    overflow: hidden;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

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

  /* Reset Knight Frank column padding for 2-column layout */
  .footer-col-knight {
    padding-top: calc(20px + 1rem);
  }

  .footer-col-retail,
  .footer-col-office {
    padding-top: 0;
  }

  .agent-logo {
    height: 35px;
  }

  .footer-col-knight .footer-agent:first-child .agent-logo {
    margin-top: 0.5rem;
  }

  .agent-email {
    word-break: break-word;
    font-size: 0.8rem;
  }

  .kajima-logo {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 1.5rem;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-title {
    font-size: 1.5rem;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-btn {
    max-width: none;
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }

  /* Reset column paddings for single column layout */
  .footer-col-knight {
    padding-top: 0;
  }

  .footer-col-knight .footer-agent:first-child .agent-logo {
    margin-top: 0;
  }

  .footer-col-title {
    height: auto;
    margin-bottom: 0.75rem;
  }

  .agent-logo {
    height: 35px;
  }

  .agent-email {
    word-break: break-word;
    font-size: 0.8rem;
  }

  .footer-agent {
    margin-bottom: 1rem;
  }

  .footer-logo {
    padding-top: 1rem;
  }

  .kajima-logo {
    height: 45px;
  }

  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .footer-copyright {
    font-size: 0.75rem;
    text-align: center;
  }

  .footer-overlay {
    opacity: 0.1;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-title {
    font-size: 1.25rem;
  }

  .footer-description {
    font-size: 0.85rem;
  }

  .footer-buttons {
    flex-direction: column;
  }

  .footer-btn {
    width: 100%;
    min-width: auto;
  }

  .agent-name {
    font-size: 0.85rem;
  }

  .agent-email,
  .agent-phone {
    font-size: 0.75rem;
  }

  .footer-address p {
    font-size: 0.8rem;
  }

  .footer-copyright {
    font-size: 0.7rem;
    line-height: 1.5;
  }
}

/* ========================================
   GLOBAL RESPONSIVE STYLES
   ======================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  /* Navbar */
  .navbar {
    padding: 0.6rem 2rem;
  }

  .nav-left,
  .nav-right {
    gap: 1.5rem;
    font-size: 13px;
  }

  /* Hero */
  .title-text {
    width: 300px;
  }

  .hero-content {
    margin-top: 8vh;
  }

  .hero-details {
    font-size: 0.9rem;
  }

  /* Glow Section */
  .glow-text {
    font-size: 2.2rem;
  }

  .content-button {
    font-size: var(--text-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  /* Navbar - Hamburger menu for mobile */
  .navbar {
    padding: 0.75rem 1rem;
  }

  .nav-inner {
    justify-content: flex-start;
  }

  /* Show hamburger, hide nav links */
  .hamburger {
    display: flex;
  }

  .nav-left,
  .nav-right,
  .nav-separator {
    display: none;
  }

  /* Show mobile menu */
  .mobile-menu {
    display: block;
  }

  /* Logo */
  #logoImg {
    width: 45px;
  }

  #logo.logo-fixed #logoImg {
    width: 25px;
  }

  /* Hero */
  .title-text {
    width: 250px;
  }

  .hero-content {
    margin-top: 5vh;
  }

  .hero-title {
    margin-bottom: 3rem;
  }

  .hero-details {
    font-size: 0.85rem;
  }

  .scroll-icon {
    width: 40px;
    height: 40px;
  }

  /* Glow Section */
  .glow-container {
    padding: 1.5rem;
  }

  .glow-text {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .content-button {
    font-size: 13px;
    padding: 0.75rem 1rem;
  }

  /* Full Screen Image */
  .fullscreen-image-section {
    height: 60vh;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  /* Navbar */
  .navbar {
    padding: 0.5rem 0.75rem;
  }

  /* Mobile menu adjustments */
  .mobile-nav-link {
    font-size: 1.25rem;
  }

  .mobile-menu-content {
    gap: 1.5rem;
  }

  /* Logo */
  #logoImg {
    width: 40px;
  }

  /* Hero */
  .title-text {
    width: 200px;
  }

  .hero-content {
    margin-top: 3vh;
  }

  .hero-title {
    margin-bottom: 2rem;
  }

  .hero-details {
    font-size: 0.8rem;
  }

  .hero-details p {
    margin: 0.15rem 0;
  }

  /* Spec Tiles - smaller on small mobile */
  .specs-container {
    bottom: 3vh;
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .spec-tile {
    min-height: 180px;
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
    transform: translateY(60%);
  }

  .spec-number {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .spec-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .spec-description {
    font-size: 0.8rem;
  }

  .spec-button {
    width: 36px;
    height: 36px;
    bottom: -18px;
  }

  /* Text Section */
  .text-section {
    padding: 3rem 1.5rem;
  }

  .text-section-headline {
    font-size: 20px;
  }

  /* Expandable Section */
  .expandable-section {
    padding: 1.5rem 0;
  }

  .expandable-sticky {
    padding: 0 0.75rem;
    gap: 1.5rem;
  }

  .expandable-headline {
    font-size: 20px;
    padding: 0 0.5rem;
  }

  .expandable-content {
    padding: 1.5rem;
  }

  .expandable-image {
    height: 45vh !important;
    border-radius: 12px !important;
  }

  .expandable-title {
    font-size: 1.25rem;
  }

  .expandable-description {
    font-size: 0.9rem;
  }

  .expandable-button {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

  .expandable-description {
    font-size: 0.9rem;
  }

  .expandable-button {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

  /* Glow Section */
  .glow-text {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .content-button {
    font-size: 13px;
    padding: 0.875rem 1rem;
    border-radius: 10px;
  }

  /* Full Screen Image */
  .fullscreen-image-section {
    height: 50vh;
  }

  /* Gallery Section */
  .gallery-section {
    padding: 2rem 0 1.5rem 0;
    min-height: auto;
  }

  .gallery-track {
    height: 50vh;
    gap: 0.5rem;
  }

  .gallery-cta {
    padding: 1rem 1.5rem;
  }

  .gallery-button {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

  /* Contact Section */
  .contact-section {
    padding: 2.5rem 1.5rem;
  }

  .contact-headline {
    font-size: 24px;
  }

  .contact-copy {
    font-size: 16px;
  }

  .contact-button {
    min-width: 180px;
    font-size: 0.85rem;
    padding: 0.875rem 1.25rem;
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .navbar {
    padding: 0.4rem 0.5rem;
  }

  /* Mobile menu adjustments */
  .mobile-nav-link {
    font-size: 1.1rem;
  }

  .mobile-menu-content {
    gap: 1.25rem;
  }

  #logoImg {
    width: 35px;
  }

  .title-text {
    width: 180px;
  }

  .text-section-headline {
    font-size: 18px;
  }

  /* Expandable Section - Extra small */
  .expandable-section {
    padding: 1rem 0;
  }

  .expandable-headline {
    font-size: 18px;
  }

  .expandable-image {
    height: 40vh !important;
  }

  .expandable-content {
    padding: 1.25rem;
  }

  .expandable-title {
    font-size: 1.1rem;
  }

  .glow-text {
    font-size: 1.2rem;
  }

  .contact-headline {
    font-size: 20px;
  }

  .contact-copy {
    font-size: 14px;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-description {
    font-size: 0.8rem;
  }
}

/* Landscape Mobile - Adjust heights */
@media (max-width: 896px) and (orientation: landscape) {
  .hero-spacer {
    height: 200vh;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-title {
    margin-bottom: 1.5rem;
  }

  .title-text {
    width: 200px;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-icon {
    width: 30px;
    height: 30px;
  }

  .specs-container {
    bottom: 5vh;
    padding: 1rem;
  }

  .spec-tile {
    min-height: 180px;
    padding: 1rem;
  }

  .glow-container {
    min-height: 80vh;
  }

  .glow-text {
    font-size: 1.4rem;
  }

  .fullscreen-image-section {
    height: 80vh;
  }

  /* Expandable section uses stacked layout in landscape mobile too */
  .expandable-section {
    height: auto;
    padding: 2rem 0;
  }

  .expandable-sticky {
    position: relative;
    height: auto;
    flex-direction: row;
    padding: 0 2rem;
    gap: 2rem;
  }

  .expandable-headline {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .expandable-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
  }

  .expandable-content {
    position: relative;
    width: 50%;
    height: auto;
    padding: 2rem;
    background: rgba(232, 221, 217, 0.95);
    border-radius: 16px;
  }

  .expandable-image {
    position: relative !important;
    width: 50% !important;
    height: 60vh !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    border-radius: 16px !important;
  }
}

/* ========================================
   LOCAL AREA PAGE STYLES
   ======================================== */

/* Dark variant for logo on light backgrounds */
#logo.logo-dark {
  position: fixed;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
}

#logo.logo-dark #logoImg {
  width: 30px;
  filter: none; /* Remove white filter */
}

/* Navbar dark variant for light backgrounds */
.navbar.navbar-dark {
  background: transparent;
}

.navbar.navbar-dark .nav-link {
  color: #3E2321;
}

.navbar.navbar-dark .nav-link:hover {
  opacity: 0.7;
}

.navbar.navbar-dark .nav-link.active {
  font-weight: 500;
}

.navbar.navbar-dark .nav-separator {
  color: #3E2321;
  opacity: 0.5;
}

.navbar.navbar-dark .hamburger-line {
  background-color: #3E2321;
}

.navbar.navbar-dark.scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(234, 227, 218, 0.2);
}

/* Mobile menu dark variant */
.mobile-menu.mobile-menu-dark {
  background: rgba(234, 227, 218, 0.97);
}

.mobile-menu.mobile-menu-dark .mobile-nav-link {
  color: #3E2321;
}

.mobile-menu.mobile-menu-dark .mobile-nav-link.active {
  font-weight: 500;
}

.mobile-menu.mobile-menu-dark .mobile-menu-divider {
  background: rgba(62, 35, 33, 0.3);
}

/* Light variant for logo on dark/image backgrounds */
#logo.logo-light {
  position: fixed;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
}

#logo.logo-light #logoImg {
  width: 30px;
  filter: brightness(0) invert(1); /* Make SVG white */
}

/* Navbar light variant for dark/image backgrounds */
.navbar.navbar-light {
  background: transparent;
}

.navbar.navbar-light .nav-link {
  color: #ffffff;
}

.navbar.navbar-light .nav-link:hover {
  opacity: 0.7;
}

.navbar.navbar-light .nav-link.active {
  font-weight: 500;
}

.navbar.navbar-light .nav-separator {
  color: #ffffff;
  opacity: 0.5;
}

.navbar.navbar-light .hamburger-line {
  background-color: #ffffff;
}

.navbar.navbar-light.scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.3);
}

/* Mobile menu light variant */
.mobile-menu.mobile-menu-light {
  background: rgba(0, 0, 0, 0.95);
}

.mobile-menu.mobile-menu-light .mobile-nav-link {
  color: #ffffff;
}

.mobile-menu.mobile-menu-light .mobile-nav-link.active {
  font-weight: 500;
}

.mobile-menu.mobile-menu-light .mobile-menu-divider {
  background: rgba(255, 255, 255, 0.3);
}

/* LOCAL AREA HERO */
.local-area-hero {
  min-height: 100vh;
  background: rgba(234, 227, 218, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 3rem;
  position: relative;
  z-index: 1;
}

.local-area-hero-container {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.local-area-headline {
  color: var(--color-accent);
  text-align: center;
  font-family: "Supreme LL", sans-serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0;
  margin: 0;
}

/* Character animation styles for local area headline */
.local-area-headline .char {
  transition: color 0.3s ease;
  display: inline-block;
  /* Color controlled by JavaScript animation */
}

/* Responsive Local Area */
@media (max-width: 1024px) {
  .local-area-headline {
    font-size: 38px;
  }

  .local-area-hero {
    padding: 6rem 2rem;
  }
}

@media (max-width: 768px) {
  .local-area-headline {
    font-size: 26px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
  }

  .local-area-headline br {
    display: none;
  }

  .local-area-hero {
    padding: 5rem 1.5rem;
    min-height: 60vh;
  }

  #logo.logo-dark {
    top: 0.75rem;
  }

  #logo.logo-dark #logoImg {
    width: 25px;
  }
}

@media (max-width: 480px) {
  .local-area-headline {
    font-size: 22px;
    line-height: 1.4;
  }

  .local-area-hero {
    padding: 4rem 1rem;
    min-height: 50vh;
  }
}

/* LOCAL AREA VIDEO SECTION */
.local-area-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.local-area-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.local-area-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.local-area-video-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s linear;
  z-index: 1;
}

/* Responsive Local Area Video */
@media (max-width: 768px) {
  .local-area-video-section {
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .local-area-video-section {
    height: 50vh;
  }
}

/* LOCAL AREA TEXT SECTION */
.local-area-text-section {
  height: 50vh;
  padding: 0 3rem 50px 3rem;
}

.local-area-text-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.local-area-text-headline {
  color: var(--color-primary);
  text-align: center;
  font-family: "Supreme LL", sans-serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0;
  margin: 0;
}

/* Character animation styles for local area text headline */
.local-area-text-headline .char {
  transition: color 0.3s ease;
  display: inline-block;
  /* Color controlled by JavaScript animation */
}

.local-area-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.local-area-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  min-width: 200px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-bg-muted);
  color: #3E2321;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.local-area-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.local-area-btn svg {
  transition: transform 0.3s ease;
  color: #A56A63;
}

.local-area-btn:hover svg {
  transform: translateX(4px);
}

.local-area-btn:last-child:hover svg {
  transform: translateY(4px);
}

/* Responsive Local Area Text */
@media (max-width: 1024px) {
  .local-area-text-headline {
    font-size: 28px;
  }

  .local-area-text-section {
    padding: 6rem 2rem;
  }
}

@media (max-width: 768px) {
  .local-area-text-headline {
    font-size: 22px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }

  .local-area-text-headline br {
    display: none;
  }

  .local-area-text-section {
    padding: 4rem 1.5rem;
  }

  .local-area-text-container {
    gap: 2rem;
  }

  .local-area-btn {
    min-width: 160px;
    padding: 0.75rem 1rem;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .local-area-text-headline {
    font-size: 18px;
    line-height: 1.5;
  }

  .local-area-text-section {
    padding: 2.5rem 1rem;
  }

  .local-area-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .local-area-btn {
    width: 100%;
    min-width: auto;
    padding: 0.875rem 1rem;
  }
}

/* LOCAL AREA INTERACTIVE MAP SECTION */
.local-area-map-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.map-placeholder-img {
  width: 100%;
  height: auto;
  display: block;
}

/* LOCAL AREA DISTANCE SECTION */
.local-area-distance-section {
  position: relative;
  background: #613c39;
  padding: 6rem 4rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  /* Edge to edge marquee — no side padding on wrapper */
}

.distance-images-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding: 0;
  flex: 1;
  position: relative;
  width: 100%;
}

.distance-image {
  flex: 1;
  max-width: calc(25% - 1.125rem);
  aspect-ratio: 10 / 15;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  opacity: 0;
  will-change: transform, opacity;
}

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

/* Staggered vertical positions (% from top) */

.distance-image-1 {
  align-self: flex-start;
  margin-top: 0%;
}

.distance-image-2 {
  align-self: flex-start;
  margin-top: 8%;
}

.distance-image-3 {
  align-self: flex-start;
  margin-top: 12%;
}

.distance-image-4 {
  align-self: flex-start;
  margin-top: 3%;
}

/* Marquee text */
.distance-marquee-wrapper {
  width: 100vw;
  margin-left: calc(-4rem);
  padding: 6rem 0;
}

.distance-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0.5rem 0;
}

.distance-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.distance-marquee-left .distance-marquee-track {
  animation: marquee-scroll-left 25s linear infinite;
}

.distance-marquee-right .distance-marquee-track {
  animation: marquee-scroll-right 25s linear infinite;
}

.distance-item {
  font-family: "Supreme LL", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  padding: 0 1rem;
  transition: color 0.6s ease;
}

.distance-item.is-lit {
  color: #fff;
}

.distance-separator {
  color: #E2BFC0;
  font-size: 1rem;
  padding: 0 1rem;
}

@keyframes marquee-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive Distance Section */
@media (max-width: 1024px) {
  .local-area-distance-section {
    padding: 4rem 2rem 2rem;
  }

  .distance-images-container {
    gap: 1rem;
    padding: 0;
  }

  .distance-image-1 {
    margin-top: 0%;
  }

  .distance-image-2 {
    margin-top: 20%;
  }

  .distance-image-3 {
    margin-top: 40%;
  }

  .distance-image-4 {
    margin-top: 5%;
  }

  .distance-item {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .local-area-distance-section {
    padding: 3rem 1rem 2rem;
    min-height: auto;
  }

  .distance-images-container {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .distance-image {
    flex: none;
    max-width: none;
    width: calc(50% - 0.5rem);
    aspect-ratio: 10 / 15;
  }

  .distance-image-1,
  .distance-image-2,
  .distance-image-3,
  .distance-image-4 {
    margin: 0;
    align-self: auto;
  }

  .distance-item {
    font-size: 1.25rem;
  }

  .distance-separator {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .distance-item {
    font-size: 1rem;
  }
}

/* =====================================================
   THE BUILDING PAGE STYLES
   ===================================================== */

/* The Building Hero Section */
.the-building-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.the-building-hero-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 120px;
  z-index: 3;
  text-align: center;
}

.the-building-hero-header h1 {
  font-family: "Supreme LL", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  color: #9E5A56;
  margin: 0;
  padding: 0 20px;
}

.the-building-hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.the-building-hero-image {
  width: 80%;
  height: auto;
  max-height: 75%;
  object-fit: contain;
  object-position: center bottom;
}

.the-building-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(219, 169, 172, 0.40) 10%, rgba(255, 255, 255, 0.50) 90%);
  z-index: 2;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .the-building-hero-section {
    height: 70vh;
  }

  .the-building-hero-header {
    padding-top: 90px;
  }

  .the-building-hero-header h1 {
    font-size: 20px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .the-building-hero-header h1 br {
    display: none;
  }

  .the-building-hero-image {
    width: 95%;
    max-height: 60%;
  }
}

@media (max-width: 480px) {
  .the-building-hero-section {
    height: 60vh;
  }

  .the-building-hero-header {
    padding-top: 80px;
  }

  .the-building-hero-header h1 {
    font-size: 18px;
    padding: 0 16px;
  }

  .the-building-hero-image {
    width: 100%;
    max-height: 55%;
  }
}

/* The Building Carousel Section */
.the-building-carousel-section {
  background: rgba(76, 76, 76, 0.06);
  padding: 80px 0 100px;
}

.the-building-carousel-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.the-building-carousel-header h2 {
  font-family: "Supreme LL", sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0;
  color: #3E2321;
  margin: 0;
}

.the-building-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.the-building-carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.the-building-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.carousel-tile {
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
}

.carousel-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.carousel-tile:hover img {
  transform: scale(1);
}

/* Frosted glass overlay at bottom 40% */
.carousel-tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: rgba(208, 204, 204, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 251, 251, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  color: #fff;
  text-align: center;
}

.carousel-tile-number {
  display: block;
  font-family: "Supreme LL", sans-serif;
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 6px;
}

.carousel-tile-text {
  color: #FFF;
text-align: center;
font-family: "SF Pro Display";
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: normal;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #795653;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-arrow:hover {
  background: #5e4341;
}

.carousel-arrow:disabled {
  background: #b5a8a7;
  cursor: not-allowed;
}

.carousel-arrow-left {
  left: 10px;
}

.carousel-arrow-right {
  right: 10px;
}

/* Carousel Pagination */
.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  background: #fff;
  padding: 9px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(164, 164, 164, 0.30);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: #A4A4A4;
}

/* Carousel Responsive */
@media (max-width: 992px) {
  .carousel-tile {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }

  .the-building-carousel-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .the-building-carousel-section {
    padding: 60px 0 80px;
  }

  .the-building-carousel-container {
    padding: 0 25px;
  }

  .carousel-tile {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .the-building-carousel-header h2 {
    font-size: 20px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow-left {
    left: 5px;
  }

  .carousel-arrow-right {
    right: 5px;
  }

  .carousel-pagination {
    margin-top: 30px;
    padding: 10px 16px;
  }

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

/* Floor Plans Section */
.floor-plans-section {
  background: #4C4C4C0F;
  padding: 100px 60px;

  /* === EASY SIZE CONTROLS === */
  --building-column-width: 45%;  /* Width of building column */
  --table-column-width: 50%;     /* Width of table column */
  --column-gap: 5%;              /* Gap between columns */
  --container-max-width: 1200px; /* Max width of container */
}

.floor-plans-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* Building Model Column */
.floor-plans-building {
  width: var(--building-column-width);
  flex-shrink: 0;
}

.building-model {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.floor-image {
  width: 100%;
  transition: filter 0.3s ease, opacity 0.3s ease;
  position: relative;
  line-height: 0;
}

.floor-image img {
  width: 100%;
  height: auto;
  display: block;
}

.floor-image.active img,
.floor-image:hover img {
  filter: brightness(1.05);
}

/* Floor Data Table Column */
.floor-plans-table {
  width: var(--table-column-width);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.floor-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
}

.floor-data-table thead th {
  font-family: "Supreme LL", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #A56A63;
  text-align: center;
  padding: 12px 20px;
  border-bottom: none;
}

.floor-data-table thead th:nth-child(2) {
  width: 70px;
  padding-left: 0;
}

.floor-data-table tbody tr {
  transition: background-color 0.3s ease;
  cursor: pointer;
  position: relative;
  /* Height set dynamically by JS to match floor image height */
}

.floor-data-table tbody tr[data-floor="7"] {
  height: 113px;
}

.floor-data-table tbody tr[data-floor="LG"] {
  height: 70px;
  max-height: 70px;
}

.floor-data-table tbody tr:hover {
  background-color: #D9D9D94D;
}

.floor-data-table tbody tr.active {
  background-color: #D9D9D94D;
}

.floor-data-table tbody td {
  font-size: 19px;
  font-weight: 400;
  color: #3E2321;
  padding: 14px 20px;
  border-bottom: none;
  position: relative;
  vertical-align: middle;
  text-align: center;
}

/* Horizontal line at bottom of each row */
.floor-data-table tbody tr::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #A56A63;
  pointer-events: none;
}

/* Connector column - empty column with line extending to building */
.floor-data-table .connector-col {
  width: 100px;
  padding: 0;
  position: relative;
  border-bottom: none;
}

.floor-data-table thead .connector-col {
  border-bottom: none;
}

/* Dot at the left end of each row's bottom line */
.floor-data-table tbody .connector-col::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6px;
  height: 6px;
  background: #A56A63;
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.floor-data-table tbody tr:hover .connector-col::after,
.floor-data-table tbody tr.active .connector-col::after {
  background: #A56A63;
}

.floor-data-table tbody td.floor-number {
  font-family: "Supreme LL", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #A56A63;
  padding-left: 0;
}

.floor-data-table tfoot td {
  font-family: "Supreme LL", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #3E2321;
  padding: 16px 20px;
  border-top: 2px solid #A56A63;
  text-align: center;
}

.floor-data-table tfoot td.floor-number {
  color: #A56A63;
  padding-left: 0;
}

/* Floor Plan Lightbox */
.floor-plan-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  perspective: 1500px;
}

.floor-plan-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotateX(70deg) rotateZ(-15deg) scale(0.6) translateY(100px);
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.floor-plan-lightbox.active .lightbox-content {
  transform: rotateX(0deg) rotateZ(0deg) scale(1) translateY(0);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-image-wrapper {
  border-radius: 8px;
  padding: 20px;
  max-width: 100%;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  transition: box-shadow 1.2s ease;
}

.floor-plan-lightbox.active .lightbox-image-wrapper {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  width: 800px;
  height: auto;
  display: block;
}

.lightbox-caption {
  color: #FFFFFF;
  font-family: "Supreme LL", sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-top: 20px;
  text-align: center;
}

/* Floor Plans Actions Section */
.floor-plans-actions-section {
  background: #4C4C4C0F;
  padding: 40px 60px 100px;
}

.floor-plans-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.floor-plans-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.floor-plans-btn svg {
  transition: transform 0.3s ease;
  color: #A56A63;
}

.floor-plans-btn.btn-esg {
  background: rgba(60, 59, 60, 0.06);
  color: #3E2321;
}

.floor-plans-btn.btn-esg:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.floor-plans-btn.btn-esg:hover svg {
  transform: translateX(4px);
}

.floor-plans-btn.btn-brochure {
  background: rgba(60, 59, 60, 0.06);
  color: #3E2321;
}

.floor-plans-btn.btn-brochure:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.floor-plans-btn.btn-brochure:hover svg {
  transform: translateY(4px);
}

/* Floor Plans Responsive */
@media (max-width: 1024px) {
  .floor-plans-section {
    padding: 80px 40px;
    --building-column-width: 40%;
    --table-column-width: 55%;
  }

  .floor-plans-actions-section {
    padding: 30px 40px 80px;
  }
}

@media (max-width: 768px) {
  .floor-plans-section {
    padding: 60px 20px;
    --building-column-width: 100%;
    --table-column-width: 100%;
  }

  .floor-plans-container {
    flex-direction: column;
    gap: 40px;
  }

  .floor-plans-building {
    max-width: 300px;
    margin: 0 auto;
  }

  .floor-data-table tbody tr {
    height: auto !important;
  }

  .floor-data-table .connector-col {
    display: none;
  }

  .floor-data-table tbody tr::after {
    display: none;
  }

  .floor-data-table tbody tr {
    border-bottom: 1px solid #A56A63;
  }

  .floor-data-table tbody td {
    font-size: 14px;
    padding: 12px 16px;
  }

  .floor-data-table tbody td.floor-number {
    padding-left: 16px;
  }

  .floor-data-table thead th {
    font-size: 12px;
    padding: 10px 16px;
  }

  .floor-data-table thead th:first-child {
    padding-left: 16px;
  }

  .floor-data-table tfoot td {
    padding: 14px 16px;
  }

  .floor-data-table tfoot td.floor-number {
    padding-left: 16px;
  }

  .floor-plans-actions-section {
    padding: 20px 20px 60px;
  }

  .floor-plans-actions {
    flex-direction: column;
    align-items: center;
  }

  .floor-plans-btn {
    justify-content: center;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .floor-plans-section {
    padding: 40px 16px;
  }

  .floor-plans-actions-section {
    padding: 20px 16px 40px;
  }

  .floor-plans-building {
    max-width: 360px;
  }

  .floor-data-table tbody td {
    font-size: 13px;
    padding: 10px 12px;
  }

  .floor-data-table thead th {
    font-size: 11px;
    padding: 8px 12px;
  }
}

/* ==============================================
   OFF-CANVAS CONTACT FORM
   ============================================== */

/* Overlay */
.contact-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 9998;
  pointer-events: none;
  transition: background 0.4s ease;
}

.contact-form-overlay.active {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

/* Panel */
.contact-form-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(208, 204, 204, 0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10003;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-panel.active {
  transform: translateX(0);
}

/* Close button - hidden on desktop, shown on mobile */
.contact-form-close {
  display: none;
  position: fixed;
  top: 0.75rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10005;
  padding: 0;
  color: white;
}

.contact-form-close svg {
  width: 24px;
  height: 24px;
}

/* Content */
.contact-form-content {
  width: 100%;
  max-width: 1200px;
  padding: 60px 80px;
}

.contact-form-title {
  font-family: "Supreme LL", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.contact-form-subtitle {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Form Rows - Two Column Layout */
.contact-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
}

.contact-form .form-row .form-group {
  flex: 1;
}

/* Form Groups */
.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-family: "Supreme LL", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: #FFFFFF;
  background: #C0C0C03B;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

/* Checkbox */
.contact-form .form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-form .form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #A56A63;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-form .form-checkbox label {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.contact-form .form-checkbox label a {
  color: #A56A63;
  text-decoration: underline;
}

.contact-form .form-checkbox label a:hover {
  color: #7D5B56;
}

/* Error Messages */
.contact-form .form-error {
  display: none;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  color: #D32F2F;
  margin-top: 6px;
}

.contact-form .form-error.visible {
  display: block;
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: #D32F2F;
  background: #FFF5F5;
}

/* Submit Button */
.contact-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-family: "Supreme LL", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  background: #DBA9AC66;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 16px;
  position: relative;
}

.contact-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-form-submit:active {
  transform: translateY(0);
}

.contact-form-submit .btn-loading {
  display: none;
}

.contact-form-submit.loading .btn-text {
  visibility: hidden;
}

.contact-form-submit.loading .btn-loading {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact-form-submit .spinner {
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.contact-form .form-message {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  margin-top: 24px;
}

.contact-form .form-message.visible {
  display: flex;
}

.contact-form .form-message p {
  margin: 0;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.contact-form .form-success {
  background: #E8F5E9;
  color: #2E7D32;
}

.contact-form .form-error-message {
  background: #FFEBEE;
  color: #C62828;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
  .contact-form-content {
    padding: 50px 40px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  /* Show close button on mobile */
  .contact-form-close {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .contact-form-panel {
    align-items: flex-start;
    padding-top: 60px;
  }

  .contact-form-content {
    padding: 24px;
  }

  .contact-form-title {
    font-size: 26px;
  }

  .contact-form-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-form .form-group {
    margin-bottom: 20px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .contact-form-submit {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* =====================================================
   POSITIVE IMPACT PAGE STYLES
   ===================================================== */

/* Positive Impact Hero Section */
.positive-impact-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-image: url('../images/positive-impact/hero.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.positive-impact-hero-content {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  text-align: center;
  z-index: 3;
  padding: 150px 40px 0;
}

.positive-impact-hero-text {
  font-family: "Supreme LL", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  margin: 0;
  padding: 0 20px;
  text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.16);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .positive-impact-hero-text {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .positive-impact-hero-section {
    height: 100vh;
    background-attachment: scroll;
  }

  .positive-impact-hero-content {
    padding: 120px 20px 0;
    max-width: 100%;
  }

  .positive-impact-hero-text {
    font-size: 18px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .positive-impact-hero-text br {
    display: none;
  }
}

@media (max-width: 480px) {
  .positive-impact-hero-section {
    height: 80vh;
  }

  .positive-impact-hero-content {
    padding: 100px 16px 0;
  }

  .positive-impact-hero-text {
    font-size: 16px;
  }
}

/* Positive Impact Workspace Section */
.pi-workspace-section {
  background-color: rgba(152, 148, 134, 0.52);
  padding: 80px 60px;
}

.pi-workspace-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 60px;
  align-items: center;
}

.pi-workspace-text {
  padding-right: 40px;
}

.pi-workspace-title {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-white);
  margin: 0 0 24px 0;
}

.pi-workspace-description {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.7;
  color: #ffffff;
  margin: 0 0 32px 0;
  max-width: 420px;
}

.pi-workspace-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: #3E2321;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.pi-workspace-btn:hover {
  background: var(--color-white);
  color: #3E2321;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.pi-workspace-btn svg {
  transition: transform 0.3s ease;
  color: #A56A63;
}

.pi-workspace-btn:hover svg {
  transform: translateX(4px);
}

.pi-workspace-image {
  overflow: hidden;
}

.pi-workspace-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Slide-in animations */
.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .pi-workspace-section {
    padding: 60px 40px;
  }

  .pi-workspace-container {
    gap: 40px;
  }

  .pi-workspace-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .pi-workspace-section {
    padding: 50px 25px;
  }

  .pi-workspace-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pi-workspace-text {
    padding-right: 0;
    order: 1;
  }

  .pi-workspace-image {
    order: 2;
  }

  .pi-workspace-title {
    font-size: 22px;
  }

  .pi-workspace-title br {
    display: none;
  }

  .pi-workspace-description {
    max-width: 100%;
  }
}

/* =====================================================
   BUILDING SPECS SECTION - Scroll-locked animation
   ===================================================== */

.pi-specs-spacer {
  height: 250vh; /* Scroll animation ends when all cards visible */
  width: 100%;
  position: relative;
}

.pi-specs-section {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  overflow: hidden;
  z-index: 5;
}

.pi-specs-container {
  display: grid;
  grid-template-columns: 50% 50%;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Left Column - Cards */
.pi-specs-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 60px 80px;
  position: relative;
}

.pi-specs-card {
  display: flex;
  gap: 40px;
  padding: 30px 60px 30px 0;
  border-top: 1px solid rgba(60, 59, 60, 0.2);
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pi-specs-card:first-child {
  border-top: none;
}

.pi-specs-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.pi-specs-number {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 40px;
  font-weight: 100;
  line-height: 100%;
  letter-spacing: 0%;
  color: #020202;
  min-width: 50px;
}

.pi-specs-card-content {
  flex: 1;
}

.pi-specs-title {
  font-family: "Supreme LL", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  color: #A56A63;
  margin: 0 0 40px 0;
}

.pi-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.pi-specs-card.active .pi-specs-list {
  opacity: 1;
  max-height: 300px;
}

.pi-specs-list li {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  color: #3E2321;
  padding: 13px 0;
  padding-left: 12px;
  border-left: 1px solid rgba(60, 59, 60, 1);
  margin-left: 0;
}

/* Right Column - Image */
.pi-specs-image-wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pi-specs-image {
  width: auto;
  height: 90%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pi-specs-image.visible {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .pi-specs-cards {
    padding: 40px 40px 40px 60px;
  }

  .pi-specs-number {
    font-size: 32px;
  }

  .pi-specs-title {
    font-size: 24px;
  }

  .pi-specs-list li {
    font-size: 16px;
  }
}

/* Tablets - iPad Pro 12.9", large Android tablets */
@media (max-width: 1024px) {
  .pi-specs-spacer {
    height: auto;
  }

  .pi-specs-section {
    position: relative;
    height: auto;
    min-height: auto;
  }

  .pi-specs-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pi-specs-cards {
    padding: 60px 40px;
    order: 1;
  }

  .pi-specs-card {
    opacity: 1;
    transform: translateX(0);
    padding: 24px 0;
  }

  .pi-specs-list {
    opacity: 1;
    max-height: none;
  }

  .pi-specs-image-wrapper {
    order: 2;
    height: 50vh;
    min-height: 400px;
  }

  .pi-specs-image {
    transform: translateY(0);
    height: 100%;
    width: 100%;
    object-fit: contain;
  }

  .pi-specs-number {
    font-size: 28px;
    min-width: 45px;
  }

  .pi-specs-title {
    font-size: 22px;
  }

  .pi-specs-list li {
    font-size: 15px;
    line-height: 140%;
    padding: 8px 0;
    padding-left: 12px;
  }
}

/* Tablets - iPad Pro 11", iPad Air, iPad 10th gen, Android tablets */
@media (max-width: 834px) {
  .pi-specs-cards {
    padding: 50px 30px;
  }

  .pi-specs-card {
    gap: 20px;
    padding: 20px 0;
  }

  .pi-specs-number {
    font-size: 26px;
    min-width: 40px;
  }

  .pi-specs-title {
    font-size: 20px;
    line-height: 130%;
  }

  .pi-specs-title br {
    display: none;
  }

  .pi-specs-list li {
    font-size: 14px;
    line-height: 150%;
  }

  .pi-specs-image-wrapper {
    height: 45vh;
    min-height: 350px;
  }
}

/* Tablets - iPad Mini, smaller Android tablets */
@media (max-width: 768px) {
  .pi-specs-cards {
    padding: 40px 24px;
  }

  .pi-specs-card {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
  }

  .pi-specs-number {
    font-size: 24px;
  }

  .pi-specs-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .pi-specs-list li {
    font-size: 14px;
    padding: 6px 0;
    padding-left: 10px;
  }

  .pi-specs-image-wrapper {
    height: 40vh;
    min-height: 300px;
  }
}

/* Small tablets and large phones */
@media (max-width: 600px) {
  .pi-specs-cards {
    padding: 30px 20px;
  }

  .pi-specs-card {
    padding: 16px 0;
  }

  .pi-specs-number {
    font-size: 20px;
  }

  .pi-specs-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .pi-specs-list li {
    font-size: 13px;
  }

  .pi-specs-image-wrapper {
    height: 35vh;
    min-height: 250px;
  }
}

/* Tablet landscape orientation */
@media (max-width: 1024px) and (orientation: landscape) {
  .pi-specs-container {
    grid-template-columns: 1fr 1fr;
  }

  .pi-specs-cards {
    order: 1;
    padding: 40px 30px;
  }

  .pi-specs-image-wrapper {
    order: 2;
    height: 100%;
    min-height: 100vh;
  }

  .pi-specs-card {
    flex-direction: row;
    gap: 20px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .pi-specs-container {
    grid-template-columns: 1fr;
  }

  .pi-specs-image-wrapper {
    height: 50vh;
    min-height: 250px;
  }

  .pi-specs-card {
    flex-direction: row;
    gap: 15px;
  }

  .pi-specs-title br {
    display: none;
  }
}

/* =====================================================
   COMMITMENT SECTION - 6 Tiles with scroll animation
   ===================================================== */

.pi-commitment-section {
  background: #f5f4f2;
  padding: 100px 60px;
}

.pi-commitment-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pi-commitment-headline {
  text-align: center;
  margin-bottom: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pi-commitment-headline p {
  font-family: "Supreme LL", sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0;
  color: var(--color-primary);
  margin: 0 auto;
}

/* Tiles Grid */
.pi-commitment-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-bottom: 60px;
}

/* Individual Tile */
.pi-commitment-tile {
  position: relative;
  aspect-ratio: 0.75;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pi-commitment-tile.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.pi-commitment-tile[data-tile="1"] { transition-delay: 0s; }
.pi-commitment-tile[data-tile="2"] { transition-delay: 0.1s; }
.pi-commitment-tile[data-tile="3"] { transition-delay: 0.2s; }
.pi-commitment-tile[data-tile="4"] { transition-delay: 0.3s; }
.pi-commitment-tile[data-tile="5"] { transition-delay: 0.4s; }
.pi-commitment-tile[data-tile="6"] { transition-delay: 0.5s; }

/* Background image layer */
.pi-tile-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

/* Frosted glass content overlay */
.pi-tile-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Icon */
.pi-tile-icon {
  margin-bottom: 20px;
}

.pi-tile-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Info area */
.pi-tile-info {
  text-align: center;
}

.pi-tile-number {
  display: block;
  font-family: "Supreme LL", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}

.pi-tile-title {
  font-family: "Supreme LL", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 4px 0;
}

.pi-tile-subtitle {
  font-family: "Supreme LL", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #fff;
  margin: 0;
}

/* CTA Button */
.pi-commitment-cta {
  text-align: center;
}

.pi-commitment-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: #3E2321;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 400;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.pi-commitment-btn:hover {
  background: var(--color-white);
  color: #3E2321;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.pi-commitment-btn svg {
  transition: transform 0.3s ease;
  color: #A56A63;
}

.pi-commitment-btn:hover svg {
  transform: translateY(2px);
}

/* Responsive */
@media (max-width: 1200px) {
  .pi-commitment-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .pi-commitment-section {
    padding: 60px 25px;
  }

  .pi-commitment-headline p {
    font-size: 22px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .pi-commitment-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Make tiles static on mobile - no scroll animation */
  .pi-commitment-tile {
    aspect-ratio: 0.85;
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Remove staggered delays on mobile */
  .pi-commitment-tile[data-tile="1"],
  .pi-commitment-tile[data-tile="2"],
  .pi-commitment-tile[data-tile="3"],
  .pi-commitment-tile[data-tile="4"],
  .pi-commitment-tile[data-tile="5"],
  .pi-commitment-tile[data-tile="6"] {
    transition-delay: 0s;
  }

  .pi-tile-icon img {
    width: 50px;
    height: 50px;
  }

  .pi-tile-title {
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .pi-tile-subtitle {
    font-size: 11px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .pi-commitment-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pi-commitment-tile {
    aspect-ratio: 0.9;
    opacity: 1;
    transform: none;
  }

  .pi-tile-content {
    padding: 12px 10px;
  }

  .pi-tile-icon {
    margin-bottom: 12px;
  }

  .pi-tile-icon img {
    width: 36px;
    height: 36px;
  }

  .pi-tile-number {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .pi-tile-title {
    font-size: 11px;
    line-height: 1.3;
  }

  .pi-tile-subtitle {
    font-size: 10px;
    line-height: 1.3;
  }
}
