/* ============================================================
   SUBLIME TRADERS — Design System v3
   Soft dark luxury · rounded surfaces · warm gold light
   ============================================================ */

:root {
  --bg: #0b0c0f;
  --bg-2: #101217;
  --surface: #15171d;
  --surface-2: #1b1e25;
  --surface-3: #23272f;
  --text: #ece8e1;
  --heading: #f6f2ea;
  --muted: #a39f97;
  --faint: #7f7b74;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --gold: #d9aa62;
  --gold-2: #f0cf95;
  --gold-3: #b9843b;
  --gold-grad: linear-gradient(115deg, #f3d9a6 0%, #d9aa62 45%, #b07a32 100%);
  --gold-soft: rgba(217, 170, 98, 0.12);
  --glow: 0 30px 80px -30px rgba(217, 170, 98, 0.35);

  --display: "Outfit", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --pill: 999px;

  --gutter: clamp(1rem, 3.6vw, 3rem);
  --max: 1400px;
  --nav-h: 96px;
  --pad: clamp(4rem, 8vw, 6.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --z-nav: 50;
  --z-menu: 60;
  --z-modal: 80;
  --z-cursor: 90;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
body.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: var(--bg); padding: 0.75rem 1.25rem; border-radius: var(--pill); font-size: 0.85rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap, .container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--pad); }
.section--cream, .section--warm { background: var(--bg-2); }
.section--navy { background: radial-gradient(80% 120% at 85% 0%, rgba(217, 170, 98, 0.1), transparent 60%), var(--bg-2); color: var(--text); }
.section--navy h2, .section--navy h3 { color: var(--heading); }
.grid-2 { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 5fr 7fr; gap: 5rem; } }

/* ---------- Light content sections (ivory) ---------- */
.theme-light {
  --bg: #f6f2ea;
  --bg-2: #efe8dc;
  --surface: #fffdf9;
  --surface-2: #f4eee4;
  --surface-3: #e9e1d3;
  --text: #3d3931;
  --heading: #16140f;
  --muted: #6b655a;
  --faint: #8d8578;
  --line: rgba(40, 32, 18, 0.1);
  --line-2: rgba(40, 32, 18, 0.16);
  --gold-2: #946420;
  --gold-soft: rgba(185, 132, 59, 0.14);
  --gold-text: linear-gradient(115deg, #c39049 0%, #a06a26 50%, #77501d 100%);
  background: var(--bg); color: var(--text);
}
.theme-light.why, .theme-light.section--cream, .theme-light.section--warm { background: var(--bg-2); }
.theme-light :is(h1, h2, h3, .statement-text, .cred-value, .stmt-title) em, .theme-light .exp-count b { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-light .eyebrow, .theme-light .sec-head { background: rgba(255, 255, 255, 0.6); }
.theme-light .eyebrow::before { box-shadow: none; }
.theme-light .btn--outline, .theme-light .btn--outline-light { background: rgba(255, 255, 255, 0.6); }
.theme-light .btn--outline:hover, .theme-light .btn--outline-light:hover { background: #fff; border-color: rgba(40, 32, 18, 0.28); }
.theme-light :is(.co-card, .cred, .sector, .svc-row, .idx-row, .why-item, .info-grid, .timeline-item, .process-step, .service-block, .pf-card, .tm-card, .tl-row, .contact-item, .contact-form, .team-lead, .deliver-list li) { box-shadow: 0 1px 2px rgba(40, 32, 18, 0.04), 0 12px 32px -18px rgba(40, 32, 18, 0.18); }
.theme-light .cred::after { background: radial-gradient(circle, rgba(217, 170, 98, 0.22), transparent 70%); }
.theme-light .lead-facts li { background: var(--surface-2); }
.theme-light .team-lead .monogram, .theme-light .contact-form { box-shadow: 0 30px 60px -30px rgba(160, 106, 38, 0.45); }
.theme-light .field-error { color: #b9412b; }
.theme-light .map-frame iframe { filter: grayscale(0.25) sepia(0.12); }
.theme-light .map-card { background: rgba(255, 253, 249, 0.92); }
.theme-light .pf-overlay { color: #ece8e1; }
.theme-light .dot { box-shadow: none; }
.theme-light :is(.co-img, .side-photo) figcaption { color: rgba(255, 255, 255, 0.72); }
.theme-light :is(.co-img, .side-photo) figcaption span:first-child { color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--display); font-weight: 500; color: var(--heading); letter-spacing: -0.02em; }
h1, .h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 1; letter-spacing: -0.04em; }
h2, .h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.035em; }
h3, .h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.2; }
h4, .h4 { font-size: 1.2rem; line-height: 1.25; }
h1 em, h2 em, h3 em, .statement-text em, .cred-value em {
  font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow, .sec-head {
  display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content;
  padding: 0.5rem 0.95rem; border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(255, 255, 255, 0.03);
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.sec-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.sec-index { color: var(--faint); font-weight: 500; }
.eyebrow--light { color: var(--gold-2); }

.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.7; color: var(--muted); max-width: 36rem; }
.body-lg { font-size: 1.05rem; line-height: 1.8; color: var(--muted); }
.meta { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.text-muted { color: var(--muted); }
.mt-sm { margin-top: 1rem; } .mt-md { margin-top: 1.5rem; } .mt-lg { margin-top: 2.5rem; }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 58rem; }
.section-header .lead { margin-top: 1.25rem; }
.section-header h2 { margin-top: 1.25rem; }
.section-header--split { display: grid; gap: 1.5rem; max-width: none; }
@media (min-width: 1024px) {
  .section-header:has(> .lead) { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 4rem; align-items: end; max-width: none; }
  .section-header:has(> .lead) > :not(.lead) { grid-column: 1; }
  .section-header:has(> .lead) > .lead { grid-column: 2; grid-row: 2; margin-top: 0; padding-left: 1.5rem; border-left: 1px solid var(--line-2); }
}
@media (min-width: 900px) { .section-header--split { grid-template-columns: 1.3fr 1fr; align-items: end; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: var(--pill);
  font-family: var(--sans); font-size: 0.92rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.45s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--gold-grad); color: #17120a; box-shadow: 0 10px 30px -12px rgba(217, 170, 98, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(217, 170, 98, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); transform: translateY(-2px); }
.btn--outline, .btn--outline-light { border-color: var(--line-2); color: var(--heading); background: rgba(255, 255, 255, 0.03); }
.btn--outline:hover, .btn--outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn--ghost { min-height: 0; padding: 0; border: 0; color: var(--gold-2); border-radius: 0; }
.btn--ghost:hover { color: var(--heading); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Header (floating pill) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav); padding-top: 14px;
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.site-header .nav {
  pointer-events: auto;
  max-width: calc(var(--max) - var(--gutter) * 2); width: calc(100% - var(--gutter) * 2);
  height: 66px; padding: 0 0.5rem 0 0.9rem; margin-inline: auto;
  border-radius: var(--pill); border: 1px solid var(--line);
  background: rgba(16, 18, 23, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled .nav { background: rgba(16, 18, 23, 0.82); border-color: var(--line-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7); }
.site-header.is-hidden { transform: translateY(-130%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; position: relative; z-index: 2; }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(217, 170, 98, 0.35); }
.brand-mark img { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--heading); }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 0.1rem; }
.nav-links { display: none; align-items: center; gap: 0.15rem; padding: 0.3rem; border-radius: var(--pill); background: rgba(255, 255, 255, 0.03); }
.nav-link { padding: 0.55rem 1rem; border-radius: var(--pill); font-size: 0.86rem; font-weight: 500; color: var(--muted); transition: color 0.3s, background 0.3s; }
.nav-link:hover { color: var(--heading); background: rgba(255, 255, 255, 0.06); }
.nav-link.is-active { color: var(--heading); background: var(--surface-3); }
.nav-cta { display: none; }
.btn--nav { min-height: 48px; padding: 0 1.2rem; font-size: 0.86rem; background: var(--gold-grad); color: #17120a; }
.btn--nav:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(217, 170, 98, 0.7); }
.nav-toggle {
  position: relative; z-index: 2; width: 50px; height: 50px; border-radius: 50%; background: var(--surface-3);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { display: block; height: 1.6px; width: 20px; border-radius: 2px; background: var(--heading); transition: transform 0.5s var(--ease), width 0.4s var(--ease); }
.nav-toggle span:nth-child(2) { width: 14px; margin-left: 6px; }
.nav-toggle span:nth-child(3) { display: none; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { width: 20px; margin-left: 0; transform: translateY(-3.8px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-links { display: flex; } .nav-cta { display: inline-flex; } .nav-toggle { display: none; } }
body.menu-open .site-header { z-index: calc(var(--z-menu) + 1); transform: none; }
body.menu-open .site-header .nav { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
  background: radial-gradient(90% 60% at 100% 0%, rgba(217, 170, 98, 0.16), transparent 60%), var(--bg); overflow-y: auto;
  clip-path: circle(0% at calc(100% - 3rem) 3rem); visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 3rem) 3rem); visibility: visible; transition: clip-path 0.8s var(--ease-io); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 0.95rem 1.25rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; color: var(--heading);
  opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), background 0.3s, border-color 0.3s;
}
.mobile-menu nav a::after { content: "↗"; font-size: 1rem; color: var(--gold); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.19s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.23s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.27s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.31s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.is-open nav a:nth-child(7) { transition-delay: 0.39s; }
.mobile-menu nav a:hover, .mobile-menu nav a.is-active { border-color: rgba(217, 170, 98, 0.45); background: var(--surface-2); }
.mobile-menu-footer { display: grid; gap: 1.25rem; }
.mobile-menu-meta { font-size: 0.85rem; line-height: 1.7; color: var(--muted); }

/* ============================================================
   HOME HERO
   ============================================================ */
.hx {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(217, 170, 98, 0.16), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(80, 110, 160, 0.12), transparent 70%),
    var(--bg);
}
.hx::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.hx-guides, .page-hero::before { display: none; }
.hx .wrap { position: relative; }

.hx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.hx-meta > span:not(.hx-meta-line) {
  padding: 0.45rem 0.85rem; border-radius: var(--pill); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.hx-meta > span:first-child { color: var(--gold-2); border-color: rgba(217, 170, 98, 0.35); background: var(--gold-soft); }
.hx-meta-line { display: none; }

.hx-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.9rem, 7.4vw, 7.2rem); line-height: 0.98; letter-spacing: -0.05em;
  color: var(--heading); margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.hx-title .line, .stmt-title .line, .page-hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hx-title .line > span, .stmt-title .line > span, .page-hero h1 .line > span { display: inline-block; }
.hx-title .line--indent { padding-left: 1.4em; }
@media (min-width: 600px) { .hx-title .line { white-space: nowrap; } }
.hx-title em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-title .hx-rotate:has(.rw) { background: none; position: relative; display: inline-block; vertical-align: bottom; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; transition: width 0.7s cubic-bezier(0.7, 0, 0.2, 1); }
.hx-rotate .rw { position: absolute; left: 0; top: 0; white-space: nowrap; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease; }
.hx-rotate .rw.is-on { position: relative; opacity: 1; transform: none; }
.hx-rotate .rw.is-out { opacity: 0; transform: translateY(-90%) rotate(-3deg); }

.hx-grid { display: grid; gap: 2rem; }
.hx-aside { display: flex; flex-direction: column; gap: 1.75rem; order: 2; }
.hx-desc { font-size: 1.05rem; line-height: 1.75; color: var(--muted); max-width: 27rem; }
.hx-facts { display: grid; gap: 0.5rem; }
.hx-facts div {
  display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; gap: 0.75rem; padding: 0.7rem 1rem;
  border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem;
}
.hx-facts dt { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.hx-facts dd { color: var(--heading); }

.hx-stage { position: relative; }
.hx-frame {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--surface);
  border: 1px solid var(--line-2); aspect-ratio: 4 / 3.6;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), var(--glow);
}
.hx-shade { position: absolute; inset: 0; pointer-events: none; }
.hx-frame--3d { background: #121419; }
.hx-frame--3d .hx-shade { background: linear-gradient(to top, rgba(10, 11, 14, 0.85) 0%, rgba(10, 11, 14, 0) 40%); }
.hx-caption {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding: clamp(0.9rem, 1.8vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--r-md); background: rgba(16, 18, 23, 0.55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--heading); pointer-events: none;
}
.hx-cap-text { max-width: 30rem; }
.hx-count { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.hx-count b { color: var(--gold); font-weight: 700; }
.hx-cap-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.15; letter-spacing: -0.01em; transition: opacity 0.35s var(--ease); }
.hx-progress { display: flex; gap: 5px; width: clamp(110px, 14vw, 200px); flex: none; margin-bottom: 0.45rem; }
.hx-progress span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.hx-progress i { display: block; height: 100%; border-radius: 4px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.hx-tag {
  position: absolute; z-index: 2; top: 1rem; right: 1rem;
  padding: 0.45rem 0.8rem; border-radius: var(--pill); border: 1px solid var(--line-2);
  background: rgba(16, 18, 23, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.hx-badge {
  position: absolute; z-index: 3; width: clamp(92px, 8vw, 120px); aspect-ratio: 1;
  right: 1rem; top: 0; transform: translateY(-50%);
  border-radius: 50%; background: #121419; display: grid; place-items: center;
  box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--line-2);
}
.hx-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-badge text { font-family: var(--sans); font-size: 8.4px; font-weight: 700; letter-spacing: 0.5px; fill: var(--gold); }
.hx-badge img { width: 42%; position: relative; }

@media (max-width: 599px) {
  .hx-title .line--indent { padding-left: 0; }
  .hx-title .hx-rotate:has(.rw) { display: block; width: auto !important; }
  .hx .btn-group .btn { flex: 1 1 100%; }
  .hx-progress { display: none; }
}
@media (max-width: 1023px) { .hx-tag { right: auto; left: 1rem; } }
@media (min-width: 1024px) {
  .hx-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 3.5vw, 3.5rem); align-items: stretch; }
  .hx-aside { order: 0; justify-content: space-between; }
  .hx-frame { aspect-ratio: auto; height: clamp(400px, calc(100vh - 470px), 720px); }
  .hx-badge { right: 2.25rem; top: 0; transform: translateY(-50%); }
  .hx-tag { right: auto; left: 1rem; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(1.1rem, 2.2vw, 1.6rem); border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-group {
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); padding-right: clamp(1.5rem, 3vw, 2.75rem);
  font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap; color: var(--heading);
}
.marquee-group > span:nth-child(4n + 3) { color: transparent; -webkit-text-stroke: 1px rgba(236, 232, 225, 0.45); }
.marquee-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 14px rgba(217, 170, 98, 0.6); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.no-motion .marquee-track { animation: none; }

/* ---------- Intro ---------- */
.co-bento { display: grid; gap: 1rem; }
.co-card { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); }
.co-statement { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.5rem); background: radial-gradient(80% 90% at 100% 0%, rgba(217, 170, 98, 0.1), transparent 60%), var(--surface); }
.statement-text { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.9vw, 2.75rem); line-height: 1.2; letter-spacing: -0.03em; color: var(--heading); max-width: 26ch; }
.co-media { display: grid; gap: 1rem; }
.co-img { position: relative; overflow: hidden; min-height: 240px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.co-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.co-img:hover img { transform: scale(1.05); }
@media (min-width: 640px) and (max-width: 1023px) { .co-media { grid-template-columns: 1fr 1fr; grid-column: 1 / -1; } }
.co-img figcaption { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; border-radius: var(--r-sm); background: rgba(11, 12, 15, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 0.78rem; color: var(--muted); }
.co-img figcaption span:first-child { color: var(--heading); font-weight: 600; }
.co-copy { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.75rem; }
.co-copy p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.co-stages { display: flex; flex-direction: column; gap: 1.25rem; }
.co-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); }
.co-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.co-steps li { display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.85rem; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--heading); transition: border-color 0.3s, background 0.3s; }
.co-steps li:hover { border-color: rgba(217, 170, 98, 0.35); background: var(--surface-3); }
@media (max-width: 479px) { .co-steps { grid-template-columns: 1fr; gap: 0.4rem; } }
.co-steps b { font-family: var(--display); font-size: 0.72rem; font-weight: 600; color: var(--gold); }
@media (min-width: 768px) {
  .co-bento { grid-template-columns: 1fr 1fr; }
  .co-statement { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .co-bento { grid-template-columns: repeat(12, 1fr); }
  .co-statement { grid-column: 1 / 8; }
  .co-media { grid-column: 8 / 13; grid-row: 1 / 3; grid-template-rows: 1fr 1fr; }
  .co-img { min-height: 0; }
  .co-copy { grid-column: 1 / 5; }
  .co-stages { grid-column: 5 / 8; }
  .co-steps { grid-template-columns: 1fr; gap: 0.4rem; }
  .co-steps li { padding: 0.55rem 0.8rem; }
}

/* ---------- Credentials ---------- */
.creds { background: var(--bg-2); padding-block: var(--pad); }
.creds-grid { display: grid; gap: 1rem; }
.cred {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.cred::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 170, 98, 0.18), transparent 70%); pointer-events: none; }
.cred-value { display: inline-flex; font-family: var(--display); font-weight: 500; font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--heading); }
.roll-char { display: inline-block; overflow: hidden; padding-bottom: 0.06em; }
.roll-char > span { display: inline-block; }
.cred-value em:has(.roll-char) { background: none; }
.cred-value em .roll-char > span { color: var(--gold-2); }
.cred-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sectors { display: grid; gap: 1rem; margin-top: 1rem; }
.sector { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 1.6rem; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.sector h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.sector p { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); text-align: right; }
@media (min-width: 768px) { .creds-grid, .sectors { grid-template-columns: repeat(3, 1fr); } .sector { flex-direction: column; align-items: flex-start; gap: 0.4rem; } .sector p { text-align: left; } }

/* ---------- Services list (home) ---------- */
.svc-top { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.svc-top h2 { max-width: 16ch; }
.svc-list { display: grid; gap: 0.6rem; }
.svc-row {
  display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1rem, 2vw, 1.6rem); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); color: var(--heading);
  transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease);
}
.svc-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); }
.svc-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.3vw, 2.1rem); line-height: 1.1; letter-spacing: -0.025em; }
.svc-desc { display: none; font-size: 0.88rem; line-height: 1.6; color: var(--muted); max-width: 22rem; }
.svc-arrow {
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; justify-self: end;
  transition: background 0.35s, color 0.35s, transform 0.6s var(--ease);
}
.svc-arrow svg { width: 18px; height: 18px; }
.svc-row:hover, .svc-row:focus-visible { background: var(--surface-2); border-color: rgba(217, 170, 98, 0.35); }
.svc-row:hover .svc-arrow, .svc-row:focus-visible .svc-arrow { background: var(--gold-grad); color: #17120a; transform: rotate(45deg); }
@media (min-width: 1024px) {
  .svc-top { grid-template-columns: 3fr 9fr; align-items: end; }
  .svc-top .sec-head { grid-column: 1 / -1; }
  .svc-top h2 { grid-column: 2; }
  .svc-row { grid-template-columns: 4rem 5fr 4fr 3.5rem; gap: 1rem; }
  .svc-desc { display: block; }
}
.svc-preview { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(240px, 22vw, 330px); aspect-ratio: 4 / 3; pointer-events: none; }
.svc-preview-inner { width: 100%; height: 100%; overflow: hidden; border-radius: var(--r-md); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); opacity: 0; transform: scale(0.6) rotate(-4deg); transition: opacity 0.3s, transform 0.55s var(--ease); }
.svc-preview.is-visible .svc-preview-inner { opacity: 1; transform: scale(1) rotate(0); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .svc-preview { display: none; } }

/* ---------- 3D canvas ---------- */
.b3d-canvas { position: absolute; inset: 0; transition: opacity 0.8s var(--ease); }
.b3d-canvas.is-fading { opacity: 0; }
.b3d-canvas img { width: 100%; height: 100%; object-fit: cover; }
.b3d-canvas canvas { display: block; width: 100% !important; height: 100% !important; }

/* ---------- Horizontal project showcase ---------- */
.hs { background: var(--bg); overflow: hidden; }
.hs-pin { display: flex; align-items: center; padding-block: clamp(4rem, 8vw, 6rem); }
.hs-track {
  display: flex; align-items: flex-start; gap: clamp(1rem, 1.6vw, 1.5rem); width: 100%;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hs-track::-webkit-scrollbar { display: none; }
.hs-intro { flex: 0 0 min(86vw, 420px); display: flex; flex-direction: column; gap: 1.5rem; padding-right: clamp(0.5rem, 3vw, 3rem); scroll-snap-align: start; }
.hs-intro .sec-head { margin-bottom: 0; }
.hs-intro h2 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); }
.hs-intro p { color: var(--muted); }
.hs-hint { display: flex; align-items: center; gap: 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hs-hint span { width: 40px; height: 4px; border-radius: 4px; background: var(--gold-grad); }
.hs-card {
  flex: 0 0 82vw; display: flex; flex-direction: column; gap: 0.5rem; cursor: pointer; scroll-snap-align: start;
  padding: 0.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.35s;
}
.hs-card:hover { border-color: rgba(217, 170, 98, 0.35); }
.hs-media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: calc(var(--r-lg) - 8px); background: var(--surface-2); }
.hs-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.hs-card:hover .hs-media img, .hs-card:focus-visible .hs-media img { transform: scale(1.05); }
.hs-info { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; padding: 0.8rem 0.8rem 0.6rem; }
.hs-idx { font-size: 0.72rem; font-weight: 700; color: var(--gold); padding-top: 0.4rem; }
.hs-info h3 { font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.2; }
.hs-info p { font-size: 0.84rem; color: var(--muted); margin-top: 0.2rem; }
.hs-cat { align-self: start; padding: 0.35rem 0.7rem; border-radius: var(--pill); background: var(--gold-soft); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.hs-end { flex: 0 0 auto; align-self: center; display: flex; padding: 0 clamp(1rem, 4vw, 4rem); scroll-snap-align: end; }
.round-link {
  width: clamp(150px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; text-align: center;
  font-size: 0.82rem; font-weight: 600; color: var(--heading);
  transition: background 0.4s var(--ease), color 0.4s, transform 0.5s var(--ease);
}
.round-link svg { width: 22px; height: 22px; }
.round-link:hover { background: var(--gold-grad); color: #17120a; transform: scale(1.04); }
@media (min-width: 768px) { .hs-card { flex-basis: 56vw; } }
@media (min-width: 1024px) {
  .hs-card { flex-basis: clamp(440px, 40vw, 660px); }
  .hs-card:nth-of-type(even) { margin-top: 6vh; }
  .has-motion .hs-pin { min-height: 100vh; }
  .has-motion .hs-track { overflow: visible; width: max-content; scroll-snap-type: none; }
}

/* ---------- Statement / Residential showcase ---------- */
.stmt { position: relative; overflow: hidden; background: radial-gradient(60% 50% at 15% 10%, rgba(217, 170, 98, 0.12), transparent 70%), var(--bg-2); padding-block: var(--pad); }
.stmt-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.stmt-head .sec-head { margin-bottom: 1.25rem; }
.stmt-title { font-family: var(--display); font-weight: 500; color: var(--heading); font-size: clamp(2.6rem, 6.4vw, 6.2rem); line-height: 0.98; letter-spacing: -0.05em; }
.stmt-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; max-width: 24rem; }
.stmt-aside p { color: var(--muted); line-height: 1.7; }
@media (min-width: 900px) { .stmt-head { grid-template-columns: 1fr auto; align-items: end; } }
.stmt-title em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stmt-gallery { display: grid; gap: 1rem; }
.stmt-item { position: relative; overflow: hidden; isolation: isolate; min-height: 260px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.stmt-item img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.stmt-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 9, 12, 0.85) 0%, rgba(8, 9, 12, 0.2) 38%, transparent 60%); }
.stmt-item:hover img { transform: scale(1.05); }
.stmt-item figcaption { position: absolute; left: 1.25rem; right: 4.5rem; bottom: 1.15rem; display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.stmt-item figcaption b { font-family: var(--display); font-size: clamp(1.05rem, 1.4vw, 1.35rem); font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.stmt-go { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; transition: transform 0.6s var(--ease), background 0.35s, color 0.35s; }
.stmt-go svg { width: 18px; height: 18px; }
.stmt-item:hover .stmt-go { background: var(--gold-grad); color: #17120a; transform: rotate(45deg); }
@media (min-width: 640px) { .stmt-gallery { grid-template-columns: 1fr 1fr; } .s1 { grid-column: 1 / -1; min-height: 380px; } }
@media (min-width: 1024px) {
  .stmt-gallery { grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, minmax(270px, 21vw)); }
  .s1 { grid-column: 1 / 7; grid-row: 1 / 3; min-height: 0; }
  .s2 { grid-column: 7 / 13; }
  .s3 { grid-column: 7 / 10; }
  .s4 { grid-column: 10 / 13; }
  .s1 figcaption b { font-size: clamp(1.4rem, 2vw, 1.9rem); }
}

/* ---------- Institutional index ---------- */
.idx-top { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.idx-top p { color: var(--muted); }
@media (min-width: 900px) { .idx-top { grid-template-columns: 1.3fr 1fr; align-items: end; } .idx-top .sec-head { grid-column: 1 / -1; } }
.idx-group + .idx-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.idx-label { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--heading); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }
.dot--ongoing { background: transparent; border: 1.5px solid var(--gold); box-shadow: none; }
.idx-label .count { margin-left: auto; padding: 0.25rem 0.6rem; border-radius: var(--pill); background: var(--surface-2); color: var(--muted); }
.experience-list, .idx-group > div:not(.idx-label) { display: grid; gap: 0.6rem; }
.idx-row {
  display: grid; gap: 0.6rem; padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.75rem);
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); cursor: pointer;
  transition: background 0.35s, border-color 0.35s;
}
.idx-row h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.idx-loc { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }
.idx-desc { font-size: 0.9rem; line-height: 1.65; color: var(--muted); }
.idx-cat { justify-self: start; padding: 0.35rem 0.7rem; border-radius: var(--pill); background: var(--gold-soft); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.idx-arrow { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-3); place-items: center; justify-self: end; transition: transform 0.6s var(--ease), background 0.35s, color 0.35s; }
.idx-arrow svg { width: 18px; height: 18px; }
.idx-row:hover, .idx-row:focus-visible { background: var(--surface-2); border-color: rgba(217, 170, 98, 0.35); }
.idx-row:hover .idx-arrow { background: var(--gold-grad); color: #17120a; transform: rotate(45deg); }
@media (min-width: 900px) {
  .idx-row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 1.6fr) 48px; gap: 2rem; align-items: center; }
  .idx-cat { justify-self: start; }
  .idx-arrow { display: grid; }
}

/* ---------- Why ---------- */
.why { background: var(--bg); }
.why-grid { display: grid; gap: 2.5rem; }
.why-head h2 { max-width: 12ch; }
.why-head p { margin-top: 1.25rem; max-width: 28rem; color: var(--muted); line-height: 1.75; }
.why-list { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-item {
  display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.4rem, 2.5vw, 2rem);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.35s, transform 0.5s var(--ease);
}
.why-item:hover { border-color: rgba(217, 170, 98, 0.35); transform: translateY(-4px); }
.why-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--gold-2); }
.why-item h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; }
.why-item p { color: var(--muted); font-size: 0.93rem; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 4fr 8fr; gap: 4rem; } .why-head { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; } }

/* ---------- CTA ---------- */
.cta2, .cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  margin: var(--gutter); border-radius: var(--r-xl); padding-block: clamp(4rem, 9vw, 7rem);
  background: radial-gradient(70% 90% at 90% 10%, rgba(217, 170, 98, 0.28), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(80, 110, 160, 0.18), transparent 70%), var(--surface);
  border: 1px solid var(--line-2);
}
.cta2::before, .map-placeholder::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%);
}
.cta2 .wrap { position: relative; }
.cta2 { padding-block: clamp(3rem, 6vw, 5rem); }
.cta2-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.cta2-main .sec-head { margin-bottom: 1.5rem; }
.cta2-title { font-family: var(--display); font-weight: 500; color: var(--heading); font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 0.98; letter-spacing: -0.05em; max-width: 12ch; }
.cta2-title em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta2-lead { margin-top: 1.5rem; max-width: 30rem; color: var(--muted); line-height: 1.7; }
.cta2-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.cta2-card { display: grid; gap: 0.5rem; padding: 0.6rem; border-radius: var(--r-lg); background: rgba(11, 12, 15, 0.45); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cta2-card li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s; }
.cta2-card li:hover { border-color: rgba(217, 170, 98, 0.35); background: rgba(255, 255, 255, 0.05); }
.cta2-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); }
.cta2-ico svg { width: 19px; height: 19px; }
.cta2-k { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cta2-v { display: block; margin-top: 0.2rem; font-size: 0.95rem; font-weight: 600; color: var(--heading); }
.cta2-phone { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -0.02em; transition: color 0.3s; }
.cta2-phone:hover { color: var(--gold-2); }
@media (min-width: 1024px) { .cta2-grid { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.cta-banner h2 { font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: 1; max-width: 13ch; margin: 1.25rem 0 2rem; }
.cta-banner p { color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: var(--muted); padding-top: clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
.footer-brand p { max-width: 22rem; font-size: 0.92rem; line-height: 1.75; margin-top: 1.25rem; }
.footer-tagline { font-family: var(--display); font-size: 1.15rem; font-weight: 500; color: var(--gold-2) !important; margin-top: 1rem !important; }
.socials { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.25rem; }
.social {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--heading);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--gold-grad); border-color: transparent; color: #17120a; transform: translateY(-2px); }
.mobile-menu-footer .socials { margin-top: 0.25rem; }
.mobile-menu-footer .social { background: rgba(255, 255, 255, 0.06); }
.footer-col h4 { font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.55rem; font-size: 0.93rem; color: var(--text); }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-2); }
.site-footer .wrap { container-type: inline-size; }
.footer-mark {
  font-family: var(--display); font-weight: 600; font-size: 14.6cqi; line-height: 0.9; letter-spacing: -0.06em;
  white-space: nowrap; text-align: center; user-select: none; overflow: hidden; padding: 1rem 0.1em 0;
  background: linear-gradient(to bottom, rgba(236, 232, 225, 0.16), rgba(236, 232, 225, 0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--faint);
}
.to-top { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem; border-radius: var(--pill); background: var(--surface-2); font-size: 0.8rem; font-weight: 600; color: var(--heading); transition: background 0.3s; }
.to-top svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.to-top:hover { background: var(--surface-3); }
.to-top:hover svg { transform: translateY(-3px); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(3rem, 6vw, 5rem);
  background: radial-gradient(55% 70% at 90% 10%, rgba(217, 170, 98, 0.16), transparent 70%), var(--bg);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 70% at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 30% 40%, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6.6rem); line-height: 0.98; letter-spacing: -0.05em; max-width: 11ch; margin-top: 1.25rem; }
.page-hero .lead { margin-top: 1.5rem; max-width: 32rem; }
.page-hero-bg { display: none; }
@media (min-width: 1024px) {
  .page-hero .container > * { max-width: 60%; }
  .page-hero-bg {
    display: block; position: absolute; z-index: 1; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--surface);
    right: var(--gutter); top: calc(var(--nav-h) + 2rem); bottom: clamp(3rem, 6vw, 5rem); width: 32%; max-width: 480px;
    box-shadow: var(--glow);
  }
  .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
}
.page-main { min-height: 60vh; }
.page-hero + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Intro statement */
.intro-statement { display: grid; gap: 2rem; }
@media (min-width: 900px) { .intro-statement { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.intro-statement p { color: var(--muted); }
.intro-quote { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.03em; color: var(--heading); margin-top: 1.25rem; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 1rem; }
.timeline-item { position: relative; padding: 1.5rem 1.75rem 1.5rem 3.5rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.timeline-item::before { content: ""; position: absolute; left: 1.5rem; top: 1.95rem; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.timeline-year { font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 0.5rem; }
.timeline-item h3 { margin-bottom: 0.4rem; }
.timeline-item p { color: var(--muted); }

/* Corporate info */
.info-grid { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 0.5rem clamp(1.25rem, 3vw, 2rem); }
.info-row { display: grid; gap: 0.3rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.info-row dd { font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: var(--heading); line-height: 1.35; }
@media (min-width: 700px) { .info-row { grid-template-columns: 15rem 1fr; gap: 2rem; align-items: baseline; } }
@media (min-width: 1024px) {
  .info-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; padding-block: 0.75rem; }
  .info-row { grid-template-columns: 12rem 1fr; }
  .info-row:nth-last-child(2) { border-bottom: 0; }
}

/* Journey side photo */
.side-photo { position: relative; overflow: hidden; margin-top: 2rem; aspect-ratio: 2 / 1; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.side-photo:hover img { transform: scale(1.05); }
.side-photo figcaption { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; border-radius: var(--r-sm); background: rgba(11, 12, 15, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 0.78rem; color: var(--muted); }
.side-photo figcaption span:first-child { color: var(--heading); font-weight: 600; }
@media (min-width: 900px) { .journey { align-items: start; } .journey-side { position: sticky; top: calc(var(--nav-h) + 2rem); } }

/* Capabilities list (about) */
.deliver { display: grid; gap: 2.5rem; }
.deliver-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.deliver-head h2 { margin-top: 0; }
.deliver-head .lead { color: var(--muted); max-width: 26rem; }
.deliver-list { display: grid; gap: 0.6rem; }
.deliver-list li { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; color: var(--heading); line-height: 1.35; transition: border-color 0.3s, transform 0.4s var(--ease); }
.deliver-list li:hover { border-color: rgba(217, 170, 98, 0.35); transform: translateY(-2px); }
.dl-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); }
.dl-ico svg { width: 19px; height: 19px; }
@media (min-width: 640px) { .deliver-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .deliver { grid-template-columns: 4fr 8fr; gap: 4rem; align-items: center; } }

/* Process */
.process { display: grid; gap: 0.75rem; }
.process-step { padding: 1.6rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.process-step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--gold-2); margin-bottom: 1.25rem; }
.process-step h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.process-step p { font-size: 0.88rem; color: var(--muted); }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(3, 1fr); } }

/* Services page blocks */
.services-grid { display: grid; gap: 1rem; }
.service-block {
  display: grid; gap: 1.5rem; padding: clamp(1rem, 2vw, 1.25rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.service-meta, .service-copy { padding: 0.5rem clamp(0.5rem, 2vw, 1.5rem); }
.service-copy p { color: var(--muted); }
.service-meta .service-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold-soft); font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--gold-2); margin-bottom: 0.75rem; }
.service-meta .meta { color: var(--muted); }
.service-visual { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: calc(var(--r-xl) - 12px); background: var(--surface-2); }
.service-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-block:hover .service-visual img { transform: scale(1.05); }
@media (min-width: 900px) {
  .service-block { grid-template-columns: 2fr 5fr 5fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
  .service-block:nth-child(even) .service-visual { order: -1; }
  .service-block:nth-child(even) { grid-template-columns: 5fr 2fr 5fr; }
}

/* Portfolio */
.portfolio-filters { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: clamp(2rem, 4vw, 3rem); padding: 0.35rem; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); }
.filter-btn { min-height: 44px; padding: 0 1.15rem; border-radius: var(--pill); font-size: 0.86rem; font-weight: 600; color: var(--muted); transition: color 0.3s, background 0.3s; }
.filter-btn sup { font-size: 0.62rem; margin-left: 0.3rem; color: var(--gold); }
.filter-btn:hover { color: var(--heading); }
.filter-btn.is-active { color: #17120a; background: var(--gold-grad); }
.filter-btn.is-active sup { color: #17120a; }

.portfolio-grid { display: grid; gap: 1.25rem; }
.pf-card { display: flex; flex-direction: column; gap: 0.4rem; cursor: pointer; padding: 0.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.35s; animation: pfIn 0.7s var(--ease) both; }
.pf-card:hover { border-color: rgba(217, 170, 98, 0.35); }
@keyframes pfIn { from { opacity: 0; transform: translateY(24px); } }
.pf-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: calc(var(--r-lg) - 8px); background: var(--surface-2); }
.pf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pf-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: linear-gradient(to top, rgba(10, 11, 14, 0.9), rgba(10, 11, 14, 0.25)); color: var(--text); font-size: 0.9rem; line-height: 1.6;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.pf-overlay p { max-width: 30rem; transform: translateY(14px); transition: transform 0.6s var(--ease); }
.pf-card:hover .pf-media img, .pf-card:focus-visible .pf-media img { transform: scale(1.05); }
.pf-card:hover .pf-overlay, .pf-card:focus-visible .pf-overlay { opacity: 1; }
.pf-card:hover .pf-overlay p, .pf-card:focus-visible .pf-overlay p { transform: none; }
.pf-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 0.8rem 0.8rem 0.5rem; }
.pf-cat { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.pf-info h3 { margin-top: 0.35rem; font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
.pf-info p { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }
.pf-arrow { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; transition: background 0.35s, color 0.35s, transform 0.6s var(--ease); }
.pf-arrow svg { width: 18px; height: 18px; }
.pf-card:hover .pf-arrow { background: var(--gold-grad); color: #17120a; transform: rotate(45deg); }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
  .pf-card .pf-media { aspect-ratio: auto; height: clamp(280px, 28vw, 460px); }
  .pf-span-7 { grid-column: span 7; }
  .pf-span-5 { grid-column: span 5; }
  .pf-span-4 { grid-column: span 4; }
}
.pf-card--text { gap: 1.1rem; padding: clamp(1.25rem, 2vw, 1.6rem); background: radial-gradient(90% 70% at 100% 0%, rgba(217, 170, 98, 0.1), transparent 65%), var(--surface); }
.pf-text-top { display: flex; justify-content: space-between; align-items: center; }
.pf-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-2); }
.pf-ico svg { width: 22px; height: 22px; }
.pf-status { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pf-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pf-status.is-ongoing::before { background: transparent; border: 1.5px solid var(--gold); }
.pf-card--text h3 { margin-top: 0.35rem; font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
.pf-loc { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }
.pf-desc { font-size: 0.88rem; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--gold-2); }
.pf-more svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.pf-card--text:hover .pf-more svg { transform: translate(2px, -2px); }

/* Placeholder for projects without imagery */
.ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--heading);
  background: radial-gradient(80% 80% at 80% 0%, rgba(217, 170, 98, 0.2), transparent 70%), var(--surface-2);
}
.ph::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.ph > * { position: relative; }
.ph-cat { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -0.04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-loc { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.6rem; }

/* Experience page */
.experience-block { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .experience-block { grid-template-columns: 3fr 9fr; gap: 3rem; align-items: start; }
  .experience-block > div:first-child { position: sticky; top: calc(var(--nav-h) + 2rem); }
}
.exp-title { font-size: 1.75rem; margin-top: 1rem; }
.exp-count { margin-top: 0.75rem; font-size: 0.88rem; color: var(--muted); }
.exp-count b { font-family: var(--display); font-size: 2.6rem; font-weight: 600; line-height: 1; display: block; margin-bottom: 0.2rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.experience-status { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.85rem; border-radius: var(--pill); background: var(--gold-soft); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.experience-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.experience-status--ongoing::before { background: transparent; border: 1.5px solid var(--gold); }

/* Team */
.team-lead {
  position: relative; overflow: hidden; display: grid; gap: 2rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.75rem); border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: radial-gradient(70% 100% at 100% 0%, rgba(217, 170, 98, 0.22), transparent 65%), var(--surface);
}
.team-lead > * { position: relative; }
.team-lead h3 { font-size: clamp(2.1rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; margin: 0.9rem 0 1.1rem; }
.team-lead h3 em { font-size: 0.5em; letter-spacing: 0; }
.team-lead p { color: var(--muted); max-width: 34rem; }
.monogram {
  width: 64px; height: 64px; flex: none; border-radius: 20px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--gold-2); background: var(--gold-soft); border: 1px solid rgba(217, 170, 98, 0.25);
}
.team-lead .monogram { width: clamp(120px, 13vw, 170px); height: auto; aspect-ratio: 1; border-radius: 40px; font-size: clamp(2.4rem, 4vw, 3.6rem); background: var(--gold-grad); color: #17120a; border: 0; box-shadow: var(--glow); }
@media (min-width: 768px) { .team-lead { grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); } .lead-facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .team-lead { grid-template-columns: auto 1fr 18rem; } .lead-facts { grid-column: auto; grid-template-columns: 1fr; } }
.lead-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.lead-facts li { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.8rem 1rem; border-radius: var(--r-sm); background: rgba(11, 12, 15, 0.4); border: 1px solid var(--line); }
.lead-facts span { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead-facts b, .lead-facts a { font-size: 0.98rem; font-weight: 600; color: var(--heading); }
.lead-facts a:hover { color: var(--gold-2); }
.team-sub { margin-top: clamp(3rem, 6vw, 4.5rem); }
.team-core { display: grid; gap: 0.75rem; }
.tm-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.35s, transform 0.5s var(--ease); }
.tm-card:hover { border-color: rgba(217, 170, 98, 0.35); transform: translateY(-3px); }
.tm-card h3 { font-size: 1.2rem; }
.tm-role { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); margin-top: 0.3rem; }
@media (min-width: 640px) { .team-core { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-core { grid-template-columns: repeat(3, 1fr); } }
.team-list { display: grid; gap: 0.5rem; }
.tl-row { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; align-items: center; padding: 0.95rem 1.25rem; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.tl-num { font-size: 0.72rem; font-weight: 700; color: var(--gold); }
.tl-name { font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--heading); line-height: 1.25; }
.tl-role { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: right; }
@media (min-width: 900px) { .team-list { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 5fr 7fr; gap: 3rem; } }
.contact-details { display: grid; gap: 0.75rem; align-content: start; }
.contact-details h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
.contact-details > p { color: var(--muted); margin-bottom: 0.75rem; }
.contact-item { padding: 1.1rem 1.35rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.contact-item h3 { font-family: var(--sans); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.35rem; }
.contact-item p, .contact-item a { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.35; color: var(--heading); }
.contact-item a:hover { color: var(--gold-2); }
.contact-form { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line-2); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--glow); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 52px; padding: 0.75rem 1rem; border-radius: var(--r-sm);
  background: var(--bg-2); border: 1px solid var(--line-2); appearance: none;
  font-size: 1rem; color: var(--heading); transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23d9aa62' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
.form-field select option { background: var(--surface); color: var(--heading); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--faint); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 170, 98, 0.15); }
.form-field.is-invalid input, .form-field.is-invalid select, .form-field.is-invalid textarea { border-color: #e0795f; }
.field-error { font-size: 0.78rem; color: #f0937b; min-height: 1em; }
.form-success { display: none; text-align: center; padding: 3rem 1.5rem; }
.form-success.is-visible { display: block; }
.form-success svg { margin: 0 auto; color: var(--gold); }
.form-success h3 { margin: 1rem 0 0.5rem; font-size: 1.9rem; }
.form-success p { color: var(--muted); }
.map-placeholder {
  position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(2.5rem, 5vw, 4rem); aspect-ratio: 21 / 9; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; text-align: center; padding: 2rem;
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: radial-gradient(50% 70% at 50% 50%, rgba(217, 170, 98, 0.14), transparent 70%), var(--surface); color: var(--muted);
}
.map-placeholder::before { -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); }
.map-placeholder::after { content: ""; position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border: 1px solid rgba(217, 170, 98, 0.35); border-radius: 50%; z-index: -1; }
.map-placeholder > * { position: relative; z-index: 1; }
.map-frame { position: relative; overflow: hidden; margin-top: clamp(2.5rem, 5vw, 4rem); height: clamp(360px, 38vw, 480px); border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--surface); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) grayscale(0.35) contrast(0.9); }
.map-card { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; gap: 1rem; align-items: flex-start; max-width: 24rem; padding: 1.1rem; border-radius: var(--r-md); background: rgba(11, 12, 15, 0.82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.map-card p { margin: 0.25rem 0 0.75rem; font-weight: 600; color: var(--heading); line-height: 1.4; }
@media (min-width: 768px) { .map-card { left: 1.5rem; bottom: 1.5rem; right: auto; } }
.map-placeholder span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }

/* ---------- Gallery page ---------- */
.gallery-section { padding-block: clamp(3rem, 6vw, 5rem); }
.gal-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(140px, 18vw);
}
.gal-item {
  position: relative; overflow: hidden; isolation: isolate; margin: 0;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  cursor: zoom-in; min-height: 0;
}
.gal-item img, .gal-item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1s var(--ease);
}
.gal-item:hover img { transform: scale(1.04); }
.gal-wide { grid-column: span 2; }
.gal-tall { grid-row: span 2; }
.gal-video { cursor: pointer; }
.gal-play {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.45), transparent 55%);
}
.gal-play span, .gal-play {
  color: #fff;
}
.gal-play i, .gal-play svg {
  width: 52px; height: 52px; padding: 14px; border-radius: 50%;
  background: var(--gold-grad); color: #17120a; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
}
@media (min-width: 900px) {
  .gal-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(160px, 14vw);
    gap: 0.85rem;
  }
  .gal-wide { grid-column: span 2; }
  .gal-tall { grid-row: span 2; }
}

.gal-lightbox {
  position: fixed; inset: 0; z-index: calc(var(--z-modal) + 5);
  display: grid; place-items: center; padding: 1rem;
  background: rgba(5, 6, 8, 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.gal-lightbox.is-open { opacity: 1; pointer-events: auto; }
.gal-lightbox[hidden] { display: none !important; }
.gal-lightbox.is-open[hidden] { display: grid !important; }
.gal-lightbox-stage {
  max-width: min(1100px, 96vw); max-height: 88vh; width: 100%;
  display: grid; place-items: center;
}
.gal-lightbox-stage img, .gal-lightbox-stage video {
  max-width: 100%; max-height: 88vh; width: auto; height: auto;
  border-radius: var(--r-md); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
}
.gal-lightbox-stage video { width: min(960px, 96vw); background: #000; }
.gal-lightbox-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.gal-lightbox-close svg { width: 20px; height: 20px; }
.gal-lightbox-close:hover { background: var(--gold-grad); color: #17120a; transform: rotate(90deg); }

/* ---------- Modal (project drawer) ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.75s; }
.modal.is-open { visibility: visible; pointer-events: auto; transition: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 6, 8, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.6s var(--ease); }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: absolute; top: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: min(960px, calc(100% - 1.5rem));
  border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--surface); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(calc(100% + 2rem)); transition: transform 0.75s var(--ease-io);
}
.modal.is-open .modal-panel { transform: none; }
.modal-close {
  position: sticky; top: 1rem; z-index: 3; display: grid; place-items: center;
  width: 50px; height: 50px; margin: 1rem 1rem calc(-50px - 1rem) auto; border-radius: 50%;
  background: rgba(16, 18, 23, 0.7); border: 1px solid var(--line-2); color: var(--heading);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.3s, color 0.3s, transform 0.5s var(--ease);
}
.modal-close svg { width: 20px; height: 20px; }
.modal-close:hover { background: var(--gold); color: #17120a; transform: rotate(90deg); }
.md-hero { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin: 0.75rem; border-radius: calc(var(--r-xl) - 10px); background: var(--surface-2); }
.md-hero img { width: 100%; height: 100%; object-fit: cover; }
.md-body { padding: clamp(1.25rem, 4vw, 3rem); }
.md-body h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; margin-top: 1rem; }
.md-loc { color: var(--muted); margin-top: 0.6rem; }
.md-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; margin-block: 1.75rem; }
.md-meta div { padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); }
.md-meta dt { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.md-meta dd { font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--heading); margin-top: 0.25rem; }
.md-desc { font-size: 1.03rem; line-height: 1.8; color: var(--muted); max-width: 46rem; }
.md-sub { font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); margin: 2.25rem 0 0.9rem; }
.md-features { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.md-features li { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.95rem; border-radius: var(--pill); background: var(--bg-2); border: 1px solid var(--line); font-size: 0.88rem; color: var(--text); }
.md-features li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); }
.md-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.6rem; }
.md-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.md-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.cursor-inner {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: #17120a; font-size: 0.78rem; font-weight: 700;
  transform: scale(0); transition: transform 0.45s var(--ease);
}
.cursor.is-active .cursor-inner { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Motion initial states (only when JS animation is active) ---------- */
.has-motion .reveal { opacity: 0; transform: translateY(32px); }
.has-motion .reveal-stagger > * { opacity: 0; transform: translateY(24px); }
.has-motion [data-hx] { opacity: 0; }
.has-motion .hx-title .line > span, .has-motion .page-hero h1 .line > span { transform: translateY(105%); }
.has-motion .hx-frame { clip-path: inset(100% 0 0 0 round 36px); }
.has-motion .page-hero .eyebrow, .has-motion .page-hero .lead, .has-motion .page-hero-bg { opacity: 0; }
