@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --navy: #1C3550;
  --teal: #52B2A6;
  --mint: #e9f3ef;
  --orange: #FF6719;
  --white: #FAFAF8;
  --text: #1C3550;
  --text-light: #5a7a8a;
  --border: rgba(28, 53, 80, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); }
p { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav-brand span { color: var(--orange); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.825rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }

.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  padding: 0.5rem 1.3rem;
  border-radius: 2px;
  font-weight: 500 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.87 !important; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.22s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { opacity: 0.87; transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { opacity: 0.87; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { opacity: 0.87; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ── Shared ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
  display: block;
}

.divider { width: 2.5rem; height: 2px; background: var(--teal); margin: 1.2rem 0 1.6rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 3.5rem 6vw 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 0.8rem;
}
.footer-brand span { color: var(--orange); }
.footer-desc { font-size: 0.875rem; line-height: 1.8; max-width: 300px; color: rgba(255,255,255,0.8); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links li a { font-size: 0.875rem; color: rgba(255,255,255,0.8); transition: color 0.2s; }
.footer-links li a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Nostr ── */
.footer-nostr {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
  line-height: 1.6;
  word-break: break-all;
  max-width: 300px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.75s ease forwards; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.25s; }
.fade-up.d3 { animation-delay: 0.4s; }
.fade-up.d4 { animation-delay: 0.55s; }

/* ── Forms ── */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-optional {
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--text-light);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile dropdown menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 1rem 0;
  box-shadow: 0 8px 24px rgba(28,53,80,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block;
  padding: 0.9rem 6vw;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu ul li a:hover { color: var(--navy); background: var(--mint); }
.mobile-menu ul li a.mobile-cta {
  margin: 0.5rem 6vw;
  background: var(--teal);
  color: white;
  text-align: center;
  border-radius: 2px;
  padding: 0.9rem;
}
.mobile-menu ul li a.mobile-cta:hover { opacity: 0.88; background: var(--teal); }

/* ── Mobile ── */
@media (max-width: 768px) {
  nav { padding: 1rem 5vw; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}
