/* ==========================================================================
   KLM INTERIOR — ULTRA-LUXURY ARCHITECTURAL DESIGN SYSTEM
   Palette: Modern Italian Architectural (Travertine Stone, Slate Grey, Walnut & Matte Black)
   ========================================================================== */

:root {
  /* Dynamic Scale and Viewport */
  --_special-units---scale-ratio: 1;
  --scrollbar-width: 0px;

  /* Typography Scale */
  --font-serif: "Ambroise Francois Std", "Didot", "Bodoni MT", "Cinzel", "Playfair Display", serif;
  --font-sans: "Maison Neue Extended", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Italiana", "Playfair Display", serif;

  /* Modern Italian Architectural Color Tokens */
  --color-travertine-light: #f7f5f0;
  --color-travertine-dark: #ebe7de;
  --color-slate-grey: #6b6d70;
  --color-walnut-wood: #3a2e2b;
  --color-matte-black: #111113;
  --color-charcoal-deep: #16171a;
  --color-bronze-accent: #c49a6c;
  --color-border-light: rgba(17, 17, 19, 0.1);
  --color-border-dark: rgba(247, 245, 240, 0.15);

  /* Active Theme Variables (default: theme_on-light) */
  --theme-bg: var(--color-travertine-light);
  --theme-text: var(--color-matte-black);
  --theme-text-muted: var(--color-slate-grey);
  --theme-border: var(--color-border-light);
  --theme-card-bg: #ffffff;
  --theme-accent: var(--color-bronze-accent);

  /* Animation Timings */
  --dur-s: 0.4s;
  --dur-m: 0.8s;
  --dur-l: 1.2s;

  /* Cubic Bezier Easing */
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-hor: cubic-bezier(0.25, 0, 0.75, 1);
}

/* Chrome controls theme transition smoothing */
[data-theme] {
  transition: color var(--dur-s) var(--ease-out), background-color var(--dur-s) var(--ease-out), border-color var(--dur-s) var(--ease-out);
}

/* ==========================================================================
   THEME PALETTE CLASSES (Triggered on scroll by [data-bg])
   ========================================================================== */

.theme_on-light {
  --theme-bg: var(--color-travertine-light);
  --theme-text: var(--color-matte-black);
  --theme-text-muted: var(--color-slate-grey);
  --theme-border: var(--color-border-light);
  --theme-card-bg: #ffffff;
  --theme-accent: var(--color-walnut-wood);
}

.theme_on-dark {
  --theme-bg: var(--color-matte-black);
  --theme-text: var(--color-travertine-light);
  --theme-text-muted: #9da0a5;
  --theme-border: var(--color-border-dark);
  --theme-card-bg: var(--color-charcoal-deep);
  --theme-accent: var(--color-bronze-accent);
}

.theme_on-color {
  --theme-bg: var(--color-walnut-wood);
  --theme-text: var(--color-travertine-light);
  --theme-text-muted: #d8cec9;
  --theme-border: rgba(247, 245, 240, 0.2);
  --theme-card-bg: #2b2220;
  --theme-accent: var(--color-bronze-accent);
}

/* ==========================================================================
   GLOBAL RESETS & LENIS SMOOTH SCROLL INTEGRATION
   ========================================================================== */

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

html, body {
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  transition: background-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out);
  -webkit-font-smoothing: antialiased;
}

/* Lenis Recommended Root Setup */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ==========================================================================
   PRELOADER WITH ARCHITECTURAL ARCH MASK
   ========================================================================== */

.preloader {
  --arch-w: 24vw;
  --arch-y: 104vh;
  --arch-h: calc(var(--arch-w) * 1.85);

  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #0b0b0d;
  color: #f7f5f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;

  /* Multi-stage Architectural Arch Mask */
  -webkit-mask-image: 
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    radial-gradient(circle at 50% 100%, transparent 68%, #fff 70%);
  mask-image: 
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    radial-gradient(circle at 50% 100%, transparent 68%, #fff 70%);
  -webkit-mask-size:
    calc(50% - (var(--arch-w) / 2) + 2px) 100%,
    calc(var(--arch-w) + 4px) calc(var(--arch-y) + 2px),
    calc(50% - (var(--arch-w) / 2) + 2px) 100%,
    var(--arch-w) var(--arch-h);
  mask-size:
    calc(50% - (var(--arch-w) / 2) + 2px) 100%,
    calc(var(--arch-w) + 4px) calc(var(--arch-y) + 2px),
    calc(50% - (var(--arch-w) / 2) + 2px) 100%,
    var(--arch-w) var(--arch-h);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position:
    left top,
    center top,
    right top,
    center var(--arch-y);
  mask-position:
    left top,
    center top,
    right top,
    center var(--arch-y);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}

.preloader_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  z-index: 2;
}

.preloader_brand {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
}

.preloader_subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9da0a5;
}

.preloader_track_wrap {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.preloader_track {
  position: absolute;
  inset: 0;
  background: #c49a6c;
  transform: translateX(-100%);
}

/* ==========================================================================
   FLOATING INTERACTIVE CONTROLS (HEADER & CUSTOM SCROLLBAR)
   ========================================================================== */

.header {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-border);
  color: var(--theme-text);
  z-index: 1000;
  transition: border-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out);
}

.header_logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.header_logo_disc {
  width: 38px;
  height: 38px;
  border: 1px solid var(--theme-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header_logo_disc svg {
  width: 100%;
  height: 100%;
}

.header_logo_text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header_nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav_link {
  text-decoration: none;
  color: var(--theme-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  height: 1.2rem;
  display: block;
}

.nav_link [hover="text"] {
  display: block;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: var(--theme-text);
  color: var(--theme-bg);
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-s) var(--ease-out), background-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out);
}

.btn-pill:hover {
  transform: translateY(-2px);
}

/* Custom Draggable Scrollbar */
.custom-scrollbar {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: 40vh;
  width: 4px;
  background: var(--theme-border);
  border-radius: 4px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-scrollbar_fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--progress, 0%);
  background: var(--theme-accent);
  border-radius: 4px;
}

.custom-scrollbar_thumb {
  position: absolute;
  top: var(--progress, 0%);
  width: 14px;
  height: 14px;
  background: var(--theme-text);
  border-radius: 50%;
  transform: translate(-5px, -50%);
  cursor: grab;
  transition: transform 0.1s ease;
}

.custom-scrollbar_thumb:active {
  cursor: grabbing;
  transform: translate(-5px, -50%) scale(1.3);
}

.custom-scrollbar_counter {
  position: absolute;
  right: 1.5rem;
  top: var(--progress, 0%);
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--theme-text);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   HERO SCROLL AREA (3D PERSPECTIVE ZOOM + DAY/NIGHT SWITCH)
   ========================================================================== */

.hero-scroll-area {
  position: relative;
  width: 100%;
}

.hero-sticky-screen {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero_bg_render {
  position: absolute;
  inset: -10vh -5vw;
  width: 110vw;
  height: 120vh;
  transform-origin: 50% 70%;
  will-change: transform;
  z-index: 1;
}

.hero_render_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s var(--ease-in-out);
}

.hero_render_img.is-night {
  opacity: 0;
}

.hero_overlay_content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  padding: 0 2rem;
}

.hero_badge {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-travertine-light);
  margin-bottom: 1.5rem;
  background: rgba(17, 17, 19, 0.4);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero_title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95;
  font-weight: 300;
  color: var(--color-travertine-light);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Day / Night Ambient Toggle */
.hero_lighting_switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(17, 17, 19, 0.5);
  backdrop-filter: blur(12px);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.switch_btn {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d8cec9;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out);
}

.switch_btn.is-active {
  background: #ffffff;
  color: #111113;
  font-weight: 600;
}

/* ==========================================================================
   BENEFITS & ETHOS SECTION (WORD SPACING SCRUB + SNAP CARDS)
   ========================================================================== */

.ethos_section {
  padding: 8rem 4rem 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-height: 120vh;
}

.ethos_stretch_text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4.5rem);
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1.1;
  max-width: 1200px;
  margin-bottom: 4rem;
  will-change: word-spacing;
}

.snap_grid_wrap {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.snap_card {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m) var(--ease-out);
  position: relative;
}

.snap_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.snap_card_img_wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e2d8 0%, #d8cec3 100%);
}

.snap_card_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-l) var(--ease-out);
}

.snap_card:hover .snap_card_img {
  transform: scale(1.08);
}

.snap_card_content {
  padding: 2.2rem;
  text-align: left;
}

.snap_card_num {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--theme-accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.snap_card_title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.snap_card_desc {
  font-size: 0.95rem;
  color: var(--theme-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PINNED HORIZONTAL PORTFOLIO (loc-scroll-area technique)
   ========================================================================== */

.horizontal_scroll_area {
  position: relative;
  width: 100%;
}

.horizontal_sticky_screen {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.horizontal_track {
  display: flex;
  gap: 4vw;
  padding: 0 6vw;
  width: max-content;
  will-change: transform;
}

.portfolio_item {
  width: 50vw;
  height: 72vh;
  flex-shrink: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #2b2628 0%, #171517 100%);
}

.portfolio_item_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform var(--dur-l) var(--ease-out);
}

.portfolio_item:hover .portfolio_item_img {
  transform: scale(1.05);
}

.portfolio_item_overlay {
  position: absolute;
  inset: 0;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 19, 0.9) 100%);
  color: #fff;
}

.portfolio_tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-bronze-accent);
  margin-bottom: 0.5rem;
}

.portfolio_title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   INTERACTIVE HOTSPOTS & FLOATING TIPS
   ========================================================================== */

.hotspot_pin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.hotspot_pin_pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--color-bronze-accent);
  animation: pulseRipple 2s infinite var(--ease-out);
}

.hotspot_pin_inner {
  width: 12px;
  height: 12px;
  background: var(--color-bronze-accent);
  border-radius: 50%;
}

@keyframes pulseRipple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.floating_tip_card {
  position: fixed;
  pointer-events: none;
  background: rgba(17, 17, 19, 0.92);
  color: #f7f5f0;
  backdrop-filter: blur(16px);
  padding: 1.25rem 1.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 280px;
  z-index: 2000;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.floating_tip_card.is-active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   PERSPECTIVE ARCHITECTURE PORTAL & FOOTER
   ========================================================================== */

.portal_section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.portal_sticky {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal_door_l, .portal_door_r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: linear-gradient(135deg, #241c1a 0%, #171211 100%);
  border: 1px solid rgba(196, 154, 108, 0.3);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.9);
  z-index: 5;
  will-change: transform;
}

.portal_door_l { left: 0; }
.portal_door_r { right: 0; }

.portal_inner_scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
}

.portal_inner_img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: scale(1.0);
  will-change: transform;
}

/* Framing Card Footer */
.footer_wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  background: var(--color-charcoal-deep);
}

.footer_sticky {
  width: 100%;
  max-width: 1350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_card {
  width: 100%;
  background: #17181c;
  color: #f7f5f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  will-change: transform, opacity;
}

/* ==========================================================================
   3D PERSPECTIVE MODAL CTA
   ========================================================================== */

.modal_overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(20px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.modal_card {
  width: 90%;
  max-width: 600px;
  background: #17181c;
  color: #f7f5f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 3.5rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  transform-style: preserve-3d;
  position: relative;
}

.modal_close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Kinetic Typography Split Helper Classes */
.split-char, .split-word, .split-line {
  display: inline-block;
  will-change: transform, opacity;
}
.split-line {
  overflow: hidden;
  vertical-align: top;
}

/* ==========================================================================
   ASYMMETRIC MULTI-COLUMN PARALLAX (CTN-UP & CTN-DOWN)
   ========================================================================== */

.asym_parallax_wrap {
  width: 100%;
  max-width: 1350px;
  margin: 8rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.asym_col {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  will-change: transform;
}

.asym_card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-border);
  transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m) var(--ease-out);
}

.asym_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.asym_card_img_wrap {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.asym_card_img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: -10%;
  left: 0;
  will-change: transform;
}

.asym_card_content {
  padding: 2.5rem;
  text-align: left;
}

.asym_card_tag {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--theme-accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.asym_card_title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.asym_card_desc {
  font-size: 0.95rem;
  color: var(--theme-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ARCHITECTURAL MONOLITH METRICS & PRESS ACCLAIM
   ========================================================================== */

.metrics_section {
  position: relative;
  width: 100%;
  padding: 10rem 4rem;
  background: var(--color-charcoal-deep);
  color: #f7f5f0;
  overflow: hidden;
}

.metrics_inner {
  max-width: 1350px;
  margin: 0 auto;
}

.metrics_header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 6rem;
}

.metrics_header_tag {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c49a6c;
  display: block;
  margin-bottom: 1rem;
}

.metrics_header_title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
}

.metrics_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4rem 0;
  margin-bottom: 6rem;
}

.metric_item {
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
}

.metric_val {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: #c49a6c;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.metric_lbl {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9da0a5;
  line-height: 1.4;
}

.press_quotes_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.press_card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.press_quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: #ebe7de;
  margin-bottom: 1.5rem;
}

.press_author {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c49a6c;
  font-weight: 600;
}

/* ==========================================================================
   RESIDENCE SPATIAL COMPARISON & SPECIFICATIONS DRAWER
   ========================================================================== */

.specs_section {
  position: relative;
  width: 100%;
  padding: 10rem 4rem;
  background: var(--theme-bg);
  color: var(--theme-text);
}

.specs_inner {
  max-width: 1350px;
  margin: 0 auto;
}

.specs_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--theme-border);
  padding-bottom: 2rem;
}

.specs_tabs {
  display: flex;
  gap: 1.5rem;
}

.spec_tab_btn {
  background: transparent;
  border: 1px solid var(--theme-border);
  color: var(--theme-text);
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-s) var(--ease-out);
}

.spec_tab_btn.is-active, .spec_tab_btn:hover {
  background: var(--theme-text);
  color: var(--theme-bg);
  border-color: var(--theme-text);
}

.spec_panel {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.spec_panel.is-active {
  display: grid;
}

.spec_render_wrap {
  position: relative;
  height: 560px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--theme-border);
}

.spec_render_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec_table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.spec_row {
  display: flex;
  justify-content: space-between;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--theme-border);
}

.spec_k {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--theme-text-muted);
}

.spec_v {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--theme-text);
  text-align: right;
}

/* ==========================================================================
   DESIGN JOURNAL / SPATIAL STUDIES SECTION
   ========================================================================== */

.journal_section {
  position: relative;
  width: 100%;
  padding: 10rem 4rem;
  background: var(--theme-bg);
  color: var(--theme-text);
}

.journal_inner {
  max-width: 1350px;
  margin: 0 auto;
}

.journal_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}

.journal_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.journal_card {
  display: flex;
  flex-direction: column;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m) var(--ease-out);
}

.journal_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.journal_img_wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.journal_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-l) var(--ease-out);
}

.journal_card:hover .journal_img {
  transform: scale(1.08);
}

.journal_content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.journal_meta {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--theme-accent);
  margin-bottom: 0.75rem;
}

.journal_title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.journal_snippet {
  font-size: 0.9rem;
  color: var(--theme-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.journal_link {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--theme-text);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .snap_grid_wrap { grid-template-columns: 1fr; }
  .header_nav { display: none; }
  .portfolio_item { width: 85vw; height: 60vh; }
  .asym_parallax_wrap { grid-template-columns: 1fr; gap: 3rem; }
  .metrics_grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .press_quotes_wrap { grid-template-columns: 1fr; gap: 2rem; }
  .spec_panel.is-active { grid-template-columns: 1fr; gap: 2rem; }
  .specs_top { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .specs_tabs { flex-wrap: wrap; }
  .journal_grid { grid-template-columns: 1fr; gap: 2rem; }
  .journal_header { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .footer_card { padding: 3rem 2rem; }
}
