/* === GLOBAL CSS === */

:root {
  --warm-bone: #EBDCC8;
  --greige-taupe: #B089AA;
  --taupe: #B089AA;
  --deep-emerald: #125842;
  --pistachio: #7F8C43;
  --espresso: #3F2A1C;
  --off-white: #F7F4EF;
  --white: #FFFFFF;
  --text-dark: #1a1a18;
  --text-mid: #4a4840;
  --text-light: #8a8580;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --nav-h: 72px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--deep-emerald); border-radius: 2px; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: background 0.4s var(--ease), box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

/* LOGO IMAGE */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0); /* keeps it black */
  transition: opacity 0.2s;
}

.nav-logo-img:hover { opacity: 0.7; }

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) sepia(1) saturate(0.5) hue-rotate(10deg) brightness(0.85);
  /* makes it warm-bone toned on dark footer */
  margin-bottom: 0.5rem;
  opacity: 0.9;
}



.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--deep-emerald);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--deep-emerald); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--deep-emerald);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--pistachio);
  transform: translateY(-1px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--off-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--deep-emerald); }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--deep-emerald);
  padding: 0.9rem 2rem;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid var(--deep-emerald);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn-primary:hover {
  background: transparent;
  color: var(--deep-emerald);
}

.btn-primary.large {
  font-size: 0.95rem;
  padding: 1.1rem 2.5rem;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--text-dark);
  transition: color 0.3s, border-color 0.3s;
}

.btn-ghost:hover {
  color: var(--deep-emerald);
  border-color: var(--deep-emerald);
}

/* SECTION LABEL */
.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pistachio);
  margin-bottom: 1rem;
}

/* TICKER */
.ticker-wrap {
  overflow: hidden;
  background: var(--deep-emerald);
  padding: 0.9rem 0;
  position: relative;
  z-index: 2;
}

.ticker {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.ticker span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.ticker .dot {
  color: var(--warm-bone);
  opacity: 0.6;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FOOTER */
.footer {
  background: var(--espresso);
  padding: 4rem 5vw 2rem;
  border-top: 1px solid rgba(235,220,200,0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--warm-bone);
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.83rem;
  color: var(--warm-bone);
  opacity: 0.4;
  margin-top: 0.7rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pistachio);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-size: 0.84rem;
  color: var(--warm-bone);
  opacity: 0.42;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 0.9; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--warm-bone);
  opacity: 0.3;
  border-top: 1px solid rgba(235,220,200,0.08);
  padding-top: 1.5rem;
  font-family: var(--font-mono);
}

/* REVEAL ANIMATIONS */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-scroll-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-scroll-reveal]:nth-child(3) { transition-delay: 0.2s; }
[data-scroll-reveal]:nth-child(4) { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links { gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
