/* ============================================================
   SRFP – LIGHT PALETTE
   Parchment + Deep Teal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg:         #F5F2ED;
  --bg-alt:     #EDE9E2;
  --bg-dark:    #E4DFD7;
  --surface:    #FDFBF8;
  --text:       #1C1917;
  --text-mid:   #5C5550;
  --text-light: #9C9490;
  --accent:     #2A6B6B;
  --accent-lt:  #D6E8E8;
  --accent-dk:  #1E4F4F;
  --sand:       #C4B49A;
  --sand-lt:    #EDE4D8;
  --white:      #FDFBF8;
  --radius:     4px;
  --shadow:     0 2px 16px rgba(28,25,23,0.08);
}

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

html { scroll-behavior: smooth; font-size: 17px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(30px, 3.5vw, 44px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }

p { line-height: 1.85; font-size: 16px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

em { font-style: italic; color: var(--accent); }

.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
}

/* ── NAV ── */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--sand-lt);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 64px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); text-decoration: none; }

.nav-links a.active { color: var(--accent); font-weight: 500; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
  letter-spacing: 0.06em !important;
}

.nav-cta:hover { background: var(--accent-dk) !important; text-decoration: none !important; }

/* hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: all 0.3s;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dk); text-decoration: none; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.btn-ghost:hover { opacity: 0.7; text-decoration: none; }

/* ── SECTION BASE ── */
.section {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 64px);
}

.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); }
.section-surface { background: var(--surface); }
.section-accent { background: var(--accent); color: var(--white); }

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

/* ── DIVIDER ── */
hr.subtle {
  border: none;
  border-top: 1px solid var(--sand-lt);
  margin: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: var(--text-light);
  padding: 48px clamp(24px, 5vw, 64px);
  font-size: 13px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 15px;
}

.footer-links {
  display: flex; gap: 28px; list-style: none;
}

.footer-links a {
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-copy { color: var(--text-light); font-size: 12px; }

.footer-instagram {
  color: var(--text-light);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-instagram:hover { color: var(--white); text-decoration: none; }

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

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 900px) {
  h1 { font-size: clamp(32px, 6vw, 44px); }
  h2 { font-size: clamp(24px, 5vw, 34px); }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  /* Nav */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--surface);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--sand-lt);
    gap: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(28,25,23,0.08);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .nav-links li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--sand-lt);
    font-size: 14px;
  }

  .nav-links li:last-child a {
    border-bottom: none;
    margin-top: 8px;
    text-align: center;
    padding: 14px;
  }

  /* Buttons */
  .btn-primary {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    display: block;
  }

  /* Sections */
  .section {
    padding: clamp(48px, 8vw, 72px) 20px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
