@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400|Plus+Jakarta+Sans:500,400,italic|Inter:400,700");
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html,
body {
  margin: 0px;
  height: 100%;
}
/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

/* ── Shared: Log In nav link ──────────────────────────── */
.nav-login-link {
  font-family: 'Plus Jakarta Sans', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #6B6560;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
  margin-right: 8px;
}
.nav-login-link:hover {
  color: #2C2C2C;
}

/* ── Footer actions row ── */
.footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
}
.footer-login-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-login-link:hover { color: #FFFFFF; }
@media (max-width: 600px) {
  .footer-actions { flex-direction: column; }
}


/* ═══════════════════════════════════════
   SHARED: Header / Nav
   ═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 79px;
  background: var(--bg, #FAF8F5);
  border-bottom: 1px solid var(--border, #E8E4DD);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(250,248,245,0.97);
  box-shadow: 0 1px 4px rgba(44,44,44,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 48px;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.header-logo img { height: 28px; width: auto; display: block; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary, #6B6560);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
}
.header-link:hover, .header-link.active {
  color: var(--text-headline, #2C2C2C);
}
.header-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--primary, #1B3D2F);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-login {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted, #9A9590);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.header-login:hover { color: var(--text-headline, #2C2C2C); }

/* Mobile hamburger */
.header-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.header-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-headline, #2C2C2C);
  transition: all 0.3s ease;
  border-radius: 1px;
}
.header-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header-toggle.is-open span:nth-child(2) { opacity: 0; }
.header-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav panel */
.header-mobile {
  display: none;
  position: fixed;
  top: 79px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg, #FAF8F5);
  padding: 32px 48px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  overflow-y: auto;
}
.header-mobile.is-open { display: flex; }
.header-mobile a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  color: var(--text-headline, #2C2C2C);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border, #E8E4DD);
}
.header-mobile .btn-primary {
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-actions { display: none; }
  .header-toggle { display: flex; }
}
@media (max-width: 600px) {
  .header-inner { padding: 0 24px; }
}

/* ═══════════════════════════════════════
   SHARED: Footer
   ═══════════════════════════════════════ */
.site-footer {
  background: var(--primary, #1B3D2F);
  color: var(--on-primary, #FAF8F5);
  padding: 80px 0 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { max-width: 300px; }
.footer-logo { display: block; margin-bottom: 16px; }
.footer-logo img { height: 24px; width: auto; display: block; }
.footer-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255,255,255,0.7);
}
.footer-nav { display: flex; gap: 48px; }
.footer-nav-col { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.footer-nav-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover { color: #FFFFFF; }
.footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-login-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-login-link:hover { color: #FFFFFF; }
.footer-bottom {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}
.footer-legal { font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; }

@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { flex-wrap: wrap; gap: 32px; }
  .footer-actions { flex-direction: column; }
}
@media (max-width: 600px) {
  .footer-inner { padding: 0 24px; }
}

/* Scroll reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
