/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 900;
  background: var(--forest-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
  transition: opacity 0.6s ease;
}
.loader__word {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: #fff;
  letter-spacing: 0.35em;
  opacity: 0;
  animation: loaderFade 1s var(--ease-premium) forwards 0.1s;
}
@media (min-width: 768px) { .loader__word { font-size: 2.25rem; } }
.loader__rule {
  width: 0;
  height: 1px;
  background: var(--gold);
  animation: loaderLine 1s var(--ease-premium) forwards 0.3s;
}
@keyframes loaderFade {
  0% { opacity: 0; letter-spacing: 0.1em; }
  100% { opacity: 1; letter-spacing: 0.35em; }
}
@keyframes loaderLine {
  0% { width: 0; }
  100% { width: 120px; }
}
.loader.is-hidden { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-height);
  transition: all 0.5s var(--ease-premium);
  background: transparent;
}
.navbar.is-solid {
  background: rgba(250,248,243,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(27,59,46,0.08);
}
.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: #fff;
  transition: color 0.4s;
}
@media (min-width: 768px) { .navbar__logo { font-size: 1.9rem; } }
.navbar.is-solid .navbar__logo { color: var(--forest-800); }
.navbar__logo-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  display: none;
}
.navbar.is-solid .navbar__logo-sub { color: var(--gold-dark); }
@media (min-width: 640px) { .navbar__logo-sub { display: inline; } }

.navbar__links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
@media (min-width: 1024px) { .navbar__links { display: flex; } }
.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.navbar.is-solid .navbar__link { color: var(--graphite); }
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.navbar__link:hover::after,
.navbar__link.is-active::after { width: 100%; }
.navbar__link:hover { color: #fff; }
.navbar.is-solid .navbar__link:hover,
.navbar.is-solid .navbar__link.is-active { color: var(--forest-800); }

.navbar__cta {
  display: none;
}
@media (min-width: 1024px) { .navbar__cta { display: inline-flex; } }

.navbar__cta-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s var(--ease-premium);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.navbar__cta-btn svg { width: 15px; height: 15px; }
.navbar.is-solid .navbar__cta-btn {
  background: var(--forest-800);
  color: #fff;
  border: none;
}
.navbar__cta-btn:hover { background: #fff; color: var(--forest-800); }
.navbar.is-solid .navbar__cta-btn:hover { background: var(--gold); color: var(--forest-900); }

.navbar__toggle {
  display: flex;
  color: #fff;
}
.navbar.is-solid .navbar__toggle { color: var(--forest-800); }
@media (min-width: 1024px) { .navbar__toggle { display: none; } }
.navbar__toggle svg { width: 26px; height: 26px; }
.navbar__toggle .icon-close { display: none; }
.navbar__toggle.is-open .icon-menu { display: none; }
.navbar__toggle.is-open .icon-close { display: block; }

.navbar__mobile {
  display: none;
  background: var(--ivory-100);
  border-top: 1px solid var(--sand-200);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-premium);
}
.navbar__mobile.is-open { display: block; max-height: 480px; }
.navbar__mobile-inner {
  padding: 1.5rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.navbar__mobile-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-800);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--forest-900);
  color: rgba(250,248,243,0.9);
}
.footer__top {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.footer h3.brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer p.about-text {
  font-size: 0.9rem;
  color: rgba(250,248,243,0.6);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-900); }
.footer__social svg { width: 16px; height: 16px; }

.footer h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer ul a { font-size: 0.9rem; color: rgba(250,248,243,0.6); transition: color 0.3s; }
.footer ul a:hover { color: var(--gold-light); }
.footer .view-all { color: var(--gold-light); }

.footer__office-item { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; color: rgba(250,248,243,0.6); margin-bottom: 1rem; }
.footer__office-item svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.footer__office-item a { color: rgba(250,248,243,0.6); word-break: break-all; }
.footer__office-item a:hover { color: var(--gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3.5rem;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(250,248,243,0.4);
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ==========================================================================
   Hero sections
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,37,25,0.85) 0%, rgba(18,37,25,0.55) 50%, rgba(18,37,25,0.9) 100%);
}
.hero__content { position: relative; width: 100%; }
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  animation: floatY 2s ease-in-out infinite;
}
.hero__scroll svg { width: 26px; height: 26px; }

.page-hero {
  position: relative;
  min-height: 360px;
  height: 45vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero--tall { height: 55vh; min-height: 420px; }
.page-hero--category { height: 60vh; min-height: 420px; align-items: flex-end; padding-bottom: 3.5rem; }
.page-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero__content { position: relative; width: 100%; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; }
.breadcrumb .current { color: var(--gold-light); }

/* CTA band */
.cta-band {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  text-align: center;
}
.cta-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__overlay { position: absolute; inset: 0; background: rgba(18,37,25,0.8); }
.cta-band__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-band__content p { color: rgba(255,255,255,0.75); max-width: 32rem; }

/* Utility spacing */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
