/* =========================================================
   PT. MITRA HARDAYA ZETA — Design & Construction
   Static site · HTML / CSS / Vanilla JS · GSAP + Lenis (CDN)
   ========================================================= */

:root {
  --navy: #141a3a;
  --navy-deep: #0c1027;
  --navy-soft: #232a52;
  --red: #d7141d;
  --red-dark: #a90f16;
  --bronze: #a8805a;
  --bronze-light: #cfae8c;
  --ivory: #f4efe9;
  --sand: #e8e0d6;
  --paper: #fbf9f6;
  --ink: #171a2b;
  --muted: #676b7d;
  --line: rgba(23, 26, 43, .12);
  --line-light: rgba(255, 255, 255, .14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::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; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.section--dark { background: var(--navy); color: #fff; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--bronze-light); }

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--navy);
}
.title em { color: var(--bronze); font-weight: 400; }
.title--light { color: #fff; }
.title--light em { color: var(--bronze-light); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink); }

/* split-text helpers (added by JS) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 30px;
  border-radius: 100px;
  font-family: var(--display);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--red));
  transform: translateY(101%); border-radius: inherit;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--hover-fg, #fff); }
.btn__arrow { transition: transform .5s var(--ease); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 12px; }
.btn--red { --bg: var(--red); --hover: var(--navy-deep); }
.btn--dark { --bg: var(--navy); --hover: var(--red); }
.btn--light { --bg: #fff; --fg: var(--navy); --hover: var(--red); }
.btn--ghost { --bg: transparent; --fg: #fff; --hover: #fff; --hover-fg: var(--navy); border: 1px solid rgba(255,255,255,.45); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy-deep);
  display: grid; place-items: center;
  color: #fff;
  animation: preloaderFallback .6s ease 5s forwards; /* safety net if JS fails */
}
@keyframes preloaderFallback { to { opacity: 0; visibility: hidden; } }
.preloader__inner { text-align: center; width: min(320px, 70vw); }
.preloader__logo { width: 120px; margin: 0 auto 18px; }
.preloader__name { font-family: var(--display); font-weight: 600; letter-spacing: .36em; font-size: 12px; margin-bottom: 28px; opacity: .9; }
.preloader__bar { height: 1px; background: rgba(255,255,255,.14); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--red); }
.preloader__count { margin-top: 14px; font-family: var(--display); font-size: 12px; letter-spacing: .2em; opacity: .55; }
html.is-loaded .preloader { animation: none; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  display: none;
  place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s;
}
.cursor__label { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
.cursor.is-hover { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(215, 20, 29, .18); }
@media (hover: hover) and (pointer: fine) { html.has-cursor .cursor { display: grid; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: transform .6s var(--ease), background-color .5s, color .5s, box-shadow .5s, height .5s var(--ease);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header.is-scrolled {
  --header-h: 72px;
  background: rgba(251, 249, 246, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header.on-dark.is-scrolled { background: rgba(12, 16, 39, .8); color: #fff; box-shadow: 0 1px 0 var(--line-light); }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 58px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--display); font-weight: 700; letter-spacing: .2em; font-size: 13px; }
.brand__tag { font-family: var(--display); font-weight: 500; letter-spacing: .34em; font-size: 8.5px; opacity: .7; margin-top: 3px; }

.nav { display: flex; gap: 34px; }
.nav__link {
  position: relative;
  font-family: var(--display); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-deep); color: #fff;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  font-family: var(--serif); font-size: clamp(38px, 10vw, 56px); line-height: 1.25;
  border-bottom: 1px solid var(--line-light);
  padding: 8px 0; display: flex; align-items: baseline; gap: 16px;
}
.mobile-menu__nav small { font-family: var(--display); font-size: 12px; color: var(--bronze-light); letter-spacing: .2em; }
.mobile-menu__foot { font-family: var(--display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
body.menu-open .header { color: #fff !important; background: transparent !important; box-shadow: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7.5s linear; }
.hero__slide.is-active img { transform: scale(1.0); }
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(12,16,39,.55) 0%, rgba(12,16,39,.05) 30%, rgba(12,16,39,.25) 55%, rgba(12,16,39,.92) 100%),
    linear-gradient(90deg, rgba(12,16,39,.6) 0%, rgba(12,16,39,0) 60%);
}
.hero__content { position: relative; z-index: 3; padding-top: calc(var(--header-h) + 40px); }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(56px, 10.5vw, 168px);
  line-height: .92; letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--bronze-light); font-weight: 400; }
.hero__lead { max-width: 520px; margin-top: 30px; font-size: clamp(16px, 1.3vw, 18px); color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__meta {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: clamp(40px, 7vh, 80px); padding-bottom: 34px;
}
.hero__caption { display: flex; align-items: center; gap: 16px; font-family: var(--display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; min-width: 0; }
.hero__caption-num { color: var(--bronze-light); font-weight: 600; }
.hero__caption-text { opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { width: 44px; height: 20px; position: relative; }
.hero__dot::before, .hero__dot i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.28); }
.hero__dot i { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i { animation: heroDot 6.5s linear forwards; }
@keyframes heroDot { to { transform: scaleX(1); } }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.hero__scroll span { width: 1px; height: 44px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: clamp(16px, 2vw, 24px); letter-spacing: .24em; text-transform: uppercase; padding: 0 28px; white-space: nowrap; }
.marquee i { font-style: normal; opacity: .6; display: grid; place-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__text .title { margin-bottom: 34px; }
.about__text p + p { margin-top: 18px; color: var(--muted); }
.about__text strong { color: var(--navy); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--navy); }
.stat__label { margin-top: 10px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }

.about__media { position: relative; aspect-ratio: 4 / 5; }
.about__img { position: absolute; overflow: hidden; border-radius: var(--radius); }
.about__img img { width: 100%; height: 120%; object-fit: cover; }
.about__img--main { inset: 0 0 18% 14%; }
.about__img--small { width: 46%; aspect-ratio: 1; left: 0; bottom: 0; border: 8px solid var(--paper); border-radius: calc(var(--radius) + 6px); }
.about__badge { position: absolute; right: -24px; bottom: 6%; width: 150px; height: 150px; display: grid; place-items: center; background: var(--navy); border-radius: 50%; }
.about__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.about__badge-ring text { font-family: var(--display); font-size: 13.5px; font-weight: 600; letter-spacing: .24em; fill: #fff; }
.about__badge-logo { width: 58px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Vision & Mission ---------- */
.vm { overflow: hidden; }
.vm__lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
}
.vm .container { position: relative; }
.vm__vision { max-width: 1080px; }
.vm__quote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.9vw, 58px); line-height: 1.18;
  margin: 0;
}
.vm__quote em { color: var(--bronze-light); }
.vm__keywords { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.vm__keywords span { font-family: var(--display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--line-light); border-radius: 100px; color: rgba(255,255,255,.75); }

.vm__mission { margin-top: clamp(100px, 13vw, 180px); }
.vm__mission-head { display: grid; grid-template-columns: 1fr; margin-bottom: 60px; max-width: 760px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.mission-card {
  position: relative; padding: 40px 36px 46px;
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  transition: background-color .6s var(--ease);
  overflow: hidden;
}
.mission-card::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.mission-card:hover { background: rgba(255,255,255,.04); }
.mission-card:hover::after { transform: scaleX(1); }
.mission-card__num { position: absolute; top: 34px; right: 34px; font-family: var(--serif); font-size: 40px; color: rgba(255,255,255,.14); line-height: 1; }
.icon { width: 34px; height: 34px; fill: none; stroke: var(--bronze-light); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.mission-card h3 { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 28px 0 14px; line-height: 1.5; }
.mission-card p { color: rgba(255,255,255,.66); font-size: 15px; }

/* ---------- Section head ---------- */
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(56px, 7vw, 90px); }
.section-head__text { color: var(--muted); max-width: 440px; justify-self: end; font-size: 17px; }

/* ---------- Services ---------- */
.services { background: var(--ivory); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; background: var(--paper); border-radius: var(--radius);
  padding: 40px 36px; border: 1px solid var(--line);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .5s;
}
.service:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(20,26,58,.35); border-color: transparent; }
.service__num { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--red); }
.service__title { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3vw, 42px); color: var(--navy); margin: 18px 0 16px; line-height: 1.05; }
.service__text { color: var(--muted); font-size: 15.5px; }
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.service__tags li { font-size: 12px; padding: 6px 12px; border-radius: 100px; background: var(--sand); color: var(--navy); }

.sectors { margin-top: clamp(80px, 10vw, 130px); }
.sectors__eyebrow { margin-bottom: 30px; }
.sector-panels { display: flex; gap: 14px; height: clamp(420px, 60vh, 600px); }
.sector {
  position: relative; flex: 1; overflow: hidden; border-radius: var(--radius);
  color: #fff; min-width: 0;
  transition: flex 1s var(--ease);
}
.sector.is-open { flex: 3.2; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sector:hover img { transform: scale(1.06); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,16,39,0) 30%, rgba(12,16,39,.9) 100%); }
.sector__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px; }
.sector__num { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--bronze-light); }
.sector h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; margin-top: 10px; }
.sector p { max-width: 380px; margin-top: 12px; color: rgba(255,255,255,.78); font-size: 15px; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sector.is-open p { opacity: 1; transform: none; transition-delay: .35s; }
.sector:not(.is-open) h3 { font-size: clamp(20px, 1.8vw, 26px); }

/* ---------- Projects ---------- */
.projects { position: relative; overflow: hidden; background: var(--navy-deep); }
.projects__pin { padding: clamp(88px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.projects__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vh, 60px); }
.projects__head .title { font-size: clamp(52px, 7vw, 110px); }
.projects__progress { width: min(260px, 30vw); height: 2px; background: var(--line-light); margin-bottom: 20px; }
.projects__progress span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

.projects__track {
  display: flex; gap: clamp(20px, 2.4vw, 36px);
  padding: 0 var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  overflow-x: auto; scrollbar-width: none;
}
.projects__track::-webkit-scrollbar { display: none; }
.projects__track.is-pinned { overflow: visible; will-change: transform; }
.project {
  flex: 0 0 auto;
  width: clamp(300px, 42vw, 640px);
  color: #fff;
  cursor: pointer;
  outline-offset: 6px;
}
.project--tall { width: clamp(260px, 26vw, 400px); }
.project__img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 11; background: var(--navy-soft); }
.project--tall .project__img { aspect-ratio: auto; height: 100%; max-height: calc(clamp(300px, 42vw, 640px) * 11 / 16); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease), filter .8s; }
.project:hover .project__img img, .project:focus-visible .project__img img { transform: scale(1.12); }
.project__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(12,16,39,.5)); }
.project__meta { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; padding-top: 22px; }
.project__num { font-family: var(--serif); font-size: 26px; color: var(--bronze-light); line-height: 1; }
.project__cat { font-family: var(--display); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.project__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.1; margin-top: 6px; }
.project__loc { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 4px; }
.project__count { font-size: 12px; padding: 6px 12px; border: 1px solid var(--line-light); border-radius: 100px; color: rgba(255,255,255,.7); white-space: nowrap; }

.project--cta {
  width: clamp(280px, 30vw, 440px);
  border: 1px solid var(--line-light); border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px;
  padding: 40px; cursor: pointer;
  aspect-ratio: 440 / 440; align-self: flex-start;
  background: radial-gradient(circle at 20% 0%, rgba(215,20,29,.25), transparent 60%);
}
.project--cta__small { font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-light); }
.project--cta__big { font-family: var(--serif); font-size: clamp(36px, 3.4vw, 52px); line-height: 1.05; }
.project--cta__big em { color: var(--bronze-light); }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.process__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.process__intro .title { margin-bottom: 28px; }
.process__intro p { color: var(--muted); max-width: 440px; margin-bottom: 36px; font-size: 17px; }

.steps { position: relative; padding-left: 0; }
.steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 30px; padding: 30px 0; }
.step + .step { border-top: 1px solid transparent; }
.step__num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--navy);
  transition: background-color .5s, color .5s, border-color .5s;
}
.step.is-active .step__num { background: var(--navy); color: #fff; border-color: var(--navy); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); color: var(--navy); line-height: 1.1; margin-top: 8px; }
.step p { color: var(--muted); margin-top: 10px; max-width: 520px; }

/* ---------- Showcase ---------- */
.showcase { position: relative; height: clamp(560px, 110vh, 1000px); overflow: hidden; background: var(--navy-deep); }
.showcase__cols { position: absolute; inset: -30% -4%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.showcase__col { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.showcase__col img { width: 100%; flex: 1 1 0; min-height: 0; object-fit: cover; border-radius: 12px; }
.showcase__overlay { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at center, rgba(12,16,39,.72) 0%, rgba(12,16,39,.45) 60%, rgba(12,16,39,.7) 100%); padding: var(--gutter); }
.showcase__text { font-family: var(--serif); font-size: clamp(42px, 7.5vw, 120px); color: #fff; text-align: center; line-height: 1; }
.showcase__text em { color: var(--bronze-light); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  position: relative; padding: 36px 34px 40px; border-radius: var(--radius);
  background: var(--ivory); overflow: hidden; isolation: isolate;
  transition: color .6s var(--ease), transform .7s var(--ease);
}
.why-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  clip-path: circle(0% at 100% 0%);
  transition: clip-path .9s var(--ease);
}
.why-card:hover::before { clip-path: circle(150% at 100% 0%); }
.why-card:hover { color: #fff; transform: translateY(-6px); }
.why-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.why-card__top span { font-family: var(--serif); font-size: 34px; color: var(--bronze); line-height: 1; }
.why-card .icon { stroke: var(--bronze); transition: stroke .5s; }
.why-card:hover .icon { stroke: var(--bronze-light); }
.why-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; color: var(--navy); transition: color .6s; }
.why-card:hover h3 { color: #fff; }
.why-card p { margin-top: 14px; color: var(--muted); font-size: 15.5px; transition: color .6s; }
.why-card:hover p { color: rgba(255,255,255,.72); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; opacity: .14; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__lead { color: rgba(255,255,255,.72); margin-top: 26px; max-width: 460px; font-size: 17px; }
.contact__list { margin-top: 48px; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.contact__list li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-light); align-items: baseline; }
.contact__label { font-family: var(--display); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-light); }
.contact__value { font-size: 17px; overflow-wrap: anywhere; }
a.contact__value { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
a.contact__value:hover { background-size: 100% 1px; }

.form {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-light);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 48px);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.form__title { font-family: var(--serif); font-weight: 500; font-size: 32px; margin-bottom: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; display: block; margin-bottom: 26px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.28);
  padding: 22px 0 10px; outline: none; border-radius: 0; resize: vertical;
  transition: border-color .4s;
}
.field textarea { min-height: 110px; }
.field span { position: absolute; left: 0; top: 22px; color: rgba(255,255,255,.55); pointer-events: none; transition: transform .4s var(--ease), color .4s, font-size .4s; transform-origin: left top; }
.field input:focus, .field textarea:focus { border-color: var(--bronze-light); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-22px) scale(.78); color: var(--bronze-light); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }

.form__group { margin-bottom: 26px; }
.form__legend { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,.25); font-size: 14px; cursor: pointer; transition: all .35s var(--ease); }
.chip span:hover { border-color: #fff; }
.chip input:checked + span { background: #fff; color: var(--navy); border-color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--bronze-light); outline-offset: 2px; }
.form__error { min-height: 22px; color: #ff8a8a; font-size: 14px; margin-bottom: 10px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #fff; padding: 80px 0 34px; overflow: hidden; }
.footer__big {
  font-family: var(--display); font-weight: 700;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 12.9), 95px); letter-spacing: .04em; line-height: 1;
  white-space: nowrap; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16);
  margin-bottom: 70px;
}
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { width: 90px; margin-bottom: 18px; }
.footer__brand p { font-family: var(--display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); line-height: 1.9; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a { color: rgba(255,255,255,.7); transition: color .3s, transform .4s var(--ease); width: fit-content; }
.footer__nav a:hover { color: #fff; transform: translateX(6px); }
.footer__tagline p { font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.footer__top { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--bronze-light); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; visibility: hidden; pointer-events: none; }
.lightbox.is-open { visibility: visible; pointer-events: auto; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 10, 26, .92); opacity: 0; transition: opacity .6s var(--ease); }
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__panel {
  position: relative; width: min(1400px, 94vw); height: min(820px, 90vh);
  display: grid; grid-template-columns: 1fr 360px;
  background: var(--navy-deep); border-radius: var(--radius); overflow: hidden;
  color: #fff;
  opacity: 0; transform: translateY(30px) scale(.98);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.lightbox.is-open .lightbox__panel { opacity: 1; transform: none; }
.lightbox__stage { position: relative; background: #05060f; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.lightbox__stage img.is-loading { opacity: 0; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 20px; transition: background-color .3s; }
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__count { position: absolute; left: 20px; bottom: 16px; font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.lightbox__info { position: relative; padding: 70px 32px 32px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color .3s, transform .5s var(--ease); }
.lightbox__close:hover { background: var(--red); transform: rotate(90deg); }
.lightbox__info h3 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.05; }
.lightbox__loc { color: var(--bronze-light); margin-top: 8px; font-size: 14px; }
.lightbox__desc { color: rgba(255,255,255,.72); margin-top: 20px; font-size: 15px; }
.lightbox__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 28px; }
.lightbox__thumbs button { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; opacity: .45; transition: opacity .3s; outline-offset: 2px; }
.lightbox__thumbs button.is-active, .lightbox__thumbs button:hover { opacity: 1; }
.lightbox__thumbs button.is-active { box-shadow: 0 0 0 2px var(--red); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .mission-grid, .why-grid, .service-list { grid-template-columns: repeat(2, 1fr); }
  .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .about__grid, .process__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin: 0 auto; }
  .about__badge { right: 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__text { justify-self: start; }
  .process__intro { position: static; }
  .sector-panels { flex-direction: column; height: auto; }
  .sector { flex: none !important; height: 260px; }
  .sector.is-open { height: 380px; }
  .sector p { opacity: 1; transform: none; }
  .sector:not(.is-open) h3 { font-size: clamp(24px, 5vw, 30px); }

  /* projects become a native swipe carousel */
  .projects__pin { min-height: 0; }
  .projects__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; padding-bottom: 12px; scrollbar-width: none; transform: none !important; }
  .projects__track::-webkit-scrollbar { display: none; }
  .project { width: 82vw; max-width: 520px; scroll-snap-align: start; }
  .project--tall { width: 64vw; max-width: 360px; }
  .project--cta { width: 76vw; max-width: 420px; aspect-ratio: auto; min-height: 320px; }
  .projects__progress { display: none; }

  .lightbox__panel { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr); height: 92vh; width: 94vw; }
  .lightbox__info { padding: 26px 22px 22px; }
  .lightbox__close { position: fixed; top: 12px; right: 12px; z-index: 2; background: rgba(0,0,0,.45); border-color: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .lightbox__panel { overflow: visible; }
  .lightbox__stage { border-radius: var(--radius) var(--radius) 0 0; }
  .lightbox__info h3 { font-size: 30px; }
  .lightbox__thumbs { grid-template-columns: repeat(5, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__tagline { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand__mark { width: 46px; }
  .brand__name { font-size: 11px; letter-spacing: .16em; }
  .brand__tag { font-size: 7.5px; }
  .hero__meta { flex-wrap: wrap; }
  .hero__scroll { display: none; }
  .hero__caption { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat__label { font-size: 12px; }
  .mission-grid, .why-grid, .service-list { grid-template-columns: 1fr; }
  .mission-card { padding: 32px 26px 36px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__actions .btn { width: 100%; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .step { grid-template-columns: 48px 1fr; gap: 20px; }
  .step__num { width: 48px; height: 48px; }
  .steps__line { left: 23.5px; }
  .showcase__cols { grid-template-columns: repeat(2, 1fr); inset: -30% -20%; }
  .showcase__col:nth-child(3) { display: none; }
  .about__badge { width: 112px; height: 112px; right: -4px; }
  .about__badge-logo { width: 44px; }
  .about__badge-ring text { font-size: 15px; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__nav { width: 42px; height: 42px; }
}

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