:root {
  --bg: #000000;
  --panel: #140b03;
  --coffee: #5B330A;
  --gold: #a97830;
  --gold-light: #e4af60;
  --cream: #d6c7b2;
  --muted: #7b7161;
  --text: #ffffff;
  --inner: 1258px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
}

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

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

button {
  font: inherit;
}

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

.nav,
.section {
  margin-inline: auto;
  max-width: var(--inner);
}

.solid-nav-wrap {
  background: var(--gold);
  min-height: 110px;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(42px, 8vw, 205px);
  position: relative;
  transition: background 180ms ease, box-shadow 180ms ease, gap 180ms ease, padding 180ms ease;
  z-index: 20;
}

.nav.is-sticky,
.nav.nav-solid {
  background: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  gap: clamp(48px, 7.4vw, 108px);
  left: 0;
  margin: 0;
  max-width: none;
  padding: 18px clamp(24px, 8.9vw, 128px);
  position: fixed;
  top: 0;
  width: 100%;
}

.nav.nav-solid:not(.is-sticky) {
  position: relative;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  height: 63px;
  object-fit: contain;
  transition: height 180ms ease, width 180ms ease;
  width: 112px;
}

.nav.is-sticky .brand img,
.nav.nav-solid .brand img {
  height: 74px;
  width: 132px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 18px 45px;
  justify-content: center;
  line-height: 1;
}

.nav.is-sticky .nav-links,
.nav.nav-solid .nav-links {
  justify-content: flex-start;
}

.nav-links a {
  color: #ffffff;
  font-size: 20px;
  transition: color 160ms ease;
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.nav-dropdown-trigger::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 7px;
  margin-top: -4px;
  transform: rotate(45deg);
  transition: transform 180ms ease;
  width: 7px;
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: rotate(225deg);
}

.nav-dropdown-menu {
  background: rgba(10, 6, 2, 0.94);
  border: 1px solid rgba(228, 175, 96, 0.35);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  display: grid;
  gap: 4px;
  left: 50%;
  min-width: 178px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 18px);
  transform: translate(-50%, 10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 60;
}

.nav-dropdown-menu::before {
  content: "";
  height: 18px;
  left: 0;
  position: absolute;
  right: 0;
  top: -18px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  border-radius: 6px;
  color: #ffffff;
  display: block;
  font-size: 15px !important;
  padding: 11px 13px;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: rgba(169, 120, 48, 0.22);
  color: var(--gold-light);
  transform: translateX(3px);
}

.nav.is-sticky .nav-links a,
.nav.nav-solid .nav-links a {
  font-size: 18px;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--coffee);
}

.nav-links .active {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.button {
  align-items: center;
  border-radius: 3px;
  display: inline-flex;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  min-height: 63px;
  padding: 0 29px;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button img {
  height: 30px;
  width: 30px;
}

.button-filled {
  background: var(--gold);
  color: #ffffff;
}

.button-filled:hover {
  background: var(--coffee);
}

.button-outline {
  background-image:
    linear-gradient(#000000, #000000),
    linear-gradient(to bottom, rgba(169, 120, 48, 1), rgba(67, 48, 19, 1));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--gold);
}

.button-outline:hover {
  background-image: none;
  background-color: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

.eyebrow {
  color: var(--muted);
  display: inline-block;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.32;
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.eyebrow::after {
  background: currentColor;
  bottom: -6px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 85px;
}

.footer {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 37px;
  text-align: center;
}

.footer-logo {
  height: 102px;
  object-fit: contain;
  width: 182px;
}

.footer p {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  margin-top: 16px;
  max-width: 702px;
}

.socials {
  display: flex;
  gap: 21px;
  margin-top: 18px;
}

.socials img {
  height: 35px;
  width: 35px;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(80px) scale(0.97);
  transition:
    opacity 760ms ease,
    transform 860ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 860ms ease;
  will-change: opacity, transform, filter;
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes textLift {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(42px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-animate.is-visible {
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .solid-nav-wrap {
    min-height: 90px;
  }

  .brand img,
  .nav.is-sticky .brand img,
  .nav.nav-solid .brand img {
    height: 54px;
    width: 96px;
  }

  .nav-links {
    gap: 14px 20px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .nav-dropdown-menu {
    left: 0;
    top: calc(100% + 10px);
    transform: translateY(8px);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: translateY(0);
  }
}
