/* =========================================================================
   HAPPY WELLNESS TODAY — a journal of modern wellness
   Design system: Apothecary luxury. Evergreen + oat + brass.
   Type: Fraunces (display) · Newsreader (body) · Jost (utility)
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --evergreen:      #1E3A2B;
  --evergreen-deep: #14241A;
  --sage:           #6E8064;
  --sage-soft:      #8B9A80;
  --brass:          #B08D57;
  --brass-deep:     #8F6F3E;
  --oat:            #EAE3D4;
  --oat-deep:       #DDD2BC;
  --paper:          #F7F3EC;
  --paper-warm:     #FCFAF4;
  --ink:            #24221B;
  --ink-soft:       #55503F;
  --line:           rgba(36, 34, 27, 0.14);
  --line-soft:      rgba(36, 34, 27, 0.08);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Newsreader", Georgia, serif;
  --font-ui:      "Jost", -apple-system, "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --measure: 40rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --shell: 78rem;
  --radius: 3px;

  --shadow-soft: 0 1px 2px rgba(20,36,26,0.04), 0 18px 40px -28px rgba(20,36,26,0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.075rem;
  line-height: 1.72;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* guard against incidental horizontal overflow; sticky-safe */
}
h1, h2, h3, h4, h5 { overflow-wrap: break-word; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2em; }

/* ---------- Type primitives ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
.eyebrow, .u-label {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--brass-deep);
}

/* ---------- Layout helpers ---------- */
.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Section label: ——— LABEL ——— framed by brass hairlines */
.rule-label {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}
.rule-label::before, .rule-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--oat-deep) 20%, var(--oat-deep) 80%, transparent);
}
.rule-label span {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--evergreen);
  white-space: nowrap;
}
.rule-label--start { justify-content: flex-start; }
.rule-label--start::before { display: none; }
.rule-label--start::after { max-width: 6rem; }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--evergreen); color: var(--paper); padding: 0.75rem 1.25rem; border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.85rem;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.masthead.is-scrolled { box-shadow: 0 10px 30px -22px rgba(20,36,26,0.5); background: color-mix(in srgb, var(--paper) 96%, transparent); }
.masthead__inner {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; grid-column: 2; justify-self: center; }
.brand__mark { width: 26px; height: 26px; color: var(--evergreen); flex: none; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.015em;
  color: var(--evergreen);
  line-height: 1;
}
.brand__word em { font-style: italic; font-weight: 400; color: var(--brass-deep); }

.nav { display: flex; align-items: center; gap: 1.6rem; grid-column: 1; }
.nav--right { grid-column: 3; justify-self: end; }
.nav a {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 0.4rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brass); transition: width 0.35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--evergreen); }

.header-cta {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; font-weight: 500;
  border: 1px solid var(--evergreen); color: var(--evergreen);
  padding: 0.55rem 1.1rem; border-radius: 40px; transition: all 0.3s var(--ease);
}
.header-cta:hover { background: var(--evergreen); color: var(--paper); }

.nav-toggle { display: none; grid-column: 3; justify-self: end; background: none; border: 0; padding: 0.5rem; color: var(--evergreen); }
.nav-toggle svg { width: 24px; height: 24px; }

/* =========================================================================
   HERO — feature story
   ========================================================================= */
.hero { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__grid > * { min-width: 0; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(36,34,27,0.06);
  background: linear-gradient(180deg, transparent 60%, rgba(20,36,26,0.08));
}
.hero__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--paper); color: var(--evergreen);
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.64rem;
  padding: 0.5rem 0.85rem; border-radius: 40px; box-shadow: var(--shadow-soft);
}
.hero__body { max-width: 34rem; }
.hero__kicker { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.hero__kicker span { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.7rem; color: var(--brass-deep); }
.hero__kicker::before { content: ""; width: 2.5rem; height: 1px; background: var(--brass); }
.hero h1 {
  font-size: clamp(2.15rem, 6vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--evergreen);
  margin-bottom: 1.3rem;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero__dek {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 30rem;
  margin-bottom: 1.9rem;
}
.hero__meta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-soft);
  margin-bottom: 2.1rem;
}
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 500;
  padding: 0.85rem 1.6rem; border-radius: 40px; border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.btn--primary { background: var(--evergreen); color: var(--paper); }
.btn--primary:hover { background: var(--brass-deep); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--evergreen); }
.btn--ghost:hover { border-color: var(--evergreen); background: var(--paper-warm); }
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* =========================================================================
   ARTICLE CARDS / GRID
   ========================================================================= */
.grid { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { display: flex; flex-direction: column; height: 100%; }
.card__text { display: flex; flex-direction: column; flex: 1; }
.card__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--oat);
}
.card__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform 0.9s var(--ease); will-change: transform;
}
.card:hover .card__media img { transform: scale(1.045); }
.card__media::after {
  content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(36,34,27,0.06);
  border-radius: var(--radius); pointer-events: none;
}
/* specimen label */
.card__specimen {
  display: flex; align-items: center; gap: 0.7rem; margin: 1.15rem 0 0.7rem;
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem;
  color: var(--brass-deep);
}
.card__specimen .cat { color: var(--evergreen); }
.card__specimen .tick { width: 14px; height: 1px; background: var(--brass); }
.card__title {
  font-size: 1.42rem; line-height: 1.14; color: var(--evergreen);
  letter-spacing: -0.015em; margin-bottom: 0.6rem;
}
.card__title a { background-image: linear-gradient(var(--brass), var(--brass)); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.4s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
.card__excerpt { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; margin-bottom: 0.9rem; }
.card__foot { margin-top: auto; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--sage); display: flex; gap: 0.6rem; align-items: center; }

/* Featured horizontal card (first in list) */
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
.card--wide .card__media img { aspect-ratio: 16 / 11; }
.card--wide .card__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.card--wide .card__excerpt { font-size: 1.08rem; max-width: 34rem; }

/* =========================================================================
   CATEGORY RAIL (home)
   ========================================================================= */
.cats { background: var(--evergreen); color: var(--paper); }
.cats .rule-label span { color: var(--oat); }
.cats .rule-label::before, .cats .rule-label::after { background: linear-gradient(90deg, transparent, rgba(234,227,212,0.35) 20%, rgba(234,227,212,0.35) 80%, transparent); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(234,227,212,0.18); border: 1px solid rgba(234,227,212,0.18); border-radius: var(--radius); overflow: hidden; }
.cat-tile { background: var(--evergreen); padding: 2rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; min-height: 12rem; transition: background 0.35s var(--ease); }
.cat-tile:hover { background: var(--evergreen-deep); }
.cat-tile__no { font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--brass); }
.cat-tile__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; color: var(--paper); margin-top: auto; }
.cat-tile__count { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-soft); }
.cat-tile__arrow { color: var(--brass); font-size: 0.9rem; }

/* =========================================================================
   INGREDIENT / RITUAL FEATURE (home)
   ========================================================================= */
.ritual { background: var(--oat); }
.ritual__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.ritual__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.ritual h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--evergreen); margin: 1rem 0 1.2rem; }
.ritual h2 em { font-style: italic; font-weight: 400; color: var(--brass-deep); }
.ritual p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 1rem; max-width: 32rem; }
.ritual__list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.9rem; }
.ritual__list li { display: flex; gap: 0.9rem; align-items: baseline; font-size: 1rem; }
.ritual__list .n { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--brass-deep); border: 1px solid var(--brass); border-radius: 50%; width: 1.7rem; height: 1.7rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* =========================================================================
   NEWSLETTER
   ========================================================================= */
.newsletter { background: var(--evergreen-deep); color: var(--paper); text-align: center; }
.newsletter__inner { max-width: 40rem; margin-inline: auto; }
.newsletter .eyebrow { color: var(--brass); }
.newsletter h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--paper); margin: 1rem 0 1rem; }
.newsletter h2 em { font-style: italic; font-weight: 400; color: var(--oat); }
.newsletter p { color: var(--sage-soft); font-size: 1.08rem; margin-bottom: 2rem; }
.newsletter form { display: flex; gap: 0.6rem; max-width: 30rem; margin-inline: auto; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 14rem; background: rgba(247,243,236,0.06); border: 1px solid rgba(247,243,236,0.22); color: var(--paper);
  padding: 0.9rem 1.1rem; border-radius: 40px; font-family: var(--font-ui); font-size: 0.85rem; letter-spacing: 0.03em;
}
.newsletter input::placeholder { color: rgba(247,243,236,0.5); }
.newsletter input:focus { outline: none; border-color: var(--brass); }
.newsletter button { background: var(--brass); color: var(--evergreen-deep); border: 0; padding: 0.9rem 1.7rem; border-radius: 40px; font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 500; transition: background 0.3s var(--ease); }
.newsletter button:hover { background: var(--oat); }
.newsletter small { display: block; margin-top: 1rem; color: rgba(247,243,236,0.45); font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.04em; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--evergreen-deep); color: var(--oat); padding-block: clamp(3rem, 6vw, 5rem) 2rem; border-top: 1px solid rgba(234,227,212,0.12); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand .brand__word { color: var(--paper); font-size: 1.5rem; }
.footer__brand .brand__mark { color: var(--brass); }
.footer__tag { color: var(--sage-soft); margin-top: 1rem; max-width: 22rem; font-size: 0.98rem; }
.footer h4 { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--brass); font-weight: 500; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer li a { color: var(--oat); font-size: 0.95rem; opacity: 0.85; transition: opacity 0.25s, color 0.25s; }
.footer li a:hover { opacity: 1; color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(234,227,212,0.12); font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--sage-soft); }
.footer__disclaimer { max-width: 46rem; margin-top: 1.2rem; font-size: 0.74rem; line-height: 1.6; color: rgba(234,227,212,0.5); font-family: var(--font-ui); }

/* =========================================================================
   CATEGORY PAGE
   ========================================================================= */
.cat-hero { background: var(--oat); padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--oat-deep); }
.cat-hero__inner { max-width: 46rem; }
.cat-hero .eyebrow { margin-bottom: 1.1rem; display: block; }
.cat-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--evergreen); letter-spacing: -0.02em; line-height: 1; }
.cat-hero h1 em { font-style: italic; font-weight: 400; color: var(--brass-deep); }
.cat-hero p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--ink-soft); margin-top: 1.4rem; line-height: 1.6; }
.cat-hero__count { margin-top: 1.6rem; font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: var(--sage); }

.chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 2rem; }
.chip {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 500;
  padding: 0.5rem 1rem; border-radius: 40px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--paper-warm);
  transition: all 0.28s var(--ease);
}
.chip:hover { border-color: var(--evergreen); color: var(--evergreen); }
.chip[aria-current="page"] { background: var(--evergreen); color: var(--paper); border-color: var(--evergreen); }

/* =========================================================================
   SINGLE POST
   ========================================================================= */
.article { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); }
.article__head { max-width: 46rem; margin-inline: auto; text-align: center; }
.article__breadcrumb { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; color: var(--brass-deep); margin-bottom: 1.5rem; }
.article__breadcrumb a:hover { color: var(--evergreen); }
.article__head h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); color: var(--evergreen); letter-spacing: -0.02em; line-height: 1.04; }
.article__head h1 em { font-style: italic; font-weight: 400; }
.article__dek { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink-soft); font-style: italic; margin-top: 1.4rem; line-height: 1.5; font-family: var(--font-body); }
.article__byline { display: flex; align-items: center; justify-content: center; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.8rem; font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--ink-soft); }
.article__byline .who { color: var(--evergreen); font-weight: 500; }
.article__byline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.article__hero { margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: 68rem; }
.article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.article__hero figcaption { text-align: center; margin-top: 0.9rem; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--sage); }

/* Body typography */
.article-body { max-width: var(--measure); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; font-size: 1.18rem; line-height: 1.78; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 500; float: left; font-size: 4.3rem; line-height: 0.8;
  padding: 0.35rem 0.7rem 0 0; color: var(--evergreen);
}
.article-body p { margin-bottom: 1.5rem; }
.article-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--evergreen); margin: 2.8rem 0 1rem; letter-spacing: -0.015em; }
.article-body h3 { font-size: 1.3rem; color: var(--evergreen); margin: 2rem 0 0.8rem; }
.article-body h3 { font-family: var(--font-display); }
.article-body a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--evergreen); }
.article-body ul, .article-body ol { margin: 0 0 1.5rem; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.6rem; padding-left: 0.3rem; }
.article-body li::marker { color: var(--brass); }
.article-body strong { color: var(--ink); font-weight: 600; }

.pullquote { margin: 2.6rem 0; padding: 0.4rem 0 0.4rem 1.8rem; border-left: 2px solid var(--brass); }
.pullquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; color: var(--evergreen); margin: 0;
}

.note {
  margin: 2.6rem 0; background: var(--oat); border-radius: var(--radius);
  border-top: 2px solid var(--brass); padding: 1.8rem 1.9rem;
}
.note h4 { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; color: var(--brass-deep); margin-bottom: 1rem; font-weight: 500; }
.note ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.note li { position: relative; padding-left: 1.4rem; font-size: 1.02rem; line-height: 1.55; color: var(--ink); margin: 0; }
.note li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

/* Tags + share */
.article__tags { max-width: var(--measure); margin: 2.5rem auto 0; display: flex; gap: 0.55rem; flex-wrap: wrap; }
.tag { font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); border: 1px solid var(--line); padding: 0.4rem 0.85rem; border-radius: 40px; }

/* Author card */
.author-card {
  max-width: var(--measure); margin: 3rem auto 0; padding: 1.9rem; background: var(--paper-warm);
  border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; gap: 1.4rem; align-items: center;
}
.author-card__avatar { width: 62px; height: 62px; border-radius: 50%; background: var(--evergreen); color: var(--oat); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; flex: none; }
.author-card__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--evergreen); }
.author-card__role { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.68rem; color: var(--brass-deep); margin: 0.3rem 0 0.6rem; }
.author-card__bio { font-size: 0.95rem; color: var(--ink-soft); }

/* Related */
.related { border-top: 1px solid var(--line-soft); }

/* =========================================================================
   ABOUT PAGE
   ========================================================================= */
.about-hero { text-align: center; max-width: 48rem; margin-inline: auto; }
.about-hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); color: var(--evergreen); letter-spacing: -0.02em; line-height: 1.02; }
.about-hero h1 em { font-style: italic; font-weight: 400; color: var(--brass-deep); }
.about-hero p { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink-soft); margin-top: 1.6rem; line-height: 1.6; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.value__no { font-family: var(--font-ui); letter-spacing: 0.2em; font-size: 0.72rem; color: var(--brass-deep); }
.value h3 { font-size: 1.5rem; color: var(--evergreen); margin: 0.8rem 0 0.7rem; }
.value p { color: var(--ink-soft); font-size: 1rem; }
.value { border-top: 1px solid var(--oat-deep); padding-top: 1.4rem; }

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .nav { display: none; }
  .nav--right { display: none; }
  .nav-toggle { display: inline-flex; }
  .masthead__inner { grid-template-columns: auto 1fr; }
  .brand { grid-column: 1; justify-self: start; }
  .nav-toggle { grid-column: 2; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .ritual__grid { grid-template-columns: 1fr; }
  .ritual__media { order: -1; }
  .card--wide { grid-template-columns: 1fr; }
  .card--wide .card__media img { aspect-ratio: 3 / 2; }
  .values { grid-template-columns: 1fr; gap: 1.5rem; }

  /* mobile nav drawer */
  .mobile-nav { position: fixed; inset: 0; background: var(--evergreen); z-index: 60; transform: translateX(100%); transition: transform 0.4s var(--ease); display: flex; flex-direction: column; padding: 5rem var(--gutter) 2rem; }
  .mobile-nav.is-open { transform: none; }
  .mobile-nav a { font-family: var(--font-display); font-size: 2rem; color: var(--paper); padding: 0.7rem 0; border-bottom: 1px solid rgba(234,227,212,0.15); }
  .mobile-nav a:last-of-type { border: 0; }
  .mobile-nav__close { position: absolute; top: 1.5rem; right: var(--gutter); background: none; border: 0; color: var(--oat); }
  .mobile-nav__close svg { width: 28px; height: 28px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 801px) { .mobile-nav { display: none; } }
@media (max-width: 620px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .author-card { flex-direction: column; text-align: center; }
}

/* =========================================================================
   LEGAL PAGES (Privacy / Terms) + footer legal links
   ========================================================================= */
.footer__legal a { color: var(--sage-soft); transition: color 0.25s; }
.footer__legal a:hover { color: var(--paper); }
.newsletter small a { color: var(--oat); text-decoration: underline; text-underline-offset: 2px; }
.newsletter small a:hover { color: var(--paper); }

.legal { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); }
.legal__head { max-width: var(--measure); margin-inline: auto; text-align: center; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-soft); }
.legal__head .eyebrow { display: block; margin-bottom: 1rem; }
.legal__head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--evergreen); letter-spacing: -0.02em; line-height: 1.04; }
.legal__meta { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--sage); margin-top: 1.3rem; }

.prose { max-width: var(--measure); margin: clamp(2rem, 4vw, 3rem) auto 0; font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.prose > p:first-of-type { font-size: 1.16rem; color: var(--ink-soft); line-height: 1.7; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); color: var(--evergreen); margin: 2.6rem 0 0.9rem; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-display); font-size: 1.22rem; color: var(--evergreen); margin: 1.9rem 0 0.6rem; }
.prose p { margin-bottom: 1.2rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.3em; }
.prose li { margin-bottom: 0.55rem; padding-left: 0.25rem; }
.prose li::marker { color: var(--brass); }
.prose a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; word-break: break-word; }
.prose a:hover { color: var(--evergreen); }
.prose strong { color: var(--ink); font-weight: 600; }
