:root {
  --ink: #fff7e8;
  --muted: rgba(255, 247, 232, 0.72);
  --black: #060505;
  --charcoal: #12100e;
  --panel: rgba(18, 16, 14, 0.72);
  --line: rgba(255, 247, 232, 0.16);
  --gold: #c9852d;
  --amber: #f1c987;
  --sage: #7f8a73;
  --cream: #f6ead6;
  --radius: 8px;
  --shadow: 0 28px 86px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-color: var(--gold) rgba(6, 5, 5, 0.94);
  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(6, 5, 5, 0.94);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--amber), var(--gold));
  border: 3px solid rgba(6, 5, 5, 0.94);
  border-radius: 999px;
}

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.16;
  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(6, 5, 5, 0.9), rgba(6, 5, 5, 0.3));
  border-bottom: 1px solid rgba(255, 247, 232, 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: 48px;
  height: 48px;
  object-fit: contain;
  padding: 5px;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

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

.header-cta {
  color: var(--amber);
  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: #11100e;
  background: var(--amber);
  border: 1px solid var(--amber);
  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(--gold);
}

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

.button-ghost-dark {
  color: #15120e;
  background: rgba(21, 18, 14, 0.04);
  border-color: rgba(21, 18, 14, 0.22);
}

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

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

.visual-stage video {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100svh;
  object-fit: cover;
  transform: scale(calc(1.06 + (var(--story-progress, 0) * 0.05)));
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
  transform-origin: 64% 50%;
}

.visual-shade {
  position: fixed;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 74% 24%, rgba(201, 133, 45, 0.24), transparent 34%),
    radial-gradient(circle at 22% 74%, rgba(127, 138, 115, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(6, 5, 5, 0.76), rgba(6, 5, 5, 0.22) 54%, rgba(6, 5, 5, 0.72)),
    linear-gradient(0deg, rgba(6, 5, 5, 0.78), transparent 44%, rgba(6, 5, 5, 0.58));
}

.story-card {
  position: relative;
  z-index: 3;
  width: min(700px, calc(100% - 36px));
  margin: 0 0 70vh clamp(18px, 7vw, 98px);
  padding: clamp(22px, 4vw, 38px);
  background: var(--panel);
  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;
}

.hero-logo {
  width: clamp(140px, 17vw, 220px);
  margin-bottom: 28px;
}

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

.right-card {
  margin-left: auto;
  margin-right: clamp(18px, 8vw, 118px);
}

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

.eyebrow,
.step {
  margin: 0 0 12px;
  color: var(--amber);
  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: 11ch;
  font-size: clamp(3.4rem, 7.8vw, 7.4rem);
  line-height: 0.86;
}

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

h3 {
  font-size: 1.24rem;
  line-height: 1.14;
}

.hero-card p {
  max-width: 640px;
  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: var(--charcoal);
}

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

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

.proof-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-block: 0;
  background: rgba(255, 247, 232, 0.16);
}

.proof-item {
  min-height: 210px;
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 42px);
  background: #0f0d0b;
}

.proof-item span {
  color: var(--amber);
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 4.6rem);
  font-weight: 800;
  line-height: 0.9;
}

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

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

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

.process-section {
  background:
    linear-gradient(135deg, rgba(127, 138, 115, 0.16), transparent 34%),
    #0b0a09;
}

.process-list article {
  min-height: 260px;
}

.process-list span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #11100e;
  background: var(--amber);
  border-radius: 50%;
}

.gallery-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: var(--cream);
  color: #15120e;
}

.gallery-section p {
  color: rgba(21, 18, 14, 0.68);
}

.gallery-section .eyebrow {
  color: #9a641f;
}

.gallery-copy .button {
  margin-top: 12px;
}

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

.gallery-media img {
  width: 100%;
  height: min(620px, 58vw);
  min-height: 420px;
  object-fit: cover;
  border: 1px solid rgba(21, 18, 14, 0.16);
  border-radius: var(--radius);
}

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

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

.location-section p {
  color: rgba(21, 18, 14, 0.68);
}

.location-section .eyebrow {
  color: #9a641f;
}

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

.made-map {
  width: 100%;
  min-height: clamp(280px, 34vw, 420px);
  display: block;
  border: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(201, 133, 45, 0.2), transparent 34%),
    linear-gradient(135deg, #e4d2b2, #f9f0df 42%, #b9a17d);
}

.map-status {
  min-height: 48px;
  display: grid;
  align-items: center;
  padding: 12px 16px;
  color: rgba(21, 18, 14, 0.7);
  background: rgba(246, 234, 214, 0.94);
  border-top: 1px solid rgba(21, 18, 14, 0.14);
  font-size: 0.9rem;
  font-weight: 800;
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.02), rgba(255, 247, 232, 0.08)),
    #0c0a09;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, 0.06);
}

summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 900;
}

summary::after {
  content: "+";
  color: var(--amber);
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta {
  min-height: 88svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(201, 133, 45, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(127, 138, 115, 0.18), transparent 36%),
    #060505;
}

.final-cta img {
  width: clamp(140px, 18vw, 220px);
  margin-bottom: 28px;
}

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

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

.floating-cta {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 45;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #11100e;
  background: linear-gradient(145deg, var(--amber), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.has-floating-cta .floating-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.floating-cta svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
}

.site-footer {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, auto) minmax(180px, auto);
  gap: 28px;
  align-items: end;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: #060505;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 112px;
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 300px;
  margin: 0;
}

.site-footer address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
  font-weight: 900;
}

.footer-links a {
  color: var(--amber);
}

.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,
.process-list article.reveal,
.interactive-map-card.reveal,
details.reveal {
  transform: translate3d(0, 26px, 0) scale(0.985);
}

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

@media (max-width: 1060px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-links {
    justify-items: start;
  }
}

@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(255, 247, 232, 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(6, 5, 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,
  .right-card {
    width: min(620px, calc(100% - 28px));
    margin-inline: 14px;
  }
}

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

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

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

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

  .visual-stage video {
    object-position: 55% center;
  }

  .visual-shade {
    background:
      linear-gradient(90deg, rgba(6, 5, 5, 0.55), rgba(6, 5, 5, 0.2) 52%, rgba(6, 5, 5, 0.62)),
      linear-gradient(0deg, rgba(6, 5, 5, 0.8), transparent 48%, rgba(6, 5, 5, 0.52));
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.6rem, 11.6vw, 3.45rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

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

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

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

  .proof-section,
  .service-grid,
  .process-list,
  .gallery-media {
    grid-template-columns: 1fr;
  }

  .gallery-media img {
    min-height: 300px;
    height: 72vw;
  }

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

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

  .floating-cta {
    width: 56px;
    height: 56px;
  }
}

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