:root {
  --bg: #050505;
  --bg-elevated: #0e0e0e;
  --bg-soft: #141414;
  --ink: #f5f5f2;
  --muted: #a4a2a2;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #c9a44a;
  --gold-soft: #e2c57a;
  --gold-deep: #8d6b28;
  --gold-glow: rgba(201, 164, 74, 0.28);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1160px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201, 164, 74, 0.12), transparent 55%),
    radial-gradient(900px 500px at 0% 30%, rgba(201, 164, 74, 0.05), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: #111;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.brand-text span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.nav-cta {
  padding: 0.7rem 1.15rem !important;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--gold-soft) !important;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--gold);
  color: #111 !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 164, 74, 0.18), transparent 48%),
    #000;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 1.75rem;
  padding: 3.5rem 0 4.5rem;
}

.hero-copy {
  max-width: 40rem;
  order: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1,
.page-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero-lead {
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  color: #111;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--gold) 50%, transparent);
  color: var(--gold-soft);
}

.hero-brand {
  position: relative;
  display: grid;
  place-items: center;
  order: 1;
  width: min(100%, 420px);
  min-height: clamp(280px, 48vh, 520px);
}

.hero-brand::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 68%);
  filter: blur(10px);
  animation: pulse 5.5s ease-in-out infinite;
}

.hero-brand img {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.65));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.35rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-services a:hover {
  color: var(--gold-soft);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--bg-soft);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: grayscale(0.35) contrast(1.05);
}

.split-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
}

.split-copy p {
  color: var(--muted);
}

.split-copy p + p {
  margin-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(201, 164, 74, 0.08), transparent 40%),
    var(--bg-elevated);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.service:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  transform: translateY(-4px);
}

.service-index {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
}

.service h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.why-item {
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--gold);
  background: rgba(255, 255, 255, 0.02);
}

.why-item h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.quote {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.quote p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.quote cite {
  display: block;
  margin-top: 1.25rem;
  color: var(--gold-soft);
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(600px 220px at 20% 50%, rgba(201, 164, 74, 0.16), transparent 70%),
    var(--bg-elevated);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
}

.cta-band p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-grid a {
  overflow: hidden;
  background: var(--bg-soft);
  display: block;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: grayscale(0.25);
}

.gallery-grid a:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.gallery-grid a:nth-child(1) { grid-column: span 7; min-height: 360px; }
.gallery-grid a:nth-child(2) { grid-column: span 5; min-height: 360px; }
.gallery-grid a:nth-child(3) { grid-column: span 4; min-height: 280px; }
.gallery-grid a:nth-child(4) { grid-column: span 4; min-height: 280px; }
.gallery-grid a:nth-child(5) { grid-column: span 4; min-height: 280px; }
.gallery-grid a:nth-child(6) { grid-column: span 12; min-height: 320px; }

/* Page hero */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.page-hero p {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

.contact-card,
.contact-form {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.contact-card h2,
.contact-form h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  color: var(--muted);
}

.contact-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold-soft);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--ink);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: #0a0a0a;
  color: var(--ink);
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
}

.form-note {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.map-embed {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 360px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(1) contrast(1.1) brightness(0.8);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.footer-meta a:hover {
  color: var(--gold-soft);
}

/* Reveal (fallback without GSAP) */
.reveal {
  opacity: 1;
}

.no-js .reveal,
html:not(.gsap-ready) .reveal:not(.visible):not(.hero .reveal) {
  /* GSAP handles motion; keep content visible if JS fails mid-load */
}

/* Quotes swiper */
.quotes-swiper {
  overflow: hidden;
  padding-bottom: 2.5rem;
}

.quotes-swiper .swiper-slide {
  height: auto;
}

.quotes-swiper .quote {
  height: 100%;
  min-height: 220px;
}

.quotes-pagination,
.gallery-pagination {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.quotes-pagination .swiper-pagination-bullet,
.gallery-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.quotes-pagination .swiper-pagination-bullet-active,
.gallery-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
}

/* Gallery swiper */
.gallery-shell {
  position: relative;
}

.gallery-swiper {
  overflow: hidden;
  padding-bottom: 1rem;
}

.gallery-slide {
  display: block;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.gallery-slide:hover img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.08);
}

.gallery-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.gallery-nav button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.gallery-nav button:hover {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--gold-soft);
}

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--gold);
  mix-blend-mode: difference;
  opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), opacity 0.25s var(--ease);
}

.cursor.is-on {
  opacity: 0.9;
}

.cursor.is-hover {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  background: transparent;
  border: 1px solid var(--gold-soft);
  mix-blend-mode: normal;
}

html.has-cursor,
html.has-cursor body,
html.has-cursor a,
html.has-cursor button {
  cursor: none;
}

/* GLightbox brand tweak */
.glightbox-clean .gslide-description {
  background: #0a0a0a;
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: rgba(0, 0, 0, 0.55);
  color: var(--gold-soft);
}

/* Mobile */
@media (max-width: 960px) {
  .hero-inner,
  .split,
  .contact-layout,
  .quotes,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid a:nth-child(n) {
    grid-column: span 12;
    min-height: 240px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
  }

  .footer-inner,
  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: calc(100svh - var(--header-h));
  }

  .hero-inner {
    padding: 2rem 0 3rem;
  }

  .hero-brand {
    min-height: 260px;
    width: min(100%, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
