/* =============================================
   RESET & TOKENS
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #152840;
  --forest:    #1F4021;
  --teal:      #60A69F;
  --lime:      #B1F250;
  --offwhite:  #F2F2F2;
  --navy-mid:  #1e3a55;
  --text-muted: rgba(242,242,242,0.45);
  --text-mid:   rgba(242,242,242,0.7);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Syne', sans-serif;
  background: var(--navy);
  color: var(--offwhite);
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.6;
}


/* =============================================
   AURORA BACKGROUND
   ============================================= */
.aurora-bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  background: var(--navy); overflow: hidden;
}

.aurora-layer {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0;
  animation: auroraFloat 12s ease-in-out infinite;
}

@keyframes auroraFloat {
  0%   { opacity: 0; transform: translateY(0) scaleX(1); }
  20%  { opacity: 1; }
  50%  { opacity: 0.8; transform: translateY(-3vh) scaleX(1.05); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(0) scaleX(1); }
}


/* =============================================
   STARS
   ============================================= */
.stars {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 60vh;
  z-index: 0; pointer-events: none;
}

.star {
  position: absolute; background: #fff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 0.9; }
}


/* =============================================
   LAYOUT
   ============================================= */
.site { position: relative; z-index: 1; }


/* =============================================
   NAV
   ============================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 6vw;
  border-bottom: 0.5px solid rgba(96,166,159,0.15);
  background: rgba(21,40,64,0.75);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant', serif;
  font-size: 0.95rem; letter-spacing: 0.12em;
  color: var(--offwhite); text-decoration: none;
}

.nav-logo img {
  width: 60px; opacity: 0.95; display: block;
}

.nav-logo span { opacity: 0.85; }

.nav-logo:hover img  { opacity: 1; }
.nav-logo:hover span { opacity: 1; }

/* Mobile-first: hidden by default, shown on desktop */
.nav-links { display: none; gap: 2.5rem; }

@media (min-width: 901px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: var(--text-muted); transition: color 0.3s;
}

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

.nav-contact {
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: var(--lime);
  border: 0.5px solid rgba(177,242,80,0.4);
  padding: 0.55rem 1.3rem; transition: all 0.3s;
}

.nav-contact:hover { background: rgba(177,242,80,0.1); }

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px; cursor: pointer;
  padding: 4px;
  background: none;        /* ← add this */
  border: none;            /* ← add this */
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--offwhite);
  transition: all 0.3s;
  display: block;
}


/* =============================================
   HORIZON DIVIDER
   ============================================= */
.horizon {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(96,166,159,0.4),
    rgba(177,242,80,0.3),
    transparent
  );
}


/* =============================================
   SECTION BASE
   ============================================= */
section { padding: 8rem 6vw; position: relative; }

.s-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.2rem;
}

.s-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 2rem;
}

.s-title em { font-style: italic; color: var(--lime); }


/* =============================================
   HERO (shared base)
   ============================================= */
.hero {
  min-height: 80vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 120px 6vw 8vh;
}

.hero-content { max-width: 900px; }

.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  font-weight: 300; line-height: 1.05;
  margin-bottom: 2rem; max-width: 16ch;
}

.hero-title em { font-style: italic; color: var(--lime); }

.hero-sub {
  font-size: 1.1rem; line-height: 1.85;
  color: var(--text-mid); max-width: 52ch; font-weight: 300;
}


/* =============================================
   FOOTER
   ============================================= */
footer {
  border-top: 0.5px solid rgba(96,166,159,0.15);
  padding: 2.5rem 6vw;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(21,40,64,0.8);
}

.footer-name {
  font-family: 'Cormorant', serif; font-size: 0.95rem;
  font-weight: 300; letter-spacing: 0.12em; color: var(--text-muted);
}

.footer-copy { font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(242,242,242,0.2); }

.footer-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); opacity: 0.5; }


/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  /* Hide desktop-only elements */
  .nav-contact { display: none; }

  /* Mobile nav drawer (hidden by default via mobile-first rule) */
  .nav-links {
    position: absolute;
    top: 73px; left: 0; right: 0;
    background: rgba(21,40,64,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 0.5px solid rgba(96,166,159,0.15);
  }

  .nav-links.active { display: flex; }

  /* Show hamburger */
  .nav-toggle { display: flex; }

  /* Hide logo text on small screens */
  .nav-logo span { display: none; }

  footer {
    flex-direction: column;
    gap: 1rem; text-align: center;
  }
}
