:root {
  --black: #080808;
  --ink: #151515;
  --muted: rgba(255, 255, 255, .66);
  --line: rgba(214, 174, 92, .22);
  --gold: #c9942f;
  --gold-light: #f0d06c;
  --paper: #080808;
  --white: #fff;
  --shadow: 0 24px 80px rgba(0, 0, 0, .22);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 64px);
  color: var(--white);
  background: rgba(8, 8, 8, .82);
  border-bottom: 1px solid rgba(214, 174, 92, .14);
  backdrop-filter: blur(14px);
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  padding-block: 12px;
  background: rgba(8, 8, 8, .94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.brand img { width: min(260px, 46vw); height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .02em;
}

.nav a { padding: 14px 2px; }
.nav a:hover { color: var(--gold-light); }
.nav-item { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(620px, 86vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  background: rgba(11, 11, 11, .96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.mega-menu a {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(135deg, rgba(201, 148, 47, .18), rgba(255, 255, 255, .03));
}
.mega-menu span { display: block; color: var(--gold-light); font-size: 16px; margin-bottom: 8px; }
.mega-menu small { color: rgba(255, 255, 255, .72); line-height: 1.5; }

.ghost-btn, .primary-btn, .secondary-btn {
  border: 0;
  cursor: pointer;
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
}
.ghost-btn { color: var(--white); border: 1px solid var(--line); background: rgba(255, 255, 255, .05); }
.primary-btn { color: #101010; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.secondary-btn { color: var(--white); border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 118px clamp(18px, 5vw, 76px) 128px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.3), rgba(0,0,0,.52)),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.72));
}
.hero-video,
.hero-video video,
.hero-slider, .slide { position: absolute; inset: 0; }
.hero-video {
  z-index: 0;
  overflow: hidden;
  background: #050505;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.92) contrast(1.04);
}
.slide {
  opacity: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: var(--pos, center);
  transform: scale(1.04);
  transition: opacity 1s ease, transform 7s ease;
}
.slide.active { opacity: 1; transform: scale(1); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: 0;
  padding-top: 0;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
}
.hero h1, .section-heading h2, .contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .96;
}
.hero h1 {
  font-size: clamp(62px, 10vw, 142px);
  letter-spacing: .01em;
}
.hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255,255,255,.84);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.75;
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 36px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(620px, calc(100% - 36px));
  border: 1px solid var(--line);
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
}
.hero-stats div { padding: 20px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; color: var(--gold-light); font-size: 22px; }
.hero-stats span { display: block; color: rgba(255,255,255,.74); font-size: 13px; margin-top: 5px; }
.slider-dots { position: absolute; left: clamp(18px, 7vw, 110px); bottom: 42px; z-index: 3; display: flex; gap: 10px; }
.slider-dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.32); cursor: pointer; }
.slider-dots button.active { background: var(--gold-light); }

.section {
  padding: clamp(82px, 9vw, 124px) clamp(18px, 5vw, 76px);
  color: var(--white);
  background: #080808;
  scroll-margin-top: 92px;
}
.section-heading { max-width: 940px; margin-bottom: 42px; }
.section-heading h2, .contact h2 {
  font-size: clamp(38px, 5.4vw, 76px);
  letter-spacing: .005em;
}
.section-heading h2 { color: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about {
  background:
    linear-gradient(180deg, rgba(201,148,47,.08), rgba(8,8,8,0) 34%),
    #080808;
}
.about-copy { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.78; }
.about-copy p { margin: 0 0 18px; }
.about-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.about-proof div {
  padding: 18px;
  background: linear-gradient(135deg, rgba(201,148,47,.16), rgba(255,255,255,.035));
  border: 1px solid var(--line);
}
.about-proof strong {
  display: block;
  color: var(--gold-light);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}
.about-proof span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.4;
}
.feature-list { display: grid; gap: 12px; }
.feature-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.feature-list span { color: var(--gold-light); font-weight: 900; }
.feature-list span { grid-row: 1 / span 2; }
.feature-list h3 {
  grid-column: 2;
  margin: 0 0 6px;
  color: var(--white);
  font-size: 22px;
  letter-spacing: .01em;
}
.feature-list p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.dark { color: var(--white); background: #0a0a0a; }
.dark .section-heading h2 { color: var(--white); }

.project-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab {
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  cursor: pointer;
}
.tab.active { color: #111; border-color: transparent; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.project-grid-ongoing { grid-template-columns: minmax(0, 520px); }
.project-grid-ongoing.hidden { display: none; }
.project-card {
  overflow: hidden;
  background: #151515;
  border: 1px solid rgba(255,255,255,.08);
}
.project-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.project-card div { padding: 20px; }
.project-card span { color: var(--gold-light); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.project-card h3 { margin: 10px 0; font-size: 24px; }
.project-card p { color: rgba(255,255,255,.68); line-height: 1.55; }
.project-card.hidden { display: none; }
.ongoing-card { min-height: 280px; }
.ongoing-placeholder {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(201,148,47,.18), rgba(255,255,255,.04)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 18px);
}
.ongoing-placeholder span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.ongoing-placeholder h3 { margin: 10px 0; font-size: 30px; line-height: 1.05; }
.ongoing-placeholder p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.6; }
.completed-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.completed-projects.hidden { display: none; }
.completed-project {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  background: #151515;
  border: 1px solid rgba(255,255,255,.08);
}
.completed-gallery {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.completed-gallery button {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #222;
  cursor: zoom-in;
}
.completed-gallery button:first-child { grid-row: auto; }
.completed-gallery button:nth-child(4) { grid-column: span 3; aspect-ratio: 16 / 7; }
.completed-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.completed-gallery button:hover img { transform: scale(1.04); }
.completed-info {
  order: 1;
  min-height: 220px;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.completed-info span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.completed-info h3 {
  margin: 10px 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: .98;
}
.completed-info p {
  display: -webkit-box;
  min-height: 78px;
  margin: 0;
  overflow: hidden;
  color: rgba(255,255,255,.68);
  line-height: 1.62;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.gallery {
  background:
    linear-gradient(180deg, #080808, #111 52%, #080808);
}
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-item { border: 0; padding: 0; cursor: zoom-in; overflow: hidden; background: #ddd; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 38px;
  align-items: end;
}
.contact p:not(.eyebrow) { color: rgba(255,255,255,.72); line-height: 1.7; font-size: 18px; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions a {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.map-card {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(320px, .58fr);
  margin-top: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(199, 150, 61, .34);
  background:
    linear-gradient(135deg, rgba(199, 150, 61, .14), transparent 42%),
    rgba(255,255,255,.035);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid rgba(199, 150, 61, .22);
}
.map-copy h3 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  line-height: .98;
}
.map-copy address {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-style: normal;
  line-height: 1.8;
  font-size: 17px;
}
.map-link {
  width: max-content;
  margin-top: 28px;
  padding: 13px 18px;
  border: 1px solid rgba(199, 150, 61, .55);
  color: var(--gold);
  background: rgba(199, 150, 61, .08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.map-card iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  height: 100%;
  border: 0;
  filter: grayscale(.9) contrast(1.08) saturate(.85);
}
.site-footer {
  padding: 0 clamp(18px, 5vw, 76px);
  color: rgba(255,255,255,.72);
  background:
    linear-gradient(180deg, #080808, #030303),
    #030303;
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(160px, .45fr) minmax(220px, .55fr);
  gap: clamp(28px, 5vw, 82px);
  padding: clamp(48px, 6vw, 82px) 0 34px;
}
.footer-brand img { width: min(280px, 70vw); margin-bottom: 22px; }
.footer-brand p {
  max-width: 540px;
  margin: 0;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  font-size: 15px;
}
.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 11px;
}
.footer-nav h3,
.footer-contact h3 {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.footer-nav a,
.footer-contact a {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 650;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact address {
  color: rgba(255,255,255,.62);
  font-style: normal;
  line-height: 1.6;
  font-size: 14px;
}
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #101010;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255,255,255,.08);
}
.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom p { margin: 0; font-size: 13px; }
.footer-bottom button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--gold-light);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  font-weight: 750;
}

.modal, .lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}
.modal.open, .lightbox.open { display: grid; }
.modal { place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: 28px;
  color: var(--white);
  background: #101010;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.modal-panel h2 { margin: 0 0 18px; font-size: 34px; }
.modal-panel label { display: grid; gap: 7px; margin: 12px 0; color: rgba(255,255,255,.78); font-size: 14px; }
.modal-panel input, .modal-panel textarea, .modal-panel select {
  width: 100%;
  color: var(--white);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  padding: 13px 14px;
  outline: none;
}
.modal-panel input:focus, .modal-panel textarea:focus, .modal-panel select:focus { border-color: var(--gold); }
.modal-panel button[disabled] {
  cursor: wait;
  opacity: .72;
}
.modal-close, .lightbox button {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.5);
  cursor: pointer;
  font-size: 28px;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-toast {
  position: fixed;
  right: clamp(16px, 4vw, 34px);
  bottom: clamp(16px, 4vw, 34px);
  z-index: 80;
  width: min(420px, calc(100vw - 32px));
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(12, 12, 12, .96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.form-toast.open {
  transform: translateY(0);
  opacity: 1;
}
.form-toast.success { border-color: rgba(240, 208, 108, .62); }
.form-toast.error { border-color: rgba(255, 95, 95, .7); }
.form-toast strong {
  color: var(--gold-light);
  font-size: 15px;
}
.form-toast.error strong { color: #ff8f8f; }
.form-toast span {
  color: rgba(255,255,255,.76);
  line-height: 1.5;
  font-size: 14px;
}
.lightbox { place-items: center; padding: 18px; background: rgba(0,0,0,.88); }
.lightbox img { max-width: min(1120px, 94vw); max-height: 84svh; object-fit: contain; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .ghost-btn { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav {
    position: fixed;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    background: rgba(8,8,8,.98);
    border: 1px solid var(--line);
  }
  .nav.open { display: grid; }
  .mega-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 4px;
  }
  .about-grid, .contact-inner { grid-template-columns: 1fr; }
  .map-card { grid-template-columns: 1fr; }
  .map-copy {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(199, 150, 61, .22);
  }
  .about-proof { grid-template-columns: 1fr 1fr 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid-ongoing { grid-template-columns: 1fr; }
  .completed-projects { grid-template-columns: 1fr; }
  .completed-info { border-left: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 118px 18px 32px;
    align-items: end;
  }
  .hero-content { width: 100%; }
  .hero-stats { position: relative; right: auto; bottom: auto; z-index: 2; width: 100%; margin: 32px 0 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .slider-dots { bottom: 18px; }
}

@media (max-width: 620px) {
  .brand img { width: 190px; }
  .site-header { gap: 12px; }
  .hero { padding: 116px 18px 28px; }
  .hero-content { width: 100%; margin: 0; padding-top: 0; }
  .hero h1 { font-size: clamp(54px, 18vw, 88px); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stats div:last-child { border-bottom: 0; }
  .project-grid, .gallery-grid { grid-template-columns: 1fr; }
  .about-proof { grid-template-columns: 1fr; }
  .completed-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .completed-gallery button:first-child { grid-row: auto; }
  .completed-gallery button:nth-child(4) { grid-column: span 2; aspect-ratio: 4 / 3; }
  .gallery-grid { grid-auto-rows: 240px; }
  .gallery-item.tall { grid-row: span 1; }
  .feature-list article { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}
