/* =========================================================
   ONISH INFRA — Premium Real Estate & Infrastructure
   ========================================================= */

:root {
  --ink: #0a1216;
  --ink-2: #0f1b20;
  --ink-3: #16262c;
  --line-dark: rgba(255, 255, 255, 0.1);
  --paper: #f5f1e9;
  --paper-2: #ebe4d6;
  --white: #ffffff;
  --gold: #c8a45c;
  --gold-2: #e4c98c;
  --gold-3: #9c7a3a;
  --teal: #3d8ea5;
  --teal-2: #7cc3d6;
  --text: #1a2327;
  --muted: #6a7478;
  --muted-light: rgba(255, 255, 255, 0.62);
  --line: rgba(10, 18, 22, 0.12);

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-ink2 { background: var(--ink-2); color: var(--white); }
.section-cream { background: var(--paper-2); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10001; padding: 10px 16px;
  background: var(--gold); color: var(--ink); border-radius: 8px; transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-3);
}
.section-dark .eyebrow, .section-ink2 .eyebrow, .on-dark .eyebrow { color: var(--gold-2); }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.eyebrow.no-line::before { display: none; }

.display-xl { font-size: clamp(48px, 8.4vw, 128px); line-height: 0.95; }
.display-lg { font-size: clamp(40px, 5.6vw, 84px); line-height: 1; }
.display-md { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.05; }
.display-sm { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; }
.italic, em.gold { font-style: italic; }
.gold { color: var(--gold); }
.section-dark .gold, .section-ink2 .gold { color: var(--gold-2); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; color: var(--muted); }
.section-dark .lead, .section-ink2 .lead, .on-dark .lead { color: var(--muted-light); }
.text-muted { color: var(--muted); }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 84px); max-width: 780px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; justify-items: center; }
.section-head.split {
  max-width: none; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), box-shadow .5s var(--ease), transform .4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--gold); transform: translateY(101%) scale(1.05);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0) scale(1.05); }
.btn:hover { color: var(--ink); box-shadow: 0 18px 40px -18px rgba(200, 164, 92, 0.8); }
.btn .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

.btn-gold { --bg: var(--gold); --fg: var(--ink); }
.btn-gold::before { background: var(--white); }
.btn-outline {
  --bg: transparent; --fg: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn-light { --bg: var(--white); --fg: var(--ink); }
.btn-sm { padding: 13px 22px; font-size: 11.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; position: relative; padding-bottom: 6px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--ink); color: var(--white);
  display: grid; place-items: center; transition: clip-path 1.1s var(--ease-in-out), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 22px; }
.preloader .logo-mark { width: 92px; height: 92px; }
.preloader .logo-mark .draw {
  stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.6s var(--ease) forwards;
}
.preloader .logo-mark .draw:nth-child(2) { animation-delay: .15s; }
.preloader .logo-mark .draw:nth-child(3) { animation-delay: .3s; }
.preloader .logo-mark .draw:nth-child(4) { animation-delay: .45s; }
.preloader .logo-mark .draw:nth-child(5) { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader-word {
  font-family: var(--f-display); font-size: 34px; letter-spacing: 0.34em; padding-left: .34em;
  overflow: hidden;
}
.preloader-word span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) .4s forwards; }
.preloader-sub { font-size: 11px; letter-spacing: .5em; color: var(--gold-2); text-transform: uppercase; opacity: 0; animation: fadeIn 1s ease .9s forwards; }
.preloader-bar { width: 180px; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.preloader-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.preloader-count { position: absolute; right: var(--gutter); bottom: 28px; font-family: var(--f-display); font-size: clamp(60px, 10vw, 140px); line-height: 1; color: rgba(255,255,255,.07); }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  display: grid; place-items: center;
}
.curtain-panel {
  position: absolute; inset: 0; background: var(--ink);
  transform: translateY(100%); transition: transform .8s var(--ease-in-out);
}
.curtain-panel.p2 { background: var(--gold); transition-delay: 0s; }
.curtain-logo { position: relative; opacity: 0; transition: opacity .3s ease; color: var(--white); display: grid; justify-items: center; gap: 12px; }
.curtain-logo .logo-mark { width: 64px; height: 64px; }
.curtain-logo span { font-family: var(--f-display); letter-spacing: .34em; font-size: 22px; padding-left: .34em; }

html.is-entering .curtain-panel { transform: translateY(0); transition: none; }
html.is-entering .curtain-logo { opacity: 1; transition: none; }
html.is-entered .curtain-panel { transform: translateY(-100%); }
html.is-entered .curtain-panel.p2 { transition-delay: .08s; }
html.is-leaving .curtain { pointer-events: all; }
html.is-leaving .curtain-panel { transform: translateY(0); }
html.is-leaving .curtain-panel.p2 { transition-delay: 0s; }
html.is-leaving .curtain-panel:not(.p2) { transition-delay: .1s; }
html.is-leaving .curtain-logo { opacity: 1; transition-delay: .5s; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring {
  width: 40px; height: 40px; border: 1px solid rgba(200, 164, 92, 0.7);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease);
}
.cursor-ring span {
  font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity .3s ease;
}
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; background: rgba(200, 164, 92, 0.12); }
.cursor.is-label .cursor-ring { width: 92px; height: 92px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor-ring span { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
  transform-origin: left; transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  color: var(--white);
  transition: transform .6s var(--ease), background .5s ease, height .5s var(--ease), box-shadow .5s ease, color .4s ease;
}
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(10, 18, 22, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { transform: none; background: transparent; box-shadow: none; backdrop-filter: none; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; position: relative; z-index: 2; }
.brand .logo-mark { width: 44px; height: 44px; transition: transform .8s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--f-display); font-weight: 600; font-size: 25px; letter-spacing: 0.2em; }
.brand-text em { font-style: normal; font-size: 10.5px; letter-spacing: 0.72em; color: var(--gold-2); margin-top: 5px; padding-left: 2px; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav > a, .nav-drop > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82); transition: color .3s ease;
}
.main-nav > a::after, .nav-drop > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.main-nav > a:hover, .nav-drop:hover > a, .main-nav a.is-active { color: var(--white); }
.main-nav > a:hover::after, .nav-drop:hover > a::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-drop { position: relative; }
.nav-drop > a svg { width: 10px; height: 10px; transition: transform .4s var(--ease); }
.nav-drop:hover > a svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 290px;
  background: var(--white); color: var(--ink); border-radius: 14px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px);
  transition: opacity .35s ease, transform .5s var(--ease), visibility 0s .5s;
}
.drop-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.drop-menu a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; transition: background .3s ease; }
.drop-menu a:hover { background: var(--paper); }
.drop-menu img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; }
.drop-menu strong { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 600; line-height: 1.1; }
.drop-menu small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drop-menu .all-link { justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; padding-top: 14px; }

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none; position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28); margin-left: auto;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .9s var(--ease-in-out); visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px; font-family: var(--f-display);
  font-size: clamp(38px, 10vw, 60px); line-height: 1.15; overflow: hidden;
}
.mobile-menu nav a > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
.mobile-menu nav a small { font-family: var(--f-body); font-size: 11px; color: var(--gold-2); letter-spacing: .2em; }
.mobile-menu nav a.sub { font-size: clamp(22px, 6vw, 30px); padding-left: 38px; color: var(--gold-2); }
body.menu-open .mobile-menu nav a > span { transform: none; }
body.menu-open .mobile-menu nav a:nth-child(1) > span { transition-delay: .3s; }
body.menu-open .mobile-menu nav a:nth-child(2) > span { transition-delay: .36s; }
body.menu-open .mobile-menu nav a:nth-child(3) > span { transition-delay: .42s; }
body.menu-open .mobile-menu nav a:nth-child(4) > span { transition-delay: .48s; }
body.menu-open .mobile-menu nav a:nth-child(5) > span { transition-delay: .54s; }
body.menu-open .mobile-menu nav a:nth-child(6) > span { transition-delay: .6s; }
.mobile-menu-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted-light); opacity: 0; transition: opacity .6s ease .7s; }
body.menu-open .mobile-menu-foot { opacity: 1; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: var(--white);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--ink);
}
.hero-media { position: absolute; inset: -12% 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero.is-in .hero-media video, .hero.is-in .hero-media img { transform: scale(1); transition: transform 2.8s var(--ease); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 22, 0.55) 0%, rgba(10, 18, 22, 0.1) 35%, rgba(10, 18, 22, 0.35) 62%, rgba(10, 18, 22, 0.94) 100%),
    linear-gradient(90deg, rgba(10, 18, 22, 0.6) 0%, rgba(10, 18, 22, 0) 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / 4) 100%;
  background-position: var(--gutter) 0;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-content { position: relative; width: 100%; padding-bottom: clamp(56px, 8vh, 110px); padding-top: 140px; }
.hero-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.hero-kicker .pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(228, 201, 140, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228,201,140,.7);} 70% { box-shadow: 0 0 0 12px rgba(228,201,140,0);} 100% { box-shadow: 0 0 0 0 rgba(228,201,140,0);} }
.hero h1 { max-width: 13ch; }
.hero h1 .rotator {
  display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--gold-2); font-style: italic;
}
.rotator > span {
  grid-area: 1 / 1; transform: translateY(105%); transition: transform 1s var(--ease);
}
.rotator > span.is-current { transform: translateY(0); }
.rotator > span.is-leaving { transform: translateY(-105%); }
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 44px; flex-wrap: wrap;
}
.hero-bottom p { max-width: 520px; color: rgba(255, 255, 255, 0.78); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-side {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 18px;
}
.hero-side::before { content: ""; width: 1px; height: 70px; background: rgba(255,255,255,.35); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.scroll-cue i { width: 1px; height: 46px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold-2); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%);} 60%,100% { transform: translateY(100%);} }

.sound-toggle {
  position: absolute; left: var(--gutter); bottom: 30px; z-index: 2; display: none;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; color: var(--white);
  background: var(--ink); overflow: hidden;
}
.page-hero .hero-media::after {
  background: linear-gradient(180deg, rgba(10,18,22,.6) 0%, rgba(10,18,22,.3) 40%, rgba(10,18,22,.92) 100%);
}
.page-hero .hero-content { padding-bottom: clamp(48px, 7vw, 96px); }
.breadcrumb {
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65);
}
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span.sep { width: 18px; height: 1px; background: currentColor; opacity: .6; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 24px; max-width: 620px; }

/* ---------- Reveal & split animations ---------- */
.js [data-reveal] { opacity: 0; transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(60px); }
.js [data-reveal="down"] { transform: translateY(-40px); }
.js [data-reveal="left"] { transform: translateX(-70px); }
.js [data-reveal="right"] { transform: translateX(70px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0); }
.js [data-reveal="clip-x"] { opacity: 1; clip-path: inset(0 100% 0 0); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal^="clip"].is-visible { clip-path: inset(0 0 0 0); }

.split-line { display: block; overflow: hidden; padding: .06em 0 .2em; margin: -.06em 0 -.2em; }
.split-word { display: inline-block; white-space: nowrap; }
.js [data-split] .split-inner { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: left bottom; transition: transform 1.25s var(--ease); transition-delay: calc(var(--i, 0) * 0.06s + var(--d, 0s)); }
.js [data-split].is-visible .split-inner { transform: none; }

.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius); }
.img-reveal img, .img-reveal video { width: 100%; height: 100%; object-fit: cover; }
.js .img-reveal[data-reveal] img, .js .img-reveal[data-reveal] video { transform: scale(1.3); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js .img-reveal[data-reveal].is-visible img, .js .img-reveal[data-reveal].is-visible video { transform: scale(1); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; background: var(--gold); color: var(--ink);
  padding: 22px 0; white-space: nowrap; border-block: 1px solid rgba(0,0,0,.08);
}
.marquee.dark { background: var(--ink); color: var(--white); border-color: var(--line-dark); }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-family: var(--f-display); font-size: clamp(26px, 3vw, 42px); font-style: italic;
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--ink); opacity: .6; }
.marquee.dark .marquee-track span::after { color: var(--gold); opacity: 1; }
.marquee-track span.outline { color: transparent; -webkit-text-stroke: 1px currentColor; }
.marquee .marquee-track span.outline { -webkit-text-stroke-color: var(--ink); }
.marquee.dark .marquee-track span.outline { -webkit-text-stroke-color: rgba(255,255,255,.7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About intro (home) ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
}
.about-visual { position: relative; }
.about-visual .img-main { aspect-ratio: 4 / 5; }
.about-visual .img-float {
  position: absolute; width: 48%; aspect-ratio: 1; right: -8%; bottom: -10%;
  border: 8px solid var(--paper); border-radius: var(--radius);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.45);
}
.since-badge {
  position: absolute; left: -26px; top: 36px; width: 156px; height: 156px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; color: var(--ink); background: var(--gold);
  box-shadow: 0 30px 60px -20px rgba(156, 122, 58, .7); z-index: 2;
}
.since-badge .ring { position: absolute; inset: 8px; animation: spin 22s linear infinite; }
.since-badge .ring text { font-size: 8.2px; letter-spacing: 3.2px; font-weight: 700; fill: var(--ink); text-transform: uppercase; }
.since-badge b { font-family: var(--f-display); font-size: 40px; font-weight: 600; line-height: 1; }
.since-badge small { display: block; font-size: 9px; letter-spacing: .3em; font-weight: 700; margin-bottom: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

.about-copy h2 { margin: 22px 0 28px; }
.about-copy .lead { margin-bottom: 20px; }
.signature-row { display: flex; align-items: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.mini-stats { display: flex; gap: 38px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.mini-stats div b { display: block; font-family: var(--f-display); font-size: 44px; font-weight: 500; line-height: 1; color: var(--ink); }
.mini-stats div > span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.stat { position: relative; padding: 48px 32px; border-right: 1px solid var(--line-dark); overflow: hidden; }
.stat:last-child { border-right: 0; }
.stat::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(200,164,92,.14), transparent);
  transform: translateY(100%); transition: transform .8s var(--ease);
}
.stat:hover::before { transform: none; }
.stat-num { position: relative; display: flex; align-items: flex-start; font-family: var(--f-display); font-size: clamp(56px, 6vw, 92px); line-height: 1; color: var(--white); }
.stat-num sup { font-size: .4em; color: var(--gold-2); margin-left: 4px; top: .2em; position: relative; }
.stat p { position: relative; margin-top: 16px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }

/* ---------- Featured project ---------- */
.feature-project {
  position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 0; min-height: 640px;
  border-radius: 26px; overflow: hidden; background: var(--ink-3); color: var(--white);
}
.feature-media { position: relative; overflow: hidden; min-height: 420px; }
.feature-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feature-project:hover .feature-media img { transform: scale(1.05); }
.feature-media .status-chip { position: absolute; top: 26px; left: 26px; z-index: 2; }
.status-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  background: rgba(10,18,22,.72); backdrop-filter: blur(10px); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 0 0 rgba(95,208,138,.7); animation: pulseG 2s infinite; }
@keyframes pulseG { 0% { box-shadow: 0 0 0 0 rgba(95,208,138,.6);} 70% { box-shadow: 0 0 0 10px rgba(95,208,138,0);} 100% { box-shadow: 0 0 0 0 rgba(95,208,138,0);} }
.feature-body { padding: clamp(32px, 4vw, 60px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.feature-body .num { font-family: var(--f-display); font-size: 16px; letter-spacing: .3em; color: var(--gold-2); }
.feature-body h3 { font-size: clamp(40px, 4.2vw, 64px); }
.feature-body p { color: var(--muted-light); }
.spec-list { list-style: none; padding: 0; margin: 8px 0 10px; display: grid; gap: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.spec-list li span:first-child { color: var(--muted-light); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.spec-list li span:last-child { text-align: right; font-weight: 600; }
.spec-list.light li { border-color: var(--line); }
.spec-list.light li span:first-child { color: var(--muted); }

/* ---------- Value cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  position: relative; padding: 42px 36px 38px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), color .5s ease, border-color .5s ease;
  transform-style: preserve-3d;
}
.value-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .9s var(--ease);
}
.value-card:hover { color: var(--white); box-shadow: 0 40px 80px -40px rgba(10,18,22,.6); border-color: transparent; }
.value-card:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.value-card .icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 30px;
  background: var(--paper); color: var(--gold-3); transition: background .5s ease, color .5s ease, transform .7s var(--ease);
}
.value-card .icon svg { width: 30px; height: 30px; }
.value-card:hover .icon { background: var(--gold); color: var(--ink); transform: rotate(-8deg) scale(1.05); }
.value-card h3 { font-size: 30px; margin-bottom: 14px; }
.value-card p { color: var(--muted); font-size: 15px; transition: color .5s ease; }
.value-card:hover p { color: var(--muted-light); }
.value-card .idx { position: absolute; top: 30px; right: 32px; font-family: var(--f-display); font-size: 18px; color: var(--gold-3); letter-spacing: .1em; }

/* ---------- Horizontal scroll (progress videos) ---------- */
.hscroll { position: relative; background: var(--ink); color: var(--white); }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.hscroll-track { display: flex; gap: 26px; padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); will-change: transform; }
.hs-card {
  position: relative; flex: 0 0 clamp(300px, 38vw, 560px); aspect-ratio: 16 / 10; border-radius: var(--radius);
  overflow: hidden; background: var(--ink-3); cursor: pointer;
}
.hs-card video, .hs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s ease; }
.hs-card img { z-index: 1; transition: opacity .6s ease, transform 1.2s var(--ease); }
.hs-card.is-playing img { opacity: 0; }
.hs-card:hover video, .hs-card:hover img { transform: scale(1.06); }
.hs-card::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 45%, rgba(10,18,22,.9)); pointer-events: none; }
.hs-card .meta { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hs-card .meta small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.hs-card .meta h4 { font-size: clamp(22px, 2vw, 30px); }
.play-btn {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3);
  transition: background .4s ease, transform .6s var(--ease);
}
.play-btn svg { width: 16px; height: 16px; margin-left: 3px; }
.hs-card:hover .play-btn, .g-item:hover .play-btn { background: var(--gold); color: var(--ink); transform: scale(1.1); border-color: var(--gold); }
.hscroll-progress { margin: 44px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 0; height: 1px; background: var(--line-dark); position: relative; }
.hscroll-progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.hs-count { font-family: var(--f-display); font-size: 22px; color: var(--muted-light); }
.hs-count b { color: var(--white); font-weight: 500; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--line); }
.process .line-fill { position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--ease); }
.process.is-visible .line-fill { transform: scaleX(1); }
.step { position: relative; padding-right: 30px; }
.step .knot {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--paper);
  border: 1px solid var(--line); font-family: var(--f-display); font-size: 24px; margin-bottom: 30px; position: relative; z-index: 1;
  transition: background .5s ease, color .5s ease, border-color .5s ease, transform .6s var(--ease);
}
.step:hover .knot { background: var(--ink); color: var(--gold-2); border-color: var(--ink); transform: translateY(-6px); }
.step h4 { font-size: 28px; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--white); background: var(--ink); padding: clamp(110px, 14vw, 200px) 0; text-align: center; }
.cta-band .hero-media::after { background: rgba(10,18,22,.72); }
.cta-band .container { position: relative; display: grid; justify-items: center; gap: 30px; }
.cta-band h2 { max-width: 16ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding: 100px 0 70px; }
.footer-brand p { margin-top: 24px; max-width: 340px; font-size: 15px; }
.site-footer h5 { margin: 0 0 22px; color: var(--white); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { position: relative; display: inline-flex; align-items: center; transition: color .3s ease, transform .5s var(--ease); }
.footer-links a::before { content: ""; width: 0; height: 1px; margin-right: 0; background: var(--gold); transition: width .5s var(--ease), margin .5s var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { width: 16px; margin-right: 8px; }
.footer-contact { display: grid; gap: 14px; font-size: 15px; }
.footer-contact .row { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--gold-2); }
.placeholder-val { color: rgba(255,255,255,.4); font-style: italic; }
.footer-giant {
  font-family: var(--f-display); font-size: clamp(80px, 18vw, 290px); line-height: .8; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); text-align: center; white-space: nowrap;
  user-select: none; margin-bottom: -.12em;
}
.footer-giant span { display: inline-block; transition: color .6s ease, -webkit-text-stroke-color .6s ease; }
.footer-giant span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.14); opacity: 0; transform: translateY(20px) scale(.8);
  transition: opacity .5s ease, transform .6s var(--ease), background .3s ease;
}
.to-top.is-shown { opacity: 1; transform: none; }
.to-top:hover { background: var(--gold); color: var(--ink); }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 157; stroke-dashoffset: 157; }
.to-top svg.arr { width: 18px; height: 18px; }

/* ---------- About page ---------- */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.story-sticky { position: sticky; top: 130px; }
.big-year {
  font-family: var(--f-display); font-size: clamp(120px, 18vw, 260px); line-height: .85; color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-3); letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2)) no-repeat;
  -webkit-background-clip: text; background-clip: text; background-size: var(--fill, 0%) 100%;
}
.story-copy .display-md { margin-bottom: 30px; }
.story-copy p { font-size: 17px; color: var(--muted); }
.story-copy p.first::first-letter {
  float: left; font-family: var(--f-display); font-size: 88px; line-height: .8; padding: 8px 14px 0 0; color: var(--gold-3);
}

.tabs { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.tab-list { display: grid; gap: 6px; }
.tab-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: 26px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 48px); color: rgba(255,255,255,.35);
  transition: color .5s ease, padding .6s var(--ease);
}
.tab-btn span.n { font-family: var(--f-body); font-size: 12px; letter-spacing: .2em; color: var(--gold-2); opacity: 0; transition: opacity .4s ease; }
.tab-btn:hover { color: rgba(255,255,255,.7); }
.tab-btn.is-active { color: var(--white); padding-left: 18px; }
.tab-btn.is-active span.n { opacity: 1; }
.tab-panels { position: relative; min-height: 380px; }
.tab-panel {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; gap: 26px; align-content: center;
  opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity .6s ease, transform .8s var(--ease), visibility 0s .8s;
}
.tab-panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
.tab-panel h3 { font-size: clamp(30px, 3vw, 44px); }
.tab-panel p { color: var(--muted-light); font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1216' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline .tl-fill { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 40px 0; }
.tl-item::before {
  content: ""; position: absolute; left: 50%; top: 52px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--gold); transform: translateX(-50%); z-index: 1;
  transition: background .5s ease, box-shadow .5s ease;
}
.tl-item.is-visible::before { background: var(--gold); box-shadow: 0 0 0 8px rgba(200,164,92,.2); }
.tl-item .tl-year { text-align: right; font-family: var(--f-display); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--gold-3); }
.tl-item .tl-body h4 { font-size: 28px; margin-bottom: 10px; }
.tl-item .tl-body p { color: var(--muted); }
.tl-item:nth-child(odd of .tl-item) .tl-year { order: 2; text-align: left; }
.tl-item:nth-child(odd of .tl-item) .tl-body { order: 1; text-align: right; }

.brand-showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.brand-showcase .img-reveal { aspect-ratio: 4 / 3; }

/* ---------- Projects page ---------- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 50px; }
.filter-btn {
  position: relative; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .4s ease, background .4s ease, border-color .4s ease;
}
.filter-btn sup { font-size: 10px; margin-left: 4px; color: var(--gold-3); }
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-btn.is-active sup { color: var(--gold-2); }
.section-dark .filter-btn { border-color: var(--line-dark); color: var(--muted-light); }
.section-dark .filter-btn:hover { color: var(--white); border-color: var(--white); }
.section-dark .filter-btn.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.section-dark .filter-btn.is-active sup { color: var(--ink); }

.project-card {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 26px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); min-height: 600px;
  transition: box-shadow .8s var(--ease), transform .8s var(--ease);
}
.project-card:hover { box-shadow: 0 50px 100px -50px rgba(10,18,22,.55); transform: translateY(-6px); }
.project-card .pc-media { position: relative; overflow: hidden; }
.project-card .pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.project-card:hover .pc-media img { transform: scale(1.06); }
.project-card .pc-media .status-chip { position: absolute; top: 24px; left: 24px; }
.project-card .pc-body { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.project-card h3 { font-size: clamp(40px, 4vw, 60px); }
.project-card p { color: var(--muted); }
.empty-state {
  display: grid; place-items: center; text-align: center; gap: 16px; padding: 90px 30px; border-radius: 26px;
  border: 1px dashed rgba(10,18,22,.2); color: var(--muted);
}
.empty-state .icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--gold-3); }
.empty-state .icon svg { width: 30px; height: 30px; }
.empty-state h4 { font-size: 32px; color: var(--ink); }
[data-filter-item] { transition: opacity .5s ease, transform .7s var(--ease); }
[data-filter-item].is-filtered-out { opacity: 0; transform: scale(.96); }
[data-filter-item][hidden] { display: none !important; }

/* ---------- Project detail ---------- */
.overview-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.overview-grid aside { position: sticky; top: 120px; padding: 40px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.overview-grid aside .status-chip { background: var(--ink); }
.overview-grid aside h4 { font-size: 30px; margin-bottom: 14px; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.highlight { background: var(--ink); padding: 44px 38px; position: relative; overflow: hidden; transition: background .6s ease; }
.highlight:hover { background: var(--ink-3); }
.highlight .h-icon { width: 52px; height: 52px; color: var(--gold-2); margin-bottom: 26px; transition: transform .8s var(--ease); }
.highlight:hover .h-icon { transform: translateY(-6px) scale(1.08); }
.highlight h4 { font-size: 28px; margin-bottom: 12px; }
.highlight p { color: var(--muted-light); font-size: 15px; }
.highlight .bg-n { position: absolute; right: 24px; top: 16px; font-family: var(--f-display); font-size: 80px; line-height: 1; color: rgba(255,255,255,.04); transition: color .6s ease; }
.highlight:hover .bg-n { color: rgba(200,164,92,.14); }

.video-feature { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); cursor: pointer; }
.video-feature video, .video-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-feature .vf-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,18,22,.35); transition: background .6s ease, opacity .6s ease;
}
.video-feature:hover .vf-overlay { background: rgba(10,18,22,.15); }
.video-feature.is-playing .vf-overlay { opacity: 0; pointer-events: none; }
.big-play {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink);
  position: relative; transition: transform .6s var(--ease);
}
.big-play::before, .big-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold-2); animation: ripple 2.6s var(--ease) infinite; }
.big-play::after { animation-delay: 1.3s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.big-play svg { width: 30px; height: 30px; margin-left: 5px; }
.video-feature:hover .big-play { transform: scale(1.08); }

.progress-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.progress-grid .g-item:first-child { grid-column: span 2; grid-row: span 2; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3; column-gap: 20px; }
.g-item {
  position: relative; display: block; width: 100%; margin: 0 0 20px; break-inside: avoid; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: var(--ink-3); text-align: left;
}
.progress-grid .g-item { margin: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s ease; }
.g-item.tall img { aspect-ratio: 9 / 16; }
.g-item.wide img { aspect-ratio: 16 / 9; }
.g-item.square img { aspect-ratio: 1; }
.g-item video.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.g-item.is-playing video.preview { opacity: 1; }
.g-item:hover img { transform: scale(1.07); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,22,0) 38%, rgba(10,18,22,.55) 62%, rgba(10,18,22,.94)); opacity: .9; transition: opacity .6s ease; }
.g-item:hover::after { opacity: 1; }
.g-cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: var(--white);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.g-cap small { display: block; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.g-cap strong { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.1; display: block; }
.g-cap .play-btn { width: 46px; height: 46px; }
.g-item .zoom-ic {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px);
  transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .4s ease;
}
.g-item:hover .zoom-ic { transform: none; opacity: 1; }
.g-item .zoom-ic svg { width: 18px; height: 18px; }
.g-item .dur { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(10,18,22,.6); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .1em; backdrop-filter: blur(6px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 5000; background: rgba(6, 11, 13, 0.96); color: var(--white);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility 0s .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); gap: 20px; }
.lb-count { font-family: var(--f-display); font-size: 22px; }
.lb-close { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: background .3s ease, transform .6s var(--ease); }
.lb-close:hover { background: var(--gold); color: var(--ink); transform: rotate(90deg); }
.lb-close svg { width: 20px; height: 20px; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(16px, 8vw, 120px); min-height: 0; }
.lb-stage img, .lb-stage video {
  max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100svh - 200px); border-radius: 12px; object-fit: contain;
  transform: scale(.94); opacity: 0; transition: transform .7s var(--ease), opacity .5s ease;
}
.lb-stage .is-in { transform: none; opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; background: rgba(10,18,22,.4); transition: background .3s ease, color .3s ease;
}
.lb-nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-nav svg { width: 20px; height: 20px; }
.lb-prev { left: var(--gutter); }
.lb-next { right: var(--gutter); }
.lb-caption { text-align: center; padding: 18px var(--gutter) 28px; }
.lb-caption small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.lb-caption strong { font-family: var(--f-display); font-weight: 500; font-size: 26px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -90px; position: relative; z-index: 3; }
.contact-card {
  position: relative; padding: 38px 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -40px rgba(10,18,22,.4); overflow: hidden; transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 50px 90px -40px rgba(10,18,22,.5); }
.contact-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.contact-card:hover::after { transform: none; }
.contact-card .icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); margin-bottom: 26px; }
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card h4 { font-size: 26px; margin-bottom: 10px; }
.contact-card p, .contact-card address { font-style: normal; color: var(--muted); font-size: 15.5px; }
.contact-card .placeholder-val { color: var(--muted); opacity: .75; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: stretch; }
.form-card { padding: clamp(30px, 4vw, 54px); border-radius: 26px; background: var(--ink); color: var(--white); }
.form-card h3 { font-size: clamp(34px, 3.4vw, 50px); margin: 16px 0 12px; }
.form-card > p { color: var(--muted-light); margin-bottom: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 0 10px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.22);
  color: var(--white); outline: none; border-radius: 0; transition: border-color .4s ease; font-size: 16px;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field label {
  position: absolute; left: 0; top: 22px; color: rgba(255,255,255,.55); font-size: 15px; pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease), color .3s ease;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-22px) scale(.78); color: var(--gold-2); }
.field .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field input:focus ~ .bar, .field textarea:focus ~ .bar, .field select:focus ~ .bar { transform: scaleX(1); }
.field .err { display: block; font-size: 12px; color: #ff9b8a; height: 0; overflow: hidden; transition: height .3s ease; }
.field.has-error .err { height: 20px; margin-top: 6px; }
.field.has-error input, .field.has-error textarea { border-color: #ff9b8a; }
.field .chev { position: absolute; right: 0; top: 26px; width: 14px; height: 14px; pointer-events: none; color: var(--gold-2); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.form-foot small { color: var(--muted-light); font-size: 12.5px; max-width: 280px; }

.map-wrap { position: relative; border-radius: 26px; overflow: hidden; min-height: 560px; background: var(--paper-2); border: 1px solid var(--line); }
#map { position: absolute; inset: 0; z-index: 1; }
.map-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 500; padding: 22px 24px; border-radius: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.35);
}
.map-card strong { font-family: var(--f-display); font-size: 24px; font-weight: 600; display: block; line-height: 1.1; }
.map-card > div > span { font-size: 13px; color: var(--muted); }
.map-marker { position: relative; width: 26px; height: 26px; }
.map-marker .core { position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); z-index: 2; }
.map-marker .pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(200,164,92,.5); animation: mapPulse 2s ease-out infinite; }
.map-marker .pulse.p2 { animation-delay: 1s; }
@keyframes mapPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.leaflet-control-layers { border-radius: 12px !important; font-family: var(--f-body); }
.leaflet-popup-content-wrapper { border-radius: 14px !important; font-family: var(--f-body); }
.leaflet-popup-content { margin: 16px 18px !important; line-height: 1.55 !important; }
.leaflet-popup-content strong { font-family: var(--f-display); font-size: 20px; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 6000; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 14px; background: var(--white); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); transition: transform .7s var(--ease); max-width: calc(100% - 32px);
}
.toast.is-shown { transform: translate(-50%, 0); }
.toast .t-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.toast .t-ic svg { width: 16px; height: 16px; }

/* ---------- Misc ---------- */
.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); }
.divider-ornament { display: flex; align-items: center; gap: 16px; color: var(--gold-3); }
.divider-ornament::before, .divider-ornament::after { content: ""; height: 1px; width: 60px; background: currentColor; opacity: .5; }
.quote-block { text-align: center; max-width: 980px; margin: 0 auto; }
.quote-block blockquote { margin: 30px 0 26px; font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 54px); line-height: 1.2; font-style: italic; }
.quote-block cite { font-style: normal; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav > a, .nav-drop > a { padding: 10px 11px; font-size: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .about-grid, .story-grid, .tabs, .brand-showcase, .overview-grid, .contact-grid, .split-2 { grid-template-columns: 1fr; }
  .story-sticky, .overview-grid aside { position: static; }
  .feature-project, .project-card { grid-template-columns: 1fr; }
  .feature-media, .project-card .pc-media { min-height: 0; aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .process::before, .process .line-fill { display: none; }
  .contact-cards { grid-template-columns: 1fr; margin-top: -60px; }
  .gallery-grid { columns: 2; }
  .section-head.split { grid-template-columns: 1fr; }
  .tab-panels { min-height: 440px; }
  .hero-side { display: none; }
  .about-visual { margin: 0 8% 60px 0; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .brand .logo-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: 21px; }
  .cards-3, .process, .highlight-grid, .form-grid, .progress-grid { grid-template-columns: 1fr; }
  .progress-grid .g-item:first-child { grid-column: auto; grid-row: auto; }
  .gallery-grid { columns: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 50px; }
  .stat { padding: 34px 18px; }
  .since-badge { width: 118px; height: 118px; left: -10px; top: 18px; }
  .since-badge b { font-size: 30px; }
  .since-badge .ring text { font-size: 7px; letter-spacing: 2px; }
  .mini-stats { gap: 24px; flex-wrap: wrap; }
  .timeline::before, .timeline .tl-fill { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding: 26px 0 26px 40px; }
  .tl-item::before { left: 8px; top: 34px; }
  .tl-item .tl-year, .tl-item:nth-child(odd of .tl-item) .tl-year { order: 0; text-align: left; }
  .tl-item .tl-body, .tl-item:nth-child(odd of .tl-item) .tl-body { order: 1; text-align: left; }
  .hscroll-head { flex-direction: column; align-items: flex-start; }
  .hero-bottom { margin-top: 30px; }
  .hero-actions .btn { padding: 15px 22px; }
  .scroll-cue { display: none; }
  .map-wrap { min-height: 0; display: flex; flex-direction: column; }
  #map { position: relative; inset: auto; height: 380px; }
  .map-card { position: relative; left: auto; right: auto; bottom: auto; border-radius: 0; box-shadow: none; background: var(--white); }
  .lb-nav { top: auto; bottom: -70px; transform: none; width: 48px; height: 48px; }
  .lb-stage { padding-bottom: 70px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .highlight { padding: 34px 26px; }
  .tab-panels { min-height: 520px; }
}

/* Horizontal scroll falls back to swipe on small/touch screens */
.hscroll.is-native { height: auto !important; }
.hscroll.is-native .hscroll-sticky { position: relative; height: auto; padding: clamp(80px, 11vw, 140px) 0; }
.hscroll.is-native .hscroll-track {
  overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; scrollbar-width: none;
}
.hscroll.is-native .hscroll-track::-webkit-scrollbar { display: none; }
.hscroll.is-native .hs-card { scroll-snap-align: center; flex-basis: min(82vw, 480px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
  .js [data-reveal], .js [data-split] .split-inner { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
