/* CALYXA® — Shared Stylesheet */

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

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

:root {
  --green-deep:   #0a3d1f;
  --green-mid:    #1a6b3a;
  --green-light:  #3da05a;
  --green-pale:   #e8f5ec;
  --cream:        #faf8f3;
  --sand:         #f0ebe0;
  --text-dark:    #1a1a16;
  --text-mid:     #4a4a40;
  --text-soft:    #7a7a6e;
  --gold:         #c8a94a;
  --border:       rgba(26,107,58,0.15);
  --nav-h:        64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,243,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  /* single-row flex container so nav-inner + nav-links sit on one line */
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 2rem;
  min-height: var(--nav-h);
  gap: 0.5rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 1rem;
  flex-shrink: 0;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo sup { font-size: 0.6em; vertical-align: super; }
/* spacer pushes links to right when nav-links is inside nav-inner */
.nav-spacer { flex: 1; min-width: 1rem; }

/* hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-shrink: 0;
  color: var(--green-deep);
}
.nav-toggle svg { display: block; }

/* desktop links — works both inside nav-inner and as direct child of nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  flex-wrap: nowrap;
  flex: 1;                  /* take remaining space so links fill the bar */
  justify-content: flex-end;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-mid); background: var(--green-pale); }

/* ── MOBILE NAV ── */
@media (max-width: 820px) {
  nav {
    flex-wrap: wrap;
    padding: 0;
    gap: 0;
  }
  .nav-inner {
    width: 100%;
    padding: 0 1.25rem;
  }
  .nav-spacer { flex: 1; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border-top: 1px solid var(--border);
    background: rgba(250,248,243,0.99);
    width: 100%;
    flex: none;
    justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 6px;
  }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, var(--green-deep) 0%, #0f5430 60%, var(--green-mid) 100%);
  color: #fff;
  padding: 6rem 2rem 5rem;
  text-align: center;
}
.hero-eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1.2rem; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 600; line-height: 1.1; margin-bottom: 1.2rem; }
.hero h1 span { color: #a8dbbe; }
.hero-sub { font-size: 1.05rem; max-width: 560px; margin: 0 auto 2.5rem; color: rgba(255,255,255,0.82); line-height: 1.65; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--green-deep);
  padding: 0.75rem 1.8rem; border-radius: 2rem;
  font-weight: 500; font-size: 0.92rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* ── PAGE HEADER ── */
.page-header { background: var(--green-deep); color: #fff; padding: 3.5rem 2rem 3rem; text-align: center; }
.page-header .eyebrow { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 0.8rem; }
.page-header h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; line-height: 1.15; }
.page-header .lead { margin-top: 0.9rem; font-size: 1rem; color: rgba(255,255,255,0.72); max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── LAYOUT ── */
.container { max-width: 800px; margin: 0 auto; padding: 3.5rem 2rem; flex: 1; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem; }

/* ── TYPOGRAPHY ── */
h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 600; color: var(--green-deep); margin: 2.5rem 0 0.8rem; line-height: 1.2; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.05rem; font-weight: 500; color: var(--text-dark); margin: 1.6rem 0 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-dark); font-weight: 500; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; color: var(--text-mid); }
li { margin-bottom: 0.3rem; }

/* ── IMAGES ── */
.story-img {
  width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
  display: block;
}
.story-img-caption {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.img-grid img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.img-grid-caption {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.img-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 1.5rem 0;
}
.img-half img { width: 100%; border-radius: 8px; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(10,61,31,0.1); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; background: var(--green-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.4rem; }
.card h3 { margin-top: 0; color: var(--green-deep); }
.card p { font-size: 0.9rem; margin-bottom: 1rem; }
.card a.card-link { font-size: 0.82rem; font-weight: 500; color: var(--green-mid); display: inline-flex; align-items: center; gap: 0.3rem; }

/* ── STORY SECTIONS ── */
.story-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.story-section:last-child { border-bottom: none; margin-bottom: 0; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); background: var(--green-pale); padding: 0.25rem 0.65rem; border-radius: 3px; margin-bottom: 0.8rem; }
.callout { background: var(--green-pale); border-left: 3px solid var(--green-light); border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin: 1.2rem 0; font-size: 0.92rem; }
blockquote { border-left: 3px solid var(--gold); padding: 0.8rem 1.5rem; margin: 1.5rem 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--text-dark); }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 2rem 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; font-size: 0.92rem; color: var(--text-mid); }
.feature-list li::before { content: '✓'; color: var(--green-mid); font-weight: 600; margin-top: 0.05rem; flex-shrink: 0; }

/* ── FOOTER ── */
footer { background: var(--green-deep); color: rgba(255,255,255,0.65); padding: 2.5rem 2rem; text-align: center; font-size: 0.85rem; margin-top: auto; }
footer .footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; letter-spacing: 0.04em; }
footer a { color: rgba(255,255,255,0.6); }
footer a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .container { padding: 2.5rem 1.25rem; }
  .img-grid, .img-half { grid-template-columns: 1fr; }
}
