:root {
  --ink: #f8f5ee;
  --muted: #aaa9ad;
  --night: #07080d;
  --panel: #101117;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #d9b56f;
  --gold-light: #f0d49d;
  --shell: min(1180px, calc(100vw - 48px));
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); overflow-x: hidden; }
body::selection { color: var(--night); background: var(--gold-light); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; color: #111; background: var(--gold-light); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  min-height: 96px;
  margin-inline: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: 0.12em; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font-family: Georgia, serif; font-size: 24px; font-style: italic; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; }
.navigation { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; }
.navigation a { transition: color 180ms ease; }
.navigation a:hover, .navigation a:focus-visible { color: var(--gold-light); }
.navigation .nav-cta { padding: 12px 18px; border: 1px solid rgba(217, 181, 111, 0.65); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 6px 0; background: currentColor; }

.hero { position: relative; display: grid; min-height: 100svh; align-items: center; isolation: isolate; overflow: hidden; }
.hero-image, .hero-overlay { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image { object-position: center center; filter: saturate(1.03) contrast(1.02); }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(4, 5, 9, 0.93) 0%, rgba(4, 5, 9, 0.57) 52%, rgba(4, 5, 9, 0.16) 100%), linear-gradient(0deg, #07080d 0%, transparent 25%); }
.hero-content { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 180px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--gold-light); font-size: 11px; font-weight: 600; letter-spacing: 0.19em; text-transform: uppercase; }
.eyebrow span { width: 35px; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.035em; line-height: 0.96; }
h1 { max-width: 880px; font-size: clamp(56px, 8.3vw, 122px); }
h1 em, h2 em { color: var(--gold-light); font-weight: 400; }
.hero-copy { max-width: 560px; margin: 30px 0 0; color: #d7d5d2; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-actions--signature .button { min-width: 270px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid var(--line); background: transparent; font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; cursor: pointer; }
.button-primary { border-color: var(--gold); color: #101014; background: var(--gold-light); }
.button-primary:hover { background: #fff0c7; }
.button-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.scroll-cue { position: absolute; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 38px; display: flex; align-items: center; gap: 13px; color: #d8d6d2; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); }

.hero-categories {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(217,181,111,.34);
  background: linear-gradient(180deg, rgba(7,8,13,.26), rgba(7,8,13,.88) 48%, #07080d 100%);
  backdrop-filter: blur(3px);
}
.hero-categories a {
  display: grid;
  min-height: 142px;
  padding: 24px 18px 20px;
  place-items: center;
  align-content: center;
  text-align: center;
  border-right: 1px solid rgba(217,181,111,.2);
}
.hero-categories a:last-child { border-right: 0; }
.hero-category-icon { margin-bottom: 9px; color: var(--gold); font-size: 28px; line-height: 1; }
.hero-categories strong { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.hero-categories small { margin-top: 7px; color: #c9c5be; font-size: 11px; line-height: 1.35; }

.section { padding-block: clamp(90px, 10vw, 150px); }
.section-heading h2 { font-size: clamp(43px, 6vw, 78px); }
.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(50px, 9vw, 130px); align-items: end; }
.intro-copy > p { margin: 0; color: #bbb9b6; font-size: 16px; line-height: 1.9; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 0; }
.stats div { border-top: 1px solid var(--line); padding-top: 16px; }
.stats dt { color: var(--gold-light); font-family: Georgia, serif; font-size: 30px; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }

.expertise { border-block: 1px solid var(--line); background: #0a0b10; }
.centered { text-align: center; }
.centered .eyebrow { justify-content: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.service-card { position: relative; min-height: 330px; padding: 36px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,0.045), transparent 58%); transition: transform 220ms ease, border-color 220ms ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(217, 181, 111, 0.48); }
.card-number { position: absolute; top: 26px; right: 28px; color: #68686e; font-family: Georgia, serif; }
.service-icon { color: var(--gold-light); font-size: 35px; }
.service-card h3 { margin: 70px 0 15px; font-family: Georgia, serif; font-size: 31px; font-weight: 400; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.gallery-heading > p { max-width: 380px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-item { position: relative; min-height: 340px; padding: 0; overflow: hidden; border: 0; background: #17181d; cursor: zoom-in; }
.gallery-wide { grid-column: 1 / -1; min-height: 500px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 300ms ease; }
.gallery-item::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(4,5,8,.88), transparent 48%); }
.gallery-item > span { position: absolute; z-index: 1; right: 28px; bottom: 25px; left: 28px; font-family: Georgia, serif; font-size: 20px; text-align: left; }
.gallery-item > span i { color: var(--gold); font-style: normal; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.045); filter: saturate(1.08); }

.partner-section { position: relative; display: grid; min-height: 750px; padding-inline: max(24px, calc((100vw - 1180px) / 2)); place-items: center end; isolation: isolate; }
.partner-section > img, .partner-overlay { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partner-overlay { z-index: -1; background: linear-gradient(90deg, rgba(6,7,11,.38), rgba(6,7,11,.88) 58%, #07080d 100%), linear-gradient(0deg, #07080d 0%, transparent 20%); }
.partner-card { width: min(570px, 100%); padding: clamp(32px, 5vw, 62px); border: 1px solid rgba(255,255,255,.17); background: rgba(9,10,15,.84); box-shadow: 0 35px 100px rgba(0,0,0,.35); backdrop-filter: blur(14px); }
.partner-card h2 { font-size: clamp(42px, 5vw, 66px); }
.partner-card > p:not(.eyebrow, .invite-status) { color: #c2c0bd; line-height: 1.8; }
.partner-steps { display: grid; gap: 13px; margin: 30px 0; padding: 0; list-style: none; }
.partner-steps li { display: flex; align-items: center; gap: 14px; color: #ddd9d3; font-size: 13px; }
.partner-steps span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(217,181,111,.6); border-radius: 50%; color: var(--gold-light); font-family: Georgia, serif; }
.invite-status { margin: 28px 0 0; padding: 16px 18px; border-left: 2px solid var(--gold); color: #dedbd5; background: rgba(217,181,111,.08); font-size: 12px; line-height: 1.6; }
.invite-status.is-detected { color: #fff4d5; background: rgba(217,181,111,.14); }

.site-footer { padding-block: 55px; border-top: 1px solid var(--line); background: #05060a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; }
.footer-grid > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.copyright { text-align: right; }

.lightbox { width: min(1200px, calc(100vw - 40px)); max-width: none; padding: 0; border: 1px solid rgba(255,255,255,.2); background: #08090e; box-shadow: 0 30px 100px #000; }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(0,0,0,.65); cursor: pointer; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  :root { --shell: min(100% - 34px, 1180px); }
  .site-header { min-height: 78px; }
  .nav-toggle { display: block; }
  .navigation { position: absolute; top: 78px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 16px; border: 1px solid var(--line); background: rgba(7,8,13,.97); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
  .navigation.is-open { display: grid; }
  .navigation a { padding: 15px; }
  .navigation .nav-cta { margin-top: 8px; text-align: center; }

  body.home-page .site-header { width: calc(100% - 28px); min-height: 88px; border-bottom-color: rgba(217,181,111,.3); }
  body.home-page .nav-toggle { margin-top: 9px; }
  body.home-page .navigation { top: 88px; }
  body.home-page .hero { display: block; min-height: 1040px; padding-bottom: 182px; background: #07080d; }
  body.home-page .hero-image { top: 0; height: 58svh; min-height: 470px; max-height: 640px; object-fit: cover; object-position: 64% 46%; filter: saturate(1.07) contrast(1.04) brightness(.95); }
  body.home-page .hero-overlay { top: 0; height: 72svh; min-height: 610px; background: linear-gradient(180deg, rgba(4,5,9,.08) 0%, rgba(4,5,9,.08) 30%, rgba(4,5,9,.42) 55%, rgba(7,8,13,.88) 78%, #07080d 96%), linear-gradient(90deg, rgba(4,5,9,.18), rgba(4,5,9,.02)); }
  body.home-page .hero-content { width: calc(100% - 34px); padding-top: clamp(430px, 53svh, 590px); padding-bottom: 34px; }
  body.home-page .hero-content .eyebrow { margin-bottom: 18px; font-size: 9px; letter-spacing: .16em; white-space: nowrap; }
  body.home-page .hero-content .eyebrow span { width: 28px; }
  body.home-page h1 { max-width: 100%; font-size: clamp(47px, 13.3vw, 68px); line-height: .94; letter-spacing: -.045em; }
  body.home-page .hero-copy { max-width: 520px; margin-top: 22px; font-size: 16px; line-height: 1.55; }
  body.home-page .hero-actions--signature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
  body.home-page .hero-actions--signature .button { min-width: 0; min-height: 54px; width: 100%; padding: 0 13px; font-size: 9px; letter-spacing: .085em; line-height: 1.25; }
  body.home-page .hero-categories { position: absolute; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 38vw); grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; background: linear-gradient(180deg, rgba(7,8,13,.56), #07080d 32%); scrollbar-width: none; }
  body.home-page .hero-categories::-webkit-scrollbar { display: none; }
  body.home-page .hero-categories a { min-height: 150px; padding: 20px 12px 17px; scroll-snap-align: start; }
  body.home-page .hero-category-icon { font-size: 24px; }
  body.home-page .hero-categories strong { font-size: 9px; }
  body.home-page .hero-categories small { font-size: 10px; }

  .intro { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; margin-top: 44px; }
  .service-card { min-height: 270px; }
  .gallery-heading { display: block; }
  .gallery-heading > p { margin-top: 26px; }
  .partner-section { place-items: center; }
  .partner-overlay { background: linear-gradient(rgba(6,7,11,.57), #07080d 94%); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid .brand { justify-content: center; }
  .copyright { text-align: center; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(49px, 16vw, 72px); }
  .hero-actions .button { width: 100%; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stats div { display: flex; align-items: baseline; justify-content: space-between; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; min-height: 340px; }
  .partner-section { padding-inline: 17px; }
  .partner-card { padding: 28px 23px; }

  body.home-page .hero { min-height: 980px; padding-bottom: 176px; }
  body.home-page .hero-image { height: 55svh; min-height: 440px; object-position: 65% 45%; }
  body.home-page .hero-overlay { height: 69svh; min-height: 575px; }
  body.home-page .hero-content { padding-top: clamp(405px, 50svh, 530px); }
  body.home-page h1 { font-size: clamp(44px, 12.4vw, 60px); }
  body.home-page .hero-copy { font-size: 15px; }
  body.home-page .hero-actions--signature { grid-template-columns: 1fr 1fr; }
  body.home-page .hero-actions--signature .button { min-height: 52px; padding-inline: 9px; font-size: 8.5px; }
}

@media (max-width: 390px) {
  body.home-page .hero-actions--signature { grid-template-columns: 1fr; }
  body.home-page .hero { min-height: 1060px; }
  body.home-page .hero-categories { grid-auto-columns: minmax(128px, 48vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}