/* ============================================================
   SHARED — AISLE BE THERE
   Reset · Tokens · Typography · Buttons · Nav · Footer · Utils
   ============================================================ */

/* --- Reset --- */
@font-face {
    font-family: 'Dream Avenue';
    /* Make sure this path exactly matches your folder and file name */
    src: url('../artifacts/fonts/DreamAvenue.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Tokens --- */
:root {
  --bg:       #F7FAF5;
  --bg-alt:   #EBF2E8;
  --bg-dark:  #1A2C1C;
  --bg-foot:  #111A12;
  --green:    #4D7A56;
  --green-d:  #2D4D33;
  --green-l:  #C5D9C2;
  --green-p:  #E8F4E6;
  --text:     #1C2B1E;
  --body:     #3D4E3F;
  --muted:    #7A8C7C;
  --gold:     #B8975E;
  --border:   #D4E5D1;
  --white:    #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(26,44,28,.06);
  --shadow-md: 0 8px 32px rgba(26,44,28,.10);
  --shadow-lg: 0 20px 64px rgba(26,44,28,.16);
  --r-sm:  6px; --r-md: 14px; --r-lg: 22px;
  --nav-h: 72px;
  --max-w: 1200px;
  --ff-d: 'Cormorant Garamond', Georgia, serif;
  --ff-b: 'DM Sans', system-ui, sans-serif;
}

/* --- Base body --- */
body {
  font-family: var(--ff-b);
  font-weight: 400;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---- Typography helpers ---- */
.label {
  display: block; font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green);
}
.d-xl { font-family: var(--ff-d); font-size: clamp(3rem,6vw,5.25rem);   font-weight: 300; line-height: 1.06; color: var(--text); }
.d-lg { font-family: var(--ff-d); font-size: clamp(2.25rem,4vw,3.75rem); font-weight: 400; line-height: 1.12; color: var(--text); }
.d-md { font-family: var(--ff-d); font-size: clamp(1.6rem,3vw,2.6rem);   font-weight: 400; line-height: 1.20; color: var(--text); }

/* ---- Layout ---- */
.wrap    { max-width: var(--max-w); margin: 0 auto; padding: 0 44px; }
section  { padding: 100px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--ff-b); font-size: .875rem; font-weight: 500;
  letter-spacing: .04em; cursor: pointer;
  transition: all .28s ease; border: none; white-space: nowrap;
}
.btn-green          { background: var(--green); color: var(--white); }
.btn-green:hover    { background: var(--green-d); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(77,122,86,.32); }
.btn-ghost          { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover    { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn-outline        { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover  { background: var(--green); color: var(--white); }

/* ---- Stars ---- */
.stars { display: flex; gap: 3px; }
.star  { color: var(--gold); font-size: 1.1rem; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .10s; }
.d2 { transition-delay: .20s; }
.d3 { transition-delay: .30s; }
.d4 { transition-delay: .40s; }

/* ----------------------------------------------------------------
   MOBILE MENU
---------------------------------------------------------------- */
.mob-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.mob-menu.open { transform: none; }
.mob-menu a {
  font-family: var(--ff-d); font-size: 2rem; font-weight: 300;
  color: var(--white); letter-spacing: .02em; transition: color .2s;
}
.mob-menu a:hover { color: var(--green-l); }
.mob-close {
  position: absolute; top: 22px; right: 22px;
  background: none; border: none; color: var(--white); cursor: pointer; padding: 8px;
}

/* ----------------------------------------------------------------
   NAVIGATION
---------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease;
}
.nav.scrolled,
.nav--solid {
  background: rgba(247,250,245,.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__in {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  padding: 0 44px; display: flex; align-items: center; justify-content: space-between;
}
/* .nav__logo {
  font-family: 'Dream Avenue', serif; font-size: 2rem; font-weight: normal;
  color: var(--white); letter-spacing: .02em; transition: color .35s;
} */
.nav__logo {
  font-size: 1.8rem;
  letter-spacing: 0.02em;
}
.nav.scrolled .nav__logo,
.nav--solid   .nav__logo { color: var(--text); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: .82rem; font-weight: 400; letter-spacing: .04em;
  color: rgba(255,255,255,.82); transition: color .25s;
}
.nav__links a:hover                   { color: var(--white); }
.nav.scrolled .nav__links a,
.nav--solid   .nav__links a           { color: var(--body); }
.nav.scrolled .nav__links a:hover,
.nav--solid   .nav__links a:hover     { color: var(--green); }

.nav__hire {
  background: var(--green); color: var(--white) !important;
  padding: 10px 26px; border-radius: 50px;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  transition: background .25s, transform .2s !important;
}
.nav__hire:hover { background: var(--green-d) !important; transform: translateY(-1px); }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav__burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: background .35s;
}
.nav.scrolled .nav__burger span,
.nav--solid   .nav__burger span { background: var(--text); }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.footer { background: var(--bg-foot); padding: 44px 0 28px; }

.footer__top {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 32px;
}
/* .footer__logo {
  font-family: 'Dream Avenue', serif; font-size: 1.8rem; font-weight: normal; color: var(--white);
} */
.footer__logo {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.logo__sub {
  display: block;
  font-family: var(--ff-b); /* Uses your clean DM Sans font */
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;   /* Gives it that wide, cinematic spacing */
  text-transform: uppercase;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6); /* Slightly muted so it doesn't overpower the main logo */
}
.footer__nav  { display: flex; gap: 26px; }
.footer__nav a { font-size: .78rem; color: rgba(255,255,255,.38); transition: color .2s; }
.footer__nav a:hover { color: rgba(255,255,255,.75); }

.footer__soc  { display: flex; gap: 12px; }
.fsoc {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.fsoc:hover { border-color: var(--green); background: rgba(77,122,86,.2); }
.fsoc svg   { width: 14px; height: 14px; fill: rgba(255,255,255,.5); }

.nav__logo, .footer__logo {
  font-family: 'Dream Avenue', var(--ff-d); 
  font-weight: normal;
  text-align: center;       /* Centers "Aisle Be" over "There" */
  line-height: 0.9;         /* Pulls the two lines tightly together */
  display: inline-block;
  color: var(--white); 
  transition: color .35s;
}

.footer__bot {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer__copy { font-size: .73rem; color: rgba(255,255,255,.22); }

/* ----------------------------------------------------------------
   RESPONSIVE SHARED
---------------------------------------------------------------- */
@media (max-width: 768px) {
  .wrap          { padding: 0 20px; }
  section        { padding: 72px 0; }
  .nav__in       { padding: 0 20px; }
  .nav__links    { display: none; }
  .nav__burger   { display: flex; }
  .footer__top   { flex-direction: column; gap: 22px; text-align: center; }
  .footer__nav   { flex-wrap: wrap; justify-content: center; }
  .footer__bot   { flex-direction: column; gap: 14px; text-align: center; }
}