/* =====================================================
   TOKENS (Synced with homev1)
===================================================== */
:root {
  --bg: #FFFFFF;
  --bg-subtle: #F9F9F9;
  --border: #EBEBEB;
  --text-dark: #1A1A1A;
  --text-mid: #5A5A5A;
  --text-light: #AAAAAA;
  --burgundy: #7A1E1E;
  --burg-hover: #921F1F;
  --burg-glow: rgba(122,30,30,0.12);
  --gold: #C8A36A;
  --gold-lt: #D9BC8F;

  --font-family: 'Montserrat', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --max-w: 1240px;
  --pad-x: 32px;
  --section-gap: 112px;
  --radius: 20px;
  --radius-pill: 999px;
}

/* =====================================================
   RESET
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: 0; background: none; cursor: pointer; font: inherit; }

/* =====================================================
   LAYOUT
===================================================== */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* =====================================================
   TYPE UTILITIES
===================================================== */
.display {
  font-family: var(--font-family);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.eyebrow {
  font-family: var(--font-family);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}
.eyebrow--dark { color: var(--burgundy); }
.body-text {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.9;
  font-weight: 400;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }

.btn--fill {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
  box-shadow: 0 8px 25px rgba(122,30,30,0.25);
}
.btn--fill:hover { background: var(--burg-hover); border-color: var(--burg-hover); box-shadow: 0 8px 25px rgba(122,30,30,0.25); }

.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}
.btn--outline:hover { background: var(--bg-subtle); border-color: var(--text-mid); }

.btn--ghost-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost-light:hover { background: #fff; color: var(--burgundy); border-color: #fff; }

.btn--lg { height: 56px; padding: 0 36px; font-size: 0.7rem; }
.btn--sm { height: 40px; padding: 0 20px; font-size: 0.55rem; }

.btn .arrow { transition: transform 0.3s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* =====================================================
   REVEAL ANIMATION
===================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.26s; }
[data-reveal-delay="4"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =====================================================
   GRAIN TEXTURE
===================================================== */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =====================================================
   TOP NAV
===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.94);
  border-color: var(--border);
  box-shadow: 0 6px 28px -8px rgba(28,26,24,.10);
  backdrop-filter: blur(10px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* Logo */
.nav__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 90px;
  width: auto;
  display: block;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-family);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.nav__links li { list-style: none; }
.nav__links a,
.nav__links li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
.nav__links a:hover,
.nav__links li a:hover,
.nav__links .current-menu-item > a {
  color: var(--burgundy);
}

/* Right group */
.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

/* CTA pill */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--burgundy);
  color: #fff;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: background 0.25s;
  white-space: nowrap;
  text-decoration: none;
}
.nav__cta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.nav__cta:hover { background: var(--burg-hover); }
.nav__cta:hover .nav__cta-arrow { transform: translateX(4px); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile panel */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.nav__mobile.is-open { max-height: 600px; }
.nav__mobile-links { display: flex; flex-direction: column; }
.nav__mobile-links li { list-style: none; }
.nav__mobile-links a,
.nav__mobile-links li a {
  display: block;
  padding: 13px var(--pad-x);
  font-family: var(--font-family);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.nav__mobile-links a:hover,
.nav__mobile-links li a:hover,
.nav__mobile-links .current-menu-item > a {
  color: var(--burgundy);
  background: var(--bg-subtle);
}
.nav__mobile-cta {
  margin: 20px var(--pad-x) 24px;
  align-self: flex-start;
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
  .nav__logo-img { height: 80px; }
}

/* =====================================================
   SUBMENU STYLING
===================================================== */
.nav__links .menu-item-has-children {
  position: relative;
}

.nav__links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 210px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), 
              transform 0.25s var(--ease-out),
              visibility 0.25s;
  box-shadow: 0 16px 44px -12px rgba(28,26,24,.18);
}

.nav__links .menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  z-index: 1;
  pointer-events: none;
}

.nav__links .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__links .sub-menu li {
  display: block;
}

.nav__links .sub-menu a,
.nav__links .sub-menu li a {
  display: block;
  padding: 10px 22px;
  font-family: var(--font-family);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: all 0.2s;
  position: relative;
}

.nav__links .sub-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 3px;
  height: 14px;
  background: var(--burgundy);
  border-radius: 0 3px 3px 0;
  transition: transform 0.25s var(--ease);
}

.nav__links .sub-menu a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

.nav__links .sub-menu a:hover,
.nav__links .sub-menu li a:hover {
  color: var(--burgundy);
  padding-left: 28px;
}

.nav__links .menu-item-has-children > a::after {
  content: '▾';
  display: inline-block;
  margin-left: 6px;
  font-size: 9px;
  color: var(--text-light);
  transition: transform 0.3s var(--ease);
}

.nav__links .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.nav__links .sub-menu .sub-menu {
  top: -6px;
  left: calc(100% + 8px);
  transform: translateX(0) translateY(4px);
}

.nav__links .sub-menu .menu-item-has-children:hover > .sub-menu {
  transform: translateX(0) translateY(0);
}

.nav__mobile-links .menu-item-has-children .sub-menu {
  display: none;
  background: var(--bg-subtle);
  margin: 0;
  padding: 0;
}

.nav__mobile-links .menu-item-has-children .sub-menu li a,
.nav__mobile-links .menu-item-has-children .sub-menu li a {
  padding-left: calc(var(--pad-x) + 24px);
  font-family: var(--font-family);
  font-size: 0.55rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.02);
}

.nav__mobile-links .menu-item-has-children .sub-menu li:last-child a {
  border-bottom: 0;
}

.nav__mobile-links .menu-item-has-children .sub-menu a:hover,
.nav__mobile-links .menu-item-has-children .sub-menu li a:hover {
  background: var(--bg-subtle);
  padding-left: calc(var(--pad-x) + 28px);
}

.nav__mobile-links .menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.nav__mobile-links .menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__mobile-links .menu-item-has-children > a::after {
  content: '▸';
  font-size: 14px;
  transition: transform 0.3s var(--ease);
  color: var(--text-light);
}

.nav__mobile-links .menu-item-has-children.is-open > a::after {
  transform: rotate(90deg);
}

@media (max-width: 960px) {
  .nav__links .sub-menu {
    display: none;
  }
  
  .nav__links .menu-item-has-children:hover > .sub-menu {
    display: none;
  }
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: rgba(255,255,255,0);
  color: var(--text-mid);
  padding: 52px 0 36px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.footer__logo { display: inline-block; }
.footer__logo-img {
  height: 90px;
  width: auto;
  display: block;
  /*filter: brightness(0) invert(1);*/
  opacity: 0.92;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-family);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  list-style: none;
}
.footer__nav li { list-style: none; }
.footer__nav a,
.footer__nav li a {
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.25s;
}
.footer__nav a:hover,
.footer__nav li a:hover { color: var(--burgundy); }
.footer__copy {
  font-family: var(--font-family);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =====================================================
   SCROLLBAR + SELECTION
===================================================== */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 9px; border: 2px solid var(--bg-subtle); }
::-webkit-scrollbar-thumb:hover { background: var(--burg-hover); }
::selection { background: var(--burgundy); color: #fff; }

/* =====================================================
   RESPONSIVE GLOBALS
===================================================== */
@media (max-width: 600px) {
  :root {
    --section-gap: 72px;
    --pad-x: 20px;
  }
}