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

:root {
  /* Core palette — deep botanical */
  --jungle:      #0d1f15;
  --canopy:      #152b1e;
  --fern:        #1e3d28;
  --moss:        #2d5a3d;
  --leaf:        #3d7a52;
  --sage:        #6aaa82;
  --mist:        #b8d4c2;

  /* Warm neutrals */
  --ivory:       #faf6ef;
  --cream:       #f2ead8;
  --linen:       #e8dfc8;
  --sand:        #d4c9ae;
  --driftwood:   #a89878;

  /* Accent — frangipani */
  --frangipani:  #e8836a;
  --frang-deep:  #c45e44;
  --frang-pale:  #f5c4b5;
  --frang-glow:  rgba(232,131,106,0.15);

  /* Gold */
  --gold:        #c9a84c;
  --gold-pale:   #e8d89a;

  --white:       #fdfcf8;
}

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

body {
  background: var(--ivory);
  color: var(--jungle);
  font-family: 'Libre Baskerville', Georgia, serif;
  line-height: 1.78;
  min-height: 100vh;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ── HEADER ── */
.site-header {
  background: var(--jungle);
  padding: 0 2rem;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid var(--frangipani);
}
.header-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem; font-weight: 500; font-style: italic;
  letter-spacing: 0.02em;
  color: var(--ivory); text-decoration: none;
  display: flex; align-items: center; gap: 0.75rem;
}
.logo-accent { color: var(--frangipani); }
.logo-sub {
  font-family: 'DM Sans', sans-serif; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); font-style: normal;
}
.site-nav { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.site-nav a {
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mist); text-decoration: none; transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--frangipani); }
.nav-cta a {
  background: var(--frangipani); color: var(--white) !important;
  padding: 0.38rem 1.1rem; border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta a:hover { background: var(--frang-deep) !important; }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--canopy); padding: 0.9rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage);
}
.breadcrumb-inner { max-width: 1140px; margin: 0 auto; }
.breadcrumb a { color: var(--frangipani); text-decoration: none; }
.breadcrumb span { margin: 0 0.5rem; }

/* ── HERO ── */
.hero {
  background:
    linear-gradient(
      160deg,
      rgba(13,31,21,0.82) 0%,
      rgba(13,31,21,0.65) 50%,
      rgba(13,31,21,0.78) 100%
    ),
    url('../PlumeriaGarden.png') center center / cover no-repeat;
  padding: 8rem 2rem 6rem;
  position: relative; overflow: hidden;
}
/* Subtle vignette at bottom for text legibility */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(13,31,21,0.5) 0%, transparent 100%);
  pointer-events: none;
}
/* Frangipani glow top right */
.hero::after {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,131,106,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: 1140px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--frangipani); margin-bottom: 1.5rem; display: block;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 500; line-height: 1.0;
  color: var(--ivory); margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--frangipani); }
.hero-sub {
  font-size: 1.1rem; color: var(--mist);
  max-width: 580px; line-height: 1.75; margin-bottom: 3rem;
}
.hero-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.badge {
  font-family: 'DM Sans', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mist); border: 1px solid rgba(184,212,194,0.25);
  padding: 0.38rem 1rem; border-radius: 2px;
}

/* ── SECTIONS ── */
.section { padding: 5.5rem 2rem; position: relative; z-index: 1; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.66rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--frangipani); margin-bottom: 0.6rem; display: block;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 500; line-height: 1.15;
  color: var(--jungle); margin-bottom: 1rem;
}
.section-intro {
  font-size: 1.05rem; color: var(--driftwood);
  max-width: 680px; font-style: italic; margin-bottom: 3rem;
  line-height: 1.75;
}

/* Banded sections */
.section-cream { background: var(--cream); border-top: 1px solid var(--linen); border-bottom: 1px solid var(--linen); }
.section-dark { background: var(--canopy); }
.section-jungle { background: var(--jungle); }
.section-dark .section-title,
.section-jungle .section-title { color: var(--ivory); }
.section-dark .section-intro,
.section-jungle .section-intro { color: var(--mist); }
.section-dark .section-label,
.section-jungle .section-label { color: var(--frangipani); }

/* ── KNOWLEDGE GRID ── */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.k-card {
  background: var(--white); border: 1px solid var(--linen);
  padding: 2rem; border-radius: 4px;
  text-decoration: none; color: inherit; display: block;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.k-card:hover {
  box-shadow: 0 8px 36px rgba(13,31,21,0.12);
  transform: translateY(-3px);
  border-color: var(--frang-pale);
}
.k-card-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }
.k-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 500;
  color: var(--jungle); margin-bottom: 0.5rem;
}
.k-card-desc { font-size: 0.9rem; color: var(--driftwood); line-height: 1.65; }
.k-card-tag {
  display: inline-block; margin-top: 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--frangipani);
}

/* ── SPECIES STRIP ── */
.species-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; background: var(--linen);
  border: 1px solid var(--linen); border-radius: 4px; overflow: hidden;
}
.sp-tile {
  background: var(--white); padding: 1.75rem 1.5rem;
  text-decoration: none; transition: background 0.2s;
}
.sp-tile:hover { background: var(--cream); }
.sp-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-style: italic; color: var(--jungle);
  display: block; margin-bottom: 0.3rem;
}
.sp-common {
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--driftwood);
}

/* ── TWO COLUMN ── */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; }

/* ── QUICK REF PANEL ── */
.ref-panel { background: var(--jungle); border-radius: 4px; overflow: hidden; }
.ref-panel-title {
  font-family: 'DM Sans', sans-serif; font-size: 0.64rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); padding: 1.25rem 1.75rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ref-row {
  display: flex; justify-content: space-between;
  padding: 0.75rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
}
.ref-row:last-child { border-bottom: none; }
.ref-label { color: var(--sage); font-family: 'DM Sans', sans-serif; font-size: 0.78rem; }
.ref-value { color: var(--mist); text-align: right; max-width: 60%; }

/* ── CALLOUT BOX ── */
.callout { background: var(--jungle); border-radius: 4px; padding: 2rem; margin-bottom: 1.5rem; }
.callout-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--gold-pale); margin-bottom: 1rem;
}
.callout ul { list-style: none; padding: 0; }
.callout ul li {
  font-size: 0.86rem; color: var(--mist);
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); line-height: 1.5;
}
.callout ul li:last-child { border-bottom: none; }
.callout ul li::before { content: '—'; color: var(--frangipani); margin-right: 0.6rem; }

/* ── MEDIA FEATURE ── */
.media-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.media-text p { font-size: 1rem; color: var(--mist); margin-bottom: 1.25rem; line-height: 1.75; }
.media-text a { color: var(--frangipani); text-underline-offset: 3px; }
.media-panel {
  background: var(--fern); border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem; border-radius: 4px;
}
.media-panel-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-style: italic;
  color: var(--ivory); margin-bottom: 0.25rem;
}
.media-panel-sub {
  font-family: 'DM Sans', sans-serif; font-size: 0.64rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1.5rem; display: block;
}
.formula-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.formula-row:last-of-type { border-bottom: none; }
.formula-ingredient { color: var(--mist); }
.formula-pct { font-family: 'DM Sans', sans-serif; font-weight: 500; color: var(--frangipani); }
.formula-note { font-size: 0.82rem; color: var(--sage); margin-top: 1.5rem; font-style: italic; line-height: 1.55; }
.media-btn {
  display: inline-block; margin-top: 2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; padding: 0.72rem 1.85rem;
  background: var(--frangipani); color: var(--white);
  border-radius: 2px; transition: background 0.2s;
}
.media-btn:hover { background: var(--frang-deep); }

/* ── INLINE PROMO ── */
.inline-promo {
  background: var(--cream); border-left: 3px solid var(--frangipani);
  padding: 1.25rem 1.5rem; margin: 2rem 0; border-radius: 0 4px 4px 0;
}
.inline-promo p { margin: 0; font-size: 0.95rem; color: var(--jungle); }
.inline-promo a { color: var(--frang-deep); text-underline-offset: 3px; }

/* ── ZONE TABLE ── */
.zone-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.zone-table th {
  font-family: 'DM Sans', sans-serif; font-size: 0.66rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--driftwood); text-align: left;
  padding: 0.75rem 1rem; border-bottom: 2px solid var(--linen);
}
.zone-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--linen); color: var(--fern); }
.zone-table tr:last-child td { border-bottom: none; }
.zone-table tr:hover td { background: var(--cream); }
.zone-pill {
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem;
  font-weight: 500; padding: 0.22rem 0.65rem; border-radius: 2px; display: inline-block;
}
.zp-cold  { background: #dbeafe; color: #1e40af; }
.zp-trans { background: #fef3c7; color: #92400e; }
.zp-warm  { background: #fce7d0; color: #9e4a30; }
.zp-hot   { background: #d1fae5; color: #065f46; }

/* ── TAGS ── */
.tag {
  font-family: 'DM Sans', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: 2px;
}
.tag-cold    { background: #dbeafe; color: #1e40af; }
.tag-warm    { background: #d1fae5; color: #065f46; }
.tag-zone6   { background: #fef3c7; color: #92400e; }
.tag-rare    { background: #ede9fe; color: #5b21b6; }
.tag-fragrant { background: var(--frang-pale); color: var(--frang-deep); }

/* ── ARTICLE HEADER ── */
.article-header {
  background: var(--jungle); padding: 5rem 2rem 3.5rem;
}
.article-header-inner { max-width: 780px; margin: 0 auto; }
.article-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 0.66rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--frangipani); margin-bottom: 1rem; display: block;
}
.article-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500; color: var(--ivory); line-height: 1.12;
}
.article-body {
  max-width: 780px; margin: 0 auto; padding: 4rem 2rem;
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; color: var(--jungle);
  margin: 2.5rem 0 0.75rem;
  border-bottom: 1px solid var(--linen); padding-bottom: 0.5rem;
}
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--moss); font-style: italic;
  margin: 1.75rem 0 0.5rem;
}
.article-body p { margin-bottom: 1.25rem; color: var(--fern); }
.article-body a { color: var(--frang-deep); text-underline-offset: 3px; }

/* ── PROMO BAND ── */
.promo-band {
  background: linear-gradient(135deg, var(--fern), var(--moss));
  padding: 4.5rem 2rem; text-align: center;
}
.promo-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500; color: var(--ivory); margin-bottom: 0.75rem;
}
.promo-band p { color: var(--mist); margin-bottom: 2rem; font-style: italic; }
.btn {
  display: inline-block; padding: 0.78rem 2.1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; transition: all 0.2s;
}
.btn-primary { background: var(--frangipani); color: var(--white); }
.btn-primary:hover { background: var(--frang-deep); }
.btn-outline { border: 1px solid rgba(255,255,255,0.45); color: var(--ivory); margin-left: 1rem; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── NETWORK BAR ── */
.network-bar { background: var(--jungle); padding: 1.25rem 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.network-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.network-label { font-family: 'DM Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); white-space: nowrap; }
.network-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.network-links a { font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: var(--mist); text-decoration: none; transition: color 0.2s; }
.network-links a:hover { color: var(--frangipani); }

/* ── FOOTER ── */
.site-footer { background: var(--jungle); padding: 3rem 2rem 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-style: italic; color: var(--ivory); margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.88rem; color: var(--sage); line-height: 1.65; }
.footer-heading { font-family: 'DM Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.88rem; color: var(--mist); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--frangipani); }
.footer-base { max-width: 1140px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.76rem; color: var(--sage); }
.footer-copy a { color: var(--mist); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .media-feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hero { padding: 4.5rem 1.5rem 3rem; }
  .footer-base { flex-direction: column; }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; display: block; width: fit-content; margin: 0.75rem auto 0; }
}
