/* Content pages: about, contact, Healthy Home Reset, blog, category, posts.
   Tokens and shared components: styles.css. */

/* ============================================================ about: hero */
.hero-about .hero-in { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.about-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem var(--gap); align-items: end; }
.about-hero-copy h1 { margin: 0; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.75rem); line-height: 0.95; }
.about-hero-copy .hero-sub { margin-bottom: 1.25rem; font: 700 var(--fs-h3)/1.3 var(--f-display); letter-spacing: var(--tr-heading); }
.hero-about .hero-media { max-width: none; }
.hero-about .hero-media .photo { aspect-ratio: 1600 / 679; }
.hero-about .hero-media .ring { width: 26%; right: -4%; top: -22%; }
@media (max-width: 900px) {
  .about-hero-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-about .hero-media .photo { aspect-ratio: 4 / 3; }
  .hero-about .hero-media .ring { width: 48%; right: -14%; top: -12%; }
}

.serving-title { margin-top: 1.5rem; }
.serving { margin-bottom: 1.75rem; }
.serving span { font: 700 0.9375rem/1.2 var(--f-display); }
.band-lime .why-list { box-shadow: var(--sh); }

/* ============================================================ about: family album */
.album-band { overflow: hidden; }
.album-title { max-width: 18ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.album { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 0.8rem + 1.5vw, 2.25rem); }
.album-item {
  --tilt: -1.6deg;
  position: relative; display: flex; flex-direction: column; aspect-ratio: 4 / 5; margin: 0;
  padding: 0.6rem 0.6rem 1.6rem;
  background: var(--c-paper); border: var(--bd); border-radius: var(--r-sm); box-shadow: var(--sh);
  transform: rotate(var(--tilt));
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.album-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; padding-bottom: 2.4rem; }
.album-item img { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; border: var(--hair); border-radius: 6px; }
.album-item::before {
  content: ""; position: absolute; z-index: 1; top: -0.85rem; left: 50%; width: 4.5rem; height: 1.5rem;
  background: var(--c-lime); border: 2px solid var(--c-ink); border-radius: 4px;
  transform: translateX(-50%) rotate(calc(var(--tilt) * -2));
}
.album-feature img { flex: 1 1 0; height: 0; object-position: 50% 15%; }
.album-feature::before { width: 7rem; }
.album-item:nth-child(3n + 2) { --tilt: 1.4deg; }
.album-item:nth-child(3n + 3) { --tilt: -0.6deg; }
.album-feature { --tilt: 0.8deg; }
.album-item:nth-child(4n + 1)::before { left: 30%; }
.album-item:nth-child(5n + 2)::before { background: var(--c-lime-pale); }
.album-item:hover { transform: rotate(0deg) translate(-2px, -2px); box-shadow: var(--sh-lg); }
.js .album-item.reveal { transform: translateY(22px) rotate(var(--tilt)); }
.js .album-item.reveal.in { transform: rotate(var(--tilt)); }
.js .album-item.reveal.in:hover { transform: rotate(0deg) translate(-2px, -2px); }
@media (max-width: 700px) {
  .album { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .album-item { padding: 0.4rem 0.4rem 1rem; box-shadow: var(--sh-sm); }
  .album-feature { grid-row: auto; aspect-ratio: 5 / 4; padding-bottom: 1.4rem; }
  .album-item::before { width: 3rem; height: 1.1rem; top: -0.6rem; }
  .album-feature::before { width: 5rem; }
}

/* ============================================================ contact */
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.contact-lines { display: grid; gap: 0.9rem; margin: 1.75rem 0 2rem; padding: 0; list-style: none; }
.contact-lines li { margin: 0; }
.contact-lines a, .contact-lines .contact-hours {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  background: var(--c-paper); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh-sm);
  text-decoration: none; font-weight: 500;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.contact-lines a { font: 700 clamp(1rem, 0.9rem + 0.5vw, 1.3rem)/1.25 var(--f-display); overflow-wrap: anywhere; }
.contact-lines a:hover { background: var(--c-lime); transform: translate(-2px, -2px); box-shadow: var(--sh); }
.contact-ico {
  flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 2px solid var(--c-ink); border-radius: 50%; background: var(--c-lime);
}
.contact-ico svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: var(--c-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.contact-lines .contact-hours { margin: 0; box-shadow: none; }
.contact-lines .contact-mail { font-size: clamp(0.9rem, 0.8rem + 0.35vw, 1.05rem); overflow-wrap: normal; }
.contact-mail .nb { display: inline-block; }

/* The hero form, stacked into a dark card beside the contact lines. */
.contact-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: var(--bd); border-radius: calc(var(--r) + 6px); box-shadow: 9px 9px 0 var(--c-lime-dark);
}
.contact-card .contact-form { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 1.1rem; }
.contact-card .cf-title, .contact-card .cf-sub, .contact-card .cf-grid,
.contact-card .cf-submit, .contact-card .form-status { grid-column: 1; grid-row: auto; }
.contact-card .cf-sub { margin: -0.4rem 0 0.5rem; }
@media (max-width: 900px) {
  .contact-split { grid-template-columns: minmax(0, 1fr); }
  .contact-card .cf-submit { width: 100%; }
}

/* ============================================================ Healthy Home Reset */
.hhr-intro .statement-body .hhr-motto { font: 700 var(--fs-h3)/1.3 var(--f-display); font-style: italic; }
.hhr-problem {
  padding: clamp(1.35rem, 1rem + 1.5vw, 2rem);
  background: var(--c-paper); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh);
}
.hhr-problem .hhr-callout { display: block; padding: 0.9rem 1.1rem; background: var(--c-lime); border: 2px solid var(--c-ink); border-radius: var(--r-sm); font: 700 1.02rem/1.4 var(--f-display); }
.hhr-wide-photo { aspect-ratio: 1600 / 679; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

.hhr-included-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem var(--gap); align-items: end; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.hhr-included-head h2, .hhr-included-head p { margin: 0; }
.hhr-mosaic {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 0.6rem + 1vw, 1.4rem); aspect-ratio: 16 / 8; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.hhr-mosaic .photo { height: 100%; }
.hhr-mosaic .photo:first-child { grid-row: span 2; }
.hhr-mosaic .photo:last-child { grid-column: span 2; }
.hhr-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.hhr-card { padding: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh); background: var(--c-paper); }
.hhr-card .tag { margin-bottom: 1rem; }
.hhr-card ul { margin-bottom: 0; }
.hhr-card-dark { background: var(--c-ink); color: var(--c-ground); border-color: var(--c-ink); box-shadow: 6px 6px 0 var(--c-lime-dark); }
.hhr-card-dark h3 { color: var(--c-lime); }
.hhr-card-dark .checklist li::before { border-color: var(--c-lime); background: var(--c-ink) radial-gradient(circle, var(--c-lime) 0 28%, transparent 30%); }
.hhr-card-dark strong { color: var(--c-paper); }
@media (max-width: 900px) {
  .hhr-included-head, .hhr-pair { grid-template-columns: minmax(0, 1fr); }
  .hhr-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .hhr-mosaic .photo { aspect-ratio: 1; }
  .hhr-mosaic .photo:first-child { grid-row: auto; }
  .hhr-mosaic .photo:last-child { grid-column: auto; }
}

.hhr-stats-head { max-width: 34ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.hhr-stats-head h2 { margin-bottom: 0.6rem; }
.hhr-source { margin: 0; font-style: italic; color: oklch(84% 0.01 113); }
.hhr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--c-lime); }
.hhr-stat { padding: 1.5rem clamp(1rem, 0.5rem + 1.2vw, 1.75rem) 0 0; }
.hhr-stat + .hhr-stat { padding-left: clamp(1rem, 0.5rem + 1.2vw, 1.75rem); border-left: 1.5px solid var(--c-ink-soft); }
.hhr-stat strong { display: block; margin-bottom: 0.6rem; color: var(--c-lime); font: 800 clamp(2rem, 1.3rem + 2.6vw, 3.6rem)/1 var(--f-display); letter-spacing: var(--tr-numeral); }
.hhr-stat:last-child strong { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.1; letter-spacing: var(--tr-heading); }
.hhr-stat span { display: block; }
@media (max-width: 900px) {
  .hhr-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hhr-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hhr-stat:nth-child(n + 3) { margin-top: 1.5rem; border-top: 1.5px solid var(--c-ink-soft); }
}
@media (max-width: 520px) {
  .hhr-stats { grid-template-columns: minmax(0, 1fr); }
  .hhr-stat + .hhr-stat { padding-left: 0; border-left: 0; margin-top: 1.5rem; border-top: 1.5px solid var(--c-ink-soft); }
}

.hhr-why-photo { aspect-ratio: 1600 / 679; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.hhr-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.hhr-why-grid .why-list strong { display: block; }
@media (max-width: 900px) { .hhr-why-grid { grid-template-columns: minmax(0, 1fr); } }

.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--c-paper); border: var(--bd); border-radius: calc(var(--r) + 6px); box-shadow: var(--sh-lg);
}
.plan h3 { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); }
.plan-from { margin: 0.4rem 0 0.25rem; font: 700 var(--fs-label)/1.2 var(--f-display); letter-spacing: var(--tr-label); text-transform: uppercase; }
.plan-amount { margin: 0 0 1.1rem; font: 800 clamp(2.6rem, 1.8rem + 3vw, 4.25rem)/1 var(--f-display); letter-spacing: var(--tr-numeral); }
.plan p:not([class]) { flex: 1; margin-bottom: 1.75rem; }
.plan-featured { background: var(--c-lime); }
.plan-star {
  position: absolute; top: -1.1rem; right: 1.5rem; margin: 0; padding: 0.45rem 0.95rem;
  background: var(--c-ink); color: var(--c-lime); border-radius: var(--r-pill);
  font: 700 var(--fs-label)/1 var(--f-display); letter-spacing: 0.08em;
}
.plans-note { max-width: 62ch; margin: clamp(2rem, 1.5rem + 1.5vw, 2.75rem) auto 0; text-align: center; font-style: italic; color: var(--c-ink-soft); }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan-featured { margin-top: 1rem; } }

.hhr-reviews { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem var(--gap); align-items: center; }
.hhr-reviews h2 { margin-bottom: 0.5rem; }
.hhr-reviews p { margin: 0; }
.hhr-reviews img { width: 13rem; border: var(--bd); border-radius: var(--r-sm); box-shadow: var(--sh); background: var(--c-paper); transition: transform var(--t-fast) var(--ease); }
.hhr-reviews a:hover img { transform: rotate(-3deg); }
@media (max-width: 700px) { .hhr-reviews { grid-template-columns: minmax(0, 1fr); } }

.hhr-final { position: relative; overflow: hidden; text-align: center; }
.hhr-final .wrap { position: relative; z-index: 1; max-width: 56rem; }
.hhr-final h2 { color: var(--c-lime); }
.hhr-final p { max-width: 58ch; margin-inline: auto; }
.hhr-final .btn { margin-block: 0.75rem 1.75rem; }
.hhr-areas { font-size: var(--fs-small); color: oklch(84% 0.01 113); }
.hhr-final > .ring { position: absolute; width: 34rem; height: 34rem; left: -12rem; bottom: -16rem; color: var(--c-lime); opacity: 0.22; stroke-width: 2; }

/* ============================================================ plain hero (blog, category, posts) */
.hero-plain .hero-in { grid-template-columns: minmax(0, 1fr); padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 5rem); }
.hero-plain .hero-copy { max-width: 58rem; }
.hero-plain h1 { margin-bottom: 0; font-size: clamp(1.9rem, 1.2rem + 2.7vw, 3.4rem); }
.hero-plain .hero-plain-ring {
  position: absolute; z-index: 0; width: clamp(16rem, 10rem + 22vw, 32rem); aspect-ratio: 1;
  right: calc(var(--gutter) * -1 - 4rem); top: 50%; transform: translateY(-50%);
}
.hero-plain .hero-plain-ring .ring { position: static; width: 100%; height: 100%; color: var(--c-ink); opacity: 0.85; stroke-width: 2.2; }
.hero-plain .tag { margin-bottom: 1.25rem; }
.post-date { display: inline-flex; margin-top: 1.5rem; }
.post-date time { display: inline-block; padding: 0.5rem 1rem; background: var(--c-paper); border: var(--bd); border-radius: var(--r-pill); box-shadow: 3px 3px 0 var(--c-ink); font: 700 var(--fs-label)/1.1 var(--f-display); letter-spacing: 0.06em; }
@media (max-width: 700px) { .hero-plain .hero-plain-ring { opacity: 0.2; right: -8rem; } }

/* ============================================================ post list (blog, category) */
.post-list { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.post-row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center;
  padding: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  background: var(--c-paper); border: var(--bd); border-radius: calc(var(--r) + 6px); box-shadow: var(--sh-lg);
}
.post-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.post-row:nth-child(even) .post-thumb { order: 2; }
.post-thumb { display: block; aspect-ratio: 3 / 2; box-shadow: none; transition: transform var(--t-fast) var(--ease); }
.post-thumb:hover { transform: rotate(-1deg); }
.post-thumb img { transition: transform var(--t-slow) var(--ease); }
.post-thumb:hover img { transform: scale(1.04); }
.post-body { padding: 0.5rem clamp(0rem, 1vw, 1rem) 0.5rem 0; }
.post-row:nth-child(even) .post-body { padding: 0.5rem 0 0.5rem clamp(0rem, 1vw, 1rem); }
.post-body h2, .post-body h3 { margin-bottom: 0.8rem; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.15; }
.post-body h2 a, .post-body h3 a { text-decoration: none; }
.post-body h2 a:hover, .post-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--c-lime-deep); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.post-meta li { padding: 0.35rem 0.8rem; border: 2px solid var(--c-ink); border-radius: var(--r-pill); font: 700 var(--fs-label)/1.1 var(--f-display); letter-spacing: 0.04em; }
.post-meta li:first-child { background: var(--c-lime); }
.post-body > p { margin-bottom: 1.25rem; color: var(--c-ink-soft); }
@media (max-width: 860px) {
  .post-row, .post-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .post-row:nth-child(even) .post-thumb { order: 0; }
  .post-body, .post-row:nth-child(even) .post-body { padding: 0 0.25rem 0.5rem; }
}

/* ============================================================ single post */
.post-band { padding-top: 0; }
.post-cover { aspect-ratio: 1600 / 679; margin: calc(clamp(2.5rem, 2rem + 3vw, 4.5rem) * -1) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.post-wrap { --post-w: 46rem; max-width: calc(var(--post-w) + var(--gutter) * 2); }
.post-wrap .prose { max-width: none; }
.hero-post .hero-in { padding-bottom: clamp(5.5rem, 4rem + 6vw, 9rem); }
.hero-post .hero-copy { width: 100%; max-width: 46rem; margin-inline: auto; }
.post-wrap .prose { font-size: 1.125rem; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); }
.prose .photo { margin: 2em 0; }
.prose .photo img { height: auto; }
.prose figure.photo-tall { max-width: 26rem; }
.prose .table-scroll { margin: 1.5em 0; border: var(--bd); border-radius: var(--r-sm); box-shadow: var(--sh-sm); }
.prose .table-scroll table { margin: 0; border: 0; border-radius: 0; min-width: 34rem; }
.prose tbody tr:nth-child(even) td { background: var(--c-ground-2); }
.prose td:first-child { background: var(--c-lime-pale); }
.prose tbody tr:nth-child(even) td:first-child { background: var(--c-lime-pale); }
.prose blockquote a { font-weight: 700; }
.prose .faq-q { padding-top: 1.1rem; border-top: var(--hair); }
.post-wrap .hero-sub { margin: 0; }
@media (max-width: 700px) {
  .post-cover { aspect-ratio: 16 / 9; }
  .post-wrap .prose { font-size: var(--fs-body); }
}

/* ============================================================ band rhythm
   styles.css drops the top padding of any plain band that follows a band,
   which is right after another plain band but leaves a plain band flush
   against a coloured one. Restore it after lime, ink and ground-2 bands. */
@media (max-width: 700px) {
  .hhr-wide-photo, .hhr-why-photo { aspect-ratio: 16 / 10; }
}

/* post FAQ: question and answer pairs as stacked cards */
.post-faq { display: grid; gap: 1rem; margin: 1.25em 0 0; }
.post-faq-item { padding: 1.15rem 1.35rem 1.25rem; background: var(--c-paper); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh-sm); }
.prose .post-faq-item h3 { margin: 0 0 0.5rem; font-size: 1.05rem; line-height: 1.3; }
.post-faq-item p { margin: 0; }
