/* Her Renewal Notes: editorial system after cupofjo.com (wordmark, Garamond body, outlined
   buttons, sidebar) and mindbodygreen.com (sans headlines, tinted photo frames, kickers). */

@font-face { font-family: "Jost"; src: url(/fonts/jost.woff2) format("woff2"); font-weight: 300 500; font-display: optional; }
@font-face { font-family: "EB Garamond"; src: url(/fonts/garamond.woff2) format("woff2"); font-weight: 400 500; font-display: optional; }
@font-face { font-family: "EB Garamond"; src: url(/fonts/garamond-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: optional; }

:root {
  --bg: #FFFFFF;
  --paper: #F9F7F4;
  --ink: #1E2433;
  --body: #2F3340;
  --muted: #737782;
  --line: #E7E2DB;
  --accent: #B9533A;      /* kickers, links */
  --navy: #1F2A44;        /* buttons */
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", "Garamond", "Iowan Old Style", Georgia, serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-y: scroll; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease, border-color .2s ease, text-decoration-color .2s ease; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--sans); font-weight: 400; color: var(--ink); letter-spacing: -0.005em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font: 500 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }

/* buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; border: 1px solid var(--navy); padding: 15px 28px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline { display: inline-block; border: 1px solid var(--accent); color: var(--ink); padding: 11px 20px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* header: centered wordmark between two halves of the nav */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.head-row { max-width: 1320px; margin: 0 auto; padding: 0 24px; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { font: 300 22px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); white-space: nowrap; text-align: center; }
.wordmark span { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.15em; color: var(--accent); margin-left: .1em; }
.wordmark:hover { color: var(--ink); }
.nav-side ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav-right ul { justify-content: flex-end; }
.nav-side a { font: 400 15px var(--sans); letter-spacing: .04em; color: var(--ink); padding: 6px 0; background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 0 1px; transition: background-size .3s ease, color .2s ease; }
.nav-side a:hover, .nav-side a[aria-current] { background-size: 100% 1px; }
.menu { display: none; }
@media (max-width: 1099px) {
  .head-row { grid-template-columns: 40px 1fr 40px; height: 64px; }
  .nav-side { display: none; }
  .wordmark { grid-column: 2; font-size: 17px; letter-spacing: .24em; }
  .menu { display: block; grid-column: 3; justify-self: end; }
  .menu summary { list-style: none; cursor: pointer; width: 26px; display: grid; gap: 5px; padding: 8px 0; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { height: 1.5px; background: var(--ink); display: block; }
  .menu nav { position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .menu ul { list-style: none; margin: 0; padding: 0; }
  .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; }
}
@media (max-width: 420px) { .wordmark { font-size: 14px; letter-spacing: .2em; } }

/* tinted photo frames (mindbodygreen) */
.frame, .home-hero-media, .card-media, .post-media { position: relative; display: block; background: var(--tint, #EFE7DD); overflow: hidden; }
.frame { padding: clamp(18px, 4vw, 56px); }
.frame::before, .frame::after { content: ""; position: absolute; background: rgba(30,36,51,.18); pointer-events: none; }
.frame::before { left: 0; right: 0; top: 34%; height: 1px; }
.frame::after { top: 0; bottom: 0; left: 72%; width: 1px; }
.frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }

/* home hero */
.home-hero { display: grid; grid-template-columns: 1fr; background: var(--paper); }
.home-hero-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-hero-text { padding: 40px 24px 48px; }
.home-hero h1 { font-weight: 300; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; margin: 0 0 22px; }
.hero-lede p { font: 400 clamp(19px, 1.7vw, 22px)/1.5 var(--serif); color: var(--body); margin-bottom: 28px; max-width: 34em; }
@media (min-width: 900px) {
  .home-hero { grid-template-columns: 58% 42%; min-height: min(76vh, 720px); }
  .home-hero-media img { aspect-ratio: auto; }
  .home-hero-text { align-self: center; padding: 56px clamp(32px, 5vw, 80px); }
}

/* editor's letter (cupofjo voice) */
.letter { padding: clamp(56px, 8vw, 96px) 24px clamp(40px, 6vw, 72px); text-align: left; }
.letter-label { font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 28px; }
.letter-label::after { content: ""; display: block; width: 40px; height: 1px; background: var(--accent); margin: 16px auto 0; }
.letter-body p { font: 400 21px/1.6 var(--serif); color: var(--body); }
.letter-body p:first-child::first-letter { float: left; font: 400 76px/0.82 var(--serif); color: var(--accent); margin: 6px 10px 0 0; }
.letter-sign { font: italic 400 20px var(--serif); color: var(--muted); text-align: right; }

/* feed: big post + sidebar (cupofjo) */
.feed { display: grid; gap: 48px; padding-bottom: 32px; border-top: 1px solid var(--line); padding-top: 56px; }
@media (min-width: 1000px) { .feed { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.post { text-align: center; }
.post-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s; }
.post-media:hover img, .card-media:hover img { transform: scale(1.025); }
.post-meta { font: 500 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 26px 0 14px; display: flex; gap: 12px; justify-content: center; }
.post-meta .dot { color: var(--accent); }
.post-title { font-weight: 400; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; max-width: 640px; margin: 0 auto 18px; }
.post-title a { color: var(--ink); }
.post-excerpt { font: 400 19px/1.6 var(--serif); text-align: left; max-width: 640px; margin: 0 auto 26px; }
.post-shop { font: italic 400 17px/1.5 var(--serif); color: var(--muted); margin: 28px auto 0; max-width: 520px; }
.post-shop a { font-style: normal; font-family: var(--sans); font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--accent); }
.post-shop span { display: block; font-size: 14px; }
.band-lead { margin-top: 32px; }
.side-about { background: var(--tint); padding: 0 0 26px; text-align: center; margin-bottom: 40px; }
.side-about img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.side-about p { font: 400 17px/1.55 var(--serif); padding: 0 26px; margin-bottom: 12px; }
.side-about .side-about-name { font: 400 24px var(--sans); color: var(--ink); }
.side-about a { font: 500 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.side-title { font: 400 26px var(--sans); color: var(--accent); text-align: center; margin: 0 0 20px; }
.most-read ol { list-style: none; margin: 0; padding: 0; text-align: center; }
.most-read li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.most-read li:last-child { border-bottom: 2px solid var(--accent); }
.most-read .num { display: block; font: 500 11px var(--sans); letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.most-read a { font: 400 18px/1.35 var(--sans); color: var(--ink); }
.most-read a:hover { color: var(--accent); }

/* sections + grids (mindbodygreen) */
.section { padding: 64px 24px 16px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 32px; }
.section-title { font: 500 clamp(36px, 5vw, 56px)/1 var(--sans); color: var(--navy); letter-spacing: -0.01em; }
.section-tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.section-tabs a, .section-head .more { font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.section-tabs a:hover, .section-head .more:hover { color: var(--accent); }
.section-note { font: italic 400 18px var(--serif); color: var(--muted); margin: -12px 0 28px; }
.related .section-head, .related > .section-title { margin-bottom: 32px; }
.related > .section-title { border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.grid { display: grid; gap: 40px 28px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card-media { margin-bottom: 18px; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.grid-2 .card-media img { aspect-ratio: 3 / 2; }
.card .kicker { margin-bottom: 8px; }
.card-title { font: 400 22px/1.3 var(--sans); margin: 0 0 8px; }
.grid-2 .card-title { font-size: 28px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); }
.card-text { font: 400 17px/1.5 var(--serif); color: var(--body); margin: 0; }

/* lead magnet */
.lead { display: grid; gap: 24px; align-items: center; background: var(--paper); padding: clamp(24px, 4vw, 40px); margin: 48px 0; border-top: 3px solid var(--accent); }
@media (min-width: 640px) { .lead { grid-template-columns: 170px 1fr; gap: 36px; } }
.lead-cover { width: 100%; max-width: 200px; box-shadow: 0 14px 30px rgba(30,36,51,.18), 0 2px 6px rgba(30,36,51,.08); transform: rotate(-2.5deg); margin: 0 auto; }
.lead-title { font: 400 clamp(24px, 2.6vw, 30px)/1.2 var(--sans); margin: 0 0 10px; }
.lead-blurb { font: 400 18px/1.55 var(--serif); color: var(--body); }
.lead-row { display: flex; flex-wrap: wrap; gap: 0; }
.lead-row input { flex: 1 1 220px; min-width: 0; font: 400 16px var(--sans); padding: 14px 16px; border: 1px solid var(--ink); border-right: 0; background: #fff; border-radius: 0; color: var(--ink); }
.lead-row input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.lead-row .btn { flex: 0 0 auto; }
@media (max-width: 480px) { .lead-row input { border-right: 1px solid var(--ink); } .lead-row .btn { width: 100%; margin-top: 8px; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 14px; }
.check input { margin-top: 4px; accent-color: var(--navy); }
.band-lead { background: #F2E9E1; padding: 24px 0; margin-top: 64px; }
.band-lead .lead { background: transparent; border: 0; margin: 0 auto; max-width: 980px; }
@media (min-width: 640px) { .lead-wide { grid-template-columns: 240px 1fr; } .lead-wide .lead-cover { max-width: 240px; } }

/* article (mindbodygreen) */
.article-head { padding-top: 32px; max-width: 900px; }
.crumbs { font: 400 13px var(--sans); color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); }
.article-head h1 { font-weight: 400; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.12; margin: 0 0 18px; }
.dek { font: 400 22px/1.45 var(--serif); color: var(--body); max-width: 760px; margin-bottom: 24px; }
.persona { font: italic 400 19px var(--serif); color: var(--muted); margin: -8px 0 20px; }
.byline { display: flex; gap: 14px; align-items: center; padding: 0 0 32px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: #F3E6DC; color: var(--accent); display: grid; place-items: center; font: 500 13px var(--sans); letter-spacing: .08em; }
.byline p { margin: 0; }
.byline-name { font: 500 14px var(--sans); color: var(--ink); }
.byline-date { font: 400 13px var(--sans); color: var(--muted); }
.article-hero { margin: 0 auto 48px; }
.article-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) {
  .article-grid { grid-template-columns: minmax(0, 700px) 300px; justify-content: space-between; }
  .article-side { position: sticky; top: 100px; align-self: start; }
}
.prose { font: 400 20px/1.65 var(--serif); color: var(--body); }
.prose h2 { font: 400 clamp(27px, 2.6vw, 32px)/1.25 var(--sans); margin: 1.9em 0 .6em; }
.prose h3 { font: 500 21px/1.35 var(--sans); margin: 1.6em 0 .5em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; padding-left: .2em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 500; color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: rgba(185,83,58,.4); text-underline-offset: 3px; }
.prose .lead, .prose .faq, .prose .shop-card, .prose .note { font-family: var(--sans); }
.toc { border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 36px; }
.toc .side-title, .article-side .side-title { text-align: left; font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; display: grid; grid-template-columns: 28px 1fr; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.toc li::before { content: counter(t, decimal-leading-zero); color: var(--accent); font-size: 12px; padding-top: 2px; }
.toc a { color: var(--ink); } .toc a:hover { color: var(--accent); }
.side-lead { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; background: var(--paper); padding: 18px; color: var(--ink); }
.side-lead img { width: 84px; box-shadow: 0 6px 14px rgba(30,36,51,.15); }
.side-lead .kicker { display: block; margin: 0 0 6px; }
.side-lead-title { display: block; font: 400 17px/1.3 var(--sans); }
.side-lead:hover .side-lead-title { color: var(--accent); }
@media (max-width: 999px) { .article-side { order: -1; } .side-lead { display: none; } .toc { margin-bottom: 0; } }

.note { background: #F4F1EC; border-left: 3px solid var(--accent); padding: 18px 22px 2px; margin: 32px 0; font-size: 16px; line-height: 1.6; }
.note p { margin-bottom: 1em; }
.shop-card { border: 1px solid var(--ink); padding: 26px 28px 10px; margin: 40px 0; font-size: 16px; }
.shop-card .eyebrow { font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.shop-card .btn-ghost { display: inline-block; border: 1px solid var(--accent); color: var(--ink); padding: 11px 20px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.shop-card .btn-ghost:hover { background: var(--accent); color: #fff; }
.fine { font-size: 13px; color: var(--muted); }
.faq { border-top: 1px solid var(--ink); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 400 20px/1.35 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 28px var(--sans); color: var(--accent); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details[open] p { animation: hr-drop .3s ease; }
.faq p { font: 400 18px/1.6 var(--serif); padding-bottom: 12px; }

/* page hero (stories hub) */
.page-hero { background: var(--tint); padding: 32px 0 48px; margin-bottom: 48px; }
.page-hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.page-hero h1 { font-weight: 300; font-size: clamp(40px, 5vw, 64px); margin-bottom: 16px; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-plain { padding-top: 48px; }
.page-plain h1 { font-weight: 300; font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 28px; }

/* thanks */
.thanks-dl { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; background: var(--paper); padding: 28px; margin: 32px 0; }
.thanks-dl[hidden] { display: none; }
.thanks-dl img { box-shadow: 0 10px 24px rgba(30,36,51,.18); transform: rotate(-2deg); }
.thanks-title { font: 400 24px/1.25 var(--sans); color: var(--ink); }

/* footer (cupofjo: light, centered) */
.site-foot { margin-top: 96px; background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 40px; text-align: center; }
.foot-mark { display: inline-block; font-size: 20px; margin-bottom: 14px; }
.foot-tag { font: italic 400 19px var(--serif); color: var(--muted); }
.foot-nav { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.foot-nav a { font: 400 14px var(--sans); letter-spacing: .06em; color: var(--ink); }
.foot-nav a:hover { color: var(--accent); }
.foot-fine { font-size: 13px; color: var(--muted); max-width: 720px; margin: 0 auto; }

/* Motion: quiet, short, and off for people who ask for less motion */
@keyframes hr-drop { from { opacity: 0; transform: translateY(-6px); } }
.prose a:hover { text-decoration-color: var(--accent); }
.menu summary span { transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.menu[open] summary span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.menu[open] nav { animation: hr-drop .25s ease; }
.side-lead img, .thanks-dl img { transition: transform .4s ease; }
.side-lead:hover img { transform: rotate(-2deg) translateY(-2px); }
.fx img[loading=lazy] { opacity: 0; transition: opacity .5s ease, transform .6s; }
.fx img[loading=lazy].in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fx img[loading=lazy] { opacity: 1; }
  .post-media:hover img, .card-media:hover img, .side-lead:hover img { transform: none; }
}
