/* Brighter Being — redesigned test site. Same brand colors and fonts as the live site. */
@font-face { font-family: "BB Display"; src: url("../assets/fonts/display.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "BB Caps";    src: url("../assets/fonts/caps.woff2") format("woff2");    font-display: swap; }
@font-face { font-family: "BB Body";    src: url("../assets/fonts/body.woff2") format("woff2");    font-display: swap; }
@font-face { font-family: "BB Script";  src: url("../assets/fonts/script.woff2") format("woff2");  font-display: swap; }

:root {
  --olive: rgb(113, 113, 71);
  --olive-deep: rgb(87, 88, 52);
  --gold: rgb(160, 137, 77);
  --sage: rgb(160, 158, 110);
  --beige: rgb(220, 219, 207);
  --sand: rgb(224, 220, 205);
  --cream: rgb(255, 254, 252);
  --brown: rgb(87, 66, 35);
  --muted: rgb(184, 184, 162);
  --portal: rgb(216, 173, 77);
  /* Darker steps of the brand colours, only where text must stay readable (at least 4.5:1, the WCAG AA minimum).
     The brand colours above stay as they are for backgrounds, borders and decoration. */
  --gold-ink: rgb(109, 93, 52);      /* gold text on cream, beige or sand */
  --gold-btn: rgb(133, 114, 64);     /* gold behind cream text: buttons, Bri's page */
  --sage-btn: rgb(120, 118, 82);     /* sage behind cream text */
  --portal-ink: rgb(232, 201, 128);  /* portal yellow as text on the dark footer */
  --display: "BB Display", Georgia, serif;
  --caps: "BB Caps", "Trebuchet MS", sans-serif;
  --body: "BB Body", Georgia, serif;
  --script: "BB Script", "Brush Script MT", cursive;
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(87, 66, 35, .45);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--cream); color: var(--olive); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
/* The hidden attribute always wins (used by the Journal's "more posts" button and by content.js for packages taken off the site). */
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--portal); outline-offset: 3px; border-radius: 4px; }
/* Read by screen readers, not shown */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--olive); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.center { text-align: center; }
.display { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.12; letter-spacing: .5px; }
.eyebrow { font-family: var(--caps); font-size: 15px; letter-spacing: 2.5px; color: var(--gold-ink); }
.script { font-family: var(--script); font-weight: 400; }
.script-xl { font-family: var(--script); font-size: clamp(40px, 5.5vw, 62px); line-height: 1; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }
.italic { font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--caps); font-size: 15px; letter-spacing: 1.5px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; text-align: center; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold-btn); color: var(--cream); }
.btn-olive { background: var(--olive); color: var(--cream); }
.btn-sage { background: var(--sage-btn); color: var(--cream); }
.btn-portal { background: var(--portal); color: var(--brown); }
.btn-cream { background: var(--cream); color: var(--olive); }
.btn-sand { background: var(--sand); color: var(--olive-deep); }
.btn-ghost { border-color: currentColor; color: var(--olive-deep); background: transparent; }
.btn-ghost.light { color: var(--cream); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: rgba(255, 254, 252, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(113, 113, 71, .14); transition: background .3s ease, box-shadow .3s ease; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header .logo img { height: 66px; width: auto; transition: height .3s ease; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a:not(.btn) { font-family: var(--caps); font-size: 15px; letter-spacing: 1.5px; text-decoration: none; padding: 10px 16px; border-radius: 999px; color: var(--olive); transition: background .2s, color .2s; }
.site-nav a:not(.btn):hover { background: rgba(160, 158, 110, .22); }
.site-nav a.active:not(.btn) { color: var(--gold-ink); box-shadow: inset 0 0 0 1.5px var(--gold); }
.site-nav .btn { margin-left: 10px; }
.site-nav a { white-space: nowrap; }
/* Narrow computer and tablet widths: tighter menu so it stays on one line */
@media (min-width: 821px) and (max-width: 1000px) {
  .site-header .bar { gap: 12px; }
  .site-nav { gap: 2px; }
  .site-nav a:not(.btn) { padding: 10px 9px; font-size: 14px; letter-spacing: 1px; }
  .site-nav .btn { margin-left: 4px; padding: 0 14px; letter-spacing: 1px; }
}
.menu-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; color: var(--olive); }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Transparent header over the home/care hero until the page scrolls */
.over-hero .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; box-shadow: none; }
.over-hero .site-header:not(.scrolled) .site-nav a:not(.btn), .over-hero .site-header:not(.scrolled) .menu-toggle { color: var(--cream); }
.over-hero .site-header:not(.scrolled) .site-nav a.active:not(.btn) { box-shadow: inset 0 0 0 1.5px var(--cream); }
.over-hero .site-header:not(.scrolled) .logo img { height: 74px; }
main { padding-top: var(--header-h); }
.over-hero main { padding-top: 0; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; text-align: center; color: var(--cream); padding: calc(var(--header-h) + 60px) 20px 90px; background: var(--brown); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/hero.jpg") center 35% / cover no-repeat; transform: scale(1.04); animation: drift 22s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(87, 66, 35, .55) 0%, rgba(87, 66, 35, .25) 40%, rgba(87, 66, 35, .7) 100%); }
@keyframes drift { to { transform: scale(1.12) translateY(-1.5%); } }
.hero .inner { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 7vw, 84px); line-height: 1.08; letter-spacing: 1px; }
.hero .lead { font-weight: 700; margin: 26px auto 0; max-width: 460px; font-size: clamp(19px, 2.2vw, 23px); }
.hero .sub { color: var(--beige); margin-top: 18px; font-size: clamp(18px, 2vw, 21px); }
.hero .sub .script { font-size: 1.7em; line-height: .8; color: var(--cream); }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero .scroll-cue { position: absolute; z-index: 1; bottom: 26px; left: 50%; width: 1px; height: 44px; background: linear-gradient(var(--cream), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { opacity: .2; transform: translateY(-6px); } 50% { opacity: 1; transform: translateY(6px); } }

/* Symptoms band */
.band { background: var(--olive) url("../assets/img/pattern-2.jpg") center / cover no-repeat; color: var(--cream); text-align: center; padding: clamp(56px, 8vw, 90px) 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.chips li { font-family: var(--caps); font-size: clamp(15px, 1.8vw, 19px); letter-spacing: 1.5px; padding: 9px 20px; border: 1.5px solid rgba(255, 254, 252, .55); border-radius: 999px; background: rgba(87, 88, 52, .35); }
.band .script-xl { margin-top: 40px; }
.band .seasons { font-style: italic; font-weight: 700; max-width: 640px; margin: 22px auto 0; font-size: clamp(18px, 2vw, 21px); }
.band .credit { color: var(--beige); margin-top: 26px; font-size: 18px; }

/* Method */
.method { background: var(--beige); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; position: relative; }
.steps::before { content: ""; position: absolute; top: 42px; left: 16%; right: 16%; border-top: 2px dashed rgba(160, 137, 77, .55); }
.step { text-align: center; position: relative; padding: 0 10px; }
.step .num { font-family: var(--script); font-size: 56px; line-height: 84px; width: 84px; height: 84px; margin: 0 auto 18px; background: var(--beige); border: 2px solid var(--gold); border-radius: 50%; color: var(--olive); }
.step h3 { font-family: var(--caps); font-weight: 400; font-size: 20px; letter-spacing: 1.5px; color: var(--gold-ink); }
.step p { margin: 12px auto 0; max-width: 300px; }
.fit { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; margin-top: 72px; align-items: stretch; }
.fit-card { border-radius: 40px; padding: 40px 38px; }
.fit-card.yes { background: var(--cream); border: 4px solid var(--gold); box-shadow: var(--shadow); }
.fit-card.no { border: 4px solid rgba(160, 137, 77, .45); }
.fit-card h3 { font-family: var(--caps); font-weight: 400; font-size: 20px; letter-spacing: 1.5px; color: var(--gold-ink); text-align: center; margin-bottom: 24px; }
.fit-card li { position: relative; padding-left: 38px; margin-bottom: 18px; line-height: 1.5; }
.fit-card li:last-child { margin-bottom: 0; }
.fit-card li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--sage) center / 14px no-repeat; }
.fit-card.yes li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fffefc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.500 7.500 3 3 6-7'/%3E%3C/svg%3E"); }
.fit-card.no li::before { background-color: var(--muted); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fffefc' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m3.500 3.500 7 7m0-7-7 7'/%3E%3C/svg%3E"); }
.method .after { text-align: center; margin-top: 52px; }

/* Packages */
.packages { background: var(--sand); position: relative; }
.packages::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/pattern-3.jpg") center / cover no-repeat; opacity: .55; }
.packages > * { position: relative; }
.packages .sub { font-style: italic; max-width: 760px; margin: 14px auto 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 76px; align-items: stretch; }
.card { background: var(--cream); border-radius: var(--radius); padding: 60px 30px 32px; position: relative; display: flex; flex-direction: column; text-align: center; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(87, 66, 35, .55); }
.card.featured { border: 6px solid var(--olive); padding-top: 54px; }
.badge { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); background: var(--sage-btn); color: var(--cream); font-family: var(--script); font-weight: 700; font-size: 34px; line-height: 1; padding: 10px 26px 12px; border-radius: 999px; white-space: nowrap; }
.card.featured .badge { background: var(--olive); top: -30px; }
.card h3 { font-family: var(--caps); font-weight: 400; font-size: 24px; letter-spacing: 2px; }
.card .name { margin-top: 2px; }
.card .meta { font-style: italic; color: var(--olive); font-size: 15px; margin-top: 8px; }
.card .best { margin-top: 14px; font-weight: 700; }
.card .includes { text-align: left; margin: 22px 0; padding-top: 22px; border-top: 1px solid var(--beige); }
.card .includes li { position: relative; padding-left: 28px; margin-bottom: 9px; line-height: 1.45; }
.card .includes li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.card .desc { font-size: 16px; }
.card .terms { text-align: left; margin-top: 16px; font-size: 16px; }
.card .price { margin-top: auto; padding-top: 24px; }
.card .price .amount { font-family: var(--display); font-size: clamp(28px, 2.7vw, 36px); line-height: 1.2; display: block; white-space: nowrap; }
.card .price .label { font-family: var(--caps); letter-spacing: 2px; font-size: 14px; color: var(--gold-ink); display: block; }
.card .price small { display: block; font-size: 15px; }
.card .btn { margin-top: 20px; }

/* In-clinic */
.clinic { background: var(--cream); }
.clinic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.clinic h2 { font-family: var(--caps); font-weight: 400; font-size: clamp(24px, 3vw, 32px); letter-spacing: 2px; line-height: 1.25; }
.clinic .copy p { margin-top: 14px; }
.clinic .btn { margin-top: 28px; }
.rates { background: var(--beige); border-radius: var(--radius); padding: 12px 30px; }
.rates li { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(113, 113, 71, .25); }
.rates li:last-child { border-bottom: 0; }
.rates strong { font-family: var(--caps); font-weight: 400; letter-spacing: 1.5px; font-size: 17px; }
.rates span { font-family: var(--display); font-size: 21px; text-align: right; }
.clinic .also { text-align: center; font-style: italic; margin-top: 48px; }

/* Testimonials */
.testimonials { background: var(--olive); color: var(--cream); overflow: hidden; }
.track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(20px, calc((100vw - 1120px) / 2)) 28px; margin-top: 44px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 min(440px, 84vw); scroll-snap-align: center; background: rgba(40, 30, 10, .1); border: 1.5px solid rgba(255, 254, 252, .35); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; }
.quote h3 { font-family: var(--caps); font-weight: 400; font-size: 22px; letter-spacing: 2px; }
.quote h3::after { content: ""; display: block; width: 34px; height: 1.5px; background: var(--portal); margin: 16px 0 18px; }
.quote p { font-weight: 700; line-height: 1.6; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 6px; }
.carousel-nav button.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 254, 252, .6); background: transparent; color: var(--cream); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.carousel-nav button.arrow:hover { background: rgba(255, 254, 252, .16); }
.carousel-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Each dot is drawn 9px wide inside a 28x36 button, so it is easy to tap on a phone. */
.dots { display: flex; flex-wrap: wrap; justify-content: center; }
.dots button { width: 28px; height: 36px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--cream); }
.dots button.active::before { background: var(--cream); }

/* About (home) */
.about-home { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px var(--radius) var(--radius); }
.portrait::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 240px 240px var(--radius) var(--radius); z-index: -1; }
.portrait { z-index: 0; }
.about-copy h2 { font-family: var(--caps); font-weight: 400; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: 2px; line-height: 1.2; }
.about-copy .role { color: var(--gold-ink); font-size: 19px; }
.about-copy .bio-text p { margin-top: 18px; }
.social { display: flex; gap: 10px; margin-top: 26px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); transition: background .2s, transform .2s; }
.social a:hover { background: var(--gold); transform: translateY(-2px); }
.social svg { width: 24px; height: 24px; fill: var(--cream); }

/* CTA band */
.cta { background: var(--beige) url("../assets/img/footer-pattern.png") center / cover no-repeat; text-align: center; }
.cta .btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* Footer */
.site-footer { background: var(--olive-deep); color: var(--beige); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer .footer-logo { width: 190px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer h3 { font-family: var(--caps); font-weight: 400; letter-spacing: 2px; font-size: 15px; color: var(--portal-ink); margin-bottom: 12px; }
.site-footer nav a { display: block; font-family: var(--caps); letter-spacing: 1.5px; font-size: 16px; text-decoration: none; padding: 6px 0; }
.site-footer nav a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 5px; }
.site-footer .social a { background: rgba(255, 254, 252, .14); }
.site-footer .legal { border-top: 1px solid rgba(220, 219, 207, .25); margin-top: 44px; padding-top: 20px; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Page hero (inner pages) */
.page-hero { background: var(--beige); text-align: center; padding: clamp(48px, 7vw, 84px) 0; }

/* About page */
.intro img { width: 230px; margin: 0 auto 26px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 52px; }
.member { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-align: center; }
.member .photo { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.member .body { padding: 32px 30px 36px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.member h2 { font-family: var(--caps); font-weight: 400; font-size: 34px; letter-spacing: 2px; line-height: 1.1; }
.member .cred { font-family: var(--caps); letter-spacing: 1.5px; color: var(--gold-ink); font-size: 16px; margin-top: 6px; line-height: 1.3; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.tags li { background: var(--beige); border-radius: 999px; padding: 6px 15px; font-size: 15px; }
.member .detail { margin-top: 16px; font-size: 16px; }
.member .actions { margin-top: auto; padding-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Contact page */
.booking { background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-top: 36px; min-height: 640px; }
.message { background: var(--sand); }
.message h2 { font-family: var(--caps); font-weight: 400; font-size: clamp(28px, 3.6vw, 38px); letter-spacing: 2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 30px; }
.form label { display: block; font-family: var(--caps); letter-spacing: 1.5px; font-size: 14px; margin-bottom: 7px; }
.form input, .form textarea { width: 100%; background: var(--cream); border: 1.5px solid rgba(113, 113, 71, .55); border-radius: 12px; color: var(--olive); font: inherit; padding: 13px 16px; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216, 173, 77, .25); }
.form textarea { min-height: 150px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form-note { font-size: 15px; margin-top: 6px; min-height: 1.5em; }

/* Care page */
.care-hero { position: relative; text-align: center; color: var(--cream); padding: calc(var(--header-h) + 80px) 20px 100px; background: var(--brown) url("../assets/img/care-hero.jpg") center / cover no-repeat; }
.care-hero::after { content: ""; position: absolute; inset: 0; background: rgba(87, 66, 35, .5); }
.care-hero > * { position: relative; z-index: 1; }
.care-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 80px); line-height: 1.1; }
.care-hero .script-xl { margin: 18px auto 34px; max-width: 900px; }
.serve { background: var(--beige); }
.serve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.serve-card { background: var(--cream); border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow); }
.serve-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto; border: 4px solid var(--beige); outline: 2px solid var(--gold); }
.serve-card h3 { font-family: var(--caps); font-weight: 400; font-size: 20px; letter-spacing: 1.5px; margin-top: 22px; line-height: 1.3; }
.serve-card .st { font-weight: 700; margin-top: 14px; }
.serve-card li { padding: 3px 0; }
.tiers { background: var(--cream); }
.tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 44px; background: var(--beige); }
.tier:first-child { margin-top: 0; }
.tier .pic { position: relative; background-size: cover; background-position: center; color: var(--cream); display: grid; place-items: center; padding: 48px 34px; text-align: center; min-height: 420px; }
.tier .pic::before { content: ""; position: absolute; inset: 0; background: rgba(87, 66, 35, .5); }
.tier .pic p { position: relative; max-width: 460px; line-height: 1.75; }
.tier.flip .pic { order: 2; }
.tier .panel { padding: 48px clamp(24px, 4vw, 52px); }
.tier .panel h2 { font-family: var(--caps); font-weight: 400; font-size: 36px; letter-spacing: 2px; line-height: 1.1; }
.tier .panel .tagline { color: var(--gold-ink); margin-top: 6px; font-style: italic; }
.tier .panel ul.inc { margin-top: 22px; }
.tier .panel ul.inc li { position: relative; padding-left: 26px; margin-bottom: 8px; line-height: 1.45; }
.tier .panel ul.inc li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.invest { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(113, 113, 71, .3); }
.invest .label { font-family: var(--caps); letter-spacing: 2px; font-size: 14px; color: var(--gold-ink); }
.invest table { border-collapse: collapse; width: 100%; margin-top: 6px; }
.invest th, .invest td { text-align: left; padding: 6px 0; font-weight: 400; }
.invest th { font-family: var(--caps); letter-spacing: 1.5px; font-size: 15px; padding-top: 14px; }
.invest td:last-child { text-align: right; font-family: var(--display); font-size: 22px; }
.tier .panel .btn { margin-top: 26px; }
@media (max-width: 400px) { .tier .panel h2 { font-size: 28px; letter-spacing: 1px; } }

/* Bio pages */
.bio { color: var(--cream); padding: clamp(40px, 6vw, 80px) 0; }
main.bio { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.bio.syd { background: var(--olive); }
.bio.bri { background: var(--gold-btn); }
.bio-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.bio-side { position: sticky; top: calc(var(--header-h) + 24px); }
/* On short screens the photo and links are taller than the window, so they scroll with the page instead of pinning. */
@media (max-height: 860px) { .bio-side { position: static; } }
.bio-side img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.bio-links { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.bio h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.5vw, 62px); line-height: 1.1; }
.bio .cred { font-family: var(--caps); font-size: 22px; letter-spacing: 2px; margin-top: 6px; }
.bio .script-xl { margin: 14px 0 26px; }
.bio .text p { margin-bottom: 20px; }
.bio.syd .text { color: var(--cream); }
.bio .text .st { font-family: var(--caps); letter-spacing: 2px; color: var(--cream); margin-top: 34px; }
.bio .creds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 4px 0 34px; }
.bio .creds li { background: rgba(40, 30, 10, .14); border: 1px solid rgba(255, 254, 252, .3); border-radius: 14px; padding: 12px 16px; line-height: 1.4; font-size: 16px; color: var(--cream); }

/* Running text on the beige and sand sections: plain olive is too light there (3.6:1), the deeper olive is 5.3:1. */
.method, .packages, .rates, .cta, .page-hero, .message, .serve, .journal-head, .journal-home, section[style*="--beige"] { color: var(--olive-deep); }

/* Scroll reveal: only hides content when scripts run (site.js shows it as it scrolls into view) */
@media (scripting: enabled) {
  .reveal { opacity: 0; translate: 0 8px; transition: opacity .3s cubic-bezier(.22, .61, .36, 1), translate .3s cubic-bezier(.22, .61, .36, 1), transform .25s ease, box-shadow .25s ease; }
  .reveal.in { opacity: 1; translate: none; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; translate: none !important; }
  .site-header { position: absolute; }
  .mobile-cta, .menu-toggle, .carousel-nav { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; translate: none; transition: none; }
  .hero::before, .hero .scroll-cue { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 56px; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .fit, .clinic-grid, .about-grid, .tier, .bio-grid { grid-template-columns: 1fr; }
  .tier.flip .pic { order: 0; }
  .tier .pic { min-height: 320px; }
  .bio-side { position: static; max-width: 420px; margin-inline: auto; }
  .portrait { max-width: 420px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .site-header .logo img, .over-hero .site-header:not(.scrolled) .logo img { height: 56px; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--cream); flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; box-shadow: 0 24px 40px -20px rgba(87, 66, 35, .5); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .menu-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn), .over-hero .site-header:not(.scrolled) .site-nav a:not(.btn) { color: var(--olive); font-size: 18px; padding: 14px 16px; }
  .over-hero .site-header:not(.scrolled) .site-nav a.active:not(.btn) { box-shadow: inset 0 0 0 1.5px var(--gold); }
  .site-nav .btn { margin: 10px 0 0; }
  .menu-open .site-header { background: var(--cream) !important; }
  .menu-open .site-header .menu-toggle { color: var(--olive) !important; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .team-grid, .form, .bio .creds { grid-template-columns: 1fr; }
  .fit-card { padding: 32px 24px; border-radius: 30px; }
}
@media (max-width: 560px) {
  .serve-grid, .footer-grid { grid-template-columns: 1fr; }
  .rates li { flex-direction: column; gap: 2px; }
  .rates span { text-align: left; }
  .hero .actions .btn, .cta .btns .btn { width: 100%; }
}

/* Journal (Substack) */
.journal-head { background: var(--beige); }
.journal-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.journal-intro h1 { margin: 10px 0 18px; font-size: clamp(34px, 4.4vw, 54px); }
.subscribe-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.subscribe-card iframe { width: 100%; height: 320px; border: 0; display: block; background: #fff; border-radius: 12px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.post { display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.post:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(87, 66, 35, .55); }
.post-img { aspect-ratio: 16 / 10; background: var(--beige) url("../assets/img/pattern-3.jpg") center / cover; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-family: var(--caps); letter-spacing: 2px; font-size: 13px; color: var(--gold-ink); }
.post-title { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; margin-top: 8px; }
.post-summary { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.post-more { margin-top: auto; padding-top: 18px; font-family: var(--caps); letter-spacing: 2px; font-size: 14px; color: var(--gold-ink); }
.post-more::after { content: " \2192"; }
.post.featured { display: grid; grid-template-columns: 1.2fr 1fr; }
.post.featured .post-img { aspect-ratio: auto; min-height: 360px; position: relative; }
/* The cover fills the card instead of setting its height (portrait covers made the card ~900px tall) */
.post.featured .post-img img { position: absolute; inset: 0; }
.post.featured .post-body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.post.featured .post-title { font-size: clamp(32px, 4vw, 48px); }
.post.featured .post-summary { font-size: 19px; }
.post.featured .post-more { margin-top: 22px; padding-top: 0; }
.journal-actions { margin-top: 48px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.journal-home { background: var(--beige); }
.journal-home .display { margin-top: 6px; }

/* On-site reader */
.reader { width: min(820px, 100% - 24px); max-height: calc(100dvh - 32px); border: 0; padding: 0; border-radius: var(--radius); background: var(--cream); color: var(--olive); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overscroll-behavior: contain; }
.reader::backdrop { background: rgba(87, 66, 35, .6); backdrop-filter: blur(4px); }
.reader-inner { padding: clamp(28px, 6vw, 64px); position: relative; }
.reader-close { position: sticky; top: 14px; float: right; margin: -14px -14px 0 0; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--olive); color: var(--cream); font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.reader-title { font-size: clamp(32px, 5vw, 50px); margin: 10px 0 14px; }
.reader-body { margin-top: 30px; font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.reader-body p, .reader-body ul, .reader-body ol, .reader-body blockquote { margin: 0 0 22px; }
/* Galleries, Instagram posts and post cards rebuilt from Substack's embeds (js/journal.js) */
.embed-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0 0 22px; }
.embed-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.embed-gallery .embed-caption { grid-column: 1 / -1; margin: 0; font-style: italic; font-size: 16px; text-align: center; }
.embed-card { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 12px; border: 1px solid rgba(113, 113, 71, .3); border-radius: 16px; text-decoration: none; background: rgba(220, 219, 207, .35); }
.embed-card img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; flex: none; }
.embed-card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.embed-card-title { font-family: var(--display); font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.embed-card-label { font-family: var(--caps); letter-spacing: 2px; font-size: 13px; color: var(--olive); }
.embed-card-label::after { content: " \2197"; }
.reader-body ul, .reader-body ol { padding-left: 26px; list-style: revert; }
.reader-body li { margin-bottom: 8px; }
.reader-body li p { margin: 0; }
.reader-body h1, .reader-body h2, .reader-body h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.25; margin: 40px 0 14px; }
.reader-body h4, .reader-body h5, .reader-body h6 { font-family: var(--caps); font-weight: 400; letter-spacing: 1.5px; font-size: 19px; color: var(--gold-ink); margin: 32px 0 10px; }
.reader-body a { color: var(--gold-ink); text-underline-offset: 3px; }
.reader-body img { border-radius: 14px; margin: 0 auto; height: auto; }
.reader-body figure { margin: 30px 0; }
.reader-body figcaption { text-align: center; font-size: 15px; font-style: italic; margin-top: 8px; }
.reader-body blockquote, .reader-body .pullquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; font-style: italic; }
.reader-body .button-wrapper { text-align: center; }
.reader-body a.button { display: inline-block; background: var(--gold-btn); color: var(--cream); text-decoration: none; font-family: var(--caps); letter-spacing: 1.5px; font-size: 15px; padding: 14px 28px; border-radius: 999px; }
.reader-body hr { border: 0; border-top: 1px solid var(--beige); margin: 34px 0; }
.reader-foot { border-top: 1px solid var(--beige); margin-top: 40px; padding-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Resources strip */
.resources { background: var(--olive); padding: 0; }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.resource { color: var(--cream); text-decoration: none; text-align: center; padding: 40px 12px; border-left: 1px solid rgba(255, 254, 252, .22); transition: background .25s; }
.resource:first-child { border-left: 0; }
.resource:hover { background: rgba(255, 254, 252, .1); }
.resource .script { font-size: clamp(30px, 3.4vw, 42px); line-height: 1; }

/* Phone: booking button pinned to the bottom of the screen */
.mobile-cta { display: none; }
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) {
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 52px; align-items: center; justify-content: center; background: var(--gold-btn); color: var(--cream); font-family: var(--caps); letter-spacing: 1.5px; font-size: 15px; text-decoration: none; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(87, 66, 35, .7); transform: translateY(90px); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; }
  .show-cta .mobile-cta { transform: none; visibility: visible; transition: transform .35s ease, visibility 0s; }
  .site-footer { padding-bottom: 96px; }
  .journal-intro, .post.featured { grid-template-columns: 1fr; }
  .post.featured .post-img { min-height: 0; aspect-ratio: 16 / 10; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .resource:nth-child(3) { border-left: 0; }
  .resource:nth-child(n+3) { border-top: 1px solid rgba(255, 254, 252, .22); }
}
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* Content published from the admin app (js/content.js) */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid rgba(113, 113, 71, .3); padding: 18px 0; }
.faq summary { font-family: var(--caps); letter-spacing: 1.5px; font-size: 18px; cursor: pointer; }
.faq details p { margin-top: 12px; line-height: 1.7; }
.site-footer .legal .contact-line { display: flex; flex-wrap: wrap; gap: 6px 18px; flex-basis: 100%; }
.site-footer .legal .contact-line a { color: inherit; }

/* Phone tuning for the Journal */
@media (max-width: 620px) {
  .subscribe-card { padding: 8px; }
  .subscribe-card iframe { height: 540px; }
  .reader { width: calc(100% - 16px); max-width: none; max-height: calc(100dvh - 16px); }
  .reader-inner { padding: 26px 22px 32px; }
  .reader-close { margin: -10px -8px 0 8px; }
  .reader-body { font-size: 17px; }
  .reader-foot .btn { width: 100%; }
  .post-body { padding: 20px 22px 24px; }
  .journal-actions .btn { width: 100%; }
  .resource { padding: 30px 8px; }
}

/* The contact form's hidden box: people never see it, so only robots fill it in. */
.form .hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ===== Flow pass: one ink, section joins, quiet motion, onward links, page fade. Appended block; brand tokens unchanged. ===== */
:root {
  --ink: var(--olive-deep);                 /* running text: the brand's own deeper olive */
  --seam: clamp(20px, 4vw, 44px);           /* how far each block rises over the one before it */
  --measure: 60ch;                          /* longest comfortable line of running text */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* A. Ink, focus and button states */
body, .reader, .card .meta, .form input, .form textarea { color: var(--ink); }
.hero .sub, .band .credit, .bio.syd .text { color: var(--cream); }
.form input, .form textarea { border-color: var(--olive); }
.form input:focus, .form textarea:focus { border-color: var(--brown); box-shadow: none; outline: 3px solid var(--brown); outline-offset: 2px; }
:focus-visible { outline-color: var(--brown); }
.hero :focus-visible, .care-hero :focus-visible, .band :focus-visible, .testimonials :focus-visible, .resources :focus-visible,
.onward :focus-visible, .site-footer :focus-visible, .bio :focus-visible,
.over-hero .site-header:not(.scrolled) :focus-visible { outline-color: var(--cream); }
html.menu-open .site-header .site-nav :focus-visible { outline-color: var(--brown); }
.resource:focus-visible { outline-offset: -6px; }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }

/* B. Section joins: every block after the first rises over the one before it with a rounded top edge.
   The block underneath gets the same amount added to its bottom padding, so the space under its content is unchanged. */
.journal-list { background: var(--cream); }
.section { padding-bottom: calc(clamp(64px, 9vw, 112px) + var(--seam)); }
.band { padding-bottom: calc(clamp(56px, 8vw, 90px) + var(--seam)); }
.hero { padding-bottom: calc(90px + var(--seam)); }
.hero .scroll-cue { bottom: calc(26px + var(--seam)); }
.care-hero { padding-bottom: calc(100px + var(--seam)); }
main.bio { padding-bottom: calc(clamp(40px, 6vw, 80px) + var(--seam)); }
.band, .method, .packages, .clinic, .testimonials, .about-home, .journal-home, .resources, .cta,
.serve, .tiers, #team, .journal-list, .message, .onward, .site-footer {
  position: relative; z-index: 1;
  margin-top: calc(-1 * var(--seam));
  border-radius: var(--seam) var(--seam) 0 0;
  box-shadow: 0 -16px 36px -28px rgba(87, 66, 35, .55);
}
.packages::before { border-radius: inherit; }
.resources { overflow: hidden; padding-bottom: var(--seam); }
/* The hero stops short of the screen so the next block shows beneath it */
.hero { min-height: min(86vh, 820px); min-height: min(86svh, 820px); }
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: calc(56px + var(--seam)); }
  .hero .actions { margin-top: 28px; }
  .hero .scroll-cue { display: none; }
}
@media print {
  .band, .method, .packages, .clinic, .testimonials, .about-home, .journal-home, .resources, .cta,
  .serve, .tiers, #team, .journal-list, .message, .onward, .site-footer { margin-top: 0; border-radius: 0; box-shadow: none; }
}

/* C. Motion: small, once, then still */
.hero::before { animation: drift 14s ease-out 1 forwards; }
.hero .scroll-cue { animation: cue 2.2s ease-in-out 3; }
.card:hover, .post:hover { transform: translateY(-3px); }
.post:hover .post-img img { transform: scale(1.03); }
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: none; }
  .card:hover, .post:hover { transform: none; box-shadow: var(--shadow); }
  .post:hover .post-img img, .social a:hover { transform: none; }
}
@keyframes bb-rise { from { opacity: 0; translate: 0 10px; } }
@keyframes bb-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .reader[open] { animation: bb-rise .26s var(--ease); }
  .reader[open]::backdrop { animation: bb-fade .26s ease-out; }
}

/* D. Type size and line length */
@media (min-width: 821px) { body { font-size: 18px; } }
.card .meta, .card .price small, .tags li, .form-note, .reader-body figcaption, .site-footer .legal { font-size: 16px; }
.post-date, .post-more, .embed-card-label, .card .price .label, .invest .label, .form label { font-size: 15px; }
.narrow .lead, .lead.narrow { max-width: var(--measure); margin-inline: auto; }
.intro .lead { text-align: left; line-height: 1.7; }
.message .narrow { width: min(680px, 100% - 40px); }
@media (min-width: 621px) { .reader { width: min(760px, 100% - 24px); } }
h1, h2, h3, .display, .script-xl { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* E. Onward links. One pattern on every page: small text links inside the page, and a "where to next" strip before the closing band or footer
   (same olive + script look as the home resources strip). */
.next-line { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 22px; }
.next-line.center { justify-content: center; }
.more-link { display: inline-block; padding: 10px 0; line-height: 24px; font-family: var(--caps); font-size: 15px; letter-spacing: 1.5px; color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.more-link::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.more-link:hover::after, .more-link:focus-visible::after { transform: translateX(4px); }
.more-link.down::after { content: "\2193"; }
.more-link.down:hover::after, .more-link.down:focus-visible::after { transform: translateY(3px); }
.packages .next-line { margin-top: 44px; }
.clinic .also + .next-line { margin-top: 4px; }
.intro .next-line { max-width: var(--measure); margin-inline: auto; font-size: clamp(18px, 2vw, 21px); } /* same font size as the paragraph above, so the two share one left edge */
.onward { background: var(--olive); color: var(--cream); text-align: center; padding: clamp(36px, 5vw, 56px) 0 calc(clamp(36px, 5vw, 56px) + var(--seam)); }
.onward .eyebrow { color: var(--cream); }
.onward-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(24px, 5vw, 64px); margin-top: 12px; }
.onward-links a { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; color: var(--cream); text-decoration: none; }
.onward-links .script { font-size: clamp(34px, 3.6vw, 44px); line-height: 1.1; }
.onward-links a::after { content: "\2192"; font-family: var(--caps); font-size: 16px; transition: transform .2s ease; }
.onward-links a:hover .script, .onward-links a:focus-visible .script { text-decoration: underline; text-decoration-color: var(--portal); text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.onward-links a:hover::after { transform: translateX(4px); }
@media (max-width: 620px) { .onward-links { flex-direction: column; align-items: center; } }
/* Arriving from another page at a section (about.html#team, index.html#in-clinic) lands there at once; jumps made inside a page still glide.
   site.js adds .glide to <html> at the visitor's first tap, click or key press. Without scripts every jump is simply instant. */
html { scroll-behavior: auto; }
html.glide { scroll-behavior: smooth; }
/* Care page: jump row above the three tiers */
.jump { text-align: center; }
.jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
/* Bio pages: back link above the portrait */
.crumb { margin-bottom: 22px; }
.crumb::before { content: "\2190"; }
/* Journal reader: where to next, between the post and its buttons */
.reader-next { margin-top: 40px; }
.reader-next .next-line { flex-direction: column; align-items: flex-start; margin-top: 4px; }
.reader-title:focus { outline: 0; }

/* F. Images */
img { height: auto; }
.hero::after { background: linear-gradient(180deg, rgba(87, 66, 35, .6) 0%, rgba(87, 66, 35, .48) 45%, rgba(87, 66, 35, .74) 100%); }
.hero .inner { text-shadow: 0 1px 22px rgba(87, 66, 35, .55); }
.hero .btn { text-shadow: none; }
.member .photo[src$="syd.jpg"] { object-position: center 12%; }
.member .photo[src$="bri.jpg"] { object-position: center 30%; }

/* G. Page-to-page fade with the header held still. Browsers without cross-document view transitions ignore this and navigate as before. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
  ::view-transition-group(site-header) { animation-duration: 180ms; }
  .site-header { view-transition-name: site-header; }
}

/* Reduced motion: everything added above, plus the gaps left by the first reduced-motion block. Keep this block last in the file. */
@media (prefers-reduced-motion: reduce) {
  html.glide { scroll-behavior: auto; }
  .hero::before, .hero .scroll-cue { animation: none; }
  .btn:active, .card:hover, .post:hover, .social a:hover, .post:hover .post-img img { transform: none; }
  .more-link:hover::after, .more-link:focus-visible::after, .onward-links a:hover::after { transform: none; }
  .mobile-cta, .show-cta .mobile-cta, .site-nav, .menu-toggle span, .site-header, .site-header .logo img, .btn, .card, .post, .post-img img, .more-link::after, .onward-links a::after { transition: none; }
  .reader[open], .reader[open]::backdrop { animation: none; }
}

/* ---- Layout fixes from the December 2026 site check ---- */
.nowrap { white-space: nowrap; }
h1, h2, .post-title, .reader-title { text-wrap: balance; }
/* Package cards: The Basics has one note under its price where the others have two (no payment-plan line), so it gets
   a blank line of the same height, and the middle card's thicker border is taken off its padding: prices and buttons line up. */
@media (min-width: 981px) { .card .price:not(:has(small + small))::after { content: ""; display: block; height: calc(16px * 1.6); } }
.card.featured { padding-bottom: 26px; }
/* "start with foundations" fits on one line like the other two buttons */
.card .btn { padding-inline: 18px; letter-spacing: 1px; }
/* Our method: one-line and two-line step headings, so the paragraphs under them start level */
@media (min-width: 821px) { .step h3 { min-height: 3.2em; } }
/* Home hero: a little room before the script words */
.hero .sub .script { margin-left: .12em; }
/* Bri's credentials: an odd last box takes the whole row instead of sitting alone */
.bio .creds li:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Journal reader: keep the text clear of the round close button as it scrolls */
@media (min-width: 621px) { .reader-body { padding-inline: 40px; } }
@media (max-width: 980px) {
  /* Footer: the client portal button gets its own full row instead of a half row */
  .footer-grid > :last-child { grid-column: 1 / -1; }
  /* Syd's and Bri's pages: name and story first, then the links */
  .bio-side { display: contents; }
  .bio-side img { max-width: 420px; margin-inline: auto; order: 0; }
  .bio-grid > div { order: 1; }
  .bio-links { order: 2; width: 100%; max-width: 420px; margin: 8px auto 0; }
  /* the story already ends with its own "work with me!" button just above, so the same link is not repeated here */
  .bio-links > a:first-child { display: none; }
}
@media (min-width: 621px) and (max-width: 980px) {
  /* Home page: three latest posts in two columns would leave one alone, so show two there */
  .post-grid[data-journal-latest] > :nth-child(3) { display: none; }
}
@media (max-width: 820px) {
  .post.featured .post-body { padding: 24px 26px 28px; }
}
@media (max-width: 620px) {
  .post.featured .post-body { padding: 20px 22px 24px; }
  .resource { padding-inline: 14px; }
  .resource .script { font-size: 27px; }
}
@media (max-width: 560px) {
  /* Syd's portrait on the home page: the arch outline stays inside the screen */
  .portrait::after { inset: 12px -10px -12px 10px; }
}
