/* ============================================================
   GCC Advanced Contracting — Cinematic dark theme, gold accents
   ============================================================ */

:root {
  /* Brand */
  --gold: #F5B82E;
  --gold-soft: #FFD66E;
  --gold-deep: #C8901A;

  /* Dark theme tokens (default) */
  --ink: #0A0A0F;
  --ink-2: #11121A;
  --ink-3: #181A24;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #EEEFF2;
  --text-dim: #9C9FAB;
  --text-mute: #6E7180;
  --shadow: rgba(0, 0, 0, .55);
  --veil-grad-1: rgba(10,10,15,.6);
  --veil-grad-2: rgba(10,10,15,.55);
  --veil-grad-3: rgba(10,10,15,.85);
  --veil-grad-4: rgba(10,10,15,.7);

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --font-sans: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Archivo', 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Light theme tokens */
html[data-theme="light"] {
  --ink: #F5F4EE;
  --ink-2: #ECEAE0;
  --ink-3: #E0DDD0;
  --line: rgba(20, 18, 10, 0.10);
  --line-2: rgba(20, 18, 10, 0.18);
  --text: #1A1B22;
  --text-dim: #4A4D58;
  --text-mute: #7A7D88;
  --shadow: rgba(60, 50, 20, .15);
  --veil-grad-1: rgba(245,244,238,.45);
  --veil-grad-2: rgba(245,244,238,.30);
  --veil-grad-3: rgba(245,244,238,.85);
  --veil-grad-4: rgba(245,244,238,.65);
}

/* Light mode specific tweaks */
html[data-theme="light"] body { color: var(--text); }
html[data-theme="light"] .marquee::before {
  background-image: url('assets/texture-light-gold.jpg');
  opacity: .25;
}
html[data-theme="light"] .approach::before {
  background-image: url('assets/texture-light-gold.jpg');
  opacity: .35;
}
html[data-theme="light"] .g-item img {
  filter: brightness(.95) saturate(1.05);
}
html[data-theme="light"] .about__image-wrap img { filter: contrast(1.02); }
html[data-theme="light"] .marquee__track span:not(:nth-child(even)) {
  -webkit-text-stroke: 1px var(--gold-deep);
}
html[data-theme="light"] .map .leaflet-container { background: var(--ink) !important; }
html[data-theme="light"] .nav__brand-title,
html[data-theme="light"] .footer__brand strong { color: var(--text); }
html[data-theme="light"] .ceo__sign span,
html[data-theme="light"] .nav__brand-sub { color: var(--text-mute); }
html[data-theme="light"] .cursor { border-color: rgba(0,0,0,.5); }
html[data-theme="light"] .cursor.is-hover { background: rgba(245,184,46,.22); }
html[data-theme="light"] .cursor-dot { background: var(--ink); }

/* Smooth theme transition */
html, body, .nav, .marquee, .about, .ceo, .values, .services, .journey, .portfolio, .approach, .contact, .footer,
.vcard, .ccard, .contact__form, .field input, .field textarea, .field select,
.strip, .map, .map__card, .map__legend, .lightbox, .mobile-menu,
.section-title, .lede, .pillar p, .vcard p, .stage__copy p, .service__desc, .ceo__quote p, .map__addr,
.eyebrow, .stage__no, .service__num, .nav__brand-sub, .nav__links a, .footer__nav a, .pillar__num,
.field label, .stage__tags li, .footer__bottom, .approach__list li, .nav__brand-title, .approach__k,
.about__badge, .ccard strong, .ccard p, .contact__form h3, .footer__credit, .footer__credit-name,
.btn--ghost, .vlist li, .vlist li strong, .service__title, .pillar h4, .vcard h3,
.stage__copy h3, .map__card-head, .leaflet-container, .leaflet-popup-content-wrapper, .leaflet-popup-tip {
  transition:
    background-color .6s var(--ease),
    color .6s var(--ease),
    border-color .6s var(--ease),
    fill .6s var(--ease),
    stroke .6s var(--ease),
    box-shadow .6s var(--ease);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; color: var(--gold); }
.loader__mark { width: 64px; height: 64px; animation: spinSlow 3s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.loader__bar { width: 220px; height: 2px; margin: 28px auto 14px; background: rgba(245,184,46,.15); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: loadbar 1.6s var(--ease) infinite; }
@keyframes loadbar { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); transform-origin: left; } 60.01% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.loader__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--text-mute); }

/* ============================================================
   Cursor
   ============================================================ */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 150;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.7);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.cursor-dot {
  width: 4px; height: 4px;
  background: #fff;
}
.cursor.is-hover { width: 56px; height: 56px; background: rgba(245,184,46,.18); border-color: var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } body { cursor: auto; } }
body { cursor: none; }

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 140;
  transition: width .1s linear;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad);
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--ink) 80%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 12px var(--pad);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 36px; height: auto; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-title { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.nav__brand-sub { font-family: var(--font-mono); font-size: 10px; color: var(--text-mute); letter-spacing: .14em; margin-top: 4px; text-transform: uppercase; }

.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: var(--text-dim);
  position: relative;
  transition: color .25s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  transition: background .25s ease, color .25s ease, transform .3s var(--ease);
}
.nav__cta:hover { background: var(--gold); color: var(--ink); }
.nav__cta svg { transition: transform .3s var(--ease); }
.nav__cta:hover svg { transform: translateX(4px); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; gap: 6px; justify-content: center; align-items: center;
}
.nav__burger span {
  display: block; width: 22px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease), opacity .25s ease;
}
.nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 99;
  background: color-mix(in srgb, var(--ink) 95%, transparent);
  backdrop-filter: blur(20px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 18px; text-align: center; }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(28px, 7vw, 44px);
  font-weight: 700; color: var(--text);
  transform: translateY(20px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s ease;
}
.mobile-menu.is-open a { transform: translateY(0); opacity: 1; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .2s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: .38s; }
.mobile-menu__cta { color: var(--gold) !important; }

/* ============================================================
   Shared utilities
   ============================================================ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
  color: var(--text-mute); text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,184,46,.18);
  animation: pulse 2.2s ease-in-out infinite;
}
.eyebrow--light { color: rgba(255,255,255,.75); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245,184,46,.16); }
  50% { box-shadow: 0 0 0 8px rgba(245,184,46,.04); }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 28px;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title--sm { font-size: clamp(28px, 4vw, 44px); }
.section-title .dot { color: var(--gold); }

.lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 24px;
  max-width: 60ch;
}

/* Reveal animations */
.reveal-text { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-text.is-visible { opacity: 1; transform: translateY(0); }
.reveal-img {
  position: relative; overflow: hidden;
}
.reveal-img > * {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease-out), transform 1.6s var(--ease-out);
  transform: scale(1.15);
}
.reveal-img.is-visible > * {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .03em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease, color .35s ease;
  position: relative; overflow: hidden;
}
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(245,184,46,.55); transform: translateY(-2px); }
.btn--primary svg { transition: transform .35s var(--ease); }
.btn--primary:hover svg { transform: translateX(6px); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: var(--text); }
.btn--block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--pad) 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero__slides {
  position: absolute; inset: 0;
  --mx: 0; --my: 0;
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -22px), 0);
  transition: transform .4s var(--ease-out);
}
.hero__slide {
  position: absolute; inset: -3%;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(245,184,46,.10), transparent 60%),
    linear-gradient(180deg, var(--veil-grad-1) 0%, var(--veil-grad-2) 40%, var(--veil-grad-3) 90%, var(--ink) 100%),
    linear-gradient(90deg, var(--veil-grad-4), transparent 60%);
}
.grain {
  position: absolute; inset: -20%;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(4) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(2%, -1%); }
  75% { transform: translate(-1%, -2%); }
}

.hero__grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  pointer-events: none; z-index: -1;
}
.hero__grid span { border-left: 1px solid rgba(255,255,255,.04); }
.hero__grid span:first-child { border-left: none; }

.hero__content {
  max-width: 1280px;
  position: relative; z-index: 1;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 18px 0 36px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  opacity: 0;
  transition: transform 1.1s var(--ease-out), opacity .8s ease;
}
.is-loaded .hero__title .word { transform: translateY(0) rotate(0); opacity: 1; }
.hero__title .line:nth-child(1) .word { transition-delay: .1s; }
.hero__title .line:nth-child(2) .word { transition-delay: .22s; }
.hero__title .line:nth-child(3) .word { transition-delay: .34s; }
.hero__title .line:nth-child(4) .word { transition-delay: .46s; }
.hero__title .word--accent {
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title .word--italic { font-style: italic; font-weight: 600; }

.hero__lede {
  max-width: 56ch;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--text-dim);
  margin: 0 0 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease .8s, transform .8s var(--ease-out) .8s;
}
.is-loaded .hero__lede { opacity: 1; transform: translateY(0); }

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease 1s, transform .8s var(--ease-out) 1s;
}
.is-loaded .hero__actions { opacity: 1; transform: translateY(0); }

.hero__scroll {
  position: absolute; left: var(--pad); bottom: 38px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em;
  color: var(--text-dim); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transition: opacity .6s ease 1.4s;
}
.is-loaded .hero__scroll { opacity: 1; }
.hero__scroll-line { width: 1px; height: 50px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.hero__scroll-line span {
  position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: translateY(0); } 100% { transform: translateY(300%); } }

.hero__meta {
  position: absolute; right: var(--pad); bottom: 38px;
  display: flex; gap: clamp(20px, 4vw, 56px);
  opacity: 0; transition: opacity .6s ease 1.5s;
}
.is-loaded .hero__meta { opacity: 1; }
.hero__meta > div { display: flex; flex-direction: column; align-items: flex-end; }
.hero__meta-num {
  font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px);
  font-weight: 700; color: var(--text); line-height: 1;
}
.hero__meta-plus { color: var(--gold); font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); font-weight: 700; margin-left: 2px; }
.hero__meta-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--text-mute); margin-top: 8px; text-transform: uppercase; }

.hero__slide-indicators {
  position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 2;
  opacity: 0; transition: opacity .6s ease 1.6s;
}
.is-loaded .hero__slide-indicators { opacity: 1; }
.hero__slide-indicators button {
  width: 28px; height: 1px; background: rgba(255,255,255,.25);
  transition: background .3s ease, width .3s ease;
  padding: 0;
}
.hero__slide-indicators button.is-active { background: var(--gold); width: 44px; }

@media (max-width: 760px) {
  .hero__scroll, .hero__slide-indicators { display: none; }
  .hero__meta {
    position: static;
    margin-top: 50px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 28px;
    flex-wrap: wrap;
  }
  .hero__meta > div { align-items: flex-start; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
  isolation: isolate;
}
.marquee::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: url('assets/texture-dark-gold.jpg');
  background-size: cover; background-position: center;
  opacity: .35; filter: blur(1px);
}
.marquee::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 12%, transparent 88%, var(--ink) 100%);
}
.marquee__track {
  display: flex; gap: 40px; align-items: center;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -.01em;
  color: var(--text);
  -webkit-text-stroke: 1px var(--gold);
  color: transparent;
}
.marquee__track span:nth-child(even) {
  -webkit-text-stroke: 0;
  color: var(--gold);
}
.marquee__track i {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid var(--gold); transform: rotate(45deg);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: clamp(80px, 12vw, 160px) 0;
  background:
    radial-gradient(80% 50% at 80% 20%, rgba(245,184,46,.05), transparent 50%),
    var(--ink);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}
.about__image { position: relative; }
.about__image-wrap {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
}
.about__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.05);
}
.about__badge {
  position: absolute; right: -24px; bottom: -28px;
  width: 150px; height: 150px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  color: var(--gold);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  line-height: 1.4;
  animation: spinSlow 24s linear infinite;
}
.about__badge svg { width: 38px; height: 38px; position: absolute; top: 14px; }
.about__badge span { margin-top: 38px; text-transform: uppercase; color: var(--text); }

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__badge { right: 20px; bottom: -40px; width: 120px; height: 120px; }
}

.about__pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.pillar__num {
  font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: .2em; margin-bottom: 10px;
}
.pillar h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.pillar p { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; margin: 0; }
@media (max-width: 640px) { .about__pillars { grid-template-columns: 1fr; } }

/* ============================================================
   CEO
   ============================================================ */
.ceo {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.ceo__grid {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.ceo__quote { position: relative; padding-left: 80px; }
.ceo__mark {
  position: absolute; left: 0; top: -10px;
  width: 60px; height: 50px;
  color: var(--gold);
}
.ceo__quote p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.45;
  margin: 0 0 32px;
  color: var(--text);
}
.ceo__quote p em { color: var(--gold); font-style: italic; }
.ceo__sign { display: flex; flex-direction: column; gap: 4px; }
.ceo__sign strong { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.ceo__sign span { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: .1em; }
@media (max-width: 880px) {
  .ceo__grid { grid-template-columns: 1fr; }
  .ceo__quote { padding-left: 0; padding-top: 70px; }
  .ceo__mark { left: 0; top: 0; }
}

/* ============================================================
   VALUES
   ============================================================ */
.values { padding: clamp(80px, 12vw, 160px) 0; }
.values__head { max-width: 700px; margin-bottom: 64px; }
.values__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vcard {
  position: relative;
  padding: 36px 30px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 380px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s ease, background .5s ease;
  overflow: hidden;
}
.vcard::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 100% 0%, rgba(245,184,46,.16), transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
}
.vcard:hover { transform: translateY(-6px); border-color: var(--gold); }
.vcard:hover::before { opacity: 1; }
.vcard__num { font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing: .2em; margin-bottom: 28px; }
.vcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; margin: 0 0 20px; letter-spacing: -.01em; }
.vcard p { color: var(--text-dim); margin: 0; font-size: 14.5px; line-height: 1.6; }
.vlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.vlist li { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; padding-left: 22px; position: relative; }
.vlist li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 1px; background: var(--gold); }
.vlist li strong { color: var(--text); font-weight: 600; }

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

/* ============================================================
   SERVICES (interactive list)
   ============================================================ */
.services {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.services__head {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.services__intro p { color: var(--text-dim); margin: 0; }
@media (max-width: 880px) {
  .services__head { grid-template-columns: 1fr; gap: 16px; }
}

.services__list {
  position: relative;
}
.service {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr auto 60px;
  gap: 28px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding .4s var(--ease);
}
.service:last-of-type { border-bottom: 1px solid var(--line); }
.service__num {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); letter-spacing: .2em;
  transition: color .4s ease;
}
.service__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 36px);
  margin: 0; line-height: 1.1;
  transition: transform .5s var(--ease), color .4s ease;
}
.service__desc {
  font-size: 14px; color: var(--text-dim); margin: 0;
  max-width: 36ch;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .4s ease, transform .4s var(--ease);
}
.service__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  transition: background .4s ease, color .4s ease, border-color .4s ease, transform .5s var(--ease);
}

.service:hover .service__num { color: var(--gold); }
.service:hover .service__title { transform: translateX(10px); color: var(--gold); }
.service:hover .service__desc { opacity: 1; transform: translateX(0); }
.service:hover .service__arrow { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(-45deg) scale(1.08); }

@media (max-width: 880px) {
  .service { grid-template-columns: 60px 1fr 50px; gap: 16px; padding: 24px 0; }
  .service__desc { display: none; }
  .service__arrow { width: 44px; height: 44px; }
}

.service__preview {
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 220px;
  pointer-events: none;
  z-index: 80;
  background-size: cover; background-position: center;
  border-radius: 6px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.9);
  transition: opacity .3s ease, transform .35s var(--ease);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.service__preview.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .service__preview { display: none; } }

/* ============================================================
   JOURNEY (stages)
   ============================================================ */
.journey {
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 10vw, 120px);
  background: var(--ink);
}
.journey__head { max-width: 720px; margin-bottom: 80px; }

.journey__rail {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.journey__rail::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}
.journey__progress {
  position: absolute; left: 50%; top: 0;
  width: 1px; height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--gold-soft));
  transform: translateX(-50%);
  transition: height .15s linear;
  box-shadow: 0 0 12px rgba(245,184,46,.6);
}

.stage {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.stage:last-child { margin-bottom: 0; }
.stage::before {
  content: ''; position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  border: 2px solid var(--gold);
  background: var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: background .5s ease, transform .5s var(--ease);
}
.stage.is-visible::before { background: var(--gold); transform: translate(-50%, -50%) scale(1.4); }

.stage__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .9s ease, transform .9s var(--ease-out);
}
.stage__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.stage__media:hover img { transform: scale(1.06); }

.stage__copy {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .9s ease .15s, transform .9s var(--ease-out) .15s;
}
.stage__no { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: .22em; }
.stage__copy h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 48px); margin: 12px 0 16px; letter-spacing: -.015em; }
.stage__copy p { color: var(--text-dim); margin: 0 0 24px; line-height: 1.6; }
.stage__tags { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.stage__tags li {
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 12px; border: 1px solid var(--line-2);
  border-radius: 999px; color: var(--text-dim); letter-spacing: .04em;
}

.stage.is-visible .stage__media,
.stage.is-visible .stage__copy { opacity: 1; transform: translateX(0); }

.stage--alt .stage__media { order: 2; transform: translateX(40px); }
.stage--alt .stage__copy { order: 1; transform: translateX(-40px); text-align: right; }
.stage--alt .stage__tags { justify-content: flex-end; }
.stage--alt.is-visible .stage__media,
.stage--alt.is-visible .stage__copy { transform: translateX(0); }

@media (max-width: 880px) {
  .journey__rail::before, .journey__progress { left: 22px; }
  .stage { grid-template-columns: 1fr; gap: 24px; padding-left: 50px; margin-bottom: 60px; }
  .stage::before { left: 22px; top: 30px; }
  .stage--alt .stage__media { order: 1; }
  .stage--alt .stage__copy { order: 2; text-align: left; }
  .stage--alt .stage__tags { justify-content: flex-start; }
  .stage__media, .stage__copy,
  .stage--alt .stage__media, .stage--alt .stage__copy {
    transform: translateY(30px);
  }
  .stage.is-visible .stage__media,
  .stage.is-visible .stage__copy,
  .stage--alt.is-visible .stage__media,
  .stage--alt.is-visible .stage__copy { transform: translateY(0); }
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.portfolio__head { margin-bottom: 56px; }
.portfolio__head-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }

.portfolio__filters { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; background: var(--ink); border: 1px solid var(--line); border-radius: 999px; }
.portfolio__filters button {
  padding: 9px 18px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
  color: var(--text-dim);
  transition: background .3s ease, color .3s ease;
}
.portfolio__filters button:hover { color: var(--text); }
.portfolio__filters button.is-active { background: var(--gold); color: var(--ink); font-weight: 600; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--ink);
  transition: opacity .4s ease, transform .4s ease;
}
.g-item.is-hidden { display: none; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter .5s ease;
  filter: brightness(.85) saturate(1.05);
}
.g-item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.15); }
.g-item--lg { grid-column: span 2; grid-row: span 2; }
.g-item--tall { grid-row: span 2; }

.g-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 95%, transparent));
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.g-item:hover .g-item__cap { transform: translateY(0); }
.g-item__cap span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.g-item__cap h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 4px 0 0; color: #fff; }

@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-item--lg { grid-column: span 2; grid-row: span 2; }
  .g-item--tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .g-item--lg { grid-column: span 1; grid-row: span 1; }
}

/* ============================================================
   SAFETY
   ============================================================ */
.safety {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0;
  isolation: isolate;
  overflow: hidden;
}
.safety__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.1);
  filter: grayscale(.6) contrast(1.1);
}
.safety__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(245,184,46,.10), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 92%, transparent), color-mix(in srgb, var(--ink) 95%, transparent));
}
.safety__inner { max-width: 820px; }
.safety__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.safety__stats > div span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.safety__stats > div em {
  font-style: normal;
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 10px;
}
@media (max-width: 700px) { .safety__stats { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--ink);
}
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact__cards { display: grid; gap: 14px; margin-top: 36px; }
.ccard {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.ccard:hover { border-color: var(--gold); background: var(--ink-2); transform: translateY(-2px); }
.ccard__ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(245,184,46,.10);
  color: var(--gold);
}
.ccard strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ccard p { font-size: 13.5px; color: var(--text-dim); margin: 0; line-height: 1.5; }

.contact__form {
  padding: 36px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.contact__form h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin: 0 0 28px; letter-spacing: -.01em; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--ink-3);
}
.field textarea { resize: vertical; min-height: 110px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--gold); margin: 14px 0 0; min-height: 18px; }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
}

/* ============================================================
   MAP
   ============================================================ */
.mapwrap {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  isolation: isolate;
}
.mapwrap__head {
  display: flex; align-items: end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px;
}
.mapwrap__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1; letter-spacing: -.02em;
  margin: 8px 0 0;
}
.mapwrap__title em {
  font-style: italic; color: var(--gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.map {
  position: relative;
  height: clamp(360px, 50vh, 520px);
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  z-index: 0;
}
.map .leaflet-container {
  background: #0a0a0f !important;
  font-family: var(--font-mono) !important;
}
.map .leaflet-control-attribution {
  background: rgba(10,10,15,.7) !important;
  color: var(--text-mute) !important;
  font-size: 10px !important;
  border-top: 1px solid var(--line);
  padding: 4px 10px !important;
}
.map .leaflet-control-attribution a {
  color: var(--text-dim) !important;
}
.map .leaflet-control-zoom a {
  background: rgba(10,10,15,.85) !important;
  color: var(--text) !important;
  border: 1px solid var(--line-2) !important;
  border-radius: 0 !important;
  transition: background .25s ease, color .25s ease;
}
.map .leaflet-control-zoom a:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
  border-color: var(--gold) !important;
}
.map .leaflet-bar {
  border: none !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.5) !important;
}

/* Custom gold marker with pulse */
.gcc-pin {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(245,184,46,.35), 0 8px 20px rgba(0,0,0,.5);
  position: relative;
}
.gcc-pin::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .4;
  animation: pinPulse 2.4s ease-out infinite;
}
.gcc-pin::after {
  content: ''; position: absolute; inset: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: .9;
}
@keyframes pinPulse {
  0%   { transform: scale(.6); opacity: .55; }
  100% { transform: scale(2.6); opacity: 0; }
}
.leaflet-marker-icon.gcc-marker {
  background: transparent !important;
  border: none !important;
}
.leaflet-popup-content-wrapper {
  background: var(--ink-2) !important;
  color: var(--text) !important;
  border: 1px solid var(--gold) !important;
  border-radius: 4px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.6) !important;
  font-family: var(--font-sans) !important;
}
.leaflet-popup-content {
  margin: 14px 18px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.leaflet-popup-content strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.leaflet-popup-tip { background: var(--ink-2) !important; }
.leaflet-popup-close-button { color: var(--text-dim) !important; }

/* Floating address card */
.map__card {
  position: absolute;
  top: 26px; left: 26px;
  z-index: 2;
  width: min(330px, calc(100% - 52px));
  padding: 22px 24px;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--text);
}
.map__card-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.map__card-head svg { flex-shrink: 0; }
.map__addr {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 18px;
}
.map__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.map__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  transition: background .25s ease, transform .3s var(--ease);
}
.map__btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
.map__btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.map__btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold); }

.map__legend {
  position: absolute;
  bottom: 26px; right: 26px;
  z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim); letter-spacing: .18em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--ink) 60%, transparent);
  padding: 8px 14px;
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

@media (max-width: 700px) {
  .map__card { top: 14px; left: 14px; padding: 16px 18px; }
  .map__legend { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 30px;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand img { width: 40px; }
.footer__brand strong { display: block; font-family: var(--font-display); font-size: 16px; }
.footer__brand span { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: .14em; text-transform: uppercase; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a { font-size: 13px; color: var(--text-dim); transition: color .25s ease; }
.footer__nav a:hover { color: var(--gold); }
.footer__line { height: 1px; background: var(--line); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: .1em;
}
.footer__tag { color: var(--gold); }

/* B-Smart credit */
.footer__credit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .35s ease, background .35s ease, transform .35s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}
.footer__credit::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(245,184,46,.18), transparent);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.footer__credit:hover { border-color: var(--gold); transform: translateY(-2px); }
.footer__credit:hover::before { transform: translateX(100%); }
.footer__credit-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-mute); letter-spacing: .2em; text-transform: uppercase;
}
.footer__credit-brand {
  display: inline-flex; align-items: center; gap: 7px;
}
.footer__credit-mark {
  width: 18px; height: 18px;
  color: var(--gold);
  transition: transform .5s var(--ease);
}
.footer__credit:hover .footer__credit-mark { transform: rotate(-12deg) scale(1.12); }
.footer__credit-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: .01em;
  color: var(--text);
  text-transform: none;
}
.footer__credit-name em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

@media (max-width: 600px) {
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 130;
  background: color-mix(in srgb, var(--ink) 95%, transparent);
  backdrop-filter: blur(20px);
  display: grid; place-items: center;
  padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: 90vw; max-height: 80vh;
  margin: 0;
  position: relative;
  transform: scale(.96);
  transition: transform .4s var(--ease);
}
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__figure img {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  border-radius: 4px;
}
.lightbox__figure figcaption {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  color: var(--text-dim); margin-top: 14px; text-align: center;
  text-transform: uppercase;
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text);
  font-size: 26px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ============================================================
   HERO particles canvas
   ============================================================ */
.hero__particles {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: .55;
  mix-blend-mode: screen;
}

/* ============================================================
   IMAGE STRIP — clip-path reveal + 3D tilt
   ============================================================ */
.strip {
  background: var(--ink);
  padding: 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.strip__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}
.strip__cell {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink-2);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 800px;
  isolation: isolate;
  transition: transform .6s var(--ease);
}
.strip__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(.85) brightness(.5) contrast(1.1);
  transition: filter .8s var(--ease), transform 1.2s var(--ease);
  clip-path: inset(100% 0 0 0);
}
.strip__cell.is-visible .strip__img { clip-path: inset(0 0 0 0); }
.strip__cell:hover .strip__img { filter: grayscale(0) brightness(.85) contrast(1.05); transform: scale(1.06); }
.strip__cell::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,15,.9));
  pointer-events: none; z-index: 1;
}
.strip__label {
  position: absolute;
  left: 20px; bottom: 18px;
  z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  color: var(--text); text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease .3s, transform .5s var(--ease) .3s;
}
.strip__cell.is-visible .strip__label { opacity: 1; transform: translateY(0); }
.strip__cell:hover .strip__label { color: var(--gold); }
.strip__cell::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color .35s ease;
  z-index: 1; pointer-events: none;
}
.strip__cell:hover::before { border-color: var(--gold); }

@media (max-width: 980px) {
  .strip__row { grid-template-columns: repeat(2, 1fr); }
  .strip__cell:nth-child(5) { display: none; }
}

/* ============================================================
   About image accent (Burj overlay)
   ============================================================ */
.about__image { position: relative; }
.about__image-accent {
  position: absolute;
  left: -50px; top: -50px;
  width: 180px; height: 240px;
  background-size: cover; background-position: center;
  border: 1px solid var(--line-2);
  z-index: 2;
  opacity: 0;
  transform: translate(-20px, 20px) rotate(-4deg);
  transition: opacity .9s ease 0.6s, transform 1.1s var(--ease) 0.6s;
}
.about__image.is-visible .about__image-accent,
.about__image:has(.reveal-img.is-visible) .about__image-accent {
  opacity: 1; transform: translate(0, 0) rotate(-4deg);
}
@media (max-width: 880px) {
  .about__image-accent { left: 0; top: -30px; width: 120px; height: 160px; }
}

/* ============================================================
   Service title — kinetic split letter hover
   ============================================================ */
.service__title { position: relative; overflow: hidden; }
.service__title[data-text]::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 100%;
  width: 100%;
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(0);
  transition: transform .5s var(--ease);
}
.service__title { transition: transform .5s var(--ease), color .4s ease; }
.service:hover .service__title { transform: translateY(-100%) translateX(10px); }
.service:hover .service__title::after { transform: translateY(0); }

/* ============================================================
   APPROACH section
   ============================================================ */
.approach {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: ''; position: absolute;
  top: 50%; right: -15vw; width: 50vw; height: 50vw;
  background-image: url('assets/texture-dark-gold.jpg');
  background-size: cover; background-position: center;
  opacity: .18;
  transform: translateY(-50%);
  filter: blur(2px);
  pointer-events: none;
}
.approach__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.approach__visual { position: relative; }
.approach__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
}
.approach__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.3) contrast(1.05);
  transition: transform 1.2s var(--ease), filter .8s ease;
}
.approach__media:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.1); }
.approach__sticker {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  color: var(--gold);
  animation: spinSlow 22s linear infinite;
  pointer-events: none;
}
.approach__sticker svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 880px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__sticker { right: 10px; bottom: -30px; width: 130px; height: 130px; }
}
.approach__list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; gap: 16px;
}
.approach__list li {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-dim);
  align-items: baseline;
}
.approach__list li:last-child { border-bottom: 1px solid var(--line); }
.approach__list li strong { color: var(--text); font-weight: 600; }
.approach__k {
  font-family: var(--font-mono); font-size: 11px; color: var(--gold);
  letter-spacing: .14em; flex-shrink: 0;
}

/* ============================================================
   3D tilt — applied via JS data-tilt
   ============================================================ */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform .35s var(--ease);
  will-change: transform;
}

/* ============================================================
   Marquee — duplicate band with gold fill, opposite direction
   ============================================================ */
.marquee__track:nth-child(2) {
  animation-direction: reverse;
}

/* ============================================================
   Gold gradient border utility
   ============================================================ */
.gold-border {
  position: relative;
}
.gold-border::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 30%, transparent 70%, var(--gold) 100%);
  z-index: -1; border-radius: inherit;
}

/* ============================================================
   Lightbox slideshow indicator
   ============================================================ */
.lightbox__counter {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  color: var(--text-dim);
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
  display: inline-flex; align-items: center;
  width: 56px; height: 30px;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}
.theme-toggle:hover { border-color: var(--gold); }
.theme-toggle__track {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 999px;
}
.theme-toggle__thumb {
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  transition: transform .55s cubic-bezier(.7, -0.3, .25, 1.35), background .3s ease;
  box-shadow: 0 4px 12px rgba(245,184,46,.45);
}
html[data-theme="light"] .theme-toggle__thumb {
  transform: translateX(26px);
}
.theme-toggle__sun, .theme-toggle__moon {
  position: absolute;
  width: 14px; height: 14px;
  transition: opacity .35s ease, transform .55s var(--ease);
}
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme-toggle__moon { opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.5); }

@media (max-width: 880px) {
  .theme-toggle { display: none; }
}

/* Theme transition overlay (full-screen wipe on switch) */
.theme-wipe {
  position: fixed; inset: 0;
  z-index: 250;
  pointer-events: none;
  background: var(--ink);
  transform-origin: 100% 0%;
  clip-path: circle(0% at var(--wipe-x, 100%) var(--wipe-y, 0%));
  transition: clip-path .9s cubic-bezier(.76, 0, .24, 1);
}
.theme-wipe.is-wiping {
  clip-path: circle(170% at var(--wipe-x, 100%) var(--wipe-y, 0%));
}

/* ============================================================
   BACK TO TOP — circular progress button
   ============================================================ */
.totop {
  position: fixed;
  right: clamp(20px, 3vw, 40px);
  bottom: clamp(20px, 3vw, 40px);
  z-index: 120;
  width: 64px; height: 64px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(20px) scale(.85);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .55s var(--ease);
  background: color-mix(in srgb, var(--ink) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  isolation: isolate;
}
.totop.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.totop__ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  z-index: 1;
}
.totop__ring circle { fill: none; stroke-width: 2; }
.totop__ring-bg { stroke: var(--line-2); }
.totop__ring-fg {
  stroke: var(--gold);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .15s linear;
  filter: drop-shadow(0 0 6px rgba(245,184,46,.6));
  stroke-linecap: round;
}
.totop__inner {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  transition: transform .35s var(--ease), background .3s ease;
}
.totop__inner svg { width: 16px; height: 16px; }
.totop:hover .totop__inner {
  transform: translateY(-3px) scale(1.08);
}
.totop:hover .totop__inner svg { animation: arrowBounce 1s ease infinite; }
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.totop__label {
  position: absolute;
  right: 100%; top: 50%;
  transform: translateY(-50%) translateX(-12px);
  padding: 6px 12px;
  background: var(--ink);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s ease, transform .35s var(--ease);
  pointer-events: none;
}
.totop:hover .totop__label {
  opacity: 1;
  transform: translateY(-50%) translateX(-18px);
}
@media (max-width: 600px) {
  .totop__label { display: none; }
  .totop { width: 54px; height: 54px; }
  .totop__inner { width: 32px; height: 32px; }
}

/* ============================================================
   CUTOUTS / SVG SILHOUETTES
   ============================================================ */

/* Service row icon */
.service { grid-template-columns: 70px 56px 1fr auto 60px; }
.service__icon {
  width: 44px; height: 44px;
  color: var(--text-mute);
  transition: color .4s ease, transform .55s var(--ease);
  transform-origin: center;
}
.service:hover .service__icon {
  color: var(--gold);
  transform: rotate(-8deg) scale(1.12);
}
@media (max-width: 880px) {
  .service { grid-template-columns: 60px 36px 1fr 50px; }
  .service__icon { width: 32px; height: 32px; }
}

/* Approach crane silhouette */
.approach { isolation: isolate; }
.approach__crane {
  position: absolute;
  left: -60px; top: -40px;
  width: clamp(220px, 22vw, 360px);
  height: auto;
  color: var(--gold);
  opacity: .12;
  pointer-events: none;
  z-index: 0;
  animation: craneSway 8s ease-in-out infinite;
  transform-origin: 130px 510px;
}
@keyframes craneSway {
  0%, 100% { transform: rotate(-1.5deg); }
  50%      { transform: rotate(1.5deg); }
}
.approach__grid { position: relative; z-index: 1; }
@media (max-width: 880px) {
  .approach__crane { left: auto; right: -40px; opacity: .08; }
}

/* Safety hardhat */
.safety__hardhat {
  position: absolute;
  right: -50px; top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 38vw, 560px);
  height: auto;
  color: var(--gold);
  opacity: .14;
  pointer-events: none;
  z-index: 0;
}
.safety__inner { position: relative; z-index: 1; }
@media (max-width: 880px) {
  .safety__hardhat { right: -80px; opacity: .08; }
}

/* Footer skyline */
.footer { position: relative; isolation: isolate; padding-top: 240px; }
.footer__skyline {
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%;
  height: 220px;
  color: var(--gold);
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}
.footer__skyline g {
  animation: skylineFadeIn 2s ease forwards;
}
@keyframes skylineFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.footer__inner { position: relative; z-index: 1; }

/* Construction tape divider (decorative class) */
.tape {
  height: 22px;
  background: repeating-linear-gradient(
    -55deg,
    var(--gold) 0 24px,
    var(--ink) 24px 48px
  );
  border-block: 1px solid var(--ink);
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
