:root {
  --ivory: #f4efe6;
  --ivory-2: #e9dfcf;
  --sand: #d8c7aa;
  --gold: #c9a36a;
  --gold-2: #e2c48a;
  --gold-dark: #8d6b3a;
  --ink: #0f0d0b;
  --ink-2: #181512;
  --ink-3: #221e19;
  --muted: #8d8478;
  --line: rgba(201, 163, 106, 0.28);
  --white: #fff;
  --shadow: 0 24px 60px rgba(15, 13, 11, 0.18);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: #2b2722;
  background: var(--ivory);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

.container-wide { max-width: 1280px; }

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-mark {
  text-align: center;
  color: var(--gold);
}
.loader-mark .word {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: .28em;
  font-weight: 500;
}
.loader-bar {
  width: 140px;
  height: 2px;
  margin: 18px auto 0;
  background: rgba(201,163,106,.2);
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  animation: load 1.1s ease-in-out infinite;
}
@keyframes load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* TOPBAR */
.topbar {
  background: var(--ink);
  color: #cfc6b8;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 8px 0;
}
.topbar a { color: var(--gold-2); }
.topbar i { color: var(--gold); margin-right: 6px; }

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(15,13,11,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled {
  background: rgba(15,13,11,.94);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory) !important;
}
.brand-mark {
  width: 46px;
  height: 46px;
}
.brand-text .name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .18em;
  line-height: 1;
  color: var(--ivory);
}
.brand-text .sub {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}
.navbar-nav .nav-link {
  color: #efe8dc !important;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 14px !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--gold-2) !important; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink) !important;
  border: 0;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.btn-gold:hover { color: var(--ink) !important; filter: brightness(1.08); }
.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold-2) !important;
  background: transparent;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 0;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--ink) !important; }
.navbar-toggler { border-color: var(--gold); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c9a36a' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-media,
.hero-media video,
.hero-media img,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,13,11,.82) 0%, rgba(15,13,11,.45) 55%, rgba(15,13,11,.2) 100%),
    linear-gradient(180deg, rgba(15,13,11,.25), rgba(15,13,11,.55));
}
.hero-content { position: relative; z-index: 2; padding: 90px 0 70px; }
.kicker {
  color: var(--gold);
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 86px);
  line-height: .95;
  letter-spacing: -.02em;
  max-width: 860px;
  margin: 18px 0 22px;
}
.hero p.lead {
  max-width: 560px;
  color: #e8dfd2;
  font-weight: 300;
  font-size: 18px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold-2);
  line-height: 1;
}
.hero-stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #cfc6b8; }

/* MARQUEE */
.marquee-wrap {
  background: var(--ink-2);
  color: var(--gold);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.marquee {
  display: inline-block;
  animation: marquee 28s linear infinite;
  padding: 14px 0;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
.section { padding: 100px 0; }
.section-dark { background: var(--ink); color: var(--ivory); }
.section-cream { background: var(--ivory); }
.section-sand { background: #efe7d8; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  margin: 12px 0 18px;
}
.section-title.light { color: var(--ivory); }
.muted { color: var(--muted); }
.text-gold { color: var(--gold) !important; }
.gold-line {
  width: 54px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 16px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

/* ABOUT SPLIT */
.split-img {
  position: relative;
}
.split-img img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.split-img .float-card {
  position: absolute;
  right: -24px;
  bottom: 32px;
  background: var(--ink);
  color: var(--ivory);
  padding: 28px 30px;
  min-width: 210px;
  border-left: 3px solid var(--gold);
}
.split-img .float-card strong {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  display: block;
  line-height: 1;
}

/* SERVICE CARDS */
.service-card {
  background: var(--white);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .4s ease, box-shadow .4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .8s ease;
}
.service-card:hover img { transform: scale(1.08); }
.service-card .body { padding: 24px 22px 28px; }
.num {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 6px 0 10px;
}
.service-card.dark {
  background: var(--ink-3);
  color: var(--ivory);
}
.icon-box {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 16px;
}

/* PROJECTS */
.project-card {
  position: relative;
  overflow: hidden;
  display: block;
  color: var(--white);
  min-height: 380px;
}
.project-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 1s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-card .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 24px;
  background: linear-gradient(transparent, rgba(15,13,11,.88));
}
.project-card .cap small {
  color: var(--gold);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 11px;
}
.project-card h4 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 4px 0 0;
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: #5d564c;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 6px 10px 0;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--ink);
  color: var(--gold-2);
  border-color: var(--ink);
}

/* VIDEO */
.video-frame {
  position: relative;
  overflow: hidden;
}
.video-frame video,
.video-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15,13,11,.28);
}
.play-badge span {
  width: 78px;
  height: 78px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 26px;
  background: rgba(15,13,11,.4);
}

/* PROCESS */
.process-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(201,163,106,.16);
}
.process-item .step {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 28px;
}
.process-item h5 {
  font-family: var(--font-display);
  font-size: 24px;
}

/* TESTIMONIALS */
.review-card {
  background: var(--ink-3);
  color: var(--ivory);
  padding: 36px 32px;
  height: 100%;
  border-top: 2px solid var(--gold);
}
.review-card p { font-size: 17px; font-weight: 300; line-height: 1.7; }
.review-card img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

/* PAGE HERO */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,13,11,.25), rgba(15,13,11,.78));
}
.page-hero .inner { position: relative; z-index: 2; padding: 80px 0 48px; }
.breadcrumb-nav {
  color: #d8cfc2;
  font-size: 13px;
  letter-spacing: .08em;
}
.breadcrumb-nav a { color: var(--gold); }

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.g-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 220px;
  display: block;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform .7s ease;
}
.g-item:hover img { transform: scale(1.08); }
.g-item .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #fff;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(15,13,11,.55);
  padding: 6px 10px;
}
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-3 { grid-column: span 3; }

/* CONTACT */
.contact-card {
  background: var(--ink);
  color: var(--ivory);
  padding: 40px 36px;
  height: 100%;
}
.form-control, .form-select {
  border-radius: 0;
  border: 1px solid #ddd2c3;
  padding: 12px 14px;
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(201,163,106,.2);
}

/* FOOTER */
.site-footer {
  background: #0b0a09;
  color: #cfc6b8;
  padding-top: 72px;
}
.site-footer h5 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .04em;
}
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom {
  border-top: 1px solid rgba(201,163,106,.15);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 13px;
}

/* FLOAT */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.float-btn.wa { background: #25D366; }
.float-btn.call { background: var(--gold-dark); }
.float-btn.top { background: var(--ink); color: var(--gold); font-size: 16px; }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,.92);
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 24px;
}
.lightbox.show { display: grid; }
.lightbox img { max-height: 86vh; max-width: 92vw; }
.lightbox .close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: var(--gold);
  font-size: 32px;
  background: none;
  border: 0;
}

.list-gold li { margin-bottom: 8px; }
.list-gold li::marker { color: var(--gold); }

.why-card {
  padding: 28px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  height: 100%;
  transition: background .3s ease;
}
.why-card:hover { background: rgba(201,163,106,.08); }

.meta-row span {
  display: inline-block;
  margin-right: 16px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 991px) {
  .split-img .float-card { right: 16px; }
  .span-6, .span-4, .span-8, .span-3 { grid-column: span 12; }
  .hero { min-height: 80vh; }
  .navbar-collapse {
    background: var(--ink);
    padding: 16px;
    margin-top: 10px;
  }
}
