/* ════════════════════════════════════════════════════
   HAANIA ENTERPRISES — METAMASK-INSPIRED PREMIUM CSS
   Gold/Black · Lenis · GSAP · Three.js
   ════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────── */
:root {
  --black:      #030303;
  --black-mid:  #0a0a0a;
  --black-card: #0d0d0d;
  --white:      #ffffff;
  --grey:       #6b6b6b;
  --grey-light: #999999;

  --gold:       #D4AF37;
  --gold-lt:    #FFE07D;
  --gold-bright:#FFF5B0;
  --gold-dk:    #8A640F;
  --gold-glow:  rgba(212,175,55,.35);

  --g-gold: linear-gradient(135deg, #FFF5B0 0%, #D4AF37 45%, #8A640F 100%);
  --g-gold-h: linear-gradient(90deg,  #FFF5B0 0%, #D4AF37 50%, #8A640F 100%);
  --g-glass: linear-gradient(135deg, rgba(20,20,20,.75) 0%, rgba(6,6,6,.9) 100%);

  --ff-disp: 'Clash Display', 'DM Sans', sans-serif;
  --ff-body: 'DM Sans', sans-serif;
  --ff-serif:'DM Serif Display', serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; cursor: none; }
html { scroll-behavior: auto; }
html, body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { display: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { background: none; border: none; font: inherit; }

/* Fine grid overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    linear-gradient(rgba(212,175,55,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,.016) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0; pointer-events: none;
}

/* Fallback: if the custom cursor fails to initialise (e.g. GSAP CDN
   didn't load), restore the normal system cursor instead of leaving
   the page with cursor:none everywhere. Dormant unless JS adds this
   class, so it has no effect on the normal/working appearance. */
body.no-custom-cursor,
body.no-custom-cursor * { cursor: auto !important; }
body.no-custom-cursor #cursor-wrap { display: none; }

/* ─── WEBGL CANVAS ────────────────────────────────── */
#webgl-canvas {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 65% 35%, #160f00 0%, #020202 65%);
}

/* ─── UTILITIES ──────────────────────────────────── */
.container { width: 90%; max-width: 1380px; margin: 0 auto; position: relative; z-index: 5; }
.gold-gradient-text {
  background: var(--g-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.gold-dot { color: var(--gold); }
.tc { text-align: center; }

/* Section tag */
.section-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .4em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .7rem;
  margin-bottom: 1.2rem; font-family: var(--ff-body);
}
.section-tag::before {
  content: ''; display: inline-block;
  width: 22px; height: 1px; background: var(--g-gold-h);
}
.tc.section-tag { display: flex; justify-content: center; }
.tc.section-tag::before { display: none; }

/* Section title */
.section-title {
  font-family: 'Clash Display', 'DM Sans', sans-serif; font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  text-transform: uppercase; letter-spacing: -.025em;
  line-height: 1.0; margin-bottom: 1.5rem;
}

/* Section desc */
.section-desc { font-size: 1.05rem; color: var(--grey-light); line-height: 1.75; font-weight: 300; max-width: 500px; }

/* Section header (title + desc) */
.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.04);
  gap: 3rem;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 2.2rem; font-family: var(--ff-body);
  font-size: .85rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; border-radius: 3px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.1);
  transform: translateX(-110%) skewX(-12deg);
  transition: transform .5s var(--ease-out);
}
.btn:hover::after { transform: translateX(110%) skewX(-12deg); }
.btn-gold { background: var(--g-gold); color: #000; box-shadow: 0 0 28px rgba(212,175,55,.22); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 6px 40px rgba(212,175,55,.45); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.14); }
.btn-ghost:hover { border-color: rgba(212,175,55,.45); background: rgba(212,175,55,.04); transform: translateY(-3px); }
.btn-full { width: 100%; justify-content: center; margin-top: 1rem; padding: 1.15rem; }
.btn svg { flex-shrink: 0; transition: transform .3s; }
.btn:hover svg { transform: translateX(5px); }

/* ─── CURSOR ──────────────────────────────────────── */
#cursor-wrap { position: fixed; inset: 0; z-index: 99999; pointer-events: none; }
#cursor-dot {
  width: 5px; height: 5px; background: var(--gold-bright); border-radius: 50%;
  position: fixed; transform: translate(-50%,-50%);
  z-index: 100001; box-shadow: 0 0 8px var(--gold);
}
#cursor-ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,.45);
  position: fixed; transform: translate(-50%,-50%);
  z-index: 100000;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), border-color .3s;
}
body.csr-hover #cursor-ring { width: 72px; height: 72px; border-color: rgba(212,175,55,.9); background: rgba(212,175,55,.04); }
body.csr-hover #cursor-dot  { width: 8px; height: 8px; }

/* ════════════════════════════════════════════════════
   PRELOADER — MetaMask-inspired
   ════════════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 100000;
  overflow: hidden;
}

/* 10 Venetian blind strips covering full screen */
.blind-strips {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  z-index: 2; pointer-events: none;
}
.blind-strip {
  flex: 1; background: var(--black);
  transform-origin: top;
  /* strips slide up on reveal */
}

/* Center brand mark */
.loader-center {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.6rem;
}

/* SVG Logo — paths will animate via stroke-dashoffset */
.loader-svg {
  width: clamp(120px, 22vw, 200px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(212,175,55,.3));
}

/* Calculate path lengths in JS; we set dasharray/offset there */
.svg-path { stroke-linecap: round; }
.frame-path { /* perimeter ~600 */ }
.letter-path { /* length ~200 */ }

/* Corner dots start hidden */
.svg-dot { opacity: 0; }

/* Pulsing glow ring behind SVG */
.loader-glow-ring {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.18) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0;
  animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1);   opacity: .5; }
  50%      { transform: scale(1.2); opacity: 1; }
}

/* Brand name below SVG */
.loader-brand-name {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  opacity: 0; transform: translateY(12px);
}
.lbn-h {
  font-family: 'Clash Display', 'DM Sans', sans-serif; font-size: clamp(1.8rem,5vw,3rem);
  font-weight: 800; letter-spacing: .3em;
  background: var(--g-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.lbn-e {
  font-size: .7rem; letter-spacing: .6em; color: var(--grey); font-weight: 600; text-transform: uppercase;
}

/* Counter */
.loader-counter {
  font-family: var(--ff-disp); font-size: clamp(3rem,9vw,7rem); font-weight: 800;
  line-height: 1; opacity: 0;
  background: var(--g-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200%;
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer { 0% { background-position: 0% } 100% { background-position: 200% } }

/* ════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  background: rgba(3,3,3,.6);
  transform: translateY(-100%); opacity: 0;
  transition: background .4s;
}
.navbar.scrolled { background: rgba(3,3,3,.94); border-bottom-color: rgba(212,175,55,.07); }

.nav-inner {
  width: 90%; max-width: 1380px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Clash Display', 'DM Sans', sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: .1em;
}
.nav-mark { width: 28px; height: auto; }

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

.nav-link {
  font-size: .8rem; font-weight: 600; color: var(--grey-light);
  text-transform: uppercase; letter-spacing: .12em;
  position: relative; transition: color .3s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--g-gold-h); transition: width .3s;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  background: var(--g-gold); color: #000 !important; padding: .55rem 1.4rem;
  border-radius: 3px; font-weight: 700; box-shadow: 0 0 18px rgba(212,175,55,.15);
  transition: box-shadow .3s, transform .3s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { box-shadow: 0 0 32px rgba(212,175,55,.5); transform: translateY(-2px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--white); transition: all .3s var(--ease-out); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-5px); }

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 100px; z-index: 5; overflow: hidden;
}

/* Ambient orbs */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(110px); z-index: 1;
}
.orb-gold  { width: 750px; height: 750px; top: -100px; right: -50px; background: radial-gradient(circle,rgba(212,175,55,.18) 0%,transparent 70%); animation: orbFloat 10s ease-in-out infinite; }
.orb-amber { width: 480px; height: 480px; bottom: 5%; left: 6%; background: radial-gradient(circle,rgba(212,175,55,.14) 0%,transparent 70%); animation: orbFloat 13s ease-in-out infinite 2s reverse; }
.orb-edge  { width: 300px; height: 300px; top: 35%; left: 35%; background: radial-gradient(circle,rgba(255,224,100,.15) 0%,transparent 70%); animation: orbFloat 8s ease-in-out infinite 1.5s; }
@keyframes orbFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-35px) scale(1.08)} }

/* Fine horizontal scan-line texture */
.hero-scanlines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 3px, rgba(0,0,0,.12) 3px, rgba(0,0,0,.12) 4px
  );
  opacity: .3;
}

.hero-inner { z-index: 3; }

/* Eyebrow */
.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.8rem; opacity: 0; transform: translateY(16px);
}
.eyebrow-line { flex: 0 0 50px; height: 1px; background: var(--g-gold-h); opacity: .5; }
.hero-eyebrow span {
  font-size: .7rem; letter-spacing: .4em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); font-family: var(--ff-body);
}

/* Main heading — each line clipped for slide-up reveal */
.hero-heading {
  font-family: 'Clash Display', 'DM Sans', sans-serif; font-weight: 700;
  font-size: clamp(3.4rem, 8.5vw, 8.5rem);
  text-transform: uppercase; letter-spacing: -.025em; line-height: .96;
  margin-bottom: 3.5rem; perspective: 1200px;
}
.h-line { overflow: hidden; padding-bottom: .16em; padding-top: .02em; }
.h-line-inner {
  display: flex; align-items: baseline; gap: .18em;
  transform: translateY(108%);
}
.h-line-inner span, .h-line-inner .gold-gradient-text { display: inline-block; }

/* Bottom row: sub + CTAs */
.hero-sub-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 4rem;
  opacity: 0; transform: translateY(24px);
}
.hero-sub { font-size: clamp(.95rem,1.4vw,1.2rem); color: var(--grey-light); line-height: 1.75; font-weight: 300; max-width: 520px; }
.hero-actions { display: flex; gap: 1.2rem; flex-shrink: 0; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 3rem; left: 5%;
  display: flex; align-items: center; gap: 1.2rem;
  font-size: .68rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--grey); z-index: 5; opacity: 0;
}
.scroll-cue-track {
  width: 48px; height: 1px; background: rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.scroll-cue-dot {
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--g-gold-h);
  animation: scanDot 2s ease-in-out infinite;
}
@keyframes scanDot { 0%{left:-100%} 50%{left:0%} 100%{left:100%} }

/* Rotating badge */
.rot-badge {
  position: absolute; bottom: 3.5rem; right: 5%;
  width: 115px; height: 115px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; z-index: 5;
  animation: spinBadge 22s linear infinite;
}
.rot-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rot-badge-star {
  font-size: 1.5rem; color: var(--gold); z-index: 1;
  animation: spinBadge 22s linear infinite reverse;
}
@keyframes spinBadge { from{transform:rotate(0)} to{transform:rotate(360deg)} }

/* ════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════ */
.marquee-bar {
  position: relative; z-index: 5; overflow: hidden;
  border-top: 1px solid rgba(212,175,55,.1);
  border-bottom: 1px solid rgba(212,175,55,.1);
  background: rgba(4,4,4,.85); padding: 1.3rem 0;
}
.marquee-inner { display: flex; width: max-content; }
.marquee-set {
  display: flex; align-items: center; gap: 2.8rem;
  padding-right: 2.8rem; white-space: nowrap;
  animation: scrollMarq 28s linear infinite;
}
.marquee-set span {
  font-family: var(--ff-disp); font-size: .82rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--grey);
  transition: color .3s;
}
.marquee-set span:hover { color: var(--gold); }
.marquee-set em { color: var(--gold); font-style: normal; font-size: .55rem; }
@keyframes scrollMarq { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-bar:hover .marquee-set { animation-play-state: paused; }

/* ════════════════════════════════════════════════════
   ABOUT / MANIFESTO
   ════════════════════════════════════════════════════ */
.about { padding: 12rem 0; position: relative; z-index: 5; }
.about-grid {
  display: grid; grid-template-columns: 220px 1fr; gap: 6rem; align-items: start;
}
.about-left { position: sticky; top: 120px; }
.about-year-badge {
  display: inline-block; margin-top: 2rem;
  font-family: var(--ff-disp); font-size: 1rem; font-weight: 800;
  letter-spacing: .1em; color: var(--gold);
  border: 1px solid rgba(212,175,55,.25); padding: .8rem 1.2rem;
  text-align: center; line-height: 1.2;
}
.manifesto-text {
  font-family: var(--ff-serif); font-size: clamp(1.5rem,2.8vw,2.6rem);
  font-weight: 400; line-height: 1.55; color: rgba(255,255,255,.14);
  margin-bottom: 3.5rem;
}
.manifesto-text strong { font-weight: 500; color: var(--gold); font-style: italic; }
.about-sig { display: flex; align-items: center; gap: 1.2rem; }
.sig-line { width: 55px; height: 1px; background: var(--g-gold-h); }
.about-sig span { font-size: .7rem; letter-spacing: .35em; color: var(--gold); font-weight: 700; }

/* ════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════ */
.stats {
  position: relative; z-index: 5;
  border-top: 1px solid rgba(212,175,55,.07);
  border-bottom: 1px solid rgba(212,175,55,.07);
  background: rgba(5,4,0,.4);
  padding: 5rem 0;
}
.stats-grid {
  display: flex; align-items: center;
  justify-content: space-between;
}
.stat-block { text-align: center; flex: 1; padding: 2rem 1rem; }
.stat-divider { width: 1px; height: 80px; background: rgba(212,175,55,.12); flex-shrink: 0; }
.stat-num {
  font-family: 'Clash Display', 'DM Sans', sans-serif; font-weight: 700;
  font-size: clamp(3rem,5.5vw,5rem); line-height: 1;
  background: var(--g-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: .6rem;
}
.stat-lbl { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); font-weight: 600; }

/* ════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════ */
.services { padding: 10rem 0; position: relative; z-index: 5; }

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

.svc-card {
  background: var(--g-glass);
  border: 1px solid rgba(212,175,55,.08);
  border-radius: 6px; padding: 4rem 3.5rem;
  position: relative; overflow: hidden;
  transition: border-color .4s, box-shadow .4s, transform .4s;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
}
.svc-card:hover {
  border-color: rgba(212,175,55,.28);
  box-shadow: 0 0 60px rgba(212,175,55,.06), 0 40px 80px rgba(0,0,0,.7);
}

.svc-card-wide { grid-column: 1/-1; }
.svc-wide-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }

.svc-card-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(212,175,55,.1) 0%, transparent 55%);
  transition: opacity .5s;
}
.svc-card:hover .svc-card-glow { opacity: 1; }

.svc-num {
  position: absolute; top: 2.5rem; right: 3rem;
  font-family: var(--ff-disp); font-size: 5.5rem; font-weight: 800;
  color: rgba(212,175,55,.05); line-height: 1;
  transition: color .4s;
}
.svc-card:hover .svc-num { color: rgba(212,175,55,.1); }

.svc-icon {
  width: 64px; height: 64px; border-radius: 6px;
  background: linear-gradient(135deg,rgba(212,175,55,.12) 0%,rgba(212,175,55,.02) 100%);
  border: 1px solid rgba(212,175,55,.2); display: flex;
  align-items: center; justify-content: center;
  color: var(--gold-lt); margin-bottom: 2.5rem;
  transition: background .4s, box-shadow .4s;
}
.svc-card:hover .svc-icon { box-shadow: 0 0 24px rgba(212,175,55,.15); }
.svc-icon svg { width: 28px; height: 28px; }

.svc-card h3 {
  font-family: 'Clash Display', 'DM Sans', sans-serif; font-size: clamp(1.45rem,2vw,1.9rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -.015em;
  line-height: 1.1; margin-bottom: 1.2rem; padding-bottom: .05em;
}
.svc-card > p { font-size: .98rem; color: var(--grey-light); line-height: 1.7; font-weight: 300; margin-bottom: 2rem; }
.svc-wide-content > div > p { font-size: .98rem; color: var(--grey-light); line-height: 1.7; font-weight: 300; }

.svc-list { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2.5rem; flex: 1; }
.svc-list-2col { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.svc-list li {
  font-size: .9rem; color: rgba(255,255,255,.7); font-weight: 500;
  display: flex; align-items: center; gap: .7rem;
  transition: color .3s;
}
.svc-card:hover .svc-list li { color: var(--white); }
.svc-list li::before {
  content: ''; display: inline-block; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 6px var(--gold);
}
.svc-link {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: .6rem;
  border-top: 1px solid rgba(255,255,255,.05); padding-top: 2rem; margin-top: auto;
  transition: gap .3s, color .3s;
}
.svc-link span { transition: transform .3s; }
.svc-link:hover { gap: 1rem; color: var(--gold-lt); }
.svc-link:hover span { transform: translateX(4px); }

/* ════════════════════════════════════════════════════
   PORTFOLIO
   ════════════════════════════════════════════════════ */
.portfolio { padding: 8rem 0 10rem; position: relative; z-index: 5; }

/* ─── BENTO GRID ────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 16px;
}

/* Cell span helpers */
.bc-1  { grid-column: span 7; grid-row: span 6; }  /* hero tall-wide */
.bc-2  { grid-column: span 5; grid-row: span 4; }  /* medium right */
.bc-3  { grid-column: span 5; grid-row: span 2; }  /* small right bottom — text stat */
.bc-4  { grid-column: span 4; grid-row: span 5; }  /* medium tall */
.bc-5  { grid-column: span 4; grid-row: span 5; }  /* medium tall */
.bc-6  { grid-column: span 4; grid-row: span 5; }  /* medium tall */
.bc-upload { grid-column: span 12; grid-row: span 2; }  /* upload row */

/* Base card */
.bento-card {
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  background: var(--black-card);
  position: relative;
  transition: border-color .4s, box-shadow .4s, transform .4s;
  will-change: transform;
}
.bento-card:hover {
  border-color: rgba(212,175,55,.28);
  box-shadow: 0 32px 64px rgba(0,0,0,.85), 0 0 0 1px rgba(212,175,55,.08);
  transform: translateY(-3px);
}

/* Image fill */
.bento-card .bc-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out), filter .6s;
  filter: brightness(.78) saturate(.75);
  display: block;
}
.bento-card:hover .bc-img { transform: scale(1.06); filter: brightness(1) saturate(1); }

/* Gradient overlay */
.bento-card .bc-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.92) 100%);
  pointer-events: none;
}

/* Meta text pinned to bottom */
.bento-card .bc-meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.6rem 2rem;
  transform: translateY(4px);
  transition: transform .4s var(--ease-out);
}
.bento-card:hover .bc-meta { transform: translateY(0); }

.bc-cat {
  font-size: .58rem; letter-spacing: .35em; font-weight: 700;
  color: var(--gold); text-transform: uppercase; display: block; margin-bottom: .4rem;
}
.bc-title {
  font-family: 'Clash Display', 'DM Sans', sans-serif;
  font-size: clamp(.95rem, 1.4vw, 1.3rem);
  font-weight: 600; text-transform: uppercase; letter-spacing: -.01em;
  color: var(--white); line-height: 1.15; margin-bottom: .3rem;
}
.bc-desc {
  font-size: .78rem; color: rgba(255,255,255,.52); line-height: 1.5;
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out), opacity .5s;
  opacity: 0;
}
.bento-card:hover .bc-desc { max-height: 60px; opacity: 1; }

/* Top-right arrow badge */
.bc-arrow {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .9rem;
  opacity: 0; transform: scale(.8);
  transition: opacity .35s, transform .35s;
}
.bento-card:hover .bc-arrow { opacity: 1; transform: scale(1); }

/* Stat card (no image) */
.bento-stat-card {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: linear-gradient(135deg, rgba(212,175,55,.06) 0%, rgba(212,175,55,.02) 100%);
  border: 1px solid rgba(212,175,55,.12);
  border-radius: 10px; padding: 2rem;
  text-align: center;
}
.bento-stat-card .bs-num {
  font-family: 'Clash Display', 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 700;
  background: var(--g-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.bento-stat-card .bs-lbl {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--grey); font-weight: 600; margin-top: .4rem;
}

/* Upload strip */
.bento-upload-strip {
  grid-column: span 12; grid-row: span 2;
  border-radius: 10px;
  border: 1.5px dashed rgba(212,175,55,.22);
  background: rgba(212,175,55,.02);
  display: flex; align-items: center; justify-content: center; gap: 1.8rem;
  cursor: pointer; transition: border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.bento-upload-strip:hover { border-color: rgba(212,175,55,.5); background: rgba(212,175,55,.05); }
.bento-upload-strip input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.bup-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.25);
  display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0;
}
.bup-text strong { font-size: .88rem; font-weight: 600; color: var(--white); display: block; margin-bottom: .2rem; }
.bup-text span { font-size: .72rem; color: var(--grey); }

/* Preview items added dynamically */
.bento-preview { position: relative; }
.bento-preview .bp-remove {
  position: absolute; top: .6rem; right: .6rem;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,.75); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: background .3s;
}
.bento-preview .bp-remove:hover { background: rgba(180,30,30,.85); }

/* ════════════════════════════════════════════════════
   PROCESS — HORIZONTAL SCROLL
   ════════════════════════════════════════════════════ */
.process { position: relative; z-index: 5; background: var(--black-mid); }
.process-pin { height: 100vh; overflow: hidden; display: flex; align-items: center; }
.process-track {
  display: flex; align-items: center;
  padding-left: 8%; padding-right: 8%; gap: 4vw;
  height: 100%; flex-shrink: 0;
}

.process-slide {
  flex-shrink: 0; width: 420px; height: 500px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3.5rem; border-radius: 8px;
  background: linear-gradient(135deg,rgba(18,18,18,.96) 0%,rgba(8,8,8,.98) 100%);
  border: 1px solid rgba(212,175,55,.08);
  box-shadow: 0 30px 60px rgba(0,0,0,.75);
  position: relative;
  transition: border-color .4s, transform .4s;
}
.process-slide:hover { border-color: rgba(212,175,55,.28); transform: translateY(-8px); }

.intro-slide {
  width: 500px; background: transparent; border: none; box-shadow: none; padding-left: 0;
}
.intro-slide:hover { transform: none; }

.process-title {
  font-family: var(--ff-disp); font-weight: 800;
  font-size: clamp(2.4rem,3.8vw,3.8rem);
  text-transform: uppercase; line-height: .92; margin-bottom: 1.2rem;
}
.process-intro-desc { font-size: .98rem; color: var(--grey-light); line-height: 1.7; font-weight: 300; margin-bottom: 2.5rem; }

/* Progress dots */
.process-dots { display: flex; gap: .5rem; }
.pdot { width: 28px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; transition: background .3s, width .3s; }
.pdot-active { background: var(--g-gold-h); width: 46px; }

.step-badge {
  position: absolute; top: 2.5rem; right: 2.5rem;
  font-size: .62rem; letter-spacing: .3em; color: var(--gold); font-weight: 700; opacity: .7;
}
.step-num {
  font-family: var(--ff-disp); font-weight: 800; font-size: 5.5rem; line-height: 1;
  background: var(--g-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 1.5rem; opacity: .85;
}
.process-slide h3 {
  font-family: var(--ff-disp); font-size: 1.6rem; text-transform: uppercase;
  font-weight: 700; margin-bottom: 1rem; letter-spacing: -.01em;
}
.process-slide > p { font-size: .92rem; color: var(--grey-light); line-height: 1.7; font-weight: 300; margin-bottom: 2rem; }
.step-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.step-tags span {
  font-size: .62rem; letter-spacing: .15em; font-weight: 700; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(212,175,55,.28);
  padding: .28rem .65rem; border-radius: 2px;
}

/* ════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════ */
.testimonials { padding: 10rem 0; position: relative; z-index: 5; overflow: hidden; }
.testi-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 600px;
  background: radial-gradient(circle,rgba(212,175,55,.04) 0%,transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.testi-wrap { max-width: 820px; margin: 4rem auto 0; overflow: hidden; }
.testi-track { display: flex; transition: transform .65s var(--ease-out); }
.testi-card {
  flex: 0 0 100%;
  background: var(--g-glass); border: 1px solid rgba(212,175,55,.1);
  border-radius: 6px; padding: 3.5rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.tq { font-family: Georgia,serif; font-size: 4rem; line-height: 1; color: var(--gold); opacity: .25; margin-bottom: 1.2rem; }
.testi-card > p {
  font-family: var(--ff-serif); font-size: clamp(1.1rem,1.9vw,1.45rem);
  font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.88); font-style: italic; margin-bottom: 2.5rem;
}
.testi-foot { display: flex; align-items: center; gap: 1.2rem; }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%; background: var(--g-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: #000; flex-shrink: 0;
}
.testi-foot div:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.testi-foot strong { font-size: .9rem; color: var(--white); }
.testi-foot span { font-size: .75rem; color: var(--grey); }
.testi-stars { color: var(--gold); font-size: .82rem; letter-spacing: .05em; }

.testi-nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.tnav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(212,175,55,.22) !important; font-size: 1.4rem;
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s;
}
.tnav-btn:hover { background: rgba(212,175,55,.1); border-color: var(--gold) !important; }
.testi-pg { display: flex; gap: .5rem; }
.tpg { width: 22px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; transition: width .3s, background .3s; }
.tpg-active { width: 42px; background: var(--g-gold-h); }

/* ════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════ */
.contact { padding: 10rem 0; position: relative; z-index: 5; overflow: hidden; }
.contact-glow-a {
  position: absolute; bottom: -100px; right: 3%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle,rgba(212,175,55,.07) 0%,transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.contact-glow-b {
  position: absolute; top: 0; left: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle,rgba(212,175,55,.04) 0%,transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8rem; align-items: start; }
.contact-lead { font-size: clamp(.95rem,1.4vw,1.2rem); color: var(--grey-light); line-height: 1.75; font-weight: 300; margin-top: 1.5rem; margin-bottom: 3rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.8rem; margin-bottom: 3rem; }
.cd-item { display: flex; align-items: flex-start; gap: 1rem; }
.cd-icon { font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }
.cd-item > div { display: flex; flex-direction: column; gap: .3rem; }
.cd-label { font-size: .65rem; letter-spacing: .3em; color: var(--gold); font-weight: 700; }
.cd-val { font-size: .95rem; font-weight: 500; }
.social-row { display: flex; gap: 1rem; }
.soc-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(212,175,55,.2) !important;
  font-size: .68rem; font-weight: 700; color: var(--grey);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, color .3s, transform .3s;
}
.soc-btn:hover { border-color: var(--gold) !important; color: var(--gold); transform: translateY(-3px); }

/* Form */
.contact-form-wrap {
  background: var(--g-glass); border: 1px solid rgba(212,175,55,.1);
  border-radius: 6px; padding: 4rem 3.5rem;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 50px rgba(212,175,55,.04);
}
.form-badge-row { margin-bottom: 2.8rem; }
.form-badge-tag {
  font-size: .66rem; letter-spacing: .35em; color: var(--gold); font-weight: 700;
  border: 1px solid rgba(212,175,55,.28); padding: .38rem .85rem; border-radius: 2px;
}
#contact-form { display: flex; flex-direction: column; gap: 1.8rem; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.fg { display: flex; flex-direction: column; gap: .55rem; position: relative; }
.fg label { font-size: .65rem; letter-spacing: .28em; font-weight: 700; color: rgba(255,255,255,.28); text-transform: uppercase; transition: color .3s; }
.fg:focus-within label { color: var(--gold); }
.fg input, .fg select, .fg textarea {
  background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .85rem 0; color: var(--white); font-family: var(--ff-body); font-size: .92rem;
  font-weight: 400; outline: none; width: 100%; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.fg select { cursor: none; }
.fg textarea { resize: vertical; min-height: 90px; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.2); font-size: .88rem; }
.fg select option { background: #0c0c0c; }
.f-line {
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--g-gold-h);
  transition: width .45s var(--ease-out);
}
.fg:focus-within .f-line { width: 100%; }

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, #050505 0%, #020202 100%);
  position: relative;
  z-index: 5;
  padding: 6rem 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
}
.footer-gold-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--g-gold-h);
  opacity: 0.25;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ft-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}
.ft-brand-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.ft-mark {
  width: 36px;
  height: auto;
  flex-shrink: 0;
}
.ft-logo {
  font-family: var(--ff-disp);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
}
.ft-tag {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.ft-copy {
  font-size: 0.72rem;
  color: var(--grey);
  line-height: 1.6;
  max-width: 260px;
}
.ft-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.ft-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  position: relative;
  display: inline-block;
}
.ft-col-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.ft-links-col a {
  font-size: 0.85rem;
  color: var(--grey-light);
  transition: color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
}
.ft-links-col a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}
.footer-bottom {
  padding: 2.2rem 0;
  background: #010101;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom-inner span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════
   ANIMATIONS / STATES
   ════════════════════════════════════════════════════ */
/* Words in manifesto that get revealed via GSAP */
.mword { display: inline; }
.mword.lit { color: var(--white); }
.mword.lit.gold { background: var(--g-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Skew during fast scroll (GSAP) */
.svc-card, .port-item, .process-slide, .testi-card { will-change: transform; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-card-wide { grid-column: 1; }
  .svc-wide-content { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .port-item:last-child { grid-column: 1/-1; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-left { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(3,3,3,.97); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem; gap: 1.5rem; align-items: center;
    border-bottom: 1px solid rgba(212,175,55,.08);
  }
  .nav-links.open { display: flex; animation: navDown .35s var(--ease-out) forwards; }
  @keyframes navDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
  .hamburger { display: flex; }
  .hero-sub-row { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-wrap: wrap; }
  .rot-badge { display: none; }
  .stats-grid { flex-wrap: wrap; gap: 0; }
  .stat-block { flex: 0 0 50%; }
  .stat-divider { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .port-item:last-child { grid-column: 1; }
  .process-slide { width: 320px; height: 460px; }
  .intro-slide { width: 320px; }
  .form-2col { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 2.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 2rem; }
}
@media (max-width: 480px) {
  .stat-block { flex: 0 0 100%; }
  .hero-heading { font-size: clamp(3rem,12vw,5rem); }
  .svc-card { padding: 2.5rem 2rem; }
}

/* ════════════════════════════════════════════════════
   PARTICLE MORPH SCROLL INDICATORS
   ════════════════════════════════════════════════════ */

/* Floating particle state label — bottom-left of canvas */
#particle-label {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  opacity: 0;
  transition: opacity .6s ease;
}
#particle-label.visible { opacity: 1; }
#particle-label-text {
  font-family: var(--ff-body);
  font-size: .6rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: rgba(212,175,55,.55);
  white-space: nowrap;
}
#particle-label-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: .5;
  animation: labelPulse 2s ease-in-out infinite;
}
@keyframes labelPulse { 0%,100%{opacity:.3;transform:scale(1)} 50%{opacity:.9;transform:scale(1.5)} }

/* Canvas background shifts subtly with scroll state */
#webgl-canvas {
  background: radial-gradient(ellipse at 60% 30%, #100a00 0%, #020202 60%);
  transition: background 1.8s ease;
}

/* ─── Scroll progress bar (thin gold line at top) ─── */
#scroll-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--g-gold-h);
  z-index: 99999;
  pointer-events: none;
  transition: width .05s linear;
  box-shadow: 0 0 8px rgba(212,175,55,.6);
}

/* ───────────────────────────────────────────────────
   SUBPAGE STYLING (About, Services, Portfolio, Process, Contact)
   ─────────────────────────────────────────────────── */
.sub-page-hero {
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
  z-index: 5;
  text-align: center;
}
.page-title-main {
  font-family: var(--ff-disp);
  font-weight: 700;
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: 0.95;
  margin-top: 1rem;
}
.page-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.25rem);
  color: var(--grey-light);
  font-weight: 300;
  max-width: 600px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

/* Glass panel */
.glass-panel {
  background: var(--g-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 5;
  margin-bottom: 5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.glass-panel-accent {
  border-color: rgba(212, 175, 55, 0.15);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.03);
}

/* Zaha Conglomerate Section styling */
.zaha-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-lt);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.zaha-logo-inline {
  font-family: var(--ff-disp);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
}
.zaha-logo-inline span {
  color: var(--gold);
}

/* Detailed Services page layouts */
.detailed-services-section {
  padding: 4rem 0 8rem;
  position: relative;
  z-index: 5;
}
.service-detail-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 8rem;
}
.service-detail-block:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}
.service-detail-block:nth-child(even) .service-detail-info {
  order: 2;
}
.service-detail-info h2 {
  font-family: var(--ff-disp);
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 1rem 0 1.8rem;
}
.service-detail-text {
  font-size: 1.05rem;
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 2.2rem;
}
.service-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.service-detail-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 500;
}
.service-detail-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.service-detail-image-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 4/3;
  background: var(--black-mid);
}
.service-detail-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.service-detail-image-wrap:hover img {
  transform: scale(1.05);
}

/* Timeline */
.timeline-container {
  position: relative;
  padding: 3rem 0;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(212, 175, 55, 0.15);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
  position: relative;
}
.timeline-item:nth-child(even) .timeline-content-wrap {
  grid-column: 2;
  text-align: left;
}
.timeline-item:nth-child(even) .timeline-date-wrap {
  grid-column: 1;
  text-align: right;
  order: -1;
}
.timeline-content-wrap {
  text-align: right;
}
.timeline-item:nth-child(even) .timeline-content-wrap {
  text-align: left;
}
.timeline-date-wrap {
  font-family: var(--ff-disp);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 3px solid var(--black);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 10px var(--gold-glow);
}
.timeline-content h3 {
  font-family: var(--ff-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timeline-content p {
  color: var(--grey-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.team-card {
  background: rgba(13, 13, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 2.2rem;
  text-align: center;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.2);
}
.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f1f1f 0%, #0d0d0d 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-disp);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-lt);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.team-card h3 {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--grey-light);
  line-height: 1.6;
}

/* Office Locations Section */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 5rem;
}
.office-card {
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 2.5rem;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.office-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.2);
}
.office-city {
  font-family: var(--ff-disp);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.office-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.office-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--grey-light);
}
.office-icon {
  color: var(--gold);
  flex-shrink: 0;
}
.office-item strong {
  display: block;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* Page layouts media queries */
@media (max-width: 992px) {
  .service-detail-block {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }
  .service-detail-block:nth-child(even) .service-detail-info {
    order: 0;
  }
  .team-grid, .office-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-container::before {
    left: 20px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 45px;
    margin-bottom: 3rem;
  }
  .timeline-item:nth-child(even) .timeline-content-wrap,
  .timeline-content-wrap {
    grid-column: 1;
    text-align: left;
  }
  .timeline-item:nth-child(even) .timeline-date-wrap,
  .timeline-date-wrap {
    grid-column: 1;
    text-align: left;
    order: -1;
    font-size: 2.2rem;
  }
  .timeline-dot {
    left: 20px;
  }
}

