/* ============================================================
   OSEOS DEVELOPMENTS — Main Stylesheet
   Fonts: Montserrat (display) · Manrope (body) · Red Hat Mono · Gloock
   ============================================================ */

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

html { scroll-behavior: auto; font-size: 16px; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background-color: #0E1A2B;
  color: #FDFAF6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

::selection { background: #D2B275; color: #0E1A2B; }

:focus-visible {
  outline: 2px solid rgba(210,178,117,0.6);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy:    #0E1A2B;
  --navy-mid:#1D324F;
  --gold:    #D2B275;
  --cream:   #FDFAF6;
  --sand:    #C4B49A;
  --charcoal:#3A3530;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
}

/* ── Typography Classes ───────────────────────────────────── */
.display-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.mono-label {
  font-family: 'Red Hat Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 10px;
  text-transform: uppercase;
}

.body-text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.serif-heading {
  font-family: 'Gloock', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

/* ── Color Utilities ──────────────────────────────────────── */
.text-gold       { color: var(--gold); }
.text-cream      { color: var(--cream); }
.text-navy       { color: var(--navy); }
.text-charcoal   { color: var(--charcoal); }
.text-cream-70   { color: rgba(253,250,246,0.70); }
.text-cream-60   { color: rgba(253,250,246,0.60); }
.text-cream-40   { color: rgba(253,250,246,0.40); }
.text-charcoal-60{ color: rgba(58,53,48,0.60); }
.text-charcoal-55{ color: rgba(58,53,48,0.55); }
.text-navy-40    { color: rgba(14,26,43,0.40); }
.text-navy-30    { color: rgba(14,26,43,0.30); }
.text-gold-50    { color: rgba(210,178,117,0.50); }
.bg-navy         { background-color: var(--navy); }
.bg-cream        { background-color: var(--cream); }
.mb-4            { margin-bottom: 1rem; }
.mb-6            { margin-bottom: 1.5rem; }
.mb-8            { margin-bottom: 2rem; }
.mb-10           { margin-bottom: 2.5rem; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
}

.section-header { margin-bottom: 4rem; }
.section-header .mono-label { margin-bottom: 1.5rem; }
.section-header .display-heading { font-size: clamp(2rem, 4vw, 3.5rem); }

/* ── Cookie Banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(210,178,117,0.2);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.cookie-banner-text { flex: 1; min-width: 220px; }

.cookie-banner-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}

.cookie-banner-body {
  font-size: 0.78rem;
  color: rgba(248,244,237,0.65);
  margin: 0;
  line-height: 1.5;
  font-family: var(--font-body);
}

.cookie-policy-link {
  color: rgba(210,178,117,0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-policy-link:hover { color: var(--gold); }

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.cookie-btn-accept {
  font-size: 0.72rem;
  padding: 0.45rem 1.4rem;
  letter-spacing: 0.1em;
}
.cookie-btn-accept:hover { color: var(--navy); }

.cookie-btn-decline {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(248,244,237,0.4);
  font-size: 0.72rem;
  padding: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cookie-btn-decline:hover { color: rgba(248,244,237,0.75); }

@media (max-width: 600px) {
  .cookie-banner-inner  { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-accept { width: 100%; justify-content: center; }
}

/* ── Page Loader ──────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.loader-logo-img { height: 48px; width: auto; opacity: 0; }

.loader-bar-wrap {
  width: 180px;
  height: 1px;
  background: rgba(210,178,117,0.15);
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.08s linear;
}

/* ── Grain Overlay ────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0.055;
  mix-blend-mode: overlay;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}


/* ── Scroll Progress ──────────────────────────────────────── */
.scroll-progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, rgba(210,178,117,.5) 0%, var(--gold) 55%, rgba(210,178,117,.85) 100%);
  z-index: 10000;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── Navigation ───────────────────────────────────────────── */
.oseos-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10002;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--navy);
  padding: 16px 0;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
  backface-visibility: hidden;
  transition: padding .35s ease, box-shadow .35s ease, background .35s ease;
}

.oseos-nav.is-scrolled {
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(210,178,117,0.08);
}

@media (max-width: 767px) {
  .oseos-nav {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: var(--navy) !important;
    padding: 12px 0 !important;
  }
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  transition: height .35s ease;
}

.oseos-nav.is-scrolled .nav-logo-img { height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: 'Red Hat Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(253,250,246,0.6);
  position: relative;
  transition: color .2s;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease-expo);
}

.nav-link:visited { color: var(--cream); }
.nav-link:hover, .nav-link.is-active { color: var(--gold); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

/* ── Button: Gold Outline ─────────────────────────────────── */
.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Red Hat Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 10px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color .3s ease, transform .2s ease;
  cursor: pointer;
  background: transparent;
}

.btn-gold-outline::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform .35s var(--ease-expo);
  z-index: 0;
}

.btn-gold-outline:hover::after { transform: translateX(0); }
.btn-gold-outline:hover { color: var(--navy); transform: translateY(-2px); }
.btn-gold-outline:active { transform: translateY(0); }
.btn-gold-outline > * { position: relative; z-index: 1; }

.nav-cta { padding: 0.5rem 1.25rem; font-size: 10px; }

/* ── Mobile Toggle ────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-close {
  position: absolute; top: 1.25rem; right: 1.75rem;
  background: transparent; border: none; cursor: pointer;
  padding: 8px;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2.25rem;
  padding: 2rem;
}

.mobile-logo { height: 40px; width: auto; }

.mobile-divider {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.mobile-link {
  font-family: 'Red Hat Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color .2s;
}

.mobile-link:hover { color: var(--gold); }

.mobile-cta {
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  font-size: 11px;
}

/* ── Hero Section ─────────────────────────────────────────── */
.section-pinned {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,26,43,.82) 0%, rgba(14,26,43,.40) 58%, rgba(14,26,43,.18) 100%);
  opacity: 0;
}

.hero-slash {
  position: absolute;
  width: 9vw; height: 140vh;
  left: 48vw; top: -20vh;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(210,178,117,.92) 0%, rgba(210,178,117,.78) 50%, rgba(210,178,117,.85) 100%);
  z-index: 2;
  opacity: 0;
}

.hero-text-block {
  position: absolute;
  z-index: 3;
  left: 8vw;
  top: 13vh;
  width: 34vw;
}

.hero-label {
  margin-bottom: 3.5rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  perspective: 1000px;
  opacity: 0;
  margin-bottom: 2rem;
  color: var(--cream);
}

.hero-headline .word { display: inline-block; }

.hero-el { opacity: 0; }

.hero-sub {
  max-width: 30rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* CTA as button (gold outline, same as nav CTA) */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Red Hat Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color .3s ease;
  cursor: pointer;
  background: transparent;
}

.hero-cta.btn-gold-outline::after,
.hero-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--navy);
  transform: translateX(-101%);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.hero-cta:hover::after { transform: translateX(0); }
.hero-cta:hover,
.hero-cta.btn-gold-outline:hover { color: var(--cream); transform: none; }
.hero-cta > * { position: relative; z-index: 1; }

.scroll-indicator {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 6vh;
  transform: translateX(-50%);
}

.scroll-arrow {
  animation: bounce-y 1.8s ease-in-out infinite;
}

@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

@media (max-width: 768px) {
  .hero-text-block { left: 5vw; top: 12vh; width: 90vw; }
  .hero-slash      { left: 82vw; width: 7vw; }
  .hero-headline   { font-size: 2.2rem; }
  .hero-label      { margin-bottom: 1.25rem; }
}

/* ── Audience Section ─────────────────────────────────────── */
.section-audience {
  background: var(--cream);
  padding: 6rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.audience-card {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(14,26,43,0.1);
}

.audience-num  { margin-bottom: 1rem; }
.audience-title { font-size: 1.25rem; margin-bottom: 0.75rem; }

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

/* ── Studio Section ───────────────────────────────────────── */
.section-studio {
  background: var(--cream);
  padding: 6rem 0;
  position: relative;
}

.studio-line {
  position: absolute;
  left: 6vw; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(210,178,117,0.35) 15%, rgba(210,178,117,0.35) 85%, transparent 100%);
  pointer-events: none;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.studio-left .mono-label { margin-bottom: 1.25rem; }

.studio-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 2.5rem;
}

.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.studio-right { padding-top: 3.5rem; }
.studio-right .body-text { line-height: 1.8; color: var(--charcoal); }

/* Lead sentence */
.studio-lead {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0;
}

.studio-body-para { margin-top: 1.5rem; }

/* Manifesto block */
.studio-manifesto {
  border-left: 2px solid rgba(210,178,117,0.55);
  padding: 1rem 0 1rem 1.5rem;
  margin: 1.75rem 0;
}

.studio-manifesto-lead {
  color: var(--navy);
  line-height: 1.65;
}

.studio-manifesto-lead strong {
  font-weight: 700;
  color: var(--navy);
}

.studio-manifesto-body {
  margin-top: 0.75rem;
  color: var(--charcoal);
  line-height: 1.8;
}

.hairline-gold {
  height: 1px;
  background: rgba(210,178,117,0.2);
  max-width: 180px;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .studio-line  { display: none; }
  .studio-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .studio-right { padding-top: 0; }
  .studio-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .studio-lead  { font-size: 1rem; }
  .studio-manifesto { padding-left: 1rem; margin: 1.25rem 0; }
}

/* ── Process Section (pinned) ─────────────────────────────── */
.section-process { background: var(--navy); }

.process-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.process-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(14,26,43,.78) 0%, rgba(14,26,43,.78) 40%, rgba(14,26,43,.42) 100%);
}

.process-content {
  position: absolute;
  z-index: 3;
  left: 8vw; top: 16vh;
  width: 44vw;
}

.process-headline {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  margin: 1rem 0 1.5rem;
}

.process-sub {
  font-size: 0.9rem;
  max-width: 28rem;
  line-height: 1.7;
}

.process-el { opacity: 0; }

/* ── 6-step bar at the bottom ─────────────────────────── */
.process-steps-bar {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  opacity: 0;
}

.process-steps-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 8vw;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0 8vw;
}

.process-step-item {
  padding: 1.5rem 1.25rem 1.75rem 0;
}

.process-step-item--border {
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: 1.25rem;
}

.process-step-num {
  font-size: 2.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.process-step-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(253,250,246,0.8);
  margin-bottom: 0.4rem;
}


@media (max-width: 768px) {
  .process-content { left: 5vw; top: 8vh; width: 90vw; }
  .process-headline { font-size: 2rem; }
  .process-steps-grid { grid-template-columns: repeat(3, 1fr); padding: 0 5vw; }
  .process-step-item { padding: 1rem 0.75rem 1.25rem 0; }
  .process-step-item--border { padding-left: 0.75rem; }
  .process-step-body { display: none; }
}

/* ── Services Section (sticky scroll via GSAP) ───────────────── */
.section-services { padding: 0; }

.services-sticky-wrap {
  display: flex;
  align-items: flex-start;
}

.services-sticky-left {
  width: 38%;
  flex-shrink: 0;
  height: 100vh;
  padding: 0 4vw 0 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(14,26,43,0.08);
}

.services-label { margin-bottom: 1.25rem; }

.services-main-heading {
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
  margin-bottom: 3rem;
  line-height: 0.95;
}

.services-tracker { display: flex; align-items: center; gap: 2rem; }

.services-counter { display: flex; align-items: baseline; }

.services-counter-num { font-size: 2.5rem; line-height: 1; }

.services-progress-track {
  width: 1px;
  height: 80px;
  background: rgba(14,26,43,0.15);
  position: relative;
  flex-shrink: 0;
}

.services-progress-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--gold);
  height: 16.66%;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-panels { flex: 1; min-width: 0; }

.service-panel {
  padding: 2.25rem 7vw 2.25rem 4vw;
  min-height: 30vh;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(14,26,43,0.1);
  opacity: 0.28;
  transition: opacity 0.5s ease;
}

.service-panel:first-child { border-top: none; opacity: 1; padding-top: 4rem; }
.service-panel:last-child { padding-bottom: 4rem; }
.service-panel.is-active { opacity: 1; }

.service-panel-inner {
  width: 100%;
  max-width: 36rem;
}

.service-panel-code {
  font-family: 'Red Hat Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.service-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--navy);
}

.service-panel-body {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.service-panel-tags {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(14,26,43,0.4);
}

@media (max-width: 767px) {
  .services-sticky-wrap { flex-direction: column; }
  .services-sticky-left {
    width: 100%;
    height: auto;
    padding: 2.5rem 5vw 1.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(14,26,43,0.1);
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--cream);
  }
  .services-main-heading { font-size: 1.75rem; margin-bottom: 0; }
  .services-label { margin-bottom: 0.5rem; }
  .services-tracker { display: none; }
  .service-panel { padding: 2rem 5vw; opacity: 1; }
  .service-panel-title { font-size: 1rem; }
}

/* ── Materials Section (pinned) ───────────────────────────── */
.section-materials { background: var(--navy); }

.materials-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.materials-overlay {
  position: absolute; inset: 0;
  background: rgba(14,26,43,0.52);
}

/* Centered content — middle of viewport */
.materials-content {
  position: absolute;
  z-index: 3;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 78vw;
  max-width: 900px;
  text-align: center;
}

.materials-content .mono-label { margin-bottom: 1.25rem; }

.materials-headline {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  margin-bottom: 2rem;
}

.materials-tagline {
  margin-top: 2rem;
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.materials-body {
  font-size: clamp(0.875rem, 1.1vw, 1.05rem);
  max-width: 46rem;
  margin: 0 auto;
  line-height: 1.8;
  color: rgba(253,250,246,0.7);
}

.materials-el { opacity: 0; }

@media (max-width: 768px) {
  .materials-content { width: 90vw; text-align: left; left: 5vw; top: 50%; transform: translateY(-50%); }
  .materials-headline { font-size: 2.25rem; }
  .materials-body { font-size: 0.9rem; }
}

/* ── Projects Section ─────────────────────────────────────── */
.section-projects { padding: 0 0 4rem; }

.section-projects > .container { padding-top: 6rem; }

/* ── Project Reveal — Zoom animation wrapper ──────────────── */
.project-reveal {
  position: relative;
}

/* Full-screen stage (pinned by GSAP on desktop) */
.reveal-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

/* Exterior building photo — zooms in via GSAP */
.reveal-exterior {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform-origin: 50% 50%;
}

/* Interior detail photo — crossfades in over exterior */
.reveal-interior {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity;
}

/* Gradient overlay — deepens toward bottom */
.reveal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,26,43,0.25) 0%,
    rgba(14,26,43,0.10) 35%,
    rgba(14,26,43,0.50) 70%,
    rgba(14,26,43,0.85) 100%
  );
  z-index: 2;
}

/* Project number + title overlay — fades out as zoom progresses */
.reveal-hero-text {
  position: absolute;
  z-index: 3;
  left: 8vw;
  bottom: 28vh;
}

.reveal-num {
  margin-bottom: 0.75rem;
  letter-spacing: 0.22em;
}

.reveal-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

/* Detail chips — slide up from bottom after interior reveals */
.reveal-chips {
  position: absolute;
  z-index: 3;
  bottom: 4rem;
  left: 8vw;
  right: 8vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(253,250,246,0.15);
  padding-top: 1.25rem;
}

.reveal-chip {
  padding-right: 2rem;
  opacity: 0; /* animated to 1 by GSAP on desktop */
}

.reveal-chip-label {
  font-size: 9px;
  letter-spacing: 0.20em;
  color: var(--gold);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  font-family: 'Red Hat Mono', monospace;
}

.reveal-chip-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
}

/* Scroll cue — bottom right */
.reveal-scroll-cue {
  position: absolute;
  z-index: 3;
  right: 8vw;
  bottom: 4.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Projects Section (simple 4-card grid) ───────────────── */
.section-projects { padding: 3.5rem 0 8rem; }

.projects-header { margin-bottom: 4rem; }
.projects-header-label { margin-bottom: 1.5rem; }
.projects-headline { font-size: clamp(1.85rem, 3.5vw, 3rem); line-height: 1.0; }

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

.project-card-simple { cursor: pointer; }

.project-card-simple-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
  background: var(--navy);
}

.project-card-simple-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.project-card-simple:hover .project-card-simple-img { transform: scale(1.05); }

.project-card-simple-hover-overlay {
  position: absolute; inset: 0;
  background-color: rgba(14,26,43,0.28);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 1;
}
.project-card-simple:hover .project-card-simple-hover-overlay,
.project-card-link:hover .project-card-simple-hover-overlay { opacity: 0; }

.project-card-simple-title {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.project-card-simple:hover .project-card-simple-title { color: var(--gold); }

.project-card-simple-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.project-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(58,53,48,0.65);
  font-size: 0.875rem;
}
.project-card-meta-item svg { flex-shrink: 0; }

@media (max-width: 768px) {
  .section-projects { padding: 4rem 0 6rem; }
  .projects-grid { grid-template-columns: 1fr; gap: 3rem; }
  .projects-headline { font-size: 1.85rem; }
}

/* ── Project Card (below reveal stage, on cream bg) ───────── */
.project-card {
  padding: 4rem 0 6rem;
}

.project-badges-row {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: center;
}

.badge--navy-outline {
  border: 1px solid rgba(14,26,43,0.22);
  color: rgba(14,26,43,0.55);
}

/* Remove old divider class — no longer used */
.project-card--divider { padding-top: 4rem; border-top: 1px solid rgba(14,26,43,0.1); }

.project-label-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.project-rule { flex: 1; height: 1px; background: rgba(14,26,43,0.1); }

.project-title { font-size: clamp(1.85rem, 3.5vw, 3rem); margin-bottom: 2rem; line-height: 1.0; }

/* Project card hero — wide static image with badge overlay */
.project-card-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin-bottom: 3rem;
  background: var(--navy);
}
.project-card-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.project-card-hero:hover .project-card-hero-img { transform: scale(1.03); }
.project-card-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,26,43,0.55) 0%, transparent 50%);
  pointer-events: none;
}
.project-card-hero-badges {
  position: absolute; bottom: 1.75rem; left: 2rem;
  display: flex; gap: 0.625rem; flex-wrap: wrap;
  z-index: 2;
}

.project-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/7;
  margin-bottom: 2.5rem;
}

.project-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .7s ease;
}

.project-card:hover .project-image { transform: scale(1.04); }

.project-image-overlay {
  position: absolute; inset: 0;
  background: rgba(14,26,43,0.30);
}

.project-badges {
  position: absolute; bottom: 1.5rem; left: 2rem;
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  z-index: 2;
}

.badge {
  font-size: 10px;
  padding: 0.25rem 0.75rem;
}

.badge--gold-fill    { background: var(--gold); color: var(--navy); }
.badge--gold-outline { border: 1px solid var(--gold); color: var(--gold); }
.badge--white-outline{ border: 1px solid rgba(253,250,246,0.25); color: rgba(253,250,246,0.7); }

.project-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.project-metrics {
  border-top: 1px solid rgba(14,26,43,0.1);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-metric-label { margin-bottom: 0.25rem; }
.project-metric-value { font-size: 0.875rem; font-weight: 500; }

.project-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.project-highlight { border-top: 1px solid rgba(14,26,43,0.1); padding-top: 1rem; }
.project-highlight-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.project-highlight .body-text { font-size: 0.875rem; }

/* Unit Mix */
.project-unit-mix { margin-bottom: 4rem; }
.unit-mix-label { margin-bottom: 1.5rem; }
.unit-mix-table { border-top: 1px solid rgba(14,26,43,0.1); }

.unit-mix-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(14,26,43,0.08);
}
.unit-mix-col-head { font-size: 9px; color: rgba(14,26,43,0.4); letter-spacing: 0.18em; }

.unit-mix-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1.5fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(14,26,43,0.1);
  transition: background .18s;
  align-items: center;
}
.unit-mix-row:hover { background: rgba(14,26,43,0.04); }
.unit-mix-cell { font-size: 0.875rem; }
.unit-mix-tier { font-size: 9px; }

/* Phased Pricing */
.project-phases { margin-top: 4rem; }
.phases-label { margin-bottom: 2.5rem; }

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

.phase-card {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 2rem 3rem;
}

.phase-card:first-child { padding-left: 0; }
.phase-card:last-child  { padding-right: 0; }
.phase-card--border     { border-left: 1px solid rgba(14,26,43,0.1); }

.phase-bar {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
}

.phase-ghost {
  position: absolute; bottom: 0; right: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 8vw, 9rem);
  color: rgba(14,26,43,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.phase-inner { position: relative; padding-top: 2rem; }
.phase-status-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.phase-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(14,26,43,0.18); }
.phase-dot--active { background: var(--gold); }
.phase-num-label { margin-bottom: 1rem; }
.phase-price { font-size: 1rem; margin-bottom: 1.25rem; }
.phase-desc { font-size: 0.75rem; max-width: 220px; }

/* Features */
.project-features { margin: 3rem 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(14,26,43,0.08);
}

.feature-dot { width: 4px; height: 4px; background: var(--gold); flex-shrink: 0; }
.feature-item .body-text { font-size: 0.75rem; }

/* ROI */
.project-roi { margin: 2.5rem 0; }
.roi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.roi-item { border-top: 1px solid rgba(14,26,43,0.1); padding-top: 1rem; }
.roi-label { margin-bottom: 0.25rem; }
.roi-value { font-size: 0.9rem; font-weight: 500; }

/* Download */
.project-download {
  border-top: 1px solid rgba(14,26,43,0.1);
  padding-top: 2rem;
  margin-top: 3rem;
}

.project-download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.project-download-inner .mono-label { margin-bottom: 0.25rem; }
.project-download-inner .body-text  { font-size: 0.75rem; color: rgba(58,53,48,.6); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  font-size: 10px;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.btn-download:hover { background: var(--navy); color: var(--cream); }

.projects-disclaimer {
  margin-top: 5rem;
  color: rgba(58,53,48,.25);
  font-size: 9px;
  line-height: 1.8;
}

/* ── Projects section header: mobile ─────────────────────── */
@media (max-width: 768px) {
  .section-projects > .container { padding-top: 4rem; }
}

/* ── Reveal: Mobile overrides ─────────────────────────────── */
@media (max-width: 767px) {
  .reveal-hero-text {
    left: 5vw;
    right: 5vw;
    bottom: auto;
    top: 30vh;
  }

  .reveal-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    max-width: 100%;
  }

  .reveal-chips {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0;
    left: 5vw;
    right: 5vw;
    bottom: 3rem;
  }

  .reveal-chip {
    opacity: 1; /* always visible on mobile — no GSAP animation */
    padding-right: 1rem;
  }

  .reveal-scroll-cue {
    display: none; /* save space on mobile */
  }
}

/* ── Project cards: Mobile overrides ─────────────────────── */
@media (max-width: 768px) {
  .project-card { padding: 2.5rem 0 4rem; }

  .project-body-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .project-highlights { grid-template-columns: 1fr; gap: 0; }
  .project-highlight  { padding: 0.875rem 0; }

  .phases-grid        { grid-template-columns: 1fr; }
  .phase-card         { padding: 2.5rem 0; border-left: none; border-top: 1px solid rgba(14,26,43,.1); }
  .phase-card:first-child { border-top: none; }

  .features-grid      { grid-template-columns: 1fr 1fr; }
  .roi-grid           { grid-template-columns: 1fr 1fr; }

  .unit-mix-row       { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .unit-mix-tier      { display: none; }
  .unit-mix-cell      { font-size: 0.8rem; }

  .project-metrics    { grid-template-columns: 1fr 1fr; }

  .project-card-hero  { aspect-ratio: 16 / 9; }
  .project-card-hero-badges { bottom: 1rem; left: 1rem; }

  .unit-mix-header    { grid-template-columns: 1fr 1fr; }
  .unit-mix-col-head:nth-child(3),
  .unit-mix-col-head:nth-child(4) { display: none; }

  .project-download-inner { flex-direction: column; align-items: flex-start; }
}


/* ── Cream gap between market-stats and invest ──────────── */
.cream-gap { background: var(--cream); height: 5rem; }

/* ── Team Section ────────────────────────────────────────── */
.section-team { padding: 5rem 0 3rem; }

.team-header { margin-bottom: 3.5rem; }
.team-headline {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ── Flip Card Container ──────────────────────────────────── */
.team-member { /* GSAP fade-up anchor */ }

.team-card-wrap { perspective: 1200px; }

.team-card-inner {
  position: relative;
  width: 100%;
  min-height: 460px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.team-card-inner.is-flipped { transform: rotateY(180deg); }

.team-card-front,
.team-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

/* ── Front Face ───────────────────────────────────────────── */
.team-card-front {
  background: var(--cream);
  border: 1px solid rgba(14,26,43,0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.team-card-inner:not(.is-flipped):hover .team-card-front {
  background: rgba(210,178,117,0.05);
  border-color: rgba(210,178,117,0.25);
}

.team-front-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-member-avatar {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(14,26,43,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.75rem;
  position: relative;
}

/* Subtle grain + dark navy overlay — fades on hover */
.team-member-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(14,26,43,0.28);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 2;
}
.team-card-inner:not(.is-flipped):hover .team-member-avatar::after { opacity: 0; }

.team-member-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.team-card-inner:not(.is-flipped):hover .team-member-avatar img { transform: scale(1.06); }

.team-member-initials {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.team-member-name {
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.team-card-inner:not(.is-flipped):hover .team-member-name { color: var(--gold); }

.team-member-role {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(210,178,117,0.85);
  display: block;
  line-height: 1.6;
}

.team-flip-hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  font-family: 'Red Hat Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14,26,43,0.28);
  transition: color 0.3s ease, gap 0.3s ease;
}

.team-card-inner:not(.is-flipped):hover .team-flip-hint {
  color: rgba(210,178,117,0.65);
  gap: 0.7rem;
}

/* ── Back Face ────────────────────────────────────────────── */
.team-card-back {
  background: var(--navy);
  transform: rotateY(180deg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.team-back-header { flex-shrink: 0; }

.team-back-name {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.team-back-role {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(210,178,117,0.7);
  display: block;
  line-height: 1.6;
}

.team-member-divider {
  height: 1px;
  background: rgba(253,250,246,0.1);
  margin: 1.5rem 0;
  flex-shrink: 0;
}

.team-member-bio {
  color: rgba(253,250,246,0.62);
  line-height: 1.85;
  font-size: 0.84rem;
  flex: 1;
}

.team-flip-close {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  font-family: 'Red Hat Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,250,246,0.25);
  margin-top: 1.5rem;
  transition: color 0.3s ease;
}

.team-card-inner.is-flipped:hover .team-flip-close { color: rgba(210,178,117,0.6); }

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; gap: 1rem; }
  .team-card-inner { min-height: 640px; }
  .team-card-back {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}


/* ── Invest Section (pinned, centered) ────────────────────── */
.section-invest { background: var(--navy); }

.invest-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.invest-overlay {
  position: absolute; inset: 0;
  background: rgba(14,26,43,0.65);
}

/* Centered — horizontally and vertically */
.invest-content {
  position: absolute;
  z-index: 3;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 78vw;
  max-width: 840px;
  text-align: center;
}

.invest-content .mono-label { margin-bottom: 1.25rem; }

.invest-headline {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  margin-bottom: 1.75rem;
}

.invest-el { opacity: 0; }

.invest-body-text {
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  max-width: 40rem;
  margin: 0 auto 2rem;
  line-height: 1.8;
  color: rgba(253,250,246,0.65);
  font-family: 'Manrope', sans-serif;
}

/* CTA button */
.invest-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Red Hat Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(210,178,117,0.5);
  padding: 0.875rem 1.75rem;
  transition: all .3s;
}

.invest-cta:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .invest-content {
    left: 5vw; top: 8vh;
    transform: none;
    width: 90vw;
    text-align: left;
  }
  .invest-headline  { font-size: 2.25rem; }
  .invest-body-text { margin-left: 0; }
}

/* ── Contact Section ──────────────────────────────────────── */
/* padding-top:1px prevents CSS margin-collapse from the child rule bleeding upward */
.section-contact { padding: 1px 0 6rem; position: relative; }

/* Thicker gold rule at the top of contact, separating it from team */
.section-contact .studio-stats-rule {
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(210,178,117,0.55) 18%, rgba(210,178,117,0.55) 82%, transparent);
  margin: 3rem 0 3.5rem;
}

.contact-line {
  position: absolute;
  left: 6vw; top: 6rem;
  width: 1px; height: 60vh;
  background: rgba(210,178,117,0.35);
  transform-origin: top;
  transform: scaleY(0);
}

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

.contact-el { opacity: 0; }

#contact-headline { font-size: clamp(2rem, 4vw, 3.5rem); margin: 1rem 0 2rem; }

#contact-body { font-size: 1rem; max-width: 28rem; margin-bottom: 2.5rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-detail { display: flex; align-items: center; gap: 1rem; }
.contact-detail svg { flex-shrink: 0; }
.contact-link { font-size: 0.875rem; color: var(--charcoal); transition: color .2s; }
.contact-link:hover { color: var(--gold); }

.contact-gold-rule {
  height: 1px;
  background: rgba(210,178,117,0.2);
  max-width: 180px;
  margin-top: 3rem;
}

/* Floating Label Form */
.contact-form { display: flex; flex-direction: column; gap: 2rem; }

.floating-field {
  position: relative;
  padding-top: 20px;
}

.floating-label {
  position: absolute;
  top: 24px; left: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  color: rgba(14,26,43,0.45);
  pointer-events: none;
  transform-origin: left top;
  transition: top .22s var(--ease-expo), font-size .22s var(--ease-expo), color .22s ease, letter-spacing .22s ease, font-family .22s ease;
  z-index: 1;
}

.floating-required { color: rgba(210,178,117,0.6); margin-left: 2px; }

.floating-field:focus-within .floating-label,
.floating-field.is-filled    .floating-label {
  top: 0;
  font-size: 9px;
  font-family: 'Red Hat Mono', monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.floating-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(14,26,43,0.18);
  padding: 10px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  color: var(--navy);
  outline: none;
  position: relative;
  z-index: 1;
  resize: vertical;
}

.floating-input::placeholder { color: transparent; }
.floating-input:focus { border-bottom-color: transparent; }

.floating-textarea { min-height: 80px; }

.floating-select-wrap { position: relative; }

.floating-select {
  appearance: none;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(14,26,43,0.18);
  padding: 10px 28px 10px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  outline: none;
}

.floating-chevron {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.floating-underline {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .35s var(--ease-expo);
  z-index: 2;
}

.floating-field:focus-within .floating-underline { width: 100%; }

.floating-base-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(14,26,43,0.15);
  z-index: 0;
}

.form-footer { padding-top: 0.5rem; }

.form-submit {
  padding: 1rem 2rem;
  font-size: 10px;
  cursor: pointer;
}

.form-success-msg { font-size: 0.75rem; color: rgba(58,53,48,0.6); margin-top: 1rem; }
.form-error-msg   { font-size: 0.75rem; color: #c0392b; margin-top: 1rem; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-line { display: none; }
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--navy); }

.footer-content { padding: 3rem 0 2rem; }

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-logo-img { height: 34px; width: auto; opacity: 0.8; }
.footer-logo-link { flex-shrink: 0; transition: opacity 0.2s; }
.footer-logo-link:hover { opacity: 0.6; }

.footer-tagline {
  font-family: 'Red Hat Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(210,178,117,0.5);
  text-align: center;
  flex: 1;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.footer-social { display: flex; align-items: center; gap: 0.75rem; }
.footer-social-link {
  color: rgba(253,250,246,0.35);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}
.footer-social-link:hover { color: var(--gold); }

.footer-credit {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  color: rgba(253,250,246,0.2);
}

.footer-divider {
  height: 1px;
  background: rgba(253,250,246,0.06);
  margin-bottom: 1.25rem;
}

.footer-legal {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  color: rgba(253,250,246,0.2);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .footer-inner { padding: 0 1.5rem; }
  .footer-top-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-tagline { text-align: left; flex: none; }
  .footer-right { align-items: flex-start; }
}

/* ── Fade-up animation class (initial state) ──────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
}

/* When animated by GSAP, this class is removed — but we set inline styles via GSAP anyway */

/* ────────────────────────────────────────────────────────────────────────────
   Studio — Company Credibility Stats
   ──────────────────────────────────────────────────────────────────────────── */

.studio-stats-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(210,178,117,0.3) 20%, rgba(210,178,117,0.3) 80%, transparent);
  margin: 4rem 0 3.5rem;
}

.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-bottom: 1.5rem;
}

.studio-stat {
  padding: 0 2.5rem;
  border-right: 1px solid rgba(14,26,43,0.08);
}
.studio-stat:first-child { padding-left: 0; }
.studio-stat:last-child  { border-right: none; }

.studio-stat-value {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.studio-stat-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.studio-stat-desc {
  font-size: 0.775rem;
  color: rgba(58,53,48,0.6);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .studio-stats { grid-template-columns: 1fr; gap: 2.5rem; }
  .studio-stat  { padding: 0 0 2.5rem; border-right: none; border-bottom: 1px solid rgba(14,26,43,0.08); }
  .studio-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .studio-stats-rule { margin: 3rem 0 2.5rem; }
}

/* ────────────────────────────────────────────────────────────────────────────
   Market Stats Section
   ──────────────────────────────────────────────────────────────────────────── */

.section-market-stats {
  padding: 3rem 0 5rem;
}

.market-stats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.market-stats-eyebrow {
  font-size: 9px;
  letter-spacing: 0.25em;
}

.market-stats-source {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(14,26,43,0.35);
}

.market-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.market-stat {
  padding: 0 2.5rem;
  border-right: 1px solid rgba(14,26,43,0.1);
}
.market-stat:first-child { padding-left: 0; }
.market-stat:last-child  { border-right: none; }

.market-stat-value {
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.market-stat-unit {
  font-size: 0.55em;
  opacity: 0.75;
  vertical-align: super;
}

.market-stat-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(210,178,117,0.8);
  display: block;
  margin-bottom: 0.4rem;
}

.market-stat-desc {
  font-size: 0.72rem;
  color: rgba(14,26,43,0.5);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .market-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 0; }
  .market-stat       { border-right: none; }
  .market-stat:nth-child(odd)  { border-right: 1px solid rgba(14,26,43,0.1); }
  .market-stat:nth-child(n+3)  { padding-top: 2.5rem; border-top: 1px solid rgba(14,26,43,0.1); }
}

@media (max-width: 768px) {
  .section-market-stats  { padding: 3rem 0 4rem; }
  .market-stats-header   { margin-bottom: 2rem; }
  .market-stats-grid     { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .market-stat           { padding: 0 1.5rem; border-right: none; }
  .market-stat:nth-child(odd)  { padding-left: 0; border-right: 1px solid rgba(14,26,43,0.1); }
  .market-stat:nth-child(even) { border-right: none; }
  .market-stat:nth-child(n+3)  { padding-top: 2rem; border-top: 1px solid rgba(253,250,246,0.07); }
}

/* ────────────────────────────────────────────────────────────────────────────
   Single Project Page
   ──────────────────────────────────────────────────────────────────────────── */

/* Project card link reset */
.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.project-card-link:hover .project-card-simple-img {
  transform: scale(1.04);
}
.project-card-simple-img {
  transition: transform 0.55s var(--ease-expo);
}

/* ── Simple Page (Privacy Policy, etc.) ────────────────────────────────────── */
.simple-page-hero {
  padding: 7rem 0 3.5rem;
  border-bottom: 1px solid rgba(210,178,117,0.15);
}
.simple-page-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  display: block;
}
.simple-page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
}
.simple-page-body {
  padding: 4rem 0 6rem;
}
.simple-page-content {
  max-width: 740px;
}
.simple-page-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
}
.simple-page-content h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}
.simple-page-content p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.simple-page-content ul,
.simple-page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.simple-page-content li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.simple-page-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.simple-page-content hr {
  border: none;
  border-top: 1px solid rgba(14,26,43,0.12);
  margin: 2rem 0;
}
.simple-page-content strong { font-weight: 600; color: var(--navy); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.sp-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.sp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,26,43,0.92) 0%, rgba(14,26,43,0.55) 45%, rgba(14,26,43,0.3) 100%);
}

.sp-hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 5rem;
  width: 100%;
}

.sp-back-link {
  display: inline-block;
  font-family: 'Red Hat Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(210,178,117,0.6);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.sp-back-link:hover { color: var(--gold); }

.sp-hero-content { max-width: 820px; }

.sp-hero-number {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: spFadeUp 0.7s 0.2s var(--ease-expo) forwards;
}

.sp-hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--cream);
  margin: 0 0 1rem;
  line-height: 1.0;
  opacity: 0;
  animation: spFadeUp 0.7s 0.35s var(--ease-expo) forwards;
}

.sp-hero-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 400;
  color: rgba(253,250,246,0.55);
  letter-spacing: 0.03em;
  margin: 0 0 1.5rem;
  opacity: 0;
  animation: spFadeUp 0.7s 0.5s var(--ease-expo) forwards;
}

.sp-gv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Red Hat Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(210,178,117,0.4);
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  opacity: 0;
  animation: spFadeUp 0.7s 0.65s var(--ease-expo) forwards;
}

@keyframes spFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Stats bar ─────────────────────────────────────────────────────────────── */
.sp-stats-bar {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(253,250,246,0.06);
}

.sp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.sp-stat {
  padding: 0 2rem;
  border-right: 1px solid rgba(253,250,246,0.08);
}
.sp-stat:first-child { padding-left: 0; }
.sp-stat:last-child  { border-right: none; }

.sp-stat-value {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--gold);
  margin-bottom: 0.4rem;
  line-height: 1;
}

.sp-stat-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(253,250,246,0.35);
}

/* ── Content area ──────────────────────────────────────────────────────────── */
.sp-content {
  padding: 6rem 0 7rem;
}

.sp-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.sp-section-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  margin-bottom: 1.75rem;
  display: block;
}

.sp-desc-para {
  font-size: clamp(0.8rem, 1.1vw, 0.9375rem);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}
.sp-desc-para:last-of-type { margin-bottom: 2rem; }

.sp-features {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(14,26,43,0.08);
  padding-top: 1.75rem;
}

.sp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--charcoal);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(14,26,43,0.05);
}
.sp-feature-item:last-child { border-bottom: none; }

.sp-feature-dot {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.45em;
}

/* ── Unit table ────────────────────────────────────────────────────────────── */
.sp-unit-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid rgba(14,26,43,0.1);
  border-radius: 2px;
}

.sp-unit-table {
  width: 100%;
  border-collapse: collapse;
}

.sp-unit-th {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(14,26,43,0.4);
  text-align: left;
  padding: 0.75rem 1.1rem;
  background: rgba(14,26,43,0.04);
  border-bottom: 1px solid rgba(14,26,43,0.1);
  white-space: nowrap;
}

.sp-unit-row {
  border-bottom: 1px solid rgba(14,26,43,0.06);
  transition: background 0.2s;
}
.sp-unit-row:hover { background: rgba(14,26,43,0.03); }
.sp-unit-row:last-child { border-bottom: none; }

.sp-unit-td {
  font-size: 0.8125rem;
  color: var(--charcoal);
  padding: 0.85rem 1.1rem;
}
.sp-unit-td[data-first="true"] {
  font-weight: 600;
  color: var(--navy);
}

/* ── GV callout block ──────────────────────────────────────────────────────── */
.sp-gv-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(210,178,117,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 2px 2px 0;
}

.sp-gv-icon { flex-shrink: 0; padding-top: 2px; }

.sp-gv-title {
  font-size: 0.8125rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.sp-gv-text {
  font-size: 0.75rem;
  color: rgba(58,53,48,0.65);
  line-height: 1.6;
}

/* ── CTA section ───────────────────────────────────────────────────────────── */
.sp-cta {
  padding: 5rem 0;
  border-top: 1px solid rgba(253,250,246,0.06);
}

.sp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.sp-cta-eyebrow {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.sp-cta-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin: 0;
  line-height: 1.1;
}

.sp-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 10px;
  padding: 1rem 2rem;
  white-space: nowrap;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sp-content-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sp-stats-grid   { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .sp-stat { border-right: none; border-bottom: 1px solid rgba(253,250,246,0.08); padding: 0 0 1.5rem; }
  .sp-stat:nth-child(2n) { padding-left: 2rem; }
  .sp-stat:last-child, .sp-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

@media (max-width: 768px) {
  .sp-hero { min-height: 520px; }
  .sp-hero-inner { padding-bottom: 3.5rem; }
  .sp-back-link { margin-bottom: 2rem; }
  .sp-content { padding: 4rem 0 5rem; }
  .sp-stats-bar { padding: 2rem 0; }
  .sp-stats-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 0; }
  .sp-stat { padding: 0 1rem 1.25rem; border-bottom: 1px solid rgba(253,250,246,0.08); }
  .sp-stat:nth-child(2n) { border-left: 1px solid rgba(253,250,246,0.08); }
  .sp-stat:last-child, .sp-stat:nth-last-child(-n+2) { border-bottom: none; }
  .sp-cta-inner { flex-direction: column; align-items: flex-start; }
  .sp-cta-heading { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

@media (max-width: 480px) {
  .sp-stats-grid { grid-template-columns: 1fr; }
  .sp-stat { border-left: none !important; border-right: none; border-bottom: 1px solid rgba(253,250,246,0.08); padding: 0 0 1.25rem; }
  .sp-stat:last-child { border-bottom: none; }
}

/* ── Prev / Next project navigation ───────────────────────────────────────── */
.sp-project-nav {
  border-top: 1px solid rgba(253,250,246,0.06);
}

.sp-project-nav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
}

.sp-project-nav-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0;
  transition: opacity 0.2s;
}
.sp-project-nav-link:hover { opacity: 0.7; }
.sp-project-nav-link svg { flex-shrink: 0; color: var(--gold); opacity: 0.7; transition: opacity 0.2s; }
.sp-project-nav-link:hover svg { opacity: 1; }

.sp-project-nav-next { justify-content: flex-end; }

.sp-project-nav-info { display: flex; flex-direction: column; gap: 0.3rem; }
.sp-project-nav-info-right { align-items: flex-end; }

.sp-project-nav-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.6;
}

.sp-project-nav-title {
  font-size: clamp(0.65rem, 1.2vw, 0.875rem);
  color: var(--cream);
  opacity: 0.85;
  line-height: 1.2;
}

/* ── Footer separator ──────────────────────────────────────────────────────── */
.sp-footer-sep {
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(210,178,117,0.35) 30%, rgba(210,178,117,0.35) 70%, transparent 100%);
}

@media (max-width: 768px) {
  .sp-project-nav-inner { gap: 1rem; padding: 2rem 0; }
  .sp-project-nav-title { font-size: 0.65rem; }
}

@media (max-width: 480px) {
  .sp-project-nav-prev { border-right: 1px solid rgba(253,250,246,0.06); padding-right: 1rem; }
  .sp-project-nav-next { padding-left: 1rem; }
}
