/* ============================================
   Volta SKAI - Pixel-Perfect Replica Styles
   Matching original: voltaskai.endover.ee
   ============================================ */

/* Custom Fonts - Served locally to avoid CORS */
@font-face {
  font-family: 'Specter';
  src: url('/static/fonts/specter-book.woff2') format('woff2');
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Specter';
  src: url('/static/fonts/specter-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Ramillas';
  src: url('/static/fonts/tt-ramillas-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Ramillas';
  src: url('/static/fonts/tt-ramillas-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- CSS Variables ---- */
:root {
  --bs-body-bg: #dcd4cd;
  --bs-body-color: #715852;
  --border-color: #dcd4cd;
  --border-color-dark: rgba(113, 88, 82, .4);
  --color-accent: #ae928a;
  --color-dark: #49332c;
  --banner-height: auto;
  --font-sans: 'Specter', sans-serif;
  --font-serif: 'TT Ramillas', sans-serif;
  --transition: 0.3s cubic-bezier(0, .3, .3, 1);
  --spacing-content: 1.25rem;
  --spacing-content-large: 3.125rem;
}

@media (min-width: 768px) {
  :root {
    --spacing-content: 1.25rem;
    --spacing-content-large: 5.3125rem;
  }
}
@media (min-width: 1201px) {
  :root {
    --spacing-content: 1.8518518519rem;
    --spacing-content-large: 5.0925925926rem;
  }
}
@media (min-width: 1728px) {
  :root {
    --spacing-content: 2.5rem;
    --spacing-content-large: 6.875rem;
  }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html {
  font-size: 4.2666666667vw;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
@media (min-width: 48rem) {
  html { font-size: 2vw; }
}
@media (min-width: 75.063rem) {
  html { font-size: 1.25vw; }
}
@media (min-width: 108rem) {
  html { font-size: 16px; }
}

body {
  font-family: var(--font-sans);
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: scroll;
}
img, svg, video { display: block; max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; border-radius: 0; }
ul, ol, menu { list-style: none; }
address { font-style: normal; }

/* ---- Utilities ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.main { overflow-x: clip; }

/* ---- Typography ---- */
.subheading-m {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .6875rem;
  line-height: .9375rem;
}
@media (min-width: 1201px) {
  .subheading-m { font-size: .5555555556rem; line-height: .7407407407rem; }
}
@media (min-width: 1728px) {
  .subheading-m { font-size: .75rem; line-height: 1rem; }
}

.heading-xl {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 3.75rem;
  line-height: 3.5rem;
  letter-spacing: -.05em;
}
@media (min-width: 768px) {
  .heading-xl { font-size: 5rem; line-height: 4.5rem; }
}
@media (min-width: 1201px) {
  .heading-xl { font-size: 4.6296296296rem; line-height: 4.1666666667rem; }
}
@media (min-width: 1728px) {
  .heading-xl { font-size: 6.25rem; line-height: 5.625rem; }
}

.heading-l {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.875rem;
  letter-spacing: -.02em;
}
@media (min-width: 768px) {
  .heading-l { font-size: 2.5rem; line-height: 2.625rem; letter-spacing: -.03em; }
}
@media (min-width: 1201px) {
  .heading-l { font-size: 2.7777777778rem; line-height: 2.7777777778rem; }
}
@media (min-width: 1728px) {
  .heading-l { font-size: 3.75rem; line-height: 3.75rem; }
}

.heading-m {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.75rem;
  letter-spacing: -.02em;
}
@media (min-width: 1201px) {
  .heading-m { font-size: 1.3888888889rem; line-height: 1.4814814815rem; }
}
@media (min-width: 1728px) {
  .heading-m { font-size: 1.875rem; line-height: 2rem; }
}

.heading-s {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.75rem;
  letter-spacing: -.02em;
}
@media (min-width: 1201px) {
  .heading-s { font-size: 1.3888888889rem; line-height: 1.4814814815rem; }
}
@media (min-width: 1728px) {
  .heading-s { font-size: 1.875rem; line-height: 2rem; }
}

.body-m {
  font-family: var(--font-sans);
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.625rem;
}
@media (min-width: 1201px) {
  .body-m { font-size: .8333333333rem; line-height: 1.2962962963rem; }
}
@media (min-width: 1728px) {
  .body-m { font-size: 1.125rem; line-height: 1.75rem; }
}

.text-medium-1 { color: #ae928a; }
.text-light-1 { color: rgba(113, 88, 82, .6); }

/* Gradient text */
.gradient-accent-1 {
  color: transparent;
  background: linear-gradient(125.75deg, #76726e 9.27%, #d5cec7 95.35%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .1em;
}

/* Sweep fade animation */
.has-sweep-fade {
  --reveal: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
@media (min-width: 1201px) {
  .has-sweep-fade { gap: .9259259259rem; }
}
@media (min-width: 1728px) {
  .has-sweep-fade { gap: 1.25rem; }
}
.has-sweep-fade > *:first-child {
  opacity: var(--reveal);
  transition: opacity .3s ease;
}
.has-sweep-fade .gradient-accent-1 {
  background: linear-gradient(160.45deg, #76726e 0%, #d5cec7 32.85%, transparent 68.05%, transparent 100%);
  background-size: 122.6667% 529%;
  background-clip: text;
  -webkit-background-clip: text;
  background-position: 0% calc(100% - var(--reveal) * 100%);
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* CTA Links */
.cta-link {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition);
}
.cta-link:hover { gap: 1rem; }
.cta-link .arrow { transition: transform var(--transition); }
.cta-link:hover .arrow { transform: translateX(4px); }

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 .75rem;
  background: var(--bs-body-color);
  color: #fcf8f4;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--color-dark); }

/* ============================================
   HEADER / BANNER
   ============================================ */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-top: .375rem solid #dcd4cd;
  height: auto;
  pointer-events: none;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .banner { margin-top: 46px; }
}
.banner-bg-layer {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  pointer-events: none;
}
.brand {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #dcd4cd;
  padding: .375rem 1.25rem .875rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  pointer-events: auto;
  z-index: 2;
}
@media (min-width: 768px) {
  .brand { padding: .625rem 2rem 1rem; }
}
@media (min-width: 1201px) {
  .brand { padding: .462962963rem 1.4814814815rem .7407407407rem; }
}
@media (min-width: 1728px) {
  .brand { padding: .625rem 2rem 1rem; }
}
/* Decorative corners on the brand tab */
.brand::before,
.brand::after {
  content: "";
  position: absolute;
  background-color: transparent;
  top: 0;
  height: 10px;
  width: 1.5625rem;
  pointer-events: none;
}
@media (min-width: 1201px) {
  .brand::before, .brand::after { width: 1.1574074074rem; }
}
@media (min-width: 1728px) {
  .brand::before, .brand::after { width: 1.5625rem; }
}
.brand::before {
  border-top-left-radius: 10px;
  left: 100%;
  box-shadow: -10px 0 #dcd4cd;
}
.brand::after {
  border-top-right-radius: 10px;
  right: 100%;
  box-shadow: 10px 0 #dcd4cd;
}
.brand-logo {
  width: 4.25rem;
  display: block;
}
@media (min-width: 768px) {
  .brand-logo { width: 5.625rem; }
}
@media (min-width: 1201px) {
  .brand-logo { width: 4.1666666667rem; }
}
@media (min-width: 1728px) {
  .brand-logo { width: 5.625rem; }
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: var(--spacing-content);
  padding-right: var(--spacing-content);
  margin: 0 auto;
  pointer-events: none;
}
.banner-right {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Menu buttons */
.menu-button {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 .75rem;
  border-radius: 6px;
  height: 2.5rem;
  cursor: pointer;
  transition: color .3s cubic-bezier(0, .3, .3, 1), background-color .3s cubic-bezier(0, .3, .3, 1);
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  margin-top: .625rem;
}
@media (min-width: 768px) {
  .menu-button { margin-top: 1.125rem; margin-bottom: .5rem; }
}
@media (min-width: 1201px) {
  .menu-button {
    height: 1.8518518519rem;
    gap: .3703703704rem;
    padding: 0 .5555555556rem;
    margin-top: .8333333333rem;
    margin-bottom: .3703703704rem;
  }
}
@media (min-width: 1728px) {
  .menu-button {
    height: 2.5rem;
    gap: .5rem;
    padding: 0 .75rem;
    margin-top: 1.125rem;
    margin-bottom: .5rem;
  }
}
.menu-button-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}
.menu-button-label {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: .04em;
  font-size: .6875rem;
  line-height: .625rem;
  text-transform: uppercase;
  white-space: nowrap;
  display: none;
}
@media (min-width: 768px) {
  .menu-button-label { display: block; }
}
@media (min-width: 1201px) {
  .menu-button-label { font-size: .5092592593rem; line-height: .462962963rem; }
}
@media (min-width: 1728px) {
  .menu-button-label { font-size: .6875rem; line-height: .625rem; }
}

/* Dark theme (hero section) */
.banner.is-dark .menu-button {
  color: #f4ebe4;
  background: rgba(113, 88, 82, .2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.banner.is-dark .menu-button:hover {
  color: #fff;
  background: rgba(113, 88, 82, .4);
}

/* Light theme (below hero) */
.banner.is-light .menu-button {
  color: #715852;
  background: rgba(252, 248, 244, .2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.banner.is-light .menu-button:hover {
  color: #322622;
  background: rgba(252, 248, 244, .4);
}

/* ============================================
   NAVIGATION OVERLAY
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 900px;
  height: 100vh;
  background: var(--bs-body-bg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 2rem var(--spacing-content);
}
.site-nav.open { transform: translateX(0); }
.nav-close {
  position: absolute;
  top: 1.5rem;
  right: var(--spacing-content);
  width: 20px;
  height: 20px;
  color: var(--bs-body-color);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-close svg { width: 100%; height: 100%; }
.nav-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
}
.nav-lang {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.nav-lang-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: 0.4;
  transition: opacity var(--transition);
}
.nav-lang-link.active { opacity: 1; }
.nav-main { margin-bottom: 2rem; }
.nav-main li { margin-bottom: .25rem; }
.nav-main-link {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -.03em;
  display: block;
  padding: .2rem 0;
  transition: opacity var(--transition);
}
.nav-main-link:hover { opacity: 0.5; }
.nav-main-link.active { opacity: 1; }
.nav-secondary li { margin-bottom: .15rem; }
.nav-secondary a {
  font-size: .9rem;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.nav-secondary a:hover { opacity: 1; }

.nav-contact-info {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}
.nav-contact-title {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.nav-contact-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: 1.5rem;
}
.nav-contact-dept {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(113, 88, 82, .6);
}
.nav-contact-name { font-weight: 500; margin-bottom: .2rem; }
.nav-contact-link {
  text-decoration: underline;
  font-size: .9rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-image {
  width: 100vw;
  position: relative;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 85vh;
  max-height: 50.75rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-image-wrapper { height: 100svh; max-height: none; }
}
.hero-image-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-image-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  height: 85vh;
  max-height: 50.75rem;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.2), rgba(0,0,0,0));
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-image-overlay { height: 100svh; max-height: none; }
}
.hero-image-title {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: transparent;
  background: linear-gradient(125.75deg, #d5cec7 9.27%, #76726e 95.35%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) {
  .hero-image-title { padding-left: 6rem; padding-right: 6rem; }
}

/* Split-lines animation: each line reveals */
.hero-image-title .line {
  display: block;
  text-align: center;
  color: transparent;
  background: linear-gradient(125.75deg, #d5cec7 9.27%, #76726e 95.35%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .1em;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .8s cubic-bezier(.25, .005, 0, 1), transform .8s cubic-bezier(.25, .005, 0, 1);
}
.hero-image-title .line.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll indicator */
.hero-image-scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: .3s cubic-bezier(.25, .005, 0, 1) opacity;
  z-index: 2;
}
.hero-image-scroll-indicator-text {
  margin-bottom: .625rem;
  text-align: center;
  white-space: nowrap;
  color: rgba(252, 248, 244, .8);
}
.hero-image-scroll-indicator-line {
  width: 1px;
  height: 2.5rem;
  background-color: rgba(228, 220, 213, .8);
  position: relative;
  overflow: hidden;
}
.hero-image-scroll-indicator-animation {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fcf8f4;
  animation: scrollLineVertical 2s ease-in-out infinite;
}
@keyframes scrollLineVertical {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ============================================
   SCROLL CARDS (Sticky two-column layout)
   ============================================ */
.scroll-cards {
  padding: 5rem var(--spacing-content);
}
@media (min-width: 1201px) {
  .scroll-cards {
    display: grid;
    grid-template-columns: 31.25rem 1fr;
    gap: 4.212962963rem;
    align-items: start;
    padding-left: var(--spacing-content-large);
    padding-right: var(--spacing-content);
    margin: 0 auto;
    max-width: 1728px;
  }
}
@media (min-width: 1728px) {
  .scroll-cards {
    grid-template-columns: 42.1875rem 1fr;
    gap: clamp(5.6875rem, -7.034rem + 11.779vw, 11.8125rem);
    padding-left: 6.875rem;
    padding-right: 2.5rem;
    max-width: clamp(108rem, 95.02rem + 12.019vw, 114.25rem);
  }
}

/* Mobile: Title + cards inline */
.scroll-cards-title-content-wrapper {
  margin-bottom: 2rem;
}
@media (min-width: 1201px) {
  .scroll-cards-title-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - 5.5555555556rem * 2);
    position: sticky;
    top: 5.5555555556rem;
    margin-bottom: 0;
  }
  /* Progress line */
  .scroll-cards-title-content-wrapper::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: rgba(113, 88, 82, .15);
    top: 0;
    right: -2.037037037rem;
  }
  .scroll-cards-title-content-wrapper::after {
    content: "";
    position: absolute;
    width: 1px;
    height: var(--progress, 0%);
    background-color: var(--bs-body-color);
    top: 0;
    right: -2.037037037rem;
    transition: height .8s cubic-bezier(.77, 0, .175, 1);
  }
}
@media (min-width: 1728px) {
  .scroll-cards-title-content-wrapper {
    height: calc(100vh - 15rem);
    top: 7.5rem;
  }
  .scroll-cards-title-content-wrapper::before { right: -2.75rem; }
  .scroll-cards-title-content-wrapper::after { right: -2.75rem; }
}

.scroll-cards-title {
  margin-bottom: 1.25rem;
}
@media (min-width: 1201px) {
  .scroll-cards-title { margin-bottom: 3.7037037037rem; }
}
@media (min-width: 1728px) {
  .scroll-cards-title { margin-bottom: 5rem; }
}
.scroll-cards-title-title {
  display: block;
  margin-bottom: .5rem;
}
@media (min-width: 1201px) {
  .scroll-cards-title-title { margin-bottom: .9259259259rem; }
}
@media (min-width: 1728px) {
  .scroll-cards-title-title { margin-bottom: 1.25rem; }
}

/* Current content (only shown on desktop) */
.scroll-cards-current-content {
  display: none;
}
@media (min-width: 1201px) {
  .scroll-cards-current-content { display: block; }
  .scroll-cards-current-content .scroll-cards-content {
    display: none;
  }
  .scroll-cards-current-content .scroll-cards-content.active {
    display: block;
  }
}

/* Card content within cards (hidden on desktop) */
@media (min-width: 1201px) {
  .scroll-cards-card .scroll-cards-content { display: none; }
}

.scroll-cards-count { color: var(--color-accent); display: block; margin-bottom: .5rem; }
.scroll-cards-content-title { margin-top: 0; }

.scroll-cards-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .scroll-cards-container { gap: 3.75rem; }
}
@media (min-width: 1201px) {
  .scroll-cards-container { gap: 3.7037037037rem; }
}
@media (min-width: 1728px) {
  .scroll-cards-container { gap: 5rem; }
}

.scroll-cards-card {
  display: flex;
  flex-direction: column-reverse;
  gap: .75rem;
}
.scroll-cards-card:nth-child(odd) { padding-left: 1.25rem; padding-right: 5rem; }
.scroll-cards-card:nth-child(2n) { padding-left: 5rem; padding-right: 1.25rem; }
@media (min-width: 768px) {
  .scroll-cards-card { gap: 1.25rem; }
  .scroll-cards-card:nth-child(odd) { padding-left: 1.25rem; padding-right: 9.375rem; }
  .scroll-cards-card:nth-child(2n) { padding-left: 9.375rem; padding-right: 1.25rem; }
}
@media (min-width: 1201px) {
  .scroll-cards-card {
    flex-direction: row;
    align-items: flex-start;
    gap: .9259259259rem;
  }
  .scroll-cards-card:nth-child(odd),
  .scroll-cards-card:nth-child(2n) { padding: 0; }
}
@media (min-width: 1728px) {
  .scroll-cards-card { gap: 1.25rem; }
}

.scroll-cards-asset {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}
@media (min-width: 768px) {
  .scroll-cards-asset { border-radius: 12px; }
}
@media (min-width: 1201px) {
  .scroll-cards-asset {
    width: 17.1875rem;
    aspect-ratio: 275/178;
    flex-shrink: 0;
  }
}
.scroll-cards-asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform .8s cubic-bezier(0, .3, .3, 1);
}
@media (min-width: 1201px) {
  .scroll-cards-asset img { aspect-ratio: 275/178; }
}
.scroll-cards-card:hover .scroll-cards-asset img { transform: scale(1.03); }

/* ============================================
   EXPANDING IMAGE
   ============================================ */
.expanding-image {
  --bleed-progress: 0;
  --expanding-image-padding: 1.25rem;
  --expanding-image-aspect-ratio: 1 / 1;
  --bleed-br: 8px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
@media (min-width: 768px) {
  .expanding-image {
    --expanding-image-padding: 1.25rem;
    --expanding-image-aspect-ratio: 380 / 241;
    --bleed-br: 12px;
  }
}
@media (min-width: 1201px) {
  .expanding-image { --expanding-image-padding: 1.8518518519rem; }
}
@media (min-width: 1728px) {
  .expanding-image { --expanding-image-padding: 2.5rem; }
}
.expanding-image::after {
  z-index: 1;
  content: "";
  position: absolute;
  inset: 0 calc(var(--expanding-image-padding) * (1 - var(--bleed-progress)));
  pointer-events: none;
  box-shadow: 0 0 0 9999px var(--bs-body-bg);
  border-radius: calc(var(--bleed-br) * (1 - var(--bleed-progress)));
  transition: inset .1s linear, border-radius .1s linear;
}
.expanding-image-asset {
  min-height: 100svh;
  display: grid;
  place-items: stretch;
}
.expanding-image-asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100svh;
}

/* ============================================
   ARCHITECTURE SECTION
   ============================================ */
.architecture {
  padding: 5rem var(--spacing-content);
  max-width: 1728px;
  margin: 0 auto;
}
.section-heading-width {
  max-width: 700px;
  margin-bottom: 3.75rem;
}
@media (min-width: 1201px) {
  .section-heading-width { margin-bottom: 2.7777777778rem; }
}
@media (min-width: 1728px) {
  .section-heading-width { margin-bottom: 3.75rem; }
}

/* Quote block */
.quote-block {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .quote-block { grid-template-columns: 1fr auto; gap: 3rem; }
}
.quote-content { display: flex; flex-direction: column; }
.quote-icon {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  width: 26px;
  flex-shrink: 0;
}
.quote-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--bs-body-color);
}
.quote-text p { margin-bottom: 1rem; }
.quote-footer { margin-top: 1.5rem; }
.quote-author-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: block;
  font-style: normal;
  margin-bottom: .2rem;
}
.quote-author-role {
  font-size: .9rem;
  color: rgba(113, 88, 82, .6);
}
.quote-image {
  overflow: hidden;
  border-radius: 8px;
  width: 280px;
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  .quote-image { width: 100%; max-width: 280px; }
}
.quote-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 0.71;
}

/* Stats / Arguments */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.03em;
}
.stat-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(113, 88, 82, .6);
}
.stat-cta { justify-content: flex-end; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  padding: 5rem var(--spacing-content);
  background: #2c2923;
  color: #fcf8f4;
}
.timeline-header {
  max-width: 600px;
  margin-bottom: 3rem;
}
.timeline-header .subheading-m { color: rgba(252, 248, 244, .5); }
.timeline-header .heading-m { color: #fcf8f4; }
.timeline-container { position: relative; }
.timeline-line {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(252, 248, 244, .15);
}
.timeline-line-fill {
  height: 100%;
  background: #ae928a;
  transition: width 1s ease;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) {
  .timeline-list { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
.timeline-item { padding-top: 2rem; position: relative; }
.timeline-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(252, 248, 244, .1);
  border: 1.5px solid rgba(252, 248, 244, .25);
  transition: all var(--transition);
}
.timeline-item.done .timeline-dot {
  background: #ae928a;
  border-color: #ae928a;
}
.timeline-date {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(252, 248, 244, .5);
  margin-bottom: .5rem;
}
.timeline-event {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.02em;
}

/* ============================================
   HORIZONTAL GALLERY
   ============================================ */
.hgallery {
  padding: 5rem var(--spacing-content);
}
.hgallery-header {
  max-width: 700px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hgallery-header .body-m {
  max-width: 55ch;
}
.hgallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  cursor: grab;
}
.hgallery-track::-webkit-scrollbar { display: none; }
.hgallery-track:active { cursor: grabbing; }
.hgallery-item {
  flex: 0 0 80%;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 8px;
}
@media (min-width: 768px) {
  .hgallery-item { border-radius: 12px; }
}
@media (min-width: 1024px) {
  .hgallery-item { flex: 0 0 65%; }
}
.hgallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform .8s cubic-bezier(0, .3, .3, 1);
}
.hgallery-item:hover img { transform: scale(1.02); }

/* ============================================
   AMENITIES / PANORAMA
   ============================================ */
.amenities {
  padding: 5rem var(--spacing-content);
}
.panorama-viewer {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .panorama-viewer { border-radius: 12px; }
}
.panorama-image {
  aspect-ratio: 2/1;
  overflow: hidden;
}
.panorama-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s ease;
}
.panorama-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(12px);
  padding: .5rem 1rem;
  border-radius: 40px;
}
.panorama-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.panorama-buttons { display: flex; gap: .25rem; }
.panorama-btn {
  padding: .35rem .65rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  color: rgba(255,255,255,.6);
  border-radius: 20px;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border: none;
}
.panorama-btn.active {
  background: white;
  color: black;
}

/* ============================================
   MODERN LIVING
   ============================================ */
.modern-living {
  padding: 5rem var(--spacing-content);
}
.modern-heading {
  max-width: 700px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.two-images {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .two-images { grid-template-columns: 1fr 1fr; }
}
.two-images figure {
  overflow: hidden;
  border-radius: 8px;
}
@media (min-width: 768px) {
  .two-images figure { border-radius: 12px; }
}
.two-images img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .8s cubic-bezier(0, .3, .3, 1);
}
.two-images figure:hover img { transform: scale(1.02); }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card { display: flex; flex-direction: column; gap: .5rem; }
.feature-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(113, 88, 82, .6);
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.feature-desc {
  font-size: .85rem;
  color: rgba(113, 88, 82, .6);
  line-height: 1.5;
}

/* ============================================
   BOOK A MEETING
   ============================================ */
.book-meeting {
  padding: 5rem var(--spacing-content);
  background: #d5cec7;
}
.book-meeting-inner {
  display: grid;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .book-meeting-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.book-meeting-image {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}
@media (min-width: 768px) {
  .book-meeting-image { border-radius: 12px; }
}
.book-meeting-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 23%;
}
.book-meeting-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sales-contact {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.sales-name { font-weight: 500; }
.sales-link {
  text-decoration: underline;
  font-size: .95rem;
}

/* ============================================
   INTERIOR SECTION
   ============================================ */
.interior-section { position: relative; }
.interior-hero-img {
  width: 100%;
  aspect-ratio: 2/1;
  overflow: hidden;
}
.interior-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.interior-content {
  padding: 5rem var(--spacing-content);
}
.interior-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .interior-features { grid-template-columns: repeat(4, 1fr); }
}
.interior-feature {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.interior-num {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  color: rgba(113, 88, 82, .6);
}
.interior-feature h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.02em;
}

/* ============================================
   SKAI VILLAS
   ============================================ */
.villas-section { padding: 0; }
.villas-bg {
  background: #d5cec7;
  padding: 5rem var(--spacing-content);
}
.villas-inner { max-width: 1728px; margin: 0 auto; }
.villas-header {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .villas-header { grid-template-columns: 1fr 1fr; align-items: end; }
}
.villas-desc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.villas-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  cursor: grab;
}
.villas-gallery::-webkit-scrollbar { display: none; }
.villas-gallery:active { cursor: grabbing; }
.villas-img {
  flex: 0 0 60%;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 8px;
}
@media (min-width: 768px) {
  .villas-img { border-radius: 12px; }
}
@media (min-width: 1024px) {
  .villas-img { flex: 0 0 35%; }
}
.villas-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .8s cubic-bezier(0, .3, .3, 1);
}
.villas-img:hover img { transform: scale(1.02); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #2c2923;
  color: #fcf8f4;
  padding: 5rem var(--spacing-content) 2rem;
}
.footer-inner { max-width: 1728px; margin: 0 auto; }
.footer-brand { margin-bottom: 3rem; }
.footer-logo {
  width: 5.625rem;
  color: #fcf8f4;
}
.footer-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(252, 248, 244, .1);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.footer-dept {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(252, 248, 244, .4);
  margin-bottom: .25rem;
}
.footer-name { font-weight: 500; }
.footer-contact a {
  text-decoration: underline;
  color: rgba(252, 248, 244, .6);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: #fcf8f4; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 3rem;
}
.footer-links a {
  font-size: .85rem;
  color: rgba(252, 248, 244, .5);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fcf8f4; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(252, 248, 244, .1);
}
.footer-developer {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(252, 248, 244, .4);
}
.footer-endover { font-weight: 500; color: rgba(252, 248, 244, .6); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-size: .8rem;
  color: rgba(252, 248, 244, .4);
  transition: color var(--transition);
}
.footer-legal a:hover { color: #fcf8f4; }

/* ============================================
   CONTACT MODAL
   ============================================ */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.contact-modal.open { opacity: 1; pointer-events: auto; }
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}
.contact-modal-content {
  position: relative;
  background: var(--bs-body-bg);
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.contact-modal.open .contact-modal-content { transform: translateY(0); }
.contact-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 16px;
  height: 16px;
  cursor: pointer;
  background: none;
  border: none;
}
.contact-modal-close svg { width: 100%; height: 100%; }
.contact-form { margin-top: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(113, 88, 82, .6);
  margin-bottom: .5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 0;
  border: none;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--bs-body-color);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--bs-body-color); }
.form-group textarea { resize: vertical; }
.contact-form .btn-primary { width: 100%; margin-top: 1rem; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(0, .3, .3, 1), transform .6s cubic-bezier(0, .3, .3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Spacer utilities matching original */
.spacer-mb { margin-bottom: 3.75rem; }
@media (min-width: 768px) { .spacer-mb { margin-bottom: 5rem; } }
@media (min-width: 1201px) { .spacer-mb { margin-bottom: 5.5555555556rem; } }
@media (min-width: 1728px) { .spacer-mb { margin-bottom: 7.5rem; } }

.spacer-my { margin-top: 3.75rem; margin-bottom: 3.75rem; }
@media (min-width: 768px) { .spacer-my { margin-top: 5rem; margin-bottom: 5rem; } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  .hero-image-scroll-indicator { display: flex; }
}
