/* =========================================================================
   LUXURY DESIGN SYSTEM v2 — IH Atelier
   Production-Ready | Cinematic | Refined
   ========================================================================= */

/* --- ACCESSIBILITY --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold-accent);
  color: white;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-size: 14px;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* --- DESIGN TOKENS --- */
:root {
  /* Palette */
  --bg: #f7f5f1;
  --bg-2: #eeebe6;
  --bg-3: #e5e1da;
  --ink: #0b0b0c;
  --text: #1a1814;
  --text-dim: rgba(26, 24, 20, 0.58);
  --text-muted: rgba(26, 24, 20, 0.36);
  --gold: #4a5568;
  --gold-accent: #6b7a8c;
  --gold-soft: rgba(107, 122, 140, 0.1);
  --gold-border: rgba(107, 122, 140, 0.35);
  --white: #1a1814;
  --black: #0b0b0c;

  /* Cinematic Gradients */
  --gradient-film: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  --gradient-reveal: linear-gradient(90deg, var(--bg) 0%, transparent 100%);

  /* Shadows - Unified Luxury Style */
  --shadow: 0 8px 48px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 24px 96px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 0 transparent;

  /* Typography - Brand Font */
  --font-brand: "Libre Baskerville", "ITC New Baskerville Roman", Georgia, serif;
  --shadow-glow-strong: 0 0 0 transparent;

  /* Radius - Unified */
  --r: 4px;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Typography */
  --font-serif: Optima, "Segoe UI", sans-serif;
  --font-sans: Optima, "Segoe UI", sans-serif;
  --fs-display: clamp(4.5rem, 11vw, 11rem);
  --fs-h1: clamp(3rem, 7vw, 7rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 3.8rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.6rem);
  --fs-body: clamp(0.875rem, 1vw, 1rem);
  --fs-small: 0.8rem;
  --fs-xs: 0.65rem;
  --lh-tight: 1.05;
  --lh-normal: 1.65;
  --lh-loose: 1.85;
  --ls-tight: -0.04em;
  --ls-caps: 0.18em;

  /* Animation Timing */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-out: cubic-bezier(0, 0.55, 0.45, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.4s;
  --dur-mid: 0.8s;
  --dur-slow: 1.2s;
  --dur-cinematic: 1.2s;

  /* Spacing */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 64px;
  --sp-6: 96px;
  --sp-7: 128px;

  /* Cinematic Cursor System */
  --mx: 0.5;
  --my: 0.5;
  --px: 0.5;
  --py: 0.5;
  --cursor-size: 8px;
  --cursor-ring-size: 40px;
  --cursor-color: var(--ink);
  --cursor-ring-color: var(--ink);
}

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

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  /* prevent any child from widening the document */
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  /* belt-and-suspenders against wide children */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loading {
  overflow: hidden;
}

body.has-custom-cursor {
  cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

/* =========================================================================
   CINEMATIC CURSOR SYSTEM
   ========================================================================= */

/* Cursor Container */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
  /* own compositor layer — no repaint on move */
  backface-visibility: hidden;
  /* prevent sub-pixel blurring on some GPUs */
}

.cursor.active,
.cursor-follower.active {
  opacity: 1;
}

/* Cursor Inner Dot */
.cursor {
  width: 10px;
  height: 10px;
  background-color: var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.2s var(--ease-smooth),
    height 0.2s var(--ease-smooth),
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 0 12px rgba(11, 11, 12, 0.4);
}

/* Cursor Outer Ring */
.cursor-follower {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(11, 11, 12, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.35s var(--ease-smooth),
    height 0.35s var(--ease-smooth),
    border-color 0.3s ease,
    border-width 0.3s ease;
}

.cursor.active {
  opacity: 1;
}

.cursor-follower.active {
  opacity: 0.6;
}

/* Cursor Focus State - Interactive Elements */
.cursor.focus {
  width: 16px;
  height: 16px;
  background-color: var(--ink);
  box-shadow: 0 0 20px rgba(11, 11, 12, 0.5);
}

.cursor-follower.focus {
  width: 60px;
  height: 60px;
  border-color: var(--ink);
  border-width: 2px;
}

/* Inverted cursor over dark/black surfaces */
.cursor.inverted {
  background-color: #f7f5f1 !important;
  box-shadow: 0 0 12px rgba(247, 245, 241, 0.5) !important;
}

.cursor-follower.inverted {
  border-color: rgba(247, 245, 241, 0.7) !important;
}

.cursor.inverted.focus {
  background-color: #f7f5f1 !important;
  box-shadow: 0 0 20px rgba(247, 245, 241, 0.6) !important;
}

.cursor-follower.inverted.focus {
  border-color: #f7f5f1 !important;
}

/* Hide cursor on mobile/touch and reduced motion */
@media (hover: none) {

  .cursor,
  .cursor-follower {
    display: none !important;
  }

  body.has-custom-cursor {
    cursor: auto;
  }

  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: pointer;
  }
}

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

  .cursor,
  .cursor-follower {
    display: none !important;
  }

  body.has-custom-cursor {
    cursor: auto;
  }
}

/* =========================================================================
   TILT 3D EFFECTS - Cinematic Depth
   ========================================================================= */

/* Base Tilt Container */
.tilt3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-smooth);
  will-change: transform;
  overflow: hidden;
}

.tilt3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at calc(var(--px, 0.5) * 100%) calc(var(--py, 0.5) * 100%),
      rgba(107, 122, 140, 0.12) 0%,
      transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.tilt3d:hover::before {
  opacity: 1;
}

/* Tilt Hover State */
.tilt3d:hover {
  transform: perspective(1000px) rotateX(calc((var(--py, 0.5) - 0.5) * -6deg)) rotateY(calc((var(--px, 0.5) - 0.5) * 6deg)) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Tilt Content Lift */
.tilt3d-content {
  transform: translateZ(20px);
  transition: transform 0.5s var(--ease-smooth);
}

.tilt3d:hover .tilt3d-content {
  transform: translateZ(30px);
}

/* Disable tilt on touch and reduced motion */
@media (hover: none) {
  .tilt3d {
    transform: none !important;
  }

  .tilt3d::before {
    display: none;
  }

  .tilt3d:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tilt3d {
    transform: none !important;
    transition: none;
  }

  .tilt3d::before {
    display: none;
  }
}

/* =========================================================================
   CINEMATIC AMBIENT DRIFT - Subtle Parallax
   ========================================================================= */

.ambient-drift {
  transition: transform 0.8s var(--ease-smooth);
  will-change: transform;
}

@media (hover: none) {
  .ambient-drift {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-drift {
    transform: none !important;
    transition: none;
  }
}

img {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
}

/* =========================================================================
   PAGE LOADER — Cinematic Reveal
   ========================================================================= */
.page-loader {
  position: fixed;
  inset: 0;
  /* Explicitly fill the full viewport — immune to body/html max-width */
  width: 100vw;
  height: 100vh;
  min-height: -webkit-fill-available;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-brand);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(20px);
}

.loader-text-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.8rem;
}

.loader-line {
  width: 1px;
  height: 40px;
  background: var(--ink);
  flex-shrink: 0;
  transform-origin: center top;
  transform: scaleY(0);
}

.loader-text {
  font-family: Optima, "Segoe UI", sans-serif;
  font-size: clamp(0.7rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
}

body.loading .loader-logo {
  animation: loaderFadeIn 0.8s var(--ease-expo) 0.2s forwards;
}

.loader-logo-img {
  display: block;
  height: clamp(70px, 12vw, 130px);
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
}

body.loading .loader-logo-img {
  animation: loaderFadeIn 0.8s var(--ease-expo) 0.2s forwards;
}

body.loading .loader-line {
  animation: loaderLineGrow 1.2s var(--ease-expo) 0.6s forwards;
}

body.loading .loader-text {
  animation: loaderFadeIn 0.6s var(--ease) 1s forwards;
}

@keyframes loaderFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderLineGrow {
  to {
    transform: scaleY(1);
  }
}

/* =========================================================================
   PAGE TRANSITIONS
   ========================================================================= */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
}

.page-transition::before,
.page-transition::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.page-transition::before {
  top: 0;
}

.page-transition::after {
  bottom: 0;
  transform-origin: right;
}

.page-transition.active::before {
  animation: slideRevealTop 0.8s var(--ease-expo) forwards;
}

.page-transition.active::after {
  animation: slideRevealBottom 0.8s var(--ease-expo) forwards;
}

@keyframes slideRevealTop {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }

  50% {
    transform: scaleX(1);
    transform-origin: left;
  }

  50.1% {
    transform-origin: right;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

@keyframes slideRevealBottom {
  0% {
    transform: scaleX(0);
    transform-origin: right;
  }

  50% {
    transform: scaleX(1);
    transform-origin: right;
  }

  50.1% {
    transform-origin: left;
  }

  100% {
    transform: scaleX(0);
    transform-origin: left;
  }
}

/* =========================================================================
   SCROLL PROGRESS BAR
   ========================================================================= */

/* =========================================================================
   NAVIGATION — Cinematic
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--dur-mid) var(--ease),
    backdrop-filter var(--dur-mid) var(--ease),
    border-color var(--dur-mid) var(--ease),
    height var(--dur-mid) var(--ease);
}

.navbar.scrolled {
  background: rgba(247, 245, 241, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gold-border);
  height: 64px;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.nav-logo a {
  display: inline-block;
  transition: opacity var(--dur-mid) var(--ease);
}

.nav-logo a:hover {
  opacity: 0.85;
}

.nav-logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-height: 46px;
  object-fit: contain;
}

/* Hero Brand Logo */
.hero-brand-logo {
  display: block;
  height: clamp(80px, 15vw, 180px);
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* Footer Brand Logo */
.footer-brand-logo {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: var(--sp-4);
}

.nav-link {
  position: relative;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 0;
  transition: color var(--dur-fast) var(--ease);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  transition: width var(--dur-mid) var(--ease);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link.active {
  color: var(--gold-accent);
  text-shadow: 0 0 20px rgba(107, 122, 140, 0.3);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav-cta {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--gold-border);
  padding: 12px 28px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--dur-fast) var(--ease);
  position: relative;
  overflow: hidden;
  background: transparent;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-mid) var(--ease);
  z-index: -1;
}

.nav-cta:hover {
  color: #fff;
  border-color: var(--gold-accent);
}

.nav-cta:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1001;
}

.menu-btn .lines {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--dur-fast) var(--ease);
}

.menu-btn.active .lines:first-child {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-btn.active .lines:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* =========================================================================
   FULLSCREEN MENU OVERLAY
   ========================================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  /* Explicitly fill the viewport — prevents centering drift when page has overflow */
  width: 100vw;
  height: 100vh;
  background: var(--ink);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-mid) var(--ease), visibility var(--dur-mid);
}

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

.menu-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--bg);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-back);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.menu-close-btn:hover {
  transform: rotate(90deg);
}

.menu-close-btn:active {
  transform: rotate(90deg) scale(0.95);
}

.menu-links {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.menu-links li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(30px);
}

.menu-overlay.active .menu-links li {
  animation: menuLinkReveal 0.6s var(--ease-expo) forwards;
}

.menu-overlay.active .menu-links li:nth-child(1) {
  animation-delay: 0.1s;
}

.menu-overlay.active .menu-links li:nth-child(2) {
  animation-delay: 0.15s;
}

.menu-overlay.active .menu-links li:nth-child(3) {
  animation-delay: 0.2s;
}

.menu-overlay.active .menu-links li:nth-child(4) {
  animation-delay: 0.25s;
}

.menu-overlay.active .menu-links li:nth-child(5) {
  animation-delay: 0.3s;
}

@keyframes menuLinkReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-links a {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 6vw, 4rem);
  font-style: normal;
  color: var(--bg);
  transition: color var(--dur-fast) var(--ease), letter-spacing var(--dur-fast) var(--ease);
  display: inline-block;
}

.menu-links a:hover {
  color: var(--gold-accent);
  letter-spacing: 0.05em;
}

/* =========================================================================
   THREE.JS CANVAS CONTAINER
   ========================================================================= */
#three-canvas-container,
#hero-canvas,
#about-blueprint-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero-canvas {
  pointer-events: auto;
}

/* =========================================================================
   AMBIENT ORBS — Subtle Atmosphere
   ========================================================================= */
.orb {
  display: none !important;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -20px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 30px) scale(0.95);
  }

  75% {
    transform: translate(40px, 10px) scale(1.02);
  }
}

/* =========================================================================
   HERO SECTION — Light Black & White Aesthetic
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-parallax-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* Hero Background Image - Light BW */
.hero-photo {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg,
      rgba(247, 245, 241, 0.85) 0%,
      rgba(247, 245, 241, 0.7) 30%,
      rgba(247, 245, 241, 0.75) 70%,
      rgba(247, 245, 241, 0.9) 100%),
    url('images/architecture.png') center center / cover no-repeat;
  filter: grayscale(100%) contrast(1.1);
  transform: scale(1.05);
  transition: transform 10s ease-out, filter 0.5s ease;
}

.hero:hover .hero-photo {
  transform: scale(1.02);
  filter: grayscale(80%) contrast(1.05);
}

/* Light overlay with subtle gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
    linear-gradient(180deg,
      rgba(247, 245, 241, 0.4) 0%,
      transparent 30%,
      transparent 70%,
      rgba(247, 245, 241, 0.8) 100%);
}

/* Subtle vertical lines */
.hero-grid {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-evenly;
  opacity: 0.04;
  pointer-events: none;
}

.hg-line {
  width: 1px;
  height: 100%;
  background: var(--text);
}

/* Center accent line */
.hero-box::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--text), transparent);
}

.hero-box {
  text-align: center;
  padding: var(--sp-5);
  position: relative;
  z-index: 10;
}

.hero-pretitle {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  display: inline-block;
}

/* Animated line before pretitle */
.hero-pretitle::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 50%;
  width: 25px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-accent));
}

.hero-pretitle::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 50%;
  width: 25px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-accent), transparent);
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(7rem, 20vw, 22rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.12em;
  color: var(--text);
  line-height: 0.85;
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  position: relative;
  display: block;
  text-align: center;
  width: 100%;
}


/* Elegant underline with animation */
.hero-brand::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  animation: lineExpand 1.5s ease forwards;
  animation-delay: 1.5s;
}

@keyframes lineExpand {
  to {
    width: 120px;
  }
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--sp-5);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  text-align: center;
}

/* Decorative dots around tagline */
.hero-tagline::before,
.hero-tagline::after {
  content: '·';
  margin: 0 var(--sp-2);
  color: var(--gold-accent);
  opacity: 0.6;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-style: normal;
  color: var(--text-muted);
  margin-top: var(--sp-4);
  opacity: 0;
  transform: translateY(20px);
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
}

/* Subtle glow effect on subtitle */
.hero-subtitle::after {
  content: '';
  position: absolute;
  inset: -10px -20px;
  background: radial-gradient(ellipse at center, rgba(107, 122, 140, 0.15) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  animation: subtleGlow 4s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes subtleGlow {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* Minimal scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  z-index: 10;
  opacity: 0;
  animation: fadeInUp 1s ease 2s forwards;
}

.scroll-indicator span {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 0.2;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.8;
    transform: scaleY(1.2);
  }
}

/* =========================================================================
   BLUEPRINT SECTION
   ========================================================================= */
.blueprint-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding: var(--sp-7) var(--sp-5);
  position: relative;
  background: var(--bg);
}

.blueprint-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-6) var(--sp-5);
  padding-left: 10vw;
  overflow: visible;
}

.section-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.section-label .dot {
  width: 6px;
  height: 6px;
  background: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(107, 122, 140, 0.5);
}

.text-center {
  text-align: center;
}

.blueprint-heading {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  color: var(--text);
  margin-bottom: var(--sp-4);
}

.blueprint-heading em {
  font-style: normal;
  color: var(--gold-accent);
}

.blueprint-body {
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--text-dim);
  margin-bottom: var(--sp-3);
  max-width: 500px;
}

.blueprint-subtext {
  font-size: var(--fs-small);
  color: var(--text);
  /* Black per user request */
  font-style: normal;
  margin-bottom: var(--sp-5);
}

.blueprint-quote {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gold-border);
  margin-top: var(--sp-3);
}

.blueprint-quote blockquote {
  margin: 0;
  padding: 0;
}

.blueprint-quote blockquote p {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: normal;
  color: var(--text);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-2);
}

.blueprint-quote blockquote cite {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-style: normal;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

.blueprint-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blueprint-right canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.blueprint-badge {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.blueprint-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 24, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 24, 20, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* =========================================================================
   CLIENT LOGOS STRIP
   ========================================================================= */
.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-5);
  background: var(--bg);
  flex-wrap: wrap;
  overflow: hidden;
}

.client-logos h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.85;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.client-logos h3:hover {
  opacity: 1;
  transform: scale(1.05);
  color: var(--ink);
}

/* =========================================================================
   VIEW & FEEL SECTION
   ========================================================================= */
.view-feel {
  position: relative;
  background: var(--ink);
}

.view-feel .image-wrapper {
  position: relative;
  height: 85vh;
  overflow: hidden;
  box-shadow: none;
}

.view-feel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 12s ease-out;
}

.view-feel .image-wrapper:hover img {
  transform: translateZ(0) scale(1.03);
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.6) 100%);
}

.view-feel .img-overlay {
  display: none;
}

.black-banner {
  background: var(--ink);
  padding: var(--sp-7) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.black-banner h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--bg);
  text-align: center;
  line-height: var(--lh-tight);
}

.black-banner h2 strong {
  color: var(--gold-accent);
  font-weight: 400;
}

/* =========================================================================
   CONCEPT GALLERY
   ========================================================================= */
.concept-gallery {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg);
}

.section-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  color: var(--text);
  margin-bottom: var(--sp-5);
}

.gallery-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 100vw;
  box-sizing: border-box;
}

.gallery-track {
  display: flex;
  gap: var(--sp-3);
  transition: transform var(--dur-mid) var(--ease-expo);
  will-change: transform;
  /* prevent repaints */
  contain: layout style paint;
  /* isolate layout from siblings */
}

.gallery-item {
  flex-shrink: 0;
  width: 45vw;
  max-width: 700px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r);
  position: relative;
  opacity: 0.4;
  filter: grayscale(0.3);
  transform: scale(0.95) translateZ(0);
  /* force GPU compositing */
  transition: opacity var(--dur-mid) var(--ease),
    filter var(--dur-mid) var(--ease),
    transform var(--dur-mid) var(--ease);
  contain: layout style paint;
  /* prevent CLS */
  will-change: transform, opacity, filter;
}

.gallery-item.active {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-5);
}

/* Projects Gallery — when inside gallery-track */
.gallery-track .project-card {
  flex-shrink: 0;
  width: 45vw;
  max-width: 700px;
  opacity: 1;
  filter: grayscale(0);
  transform: scale(0.97) translateZ(0);
  transition: transform var(--dur-mid) var(--ease);
  contain: layout style paint;
  will-change: transform;
}

.gallery-track .project-card:hover {
  transform: scale(1) translateZ(0);
}

.gallery-track .project-card.active {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1) translateZ(0);
}

/* Infinite circular scroll — full-bleed gallery, no max-width, gap replaced by margin-right */
.projects .gallery-wrapper {
  margin-left: calc(-1 * var(--sp-5));
  margin-right: calc(-1 * var(--sp-5));
}

@keyframes projects-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#projects-track {
  gap: 0;
  animation: projects-marquee 22s linear infinite;
  transition: none !important;
}

/* Cards in the marquee: no max-width so 45vw always fills the viewport */
#projects-track .project-card {
  margin-right: var(--sp-3);
  max-width: none;
}

.gallery-wrapper:hover #projects-track {
  animation-play-state: paused;
}

/* Keep tilt3d effects on project cards */
.gallery-track .project-card.tilt3d:hover {
  transform: perspective(1200px) rotateX(var(--rotX, 0deg)) rotateY(var(--rotY, 0deg));
}

.explore-btn {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--gold-border);
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  position: relative;
  overflow: hidden;
}

.explore-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-accent);
  transform: translateY(100%);
  transition: transform var(--dur-mid) var(--ease);
  z-index: -1;
}

.explore-btn:hover {
  color: #fff;
  border-color: var(--gold-accent);
}

.explore-btn:hover::before {
  transform: translateY(0);
}

.gallery-nav {
  display: flex;
  gap: var(--sp-2);
}

.nav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #fff;
}

/* =========================================================================
   PROJECTS SECTION
   ========================================================================= */
.projects {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-5);
}

.huge-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--text);
}

.projects-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
}

.nav-arrow-light {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.nav-arrow-light:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.project-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
  transition: transform var(--dur-mid) var(--ease-expo), box-shadow var(--dur-mid) var(--ease);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.project-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-logo {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.9rem;
  color: #fff;
  z-index: 2;
  width: 80px;
  overflow: hidden;
}

.card-logo-img {
  display: block !important;
  height: 18px !important;
  width: auto !important;
  max-width: 80px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 12, 0.7) 100%);
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease);
}

.project-card:hover .card-overlay {
  opacity: 0.9;
}

.card-info {
  padding: var(--sp-3);
  position: relative;
}

.card-info h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: var(--sp-1);
}

.card-noir-line {
  width: 40px;
  height: 1px;
  background: var(--gold-accent);
  margin: var(--sp-1) 0;
}

.card-info p {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.all-projects-link {
  text-align: center;
  margin-top: var(--sp-5);
}

.all-projects-link a {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}

.all-projects-link a:hover {
  border-bottom-color: var(--gold-accent);
}

.center-card {
  transform: translateY(var(--sp-4));
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--ink);
  padding: var(--sp-5) var(--sp-5) var(--sp-3);
}

.footer-container {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: var(--sp-4);
}

.footer-logo {
  flex-shrink: 0;
  padding-right: 2rem;
  border-right: 1px solid rgba(247, 245, 241, 0.1);
}

.footer-logo h1 {
  font-family: var(--font-brand);
  font-size: 2.5rem;
  font-weight: 600;
  font-style: normal;
  color: var(--bg);
  position: relative;
  display: inline-block;
}

.footer-logo h1::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-accent);
  opacity: 0.5;
}

.footer-logo p {
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.6);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex: 1;
  gap: 2.5rem;
  justify-content: space-between;
}

.footer-col h4 {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: var(--sp-1);
}

.footer-col p {
  font-size: var(--fs-small);
  color: rgba(247, 245, 241, 0.5);
  line-height: var(--lh-normal);
  margin: 0;
}

.footer-col a {
  color: rgba(247, 245, 241, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--gold-accent);
}

.footer-col.right-align {
  text-align: left;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 245, 241, 0.1);
  padding-top: var(--sp-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(247, 245, 241, 0.4);
  margin: 0;
}

.footer-ih-group {
  font-size: var(--fs-xs);
  color: rgba(247, 245, 241, 0.4);
}

.ih-group-brand {
  color: var(--gold-accent);
}

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  /* Safety fallback: if GSAP never fires, still show the content */
  animation: revealFallback 0.8s ease forwards;
  animation-delay: 1s;
  will-change: opacity, transform;
}

.reveal-3d {
  opacity: 0;
  transform: translateY(40px) rotateX(8deg);
  transform-perspective: 1000px;
  animation: revealFallback 0.8s ease forwards;
  animation-delay: 1.2s;
  will-change: opacity, transform;
}

/* Fallback: reveal content if GSAP never fires (e.g. slow connection) */
@keyframes revealFallback {
  to {
    opacity: 1;
    transform: none;
  }
}

/* When GSAP takes over, it sets inline styles which override the animation */

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .blueprint-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--sp-6) var(--sp-4);
  }

  .blueprint-left {
    padding: var(--sp-4);
    order: 2;
  }

  .blueprint-right {
    min-height: 50vh;
    order: 1;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .center-card {
    transform: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .menu-btn {
    display: flex !important;
  }

  .hero-box {
    padding: var(--sp-4);
  }

  .blueprint-stats {
    gap: var(--sp-2);
  }

  .bp-num {
    font-size: 1.5rem;
  }

  .bp-label {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .bp-stat {
    min-width: 70px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .client-logos {
    gap: var(--sp-4);
    padding: var(--sp-4);
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-logo {
    border-right: none;
    border-bottom: 1px solid rgba(247, 245, 241, 0.1);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-col.right-align {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .gallery-item {
    width: 85vw;
  }

  .typo-row {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .process-timeline-step {
    flex-direction: column;
  }
}

/* =========================================================================
   SERVICES PAGE STYLES
   ========================================================================= */
.services {
  padding: 120px 0 var(--sp-7);
  min-height: 100vh;
  position: relative;
  background: var(--bg);
}

.wireframe-bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 24, 20, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 24, 20, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.wireframe-bg.flip {
  transform: scaleY(-1);
}

.services-intro {
  text-align: center;
  padding: 0 var(--sp-5) var(--sp-6);
  max-width: 800px;
  margin: 0 auto;
}

.services-heading {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  color: var(--text);
  margin-bottom: var(--sp-3);
  line-height: var(--lh-tight);
}

.services-desc {
  font-size: var(--fs-body);
  color: var(--text-dim);
  line-height: var(--lh-loose);
}

.services-labels {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-5) 10vw;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

/* =========================================================================
   TWO-COLUMN SERVICES LAYOUT
   ========================================================================= */
.services-two-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-5);
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-5);
  position: relative;
}

.services-column {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.column-header {
  text-align: center;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--gold-border);
}

.column-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-accent);
  text-transform: uppercase;
}

.column-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  font-style: normal;
  color: var(--text);
  margin: var(--sp-2) 0;
}

.column-subtitle {
  font-size: var(--fs-small);
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.services-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
}

.divider-line {
  width: 1px;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(to bottom,
      transparent 0%,
      var(--gold-border) 10%,
      var(--gold-accent) 50%,
      var(--gold-border) 90%,
      transparent 100%);
  position: relative;
}

.divider-line::before,
.divider-line::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-accent);
}

.divider-line::before {
  top: 0;
}

.divider-line::after {
  bottom: 0;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Service Card - Updated for Two Column Layout */
.service-card-3d {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r);
  transition: transform var(--dur-mid) var(--ease-expo),
    box-shadow var(--dur-mid) var(--ease),
    border-color var(--dur-fast) var(--ease);
  cursor: pointer;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  border-radius: var(--r);
  border: 1px solid var(--gold-border);
  transition: all var(--dur-fast) var(--ease);
}

.service-card-3d:hover {
  transform: translateY(-4px);
}

.service-card-3d:hover .service-card-bg {
  background: rgba(107, 122, 140, 0.06);
  border-color: #8a9a9d;
  box-shadow: 0 8px 48px rgba(138, 154, 157, 0.35), 0 0 80px rgba(138, 154, 157, 0.3);
}

.service-card-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
}

.service-image-wrap {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: var(--r);
  overflow: hidden;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-mid) var(--ease);
}

.service-card-3d:hover .service-image-wrap img {
  transform: scale(1.05);
}

.service-card-text {
  flex: 1;
  padding: var(--sp-2) 0;
}

.service-card-text h4 {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.service-card-text p {
  font-size: var(--fs-small);
  color: var(--text-dim);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-two-columns {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .services-divider {
    display: none;
  }

  .services-column--build {
    margin-top: var(--sp-6);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--gold-border);
  }
}

@media (max-width: 640px) {
  .service-card-content {
    flex-direction: column;
    text-align: center;
  }

  .service-image-wrap {
    width: 100%;
    height: 180px;
  }

  .services-two-columns {
    padding: var(--sp-5) var(--sp-3);
  }
}

.service-card-title {
  padding: var(--sp-3);
}

.service-card-underline {
  width: 40px;
  height: 1px;
  background: var(--gold-accent);
  margin-bottom: var(--sp-2);
}

.service-card-title h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--text);
  line-height: var(--lh-tight);
}

/* =========================================================================
   TYPOLOGIES SECTION
   ========================================================================= */
.typologies {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg-2);
  position: relative;
}

.typologies-3d-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(107, 122, 140, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(107, 122, 140, 0.02) 0%, transparent 50%);
}

.typo-section-label {
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
}

.typo-main-title {
  text-align: center;
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  color: var(--text);
  margin-bottom: var(--sp-6);
  position: relative;
}

.typo-main-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  margin: var(--sp-3) auto 0;
}

.typo-rows-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-5);
  background: linear-gradient(180deg, transparent 0%, rgba(245, 243, 239, 0.5) 50%, transparent 100%);
  border-radius: 24px;
}

.typo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--gold-border);
  gap: var(--sp-5);
}

.typo-row--right .typo-row-text {
  order: 1;
}

.typo-row--right .typo-row-icon {
  order: 2;
}

.typo-row--left .typo-row-text {
  order: 2;
}

.typo-row--left .typo-row-icon {
  order: 1;
}

.typo-row-text {
  flex: 1;
}

.typo-row-index {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: var(--ls-caps);
}

.typo-row-name {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--text);
  margin: var(--sp-2) 0;
}

.typo-row-desc {
  font-size: var(--fs-body);
  color: var(--text-dim);
  line-height: var(--lh-normal);
  max-width: 480px;
}

.typo-row-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom,
      transparent 0%,
      var(--gold-border) 20%,
      var(--gold-accent) 50%,
      var(--gold-border) 80%,
      transparent 100%);
}

/* =========================================================================
   TYPOLOGIES 3D ICON CARDS
   ========================================================================= */
.typo-row-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 260px;
  padding: var(--sp-6);
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-2) 100%);
  border-radius: 24px;
  border: 1px solid var(--gold-border);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.04),
    0 2px 8px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

/* Luxury glass reflection effect */
.typo-row-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.04) 40%,
      transparent 100%);
  pointer-events: none;
  border-radius: 4px 20px 0 0;
}

/* Gold accent glow on hover */
.typo-row-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg,
      rgba(107, 122, 140, 0.5) 0%,
      rgba(107, 122, 140, 0.1) 30%,
      transparent 50%,
      rgba(107, 122, 140, 0.15) 70%,
      rgba(107, 122, 140, 0.3) 100%);
  border-radius: 23px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
  filter: blur(8px);
}

.typo-row-icon:hover {
  border-color: var(--gold-accent);
  transform: translateY(-12px) rotateX(8deg) rotateY(-5deg) scale(1.02);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(107, 122, 140, 0.3),
    0 0 40px rgba(107, 122, 140, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.typo-row-icon:hover::after {
  opacity: 1;
}

.typo-row-tag {
  display: none;
}

.typo-icon-3d {
  width: 120px;
  height: 120px;
  color: var(--gold-accent);
  stroke: var(--gold-accent);
  stroke-width: 1;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(107, 122, 140, 0.35));
}

.typo-row-icon:hover .typo-icon-3d {
  transform: scale(1.15) translateZ(30px);
  filter: drop-shadow(0 16px 32px rgba(107, 122, 140, 0.5));
}

.typo-card-3d {
  position: relative;
  transform-style: preserve-3d;
}

/* Floating animation for icons */
@keyframes iconFloat {

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

  25% {
    transform: translateY(-4px) rotate(1deg);
  }

  50% {
    transform: translateY(-8px) rotate(0deg);
  }

  75% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

.typo-row-icon .typo-icon-3d {
  animation: iconFloat 5s ease-in-out infinite;
}

.typo-row:nth-child(1) .typo-icon-3d {
  animation-delay: 0s;
}

.typo-row:nth-child(2) .typo-icon-3d {
  animation-delay: 0.8s;
}

.typo-row:nth-child(3) .typo-icon-3d {
  animation-delay: 1.6s;
}

.typo-row:nth-child(4) .typo-icon-3d {
  animation-delay: 2.4s;
}

.typo-row:nth-child(5) .typo-icon-3d {
  animation-delay: 3.2s;
}

/* Subtle pulse glow effect */
@keyframes cardGlow {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), 0 0 0 rgba(107, 122, 140, 0);
  }

  50% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), 0 0 20px rgba(107, 122, 140, 0.08);
  }
}

.typo-row-icon {
  animation: cardGlow 4s ease-in-out infinite;
}

.typo-row:nth-child(1) .typo-row-icon {
  animation-delay: 0s;
}

.typo-row:nth-child(2) .typo-row-icon {
  animation-delay: 0.7s;
}

.typo-row:nth-child(3) .typo-row-icon {
  animation-delay: 1.4s;
}

.typo-row:nth-child(4) .typo-row-icon {
  animation-delay: 2.1s;
}

.typo-row:nth-child(5) .typo-row-icon {
  animation-delay: 2.8s;
}

/* Process Section Extra */
.process-header {
  text-align: center;
  margin-bottom: var(--sp-6);
}

.process-subtitle {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.our-process {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg-2);
}

.process-vline {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold-border);
}

.process-timeline-wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.process-main-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  color: var(--text);
  text-align: center;
  margin-bottom: var(--sp-6);
}

/* =========================================================================
   PROJECTS PAGE STYLES
   ========================================================================= */
.process-timeline {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg);
}

.process-timeline-title {
  text-align: center;
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  color: var(--text);
  margin-bottom: var(--sp-6);
}

.process-timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.process-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold-border);
  transform: translateX(-50%);
}

.process-timeline-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
  position: relative;
}

.process-timeline-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.process-node-ring {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold-accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}

.process-timeline-step:hover .process-node-ring {
  opacity: 0.5;
}

.process-timeline-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--bg-2);
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease);
}

.process-timeline-content:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.process-timeline-content--left {
  margin-right: calc(50% + 60px);
}

.process-timeline-content--right {
  margin-left: calc(50% + 60px);
  flex-direction: row-reverse;
}

.process-bg-num {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 6vw, 5rem);
  font-style: normal;
  color: rgba(26, 24, 20, 0.05);
  position: absolute;
  left: var(--sp-3);
}

.process-step-icon-lg {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.process-glass-panel {
  backdrop-filter: blur(10px);
}

.process-step-body {
  flex: 1;
}

.process-step-num-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: var(--ls-caps);
}

.process-step-name {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text);
  margin: var(--sp-1) 0;
}

.process-step-desc {
  font-size: var(--fs-small);
  color: var(--text-dim);
  line-height: var(--lh-normal);
}

/* =========================================================================
   SERVICES 3D CANVAS
   ========================================================================= */
.services-3d-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

#three-canvas-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* =========================================================================
   ADDITIONAL PAGE STYLES
   ========================================================================= */
.lux-project-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
  transition: transform var(--dur-mid) var(--ease-expo), box-shadow var(--dur-mid) var(--ease);
}

.lux-project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.lux-project-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.lux-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.lux-project-card:hover .lux-project-image img {
  transform: scale(1.05);
}

.lux-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 12, 0.75) 100%);
}

.lux-project-content {
  padding: var(--sp-3);
}

.lux-project-title {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text);
  margin-bottom: var(--sp-1);
}

.lux-project-meta {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.lux-project-cta {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold-accent);
  transition: color var(--dur-fast) var(--ease);
}

.lux-project-cta:hover {
  color: var(--text);
}

.separator-line-thick {
  width: 100%;
  height: 1px;
  background: var(--gold-border);
  margin: var(--sp-5) 0;
}

/* Contact Page */
.contact-section {
  padding: 120px var(--sp-5) var(--sp-7);
  min-height: 100vh;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  padding: var(--sp-5);
}

.contact-form-wrapper {
  padding: var(--sp-5);
  background: var(--bg-2);
  border-radius: var(--r);
  border: 1px solid var(--gold-border);
}

.enquiry-section {
  background: var(--bg-2);
  padding: var(--sp-6) var(--sp-5);
  margin-top: var(--sp-5);
}

.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.enquiry-col h5 {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

.enquiry-link {
  font-size: var(--fs-body);
  color: var(--gold-accent);
  transition: color var(--dur-fast) var(--ease);
}

.enquiry-link:hover {
  color: var(--text);
}

.enquiry-col p {
  font-size: var(--fs-small);
  color: var(--text-dim);
  margin-top: var(--sp-1);
}

.bold-link {
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .enquiry-grid {
    grid-template-columns: 1fr;
  }

  .about-ed-row {
    flex-direction: column;
    gap: var(--sp-4);
  }

  .about-img-col {
    width: 100%;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .lux-project-row {
    flex-direction: column;
    gap: var(--sp-3);
  }
}

/* =========================================================================
   ABOUT PAGE STYLES
   ========================================================================= */
.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.about-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(107, 122, 140, 0.06) 0%, transparent 70%);
}

.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image:
    linear-gradient(rgba(26, 24, 20, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 24, 20, 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-5);
  max-width: 900px;
}

.about-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  font-style: normal;
  color: var(--text);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.about-hero-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold-accent);
  margin: var(--sp-4) auto 0;
  opacity: 0.6;
}

.page-hero-sub {
  font-size: var(--fs-small);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.about-editorial {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg);
  display: flex;
  justify-content: center;
}

.about-ed-row {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-ed-row.reverse {
  flex-direction: row-reverse;
}

.about-img-col {
  flex: 1;
}

.about-img-frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
}

.about-profile-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  background: rgba(255, 255, 255, 0.95);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r);
}

.about-img-badge span {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-body-copy {
  flex: 1;
}

.about-body-copy p {
  font-size: var(--fs-body);
  color: var(--text-dim);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-3);
}

.about-body-italic {
  font-style: normal;
  font-size: 1.1em;
  color: var(--text);
}

.about-pull-quote {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  font-style: normal;
  color: var(--text);
  line-height: 1.2;
  text-align: center;
  margin-bottom: var(--sp-5);
  position: relative;
}

.about-pull-quote em {
  color: var(--gold-accent);
}

.about-quote-col {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-body-copy {
  max-width: 700px;
  margin: 0 auto var(--sp-5);
}

.about-body-copy p {
  font-size: var(--fs-body);
  color: var(--text-dim);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-3);
}

.about-body-copy .about-body-italic {
  font-style: normal;
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-top: var(--sp-4);
}

.about-founder-quote {
  font-size: var(--fs-small);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  line-height: var(--lh-normal);
  margin: var(--sp-5) auto var(--sp-2);
  max-width: 520px;
  border: none;
  padding: 0;
  text-align: center;
}

.about-founder-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 0;
  border-top: none;
}

.about-founder-name {
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  font-style: normal;
  color: var(--text);
}

.about-founder-role {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* IH Atelier — never split across lines in About section */
.ih-atelier-nowrap {
  white-space: nowrap;
}

/* IH Atelier / IHA — always use brand font for consistency */
.loader-logo,
.hero-brand,
.blueprint-heading,
.blueprint-badge,
.card-logo,
.footer-logo h1,
.footer-logo p,
.footer-bottom p,
.footer-ih-group,
.about-hero-title,
.ih-atelier-font {
  font-family: var(--font-brand);
}

.about-stats-band {
  display: flex;
  justify-content: center;
  gap: var(--sp-6);
  padding: var(--sp-6) var(--sp-5);
  background: transparent;
  flex-wrap: wrap;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  max-width: 900px;
  margin: var(--sp-5) auto 0;
}

@media (max-width: 640px) {
  .about-stats-band {
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-3);
  }

  .about-stat-divider {
    display: none;
  }

  .about-founder-image {
    max-width: 200px;
    margin: var(--sp-4) auto 0;
  }
}

.about-stat {
  text-align: center;
}

.about-stat-num {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: normal;
  color: var(--gold-accent);
}

.about-stat-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--sp-1);
}

.about-stat-divider {
  width: 1px;
  height: 50px;
  background: var(--gold-border);
}

.about-founder-tag {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: var(--sp-2);
}

.about-founder-name {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: var(--sp-1);
}

.about-founder-role {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* 3D Architecture Elements */
.arch-3d {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  animation: archFloat 6s ease-in-out infinite;
}

.arch-3d-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.arch-3d-face {
  position: absolute;
  border: 1px solid var(--gold-border);
  background: rgba(107, 122, 140, 0.05);
}

.arch-3d-face-front {
  transform: translateZ(50px);
}

.arch-3d-face-back {
  transform: translateZ(-50px) rotateY(180deg);
}

.arch-3d-face-left {
  transform: translateX(-50px) rotateY(-90deg);
}

.arch-3d-face-right {
  transform: translateX(50px) rotateY(90deg);
}

.arch-3d-face-top {
  transform: translateY(-50px) rotateX(90deg);
}

.arch-3d-face-bottom {
  transform: translateY(50px) rotateX(-90deg);
}

@keyframes archFloat {

  0%,
  100% {
    transform: rotateX(-10deg) rotateY(20deg);
  }

  50% {
    transform: rotateX(-15deg) rotateY(30deg);
  }
}

.tilt-3d {
  perspective: 1000px;
}

.tilt-3d-inner {
  transform-style: preserve-3d;
  transition: transform var(--dur-mid) var(--ease);
}

.tilt-3d:hover .tilt-3d-inner {
  transform: rotateX(5deg) rotateY(-5deg);
}

.tilt-3d-float {
  animation: tiltFloat 4s ease-in-out infinite;
}

@keyframes tiltFloat {

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

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

/* Values Section */
.values-section {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg);
}

.values-header {
  text-align: center;
  margin-bottom: var(--sp-6);
}

.values-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  padding: var(--sp-4);
  background: var(--bg-2);
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease);
}

.value-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  margin-bottom: var(--sp-3);
  color: var(--gold-accent);
}

.value-card h3 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.value-card p {
  font-size: var(--fs-small);
  color: var(--text-dim);
  line-height: var(--lh-normal);
}

.values-footer-btn {
  text-align: center;
  margin-top: var(--sp-5);
}

/* =========================================================================
   CATER TO SECTION - Creative Light Cards with Diamond Icons
   ========================================================================= */
.cater-section {
  padding: var(--sp-7) var(--sp-5);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative dots pattern */
.cater-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(107, 122, 140, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Decorative flowing lines */
.cater-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 200px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(107, 122, 140, 0.03) 25%,
      rgba(107, 122, 140, 0.05) 50%,
      rgba(107, 122, 140, 0.03) 75%,
      transparent 100%);
  transform: translateY(-50%) rotate(-2deg);
  pointer-events: none;
}

.cater-header {
  text-align: center;
  margin-bottom: var(--sp-6);
  position: relative;
  z-index: 1;
}

.cater-header .section-label {
  margin-bottom: var(--sp-2);
}

.cater-header .huge-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: var(--ls-tight);
  position: relative;
}

.cater-header .huge-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  margin: var(--sp-4) auto 0;
}

.cater-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cater-card {
  position: relative;
}

/* Decorative number */
.cater-card::before {
  content: attr(data-number);
  position: absolute;
  top: -8px;
  left: 12px;
  font-family: var(--font-sans);
  font-size: 6rem;
  font-weight: 400;
  color: rgba(107, 122, 140, 0.06);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.cater-card:nth-child(1)::before {
  content: '01';
}

.cater-card:nth-child(2)::before {
  content: '02';
}

.cater-card:nth-child(3)::before {
  content: '03';
}

.cater-card:nth-child(4)::before {
  content: '04';
}

.cater-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  height: 360px;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(245, 243, 239, 0.8) 100%);
  border-radius: 16px;
  border: 1px solid rgba(107, 122, 140, 0.12);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.02),
    0 8px 24px rgba(0, 0, 0, 0.03);
  z-index: 1;
}

/* Top decorative arc */
.cater-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  border-radius: 0 0 50% 50%;
  opacity: 0.4;
  transition: all 0.5s ease;
}

/* Soft inner glow */
.cater-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(107, 122, 140, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.cater-card:hover .cater-card-inner {
  transform: translateY(-6px);
  border-color: rgba(107, 122, 140, 0.3);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(107, 122, 140, 0.08);
}

.cater-card:hover .cater-card-inner::before {
  width: 80%;
  opacity: 0.8;
}

.cater-card:hover .cater-card-inner::after {
  opacity: 1;
}

/* Diamond-shaped Icon Container */
.cater-icon-3d {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  position: relative;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 100%);
  transform: rotate(45deg);
  border: 1px solid rgba(107, 122, 140, 0.2);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    4px 4px 12px rgba(0, 0, 0, 0.04),
    -2px -2px 8px rgba(255, 255, 255, 0.8);
}

/* Inner diamond */
.cater-icon-3d::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  border: 1px solid rgba(107, 122, 140, 0.1);
}

/* Spinning border effect */
.cater-icon-3d::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(107, 122, 140, 0.2);
  transform: rotate(0deg);
  transition: all 0.8s ease;
  opacity: 0;
}

.cater-card:hover .cater-icon-3d::after {
  opacity: 1;
  transform: rotate(45deg);
}

.cater-card:hover .cater-icon-3d {
  border-color: var(--gold-accent);
  box-shadow:
    6px 6px 16px rgba(0, 0, 0, 0.06),
    -3px -3px 12px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(107, 122, 140, 0.15);
}

.cater-icon-3d svg {
  width: 40px;
  height: 40px;
  color: var(--gold-accent);
  stroke: var(--gold-accent);
  position: relative;
  z-index: 1;
  transform: rotate(-45deg);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 4px 10px rgba(107, 122, 140, 0.3));
}

.cater-card:hover .cater-icon-3d svg {
  transform: rotate(-45deg) scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(107, 122, 140, 0.45));
}

/* Breathing animation */
@keyframes breathe {

  0%,
  100% {
    transform: rotate(45deg) scale(1);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.04), -2px -2px 8px rgba(255, 255, 255, 0.8);
  }

  50% {
    transform: rotate(45deg) scale(1.03);
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.06), -2px -2px 12px rgba(255, 255, 255, 0.9);
  }
}

.cater-icon-3d {
  animation: breathe 4s ease-in-out infinite;
}

.cater-card:nth-child(1) .cater-icon-3d {
  animation-delay: 0s;
}

.cater-card:nth-child(2) .cater-icon-3d {
  animation-delay: 0.5s;
}

.cater-card:nth-child(3) .cater-icon-3d {
  animation-delay: 1s;
}

.cater-card:nth-child(4) .cater-icon-3d {
  animation-delay: 1.5s;
}

.cater-content {
  position: relative;
  z-index: 1;
}

.cater-content h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
  transition: color 0.4s ease;
  letter-spacing: 0.02em;
}

.cater-card:hover .cater-content h3 {
  color: var(--gold-accent);
}

.cater-content p {
  font-size: var(--fs-small);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .cater-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }
}

@media (max-width: 640px) {
  .cater-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .cater-card-inner {
    height: 320px;
  }

  .cater-icon-3d {
    width: 70px;
    height: 70px;
  }

  .cater-icon-3d svg {
    width: 32px;
    height: 32px;
  }

  .cater-card::before {
    display: none;
  }
}

/* Quote Section */
.quote-section {
  padding: var(--sp-5) var(--sp-5);
  background: var(--ink);
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: normal;
  color: var(--bg);
  max-width: 700px;
  margin: 0 auto;
  line-height: var(--lh-tight);
}

@media (max-width: 640px) {
  .quote-section {
    padding: var(--sp-4) var(--sp-3);
  }

  .quote-section blockquote {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

.quote-section cite {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  color: rgba(247, 245, 241, 0.6);
  font-style: normal;
}

.gray-box {
  background: var(--bg-2);
  padding: var(--sp-4);
  border-radius: var(--r);
}

.left-text {
  text-align: left;
}

.right-text {
  text-align: right;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.btn-text {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.work-with-us-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--ink);
  color: var(--bg);
  border-radius: 4px;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  transition: all var(--dur-fast) var(--ease);
}

.work-with-us-btn:hover {
  background: var(--gold-accent);
}

/* =========================================================================
   PROJECTS PAGE STYLES
   ========================================================================= */
.lux-projects-list {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg);
}

.lux-project-row {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--gold-border);
  transition: all var(--dur-fast) var(--ease);
}

.lux-project-row:hover {
  background: var(--bg-2);
  padding-left: var(--sp-3);
  padding-right: var(--sp-3);
  margin-left: calc(-1 * var(--sp-3));
  margin-right: calc(-1 * var(--sp-3));
}

.lux-project-num {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 6vw, 5rem);
  font-style: normal;
  color: rgba(26, 24, 20, 0.08);
  min-width: 80px;
}

.lux-project-image {
  width: 300px;
  flex-shrink: 0;
  border-radius: var(--r);
  overflow: hidden;
}

.lux-project-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.lux-project-row:hover .lux-project-image img {
  transform: scale(1.05);
}

.lux-project-details {
  flex: 1;
}

.lux-project-name {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.lux-project-meta {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.lux-project-tags {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.lux-tag {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-2);
  padding: 4px 12px;
  border-radius: 4px;
}

.lux-detail-item {
  margin-bottom: var(--sp-1);
}

.lux-detail-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

.lux-detail-val {
  font-size: var(--fs-body);
  color: var(--text);
}

/* =========================================================================
   CONTACT PAGE STYLES
   ========================================================================= */
.contact-page {
  min-height: 100vh;
  padding-top: 72px;
}

.contact-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 100%);
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 241, 0.7);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-4);
}

.contact-hero-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h1);
  font-style: normal;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.contact-hero-text-block {
  font-size: var(--fs-body);
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: var(--lh-normal);
}

.contact-header-text {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-5);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-5);
}

.contact-sidebar {
  padding: var(--sp-4);
}

.contact-profile {
  margin-bottom: var(--sp-4);
}

.contact-profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--sp-3);
}

.contact-main {
  padding: var(--sp-4);
}

.contact-form-section {
  background: var(--bg-2);
  padding: var(--sp-5);
  border-radius: var(--r);
  border: 1px solid var(--gold-border);
}

.form-card {
  margin-bottom: var(--sp-4);
}

.form-input {
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
  transition: all var(--dur-fast) var(--ease);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(107, 122, 140, 0.1);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-input:valid:not(:placeholder-shown) {
  border-color: #27ae60;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-enquiries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .lux-project-row {
    flex-wrap: wrap;
  }

  .lux-project-image {
    width: 100%;
    max-width: 400px;
  }
}

/* =========================================================================
   MISSING PAGE STYLES - Projects, Contact, Forms
   ========================================================================= */

/* Projects Page Hero */
.projects-page-hero {
  display: flex;
  min-height: 50vh;
  padding-top: 72px;
  background: var(--bg);
}

.projects-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-6) var(--sp-5);
  padding-left: 10vw;
  max-width: 800px;
}

.projects-hero-left h1 {
  font-family: var(--font-sans);
  font-size: var(--fs-h1);
  font-style: normal;
  color: var(--text);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-3);
}

.projects-hero-left h1 em {
  color: var(--gold-accent);
}

.projects-hero-left .section-label {
  margin-top: var(--sp-3);
}

.projects-hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-6) var(--sp-5);
  background: var(--bg);
}

.projects-hero-right p {
  font-size: var(--fs-body);
  color: var(--text-dim);
  line-height: var(--lh-loose);
  max-width: 400px;
  margin-bottom: var(--sp-4);
}

.projects-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-count-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--bg-2);
  border-radius: 4px;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.projects-count-badge span {
  color: var(--gold-accent);
  font-weight: 500;
}

/* Contact Form Styles */
.wireframe-bg-contact {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 24, 20, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 24, 20, 0.5) 1px, transparent 1px);
  background-size: 80px 80px;
}

.message-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.form-textarea {
  width: 100%;
  min-height: 150px;
  padding: var(--sp-3);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
  resize: vertical;
  transition: all var(--dur-fast) var(--ease);
}

.form-textarea:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(107, 122, 140, 0.1);
}

.form-textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-textarea:valid:not(:placeholder-shown) {
  border-color: #27ae60;
}

.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  align-self: flex-start;
}

.form-submit-btn:hover {
  background: var(--gold-accent);
  transform: translateY(-2px);
}

.form-submit-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.profile-thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--sp-3);
}

.scroll-arrow {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
  padding: var(--sp-3);
}

.scroll-arrow::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  margin-bottom: var(--sp-2);
}

.scroll-arrow svg {
  width: 24px;
  height: 24px;
}

@keyframes scrollBounce {

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

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

/* Responsive */
@media (max-width: 768px) {
  .projects-page-hero {
    grid-template-columns: 1fr;
  }

  .projects-hero-right {
    min-height: 40vh;
    order: -1;
  }

  .projects-hero-left {
    padding: var(--sp-5);
  }

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

  .form-enquiries {
    grid-template-columns: 1fr;
  }

  /* Typologies responsive */
  .typo-row {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-4);
  }

  .typo-row--right .typo-row-text,
  .typo-row--left .typo-row-text,
  .typo-row--right .typo-row-icon,
  .typo-row--left .typo-row-icon {
    order: unset;
  }

  .typo-row-icon {
    width: 180px;
    height: 180px;
  }

  .typo-icon-3d {
    width: 80px;
    height: 80px;
  }

  .typo-row-divider {
    display: none;
  }

  .typo-row-desc {
    max-width: 100%;
  }
}

/* =========================================================================
   TILT 3D ENHANCEMENTS - Specific Elements
   ========================================================================= */

/* Project Cards */
.project-card.tilt3d {
  transform-origin: center center;
}

.project-card.tilt3d:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Gallery Items */
.gallery-item.tilt3d {
  transform-origin: center center;
}

.gallery-item.tilt3d:hover {
  z-index: 10;
}

/* Service Cards */
.service-card-3d.tilt3d {
  transform-origin: center center;
}

.service-card-3d.tilt3d:hover .service-card-bg {
  background: rgba(107, 122, 140, 0.08);
}

/* Typology Cards */
.typo-row-icon.tilt3d {
  transform-origin: center center;
  transform-style: preserve-3d;
}

.typo-row-icon.tilt3d:hover {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.06),
    0 0 40px rgba(107, 122, 140, 0.1);
}

/* Cater Cards */
.cater-card-inner.tilt3d {
  transform-origin: center center;
}

.cater-card-inner.tilt3d:hover {
  border-color: rgba(107, 122, 140, 0.35);
}

/* Value Cards */
.value-card.tilt3d {
  transform-origin: center center;
}

.value-card.tilt3d:hover {
  box-shadow: var(--shadow-lg);
}

/* Form Card */
.form-card.tilt3d:hover {
  box-shadow: var(--shadow-lg);
}

/* Timeline Content */
.process-timeline-content.tilt3d:hover {
  box-shadow: var(--shadow);
}

/* About Image Frame */
.about-img-frame.tilt3d:hover {
  box-shadow: var(--shadow-lg);
}

/* Lux Project Rows */
.lux-project-row.tilt3d:hover {
  box-shadow: var(--shadow);
}

/* Stats */
.bp-stat.tilt3d {
  padding: var(--sp-3);
  border-radius: var(--radius);
  transition: transform 0.6s var(--ease-smooth), box-shadow 0.4s ease;
}

.bp-stat.tilt3d:hover {
  box-shadow: var(--shadow-sm);
}

/* =========================================================================
   PRINT STYLES
   ========================================================================= */
@media print {

  .navbar,
  .menu-overlay,
  .menu-btn,
  .cursor,
  .cursor-follower,
  .scroll-indicator,
  .page-loader,
  .tilt3d {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem;
  }

  .hero-brand {
    color: black !important;
    -webkit-text-fill-color: black !important;
  }

  a {
    text-decoration: underline;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
}

/* Form Success Message */
.form-success {
  padding: var(--sp-4);
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  border-radius: var(--r);
  text-align: center;
  margin-top: var(--sp-3);
}

.form-success p {
  color: #27ae60;
  font-weight: 500;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-accent);
}

/* Selection */
::selection {
  background: var(--gold-accent);
  color: white;
}

/* Focus Visible for Keyboard Navigation */
:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

  /* Increase touch targets */
  .nav-link,
  .footer-link,
  .btn,
  .form-submit-btn {
    min-height: 44px;
    min-width: 44px;
  }

  /* Prevent iOS zoom on inputs */
  .form-input,
  .form-textarea {
    font-size: 16px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--gold-border);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-fast) var(--ease);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold-accent);
  transform: translateY(-4px);
}

.back-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}

/* Performance Optimizations */
.hero-parallax-layer,
.hero-photo,
.tilt3d,
.gallery-item,
.project-card {
  will-change: transform;
  contain: layout style;
}

.blueprint-right canvas {
  contain: strict;
}

/* Mobile Touch Optimizations */
@media (hover: none) and (pointer: coarse) {

  .nav-link,
  .footer-link,
  .btn,
  .form-submit-btn,
  .project-card,
  .gallery-item {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

/* =========================================================================
   CREATIVE PROJECTS GRID
   ========================================================================= */
.creative-projects-section {
  padding: var(--sp-7) var(--sp-5);
  max-width: 1400px;
  margin: 0 auto;
}

.projects-grid-creative {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: var(--sp-4);
}

.project-card-creative {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}

.project-card-creative[data-project-gallery] {
  cursor: pointer;
}

.project-card-creative .project-card-inner {
  position: relative;
  height: 100%;
}

/* Featured project spans 2 columns and 2 rows */
.project-featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* Wide project spans 2 columns */
.project-wide {
  grid-column: span 2;
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
}

.project-featured .project-image-wrapper {
  position: absolute;
  inset: 0;
  height: auto;
}

.project-standard .project-image-wrapper,
.project-wide .project-image-wrapper {
  height: 300px;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.project-card-creative:hover .project-image-wrapper img {
  transform: scale(1.08);
}

.project-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 10, 10, 0.95) 0%,
      rgba(10, 10, 10, 0.4) 50%,
      transparent 100%);
  transition: opacity var(--dur-fast) var(--ease);
}

.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-5);
  color: var(--bg);
}

.project-number {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: normal;
  color: rgba(247, 245, 241, 0.15);
  line-height: 1;
}

.project-category {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: var(--sp-2);
}

.project-title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--bg);
  margin-bottom: var(--sp-3);
  line-height: 1.1;
}

.project-title em {
  font-style: normal;
  color: var(--gold-accent);
}

.project-meta-row {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.65rem;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.5);
}

.meta-value {
  font-size: var(--fs-small);
  color: var(--bg);
}

.project-tags {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}

.project-tags .tag {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.9);
  background: rgba(247, 245, 241, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(247, 245, 241, 0.25);
}

/* Featured card: ensure tags are visible on bright hero images */
.project-featured .project-tags {
  display: flex;
  flex-shrink: 0;
}

.project-featured .project-tags .tag {
  background: rgba(10, 10, 10, 0.6);
  border-color: rgba(247, 245, 241, 0.35);
  color: rgba(247, 245, 241, 0.95);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold-accent);
  text-decoration: none;
  transition: gap var(--dur-fast) var(--ease);
}

.project-link:hover {
  gap: var(--sp-3);
}

.project-link svg {
  transition: transform var(--dur-fast) var(--ease);
}

.project-link:hover svg {
  transform: translateX(4px);
}

/* Hover effects */
.project-card-creative:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .projects-grid-creative {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .project-featured .project-image-wrapper {
    position: absolute;
    inset: 0;
    height: auto;
  }
}

@media (max-width: 768px) {
  .projects-grid-creative {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
  }

  .project-featured,
  .project-wide,
  .project-standard {
    width: 100% !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  .project-featured .project-image-wrapper {
    position: relative;
    height: 350px;
  }

  .project-featured .project-card-inner {
    height: auto;
  }

  .project-wide .project-image-wrapper,
  .project-standard .project-image-wrapper {
    height: 350px;
  }

  .creative-projects-section {
    padding: var(--sp-4) var(--sp-3);
  }
}

/* =========================================================================
   PROJECT GALLERY MODAL
   ========================================================================= */
.project-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease), visibility var(--dur-mid) var(--ease);
}

.project-gallery-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(20px);
}

.project-gallery-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.project-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.project-gallery-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--text);
}

.project-gallery-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.project-gallery-close:hover {
  background: var(--gold-soft);
  color: var(--gold-accent);
}

.project-gallery-close svg {
  width: 24px;
  height: 24px;
}

.project-gallery-main {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  position: relative;
}

.project-gallery-main-img {
  max-width: 100%;
  max-height: 60vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.project-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(247, 245, 241, 0.9);
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: var(--shadow);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.project-gallery-nav:hover {
  background: var(--gold-accent);
  color: var(--bg);
  transform: translateY(-50%) scale(1.08);
}

.project-gallery-prev {
  left: var(--sp-3);
}

.project-gallery-next {
  right: var(--sp-3);
}

.project-gallery-nav svg {
  width: 24px;
  height: 24px;
}

.project-gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-4);
  border-top: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.project-gallery-counter {
  font-size: var(--fs-small);
  color: var(--text-dim);
}

.project-gallery-thumbnails {
  display: flex;
  gap: var(--sp-1);
  overflow-x: auto;
  padding: var(--sp-1) 0;
  max-width: 100%;
}

.project-gallery-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.project-gallery-thumb:hover,
.project-gallery-thumb.active {
  border-color: var(--gold-accent);
}

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

/* =========================================================================
   IMPROVED CONTACT PAGE LAYOUT
   ========================================================================= */

.contact-content-section {
  position: relative;
  padding: var(--sp-5) var(--sp-5);
  max-width: 1400px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}

/* Contact Info Panel - Left Side */
.contact-info-panel {
  position: sticky;
  top: 80px;
}

.contact-info-header {
  margin-bottom: var(--sp-3);
}

.contact-info-header h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}

.contact-info-header h2 em {
  font-style: normal;
  color: var(--gold-accent);
}

.contact-info-header p {
  font-size: var(--fs-body);
  color: var(--text-dim);
  line-height: var(--lh-normal);
  max-width: 360px;
}

/* Contact Info Cards Grid */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.contact-info-card {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: var(--sp-2);
  display: flex;
  gap: var(--sp-2);
  transition: all var(--dur-fast) var(--ease);
  border: 1px solid transparent;
}

.contact-info-card:hover {
  background: var(--bg-3);
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 36px;
  height: 36px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-icon svg {
  stroke: var(--bg);
}

.info-card-content h4 {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.info-card-content p,
.info-card-content a {
  font-size: var(--fs-small);
  color: var(--text);
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.info-card-content a:hover {
  color: var(--gold-accent);
}

/* Enquiry Types */
.enquiry-types {
  padding-top: var(--sp-2);
  border-top: 1px solid var(--gold-border);
}

.enquiry-types h5 {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.enquiry-type-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.enquiry-type-link {
  display: flex;
  flex-direction: column;
  padding: var(--sp-2);
  background: var(--bg-2);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
  border: 1px solid transparent;
}

.enquiry-type-link:hover {
  background: var(--bg-3);
  border-color: var(--gold-border);
  padding-left: var(--sp-3);
}

.enquiry-label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.enquiry-desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Contact Form Panel - Right Side */
.contact-form-panel {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  border: 1px solid var(--gold-border);
}

.form-panel-header {
  margin-bottom: var(--sp-3);
}

.form-panel-header h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--sp-1);
}

.form-panel-header h3 em {
  font-style: normal;
  color: var(--gold-accent);
}

.form-panel-header p {
  font-size: var(--fs-small);
  color: var(--text-dim);
}

/* Modern Form Styling */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.form-label .optional {
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0.7;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3);
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text);
  transition: all var(--dur-fast) var(--ease);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(107, 122, 140, 0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1814' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

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

.contact-form .form-submit-btn {
  grid-column: span 2;
  margin-top: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
}

/* Form Success Message */
.form-success-message {
  text-align: center;
  padding: var(--sp-6);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}

.success-icon svg {
  stroke: var(--gold-accent);
}

.form-success-message h4 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.form-success-message p {
  font-size: var(--fs-body);
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .contact-info-panel {
    position: static;
  }

  .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-content-section {
    position: relative;
    padding: var(--sp-4) var(--sp-3);
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .contact-form .form-submit-btn {
    grid-column: span 1;
  }

  .contact-form-panel {
    padding: var(--sp-4);
  }
}

/* Dark subtle pattern for contact section */
.contact-content-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 24, 20, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 24, 20, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* =========================================================================
   CONTACT PROFILE CARD
   ========================================================================= */

.contact-profile-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-4);
  border: 1px solid var(--gold-border);
  transition: all var(--dur-fast) var(--ease);
}

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

.profile-image-wrapper {
  flex-shrink: 0;
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 0%;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 4px 16px rgba(107, 122, 140, 0.2);
}

.profile-info h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2px;
}

.profile-title {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: var(--sp-1);
}

.profile-bio {
  font-size: var(--fs-small);
  color: var(--text-dim);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-profile-card {
    flex-direction: column;
    text-align: center;
  }

  .profile-info h3 {
    font-size: 1rem;
  }
}

/* =========================================================================
   PROJECTS HERO - EYE INTRIGUING TITLE WITH ARCHITECTURE BACKGROUND
   ========================================================================= */

.projects-page-hero {
  position: relative;
  display: flex;
  min-height: 60vh;
  padding-top: 72px;
  background: var(--bg);
  overflow: hidden;
}

.projects-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  animation: subtle-float 20s ease-in-out infinite;
}

@keyframes subtle-float {

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

  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

.hero-architecture-drawing {
  width: 100%;
  height: 100%;
  opacity: 0.4;
  animation: subtle-pulse 8s ease-in-out infinite;
}

@keyframes subtle-pulse {

  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.45;
  }
}

.projects-hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--sp-6) var(--sp-5);
  padding-left: 10vw;
  width: 100%;
}

.projects-hero-left h1 {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  font-style: normal;
  color: var(--text);
  line-height: 0.9;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
  animation: fade-in-up 1.2s ease-out forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.projects-hero-left h1 em {
  color: var(--gold-accent);
  font-style: normal;
  display: block;
  margin-top: 0.1em;
  animation: fade-in-up 1.2s ease-out 0.3s forwards;
  opacity: 0;
}

.projects-hero-left .section-label {
  margin-top: var(--sp-3);
  animation: fade-in-up 1.2s ease-out 0.5s forwards;
  opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .projects-page-hero {
    min-height: 45vh;
  }

  .projects-hero-left {
    padding: var(--sp-5) var(--sp-3);
    padding-left: var(--sp-3);
  }

  .projects-hero-left h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
    letter-spacing: -0.01em;
  }

  .hero-architecture-drawing {
    opacity: 0.3;
  }
}

/* =========================================================================
   TIER 3: PREMIUM GRAIN TEXTURE
   ========================================================================= */

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

/* About Founder Image */
.about-founder-image {
  margin: var(--sp-5) auto 0;
  max-width: 280px;
}

.about-founder-tag+.about-founder-image {
  margin-top: var(--sp-4);
}

.about-founder-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 0%;
  border-radius: 50%;
}

/* =========================================================================
   CLIENT LOGOS SLIDESHOW
   ========================================================================= */

.client-logos-container {
  overflow: hidden;
  padding: var(--sp-6) 0;
  background: var(--bg);
}

.client-logos-track {
  display: flex;
  animation: logos-slide 20s linear infinite;
}

.client-logos-slide {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-width: 100%;
  gap: var(--sp-6);
  padding: 0 var(--sp-5);
  flex-shrink: 0;
}

.client-logos-slide:first-child {
  margin-right: calc(var(--sp-3) * 0.7);
}

.logo-item {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  padding: var(--sp-2) var(--sp-4);
  transition: all var(--dur-fast) var(--ease);
}

.logo-item:hover {
  color: var(--ink);
  transform: scale(1.08);
}

@keyframes logos-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(var(--logos-step, -50%));
  }
}

/* Pause animation on hover */
.client-logos-container:hover .client-logos-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-item {
    font-size: clamp(1rem, 4vw, 1.4rem);
    padding: var(--sp-1) var(--sp-2);
  }

  .client-logos-slide {
    gap: var(--sp-3);
  }

  /* Ensure the container never pushes viewport wider */
  .client-logos-container {
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
  }
}

/* =========================================================================
   IH GROUP - SUBTLE WATERMARK
   ========================================================================= */

.ih-group-watermark {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  transition: opacity 0.4s ease;
}

.ih-group-watermark:hover {
  opacity: 0.15;
}

.ih-group-text {
  font-family: Optima, "Segoe UI", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ih-group-watermark {
    bottom: 20px;
    right: 20px;
  }

  .ih-group-text {
    font-size: 0.55rem;
  }
}

/* =========================================================================
   INVESTOR TEASER SECTION (home page)
   ========================================================================= */
.investor-teaser-section {
  padding: var(--sp-7) var(--sp-5);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.investor-teaser-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(107, 122, 140, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.investor-teaser-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-6);
}

.investor-teaser-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: var(--sp-3) 0 var(--sp-3);
}

.investor-teaser-title em {
  font-style: italic;
  color: var(--gold-accent);
}

.investor-teaser-sub {
  font-size: clamp(0.875rem, 1vw, 1rem);
  color: var(--text-dim);
  line-height: var(--lh-loose);
}

/* Horizontal metrics row — mirrors investor.html .metrics-inner */
.investor-teaser-metrics-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto var(--sp-5);
  flex-wrap: wrap;
}

.teaser-metric-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
}

.teaser-metric-num {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--sp-2);
  position: relative;
  display: inline-block;
}

.teaser-metric-num::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: var(--gold-accent);
  opacity: 0.5;
  transition: width 0.4s var(--ease-expo);
}

.teaser-metric-item:hover .teaser-metric-num::after {
  width: 56px;
  opacity: 0.9;
}

.teaser-metric-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text);
  /* Black per user request */
  margin-top: var(--sp-2);
}

.teaser-metric-sep {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold-border), transparent);
  flex-shrink: 0;
  align-self: center;
}

.investor-teaser-footer {
  text-align: center;
}

.investor-teaser-cta {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 4px;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.investor-teaser-cta:hover {
  color: var(--gold-accent);
  border-color: var(--gold-accent);
}

@media (max-width: 700px) {
  .investor-teaser-metrics-row {
    flex-direction: column;
  }

  .teaser-metric-sep {
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-border), transparent);
  }
}

/* =========================================================================
   CONCLUSION SECTION
   ========================================================================= */

.conclusion-section {
  padding: clamp(80px, 12vh, 140px) var(--sp-5);
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
}

.conclusion-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--gold-accent));
}

.conclusion-content {
  max-width: 720px;
  margin: 0 auto;
}

.conclusion-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--text);
  margin: var(--sp-6) 0 var(--sp-4);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.conclusion-title em {
  font-style: normal;
  color: var(--gold-accent);
}

.conclusion-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--sp-7);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.conclusion-cta {
  display: inline-block;
  padding: 18px 48px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r);
  transition: all var(--dur-fast) var(--ease);
  position: relative;
  overflow: hidden;
}

.conclusion-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold-accent);
  transition: left var(--dur-mid) var(--ease);
  z-index: 0;
}

.conclusion-cta:hover::before {
  left: 0;
}

.conclusion-cta span {
  position: relative;
  z-index: 1;
}

.conclusion-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .conclusion-cta {
    padding: 16px 36px;
    font-size: 0.8rem;
  }
}

/* =========================================================================
   IH GROUP FOOTER BRANDING
   ========================================================================= */

.footer-ih-group {
  font-size: 0.75rem;
  color: rgba(247, 245, 241, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}

.ih-group-brand {
  font-weight: 600;
  color: rgba(247, 245, 241, 0.8);
}

@media (max-width: 768px) {
  .conclusion-section {
    padding: var(--sp-6) var(--sp-4);
  }

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

  .nav-logo {
    position: static;
    transform: none;
  }
}

/* =========================================================================
   PROJECTS INFINITE CAROUSEL
   ========================================================================= */

/* Outer wrapper — arrows are positioned relative to this */
.carousel-outer {
  position: relative;
}

/* Arrow buttons — float over left/right edges of the carousel */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.carousel-arrow:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.carousel-arrow-prev {
  left: 20px;
}

.carousel-arrow-next {
  right: 20px;
}

@media (max-width: 768px) {
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

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

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

.projects-carousel-viewport {
  position: relative;
  overflow: hidden;
  /* Bleed to page edges, counteracting section padding */
  margin-left: calc(-1 * var(--sp-5));
  margin-right: calc(-1 * var(--sp-5));
  padding: var(--sp-3) 0 var(--sp-6);
  /* Fade out the extreme edges for a soft vignette */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%);
}

@media (max-width: 768px) {
  .projects-carousel-viewport {
    margin-left: calc(-1 * var(--sp-3));
    margin-right: calc(-1 * var(--sp-3));
    max-width: 100vw;
    box-sizing: border-box;
  }
}

.projects-carousel-track {
  display: flex;
  align-items: stretch;
  /* GSAP controls x-position — no CSS transition on the track */
  will-change: transform;
}

/* Carousel card overrides */
.carousel-card {
  flex: 0 0 clamp(180px, 25vw, 336px);
  width: clamp(180px, 25vw, 336px);
  margin: 0 clamp(8px, 1.1vw, 14px);
  transform-origin: center center;
  /* Suppress the project-card transition — GSAP drives scale & opacity */
  transition: filter 0.55s var(--ease), box-shadow 0.55s var(--ease) !important;
  filter: saturate(0.55) brightness(0.93);
  cursor: pointer;
}

/* Active carousel card */
.carousel-card.carousel-is-active {
  filter: saturate(1) brightness(1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18), 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Suppress project-card's default hover translateY inside the carousel */
.projects-carousel-viewport .project-card:hover {
  transform: none;
  box-shadow: none;
}

/* Image zoom on active card hover */
.projects-carousel-viewport .carousel-card.carousel-is-active:hover .card-img-wrapper img {
  transform: scale(1.06);
}

/* Mobile */
@media (max-width: 768px) {
  .projects-carousel-viewport {
    margin-left: calc(-1 * var(--sp-3));
    margin-right: calc(-1 * var(--sp-3));
    padding: var(--sp-2) 0 var(--sp-5);
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        black 6%,
        black 94%,
        transparent 100%);
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 6%,
        black 94%,
        transparent 100%);
  }

  .carousel-card {
    flex: 0 0 clamp(160px, 60vw, 240px);
    width: clamp(160px, 60vw, 240px);
    margin: 0 clamp(6px, 2vw, 10px);
  }
}

@media (max-width: 480px) {
  .carousel-card {
    flex: 0 0 78vw;
    width: 78vw;
    margin: 0 8px;
  }
}

/* =========================================================================
   MOBILE COMPREHENSIVE FIXES
   ========================================================================= */

/* --- LOADER: force centered logo on all mobile screens --- */
@media (max-width: 768px) {
  .loader-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--sp-4);
  }

  .loader-logo-img {
    height: clamp(60px, 18vw, 100px);
    width: auto;
    max-width: 55vw;
    display: block;
    margin: 0 auto;
  }
}

/* --- NAVBAR: solid & always visible on mobile --- */
@media (max-width: 768px) {
  .navbar {
    height: 60px;
    padding: 0 var(--sp-3);
    /* Ensure navbar never exceeds viewport width */
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--bg) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--gold-border) !important;
    justify-content: space-between;
    overflow: hidden;
    /* clip any accidental overflow inside navbar */
  }

  /* Logo: pull out of absolute positioning, stay in flex flow */
  .nav-logo {
    position: static !important;
    transform: none !important;
    left: auto !important;
    flex-shrink: 0;
  }

  .nav-logo-img {
    height: 28px;
  }

  /* Hide nav links and CTA on mobile — hamburger is the only right-side control */
  .nav-links,
  .nav-cta {
    display: none !important;
  }

  /* Hamburger: always visible, pushed to far right */
  .menu-btn {
    display: flex !important;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Hide decorative orbs on mobile — they have fixed 500-700px widths */
  .orb {
    display: none !important;
  }
}

/* --- HERO: prevent text overflow & fix viewport height --- */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    overflow-x: hidden;
  }

  .hero-box {
    padding: var(--sp-3) var(--sp-2);
    width: 100%;
    box-sizing: border-box;
  }

  /* Hero headline — was 7rem min which overflows on phones */
  .hero-brand {
    font-size: clamp(3.2rem, 16vw, 6rem);
    letter-spacing: 0.06em;
  }

  .hero-pretitle {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    margin-bottom: var(--sp-2);
  }

  /* Hide decorative side lines on small screens */
  .hero-pretitle::before,
  .hero-pretitle::after {
    display: none;
  }

  .hero-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    margin-top: var(--sp-3);
  }

  .hero-subtitle {
    font-size: clamp(0.8rem, 3vw, 1rem);
    margin-top: var(--sp-3);
    max-width: 90vw;
  }

  .scroll-indicator {
    display: none;
  }
}

/* --- CONTENT SECTIONS: prevent text/image overflow on mobile --- */
@media (max-width: 768px) {

  /* Black banner text must stay within viewport */
  .black-banner {
    overflow: hidden;
    width: 100%;
    padding: var(--sp-6) var(--sp-3);
    box-sizing: border-box;
  }

  .black-banner h2 {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  /* View-feel section images — clip to viewport */
  .view-feel {
    overflow: hidden;
    max-width: 100%;
  }

  /* Any wide image-wrapper must stay within bounds */
  .image-wrapper {
    max-width: 100%;
    overflow: hidden;
  }
}

/* --- GLOBAL: prevent horizontal overflow on mobile --- */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
  }

  /* Common section wrapper padding */
  .container,
  [class*="-section"]>*,
  .about-grid,
  .services-preview-grid {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* --- SMALL PHONES (≤480px) additional tweaks --- */
@media (max-width: 480px) {
  .navbar {
    height: 54px;
    padding: 0 var(--sp-2);
  }

  .nav-logo-img {
    height: 24px;
  }

  .hero-brand {
    font-size: clamp(2.8rem, 18vw, 5rem);
  }

  .loader-logo-img {
    max-width: 60vw;
    height: clamp(50px, 20vw, 80px);
  }
}

/* =========================================================================
   TOUCH DEVICE PERFORMANCE & UX POLISH
   — Applied only to coarse-pointer (finger/stylus) devices.
   ========================================================================= */

/* --- GPU memory: release will-change on elements whose JS effects are disabled --- */
@media (hover: none) and (pointer: coarse) {
  .gallery-item,
  .project-card,
  .tilt-card,
  .tilt3d,
  .hero-parallax-layer,
  .hero-photo,
  .gallery-track {
    /* JS parallax/tilt is disabled on touch; no need to hold compositor layers */
    will-change: auto;
  }
}

/* --- Touch targets: WCAG 2.5.5 — minimum 44×44 px for all interactive controls --- */
@media (hover: none) and (pointer: coarse) {
  #gallery-prev,
  #gallery-next,
  #proj-prev,
  #proj-next,
  .carousel-arrow,
  .nav-arrow,
  .nav-arrow-light,
  #menu-btn,
  .menu-btn,
  #menu-close-btn,
  .menu-close-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- Touch scrolling: tell the browser which axis we own so it can hand off
      the other axis to native scroll without waiting for JS --- */
@media (hover: none) and (pointer: coarse) {
  /* Sections that only scroll vertically — browser keeps native momentum */
  .concept-gallery,
  .projects-carousel-viewport,
  .menu-overlay {
    touch-action: pan-y;
  }

  /* Gallery wrapper clips the track; the wrapper itself doesn't scroll */
  .gallery-wrapper {
    touch-action: none;
  }
}

/* --- Cursor: belt-and-suspenders hide on any coarse-pointer device ---
   (The JS already skips init via matchMedia, this covers edge cases
    like hybrid laptop/tablet modes where JS might momentarily add the class) --- */
@media (pointer: coarse) {
  .cursor,
  .cursor-follower {
    display: none !important;
  }

  body.has-custom-cursor {
    cursor: auto !important;
  }

  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: pointer !important;
  }
}

/* =========================================================================
   SERVICES PAGE — MOBILE RESPONSIVE OVERRIDES
   @media (max-width: 768px)
   ========================================================================= */
@media (max-width: 768px) {

  /* -----------------------------------------------------------------------
     GENERAL: Prevent horizontal scrolling
     ----------------------------------------------------------------------- */
  body,
  main,
  section,
  .services,
  .typologies,
  .our-process {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* -----------------------------------------------------------------------
     1. SERVICES INTRO — Responsive typography
     ----------------------------------------------------------------------- */
  .services {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .services-intro {
    padding: 0 var(--sp-3) var(--sp-5);
    max-width: 100%;
  }

  .services-heading {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    line-height: 1.2;
    /* avoid mid-word breaks on very narrow screens */
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .services-desc {
    font-size: clamp(0.875rem, 3.5vw, 1rem);
    line-height: 1.7;
  }

  /* -----------------------------------------------------------------------
     2. TWO-COLUMN SERVICES LAYOUT — Stack vertically
     ----------------------------------------------------------------------- */
  .services-two-columns {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--sp-4) var(--sp-3);
    max-width: 100%;
  }

  /* Hide the vertical center divider; already hidden at 1024px but be explicit */
  .services-divider {
    display: none !important;
  }

  /* Build column: replace the gap made by the hidden divider with a subtle separator */
  .services-column--build {
    margin-top: var(--sp-5);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--gold-border);
  }

  /* Cards take full container width */
  .services-list {
    gap: var(--sp-3);
  }

  .service-card-3d {
    width: 100%;
    box-sizing: border-box;
    padding: var(--sp-3);
  }

  /* Card content: image on top, text below — cleaner on narrow screens */
  .service-card-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }

  .service-image-wrap {
    width: 100%;
    height: 200px;
    flex-shrink: unset;
  }

  .service-card-text {
    padding: 0;
  }

  .service-card-text h4 {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
  }

  /* Column header slightly smaller */
  .column-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* -----------------------------------------------------------------------
     3. TYPOLOGIES SECTION — Remove alternating layout
     ----------------------------------------------------------------------- */
  .typologies {
    padding: 60px var(--sp-3);
  }

  .typo-main-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: var(--sp-4);
  }

  .typo-rows-container {
    padding: var(--sp-3) var(--sp-2);
    border-radius: 16px;
  }

  .typo-row {
    /* Override both --left and --right alternating flex orders:
       icon on the left, text on the right, every row */
    flex-direction: row;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) 0;
    flex-wrap: nowrap;
  }

  /* Force consistent order: icon left (1), divider hidden, text right (2) */
  .typo-row--right .typo-row-text,
  .typo-row--left .typo-row-text {
    order: 2;
    flex: 1;
  }

  .typo-row--right .typo-row-icon,
  .typo-row--left .typo-row-icon {
    order: 1;
    flex-shrink: 0;
  }

  /* Hide the vertical divider rod between icon and text */
  .typo-row-divider {
    display: none;
  }

  /* Scale the icon cards down so they don't dominate the screen */
  .typo-row-icon {
    width: 88px;
    height: 88px;
    padding: var(--sp-3);
    border-radius: 16px;
    /* disable float animation while we're condensing the layout */
    animation: none;
  }

  .typo-icon-3d {
    width: 48px;
    height: 48px;
    animation: none;
  }

  .typo-row-name {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    margin: var(--sp-1) 0;
  }

  .typo-row-desc {
    font-size: clamp(0.8rem, 3.2vw, 0.9rem);
    max-width: 100%;
    line-height: 1.6;
  }

  /* -----------------------------------------------------------------------
     4. OUR PROCESS TIMELINE — Left-edge line, all cards right-aligned
     ----------------------------------------------------------------------- */
  .our-process {
    padding: 60px var(--sp-3);
  }

  .process-main-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .process-subtitle {
    font-size: var(--fs-small);
    letter-spacing: 0.1em;
  }

  .process-timeline-wrap {
    /* Give enough left space for the line + node */
    padding-left: 52px;
    max-width: 100%;
  }

  /* Shift the vertical thread to the far left */
  .process-vline {
    left: 20px;
    transform: none;
  }

  /* Each step: stretch full width, node pinned on left edge */
  .process-timeline-step {
    display: block;
    position: relative;
    padding: var(--sp-3) 0;
  }

  /* Node anchored to the left line */
  .process-timeline-node {
    left: -32px;    /* positions it over the vline at x=20px in the wrapper */
    top: var(--sp-4);
    transform: none;
    width: 40px;
    height: 40px;
    position: absolute;
  }

  /* Node SVG icon: scale to fit smaller node */
  .process-timeline-node svg {
    width: 18px;
    height: 18px;
  }

  /* All content boxes: full width, no left/right offset, stack vertically */
  .process-timeline-content--left,
  .process-timeline-content--right {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-direction: row;    /* restore natural row inside card */
    width: 100%;
    box-sizing: border-box;
    padding: var(--sp-3);
    gap: var(--sp-3);
  }

  /* Hide the large glass panel icon to save space on mobile */
  .process-step-icon-lg {
    display: none;
  }

  /* Bg number: smaller on mobile */
  .process-bg-num {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .process-step-name {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
  }

  .process-step-desc {
    font-size: clamp(0.8rem, 3.2vw, 0.875rem);
    line-height: 1.65;
  }

  /* -----------------------------------------------------------------------
     5. CONCLUSION SECTION — Tighter padding
     ----------------------------------------------------------------------- */
  .conclusion-section {
    padding: 60px var(--sp-3);
  }

  .conclusion-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  /* -----------------------------------------------------------------------
     GENERAL SECTION SPACING — Reduce desktop paddings to mobile values
     ----------------------------------------------------------------------- */

  /* Services intro section top spacing already handled via .services above */
  .typologies {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .our-process {
    padding-top: 60px;
    padding-bottom: 60px;
  }

} /* end @media (max-width: 768px) */

/* Small phone refinements — 480px breakpoint */
@media (max-width: 480px) {
  .services-two-columns {
    padding: var(--sp-3) var(--sp-2);
  }

  .service-image-wrap {
    height: 160px;
  }

  .typo-row-icon {
    width: 72px;
    height: 72px;
  }

  .typo-icon-3d {
    width: 36px;
    height: 36px;
  }

  .process-timeline-wrap {
    padding-left: 44px;
  }
}

/* =========================================================================
   SITE-WIDE — MOBILE RESPONSIVE OVERRIDES (ALL OTHER PAGES)
   @media (max-width: 768px)
   Applied to: index.html, about.html, projects.html, contact.html
   investor.html handled separately in investor.css
   ========================================================================= */
@media (max-width: 768px) {

  /* -----------------------------------------------------------------------
     SHARED: Navigation — hide desktop links, show hamburger
     ----------------------------------------------------------------------- */
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .navbar {
    padding: 0 var(--sp-3);
  }

  /* -----------------------------------------------------------------------
     SHARED: Footer — single column stack
     ----------------------------------------------------------------------- */
  .footer-container {
    flex-direction: column;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--sp-3);
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-2);
    text-align: center;
    padding: var(--sp-3) var(--sp-3);
    font-size: var(--fs-xs);
  }

  /* -----------------------------------------------------------------------
     SHARED: Conclusion / CTA section
     (already covered for services; these reinforce for other pages)
     ----------------------------------------------------------------------- */
  .conclusion-section {
    padding: 60px var(--sp-3);
  }

  .conclusion-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    overflow-wrap: break-word;
  }

  .conclusion-text {
    font-size: clamp(0.875rem, 3.5vw, 1rem);
  }

  .conclusion-cta {
    padding: 14px 28px;
    font-size: var(--fs-xs);
  }

  /* -----------------------------------------------------------------------
     SHARED: Hero (index.html)
     ----------------------------------------------------------------------- */
  .hero-box {
    padding: var(--sp-3);
  }

  .hero-brand-logo {
    height: clamp(60px, 20vw, 120px);
  }

  .hero-pretitle {
    font-size: clamp(0.55rem, 2.5vw, 0.75rem);
    letter-spacing: 0.3em;
  }

  .hero-subtitle {
    font-size: clamp(0.8rem, 3vw, 0.95rem);
    margin-top: var(--sp-3);
  }

  .scroll-indicator {
    display: none; /* avoid overflow on very small phones */
  }

  /* View & Feel image section */
  .view-feel .image-wrapper {
    height: 55vw;
    min-height: 200px;
    max-height: 320px;
  }

  .black-banner {
    padding: var(--sp-5) var(--sp-3);
  }

  .black-banner h2 {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    line-height: 1.35;
  }

  /* -----------------------------------------------------------------------
     HOME PAGE: Projects Carousel
     ----------------------------------------------------------------------- */
  .projects {
    padding: var(--sp-5) 0;
  }

  .projects-header {
    padding: 0 var(--sp-3) var(--sp-3);
  }

  .huge-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    padding: 0 var(--sp-3);
  }

  /* Carousel cards: scale down for mobile thumb-scroll */
  .projects-carousel-viewport {
    height: clamp(300px, 70vw, 440px);
  }

  .project-card.carousel-card {
    width: clamp(240px, 75vw, 320px);
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  /* Client logos strip */
  .client-logos-container {
    padding: var(--sp-3) 0;
  }

  .logo-item {
    font-size: clamp(0.75rem, 3vw, 1rem);
  }

  /* -----------------------------------------------------------------------
     HOME PAGE: Investor Teaser Section
     ----------------------------------------------------------------------- */
  .investor-teaser-section {
    padding: 60px var(--sp-3);
  }

  .investor-teaser-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    margin-bottom: var(--sp-3);
  }

  .investor-teaser-sub {
    font-size: clamp(0.875rem, 3.5vw, 1rem);
  }

  .investor-teaser-metrics-row {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .teaser-metric-item {
    width: 100%;
    text-align: center;
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--gold-border);
  }

  .teaser-metric-item:last-child {
    border-bottom: none;
  }

  .teaser-metric-sep {
    display: none;
  }

  .teaser-metric-num {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  /* -----------------------------------------------------------------------
     HOME PAGE: Blueprint / About Section
     ----------------------------------------------------------------------- */
  .blueprint-section {
    grid-template-columns: 1fr;
    padding: 60px var(--sp-3);
    min-height: auto;
    gap: var(--sp-5);
  }

  .blueprint-left {
    padding: 0;
    padding-left: 0;
  }

  .blueprint-heading {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    line-height: 1.2;
  }

  .blueprint-right {
    height: 40vw;
    min-height: 200px;
    max-height: 300px;
  }

  /* -----------------------------------------------------------------------
     ABOUT PAGE: Hero
     ----------------------------------------------------------------------- */
  .about-hero {
    min-height: 60vh;
    padding-top: 72px;
  }

  .about-hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    letter-spacing: 0.04em;
  }

  .about-hero-content {
    padding: var(--sp-4) var(--sp-3);
  }

  /* -----------------------------------------------------------------------
     ABOUT PAGE: Editorial / Centered content
     ----------------------------------------------------------------------- */
  .about-editorial {
    padding: 60px var(--sp-3);
  }

  .about-quote-col {
    max-width: 100%;
    width: 100%;
  }

  .about-pull-quote {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    line-height: 1.25;
  }

  .about-founder-quote {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    padding: var(--sp-3);
    border-left-width: 2px;
  }

  .about-founder-image {
    max-width: 220px;
    margin: var(--sp-4) auto;
  }

  /* Stats band: wrap into 2-up grid */
  .about-stats-band {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-3) var(--sp-4);
    padding: var(--sp-4) var(--sp-2);
  }

  .about-stat {
    flex: 0 0 calc(50% - var(--sp-4));
    text-align: center;
  }

  .about-stat-divider {
    display: none;
  }

  .about-stat-num {
    font-size: clamp(1.8rem, 6.5vw, 2.6rem);
  }

  /* -----------------------------------------------------------------------
     ABOUT PAGE: Values Section
     ----------------------------------------------------------------------- */
  .values-section {
    padding: 60px var(--sp-3);
  }

  .values-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    line-height: 1.2;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .value-card {
    padding: var(--sp-4) var(--sp-3);
  }

  /* -----------------------------------------------------------------------
     ABOUT PAGE: Cater To Section
     ----------------------------------------------------------------------- */
  .cater-section {
    padding: 60px var(--sp-3);
  }

  .cater-header .huge-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .cater-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
  }

  .cater-card-inner {
    padding: var(--sp-3);
  }

  .cater-icon-3d {
    width: 52px;
    height: 52px;
  }

  .cater-icon-3d svg {
    width: 52px;
    height: 52px;
  }

  .cater-content h3 {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  }

  .cater-content p {
    font-size: clamp(0.75rem, 2.8vw, 0.875rem);
  }

  /* -----------------------------------------------------------------------
     PROJECTS PAGE: Hero
     ----------------------------------------------------------------------- */
  .projects-page-hero {
    min-height: 50vh;
    padding-top: 72px;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: var(--sp-5);
  }

  .projects-hero-left h1 {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    line-height: 1.0;
  }

  .projects-hero-left {
    padding: var(--sp-3) var(--sp-3) 0;
  }

  /* -----------------------------------------------------------------------
     PROJECTS PAGE: Creative Grid — single column on mobile
     ----------------------------------------------------------------------- */
  .creative-projects-section {
    padding: var(--sp-5) var(--sp-3);
  }

  .projects-grid-creative {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
  }

  .project-card-creative {
    width: 100% !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  .project-card-inner {
    border-radius: var(--r);
  }

  /* Scale down project card number */
  .project-number {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .project-title {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    line-height: 1.1;
  }

  .project-category {
    font-size: var(--fs-xs);
  }

  .project-tags {
    gap: var(--sp-1);
  }

  .tag {
    font-size: var(--fs-xs);
    padding: 4px 10px;
  }

  /* -----------------------------------------------------------------------
     CONTACT PAGE: Hero
     ----------------------------------------------------------------------- */
  .contact-hero {
    min-height: 50vh;
    padding-top: 72px;
  }

  .contact-hero-title {
    font-size: clamp(2.4rem, 9vw, 4rem);
    line-height: 1.05;
  }

  .contact-hero-content {
    padding: var(--sp-4) var(--sp-3);
  }

  .contact-hero-text-block {
    font-size: clamp(0.875rem, 3.5vw, 1rem);
  }

  /* -----------------------------------------------------------------------
     CONTACT PAGE: Two-panel → Single column
     ----------------------------------------------------------------------- */
  .contact-content-section {
    padding: 60px 0;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
    padding: 0 var(--sp-3);
    max-width: 100%;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 0;
    width: 100%;
  }

  .contact-profile-card {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
  }

  .profile-image-wrapper {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
  }

  .profile-image {
    width: 72px;
    height: 72px;
  }

  .contact-info-header h2 {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    margin-bottom: var(--sp-2);
  }

  .contact-info-cards {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
  }

  .contact-info-card {
    padding: var(--sp-3);
  }

  /* Form: keep full-width fields on mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group {
    width: 100%;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 1rem; /* prevent iOS zoom on focus */
  }

  /* Enquiry type links */
  .enquiry-types {
    margin-top: var(--sp-4);
  }

  .enquiry-type-links {
    flex-direction: column;
    gap: var(--sp-2);
  }

  /* -----------------------------------------------------------------------
     SHARED: Back-to-top button positioning
     ----------------------------------------------------------------------- */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: var(--sp-3);
    right: var(--sp-3);
  }

  /* -----------------------------------------------------------------------
     SHARED: Section labels
     ----------------------------------------------------------------------- */
  .section-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
  }

} /* end @media (max-width: 768px) — site-wide */

/* Shared 480px refinements for other pages */
@media (max-width: 480px) {
  /* Cater grid → single column on very small phones */
  .cater-grid {
    grid-template-columns: 1fr;
  }

  /* Contact info cards → single column */
  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  /* Footer links → single column */
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  /* Blueprint heading */
  .blueprint-heading {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  /* About stats → single column */
  .about-stats-band {
    flex-direction: column;
    gap: var(--sp-3);
    align-items: center;
  }

  .about-stat {
    flex: none;
    width: 100%;
  }
}