/* ============================================================
   S.S. Lillypad — Shared Stylesheet
   css/style.css
   ============================================================ */

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

:root {
  --smoke:        #282828;
  --hindsight:    #202020;  
  --navy-mid:     #132D4A;
  --sand:         #F2E8D5;
  --sand-lt:      #FAF6EE;
  --green:        #9BA549;
  --water:        #7AB8C4;
  --white:        #FAFAF7;
  --text-dk:      #1A2B3C;
  --text-md:      #4A5568;
  --text-lt:      #718096;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--hindsight);
  color: var(--text-dk);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-links a {
  display: block;
  padding: 0 1rem;
  line-height: 64px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links li.active a {
  color: var(--water);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--navy);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,33,55,0.3) 0%, rgba(13,33,55,0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(250,246,238,0.8);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── WAVE DIVIDER ─── */
.wave {
  display: block;
  width: 100%;
  height: 56px;
  margin-bottom: -2px;
}

/* ─── SECTIONS ─── */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 860px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section p.lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-md);
  line-height: 1.75;
  max-width: 640px;
}

.section-sand {
  background: var(--sand-lt);
  border-top: 1px solid rgba(13,33,55,0.07);
  border-bottom: 1px solid rgba(13,33,55,0.07);
}

/* ─── UTILITY ─── */
.rule {
  border: none;
  border-top: 1px solid rgba(13,33,55,0.1);
  margin: 4rem 0;
}

/* ─── FOOTER ─── */
footer {
  background: var(--smoke);
  color: rgba(255,255,255,0.55);
  margin-top: auto;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green);
  letter-spacing: 0.04em;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  color: var(--water);
  border-color: var(--water);
}

.footer-fb-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-copy {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  justify-content: center;
  list-style: none;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--water); }

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .section { padding: 3.5rem 1.25rem; }
  .hero { height: 320px; }
}
