:root {
  --parchment: #F5F2ED;
  --gold: #D4AF37;
  --spice-black: #1A1211;
  --font-serif: "Bodoni Moda", serif;
  --font-script: "Pinyon Script", cursive;
  --font-sans: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--spice-black);
  color: var(--parchment);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
}

/* ── Scroll Progress Bar ── */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #FFF);
  width: 0%;
  z-index: 1002;
  transition: width 0.1s ease-out;
}

/* ── Navigation ── */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2rem 5rem;
  background: linear-gradient(to bottom, rgba(26, 18, 17, 0.9), transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-group.right {
  justify-content: flex-end;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
}

.nav-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.4s ease;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

.nav-group a {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--parchment);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: all 0.4s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-group a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-group a:hover {
  color: var(--gold);
}

.nav-group a:hover::after {
  width: 100%;
}

/* ── Mobile Navigation ── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: white;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 17, 0.98);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--parchment);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.mobile-nav-links a:hover {
  color: var(--gold);
}

/* ── Primary Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--spice-black);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* ── Editorial Footer ── */
.editorial-footer {
  background-color: #120C0B;
  padding: 8rem 8rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto 5rem;
}

.footer-brand .footer-logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 2rem;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(245, 242, 237, 0.55);
}

.footer-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 2.2rem;
  font-weight: 600;
  font-family: var(--font-sans);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(245, 242, 237, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-info {
  font-size: 0.85rem;
  color: rgba(245, 242, 237, 0.6);
  line-height: 1.8;
}

.footer-info a {
  color: var(--parchment);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  transition: border-color 0.3s ease;
}

.footer-info a:hover {
  border-color: var(--gold);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.newsletter-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  color: var(--parchment);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  width: 100%;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-bottom: 1px solid var(--gold);
  padding-left: 0.5rem;
}

.newsletter-btn {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.8rem 2.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
}

.newsletter-btn:hover {
  background: var(--gold);
  color: var(--spice-black);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: rgba(245, 242, 237, 0.3);
}

.footer-social a {
  font-size: 0.75rem;
  color: rgba(245, 242, 237, 0.4);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--gold);
}

/* ── Responsive Grid Breakpoints ── */
@media (max-width: 1024px) {
  .nav-bar {
    padding: 1.5rem 2rem;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-group { display: none; }
  .mobile-toggle { display: flex; }
  .nav-logo { padding: 0; }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .editorial-footer {
    padding: 6rem 4rem 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-social a {
    margin: 0 1rem;
  }
}
