/* THE WATER JOURNAL: public pages */
:root {
  --mint: #C5E0C7; --green: #096724; --green-dark: #075219; --line: #DDE8DE;
  --red: #9B2226; --violet: #5B2C83; --ink: #1B2A1F; --muted: #4E5A52; --soft: #F3F9F3;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Inter', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--green); }

/* header */
.jh { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.jh__nav { position: relative; max-width: 1280px; margin: 0 auto; padding: 14px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.jh__logo img { height: 56px; width: auto; }
.jh__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.jh__links a { color: var(--ink); text-decoration: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.jh__links a:hover, .jh__links a[aria-current] { color: var(--green); }
.jh__right { display: flex; align-items: center; gap: 10px; }
.jh__buy { background: var(--mint); color: var(--green); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 13px 22px; border-radius: 999px; }
.jh__buy:hover { background: #b3d6b6; }
.jh__menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; cursor: pointer; }
.jh__menu svg { width: 22px; height: 22px; }

/* journal top */
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--green); }
.jhero { max-width: 860px; margin: 0 auto; padding: 88px 40px 48px; text-align: center; }
.jhero h1 { margin: 0 0 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 1; }
.lead { margin: 0; font-size: 19px; line-height: 1.65; color: var(--muted); }

/* list */
.jlist { max-width: 1280px; margin: 0 auto; padding: 0 40px 110px; }
.empty { text-align: center; color: var(--muted); font-size: 18px; padding: 40px 0; }
.meta { margin: 0 0 10px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cat { background: var(--soft); color: var(--green); font-weight: 600; padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; margin-bottom: 40px; transition: box-shadow .3s; }
.feature:hover { box-shadow: 0 20px 50px rgba(9,103,36,.10); }
.feature__img { background: var(--soft); min-height: 340px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.feature h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }
.feature p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.more { margin-top: 20px; font-weight: 600; color: var(--green); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 28px; }
.card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: 0 16px 40px rgba(9,103,36,.10); transform: translateY(-3px); }
.card__img { aspect-ratio: 16 / 10; background: var(--soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 26px 28px; }
.card h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; font-size: 15px; color: var(--muted); }
.pager a { font-weight: 600; text-decoration: none; padding: 12px 0; }

/* article */
.preview-bar { margin: 0; background: #FFF4D6; color: #6B4E00; text-align: center; padding: 12px 20px; font-size: 14px; }
.article { max-width: 1280px; margin: 0 auto; padding: 56px 40px 40px; }
.article__head { max-width: 760px; margin: 0 auto 40px; }
.back { display: inline-block; margin-bottom: 28px; font-size: 14px; text-decoration: none; }
.article__head h1 { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; }
.article__head .lead { margin-bottom: 20px; }
.article__cover { margin: 0 auto 48px; max-width: 1100px; border-radius: 24px; overflow: hidden; background: var(--soft); }
.article__cover img { width: 100%; max-height: 620px; object-fit: cover; }
.article__body { max-width: 720px; margin: 0 auto; font-size: 19px; line-height: 1.8; color: #26332A; }
.article__body p { margin: 0 0 1.3em; }
.article__body h2 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.1; margin: 1.6em 0 .5em; color: var(--ink); }
.article__body h3 { font-family: var(--serif); font-weight: 500; font-size: 29px; line-height: 1.15; margin: 1.4em 0 .4em; color: var(--ink); }
.article__body h4 { font-size: 19px; margin: 1.4em 0 .4em; }
.article__body ul, .article__body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article__body li { margin-bottom: .4em; }
.article__body blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--mint); font-family: var(--serif); font-size: 28px; line-height: 1.35; color: var(--green); }
.article__body figure { margin: 2em 0; }
.article__body figure img { border-radius: 16px; width: 100%; }
.article__body figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.article__body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.article__body table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 1.4em; }
.article__body th, .article__body td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.article__body a { color: var(--green); text-underline-offset: 3px; }
.share { max-width: 720px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14px; }
.share span { color: var(--muted); margin-right: 6px; }
.share a, .share button { font: inherit; font-size: 14px; font-weight: 600; color: var(--green); background: var(--soft); border: 0; border-radius: 999px; padding: 10px 16px; text-decoration: none; cursor: pointer; min-height: 40px; }
.share a:hover, .share button:hover { background: var(--mint); }
.cta { max-width: 1000px; margin: 72px auto 0; background: var(--mint); border-radius: 28px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta > div:first-child { flex: 1 1 380px; }
.cta h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.05; color: #0B3D18; }
.cta p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: #1F4A28; }
.cta .eyebrow { color: var(--green); }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 14px 26px; border-radius: 12px; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--green-dark); }
.cta__bottles { display: flex; align-items: flex-end; gap: 6px; }
.cta__bottles img { height: 220px; width: auto; filter: drop-shadow(0 14px 16px rgba(9,40,20,.18)); }
.related { padding-top: 40px; }
.related h2 { font-family: var(--serif); font-weight: 400; font-size: 44px; margin: 0 0 28px; }

/* footer */
.jf { border-top: 1px solid var(--line); background: #fff; }
.jf__inner { max-width: 1200px; margin: 0 auto; padding: 56px 40px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.jf__inner img { height: 80px; width: auto; }
.jf__tag { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--green); }
.jf__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: flex-start; }
.jf__links a { color: #3B4A40; text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.jf__links a:hover { color: var(--green); }
.jf__base { max-width: 1200px; margin: 0 auto; padding: 18px 40px 30px; border-top: 1px solid var(--line); font-size: 12px; color: #5E6B62; }

@media (max-width: 900px) {
  .jh__links { display: none; }
  .jh__menu { display: grid; }
  .jh__nav.is-open .jh__links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 16px; right: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.12); }
  .jh__nav.is-open .jh__links a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .jh__nav.is-open .jh__links li:last-child a { border-bottom: 0; }
}
@media (max-width: 600px) {
  .jh__nav { padding: 12px 18px; }
  .jh__logo img { height: 46px; }
  .jh__buy { padding: 11px 14px; font-size: 12px; }
  .jhero { padding: 56px 20px 32px; }
  .jlist { padding: 0 18px 80px; }
  .feature__body { padding: 28px 24px; }
  .feature__img { min-height: 220px; }
  .article { padding: 36px 18px 24px; }
  .article__body { font-size: 18px; }
  .article__body h2 { font-size: 32px; }
  .cta { padding: 32px 24px; margin-top: 48px; }
  .cta__bottles img { height: 160px; }
  .jf__inner, .jf__base { padding-left: 20px; padding-right: 20px; }
}
