/* ==========================================================================
   Herbal Oasis — shared stylesheet
   Design concept: Fayoum oasis — deep canal-water teal, sun-dried sand and
   spice-gold, hand-sorted clay red as a rare accent. The signature motif is
   the "canal line" — a slow, single-stroke wave that stands in for the
   irrigation channels the whole business depends on. It marks section
   transitions instead of a plain hairline.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --bg:        #F2EEDE;
  --bg-warm:   #ECE4CC;
  --ink:       #1B2B27;
  --ink-soft:  #4A5A54;
  --teal-deep: #163A34;
  --teal-mid:  #2F5D53;
  --sand:      #C9A667;
  --sand-deep: #A9813E;
  --clay:      #8B4A3B;
  --palm:      #5C7A5D;
  --line:      #D9CBA9;
  --paper:     #FBF8F0;

  --display: 'Fraunces', serif;
  --body: 'Work Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --wrap: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

h1, h2, h3{
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .4em;
  color: var(--teal-deep);
}
h1{ font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; }
h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3{ font-size: 1.25rem; }

p{ margin: 0 0 1.1em; color: var(--ink-soft); max-width: 62ch; }
.lede{ font-size: 1.15rem; color: var(--ink); }

.eyebrow{
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand-deep);
  display: inline-block;
  margin-bottom: .9em;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

section{ padding: 72px 0; }
section.tight{ padding: 44px 0; }

/* ---------- signature canal-line divider ---------- */
.canal-line{
  width: 100%;
  height: 26px;
  display: block;
}
.canal-line svg{ width: 100%; height: 100%; display: block; }

/* ---------- header ---------- */
header.site{
  background: var(--teal-deep);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand{
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: .01em;
}
.brand span{ color: var(--sand); font-style: italic; font-weight: 500; }

nav.links{ display: flex; gap: 30px; }
nav.links a{
  color: var(--paper);
  text-decoration: none;
  font-size: .92rem;
  letter-spacing: .02em;
  opacity: .82;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: opacity .15s ease, border-color .15s ease;
}
nav.links a:hover,
nav.links a[aria-current="page"]{
  opacity: 1;
  border-color: var(--sand);
}

.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span{
  width: 24px;
  height: 2px;
  background: var(--paper);
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary{ background: var(--sand); color: var(--teal-deep); }
.btn-primary:hover{ background: var(--sand-deep); }
.btn-ghost{
  background: transparent;
  border-color: rgba(251,248,240,.55);
  color: var(--paper);
}
.btn-ghost:hover{ border-color: var(--paper); }
.btn-outline{
  background: transparent;
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}
.btn-outline:hover{ background: var(--teal-deep); color: var(--paper); }

.btn-row{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- hero ---------- */
.hero{
  background: var(--teal-deep);
  color: var(--paper);
  padding: 76px 0 60px;
}
.hero p{ color: rgba(251,248,240,.82); }
.hero h1{ color: var(--paper); max-width: 16ch; }
.hero .eyebrow{ color: var(--sand); }

/* ---------- image placeholder block ---------- */
.ph{
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(22,58,52,.06) 0 14px, transparent 14px 28px),
    var(--bg-warm);
  border: 1px dashed var(--sand-deep);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
}
.ph .ph-label{
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .05em;
  text-align: center;
  color: var(--teal-mid);
  padding: 12px 16px;
  background: rgba(251,248,240,.75);
  border-radius: 2px;
}
.ph svg{ position: absolute; opacity: .16; width: 46%; }

/* ---------- grids & cards ---------- */
.grid{ display: grid; gap: 28px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px;
}

.product-card .ph{ min-height: 170px; margin-bottom: 16px; }
.product-card h3{ margin-bottom: .25em; }
.product-card .tag-row{ display:flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.tag{
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--bg-warm);
  color: var(--teal-mid);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 2px;
}

/* ---------- data / spec table ---------- */
.spec-table{ width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .88rem; }
.spec-table th, .spec-table td{
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.spec-table th{ color: var(--sand-deep); font-weight: 500; text-transform: uppercase; font-size: .74rem; letter-spacing: .06em; }

/* ---------- band (alt background section) ---------- */
.band{ background: var(--bg-warm); }
.band-deep{ background: var(--teal-deep); color: var(--paper); }
.band-deep h2, .band-deep h3{ color: var(--paper); }
.band-deep p{ color: rgba(251,248,240,.82); }
.band-deep .card{ background: rgba(251,248,240,.06); border-color: rgba(251,248,240,.18); }
.band-deep .card p{ color: rgba(251,248,240,.78); }

/* ---------- harvest ribbon (products page) ---------- */
.harvest{
  display: grid;
  grid-template-columns: 140px repeat(12, 1fr);
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: .7rem;
}
.harvest .h-label{ color: var(--ink); padding-right: 10px; }
.harvest .h-month{ text-align: center; color: var(--ink-soft); padding-bottom: 6px; }
.harvest .h-cell{ height: 20px; background: var(--line); border-radius: 1px; }
.harvest .h-cell.on{ background: var(--sand); }
.harvest-row{ display: contents; }

/* ---------- footer ---------- */
footer.site{
  background: var(--teal-deep);
  color: rgba(251,248,240,.82);
  padding: 56px 0 26px;
  margin-top: 0;
}
footer.site h3{ color: var(--paper); font-size: 1rem; margin-bottom: .8em; }
footer.site a{ text-decoration: none; color: rgba(251,248,240,.82); }
footer.site a:hover{ color: var(--sand); }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-bottom{
  border-top: 1px solid rgba(251,248,240,.16);
  margin-top: 40px;
  padding-top: 20px;
  font-size: .82rem;
  color: rgba(251,248,240,.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- utility ---------- */
.mt-0{ margin-top: 0; }
.center{ text-align: center; }
.max-56{ max-width: 56ch; }
.max-56.center{ margin-left: auto; margin-right: auto; }

/* ---------- responsive ---------- */
@media (max-width: 880px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }

  .nav-toggle{ display: flex; }

  nav.links{
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal-deep);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  nav.links.open{ max-height: 320px; }
  nav.links a{
    padding: 16px 28px;
    border-bottom: 1px solid rgba(251,248,240,.12);
    width: 100%;
  }
  .nav-row{ position: relative; }
}
@media (max-width: 560px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  section{ padding: 52px 0; }
  .harvest{ grid-template-columns: 90px repeat(12, 1fr); font-size: .58rem; }
}
