/* ============================================================
   Strendal — The Story Page Template
   Scoped to page-templates/story.php only
   Uses global design tokens from style.css
   ============================================================ */

/* ── OPENING HERO ── */
.hs-opening {
  margin-top: 45px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--green);
}
.hs-o-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 15% 65%, rgba(255,255,255,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 20%, rgba(200,149,42,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(74,122,56,0.4) 0%, transparent 55%);
}
.hs-o-content {
  position: relative;
  text-align: center;
  padding: 60px 32px;
  max-width: 800px;
  animation: hsFadeUp 1.1s ease both;
}
@keyframes hsFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hs-o-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}
.hs-o-eyebrow::before,
.hs-o-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.hs-o-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 28px;
}
.hs-o-title em { font-style: italic; color: var(--gold-light); }
.hs-o-rule {
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin: 0 auto 26px;
}
.hs-o-sub {
  font-size: 1.04rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 550px;
  margin: 0 auto;
}
.hs-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  animation: hsFadeUp 1.4s 0.5s ease both;
}
.hs-scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: hsPulse 2s ease-in-out infinite;
}
@keyframes hsPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.9); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}
.hs-scroll-word {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── SHARED EYEBROW ── */
.hs-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 18px;
}

/* ── PHILOSOPHY ── */
.hs-philosophy {
  padding: 108px 48px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hs-philosophy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 300;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 28px;
}
.hs-philosophy p {
  font-size: 1.04rem;
  line-height: 1.92;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 660px;
  margin: 0 auto 16px;
}
.hs-philosophy p:last-of-type { margin-bottom: 0; }

/* ── PILLARS ── */
.hs-pillars {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 84px 48px;
}
.hs-pillars-inner { max-width: 1100px; margin: 0 auto; }
.hs-pillars-hd { text-align: center; margin-bottom: 58px; }
.hs-pillars-hd h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 12px;
}
.hs-pillars-hd p {
  font-size: 14.5px;
  color: var(--ink-light);
  font-weight: 300;
  line-height: 1.75;
  max-width: 490px;
  margin: 0 auto;
}
.hs-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  overflow: hidden;
}
.hs-pillar {
  background: #fff;
  padding: 46px 34px 42px;
  position: relative;
  transition: background 0.3s;
}
.hs-pillar:hover { background: var(--cream); }
.hs-p-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.hs-p-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hs-pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.42rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 11px;
}
.hs-pillar p {
  font-size: 14px;
  line-height: 1.82;
  color: var(--ink-soft);
  font-weight: 300;
}
.hs-p-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.hs-pillar:hover .hs-p-bar { transform: scaleX(1); }

/* ── STORY ROWS ── */
.hs-sw {
  padding: 96px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.hs-sw-alt {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 96px 0;
}
.hs-sw-alt-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}
.hs-s-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hs-s-row.hs-flip { direction: rtl; }
.hs-s-row.hs-flip > * { direction: ltr; }
.hs-s-text .hs-eyebrow { text-align: left; margin-bottom: 12px; }
.hs-s-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 22px;
}
.hs-s-text h2 em { font-style: italic; color: var(--gold); }
.hs-s-text p {
  font-size: 14.5px;
  line-height: 1.92;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 14px;
}
.hs-s-text p:last-child { margin-bottom: 0; }

/* ── STAT CARD ── */
.hs-stat-card {
  background: var(--green);
  border-radius: 3px;
  padding: 48px 42px;
  position: relative;
  overflow: hidden;
}
.hs-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 5% 90%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 95% 10%, rgba(200,149,42,0.12) 0%, transparent 55%);
}
.hs-sc-inner { position: relative; }
.hs-sc-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.42rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.56;
  color: rgba(255,255,255,0.92);
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.hs-sc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.hs-sc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.hs-sc-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}

/* ── GARDEN CARD ── */
.hs-garden-card {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 42px;
}
.hs-gc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 22px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}
.hs-produce-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.hs-p-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hs-p-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hs-gc-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 500;
}

/* ── SPICE DOOR ── */
.hs-spice {
  background: var(--green);
  padding: 88px 48px;
  position: relative;
  overflow: hidden;
}
.hs-spice::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at 100% 50%, rgba(200,149,42,0.1) 0%, transparent 55%);
}
.hs-spice-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.hs-spice-text .hs-eyebrow { color: var(--gold-light); margin-bottom: 12px; }
.hs-spice-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 5px;
}
.hs-spice-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-style: italic;
  color: var(--gold-light);
  display: block;
  margin-bottom: 26px;
}
.hs-spice-text p {
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  margin-bottom: 13px;
}
.hs-spice-text p:last-of-type { margin-bottom: 0; }
.hs-steps { display: flex; flex-direction: column; gap: 20px; }
.hs-step  { display: flex; gap: 19px; align-items: flex-start; }
.hs-step-badge {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--gold-light);
  flex-shrink: 0;
}
.hs-step-body {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.72;
  padding-top: 5px;
}
.hs-step-body strong {
  color: #fff;
  font-weight: 500;
  display: block;
  margin-bottom: 1px;
  font-size: 13.5px;
}

/* ── CALENDAR ── */
.hs-cal-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  padding: 38px;
}
.hs-cal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 22px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-soft);
}
.hs-month-bar { display: flex; gap: 3px; margin-bottom: 5px; }
.hs-mb { flex: 1; height: 8px; border-radius: 2px; background: var(--border-soft); }
.hs-mb.on   { background: var(--green); }
.hs-mb.half { background: linear-gradient(to right, var(--green) 50%, var(--border-soft) 50%); }
.hs-month-row  { display: flex; justify-content: space-between; margin-bottom: 22px; }
.hs-m-lbl      { font-size: 10px; color: var(--ink-light); }
.hs-cal-detail-title { font-weight: 500; color: var(--ink); margin-bottom: 9px; font-size: 13px; }
.hs-cal-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.hs-cal-item   { font-size: 13px; color: var(--ink-light); }

/* ── PULL QUOTE ── */
.hs-pull {
  padding: 104px 48px;
  text-align: center;
  background: var(--green-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hs-pull blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.42;
  color: var(--ink);
  max-width: 800px;
  margin: 0 auto 26px;
}
.hs-pull cite {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ── CTA ── */
.hs-cta {
  background: var(--green-dark);
  padding: 64px 48px;
  text-align: center;
}
.hs-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 9px;
}
.hs-cta p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
  font-weight: 300;
}
.hs-cta-btn {
  display: inline-block;
  padding: 14px 42px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  transition: all 0.25s;
}
.hs-cta-btn:hover { background: #fff; color: var(--green); border-color: #fff; }

/* ── SCROLL REVEAL ── */
.hs-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.hs-reveal.visible { opacity: 1; transform: translateY(0); }
.hs-d1 { transition-delay: 0.08s; }
.hs-d2 { transition-delay: 0.17s; }
.hs-d3 { transition-delay: 0.26s; }
.hs-d4 { transition-delay: 0.36s; }

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  .hs-philosophy, .hs-pillars, .hs-sw, .hs-spice, .hs-pull, .hs-cta {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hs-sw-alt-inner { padding: 0 24px; }
  .hs-pillars-grid { grid-template-columns: 1fr; gap: 1px; }
  .hs-s-row,
  .hs-s-row.hs-flip,
  .hs-spice-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
  }
  .hs-sc-grid { grid-template-columns: 1fr 1fr; }
  .hs-opening { margin-top: 41px; }
}
