/* ========================================
   KAIZEN PROJECTS — Premium Design System v2
   ======================================== */

/* === Design Tokens === */
:root {
  --black: #0c0c0c;
  --dark: #161616;
  --darker: #0a0a0a;
  --charcoal: #222222;
  --gold: #C4A97D;
  --gold-dark: #B8965A;
  --gold-light: #D4BF9A;
  --gold-glow: rgba(196,169,125,0.12);
  --warm-white: #FAF8F5;
  --cream: #F5F0EA;
  --slate: #9a9a9a;
  --light-border: rgba(196,169,125,0.1);
  --glass: rgba(12,12,12,0.7);
  --glass-border: rgba(255,255,255,0.04);
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--gold); color: var(--black); }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(196,169,125,0.03), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(196,169,125,0.02), transparent);
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* === Noise Texture Overlay === */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  opacity: 0.012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px;
}

/* === Cinematic Preloader === */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  overflow: hidden;
}
.preloader.phase-exit {
  animation: preloaderExit 0.9s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
@keyframes preloaderExit {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); }
}
.preloader.loaded { visibility: hidden; pointer-events: none; }

/* Ambient gold glow behind logo */
.preloader::before {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,169,125,0.08) 0%, transparent 70%);
  opacity: 0; animation: plGlow 2s 0.3s ease-out forwards;
  pointer-events: none;
}
@keyframes plGlow {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; }
  100% { opacity: 0.6; transform: scale(1.2); }
}

/* Corner architectural lines */
.preloader-corners { position: absolute; inset: 0; pointer-events: none; }
.preloader-corners span {
  position: absolute; background: var(--gold); opacity: 0;
}
.preloader-corners .corner-tl-h,
.preloader-corners .corner-tr-h,
.preloader-corners .corner-bl-h,
.preloader-corners .corner-br-h {
  width: 0; height: 1px;
  animation: plCornerH 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.preloader-corners .corner-tl-v,
.preloader-corners .corner-tr-v,
.preloader-corners .corner-bl-v,
.preloader-corners .corner-br-v {
  width: 1px; height: 0;
  animation: plCornerV 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.preloader-corners .corner-tl-h { top: 40px; left: 40px; }
.preloader-corners .corner-tl-v { top: 40px; left: 40px; }
.preloader-corners .corner-tr-h { top: 40px; right: 40px; }
.preloader-corners .corner-tr-v { top: 40px; right: 40px; }
.preloader-corners .corner-bl-h { bottom: 40px; left: 40px; }
.preloader-corners .corner-bl-v { bottom: 40px; left: 40px; }
.preloader-corners .corner-br-h { bottom: 40px; right: 40px; }
.preloader-corners .corner-br-v { bottom: 40px; right: 40px; }
@keyframes plCornerH { to { width: 48px; opacity: 0.3; } }
@keyframes plCornerV { to { height: 48px; opacity: 0.3; } }

/* Brand wordmark — letters animate individually via JS */
.preloader-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 52px); font-weight: 300; color: white;
  letter-spacing: 18px; margin-right: -18px;
  display: flex; overflow: hidden;
  position: relative; z-index: 2;
}
.preloader-brand .pl-char {
  display: inline-block;
  opacity: 0; transform: translateY(100%);
  animation: plCharIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes plCharIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Subtitle */
.preloader-sub {
  font-size: 10px; color: var(--gold); letter-spacing: 6px; font-weight: 500;
  margin-top: 12px; opacity: 0; position: relative; z-index: 2;
  font-family: 'Inter', sans-serif;
  animation: plSubIn 0.7s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes plSubIn {
  from { opacity: 0; letter-spacing: 12px; }
  to { opacity: 1; letter-spacing: 6px; }
}

/* Progress bar — the gold sweep */
.preloader-progress {
  width: 160px; height: 1px;
  background: rgba(255,255,255,0.04);
  margin-top: 32px; position: relative; overflow: hidden;
  z-index: 2;
}
.preloader-progress-fill {
  position: absolute; left: 0; top: 0;
  width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 16px rgba(196,169,125,0.5), 0 0 4px rgba(196,169,125,0.8);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Counter */
.preloader-counter {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: rgba(255,255,255,0.2);
  letter-spacing: 3px; font-weight: 400;
  margin-top: 16px; z-index: 2;
  font-variant-numeric: tabular-nums;
}

/* Horizontal split lines that wipe on exit */
.preloader-wipe-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: rgba(196,169,125,0.1);
  transform: scaleX(0); z-index: 1;
}
.preloader-wipe-line.top { top: 50%; transform-origin: left; }
.preloader-wipe-line.bottom { top: 50%; transform-origin: right; }
.preloader.phase-exit .preloader-wipe-line {
  animation: plWipeLine 0.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
@keyframes plWipeLine { to { transform: scaleX(1); opacity: 0; } }

/* === Page Transition Overlay === */
.page-transition {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; overflow: hidden;
}
.page-transition .pt-panel {
  position: absolute; width: 100%; height: 100%;
  background: var(--black);
  transform: translateY(100%);
}
.page-transition.active .pt-panel {
  animation: ptSlideUp 0.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
.page-transition.active .pt-label {
  animation: ptLabelIn 0.3s 0.25s ease forwards;
}
@keyframes ptSlideUp {
  to { transform: translateY(0); }
}
.page-transition .pt-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 3vw, 28px);
  color: white; letter-spacing: 10px;
  opacity: 0; z-index: 2;
}
@keyframes ptLabelIn {
  to { opacity: 0.6; }
}

@media (max-width: 768px) {
  .preloader-corners span { display: none; }
  .preloader-brand { font-size: 32px; letter-spacing: 12px; margin-right: -12px; }
  .preloader::before { width: 200px; height: 200px; }
}

/* === Stagger Children === */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-stagger] > .visible {
  opacity: 1;
  transform: translateY(0);
}
/* Safety: on mobile, limit stagger to max 6 children containers */
@media (max-width: 768px) {
  [data-stagger] > *:nth-child(n+7) { opacity: 1; transform: none; }
}

/* === Scroll Progress Bar === */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  z-index: 10001; transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* === Custom Cursor (desktop) === */
.cursor-dot {
  width: 5px; height: 5px; background: var(--gold);
  border-radius: 50%; position: fixed; z-index: 9999;
  pointer-events: none; mix-blend-mode: difference;
  transition: transform 0.1s ease;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(196,169,125,0.3);
  border-radius: 50%; position: fixed; z-index: 9998;
  pointer-events: none;
  transition: transform 0.3s ease, border-color 0.3s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring.hovering {
  width: 48px; height: 48px;
  border-color: var(--gold);
  background: rgba(196,169,125,0.05);
}

/* === Navigation === */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 0 6%; display: flex; justify-content: space-between; align-items: center;
  height: 80px;
  transition: all 0.6s var(--ease-out);
  background: transparent;
}
nav.scrolled {
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  height: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.nav-brand { display: flex; flex-direction: column; gap: 1px; text-decoration: none; }
.nav-brand-main {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400;
  color: white; letter-spacing: 10px; margin-right: -10px;
}
.nav-brand-sub { font-size: 7px; color: var(--gold); letter-spacing: 6px; font-weight: 500; opacity: 0.7; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.4); text-decoration: none;
  font-size: 10px; font-weight: 500; letter-spacing: 2.5px;
  transition: all 0.4s var(--ease-out);
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 1px; background: var(--gold);
  transition: all 0.4s var(--ease-out); transform: translateX(-50%);
}
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: transparent; color: var(--gold);
  padding: 10px 24px; border: 1px solid rgba(196,169,125,0.25);
  font-size: 9px; font-weight: 600; letter-spacing: 2px;
  cursor: pointer; text-decoration: none;
  transition: all 0.4s var(--ease-out);
  font-family: 'Inter', sans-serif;
}
.nav-cta:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* === Mobile Toggle === */
.mobile-toggle {
  display: none; cursor: pointer; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 12px; z-index: 1002;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.mobile-toggle span {
  width: 22px; height: 1px; background: white;
  transition: all 0.4s var(--ease-out); display: block;
  pointer-events: none;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* === Mobile Menu === */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1001;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(48px); -webkit-backdrop-filter: blur(48px);
  clip-path: circle(0% at calc(100% - 44px) 40px);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}
.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 44px) 40px);
  pointer-events: auto;
}
/* Close button inside mobile menu */
.mobile-menu-close {
  position: absolute; top: 16px; right: 5%;
  width: 48px; height: 48px;
  background: none; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; opacity: 0;
  transition: opacity 0.4s 0.3s var(--ease-out), border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mobile-menu.open .mobile-menu-close { opacity: 1; }
.mobile-menu-close:hover { border-color: var(--gold); }
.mobile-menu-close svg { width: 18px; height: 18px; stroke: white; stroke-width: 1.5; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 300;
  color: rgba(255,255,255,0.6); text-decoration: none; padding: 16px 0; letter-spacing: 6px;
  opacity: 0; transform: translateY(30px);
  transition: all 0.5s var(--ease-out), color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.29s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.36s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.43s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-footer {
  position: absolute; bottom: 48px; left: 0; right: 0;
  text-align: center; opacity: 0; transform: translateY(16px);
  transition: all 0.5s 0.5s var(--ease-out);
}
.mobile-menu.open .mobile-menu-footer { opacity: 1; transform: translateY(0); }
.mobile-menu-footer p { font-size: 11px; color: rgba(255,255,255,0.15); letter-spacing: 2px; }
.mobile-menu-footer a { color: var(--gold); text-decoration: none; font-size: 12px; }

/* === Reveal Animations === */
.reveal {
  opacity: 0; transform: translateY(48px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-48px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(48px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Premium Text Loading — Word-by-Word Reveal === */
.text-reveal-word {
  display: inline-block; opacity: 0;
  transform: translateY(14px); filter: blur(4px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.text-reveal-word.visible {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

/* === Section Title Clip Reveal === */
.title-clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.title-clip-reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* === Gold Shimmer Loading Effect === */
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(
    110deg,
    var(--gold) 0%, var(--gold) 40%,
    var(--gold-light) 50%,
    var(--gold) 60%, var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s linear infinite;
}

/* === Smooth Blur-In for Sections === */
.blur-in {
  opacity: 0; filter: blur(8px); transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.blur-in.visible {
  opacity: 1; filter: blur(0); transform: translateY(0);
}

/* === Letter Stagger Entrance === */
.letter-stagger span {
  display: inline-block; opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.letter-stagger.visible span { opacity: 1; transform: translateY(0); }

/* === Underline Draw Animation === */
.draw-underline {
  position: relative; display: inline-block;
}
.draw-underline::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.draw-underline.visible::after { width: 100%; }

/* === Sections === */
section { padding: 140px 8%; position: relative; }
.section-label {
  font-size: 9px; color: var(--gold); letter-spacing: 5px;
  font-weight: 600; text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--gold); opacity: 0.4;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 56px); color: white;
  font-weight: 300; margin-bottom: 24px; line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-title strong { font-weight: 600; }
.section-body {
  font-size: 15px; color: var(--slate); line-height: 1.9;
  max-width: 580px; font-weight: 300;
}
.line-reveal { width: 48px; height: 1px; background: var(--gold); margin: 20px 0; opacity: 0.5; }
.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,169,125,0.08), transparent);
}

/* === Page Hero (subpages) === */
.page-hero {
  padding: 200px 8% 100px; background: var(--black);
  position: relative; text-align: center; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(196,169,125,0.04), transparent),
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(196,169,125,0.02), transparent);
}
.page-hero::after {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(196,169,125,0.015) 0%, transparent 50%);
  animation: heroShimmer 20s ease-in-out infinite alternate;
}
@keyframes heroShimmer { 0% { transform: translate(0,0); } 100% { transform: translate(2%,-1.5%); } }
.page-hero .section-label { justify-content: center; position: relative; }
.page-hero .section-label::before { display: none; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 76px); font-weight: 300;
  color: white; letter-spacing: 0.08em; line-height: 1.1; position: relative;
}
.page-hero h1 strong { font-weight: 600; }
.page-hero p {
  font-size: 15px; color: var(--slate); line-height: 1.8;
  font-weight: 300; max-width: 520px; margin: 24px auto 0; position: relative;
}
.page-hero-line {
  width: 48px; height: 1px; background: var(--gold); margin: 32px auto 0;
  position: relative; opacity: 0.5;
}

/* === Buttons === */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--black);
  padding: 16px 44px; font-size: 10px; font-weight: 600; letter-spacing: 3px;
  text-decoration: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.5s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.7s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(196,169,125,0.25); }
.btn-outline {
  display: inline-block; background: transparent; color: var(--gold);
  padding: 16px 44px; font-size: 10px; font-weight: 600; letter-spacing: 3px;
  text-decoration: none; border: 1px solid rgba(196,169,125,0.3);
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all 0.5s var(--ease-out);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(196,169,125,0.06); transform: translateY(-3px); }
.btn-dark {
  display: inline-block; background: var(--black); color: white;
  padding: 16px 48px; font-size: 10px; font-weight: 600; letter-spacing: 3px;
  text-decoration: none; font-family: 'Inter', sans-serif;
  transition: all 0.5s var(--ease-out);
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.btn-dark::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.7s;
}
.btn-dark:hover::before { transform: translateX(100%); }
.btn-dark:hover { background: #1a1a1a; transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); border-color: rgba(196,169,125,0.15); }

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 100px 8%; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%, rgba(0,0,0,0.08) 100%);
}
.cta-banner::after {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06), transparent 60%);
}
.cta-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 300;
  color: var(--black); margin-bottom: 12px; position: relative;
}
.cta-banner p { font-size: 13px; color: rgba(0,0,0,0.45); margin-bottom: 40px; letter-spacing: 1px; position: relative; }

/* === Footer === */
footer {
  background: var(--darker); padding: 80px 8% 60px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px;
  position: relative;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(196,169,125,0.08), transparent);
}
.footer-brand-text {
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400;
  color: white; letter-spacing: 10px; margin-bottom: 2px;
}
.footer-brand-sub { font-size: 7px; color: var(--gold); letter-spacing: 6px; margin-bottom: 24px; opacity: 0.6; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif; font-size: 15px;
  color: rgba(255,255,255,0.2); font-style: italic; font-weight: 300;
}
.footer-col-title { font-size: 9px; color: var(--gold); letter-spacing: 3px; font-weight: 600; margin-bottom: 24px; opacity: 0.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 16px; }
.footer-links a {
  color: rgba(255,255,255,0.25); text-decoration: none;
  font-size: 13px; font-weight: 300;
  transition: all 0.4s var(--ease-out); display: inline-block;
}
.footer-links a:hover { color: white; transform: translateX(6px); }
.footer-contact-info { font-size: 13px; color: rgba(255,255,255,0.25); line-height: 2.4; font-weight: 300; }
.footer-contact-info a { color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.3s; }
.footer-contact-info a:hover { color: var(--gold); }
.footer-bottom {
  background: var(--darker); padding: 24px 8%;
  border-top: 1px solid rgba(255,255,255,0.02);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.08); font-weight: 300; }

/* === Back to Top === */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 44px; height: 44px;
  background: rgba(196,169,125,0.08); border: 1px solid rgba(196,169,125,0.15);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(20px);
  transition: all 0.5s var(--ease-out); pointer-events: none;
  border-radius: 50%;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.back-to-top svg { width: 14px; height: 14px; stroke: var(--gold); transition: stroke 0.3s; }
.back-to-top:hover svg { stroke: var(--black); }

/* === Toast === */
.toast {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  background: var(--black); color: var(--gold);
  font-size: 12px; font-weight: 500; letter-spacing: 1px;
  padding: 16px 36px; z-index: 9999;
  transition: bottom 0.6s var(--ease-out);
  border: 1px solid rgba(196,169,125,0.2);
  backdrop-filter: blur(24px);
}
.toast.show { bottom: 32px; }

/* === Form Styles === */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 8px; color: var(--gold);
  letter-spacing: 2.5px; font-weight: 600; margin-bottom: 10px; opacity: 0.7;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  color: white; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 300;
  padding: 14px 16px; transition: all 0.4s var(--ease-out); outline: none;
  border-radius: var(--radius-sm);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(196,169,125,0.4); background: rgba(255,255,255,0.03);
  box-shadow: 0 0 0 4px rgba(196,169,125,0.04);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.15); }
.form-group textarea { height: 120px; resize: vertical; }
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C4A97D' fill='none' stroke-width='1.5' stroke-opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form-group select option { background: var(--dark); color: white; }
.form-submit {
  background: var(--gold); color: var(--black);
  padding: 16px 52px; font-size: 10px; font-weight: 600; letter-spacing: 3px;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all 0.5s var(--ease-out); width: 100%; margin-top: 8px;
  position: relative; overflow: hidden;
}
.form-submit::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.7s;
}
.form-submit:hover::before { transform: translateX(100%); }
.form-submit:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(196,169,125,0.2); }

/* === Gradient Mesh Placeholders === */
.mesh-placeholder {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(196,169,125,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(196,169,125,0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, var(--charcoal) 0%, var(--dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.06); font-size: 9px; letter-spacing: 4px;
  font-weight: 500; flex-direction: column; gap: 8px;
  border: 1px solid rgba(255,255,255,0.03);
  position: relative; overflow: hidden;
}
.mesh-placeholder::after {
  content: ''; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(196,169,125,0.02) 25%, transparent 50%);
  animation: meshRotate 25s linear infinite;
}
@keyframes meshRotate { to { transform: rotate(360deg); } }

/* === Mobile: disable heavy GPU animations === */
@media (max-width: 768px) {
  .mesh-placeholder::after { animation: none !important; display: none; }
  .pcard-status.coming,
  .pcard-status.eoi { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .summary-badge { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* === Glass Card === */
.glass-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  transition: all 0.5s var(--ease-out);
}
.glass-card:hover {
  background: rgba(255,255,255,0.035);
  border-color: rgba(196,169,125,0.15);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

/* === Enhanced Magnetic / Micro-Interactions === */

/* Magnetic tilt on cards */
.mag-tilt {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.mag-tilt:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(196,169,125,0.08);
}

/* Card inner glow that follows cursor */
.mag-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(196,169,125,0.06), transparent 60%);
}
.mag-tilt:hover .mag-glow { opacity: 1; }

/* Shimmer border on hover */
.mag-border {
  position: absolute; inset: -1px; z-index: 0; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity 0.4s;
  background: conic-gradient(from var(--angle, 0deg), transparent 30%, rgba(196,169,125,0.15) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.mag-tilt:hover .mag-border { opacity: 1; }

/* Button ripple effect */
.btn-ripple {
  position: relative; overflow: hidden;
}
.btn-ripple .ripple-circle {
  position: absolute; border-radius: 50%;
  background: rgba(196,169,125,0.15);
  transform: scale(0); animation: rippleOut 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}

/* Hover line reveal under nav links */
.nav-link-line {
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover .nav-link-line,
.nav-links a.active .nav-link-line {
  transform: scaleX(1); transform-origin: left;
}

/* Scale-in bounce on scroll reveal */
.micro-pop {
  opacity: 0; transform: scale(0.9) translateY(16px);
  transition: all 0.7s var(--ease-bounce);
}
.micro-pop.visible { opacity: 1; transform: scale(1) translateY(0); }

/* Stat counter glow pulse */
@keyframes statPulse {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 24px rgba(196,169,125,0.2); }
}
.stat-value.counted { animation: statPulse 2s ease-in-out 1; }

/* === Timeline / Journal Section === */
.timeline-section {
  background: var(--darker); position: relative; overflow: hidden;
}
.timeline-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(196,169,125,0.025), transparent 60%);
}
.timeline-wrap {
  position: relative; max-width: 900px; margin: 72px auto 0;
}
/* Vertical spine — centred */
.timeline-spine {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  transform: translateX(-50%);
  background: rgba(196,169,125,0.06);
}
.timeline-spine-fill {
  width: 100%; height: 0; background: var(--gold); opacity: 0.25;
  transition: height 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-wrap.active .timeline-spine-fill { height: 100%; }

/* Individual entry — alternating layout */
.tl-entry {
  position: relative; width: 46%;
  padding: 32px 36px; margin-bottom: 48px;
  background: rgba(196,169,125,0.012);
  border: 1px solid rgba(196,169,125,0.04);
  opacity: 0; transform: translateY(24px);
  transition: all 0.8s var(--ease-out);
}
.tl-entry:hover {
  border-color: rgba(196,169,125,0.12);
  background: rgba(196,169,125,0.02);
}
/* Left-side entries (odd) */
.tl-entry:nth-child(odd) {
  margin-left: 0; margin-right: auto; text-align: right;
}
/* Right-side entries (even) */
.tl-entry:nth-child(even) {
  margin-left: auto; margin-right: 0; text-align: left;
}
.tl-entry.visible { opacity: 1; transform: translateY(0); }

/* Connector line from entry to spine */
.tl-entry::before {
  content: ''; position: absolute; top: 42px;
  width: calc(4% + 2px); height: 1px;
  background: linear-gradient(90deg, rgba(196,169,125,0.04), rgba(196,169,125,0.15));
}
.tl-entry:nth-child(odd)::before {
  right: -4%; right: calc(-4% - 2px);
  background: linear-gradient(90deg, rgba(196,169,125,0.15), rgba(196,169,125,0.04));
}
.tl-entry:nth-child(even)::before {
  left: calc(-4% - 2px);
  background: linear-gradient(90deg, rgba(196,169,125,0.04), rgba(196,169,125,0.15));
}

/* Dot on spine — centred */
.tl-dot {
  position: absolute; top: 36px;
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid rgba(196,169,125,0.15);
  background: var(--darker); z-index: 2;
  transition: all 0.6s var(--ease-out);
}
.tl-entry:nth-child(odd) .tl-dot {
  right: calc(-4% - 18px); left: auto;
  transform: translateX(50%);
}
.tl-entry:nth-child(even) .tl-dot {
  left: calc(-4% - 18px); right: auto;
  transform: translateX(-50%);
}
.tl-entry.visible .tl-dot {
  border-color: var(--gold); background: var(--gold);
  box-shadow: 0 0 16px rgba(196,169,125,0.25), 0 0 4px rgba(196,169,125,0.4);
}

/* Outer ring pulse on dot */
.tl-dot::after {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%; border: 1px solid rgba(196,169,125,0.08);
  opacity: 0; transition: opacity 0.6s;
}
.tl-entry.visible .tl-dot::after { opacity: 1; }

/* Year badge */
.tl-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 300; color: var(--gold);
  line-height: 1; margin-bottom: 10px; opacity: 0.8;
  transition: opacity 0.3s;
}
.tl-entry:hover .tl-year { opacity: 1; }

/* Entry title */
.tl-title {
  font-size: 16px; font-weight: 600; color: white;
  letter-spacing: 0.5px; margin-bottom: 10px;
}

/* Entry body */
.tl-body {
  font-size: 13px; color: var(--slate); line-height: 1.85;
  font-weight: 300;
}

/* Entry tag */
.tl-tag {
  display: inline-block; margin-top: 14px;
  font-size: 8px; letter-spacing: 2.5px; font-weight: 600;
  color: var(--gold); padding: 5px 14px;
  border: 1px solid rgba(196,169,125,0.12);
  transition: all 0.3s var(--ease-out);
}
.tl-entry:hover .tl-tag {
  border-color: rgba(196,169,125,0.3);
  background: rgba(196,169,125,0.04);
}

/* Mobile: single column left-aligned */
@media (max-width: 768px) {
  .timeline-wrap { padding-left: 40px; margin-top: 48px; }
  .timeline-spine { left: 16px; transform: none; }
  .tl-entry {
    width: 100%; margin-left: 0; margin-right: 0;
    text-align: left; padding: 24px 24px;
    margin-bottom: 32px;
  }
  .tl-entry:nth-child(odd),
  .tl-entry:nth-child(even) {
    margin-left: 0; text-align: left;
  }
  .tl-entry::before {
    left: -24px; right: auto; top: 36px; width: 24px;
    background: linear-gradient(90deg, rgba(196,169,125,0.04), rgba(196,169,125,0.12));
  }
  .tl-entry:nth-child(odd)::before {
    left: -24px; right: auto;
    background: linear-gradient(90deg, rgba(196,169,125,0.04), rgba(196,169,125,0.12));
  }
  .tl-dot {
    left: -32px !important; right: auto !important;
    transform: translateX(-50%) !important;
  }
  .tl-year { font-size: 30px; }
}

/* === Video Hero Background === */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.5s ease;
}
.hero-video-wrap video.loaded { opacity: 0.25; }
.hero-video-wrap::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.7) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,0.5) 100%);
}

/* Fallback gradient if video fails */
.hero-video-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 30%, #1e1e1e 60%, #141414 100%);
}
.hero-video-fallback::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(196,169,125,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(196,169,125,0.04) 0%, transparent 50%);
}

/* === Enhanced Page Transitions === */
.page-transition .pt-panel {
  background: var(--black);
}
.page-transition .pt-panel-2 {
  position: absolute; width: 100%; height: 100%;
  background: var(--darker);
  transform: translateY(100%);
}
.page-transition.active .pt-panel-2 {
  animation: ptSlideUp 0.5s 0.06s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
.page-transition .pt-gold-line {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--gold); opacity: 0;
  transform: scaleX(0); z-index: 3;
}
.page-transition.active .pt-gold-line {
  animation: ptGoldLine 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ptGoldLine {
  0% { opacity: 0; transform: scaleX(0); }
  50% { opacity: 0.6; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

/* === Parallax Scroll Depth === */
.parallax-section {
  position: relative; overflow: hidden;
}
.parallax-bg {
  position: absolute; inset: -20% 0; z-index: 0;
  will-change: transform;
}
.parallax-content {
  position: relative; z-index: 1;
}

/* === Interactive Project Map (Leaflet) === */
.map-section {
  background: var(--darker); position: relative; overflow: hidden;
}
.map-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(196,169,125,0.02), transparent 70%);
}
.map-container {
  position: relative; margin-top: 60px;
  border: 1px solid rgba(196,169,125,0.08);
}
#projectMap {
  width: 100%; height: 520px;
  background: #0d0d0d;
}
/* Dark map tiles — CartoDB dark_all already dark, subtle tweak */
.map-container .leaflet-tile-pane { filter: brightness(0.85) contrast(1.05); }
.map-container .leaflet-control-zoom a {
  background: var(--black) !important; color: var(--gold) !important;
  border-color: rgba(196,169,125,0.15) !important;
}
.map-container .leaflet-control-zoom a:hover {
  background: rgba(196,169,125,0.1) !important;
}
/* Custom popup */
.map-popup .leaflet-popup-content-wrapper {
  background: var(--black); border: 1px solid rgba(196,169,125,0.18);
  border-radius: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(196,169,125,0.05);
  padding: 0; overflow: hidden;
}
.map-popup .leaflet-popup-tip { background: var(--black); border: 1px solid rgba(196,169,125,0.18); }
.map-popup .leaflet-popup-content { margin: 0; width: auto !important; }
.map-popup-inner {
  padding: 0; min-width: 260px; max-width: 300px; position: relative;
}
.map-popup-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--gold), rgba(196,169,125,0.2));
}
.map-popup-header {
  padding: 22px 28px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.map-popup-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: white; font-weight: 400; line-height: 1.2;
}
.map-popup-suburb {
  font-size: 9px; color: rgba(196,169,125,0.5); letter-spacing: 2.5px; font-weight: 600;
  margin-top: 6px;
}
.map-popup-status {
  display: inline-block; padding: 5px 14px; flex-shrink: 0;
  font-size: 8px; font-weight: 700; letter-spacing: 2px; white-space: nowrap;
}
.map-popup-desc {
  font-size: 13px; color: var(--slate); line-height: 1.75; font-weight: 300;
  padding: 0 28px 18px;
}
.map-popup-footer {
  border-top: 1px solid rgba(196,169,125,0.1);
  margin: 0;
}
.map-popup-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; color: var(--gold);
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(196,169,125,0.02);
}
.map-popup-link:hover {
  background: rgba(196,169,125,0.06); padding-left: 32px;
}
.map-popup-link-arrow {
  font-size: 16px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0.6;
}
.map-popup-link:hover .map-popup-link-arrow { transform: translateX(4px); opacity: 1; }
.map-marker-icon { background: none !important; border: none !important; }

.map-legend {
  display: flex; gap: 24px; justify-content: center; margin-top: 24px; flex-wrap: wrap;
  padding: 0 8%;
}
.map-legend-item {
  display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 1.5px;
  color: var(--slate); font-weight: 500;
}
.map-legend-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.map-legend-dot.current { background: var(--gold); box-shadow: 0 0 8px rgba(196,169,125,0.6); }

@media (max-width: 768px) {
  #projectMap { height: 400px; }
  .map-container { margin-top: 40px; }
}

/* === Testimonials / Social Proof === */
.testimonials-section {
  background: var(--black); position: relative; overflow: hidden;
}
.testimonials-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196,169,125,0.02), transparent 60%);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 64px;
}
.testimonial-card {
  padding: 44px 36px;
  border: 1px solid rgba(196,169,125,0.06);
  background: rgba(196,169,125,0.012);
  transition: all 0.5s var(--ease-out);
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: ''; position: absolute; top: 0; left: 36px; right: 36px;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(196,169,125,0.1), transparent);
  opacity: 0; transition: opacity 0.5s;
}
.testimonial-card:hover {
  border-color: rgba(196,169,125,0.15);
  background: rgba(196,169,125,0.02);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-stars {
  font-size: 13px; color: var(--gold); letter-spacing: 3px; margin-bottom: 20px;
  opacity: 0.5;
}
.testimonial-quote-mark {
  font-family: 'Cormorant Garamond', serif; font-size: 64px;
  color: rgba(196,169,125,0.08); line-height: 0.5; display: block;
  margin-bottom: 8px;
}
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: rgba(255,255,255,0.85);
  font-weight: 300; font-style: italic; line-height: 1.75;
}
.testimonial-divider {
  width: 24px; height: 1px; background: rgba(196,169,125,0.15);
  margin: 24px 0;
}
.testimonial-name {
  font-size: 13px; color: white; font-weight: 600; letter-spacing: 0.5px;
}
.testimonial-role {
  font-size: 9px; color: var(--gold); letter-spacing: 2.5px; font-weight: 600; margin-top: 4px;
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 32px 28px; }
}

/* === Skeleton Loading Screens === */
@keyframes skeletonShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.skeleton-img {
  position: relative; overflow: hidden;
}
.skeleton-img::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    110deg,
    rgba(255,255,255,0.02) 0%,
    rgba(255,255,255,0.02) 40%,
    rgba(196,169,125,0.04) 50%,
    rgba(255,255,255,0.02) 60%,
    rgba(255,255,255,0.02) 100%
  );
  background-size: 200% auto;
  animation: skeletonShimmer 2.5s linear infinite;
}
.skeleton-img.loaded::after {
  opacity: 0; transition: opacity 0.5s;
}
/* Text skeleton placeholders */
.skeleton-text {
  height: 14px; border-radius: 2px;
  background: linear-gradient(
    110deg,
    rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 40%,
    rgba(196,169,125,0.06) 50%,
    rgba(255,255,255,0.03) 60%, rgba(255,255,255,0.03) 100%
  );
  background-size: 200% auto;
  animation: skeletonShimmer 2.5s linear infinite;
}

/* === Responsive === */
@media (max-width: 1200px) {
  section { padding: 120px 6%; }
  .nav-links { gap: 28px; }
}
@media (max-width: 1024px) {
  section { padding: 100px 6%; }
}
@media (max-width: 768px) {
  section { padding: 80px 6%; }
  nav { height: 64px; padding: 0 5%; }
  nav.scrolled { height: 56px; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Footer */
  footer { grid-template-columns: 1fr; gap: 32px; padding: 56px 6% 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px 6%; }
  .footer-brand-text { font-size: 16px; letter-spacing: 6px; }
  .footer-contact-info { font-size: 12px; }

  /* Page Hero */
  .page-hero { padding: 130px 6% 56px; }
  .page-hero h1 { letter-spacing: 0.04em; }

  /* Hide desktop cursor & noise */
  .cursor-dot, .cursor-ring { display: none !important; }
  body::after { display: none; }

  /* Mobile menu */
  .mobile-menu a { font-size: 28px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Section typography */
  .section-title { font-size: clamp(26px, 6vw, 40px); margin-bottom: 18px; }
  .section-body { font-size: 14px; line-height: 1.8; }
  .section-label { font-size: 8px; letter-spacing: 4px; gap: 10px; }

  /* Stat row */
  .stat-value { font-size: 40px; }
  .stat-label { font-size: 8px; letter-spacing: 2.5px; }
  .stat-card { padding: 36px 20px; }

  /* Project cards */
  .project-image { height: 240px; }
  .project-info { padding: 22px 20px; }
  .project-name { font-size: 20px; }
  .project-location { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 10px; }
  .project-details { font-size: 12px; }
  .project-specs { flex-wrap: wrap; gap: 6px; }
  .project-spec { font-size: 10px; padding: 4px 10px; }

  /* Quote section */
  .quote-text { font-size: clamp(18px, 4vw, 24px) !important; padding: 0 4%; }
  .quote-mark { font-size: 80px !important; }
  .quote-author { font-size: 10px !important; }

  /* CTA banner */
  .cta-banner { padding: 72px 6%; }
  .cta-banner h2 { font-size: clamp(24px, 5vw, 36px); }
  .cta-banner p { font-size: 12px; }

  /* Map popup */
  .map-popup-inner { min-width: 220px; max-width: 260px; }
  .map-popup-header { padding: 18px 20px 12px; }
  .map-popup-name { font-size: 16px; }
  .map-popup-suburb { font-size: 9px; }
  .map-popup-desc { padding: 0 20px 14px; font-size: 12px; }
  .map-popup-link { padding: 14px 20px; font-size: 9px; }

  /* Map legend */
  .map-legend { bottom: 12px; left: 12px; padding: 10px 14px; }
  .map-legend-item { font-size: 9px; }

  /* Back to top */
  .back-to-top { bottom: 20px; right: 20px; width: 38px; height: 38px; }

  /* Timeline (if visible on index/about) */
  .tl-year { font-size: 28px; }

  /* Buttons */
  .btn-primary, .btn-outline { font-size: 10px; padding: 14px 28px; letter-spacing: 2.5px; }
}

@media (max-width: 480px) {
  section { padding: 56px 5%; }
  .page-hero { padding: 110px 5% 44px; }
  .cta-banner { padding: 56px 5%; }
  footer { padding: 44px 5% 28px; }

  /* Full-width buttons */
  .btn-primary, .btn-outline { width: 100%; text-align: center; padding: 15px 24px; }

  /* Tighter section typography */
  .section-title { font-size: clamp(24px, 7vw, 32px); }
  .section-body { font-size: 13px; }

  /* Stat row */
  .stat-value { font-size: 34px; }
  .stat-card { padding: 28px 16px; }

  /* Project cards */
  .project-image { height: 200px; }
  .project-info { padding: 18px 16px; }
  .project-name { font-size: 18px; }
  .project-details { font-size: 11px; }

  /* Quote */
  .quote-text { font-size: 17px !important; padding: 0 2%; }
  .quote-mark { font-size: 60px !important; }

  /* Page hero */
  .page-hero h1 { letter-spacing: 0.02em; }

  /* Nav brand */
  .nav-brand-main { font-size: 16px; letter-spacing: 6px; margin-right: -6px; }
  .nav-brand-sub { font-size: 6px; letter-spacing: 4px; }

  /* Map */
  .map-popup-inner { min-width: 200px; max-width: 240px; }
  .map-popup-header { padding: 14px 16px 10px; gap: 8px; }
  .map-popup-name { font-size: 14px; }
  .map-popup-desc { padding: 0 16px 12px; font-size: 11px; }
  .map-popup-link { padding: 12px 16px; }
  .map-popup-status { font-size: 7px; padding: 3px 8px; }
}
