/* Global chrome — header, menu, hero bottom bar */

@font-face {
  font-family: "Clash Display";
  src: url("../fonts/clash-display-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body.has-site-chrome {
  --header-h: 64px;
}

.top-strip {
  display: none !important;
}

.site-header {
  top: 0;
  height: var(--header-h);
  background: transparent;
  border: none;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-logo__img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(260px, 52vw);
}

.site-nav {
  display: none !important;
}

.nav-toggle {
  display: inline-flex !important;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 0;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: none;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: var(--color-cream);
  margin-left: auto;
}

.mobile-nav {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.98);
  padding: calc(var(--header-h) + 32px) var(--page-pad) 32px;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--ease-out), opacity 0.4s;
  backdrop-filter: blur(12px);
}

.mobile-nav.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__close {
  position: absolute;
  top: calc((var(--header-h) - 48px) / 2);
  right: var(--page-pad);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-cream);
}

.mobile-nav__close::before,
.mobile-nav__close::after {
  content: "";
  position: absolute;
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}

.mobile-nav__close::before {
  transform: rotate(45deg);
}

.mobile-nav__close::after {
  transform: rotate(-45deg);
}

.mobile-nav__close:focus-visible {
  outline: 1px solid var(--color-cream);
  outline-offset: 4px;
}

.mobile-nav__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-content: start;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.mobile-nav__primary,
.mobile-nav__services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mobile-nav__services {
  padding-left: clamp(16px, 3vw, 32px);
  border-left: 1px solid var(--color-border);
}

.mobile-nav__services-heading {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(25px, 4.2vw, 39px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-out);
}

.mobile-nav__services a {
  font-size: clamp(18px, 2.8vw, 28px);
  line-height: 1.15;
}

.mobile-nav.is-open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav__logo {
  display: block;
  margin-bottom: 24px;
  line-height: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-out);
}

.mobile-nav.is-open .mobile-nav__logo {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.mobile-nav__logo-img {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(280px, 72vw);
}

.mobile-nav.is-open .mobile-nav__primary > a:nth-child(2) { transition-delay: 0.05s; }
.mobile-nav.is-open .mobile-nav__primary > a:nth-child(3) { transition-delay: 0.1s; }
.mobile-nav.is-open .mobile-nav__primary > a:nth-child(4) { transition-delay: 0.15s; }
.mobile-nav.is-open .mobile-nav__primary > a:nth-child(5) { transition-delay: 0.2s; }
.mobile-nav.is-open .mobile-nav__primary > a:nth-child(6) { transition-delay: 0.25s; }
.mobile-nav.is-open .mobile-nav__primary > a:nth-child(7) { transition-delay: 0.3s; }

.mobile-nav.is-open .mobile-nav__services > a:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav.is-open .mobile-nav__services > a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.is-open .mobile-nav__services > a:nth-child(4) { transition-delay: 0.24s; }
.mobile-nav.is-open .mobile-nav__services > a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.is-open .mobile-nav__services > a:nth-child(6) { transition-delay: 0.36s; }

body.menu-open {
  overflow: hidden;
}

body.menu-open .nav-toggle::before {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .nav-toggle::after {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-toggle::before,
.nav-toggle::after {
  transition: transform 0.35s var(--ease-out);
}

.mobile-nav a.is-active {
  opacity: 1;
}

/* Hero */
.hero {
  margin-top: 0;
  min-height: 100vh;
  padding-bottom: 0;
}

.hero__content {
  margin-inline: auto;
  width: min(var(--content-max), calc(100% - var(--page-pad) * 2));
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 72px;
  position: relative;
  z-index: 2;
}

.hero__main {
  align-self: end;
}

.hero h1.display-title {
  font-size: clamp(64px, 8.5vw, 132px);
  line-height: 0.9;
  max-width: none;
  margin: 0;
}

.hero h1 .title-ghost {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 245, 234, 0.85);
}

.hero__intro {
  position: absolute;
  top: calc(var(--header-h) + 32px);
  right: var(--page-pad);
  max-width: 360px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  opacity: 0.9;
}

.hero__brand {
  display: none;
}

.hero__footer {
  display: none;
}

.hero-bottom-bar,
.page-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--page-pad) 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bottom-bar::before,
.page-bottom-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 40vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-bottom-bar__brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.hero-bottom-bar__logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: min(180px, 28vw);
  opacity: 0.9;
}

.hero-bottom-bar__center {
  text-align: center;
  opacity: 0.55;
}

.scroll-hint {
  display: inline-block;
  margin-right: 6px;
  animation: scroll-hint-bounce 2s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.hero-bottom-bar__right {
  text-align: right;
}

.hero-bottom-bar a,
.page-bottom-bar a {
  opacity: 0.65;
  transition: opacity 0.2s;
}

.hero-bottom-bar a:hover,
.page-bottom-bar a:hover {
  opacity: 1;
}

/* About hero overlap */
.about-hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero__stage {
  position: relative;
  width: min(1200px, 94vw);
  min-height: calc(100vh - var(--header-h) - 100px);
  display: grid;
  grid-template-columns: 1fr minmax(200px, 420px) 1fr;
  grid-template-rows: minmax(80px, 1fr) auto minmax(80px, 1fr);
  align-items: center;
  justify-items: center;
  gap: 12px 24px;
}

.about-hero__finnegan,
.about-hero__monroe {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 200px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

.about-hero__finnegan {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  margin-left: clamp(0px, 1vw, 12px);
}

.about-hero__monroe {
  grid-column: 3;
  grid-row: 3;
  align-self: start;
  justify-self: end;
  margin-right: clamp(0px, 1vw, 12px);
}

.about-hero__photo {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  z-index: 1;
  width: min(420px, 42vw);
  max-width: 100%;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  pointer-events: none;
  justify-self: center;
  align-self: center;
}

.about-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 480px);
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 180;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-out), background 0.25s;
}

.whatsapp-float:hover {
  background: rgba(0, 0, 0, 0.82);
  transform: translateY(-2px);
  color: #fff;
}

.whatsapp-float__icon {
  width: 30px;
  height: 30px;
  display: block;
}

.whatsapp-float__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 809.98px) {
  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 88px;
  }

  .hero__main {
    order: 1;
  }

  .hero__intro {
    position: static;
    max-width: none;
    text-align: center;
    margin: 20px 0 0;
    order: 2;
    font-size: 9px;
    line-height: 1.5;
  }

  .hero h1.display-title {
    font-size: clamp(48px, 14vw, 72px);
    max-width: 12ch;
  }

  .about-hero__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    padding: 24px 0 48px;
    gap: 20px;
  }

  .about-hero__finnegan,
  .about-hero__monroe {
    font-size: clamp(48px, 16vw, 72px);
    justify-self: center;
    align-self: center;
    margin: 0;
  }

  .about-hero__finnegan {
    grid-column: 1;
    grid-row: 1;
  }

  .about-hero__photo {
    grid-column: 1;
    grid-row: 2;
    width: min(320px, 78vw);
  }

  .about-hero__photo img {
    max-height: 40vh;
  }

  .about-hero__monroe {
    grid-column: 1;
    grid-row: 3;
  }

  .about-bio-grid {
    grid-template-columns: 1fr;
  }
}
