/* ==========================================================================
   HANZILA RAFIQ — BEYOND THE HORIZON
   Master Editorial Direction & Cinematic WebGL Portfolio
   ========================================================================== */

:root {
  /* Cinematic Dark Theme Tokens */
  --bg-dark: #08090c;
  --bg-dark-card: rgba(16, 18, 24, 0.72);
  --text-dark-main: #f1efea;
  --text-dark-sub: #a3a6af;
  --text-dark-dim: #5c6270;
  --accent-gold: #e4d6bf;
  --accent-blue: #7aa8ff;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(255, 255, 255, 0.22);

  /* The Workprint Opaque Light Theme Tokens */
  --bg-paper: #f4ede7;
  --bg-paper-card: rgba(255, 255, 255, 0.6);
  --text-paper-ink: #171817;
  --text-paper-sub: #545753;
  --text-paper-dim: #82857f;
  --border-paper: rgba(23, 24, 23, 0.12);
  --border-paper-hover: rgba(23, 24, 23, 0.35);

  /* Typography Stacks */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hero: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Motion Easings */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-paper: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base Rules
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-dark);
  color: var(--text-dark-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  overflow-x: clip;
  background-color: var(--bg-dark);
  color: var(--text-dark-main);
  min-height: 100vh;
  position: relative;
  user-select: text;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .timeline-hud,
body.is-loading .bottom-hud {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

::selection {
  background: rgba(228, 214, 191, 0.28);
  color: inherit;
}

a,
button {
  color: inherit;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(228, 214, 191, 0.65);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Atmospheric Overlays: Film Grain
   -------------------------------------------------------------------------- */
.film-grain {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Fluid Inversion Bubble Cursor (Difference Blending)
   -------------------------------------------------------------------------- */
/* Hide default cursor smoothly on interactive desktops */
html,
body,
a,
button,
[role="button"],
input,
select,
textarea,
.sanctuary-collapsed-row,
.sanctuary-toggle-btn,
.expanded-reserve-btn,
.services-row,
.contact-copy-btn,
.contact-ledger-row {
  cursor: none !important;
}

.cursor-bubble {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  mix-blend-mode: difference;
  opacity: 0;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
  will-change: transform;
}

.cursor-bubble.is-hover {
  width: 64px;
  height: 64px;
}

/* On touch devices (smartphones, tablets), hide the bubble and restore standard touch behavior */
@media (pointer: coarse) {

  html,
  body,
  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  a,
  button,
  input,
  select,
  textarea {
    cursor: pointer !important;
  }

  .cursor-bubble {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Preloader (Midnight Studio & Amber-Cyan Architectural Veil Reveal)
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 75% 65%, rgba(245, 185, 113, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 22% 35%, rgba(103, 212, 245, 0.14) 0%, transparent 50%),
    linear-gradient(155deg, #070b14 0%, #0e1424 55%, #161224 100%);
  pointer-events: all;
  overflow: hidden;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-veil {
  position: absolute;
  top: -15vh;
  left: -20vw;
  width: 140vw;
  height: 130vh;
  display: flex;
  z-index: 1;
  pointer-events: none;
  transform: skewX(-11deg);
}

.veil-column {
  flex: 1;
  height: 100%;
  background: linear-gradient(180deg, #080c17 0%, #0e1426 52%, #151226 100%);
  border-right: 1px solid rgba(125, 211, 252, 0.04) !important;
  outline: none !important;
  box-shadow: none !important;
  margin-right: -2px;
  transform-origin: top center;
  will-change: transform;
}

.veil-column:nth-child(even) {
  background: linear-gradient(180deg, #090e1a 0%, #10172b 52%, #191529 100%);
}

.veil-column:last-child {
  margin-right: 0;
}

.preloader-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
}

.preloader-title-wrap,
.preloader-sub-wrap {
  overflow: hidden;
}

.preloader-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.15;
  color: #faf8f5;
  display: inline-block;
}

.preloader-sub {
  font-family: 'Urbanist', 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.36em;
  color: rgba(228, 214, 191, 0.78);
  display: inline-block;
}

.preloader-line-wrap {
  width: 240px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.preloader-line {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(228, 214, 191, 0.35) 0%, #faede0 100%);
  box-shadow: 0 0 10px rgba(250, 237, 224, 0.35);
  transition: width 0.25s ease-out;
}

.preloader-num {
  font-family: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  color: #e4d6bf;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Master Header (Exact Matching to Reference)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10005;
  pointer-events: auto;
  transition: color 0.4s ease, background 0.4s ease;
  background: transparent;
  color: #ffffff;
}

body.is-loading .site-header {
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 4.5rem;
  max-width: 1760px;
  margin: 0 auto;
  width: 100%;
}

.brand-monogram {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.hr-monogram-svg {
  display: block;
  width: 38px;
  height: 26px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-monogram:hover .hr-monogram-svg {
  opacity: 0.85;
  transform: scale(1.03);
}

.site-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3.2rem;
  background: transparent;
  border: none;
  padding: 0;
  backdrop-filter: none;
}

.nav-item {
  font-family: var(--font-hero);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0.25rem 0;
  opacity: 1;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.nav-item:hover {
  color: #faede0;
  transform: translateX(3px);
}

.nav-item.is-active {
  opacity: 1;
  color: #ffffff;
}

.btn-talk {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #fff2dc 0%, #ffd49e 100%);
  color: #0b0e17;
  font-family: var(--font-hero);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.52rem 1.3rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(255, 212, 158, 0.35), 0 0 48px rgba(125, 211, 252, 0.16);
  transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

.btn-talk:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(255, 212, 158, 0.5), 0 0 60px rgba(125, 211, 252, 0.24);
  background: linear-gradient(135deg, #fff6e6 0%, #ffe0b5 100%);
}

.btn-talk .btn-arrow {
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-talk:hover .btn-arrow {
  transform: translateX(2px);
}

.btn-talk:active,
.btn-explore:active,
.highend-cta-btn:active,
.qa-cta-btn:active,
.seo-cta-btn:active,
.expanded-reserve-btn:active {
  transform: translateY(0) scale(0.985);
}




/* Ensure no native scrollbar can ever appear on project containers */
#scene-projects,
#scene-projects *,
.projects-container,
.projects-carousel,
.carousel-track,
.projects-hud-bar,
.project-card,
.card-content {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

#scene-projects::-webkit-scrollbar,
#scene-projects *::-webkit-scrollbar,
.projects-container::-webkit-scrollbar,
.projects-carousel::-webkit-scrollbar,
.carousel-track::-webkit-scrollbar,
.projects-hud-bar::-webkit-scrollbar,
.project-card::-webkit-scrollbar,
.card-content::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* --------------------------------------------------------------------------
   Scroll Runway & Pinned Viewport Stage
   -------------------------------------------------------------------------- */
.scroll-runway {
  position: relative;
  width: 100%;
  height: 980vh;
  /* Intro runway for Hero + About Me + Background Video */
}

.scroll-runway-services {
  position: relative;
  width: 100%;
  height: 2200vh;
  margin-top: -400vh;
  margin-top: -400dvh;
  z-index: 30;
  pointer-events: none;
}

.stage-pin {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
}

.stage-pin-services {
  background: transparent;
}

.sequence-canvas,
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform;
}

.sequence-canvas {
  z-index: 1;
}

.particles-canvas {
  z-index: 2;
}

.cinematic-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 9, 17, 0.78) 0%, rgba(6, 9, 17, 0.42) 48%, rgba(6, 9, 17, 0.22) 100%),
    radial-gradient(circle at 50% 50%, rgba(6, 9, 17, 0.1) 0%, rgba(6, 9, 17, 0.48) 76%, rgba(6, 9, 17, 0.76) 100%),
    linear-gradient(180deg, rgba(6, 9, 17, 0.45) 0%, transparent 22%, transparent 76%, rgba(6, 9, 17, 0.65) 100%);
}

/* --------------------------------------------------------------------------
   Cinematic Chapters Deck (Chapters 01, 02, 03)
   -------------------------------------------------------------------------- */
.cinematic-deck {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinematic-deck-resumed {
  position: absolute;
  inset: 0;
  z-index: 28;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 5vh, 4.5rem) clamp(1.2rem, 3.5vw, 3rem);
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.story-scene#scene-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.story-scene#scene-craft {
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.story-scene.is-active {
  pointer-events: auto;
}

.story-scene.is-temp-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

.story-scene.is-temp-backdrop {
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.scene-container {
  position: relative;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  pointer-events: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.badge-num {
  background: rgba(122, 168, 255, 0.08);
  border: 1px solid rgba(122, 168, 255, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   CHAPTER 01: HERO / THE ARRIVAL (Exact Reference Replica)
   -------------------------------------------------------------------------- */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 1440px;
  width: 100%;
  padding-left: 3.5rem;
  padding-right: 2rem;
  margin-top: -2vh;
  position: relative;
}

body.is-loading #scene-hero .hero-eyebrow,
body.is-loading #scene-hero .mask-reveal span,
body.is-loading #scene-hero .hero-tagline,
body.is-loading #scene-hero .hero-actions,
body.is-loading #scene-hero .hero-scroll-cue {
  opacity: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.eyebrow-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.75;
}

.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--accent-gold);
  text-transform: none;
  text-shadow: 0 2px 16px rgba(6, 9, 17, 0.8);
}

.hero-display {
  font-family: var(--font-hero);
  font-size: clamp(3.2rem, 6.8vw, 6.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 6px 36px rgba(5, 8, 16, 0.65);
  margin-bottom: 0;
}

.display-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.display-line span {
  display: inline-block;
}

.champagne-text {
  font-family: var(--font-hero) !important;
  font-style: italic;
  font-size: clamp(3.2rem, 6.8vw, 6.2rem);
  font-weight: 400;
  color: #faede0 !important;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 0.1rem;
  display: inline-block;
  text-shadow: 0 6px 32px rgba(5, 8, 16, 0.6);
}

.hero-tagline {
  font-family: var(--font-hero);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 300;
  color: rgba(228, 232, 240, 0.82);
  text-shadow: 0 2px 18px rgba(5, 8, 16, 0.8);
  line-height: 1.6;
  margin: 1.4rem 0 2.8rem;
  max-width: 580px;
}

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

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fff2dc 0%, #ffd49e 100%);
  color: #0b0e17;
  font-family: var(--font-hero);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.98rem 2.3rem;
  border-radius: 9999px;
  border: none;
  position: relative;
  box-shadow: 0 10px 34px rgba(255, 212, 158, 0.35), 0 0 60px rgba(125, 211, 252, 0.16);
  transition: all 0.35s var(--ease-editorial);
}

.btn-explore::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 240%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(253, 238, 213, 0.4) 0%, rgba(253, 238, 213, 0.12) 45%, transparent 70%);
  border-radius: 9999px;
  pointer-events: none;
  z-index: -1;
  filter: blur(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-explore:hover {
  transform: translateY(-2px);
  background: #fff4e0;
  box-shadow: 0 0 45px rgba(253, 238, 213, 0.65), 0 0 90px rgba(253, 238, 213, 0.35);
}

.btn-explore:hover::after {
  transform: translate(-50%, -50%) scale(1.12);
  opacity: 1;
}

.btn-explore .btn-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-explore:hover .btn-arrow {
  transform: translateX(4px);
}

/* Bottom Center Scroll Cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  pointer-events: auto;
  z-index: 20;
}

.scroll-cue-text {
  font-family: var(--font-hero);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.35s ease, letter-spacing 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: heroScrollFloat 2.4s ease-in-out infinite;
  will-change: transform;
}

.scroll-cue-line {
  width: 1px;
  height: 28px;
  background: #ffffff;
  opacity: 0.85;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  animation: heroScrollFloat 2.4s ease-in-out infinite;
  will-change: transform;
}

.hero-scroll-cue:hover .scroll-cue-text {
  opacity: 1;
  letter-spacing: 0.34em;
}

.hero-scroll-cue:hover .scroll-cue-line {
  height: 36px;
  opacity: 1;
}

@keyframes heroScrollFloat {

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

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

/* Right Side Luminous Custom Scrollbar handles the rail globally */

/* --------------------------------------------------------------------------
   CHAPTER 02: ABOUT ME (Minimal Awwwards Editorial)
   -------------------------------------------------------------------------- */
.about-me-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(920px, 90vw);
  width: 100%;
  margin: 0 auto;
  pointer-events: auto;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.2rem, 3.2vh, 2.2rem);
  will-change: transform, opacity;
}

.about-eyebrow .eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--accent-gold);
  opacity: 0.75;
  border-radius: 1px;
}

.about-eyebrow .eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  font-weight: 500;
  text-transform: uppercase;
}

.about-display {
  font-family: var(--font-hero);
  font-size: clamp(3rem, min(6.8vw, 11vh), 6.2rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 6px 36px rgba(5, 8, 16, 0.65);
  margin-bottom: clamp(1.2rem, 2.8vh, 2rem);
  will-change: transform, opacity;
}

.about-display .champagne-italic {
  font-family: var(--font-hero);
  font-style: italic;
  color: #faede0;
  font-weight: 400;
  text-shadow: 0 6px 32px rgba(5, 8, 16, 0.6);
}

.about-bio {
  font-family: var(--font-hero);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(228, 232, 240, 0.84);
  text-shadow: 0 2px 20px rgba(5, 8, 16, 0.85);
  max-width: 54ch;
  margin: 0 auto clamp(1.8rem, 3.8vh, 2.6rem);
  will-change: transform, opacity;
}

.about-cta-wrap {
  display: flex;
  justify-content: center;
  will-change: transform, opacity;
}

/* --------------------------------------------------------------------------
   CHAPTER 02: ABOUT / PERSPECTIVE (Exact Reference Replica)
   -------------------------------------------------------------------------- */
.perspective-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  pointer-events: auto;
}

.perspective-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.2rem, 5.5vh, 2.4rem);
}

.perspective-eyebrow .eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--accent-gold);
  opacity: 0.75;
  border-radius: 1px;
}

.perspective-eyebrow .eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  font-weight: 500;
  text-transform: none;
}

.perspective-display {
  font-family: var(--font-hero);
  font-size: clamp(2.8rem, min(6.2vw, 10.5vh), 5.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: clamp(1.1rem, 4.3vh, 1.8rem);
  text-align: center;
}

.perspective-display .display-line {
  display: block;
  overflow: hidden;
  line-height: 1.1;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.perspective-display .champagne-italic {
  font-family: var(--font-hero);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, #dfcaa7 0%, #ebd7be 22%, #f4e8d8 50%, #faf7f4 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.perspective-tagline {
  font-family: var(--font-hero), sans-serif;
  font-size: clamp(0.92rem, min(1.15vw, 2.6vh), 1.15rem);
  font-weight: 300;
  color: rgba(240, 245, 252, 0.88);
  line-height: 1.6;
  letter-spacing: 0.01em;
  max-width: min(540px, 90vw);
  margin: 0 auto clamp(2.4rem, 10.5vh, 4.6rem) auto;
  text-align: center;
}

/* Stepper Track (Individual Dots with 2px Connecting Lines) */
.perspective-stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: min(380px, 86vw);
  margin: 0 auto;
  padding-bottom: clamp(2.2rem, 4vh, 3.2rem);
}

.stepper-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  outline: none;
  user-select: none;
  width: 14px;
  flex: 0 0 14px;
}

.step-node {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.node-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid rgba(225, 235, 245, 0.55);
  background: #080a0e;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.stepper-step.is-active .node-dot {
  background: #ffeecf;
  border-color: #ffeecf;
  box-shadow: 0 0 12px 2px rgba(255, 238, 212, 0.75), 0 0 28px 6px rgba(255, 238, 212, 0.32);
}

.stepper-step:hover .node-dot {
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.15);
}

.stepper-step.is-active:hover .node-dot {
  transform: scale(1.2);
}

.stepper-connector {
  flex: 1;
  height: 2px;
  background: rgba(225, 235, 245, 0.35);
  margin-top: 6px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 1px;
}

.step-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  text-align: center;
  white-space: nowrap;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.step-title {
  font-family: var(--font-hero), sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.stepper-step.is-active .step-num,
.stepper-step.is-active .step-title {
  color: #e4d6bf;
}

.stepper-step.is-active:hover .step-title {
  color: #f5e8d5;
}

.stepper-step:hover .step-title {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   CHAPTER 03: APPROACH (Exact Reference Replica)
   -------------------------------------------------------------------------- */
.craft-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: min(1140px, 90vw);
  width: 100%;
  margin: 0 auto;
  pointer-events: auto;
}

.approach-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.1rem, 2.2vh, 1.6rem);
}

.approach-eyebrow .eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 1.5px;
  background: var(--accent-gold);
  opacity: 0.75;
  border-radius: 1px;
}

.approach-eyebrow .eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  font-weight: 500;
  text-transform: none;
}

.craft-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: clamp(2rem, 4vh, 3.2rem);
  text-align: left;
  overflow: visible;
  padding-bottom: 0.12em;
}

.craft-headline .craft-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #ede8db;
  letter-spacing: 0;
  margin-left: 0.08em;
}

.craft-ledger {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(225, 235, 245, 0.12);
}

.craft-row {
  display: grid;
  grid-template-columns: 46px clamp(160px, 18vw, 210px) 1px 1fr;
  align-items: center;
  column-gap: clamp(1.8rem, 3.6vw, 3.6rem);
  padding: clamp(1.3rem, 2.6vh, 2rem) 0;
  border-bottom: 1px solid rgba(225, 235, 245, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.craft-row:hover {
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(225, 235, 245, 0.22);
}

.craft-num {
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  letter-spacing: 0.14em;
  color: #8c9fb7;
  font-weight: 500;
}

.craft-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.28;
  padding-bottom: 0.18em;
  letter-spacing: -0.01em;
  margin: 0;
  overflow: visible;
  transition: transform 0.25s ease, color 0.25s ease;
}

.craft-row:hover .craft-title {
  transform: translateX(3px);
  color: #ffffff;
}

.craft-divider {
  display: block;
  width: 1px;
  height: clamp(30px, 4vh, 38px);
  background: rgba(225, 235, 245, 0.22);
  align-self: center;
  transition: background 0.25s ease;
}

.craft-row:hover .craft-divider {
  background: rgba(228, 214, 191, 0.5);
}

.craft-desc {
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.94rem, 1.05vw, 1.08rem);
  font-weight: 400;
  color: rgba(240, 245, 252, 0.82);
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CHAPTER 05: SELECTED WORKS (Curated Sanctuaries Exact Replica)
   -------------------------------------------------------------------------- */
.sanctuaries-dark-section {
  position: relative;
  z-index: 36;
  margin-top: -100vh;
  margin-top: -100dvh;
  color: var(--text-dark-main);
  background: radial-gradient(circle at 50% 0%, #131722 0%, #090b10 48%, #06070a 100%);
  border-top: 1px solid rgba(228, 214, 191, 0.2);
  box-shadow: 0 -32px 90px rgba(0, 0, 0, 0.94), 0 -4px 20px rgba(0, 0, 0, 0.65);
  padding: clamp(6.5rem, 10vh, 9.5rem) clamp(1.75rem, 5vw, 6rem) clamp(14rem, 28vh, 22rem);
  overflow: hidden;
  pointer-events: auto;
}

.sanctuaries-dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 80vw);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(250, 237, 224, 0.65) 50%, transparent 100%);
  z-index: 25;
  pointer-events: none;
}

.projects-ambient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.projects-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  pointer-events: none;
}

.projects-orb-gold {
  width: clamp(460px, 55vw, 860px);
  height: clamp(460px, 55vw, 860px);
  top: -18%;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  background: radial-gradient(circle, rgba(228, 214, 191, 0.09) 0%, rgba(228, 214, 191, 0.03) 42%, transparent 72%);
  animation: projectsOrbFloatGold 20s ease-in-out infinite alternate;
}

.projects-orb-indigo {
  width: clamp(420px, 50vw, 780px);
  height: clamp(420px, 50vw, 780px);
  bottom: -20%;
  right: -8%;
  background: radial-gradient(circle, rgba(122, 168, 255, 0.08) 0%, rgba(122, 168, 255, 0.025) 45%, transparent 72%);
  animation: projectsOrbFloatIndigo 24s ease-in-out infinite alternate;
}

@keyframes projectsOrbFloatGold {
  0% {
    transform: translate3d(-52%, -4%, 0) scale(1);
  }

  100% {
    transform: translate3d(-46%, 6%, 0) scale(1.08);
  }
}

@keyframes projectsOrbFloatIndigo {
  0% {
    transform: translate3d(0%, 0%, 0) scale(1);
  }

  100% {
    transform: translate3d(-8%, -10%, 0) scale(1.1);
  }
}

.projects-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 45%, #000 15%, transparent 85%);
  mask-image: radial-gradient(ellipse 78% 70% at 50% 45%, #000 15%, transparent 85%);
}

.projects-paper-grain {
  position: absolute;
  inset: 0;
  background-image: url('assets/noise.png');
  background-repeat: repeat;
  background-size: 80px 80px;
  opacity: 0.032;
  pointer-events: none;
}

.projects-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(620px circle at var(--mx, 50%) var(--my, 35%),
      rgba(250, 237, 224, 0.065) 0%,
      rgba(122, 168, 255, 0.025) 35%,
      transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.sanctuaries-dark-section:hover .projects-spotlight {
  opacity: 1;
}

.expedition-collection {
  z-index: 20;
  color: var(--text-dark-main);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.expedition-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(3.5rem, 6vh, 5.5rem);
}

.expedition-tag-wrapper {
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  display: inline-flex;
}

.expedition-tag-line {
  opacity: 0.75;
  background: var(--accent-gold);
  width: 28px;
  height: 1px;
  display: inline-block;
}

.expedition-tag {
  font-family: var(--font-mono);
  letter-spacing: 0.24em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 0.72rem;
  font-weight: 500;
  display: inline-block;
}

.expedition-title {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.35rem;
  font-size: clamp(3.1rem, 5.4vw, 5.4rem);
  font-weight: 500;
  line-height: 1.05;
}

.expedition-title .luxury-gradient-text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: #faede0;
  -webkit-text-fill-color: initial;
  background: none;
}

.expedition-subtitle {
  font-family: var(--font-body);
  color: rgba(228, 232, 240, 0.74);
  max-width: 580px;
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.06vw, 1.1rem);
  font-weight: 400;
  line-height: 1.72;
}

.sanctuaries-index-wrapper {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.sanctuary-index-block {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.4s ease;
}

.sanctuary-index-block.is-active {
  border-top-color: rgba(228, 214, 191, 0.45);
}

.sanctuary-collapsed-row {
  cursor: pointer;
  background: transparent;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.5rem, 2.8vh, 2.15rem) 0.5rem;
  transition: padding-left 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s;
  display: flex;
  position: relative;
}

.collapsed-left {
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(1.4rem, 3vw, 3.2rem);
  display: flex;
}

.collapsed-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.collapsed-index {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  opacity: 0.9;
  min-width: 1.85rem;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
}

.collapsed-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #f4f2ed;
  letter-spacing: -0.02em;
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 400;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.collapsed-region {
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(163, 166, 175, 0.72);
  font-size: 0.6875rem;
  font-weight: 500;
  transition: color 0.4s ease;
}

.sanctuary-collapsed-row:hover .collapsed-title,
.sanctuary-index-block.is-active .collapsed-title {
  color: #faede0;
  transform: translateX(10px);
}

.sanctuary-collapsed-row:hover .collapsed-region,
.sanctuary-index-block.is-active .collapsed-region {
  color: var(--accent-gold);
}

.sanctuary-collapsed-row:hover .sanctuary-toggle-btn {
  color: #faede0;
  background: rgba(228, 214, 191, 0.12);
  border-color: rgba(228, 214, 191, 0.7);
  transform: scale(1.08);
}

.sanctuary-toggle-btn {
  color: rgba(241, 239, 234, 0.78);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  transition: all 0.65s cubic-bezier(0.65, 0, 0.35, 1);
  display: inline-flex;
}

.toggle-glyph {
  font-family: var(--font-body);
  transform-origin: 50%;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.95s cubic-bezier(0.65, 0, 0.35, 1), color 0.6s;
  display: inline-block;
}

.sanctuary-index-block.is-active .toggle-glyph {
  color: #faede0;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s;
  transform: rotate(45deg);
}

.sanctuary-index-block.is-active .sanctuary-toggle-btn {
  background: rgba(228, 214, 191, 0.16);
  border-color: rgba(228, 214, 191, 0.7);
}

.sanctuary-expandable-drawer {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  display: grid;
  overflow: hidden;
}

.sanctuary-index-block.is-active .sanctuary-expandable-drawer {
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.sanctuary-drawer-inner {
  opacity: 0;
  min-height: 0;
  padding: 0.75rem 0.5rem clamp(2.5rem, 4.5vh, 3.5rem);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  transform: translateY(8px);
}

.sanctuary-index-block.is-active .sanctuary-drawer-inner {
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  transform: translateY(0);
}

.expanded-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 4.5vw, 5rem);
  display: grid;
}

.expanded-media-wrap {
  background-color: #0e1017;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.78);
}

.expanded-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.expanded-media-wrap:hover .expanded-image {
  transform: scale(1.035);
}

.expanded-content {
  flex-direction: column;
  display: flex;
}

.expanded-breadcrumb {
  font-family: var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-size: 0.6875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.expanded-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  font-size: clamp(2.1rem, 2.9vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
}

.expanded-location-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #faede0;
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
}

.expanded-description {
  font-family: var(--font-body);
  color: rgba(228, 232, 240, 0.74);
  max-width: 520px;
  margin: 0 0 1.85rem;
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  line-height: 1.75;
}

.expanded-meta-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
  padding: 1.15rem 0;
  display: flex;
}

.meta-spec {
  flex-direction: column;
  gap: 0.25rem;
  display: flex;
}

.spec-label {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(163, 166, 175, 0.6);
  font-size: 0.58rem;
  font-family: var(--font-mono);
  font-weight: 500;
}

.spec-val {
  font-family: var(--font-hero);
  color: #faede0;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
  font-weight: 400;
}

.spec-divider {
  background: rgba(255, 255, 255, 0.1);
  width: 1px;
  height: 28px;
}

.expanded-action-wrap {
  align-items: center;
  display: flex;
}

.expanded-reserve-btn {
  color: #0b0e17;
  font-family: var(--font-hero);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, #fff2dc 0%, #ffd49e 100%);
  border: none;
  border-radius: 9999px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.92rem 2.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 10px 34px rgba(255, 212, 158, 0.35), 0 0 60px rgba(125, 211, 252, 0.16);
  transition: all 0.35s var(--ease-editorial);
  display: inline-flex;
  text-decoration: none;
}

.expanded-reserve-btn:hover {
  color: #0b0e17;
  background: linear-gradient(135deg, #fff6e6 0%, #ffe0b5 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 212, 158, 0.5), 0 0 70px rgba(125, 211, 252, 0.24);
}

.reserve-arrow {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.expanded-reserve-btn:hover .reserve-arrow {
  transform: translate(4px);
}

@media (max-width: 960px) {
  .expanded-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .expanded-media-wrap {
    aspect-ratio: auto;
  }

  .collapsed-left {
    gap: 1rem;
  }

  .collapsed-region {
    width: 100%;
    margin-left: 2.85rem;
    display: block;
  }
}

@media (max-width: 640px) {
  .sanctuaries-dark-section {
    padding: 5rem 1.25rem;
  }

  .expedition-header {
    margin-bottom: 3.25rem;
  }

  .expedition-title {
    font-size: clamp(2rem, 7.8vw, 2.75rem);
  }

  .sanctuary-collapsed-row {
    padding: 1.25rem 0.25rem;
  }

  .collapsed-left {
    gap: 0.75rem;
  }

  .collapsed-index {
    min-width: 1.5rem;
    font-size: 1.15rem;
  }

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

  .collapsed-region {
    margin-left: 2.25rem;
    font-size: 0.625rem;
  }

  .sanctuary-toggle-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
  }

  .expanded-title {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
  }

  .expanded-meta-bar {
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding: 1rem 0;
  }

  .spec-divider {
    display: none;
  }
}

.projects-blanket-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  transform: translateZ(0);
  background-image: url('assets/noise.png');
  background-repeat: repeat;
  background-size: 64px 64px;
}

/* Header (Positioned on top of the section) */
.projects-header {
  position: absolute;
  top: clamp(80px, 12vh, 120px);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 980px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 35;
  pointer-events: none;
  will-change: transform, opacity;
}

.projects-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.2rem);
  margin-bottom: clamp(0.75rem, 1.8vh, 1.4rem);
}

.projects-eyebrow-line {
  width: clamp(24px, 2.8vw, 42px);
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.75;
}

.projects-eyebrow-text {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.82vw, 0.8rem);
  letter-spacing: 0.28em;
  color: var(--accent-gold);
  font-weight: 500;
  text-transform: uppercase;
}

.projects-headline {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.projects-headline-word {
  display: block;
}

.projects-serif-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  color: #f6ece0;
  margin-left: 0;
  letter-spacing: -0.015em;
}

.projects-subtext {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(0.88rem, 1.1vw, 1.08rem);
  color: rgba(168, 185, 205, 0.82);
  font-weight: 300;
  max-width: clamp(380px, 46vw, 620px);
  margin-top: clamp(0.85rem, 2vh, 1.6rem);
  line-height: 1.6;
  letter-spacing: -0.005em;
  text-align: center;
}

/* --------------------------------------------------------------------------
   CHAPTER 04: SELECTED WORK (3D Card Arc Carousel & Interactive Zoom)
   Award-Winning Cinematic Obsidian Stage
   -------------------------------------------------------------------------- */
.projects-arc-wrapper {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: clamp(18px, 3.5vh, 40px);
  perspective: 1400px;
  transform-style: preserve-3d;
  z-index: 10;
  pointer-events: auto;
  box-sizing: border-box;
}

.projects-arc-stage {
  position: relative;
  width: 100%;
  height: clamp(340px, 48vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.projects-arc-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* Individual Arc Card */
.project-arc-card {
  position: absolute;
  width: clamp(280px, 32vw, 440px);
  height: clamp(320px, 44vh, 480px);
  border-radius: 24px;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  outline: none;
}

.arc-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #090e15;
  border: 1px solid rgba(223, 202, 167, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.2rem, 2.2vw, 2.2rem);
  box-sizing: border-box;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-arc-card[data-state="active"] .arc-card-inner {
  border-color: rgba(223, 202, 167, 0.55);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), 0 0 35px rgba(223, 202, 167, 0.16), 0 0 0 1px rgba(223, 202, 167, 0.3);
}

.project-arc-card:hover .arc-card-inner {
  border-color: rgba(250, 237, 224, 0.7);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.95), 0 0 45px rgba(223, 202, 167, 0.25);
  transform: translateY(-4px);
}

/* Card Video & Background */
.arc-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.arc-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: block;
}

.project-arc-card:hover .arc-card-video {
  transform: scale(1.08);
}

.arc-card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arc-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.65) 0%, rgba(8, 12, 18, 0.15) 35%, rgba(6, 9, 14, 0.8) 75%, rgba(6, 9, 14, 0.96) 100%);
  pointer-events: none;
}

/* Card Content: Badges & Footer */
.arc-card-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(11, 16, 24, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(223, 202, 167, 0.35);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5a059;
  box-shadow: 0 0 8px #c5a059;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 0.75vw, 0.75rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #faede0;
  font-weight: 500;
}

.arc-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.arc-card-titles {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.arc-card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(223, 202, 167, 0.85);
  font-weight: 500;
}

.arc-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}

.arc-card-prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(223, 202, 167, 0.12);
  border: 1px solid rgba(223, 202, 167, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #dfcaa7;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.prompt-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.project-arc-card:hover .arc-card-prompt {
  background: rgba(223, 202, 167, 0.28);
  border-color: rgba(250, 237, 224, 0.8);
  color: #ffffff;
}

/* Arc Carousel Controls */
.projects-arc-controls {
  position: relative;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: clamp(1rem, 2vh, 1.8rem);
}

.arc-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 17, 25, 0.7);
  border: 1px solid rgba(223, 202, 167, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #dfcaa7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.arc-ctrl-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.arc-ctrl-btn:hover {
  background: rgba(223, 202, 167, 0.2);
  border-color: rgba(250, 237, 224, 0.8);
  color: #ffffff;
  transform: scale(1.08);
}

.arc-ctrl-prev:hover svg {
  transform: translateX(-2px);
}

.arc-ctrl-next:hover svg {
  transform: translateX(2px);
}

.arc-ctrl-indicators {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.arc-dot {
  width: 16px;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.arc-dot.is-active {
  width: 38px;
  background: #c5a059;
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.6);
}

/* --------------------------------------------------------------------------
   3D CARD ZOOM IN STAGE (Contained / Bounded Hero Modal, NOT full viewport)
   -------------------------------------------------------------------------- */
.project-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.project-zoom-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
}

.zoom-card-container {
  position: relative;
  z-index: 2;
  width: min(880px, 86vw);
  max-height: min(620px, 82vh);
  border-radius: 26px;
  overflow: hidden;
  background: #0a0f16;
  border: 1px solid rgba(223, 202, 167, 0.38);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.96), 0 0 45px rgba(223, 202, 167, 0.16);
  display: flex;
  flex-direction: column;
  transform: perspective(1200px) translateZ(80px) scale(0.92) translateY(24px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  will-change: transform;
}

.project-zoom-overlay.is-active .zoom-card-container {
  transform: perspective(1200px) translateZ(0) scale(1) translateY(0);
}

.zoom-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 15, 22, 0.7);
  border: 1px solid rgba(223, 202, 167, 0.35);
  color: #dfcaa7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  outline: none;
}

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

.zoom-close-btn:hover {
  background: rgba(223, 202, 167, 0.25);
  border-color: rgba(250, 237, 224, 0.9);
  color: #ffffff;
  transform: scale(1.08) rotate(90deg);
}

.zoom-card-media-wrap {
  position: relative;
  width: 100%;
  height: clamp(260px, 48vh, 400px);
  overflow: hidden;
  background: #000000;
}

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

.zoom-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.4) 0%, transparent 40%, rgba(8, 12, 18, 0.95) 100%);
  pointer-events: none;
}

.zoom-card-info-wrap {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.6rem, 3.2vw, 2.8rem);
  background: #090e15;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.zoom-card-meta {
  display: flex;
  align-items: center;
}

.zoom-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c5a059;
  font-weight: 600;
}

.zoom-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.1;
}

.zoom-card-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

.zoom-card-actions {
  display: flex;
  align-items: center;
  margin-top: 0.6rem;
}

.zoom-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: #faede0;
  color: #0b1017;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(223, 202, 167, 0.3);
}

.zoom-view-btn:hover {
  background: #ffffff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(223, 202, 167, 0.5);
}

.zoom-view-btn .btn-arrow {
  transition: transform 0.3s ease;
  color: #0b1017;
}

.zoom-view-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Responsive & Viewport Height Optimizations
   -------------------------------------------------------------------------- */
@media (max-height: 800px) {
  .story-scene#scene-projects {
    padding-top: max(60px, 7vh);
    padding-bottom: max(16px, 2.5vh);
  }

  .projects-container {
    gap: clamp(0.6rem, 1.8vh, 1.2rem);
  }

  .project-card {
    height: clamp(250px, 41vh, 340px);
  }

  .card-top-bar {
    padding: clamp(0.9rem, 1.4vw, 1.2rem);
  }

  .card-content {
    padding: clamp(0.9rem, 1.4vw, 1.2rem);
  }

  .card-desc {
    margin-bottom: 0.8rem;
    line-height: 1.45;
  }

  .projects-eyebrow {
    margin-bottom: clamp(1.4rem, 3.2vh, 2.2rem);
  }

  .projects-headline {
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    line-height: 1.05;
  }

  .projects-subtext {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    max-width: 520px;
    margin-top: clamp(1.5rem, 3.4vh, 2.5rem);
    line-height: 1.65;
  }

}

/* Very Short Viewports (e.g. mobile landscape or small laptop windows) */
@media (max-height: 560px) {
  .story-scene#scene-projects {
    padding-top: 52px;
    padding-bottom: 10px;
  }

  .projects-container {
    gap: 0;
  }

  .projects-subtext {
    display: block;
    font-size: 0.82rem;
    max-width: 480px;
    margin-top: 0.85rem;
    line-height: 1.5;
  }

  .projects-headline {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  }

  .projects-eyebrow {
    margin-bottom: 0.75rem;
  }

  .projects-eyebrow-text {
    font-size: 0.65rem;
  }

  .project-card {
    height: clamp(180px, 36vh, 220px);
  }


  .card-desc {
    display: none;
  }

  .card-title {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    margin-bottom: 0.2rem;
  }

  .card-content {
    padding: 0.65rem 1.1rem;
  }

  .card-tag {
    font-size: 0.58rem;
    margin-bottom: 0.2rem;
  }

  .play-circle {
    width: 26px;
    height: 26px;
  }

  .play-icon {
    width: 9px;
    height: 9px;
  }

  .action-text {
    font-size: 0.64rem;
  }

}

/* Responsive Touch & Smaller Viewports */
@media (max-width: 960px) {
  .projects-showcase {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.2rem;
    padding: 0.5rem 1.5rem 1rem;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .projects-showcase::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    flex: 0 0 min(82vw, 360px);
    scroll-snap-align: center;
    height: clamp(280px, 45vh, 400px);
    border-radius: 20px;
  }

}

/* Smartphones / Mobile Devices */
@media (max-width: 640px) {
  .story-scene#scene-projects {
    padding-top: max(64px, 8vh);
    padding-bottom: max(20px, 3vh);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .projects-header {
    top: clamp(20px, 4vh, 44px);
    width: 92%;
  }

  .projects-eyebrow {
    margin-bottom: 0.85rem;
  }

  .projects-headline {
    font-size: clamp(1.9rem, 7.5vw, 2.7rem);
    line-height: 1.05;
  }

  .projects-subtext {
    font-size: 0.82rem;
    line-height: 1.5;
    max-width: 320px;
    margin-top: 0.85rem;
  }

  .card-overlay-content {
    padding: clamp(1.5rem, 4.5vw, 2.4rem);
  }

  .card-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }

  .card-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  .view-project-btn {
    padding: 0.4rem 1.25rem 0.4rem 0.5rem;
    gap: 0.75rem;
  }

  .btn-play-ring {
    width: 36px;
    height: 36px;
  }

  .btn-play-icon {
    width: 11px;
    height: 11px;
  }

  .btn-label {
    font-size: 0.68rem;
  }

  .play-circle {
    width: 32px;
    height: 32px;
  }

  .action-text {
    font-size: 0.68rem;
  }

  .hud-dash {
    width: clamp(22px, 5.5vw, 32px);
  }

  .hud-dash.is-active {
    width: clamp(34px, 8.5vw, 44px);
  }

  .hud-arrow-btn {
    width: 32px;
    height: 32px;
  }
}

/* Very Small Smartphones */
@media (max-width: 380px) {
  .projects-headline {
    font-size: 1.85rem;
  }

  .projects-subtext {
    font-size: 0.84rem;
    margin-top: 1.25rem;
  }

  .carousel-track,
  .projects-hud-bar {
    width: 88vw;
  }

  .carousel-track {
    height: clamp(230px, 42vh, 340px);
  }

  .card-content {
    padding: 0.95rem 0.95rem;
  }

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

  .card-desc {
    font-size: 0.74rem;
    margin-bottom: 0.65rem;
  }
}

/* --------------------------------------------------------------------------
   CHAPTER 05: SERVICES (EXACT REFERENCE REPLICA)
   Solid Sculpted Light Luxury Porcelain Blanket
   -------------------------------------------------------------------------- */
.story-scene#scene-services {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 24;
  opacity: 1;
  visibility: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: max(55px, 6.5vh);
  padding-bottom: max(20px, 3vh);
  padding-left: clamp(2rem, 6.2vw, 6.5rem);
  padding-right: clamp(2rem, 6.2vw, 6.5rem);
  background-color: #f4ede7;
  background-image: url('assets/services_reference_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(-100vw, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  contain: paint layout style;
  box-sizing: border-box;
}

/* Backdrop & Grain */
.services-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.services-grain {
  position: absolute;
  inset: 0;
  background-image: url('assets/noise.png');
  background-repeat: repeat;
  background-size: 64px 64px;
  opacity: 0.025;
  pointer-events: none;
}

/* Main Container */
.services-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.36fr;
  gap: clamp(2.5rem, 5.5vw, 6rem);
  align-items: center;
  pointer-events: auto;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Left Column: Info */
.services-col-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
}

.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(0.85rem, 2vh, 1.5rem);
  height: 24px;
}

.services-eyebrow-line {
  width: 24px;
  height: 1.5px;
  background: #8a6523;
  opacity: 0.9;
}

.services-eyebrow-text {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.85vw, 0.84rem);
  letter-spacing: 0.24em;
  font-weight: 600;
  color: #8a6523;
  text-transform: none;
}

.services-headline {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0 0 clamp(0.85rem, 2vh, 1.6rem);
}

.services-subtext {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(0.86rem, 1.0vw, 1.06rem);
  color: #6a625b;
  font-weight: 400;
  line-height: 1.58;
  max-width: 380px;
  margin: 0;
}

/* Right Column: Services Ledger */
.services-col-ledger {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.services-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.95rem, 2vh, 1.8rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.services-row:last-child {
  border-bottom: 1px solid transparent;
}

.services-row-lead {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2.2rem);
}

.services-num {
  font-family: 'Plus Jakarta Sans', var(--font-mono);
  font-size: clamp(1.02rem, 1.25vw, 1.28rem);
  font-weight: 600;
  color: #9c918a;
  letter-spacing: 0.04em;
  min-width: 2ch;
}

.services-sep {
  width: 1px;
  height: clamp(24px, 3.2vh, 32px);
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.services-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.35rem, 0.7vh, 0.55rem);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.18rem, 1.75vw, 1.78rem);
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.015em;
  margin: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

/* Single Row Clean Bullet Points beneath Service Items (No Card Boxes) */
.services-bullets-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.85rem, 1.4vw, 1.4rem);
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.services-bullet-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.58);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.services-bullet-dot {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #a37a34;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.services-row:hover .services-title-wrap {
  transform: translateX(5px);
}

.services-row:hover .services-bullet-pill {
  background: transparent;
  border: none;
  color: #111111;
}

.services-row:hover .services-bullet-dot {
  background: #735118;
  opacity: 1;
  transform: scale(1.25);
}

.services-arrow {
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-arrow svg {
  width: clamp(20px, 1.8vw, 26px);
  height: clamp(20px, 1.8vw, 26px);
}

.services-row:hover .services-arrow {
  transform: translateX(8px);
}

.services-row:hover .services-title {
  transform: translateX(5px);
}

.services-row:hover {
  border-color: rgba(0, 0, 0, 0.28);
}

/* Dynamic Dark Navbar on Light Chapter 05 */
body.scene-services-active .story-scene#scene-seo {
  z-index: 30;
}

body.scene-services-active .site-header {
  color: #0b0e17;
}

body.scene-services-active .brand-monogram {
  color: #0b0e17;
}

body.scene-services-active .nav-item {
  color: #141518;
}

body.scene-services-active .nav-item:hover,
body.scene-services-active .nav-item.is-active {
  color: #000000;
}

body.scene-services-active .btn-talk {
  background: #0b0e17;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(11, 14, 23, 0.24);
}

body.scene-services-active .btn-talk:hover {
  background: #1f2433;
  box-shadow: 0 8px 28px rgba(11, 14, 23, 0.34);
}

@media (max-width: 900px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-scene#scene-services {
    padding: 80px 1.5rem 30px;
    align-items: flex-start;
  }

  .services-headline {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }

  .services-title {
    font-size: 1.12rem;
  }

  .services-row {
    padding: 1.2rem 0;
  }
}

@media (max-width: 640px) {
  .story-scene#scene-services {
    padding: 96px 1.85rem 40px;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .services-container {
    gap: 2rem;
  }

  .services-eyebrow {
    margin-bottom: 0.65rem;
  }

  .services-headline {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .services-subtext {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 0.45rem;
  }

  .services-row {
    padding: 1.05rem 0;
  }

  .services-title {
    font-size: clamp(1.02rem, 4.4vw, 1.18rem);
  }

  .services-bullets-row {
    gap: 0.55rem 0.75rem;
    margin-top: 0.25rem;
  }
}

/* --------------------------------------------------------------------------
   CHAPTER 05B: HIGH-END DEVELOPMENT (DARK CINEMATIC SECTION)
   -------------------------------------------------------------------------- */
.story-scene#scene-highend {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 26;
  opacity: 1;
  visibility: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: max(55px, 6.5vh);
  padding-bottom: max(20px, 3vh);
  padding-left: clamp(2rem, 7vw, 7.5rem);
  padding-right: clamp(2rem, 7vw, 7.5rem);
  background-color: #0d0a08;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(105vw, 0, 0);
  will-change: transform;
  contain: paint layout style;
  box-sizing: border-box;
}

/* Atmospheric Backdrop with Curved Golden Horizon Rim Light */
.highend-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  background:
    radial-gradient(circle at 88% 90%, rgba(228, 214, 191, 0.12) 0%, rgba(228, 214, 191, 0.04) 35%, transparent 68%),
    radial-gradient(circle at 20% 25%, rgba(122, 168, 255, 0.06) 0%, transparent 55%),
    #08090c;
}

.highend-glow-arc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
}

.highend-grain {
  position: absolute;
  inset: 0;
  background-image: url('assets/noise.png');
  background-repeat: repeat;
  background-size: 64px 64px;
  opacity: 0.025;
  pointer-events: none;
}

/* Content Container: Two Columns with subtle center divider */
.highend-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr auto 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  pointer-events: auto;
}

.highend-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.highend-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(1.2rem, 2.4vh, 2rem);
}

.highend-eyebrow-line {
  width: 34px;
  height: 1px;
  background: #c5a059;
  opacity: 0.85;
  display: inline-block;
}

.highend-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #dfcaa7;
  font-weight: 500;
}

.highend-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
}

.highend-line {
  display: block;
}

.highend-dot {
  color: #dfcaa7;
}

.highend-divider {
  width: 1px;
  height: clamp(140px, 20vh, 200px);
  background: linear-gradient(180deg, rgba(223, 202, 167, 0.05) 0%, rgba(223, 202, 167, 0.32) 50%, rgba(223, 202, 167, 0.05) 100%);
}

.highend-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.6rem, 2.8vh, 2.4rem);
  max-width: 500px;
}

.highend-desc {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.72;
  color: rgba(235, 227, 218, 0.76);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}

.highend-actions {
  display: flex;
  align-items: center;
  margin-top: 0.4rem;
}

.highend-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.95rem 2.3rem;
  background: #f4ede7;
  color: #0d0a08;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.highend-cta-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18);
}

.highend-cta-btn .btn-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.highend-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

@media (max-width: 960px) {
  .highend-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .highend-divider {
    display: none;
  }

  .highend-headline {
    font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  }

  .highend-desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .story-scene#scene-highend {
    padding: 96px 1.85rem 48px;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .highend-container {
    gap: 1.85rem;
  }

  .highend-col-right {
    gap: 1.5rem;
  }

  .highend-headline {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
  }

  .highend-desc {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .highend-cta-btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.74rem;
  }
}

/* --------------------------------------------------------------------------
   CHAPTER 04C: QUALITY ASSURANCE & TESTING (DARK CINEMATIC SECTION)
   -------------------------------------------------------------------------- */
.story-scene#scene-qa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 28;
  opacity: 1;
  visibility: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: max(55px, 6.5vh);
  padding-bottom: max(20px, 3vh);
  padding-left: clamp(2rem, 7vw, 7.5rem);
  padding-right: clamp(2rem, 7vw, 7.5rem);
  background-color: #121620;
  border-right: 1px solid rgba(226, 232, 240, 0.16);
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(-105vw, 0, 0);
  will-change: transform;
  contain: paint layout style;
  box-sizing: border-box;
}

/* Atmospheric Backdrop with Curved Platinum Lunar Rim Light */
.qa-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  background:
    radial-gradient(circle at 86% 88%, rgba(226, 232, 240, 0.16) 0%, rgba(148, 163, 184, 0.06) 38%, transparent 70%),
    radial-gradient(circle at 18% 22%, rgba(125, 211, 252, 0.1) 0%, transparent 58%),
    #121620;
}

.qa-glow-arc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
}

.qa-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  pointer-events: none;
}

/* Content Container: Two Columns with subtle center divider */
.qa-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr auto 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  pointer-events: auto;
}

/* Left Column: Eyebrow + Headline */
.qa-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.qa-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(1.2rem, 2.4vh, 2rem);
}

.qa-eyebrow-line {
  width: 34px;
  height: 1px;
  background: #c5a059;
  opacity: 0.85;
  display: inline-block;
}

.qa-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #dfcaa7;
  font-weight: 500;
}

.qa-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
}

.qa-line {
  display: block;
}

.qa-dot {
  color: #dfcaa7;
  margin-left: 2px;
}

/* Subtle vertical divider */
.qa-divider {
  width: 1px;
  height: clamp(140px, 20vh, 200px);
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.05) 0%, rgba(226, 232, 240, 0.32) 50%, rgba(226, 232, 240, 0.05) 100%);
}

/* Right Column: Description + CTA */
.qa-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.6rem, 2.8vh, 2.4rem);
  max-width: 500px;
}

.qa-desc {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.72;
  color: rgba(235, 238, 242, 0.78);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}

.qa-actions {
  display: flex;
  align-items: center;
  margin-top: 0.4rem;
}

.qa-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.95rem 2.3rem;
  background: #f4ede7;
  color: #0d0a08;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.qa-cta-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(226, 232, 240, 0.35);
}

.qa-cta-btn .btn-arrow {
  display: inline-block;
  font-size: 1.05rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-cta-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .qa-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .qa-divider {
    display: none;
  }

  .qa-headline {
    font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  }

  .qa-desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .story-scene#scene-qa {
    padding: 96px 1.85rem 48px;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .qa-container {
    gap: 1.85rem;
  }

  .qa-col-right {
    gap: 1.5rem;
  }

  .qa-headline {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
  }

  .qa-desc {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .qa-cta-btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.74rem;
  }
}

/* --------------------------------------------------------------------------
   CHAPTER 04D: SEO & PERFORMANCE GROWTH (LIGHT PORCELAIN BLANKET SLIDE-IN FROM RIGHT)
   -------------------------------------------------------------------------- */
.story-scene#scene-seo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 30;
  opacity: 1;
  visibility: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: max(75px, 8vh);
  padding-bottom: max(30px, 4vh);
  padding-left: clamp(2rem, 7vw, 7.5rem);
  padding-right: clamp(2rem, 7vw, 7.5rem);
  background-color: #f4ede7;
  background-image: url('assets/services_reference_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  pointer-events: auto;
  transform: translate3d(105vw, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  contain: paint layout style;
  box-sizing: border-box;
}

/* Sculpted Porcelain Backdrop with Golden Horizon Rim Light Sweep */
.seo-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.seo-glow-arc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
}

.seo-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

/* Content Container: Two Columns with subtle center divider */
.seo-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr auto 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  pointer-events: auto;
}

/* Left Column: Eyebrow + Headline */
.seo-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.seo-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(1.2rem, 2.4vh, 2rem);
}

.seo-eyebrow-line {
  width: 34px;
  height: 1px;
  background: #8a6523;
  opacity: 0.85;
  display: inline-block;
}

.seo-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a6523;
  font-weight: 600;
}

.seo-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #000000;
  margin: 0;
}

.seo-line {
  display: block;
}

/* Subtle vertical divider */
.seo-divider {
  width: 1px;
  height: clamp(140px, 20vh, 200px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.16) 50%, rgba(0, 0, 0, 0.04) 100%);
}

/* Right Column: Description + CTA */
.seo-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.6rem, 2.8vh, 2.4rem);
  max-width: 500px;
}

.seo-desc {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.72;
  color: #1c1917;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}

.seo-actions {
  display: flex;
  align-items: center;
  margin-top: 0.4rem;
}

.seo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.95rem 2.3rem;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}

.seo-cta-btn:hover {
  background: #1c1c1c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.seo-cta-btn .btn-arrow {
  display: inline-block;
  font-size: 1.05rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.seo-cta-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .seo-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .seo-divider {
    display: none;
  }

  .seo-headline {
    font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  }

  .seo-desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .story-scene#scene-seo {
    padding: 96px 1.85rem 48px;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .seo-container {
    gap: 1.85rem;
  }

  .seo-col-right {
    gap: 1.5rem;
  }

  .seo-headline {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
  }

  .seo-desc {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .seo-cta-btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.74rem;
  }
}

/* --------------------------------------------------------------------------
   CHAPTER 06: CONTACT / THE CONNECTION (ARCHITECTURAL VAULT & INCANDESCENT PORTAL)
   -------------------------------------------------------------------------- */
.story-scene#scene-contact {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 38;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 6vw, 6rem);
  box-sizing: border-box;
  background: linear-gradient(145deg, #fbf9f5 0%, #f4ede7 52%, #e9dfd2 100%);
  border-top: 1px solid rgba(20, 21, 24, 0.12);
  overflow: hidden;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: 0 -32px 90px rgba(0, 0, 0, 0.55), 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Sculptural minimal architectural arc */
.contact-sunlit-arc {
  position: absolute;
  width: clamp(560px, 72vw, 1120px);
  height: clamp(560px, 72vw, 1120px);
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  border: 1px solid rgba(139, 106, 53, 0.14);
  box-shadow:
    inset 0 0 120px rgba(255, 255, 255, 0.75),
    0 0 100px rgba(212, 168, 106, 0.12);
  pointer-events: none;
  animation: contactArcBreathe 16s ease-in-out infinite alternate;
}

.contact-sunlit-arc::after {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(20, 21, 24, 0.05);
}

@keyframes contactArcBreathe {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.97);
  }

  100% {
    transform: translate3d(-50%, -50%, 0) scale(1.04);
  }
}

.contact-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--cmx, 50%) var(--cmy, 50%),
      rgba(255, 255, 255, 0.75) 0%,
      rgba(212, 168, 106, 0.09) 42%,
      transparent 72%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.story-scene#scene-contact:hover .contact-halo {
  opacity: 1;
}

.contact-grain {
  position: absolute;
  inset: 0;
  background-image: url('assets/noise.png');
  background-repeat: repeat;
  background-size: 64px 64px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

.contact-minimal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: clamp(1.6rem, 3.5vh, 2.5rem);
}

.contact-eyebrow-line {
  width: 28px;
  height: 1px;
  background: #8b6a35;
  opacity: 0.7;
  display: inline-block;
}

.contact-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: #8b6a35;
  text-transform: uppercase;
}

.contact-headline {
  font-size: clamp(3.1rem, 6.8vw, 6.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(2.2rem, 4.5vh, 3.4rem) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-headline .headline-sans {
  font-family: var(--font-hero);
  font-weight: 400;
  color: #141518;
}

.contact-headline .headline-serif {
  font-family: 'Playfair Display', var(--font-serif), Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #8b6a35;
}

.contact-email-display {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-hero);
  font-size: clamp(1.25rem, 2.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #141518;
  text-decoration: none;
  padding-bottom: 0.4rem;
  margin-bottom: clamp(1.8rem, 3.8vh, 2.6rem);
  cursor: none !important;
  transition: color 0.35s ease;
}

.contact-email-display::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(20, 21, 24, 0.22);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease;
  transform-origin: left center;
}

.contact-email-display:hover {
  color: #8b6a35;
}

.contact-email-display:hover::after {
  background: #8b6a35;
  transform: scaleX(1.04);
}

.contact-email-display .email-arrow {
  font-size: 0.85em;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-email-display:hover .email-arrow {
  transform: translate(4px, -4px);
}

.contact-minimal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #666963;
}

.contact-socials {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.25rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #141518;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(20, 21, 24, 0.14);
  text-decoration: none;
  cursor: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-social-pill svg {
  opacity: 0.8;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.contact-social-pill:hover {
  background: #0b0e17;
  color: #ffffff;
  border-color: #0b0e17;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 14, 23, 0.18);
}

.contact-social-pill:hover svg {
  opacity: 1;
  transform: scale(1.08);
}

.contact-social-pill:active {
  transform: translateY(0) scale(0.97);
}

.contact-copy-minimal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #141518;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 21, 24, 0.18);
  padding: 0.52rem 1.2rem;
  border-radius: 9999px;
  cursor: none !important;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease, border-color 0.35s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.contact-copy-minimal:hover,
.contact-copy-minimal.is-copied {
  background: #0b0e17;
  color: #ffffff;
  border-color: #0b0e17;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(11, 14, 23, 0.16);
}

.contact-copy-minimal:active {
  transform: translateY(0) scale(0.97);
}

.contact-meta-dot {
  opacity: 0.4;
}

.contact-meta-note {
  text-transform: uppercase;
  font-size: 0.68rem;
}

@media (max-width: 768px) {
  .story-scene#scene-contact {
    padding: 90px 1.5rem 60px;
  }

  .contact-headline {
    font-size: clamp(2.5rem, 10vw, 3.8rem);
  }
}

/* --------------------------------------------------------------------------
   CHAPTER 07 / FOOTER: AWWWARDS EDITORIAL FINALE
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 45;
  width: 100%;
  background: radial-gradient(circle at 50% 0%, #131722 0%, #08090c 72%);
  border-top: 1px solid rgba(228, 214, 191, 0.14);
  padding: clamp(4.5rem, 8vh, 6.5rem) clamp(2rem, 7vw, 7.5rem) clamp(2.5rem, 4vh, 3.5rem);
  box-sizing: border-box;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.92);
  pointer-events: auto;
}

.footer-inner-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  width: 100%;
  flex-wrap: wrap;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 380px;
}

.footer-brand-monogram {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.08vw, 1.02rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(228, 232, 240, 0.72);
  margin: 0 0 1.4rem;
}

.footer-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(228, 214, 191, 0.22);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 8px rgba(134, 239, 172, 0.7);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(2.5rem, 5vw, 5rem);
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.footer-nav-link {
  font-family: var(--font-hero);
  font-size: 0.96rem;
  font-weight: 400;
  color: rgba(241, 239, 234, 0.78);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-nav-link:hover {
  color: #faede0;
  transform: translateX(3px);
}

.footer-meta-text {
  font-family: var(--font-hero);
  font-size: 0.95rem;
  color: rgba(241, 239, 234, 0.65);
}

.footer-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: clamp(2.5rem, 5vh, 3.5rem) 0 clamp(1.4rem, 3vh, 2rem);
}

/* Bottom Row: Copyright + Back to Top */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

.footer-back-to-top {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.footer-back-to-top:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-back-to-top .footer-arrow-up {
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.footer-back-to-top:hover .footer-arrow-up {
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 3.5rem 1.5rem 2rem;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 2.2rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
  }

  .footer-divider-line {
    margin: 2.2rem 0 1.5rem 0;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   Master Bottom HUD Bar (Hidden on Hero, Appears on Scroll)
   -------------------------------------------------------------------------- */
.bottom-hud {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 3.5rem;
  background: linear-gradient(0deg, rgba(8, 9, 12, 0.85) 0%, rgba(8, 9, 12, 0) 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-editorial), visibility 0.6s;
}

body.show-huds .bottom-hud {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.sound-synth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-dark-sub);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.sound-synth-btn:hover {
  color: #fff;
  border-color: var(--border-dark-hover);
}

.sound-synth-btn.is-active {
  color: var(--accent-blue);
  border-color: rgba(122, 168, 255, 0.4);
  background: rgba(122, 168, 255, 0.1);
}

.fps-telemetry {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.dim {
  color: var(--text-dark-dim);
}

.live {
  color: var(--text-dark-sub);
  min-width: 25px;
}

.hud-sep {
  opacity: 0.25;
}

.hud-center {
  flex: 1;
  max-width: 420px;
  margin: 0 2rem;
}

.film-timeline-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.film-timeline-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7aa8ff, #ffffff);
  transition: width 0.08s linear;
}

.hud-right {
  display: flex;
  align-items: center;
}

.current-chapter-readout {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-dark-sub);
}

.cur-ch {
  color: #fff;
  font-weight: 600;
}

.ch-title {
  color: var(--accent-blue);
  margin-left: 0.4rem;
  font-size: 0.65rem;
}



/* --------------------------------------------------------------------------
   Responsive Layout & Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header-inner {
    padding: 1.2rem 2rem;
  }

  .bottom-hud {
    padding: 1.2rem 2rem;
  }

  .timeline-hud {
    display: none;
  }

  .aperture-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .aperture-viewport {
    max-height: 42vh;
  }

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

@media (max-width: 768px) {
  .scroll-runway {
    height: 340vh;
  }

  .scroll-runway-services {
    height: 700vh;
    margin-top: -135vh;
    margin-top: -135dvh;
  }

  .header-inner {
    padding: 1rem 1.25rem;
  }

  .bottom-hud {
    padding: 0.9rem 1.25rem;
  }

  .site-nav {
    display: none;
  }

  .header-status-pill {
    display: none;
  }

  .hud-center {
    display: none;
  }

  .fps-telemetry {
    display: none;
  }

  .hero-display,
  .champagne-text {
    font-size: clamp(2.15rem, 9.5vw, 3.4rem);
  }

  .about-display {
    font-size: clamp(2.05rem, 9vw, 3.2rem);
  }

  .about-bio {
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    line-height: 1.62;
  }

  .craft-row {
    grid-template-columns: 36px 1fr;
    gap: 0.5rem 1rem;
    align-items: baseline;
    padding: 1.2rem 0;
  }

  .craft-divider {
    display: none;
  }

  .craft-desc {
    grid-column: 2 / -1;
  }

  .blanket-content-wrap {
    padding: 5rem 1.5rem 2rem;
  }

  .perspective-display {
    font-size: clamp(2.2rem, 8.5vw, 3.4rem);
  }

  .perspective-tagline {
    font-size: 0.88rem;
    padding: 0 0.5rem;
    margin-bottom: 2.5rem;
  }

  .perspective-stepper {
    max-width: min(340px, 88vw);
  }

  .step-num {
    font-size: 0.62rem;
  }

  .step-title {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 480px) {
  .perspective-display {
    font-size: clamp(2rem, 9.2vw, 2.8rem);
  }

  .perspective-tagline {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 2.2rem;
  }

  .perspective-stepper {
    max-width: min(310px, 92vw);
  }

  .stepper-connector {
    margin-left: 6px;
    margin-right: 6px;
  }
}

@media (max-height: 480px) {
  .story-scene {
    padding: 1.5rem 1.2rem;
  }

  .perspective-eyebrow {
    margin-bottom: 0.6rem;
  }

  .perspective-display {
    font-size: clamp(1.8rem, 8vh, 2.4rem);
    margin-bottom: 0.4rem;
  }

  .perspective-tagline {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 1.4rem;
  }

  .perspective-stepper {
    padding-bottom: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .scroll-cue-text,
  .scroll-cue-line,
  .projects-orb,
  .contact-arc {
    animation: none !important;
  }
}