:root {
  --ink: #f7f1e7;
  --muted: rgba(247, 241, 231, 0.72);
  --black: #070605;
  --panel: rgba(12, 10, 8, 0.74);
  --line: rgba(247, 241, 231, 0.16);
  --gold: #c49255;
  --blue: #142a3d;
  --cream: #f2dfc3;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-color: var(--gold) rgba(7, 6, 5, 0.92);
  scrollbar-width: thin;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: "DM Sans", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(7, 6, 5, 0.94);
}

::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(242, 223, 195, 0.95), rgba(196, 146, 85, 0.92));
  border: 3px solid rgba(7, 6, 5, 0.94);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, #f2dfc3, #c49255);
}

body.is-menu-open {
  overflow: hidden;
}

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

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

p {
  color: var(--muted);
  line-height: 1.65;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.88), rgba(7, 6, 5, 0.32));
  border-bottom: 1px solid rgba(247, 241, 231, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(247, 241, 231, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

nav a:hover,
.header-cta:hover {
  color: var(--cream);
}

.header-cta {
  color: var(--gold);
  font-weight: 900;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #10100f;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-ghost {
  color: var(--ink);
  background: rgba(247, 241, 231, 0.08);
  border-color: rgba(247, 241, 231, 0.38);
}

.button-ghost-dark {
  color: var(--ink);
  background: rgba(7, 6, 5, 0.2);
  border-color: rgba(7, 6, 5, 0.28);
}

.story-shell {
  position: relative;
  min-height: 560vh;
}

.video-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #050505;
}

.story-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.story-video {
  z-index: 1;
  opacity: 1;
}

.video-shade {
  position: fixed;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 72% 28%, rgba(196, 146, 85, 0.2), transparent 32%),
    linear-gradient(90deg, rgba(7, 6, 5, 0.62), rgba(7, 6, 5, 0.18) 52%, rgba(7, 6, 5, 0.58)),
    linear-gradient(0deg, rgba(7, 6, 5, 0.76), transparent 46%, rgba(7, 6, 5, 0.54));
}

.story-card {
  position: relative;
  z-index: 3;
  width: min(680px, calc(100% - 36px));
  margin: 0 0 70vh clamp(18px, 7vw, 98px);
  padding: clamp(22px, 4vw, 36px);
  background: rgba(10, 8, 6, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  margin-top: -88vh;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.offset-card {
  margin-left: clamp(18px, 10vw, 140px);
}

.final-story {
  margin-bottom: 4vh;
}

.eyebrow,
.step {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.step {
  display: inline-flex;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.82;
}

.story-card h2,
.story-card h3,
.hero-card h1 {
  color: var(--ink);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  line-height: 0.94;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.15;
}

.hero-card p {
  max-width: 610px;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.section {
  position: relative;
  z-index: 4;
  padding: clamp(78px, 10vw, 140px) clamp(18px, 5vw, 72px);
  background: #0d0b09;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

.section-heading p {
  max-width: 680px;
}

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

.service-grid article {
  min-height: 310px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  background: rgba(247, 241, 231, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: min(620px, 58vw);
  min-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gallery-grid img:last-child {
  background: #000;
  object-fit: contain;
  padding: clamp(18px, 4vw, 48px);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  color: #111;
  background: var(--cream);
}

.location-section p {
  color: rgba(17, 17, 17, 0.68);
}

.location-section .eyebrow {
  color: #8e5d2e;
}

.interactive-map-card {
  width: min(760px, 100%);
  margin-top: 26px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: var(--radius);
}

.soul-map {
  width: 100%;
  min-height: clamp(280px, 34vw, 420px);
  background:
    radial-gradient(circle at 28% 22%, rgba(196, 146, 85, 0.2), transparent 34%),
    linear-gradient(135deg, #e8ded0, #fbf8f1 42%, #c8b79f);
  z-index: 1;
}

.leaflet-container {
  font-family: "DM Sans", sans-serif;
}

.map-status {
  min-height: 48px;
  display: grid;
  align-items: center;
  padding: 12px 16px;
  color: rgba(17, 17, 17, 0.68);
  background: rgba(242, 223, 195, 0.92);
  border-top: 1px solid rgba(17, 17, 17, 0.14);
  font-size: 0.9rem;
  font-weight: 800;
}

.whatsapp-bubble {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 45;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.4);
}

.whatsapp-bubble svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
}

.final-cta {
  min-height: 88svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(196, 146, 85, 0.24), transparent 30%),
    #070605;
}

.final-cta h2 {
  max-width: 960px;
}

.final-cta p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.story-card.reveal,
.service-grid article.reveal,
.interactive-map-card.reveal {
  transform: translate3d(0, 26px, 0) scale(0.985);
}

.story-card.reveal.is-visible,
.service-grid article.reveal.is-visible,
.interactive-map-card.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 980px) {
  nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 9px;
    color: var(--ink);
    background: rgba(247, 241, 231, 0.08);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

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

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    z-index: 42;
    display: grid;
    gap: 6px;
    padding: 10px;
    background: rgba(7, 6, 5, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 6px;
    font-weight: 900;
  }

  .story-card,
  .offset-card {
    width: min(620px, calc(100% - 28px));
    margin-inline: 14px;
  }

  .service-grid,
  .gallery-grid,
  .location-section {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    max-width: 160px;
    font-size: 0.95rem;
    line-height: 1;
  }

  .story-shell {
    min-height: 590vh;
  }

  .video-shade {
    background:
      linear-gradient(90deg, rgba(7, 6, 5, 0.5), rgba(7, 6, 5, 0.16) 52%, rgba(7, 6, 5, 0.56)),
      linear-gradient(0deg, rgba(7, 6, 5, 0.76), transparent 48%, rgba(7, 6, 5, 0.48));
  }

  h1 {
    font-size: clamp(3.15rem, 15.8vw, 4.35rem);
  }

  .hero-card {
    margin-top: -86vh;
  }

  .story-card {
    margin-bottom: 66vh;
  }

  .final-story {
    margin-bottom: 3vh;
  }

  .actions .button,
  .store-actions .button {
    width: 100%;
  }

  .soul-map {
    min-height: 320px;
  }

  .whatsapp-bubble {
    width: 56px;
    height: 56px;
  }

  .whatsapp-bubble svg {
    width: 30px;
    height: 30px;
  }

  .gallery-grid img {
    height: auto;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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