:root {
  --black: #080808;
  --black-2: #0f0f0f;
  --black-3: #171717;
  --charcoal: #202020;
  --gold: #d4af37;
  --gold-soft: #e8cc6a;
  --ivory: #f6f1e8;
  --white: #ffffff;
  --muted: #aaa49a;
  --dim: #706b63;
  --rule: rgba(212, 175, 55, 0.16);
  --rule-strong: rgba(212, 175, 55, 0.34);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  --display: "Cormorant Garamond", Georgia, serif;
  --ui: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --section: clamp(76px, 10vw, 136px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--black);
  padding: 10px 14px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Desktop-only cursor: disabled automatically on touch/coarse pointer devices. */
.cursor,
.cursor-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  .cursor,
  .cursor-ring {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  .cursor {
    z-index: 10001;
    width: 7px;
    height: 7px;
    background: var(--gold);
    mix-blend-mode: difference;
  }

  .cursor-ring {
    z-index: 10000;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(212, 175, 55, 0.42);
    transition: width 0.28s var(--ease), height 0.28s var(--ease), border-color 0.28s var(--ease);
  }

  .cursor-ring.is-active {
    width: 58px;
    height: 58px;
    border-color: rgba(212, 175, 55, 0.74);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 70px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(8, 8, 8, 0.94);
  border-color: var(--rule);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  min-width: 44px;
}

.brand > span {
  display: grid;
  gap: 2px;
  line-height: 0.78;
}

.brand span span {
  display: block;
  font-family: var(--ui);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand i {
  display: block;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a,
.mobile-nav a,
.site-footer nav a {
  position: relative;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.desktop-nav a::after,
.site-footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer nav a:hover {
  color: var(--gold);
}

.desktop-nav a:hover::after,
.site-footer nav a:hover::after {
  transform: scaleX(1);
}

.desktop-nav .nav-cta {
  overflow: hidden;
  background: var(--gold);
  color: var(--black);
  padding: 10px 20px;
  box-shadow: 0 0 0 rgba(212, 175, 55, 0);
}

.desktop-nav .nav-cta::after {
  display: none;
}

.desktop-nav .nav-cta:hover {
  background: var(--gold-soft);
  color: var(--black);
  box-shadow: 0 10px 34px rgba(212, 175, 55, 0.18);
}

/* Client Portal — ghost link, distinct from primary CTA */
.desktop-nav .nav-portal {
  border: 1px solid var(--rule-strong);
  padding: 9px 18px;
  color: var(--ivory);
  background: transparent;
  letter-spacing: 0.18em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.desktop-nav .nav-portal::after {
  display: none;
}

.desktop-nav .nav-portal:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.08);
}

/* Mobile portal link — gold, full-width */
.mobile-nav .nav-portal-mobile {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* Hero portal button — minimal text link with arrow */
.button-portal {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 0;
  transition: color 0.25s var(--ease);
  align-self: center;
}

.button-portal::before {
  display: none;
}

.button-portal:hover {
  color: var(--gold);
  transform: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-button span {
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 180;
  top: 64px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  max-height: calc(100svh - 64px);
  overflow-y: auto;
  background: rgba(8, 8, 8, 0.98);
  border-bottom: 1px solid var(--rule);
  padding: 18px var(--pad);
  backdrop-filter: blur(18px);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--black);
}

.hero-media,
.hero-overlay,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 108%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.58);
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.06);
  will-change: transform;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.68) 46%, rgba(8, 8, 8, 0.32)),
    linear-gradient(0deg, rgba(8, 8, 8, 0.98), rgba(8, 8, 8, 0.2) 46%, rgba(8, 8, 8, 0.18)),
    radial-gradient(circle at 18% 68%, rgba(212, 175, 55, 0.2), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(212, 175, 55, 0.09), transparent 30%);
}

.hero-grain {
  z-index: 2;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: end;
  max-width: 900px;
  padding: 132px var(--pad) 70px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Chapter markers — cinematic display scale */
.section-kicker {
  margin: 0 0 40px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0;
}

h1 {
  position: relative;
  margin: 0 0 34px;
  max-width: 10.5ch;
  color: var(--white);
  font-size: clamp(58px, 9vw, 124px);
  line-height: 0.92;
}

h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 1px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineIn 1.1s var(--ease) 0.45s forwards;
}

h1 em,
h2 em,
h3 em {
  color: var(--gold);
  font-style: italic;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.85;
}

.hero-words {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-words span {
  border: 1px solid var(--rule);
  padding: 8px 12px;
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(8, 8, 8, 0.36);
}

.hero-actions,
.section-cta,
.credentials-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}

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

.button:hover::before {
  transform: translateX(120%);
}

.button-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.16);
}

.button-primary:hover {
  box-shadow: 0 18px 54px rgba(212, 175, 55, 0.24);
}

.button-secondary {
  border: 1px solid var(--rule-strong);
  color: var(--ivory);
  background: rgba(8, 8, 8, 0.34);
}

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
  background: rgba(8, 8, 8, 0.62);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  min-height: 112px;
  padding: 24px var(--pad);
  border-right: 1px solid var(--rule);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  margin-bottom: 9px;
  color: var(--white);
  font-family: var(--ui);
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 700;
  line-height: 1;
}

.hero-stats dt span,
.hero-stats dt {
  color: var(--white);
}

.hero-stats dd {
  margin: 0;
  color: var(--dim);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: var(--section) var(--pad);
  background: var(--black);
  border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.section:nth-of-type(odd) {
  background: var(--black-2);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  width: 82px;
  height: 1px;
  background: var(--gold);
  opacity: 0.72;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}

.section.is-visible::before {
  transform: scaleX(1);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-heading h2,
.credentials h2 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1.02;
}

.section-heading p:not(.eyebrow),
.credentials p {
  max-width: 690px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.86;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.split-intro .section-heading {
  margin-bottom: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 16px;
}

.value-grid,
.seo-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--rule);
}

.value-grid article,
.seo-columns article {
  padding: 38px;
  border-right: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.value-grid article:last-child,
.seo-columns article:last-child {
  border-right: 0;
}

.value-grid article:hover,
.seo-columns article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.03);
}

.value-grid span,
.service-content span,
.work-card span,
.founder-content span,
.seo-columns span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.value-grid h3,
.service-content h3,
.work-card h3,
.founder-content h3,
.seo-columns h3,
.contact h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.08;
}

.value-grid p,
.service-content p,
.work-card p,
.founder-content p,
.seo-columns p,
.contact p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  gap: 28px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) 1fr;
  min-height: 430px;
  overflow: hidden;
  background: var(--black);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--rule-strong);
}

.service-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 8, 0.5), rgba(8, 8, 8, 0.05));
}

.service-image img,
.work-card img,
.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.65s var(--ease);
}

.service-card:hover .service-image img,
.work-card:hover img,
.founder-card:hover .founder-image img {
  transform: scale(1.045);
}

.service-image img {
  filter: saturate(0.76) brightness(0.72);
}

.service-content {
  align-self: center;
  padding: clamp(34px, 5vw, 62px);
}

.service-content .lead {
  color: var(--ivory);
  font-size: 17px;
  line-height: 1.75;
}

.service-content li {
  position: relative;
  margin-top: 9px;
  padding-left: 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.micro-cta {
  display: inline-flex;
  margin-top: 28px;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.micro-cta::after {
  content: "";
  align-self: center;
  width: 34px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}

.micro-cta:hover::after {
  width: 54px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.work-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: var(--black-2);
}

.work-card img {
  position: absolute;
  inset: 0;
  filter: saturate(0.72) brightness(0.58);
}

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(0deg, rgba(8, 8, 8, 0.95), rgba(8, 8, 8, 0.52) 45%, rgba(8, 8, 8, 0.05)),
    radial-gradient(circle at 12% 88%, rgba(212, 175, 55, 0.12), transparent 36%);
}

.work-card p {
  max-width: 560px;
  margin-bottom: 8px;
  transform: translateY(16px);
  opacity: 0.86;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.work-card strong {
  color: var(--gold);
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-card:hover p {
  transform: translateY(0);
  opacity: 1;
}

.section-cta {
  justify-content: center;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) 1fr;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--black);
  box-shadow: var(--shadow);
}

.founder-image {
  min-height: 560px;
  overflow: hidden;
}

.founder-image img {
  filter: grayscale(0.1) saturate(0.78) brightness(0.82);
}

.founder-content {
  align-self: center;
  padding: clamp(32px, 4vw, 48px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.tag-list li {
  border: 1px solid var(--rule);
  padding: 7px 10px;
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.018);
}

.founder-links {
  display: grid;
  gap: 9px;
}

.founder-links a,
.contact-link {
  width: fit-content;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.founder-links a:hover,
.contact-link:hover {
  color: var(--gold-soft);
}

.client-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.client-list li {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--dim);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.client-list li:hover {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.03);
}

.seo-block {
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08), transparent 30%),
    var(--black);
}

.credentials {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 9vw, 116px) var(--pad);
  background:
    linear-gradient(120deg, rgba(8, 8, 8, 0.95), rgba(8, 8, 8, 0.78)),
    radial-gradient(circle at 16% 72%, rgba(212, 175, 55, 0.16), transparent 38%),
    var(--black-3);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.credentials::after {
  content: "";
  position: absolute;
  right: var(--pad);
  top: 50%;
  width: min(28vw, 320px);
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.28;
}

.credentials-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.credentials h2 {
  margin-bottom: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.contact-grid article {
  min-height: 260px;
  padding: clamp(28px, 4vw, 40px);
  background: var(--black);
}

.contact-link,
button.contact-link {
  display: block;
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* Google Maps embed */
.contact-map {
  margin-top: 32px;
  border: 1px solid var(--rule);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(0.5) contrast(1.05) brightness(0.8) sepia(0.08);
}

/* WhatsApp service selector */
.wa-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(8px);
}

.wa-overlay.is-open {
  display: block;
}

.wa-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 901;
  background: var(--black-2);
  border-top: 1px solid var(--rule-strong);
  padding: 36px var(--pad) 48px;
  transform: translateY(100%);
  transition: transform 0.42s var(--ease);
  max-height: 90svh;
  overflow-y: auto;
}

.wa-menu.is-open {
  transform: translateY(0);
}

.wa-header {
  position: relative;
  margin-bottom: 28px;
}

.wa-header h3 {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  margin: 6px 0 0;
}

.wa-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.wa-close:hover {
  border-color: var(--rule-strong);
  color: var(--ivory);
}

.wa-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.wa-option {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid var(--rule);
  background: rgba(212, 175, 55, 0.03);
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
}

.wa-option:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.07);
}

.wa-option-ai {
  border-color: var(--rule-strong);
  color: var(--gold-soft);
}

.wa-option-ai:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr auto 0.8fr;
  gap: 30px;
  align-items: center;
  padding: 42px var(--pad);
  background: var(--black-3);
  border-top: 1px solid var(--rule);
}

.site-footer p {
  margin: 14px 0 0;
  max-width: 440px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer .copyright {
  justify-self: end;
  margin: 0;
  color: var(--dim);
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hero {
  transition-delay: 0.12s;
}

@keyframes lineIn {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .split-intro,
  .service-card,
  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-image {
    min-height: 460px;
  }

  .client-list {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer .copyright {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 780px) {
  .site-header {
    height: 62px;
  }

  .mobile-nav {
    top: 62px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    height: 100%;
    transform: scale(1.04);
  }

  .hero-content {
    padding: 106px var(--pad) 52px;
  }

  h1 {
    font-size: clamp(52px, 17vw, 78px);
  }

  .hero-words {
    gap: 8px;
  }

  .hero-words span {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .button {
    min-height: 50px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats div:nth-child(2) {
    border-right: 0;
  }

  .value-grid,
  .seo-columns,
  .work-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .value-grid article,
  .seo-columns article {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 30px 0;
    background: transparent;
  }

  .value-grid article:last-child,
  .seo-columns article:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 0;
  }

  .service-image {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .work-card {
    min-height: 420px;
  }

  .founder-image {
    min-height: 420px;
  }

  .client-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .credentials::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .section-cta,
  .credentials-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section-heading h2,
  .credentials h2 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .work-card {
    min-height: 390px;
  }

  .work-overlay {
    padding: 24px;
  }

  .founder-image {
    min-height: 360px;
  }

  .client-list li {
    min-height: 58px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media {
    transform: scale(1.04) !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* V4 media integration */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  background: var(--black);
  animation: preloaderLift 1.15s var(--ease) 0.25s forwards;
}

.preloader-mark {
  display: grid;
  gap: 5px;
  color: var(--gold);
  font-family: var(--ui);
  font-size: clamp(34px, 7vw, 72px);
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: 0;
  text-align: center;
}

.preloader-mark i {
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  animation: lineIn 0.8s var(--ease) forwards;
}

@keyframes preloaderLift {
  0%, 72% { transform: translateY(0); }
  100% { transform: translateY(-100%); visibility: hidden; }
}

.hero-media:is(video) {
  display: block;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule);
  background: #050505;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeDrift 34s linear infinite;
}

.marquee-track span {
  padding: 18px 0;
  color: rgba(246, 241, 232, 0.62);
  font-family: var(--ui);
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marqueeDrift {
  to { transform: translateX(-50%); }
}

.name-story {
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 52%, rgba(212, 175, 55, 0.13), transparent 34%),
    var(--black);
}

.name-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.infinity-stage {
  position: relative;
  min-height: min(66vw, 620px);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--black-2);
  box-shadow: var(--shadow);
}

.infinity-stage video,
.cinematic-strip video,
.credentials > img,
.future > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infinity-stage video {
  opacity: 0.42;
  filter: saturate(0.8) brightness(0.5);
}

.infinity-stage span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(212, 175, 55, 0.78);
  font-family: var(--ui);
  font-size: clamp(180px, 32vw, 380px);
  font-weight: 800;
  line-height: 1;
  mix-blend-mode: screen;
}

.infinity-stage i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(34vw, 360px);
  height: min(17vw, 180px);
  border: 2px solid rgba(212, 175, 55, 0.52);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-28deg);
  box-shadow: 0 0 58px rgba(212, 175, 55, 0.16);
}

.cinematic-strip {
  position: relative;
  min-height: min(78vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: var(--section) var(--pad);
  background: var(--black);
}

.cinematic-strip::after,
.future::after,
.credentials::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.28) 48%, rgba(8, 8, 8, 0.74)),
    radial-gradient(circle at 18% 80%, rgba(212, 175, 55, 0.16), transparent 34%);
}

.cinematic-strip video {
  filter: saturate(0.74) brightness(0.58);
  transform: scale(1.05);
}

.cinematic-strip > div {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.cinematic-strip h2 {
  margin: 0;
  max-width: 10ch;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 300;
  line-height: 0.95;
}

.moments-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 18px;
  align-items: stretch;
}

.moments-grid figure {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--black-2);
}

.moments-grid .moment-large {
  grid-row: span 2;
}

.moments-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.76);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.moments-grid figure:hover img {
  transform: scale(1.045);
  filter: saturate(0.9) brightness(0.86);
}

.moments-grid figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.future {
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.future > img {
  filter: saturate(0.76) brightness(0.5);
  transform: scale(1.04);
}

.future .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.credentials > img {
  opacity: 0.5;
  filter: saturate(0.72) brightness(0.44);
}

.credentials-inner {
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.44);
}

@media (max-width: 960px) {
  .name-grid,
  .moments-grid {
    grid-template-columns: 1fr;
  }

  .infinity-stage,
  .moments-grid figure,
  .future {
    min-height: 460px;
  }

  .moments-grid .moment-large {
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .marquee-track span {
    padding: 14px 0;
    font-size: 14px;
  }

  .cinematic-strip h2 {
    max-width: 12ch;
  }

  .infinity-stage,
  .moments-grid figure,
  .future {
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    display: none;
  }

  .marquee-track {
    animation: none;
  }

  video[autoplay] {
    display: none;
  }
}
