/* ============================================================
   LUNG VITALITY — THE GUIDE · tea & coffee apothecary
   Magazine front page
   Marcellus (display) · Source Sans 3 (body)
   ============================================================ */

:root {
  --parchment: #F6F1E5;
  --parchment-lift: #FBF7EC;
  --forest-deep: #16382A;
  --forest: #1E5638;
  --bronze: #A8853F;
  --hairline: #E0D7C2;
  --serif: 'Marcellus', 'Times New Roman', Georgia, serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--parchment);
  color: var(--forest-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--forest-deep); color: var(--parchment);
  padding: 10px 18px; font-size: 13px; letter-spacing: .08em;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- shared ---------- */

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- 01 · announcement ---------- */

.announce {
  background: var(--forest-deep);
  color: var(--parchment);
  text-align: center;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 11px 16px;
}

/* ---------- 02 · masthead header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--parchment);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(22, 56, 42, .1); }

.masthead {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px clamp(16px, 4vw, 48px) 14px;
}
.masthead::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--hairline);
}

.menu-toggle {
  display: none;
  background: none; border: 0; color: var(--forest-deep);
  padding: 8px; margin-left: -8px;
}

.masthead-logo {
  justify-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--forest-deep);
}
.masthead-sprig { width: 42px; height: 21px; color: var(--bronze); margin-bottom: 6px; }
.masthead-word {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
}
.masthead-sub {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .58em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-right: -.58em;
}

.masthead-actions { justify-self: end; }
.icon-btn {
  position: relative;
  background: none; border: 0;
  color: var(--forest-deep);
  padding: 10px;
  transition: color .25s ease;
}
.icon-btn:hover { color: var(--bronze); }
.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--parchment);
  font-size: 9px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  padding: 0 3px;
}
.cart-count.pulse { animation: pulse .45s ease; }
@keyframes pulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.45); background: var(--bronze); color: var(--parchment); }
  100% { transform: scale(1); }
}

.masthead-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 13px 16px;
  background: var(--parchment);
}
.masthead-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.masthead-nav a:hover { color: var(--bronze); }
.nav-dot { color: var(--bronze); font-size: 14px; }

/* ---------- mobile menu ---------- */

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--parchment);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 32px;
  transition: color .25s ease;
}
.mobile-menu nav a:hover { color: var(--bronze); }
.mobile-menu-foot {
  position: absolute; bottom: 36px;
  font-size: 13px; letter-spacing: .1em;
  color: rgba(22, 56, 42, .6);
}
.menu-close {
  position: absolute; top: 22px; right: 22px;
  background: none; border: 0; color: var(--forest-deep); padding: 8px;
}

/* ---------- 03 · front page feature block ---------- */

.front-page {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 48px) clamp(48px, 6vw, 72px);
  align-items: start;
}

.feature-card {
  border: 1px solid var(--hairline);
  background: var(--parchment-lift);
}
.feature-link { display: block; }
.feature-media { overflow: hidden; }
.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.19, 1, .22, 1);
}
.feature-card:hover .feature-media img { transform: scale(1.03); }

.feature-caption { padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 40px) clamp(28px, 3.4vw, 40px); }
.feature-headline {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
}
.feature-dek {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(22, 56, 42, .78);
  max-width: 56ch;
}
.read-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--forest);
  transition: color .25s ease, gap .25s ease;
}
.feature-link:hover .read-link { color: var(--bronze); gap: 14px; }

.story-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mini-story {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--hairline);
  background: var(--parchment-lift);
  padding: 14px;
  transition: border-color .25s ease, background .25s ease;
}
.mini-story:hover { border-color: var(--bronze); background: #FDFAF2; }
.mini-story img {
  width: 120px; height: 120px;
  object-fit: cover;
  border-radius: 10px;
}
.mini-story h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.25;
}
.all-stories {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze);
  transition: gap .25s ease;
}
.all-stories:hover { gap: 14px; }

/* ---------- 04 · this week's picks ---------- */

.picks { padding: clamp(16px, 2vw, 32px) clamp(20px, 4vw, 48px) clamp(64px, 8vw, 96px); }
.picks-inner { max-width: 1100px; margin: 0 auto; }

.picks-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--forest-deep);
}
.picks-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
}
.picks-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bronze);
  transition: gap .25s ease;
}
.picks-link:hover { gap: 12px; }

.pick-list { list-style: none; }
.pick {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: clamp(18px, 2.6vw, 34px);
  align-items: center;
  padding: 22px 0;
}
.pick + .pick { border-top: 1px solid var(--hairline); }

.pick-thumb {
  width: 90px; height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.pick-info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
}
.pick-info p {
  margin-top: 5px;
  font-size: 14px;
  color: rgba(22, 56, 42, .72);
}

.pick-rating { display: flex; flex-direction: column; gap: 4px; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 13px; height: 13px; fill: var(--bronze); }
.rating-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22, 56, 42, .6);
}

.pick-price {
  font-family: var(--serif);
  font-size: 21px;
  min-width: 52px;
  text-align: right;
}
.pick-add {
  background: none;
  border: 1px solid var(--forest);
  color: var(--forest);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.pick-add:hover { background: var(--forest); color: var(--parchment); }
.pick-add.is-added { background: var(--forest); color: var(--parchment); border-color: var(--forest); }

/* ---------- 05 · seasonal band ---------- */

.season-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, var(--forest-deep) 0%, var(--forest) 55%, #2A6B4F 100%);
  text-align: center;
  padding: clamp(88px, 11vw, 150px) 24px;
}
.band-leaf {
  position: absolute;
  width: clamp(150px, 18vw, 260px);
  opacity: .5;
  pointer-events: none;
}
.band-leaf--left { left: -34px; bottom: -50px; }
.band-leaf--right { right: -34px; top: -50px; transform: rotate(180deg); }

.season-content { position: relative; z-index: 1; }
.season-band h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 60px);
  color: var(--parchment);
}
.parchment-btn {
  display: inline-block;
  margin-top: 34px;
  background: var(--parchment);
  color: var(--forest-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 2px;
  transition: background .25s ease, transform .25s ease;
}
.parchment-btn:hover { background: #FFF; transform: translateY(-2px); }

/* ---------- 06 · botanical columns ---------- */

.botanicals { padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 48px); }
.botanical-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.botanical {
  text-align: center;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 44px);
}
.botanical + .botanical { border-left: 1px solid rgba(168, 133, 63, .45); }
.botanical-icon {
  width: 44px; height: 44px;
  color: var(--bronze);
  margin: 0 auto;
}
.botanical h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}
.botanical p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(22, 56, 42, .75);
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 07 · reviews ---------- */

.reviews { padding: 0 clamp(20px, 4vw, 48px) clamp(72px, 9vw, 110px); }
.reviews-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 40px;
}
.review-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review-card {
  background: var(--parchment-lift);
  border: 1px solid var(--hairline);
  padding: 36px 30px;
}
.review-card blockquote p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
}
.review-card figcaption {
  margin-top: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- 08 · newsletter ---------- */

.newsletter { padding: 0 clamp(20px, 4vw, 48px) clamp(80px, 10vw, 120px); }
.newsletter-frame {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--bronze);
  outline: 1px solid var(--bronze);
  outline-offset: 6px;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 64px);
}
.newsletter-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
}
.newsletter-sub {
  margin: 16px auto 0;
  max-width: 54ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(22, 56, 42, .75);
}
.newsletter-form {
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.newsletter-form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(22, 56, 42, .5);
  color: var(--forest-deep);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .06em;
  padding: 12px 4px;
  width: min(340px, 82vw);
  outline: none;
  transition: border-color .25s ease;
}
.newsletter-form input::placeholder { color: rgba(22, 56, 42, .5); }
.newsletter-form input:focus { border-color: var(--bronze); }
.newsletter-form button {
  background: var(--forest);
  color: var(--parchment);
  border: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 2px;
  transition: background .25s ease;
}
.newsletter-form button:hover { background: var(--forest-deep); }
.form-success {
  margin-top: 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- 09 · footer ---------- */

.site-footer {
  background: var(--forest-deep);
  color: var(--parchment);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 84px) clamp(20px, 5vw, 48px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(36px, 5vw, 64px);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}
.footer-logo span {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .58em;
  text-transform: uppercase;
  color: var(--bronze);
}
.footer-blurb {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 241, 229, .62);
  max-width: 38ch;
}
.footer-col h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, .45);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(246, 241, 229, .85);
  padding: 5px 0;
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--bronze); }
.footer-mail { text-decoration: underline; text-underline-offset: 4px; }
.footer-note { margin-top: 12px; font-size: 13px; color: rgba(246, 241, 229, .48); }

.footer-pay {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid rgba(246, 241, 229, .14);
}
.pay-chip {
  border: 1px solid rgba(246, 241, 229, .3);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, .8);
}
.footer-legal {
  text-align: center;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, .45);
  padding: 26px 0 30px;
  margin-top: 34px;
  border-top: 1px solid rgba(246, 241, 229, .14);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 16px);
  z-index: 180;
  background: var(--forest-deep);
  color: var(--parchment);
  border: 1px solid rgba(168, 133, 63, .7);
  font-size: 13px;
  letter-spacing: .08em;
  padding: 13px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature-media img { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .front-page { grid-template-columns: 1fr; }
  .story-rail { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .all-stories { grid-column: 1 / -1; justify-content: center; }
  .review-grid { grid-template-columns: 1fr; max-width: 620px; }
}

@media (max-width: 860px) {
  .masthead-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .masthead { grid-template-columns: auto 1fr auto; }
  .masthead-logo { grid-column: 2; }
  .masthead-word { font-size: 24px; }
  .masthead-sprig { width: 34px; height: 17px; margin-bottom: 4px; }

  .story-rail { grid-template-columns: 1fr; }

  .pick {
    grid-template-columns: 90px 1fr auto;
    grid-template-areas:
      "thumb info price"
      "thumb rating add";
    row-gap: 12px;
  }
  .pick-thumb { grid-area: thumb; width: 90px; height: 110px; }
  .pick-info { grid-area: info; }
  .pick-rating { grid-area: rating; flex-direction: row; align-items: center; gap: 10px; }
  .pick-price { grid-area: price; align-self: start; }
  .pick-add { grid-area: add; justify-self: end; padding: 8px 16px; }

  .botanical-grid { grid-template-columns: 1fr; }
  .botanical + .botanical { border-left: 0; border-top: 1px solid rgba(168, 133, 63, .45); }
  .band-leaf { opacity: .3; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .mini-story { grid-template-columns: 92px 1fr; }
  .mini-story img { width: 92px; height: 92px; }
  .mini-story h2 { font-size: 18px; }
  .review-card { padding: 30px 24px; }
}

/* ============================================================
   FOOTER REDESIGN — "magazine colophon".
   Appended rules override the old column-template styles above.
   ============================================================ */
.fc-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(60px, 7vw, 92px) clamp(20px, 5vw, 48px) 0;
}
.fc-colophon {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.55;
  max-width: 44ch;
  color: rgba(246, 241, 229, .92);
}
.fc-sections {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.4fr;
  gap: clamp(30px, 4vw, 56px);
  margin-top: clamp(46px, 6vw, 68px);
}
.fc-col {
  position: relative;
  border-top: 1px solid rgba(246, 241, 229, .18);
  padding-top: 22px;
}
.fc-col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 1px;
  background: var(--bronze);
}
.fc-col h3 {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
}
.fc-col a {
  display: block;
  font-size: 14px;
  color: rgba(246, 241, 229, .85);
  padding: 5px 0;
  transition: color .25s ease;
}
.fc-col a:hover { color: var(--bronze); }
.fc-mail {
  font-size: 14px;
  color: rgba(246, 241, 229, .85);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(168, 133, 63, .65);
  transition: color .25s ease;
}
.fc-mail:hover { color: var(--bronze); }
.fc-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fc-pay .pay-chip { padding: 5px 11px; font-size: 9px; }
.fc-issue { margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.fc-vol {
  border-top: 1px solid rgba(246, 241, 229, .16);
  border-bottom: 1px solid rgba(246, 241, 229, .16);
  padding: 15px 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, .55);
}
.fc-copy {
  padding: 20px 0 28px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, .42);
}

@media (max-width: 1020px) {
  .fc-sections { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .fc-sections { grid-template-columns: 1fr; }
  .fc-vol { letter-spacing: .24em; }
}
