/* =========================================================
   THE MARK A. BRADFORD COLLECTION — EDITION ONE
   BUILD 001B.2 — NAVIGATION & HERO
   ========================================================= */

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(22, 21, 19, 0.97);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(
    to bottom,
    rgba(10, 9, 8, 0.84),
    rgba(10, 9, 8, 0.36) 62%,
    transparent
  );
  border-bottom: 0;
}

.site-header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
}

.brand {
  display: inline-grid;
  gap: 3px;
  flex: 0 0 auto;
  min-width: max-content;
  line-height: 1;
}

.brand strong {
  font-family: var(--font-sans);
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand span {
  color: #dc8a55;
  font-family: var(--font-sans);
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 29px);
  min-width: 0;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.79);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: #e5a071;
  transition: right 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--color-white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

/* ---------- Menu Button ---------- */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 7px 0;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 220ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(980px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--color-white);
  background: #11100e;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.012);
  animation: heroDrift 16s ease-out forwards;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(7, 6, 5, 0.04) 0%,
      rgba(7, 6, 5, 0.24) 34%,
      rgba(7, 6, 5, 0.72) 70%,
      rgba(7, 6, 5, 0.92) 100%
    ),
    linear-gradient(
      0deg,
      rgba(7, 6, 5, 0.62) 0%,
      rgba(7, 6, 5, 0.10) 48%,
      rgba(7, 6, 5, 0.22) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 790px);
  margin-left: auto;
  padding-block: clamp(140px, 18vh, 210px) clamp(62px, 9vh, 104px);
}

.hero__content .eyebrow {
  margin-bottom: 0.85rem;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  text-wrap: balance;
}

.hero__content > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 30px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 54px;
  margin: 10px auto 0;
  background: rgba(255, 255, 255, 0.35);
}

/* ---------- Hero Buttons ---------- */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--color-ink);
  background: transparent;
  color: var(--color-ink);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.btn--dark {
  background: var(--color-ink);
  color: var(--color-white);
}

.btn--dark:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--color-white);
}

.btn--light:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--color-accent);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link--light {
  color: var(--color-white);
}

@keyframes heroDrift {
  to { transform: scale(1.065); }
}

/* ---------- Responsive Navigation ---------- */
@media (max-width: 1180px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 28px;
    background: rgba(22, 21, 19, 0.99);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    font-size: 0.75rem;
  }

  .site-nav a::after {
    bottom: -4px;
  }
}

/* ---------- Responsive Hero ---------- */
@media (max-width: 900px) {
  .hero__shade {
    background:
      linear-gradient(
        0deg,
        rgba(7, 6, 5, 0.95) 0%,
        rgba(7, 6, 5, 0.50) 47%,
        rgba(7, 6, 5, 0.10) 76%
      );
  }

  .hero__content {
    width: min(100%, 720px);
    margin-left: 0;
    padding-top: 220px;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    min-height: 76px;
  }

  .brand strong {
    font-size: 0.79rem;
  }

  .brand span {
    font-size: 0.52rem;
  }

  .site-nav {
    left: 0;
    right: 0;
    padding-inline: var(--gutter);
  }

  .hero {
    min-height: 780px;
  }

  .hero__content {
    padding-top: 180px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 16vw, 5.8rem);
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image img {
    animation: none;
    transform: none;
  }
}
