/* PLUMBLINE WEIGHT CARE
   Warm stone and berry. A real person with an example body composition
   scan, how it works, a BMI check that says plainly when medicine is
   usually considered, programs and prices, reviews, FAQ, first visit. */

:root {
  --background: #F6F3EE;
  --card: #FFFFFF;
  --foreground: #231F24;
  --primary-cta: #6D2A50;
  --primary-cta-text: #FFFFFF;
  --secondary-cta: transparent;
  --secondary-cta-text: #231F24;
  --accent: #8E3A64;
  --background-accent: #EFE6E3;
  --radius: 1rem;
  --content-width: 86vw;
  --section-head-size: var(--text-6xl);
  --nav-ink: var(--foreground);
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Young Serif', Georgia, serif;

  --tint: #EFE6E3;
  --line: #E5DCD6;
  --muted: #5B5358;
  --btn-radius: 999px;
  --btn-icon-radius: 999px;
  --card-radius: 22px;
  --nav-radius: 999px;
  --btn-icon-bg: rgba(255, 255, 255, 0.16);
  --nav-bg: rgba(246, 243, 238, 0.95);
  --lead-bg: #6D2A50;
  --footer-bg: #231F24;
  --footer-head: #E6B9CF;
  --star: #8E3A64;
}

@media (width >= 1600px) {
  :root { --content-width: clamp(40rem, 86vw, 94rem); }
}


/* --- Shared base for this batch: resets and the standard blocks ----------- */

.ambient { display: none; }
body { background: var(--background); }
figure, dd, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

.section-head h2,
.grad-head { background: none; color: var(--foreground); }
.section-head h2 { max-width: 17ch; line-height: 1.02; }
.section-head > p { max-width: 54ch; color: var(--muted); }
.section--flush { padding-top: 1rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn { height: 3.1rem; padding-inline: 1.4rem 0.5rem; border-radius: var(--btn-radius, 8px); font-size: var(--text-base); font-weight: 600; }
.btn:not(.btn--arrow) { padding-inline: 1.4rem; }
.btn--arrow .btn__icon { width: 2.05rem; height: 2.05rem; border-radius: var(--btn-icon-radius, 6px); background: var(--btn-icon-bg, rgba(0, 0, 0, 0.18)); color: var(--btn-icon-ink, currentColor); }
.btn--arrow .btn__icon svg { width: 1rem; height: 1rem; }
.primary-button, .secondary-button { box-shadow: none; }
.secondary-button { border: 1px solid var(--foreground); }
.secondary-button.btn--arrow .btn__icon { background: var(--foreground); color: var(--background); }

/* Nav */
.navbar--bar .navbar__bar {
  background: var(--nav-bg, rgba(255, 255, 255, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nav-line, var(--line));
  border-radius: var(--nav-radius, 10px);
}
.navbar__brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; }
.navbar__toggle { border: 1px solid var(--nav-line, var(--line)); background: transparent; }
.navbar--bar .navbar__actions .btn { height: 2.65rem; }

/* Menu open: the panel behind the bar is dark, so the bar goes clear and the
   brand and close button, which the core turns white, stay readable. */
.nav-open .navbar--bar .navbar__bar { background: transparent; border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Long menu words ("Conservatories") in a wide face overran a phone screen. */
@media (width <= 640px) {
  .navbar__panel a { font-size: clamp(1.9rem, 9vw, 3.25rem); }
}

/* Stars */
.stars { display: flex; gap: 0.2rem; color: var(--star, #C98A0B); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.reviews--lead { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.review { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.review blockquote { font-size: var(--text-lg); line-height: 1.55; }
.review__tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.review__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; font-size: var(--text-sm); color: var(--muted); }
.review__who strong { display: block; font-size: var(--text-base); color: var(--foreground); }
.review__who img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; flex: none; }
.review--lead { background: var(--lead-bg, var(--foreground)); border-color: var(--lead-bg, var(--foreground)); color: var(--lead-ink, #fff); }
.review--lead blockquote { font-family: var(--font-heading); font-size: var(--text-3xl); line-height: 1.22; }
.review--lead .review__who, .review--lead .review__tag { color: var(--lead-muted, rgba(255, 255, 255, 0.78)); }
.review--lead .review__who strong { color: var(--lead-ink, #fff); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.faq__intro h2, .faq__body h2 { font-size: var(--section-head-size); line-height: 1.02; max-width: 13ch; }
.faq__intro > p:not(.kicker) { max-width: 40ch; font-size: var(--text-lg); line-height: 1.55; color: var(--muted); }
.faq__body { display: flex; flex-direction: column; gap: 1.2rem; }
.faq__media img { width: 100%; height: 36rem; object-fit: cover; border-radius: var(--card-radius, 10px); }
.accordion__item { border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.accordion__trigger h3 { font-size: var(--text-xl); }
.accordion .badge-num { width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--btn-icon-radius, 6px); }
.accordion .badge-num svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.accordion__item[data-open='true'] .badge-num svg { transform: rotate(45deg); }
.accordion__panel p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.contact__panel { display: flex; flex-direction: column; gap: 0.9rem; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.contact__panel h2 { font-size: var(--text-6xl); line-height: 1.02; max-width: 13ch; }
.contact__panel > p:not(.kicker) { font-size: var(--text-lg); line-height: 1.5; color: var(--muted); margin-bottom: 0.5rem; }
.contact__panel .form button { height: 3.25rem; border-radius: var(--btn-radius, 8px); font-weight: 600; }
.form input, .form select, .form textarea { border-radius: var(--btn-radius, 8px); background: var(--field, #FCFBF8); }
.contact__media { position: relative; overflow: hidden; border-radius: var(--card-radius, 10px); }
.contact__media img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.contact__media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  border-radius: var(--btn-radius, 8px);
  background: var(--card);
  color: var(--foreground);
  font-size: var(--text-sm);
  font-weight: 500;
}
.contact__media figcaption a { display: inline-flex; align-items: center; flex: none; height: 2.6rem; padding-inline: 1rem; border-radius: var(--btn-icon-radius, 6px); background: var(--primary-cta); color: var(--primary-cta-text); font-weight: 600; }

/* Footer */
.site-footer { padding-block: 4.5rem 3rem; border-radius: 0; background: var(--footer-bg, var(--foreground)); color: var(--footer-ink, #fff); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 700; line-height: 1.05; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }
.footer-nav h3 { margin-bottom: 1rem; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--footer-head, rgba(255, 255, 255, 0.75)); }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); color: var(--footer-link, rgba(255, 255, 255, 0.88)); transition: color 0.2s; }
.footer-nav a:hover { color: var(--footer-ink, #fff); }
.footer-legal-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--footer-line, rgba(255, 255, 255, 0.15)); font-size: var(--text-base); color: var(--footer-muted, rgba(255, 255, 255, 0.72)); }
.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 1100px) {
  .reviews--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews--lead .review--lead { grid-column: 1 / -1; }
}

@media (width <= 960px) {
  .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .faq__media img { height: 22rem; }
}

@media (width <= 768px) {
  .faq__intro h2, .faq__body h2 { font-size: var(--text-6xl); }
  .contact__panel { padding: 1.5rem; }
  .contact__panel h2 { font-size: var(--text-6xl); }
  .contact__media img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .contact__media figcaption { position: static; border-radius: 0; flex-wrap: wrap; }
  .review--lead blockquote { font-size: var(--text-2xl); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-brand { font-size: var(--text-4xl); }
}


.hero__title, .section-head h2, .faq__intro h2, .faq__body h2, .contact__panel h2, .footer-brand { font-weight: 400; letter-spacing: -0.02em; }
.navbar__brand { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 400; }
.navbar__brand::before { content: ''; width: 0.95rem; height: 1.5rem; flex: none; background: var(--primary-cta); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 32'%3E%3Cpath d='M10 1v15' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M10 15c-3 4-4.5 7-4.5 9.5a4.5 4.5 0 0 0 9 0C14.5 22 13 19 10 15z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 32'%3E%3Cpath d='M10 1v15' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M10 15c-3 4-4.5 7-4.5 9.5a4.5 4.5 0 0 0 9 0C14.5 22 13 19 10 15z'/%3E%3C/svg%3E") center / contain no-repeat; }
html body.nav-open .navbar .navbar__brand::before { background: currentColor; }
.form textarea { border-radius: 18px; }
.review--lead .stars { color: #E6B9CF; }

/* --- Hero: a real person, and the scan that starts the plan ----------------------- */

.hero { padding-top: 8.25rem; padding-bottom: 4.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.35rem; }
.hero__title { max-width: 12ch; font-size: clamp(3.1rem, 5.6vw, 6.1rem); line-height: 1.02; }
.hero__lede { max-width: 42ch; font-size: var(--text-xl); line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 34rem; margin-top: 0.4rem; border-top: 1px solid var(--line); }
.hero__facts li { padding: 0.9rem 0.8rem 0 0; font-size: var(--text-sm); color: var(--muted); }
.hero__facts b { display: block; font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 400; color: var(--foreground); }
.hero__visual { position: relative; padding: 0 0 3rem 4rem; }
.hero__photo { display: block; width: 100%; height: min(72svh, 40rem); min-height: 27rem; object-fit: cover; object-position: 16% 50%; border-radius: var(--card-radius); }
.scan { position: absolute; left: 0; bottom: 0; width: 19.5rem; padding: 1.1rem 1.2rem 1rem; border-radius: 14px; background: #FFFFFF; box-shadow: 0 30px 60px -30px rgba(35, 31, 36, 0.5); }
.scan__head { display: grid; gap: 0.1rem; margin-bottom: 0.7rem; }
.scan__head span { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.scan__head b { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 400; }
.scan__scale { display: grid; grid-template-columns: 4.3rem 4.3rem repeat(3, minmax(0, 1fr)); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.scan__scale span:nth-child(1) { grid-column: 3; }
.scan__scale span:nth-child(2) { text-align: center; }
.scan__scale span:nth-child(3) { text-align: right; }
.scan__rows { display: grid; gap: 0.5rem; margin-top: 0.3rem; }
.scan__row { display: grid; grid-template-columns: 4.3rem 4.3rem minmax(0, 1fr); align-items: center; font-size: var(--text-sm); }
.scan__row span { color: var(--muted); }
.scan__row b { font-weight: 600; }
.scan__bar { position: relative; height: 0.5rem; border-radius: 999px; background: linear-gradient(90deg, #EFE6E3 0 33%, #D9C7CF 33% 66%, #EFE6E3 66%); }
.scan__bar::after { content: ''; position: absolute; top: 50%; left: var(--v); width: 0.8rem; height: 0.8rem; border: 2px solid #FFFFFF; border-radius: 50%; background: var(--primary-cta); transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(35, 31, 36, 0.2); }
.scan__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin: 0.9rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.scan__facts dt { font-size: 0.7rem; color: var(--muted); }
.scan__facts dd { margin: 0.1rem 0 0; font-family: var(--font-heading); font-size: var(--text-lg); }
.scan__goal { margin-top: 0.8rem; padding: 0.55rem 0.75rem; border-radius: 10px; background: var(--tint); font-size: var(--text-sm); color: var(--muted); }
.scan__goal b { color: var(--foreground); font-weight: 600; }

/* --- How it works ---------------------------------------------------------------------- */

.how { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.how__pic img { width: 100%; height: 34rem; object-fit: cover; object-position: 38% 50%; border-radius: var(--card-radius); }
.how__body { display: flex; flex-direction: column; gap: 1.6rem; }
.how__steps { display: grid; }
.how__steps li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.how__steps li:last-child { border-bottom: 1px solid var(--line); }
.how__steps b { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--tint); font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 400; color: var(--primary-cta); }
.how__steps h3 { font-size: var(--text-xl); font-weight: 600; font-family: var(--font-body); }
.how__steps p { margin-top: 0.25rem; line-height: 1.55; color: var(--muted); }

/* --- BMI check ------------------------------------------------------------------------- */

.section--tint { background: var(--tint); }
.bmi { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1rem; align-items: start; }
.bmi__in, .bmi__out { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.6rem; border-radius: var(--card-radius); background: var(--card); }
.bmi__out { align-items: flex-start; }
.sl { display: grid; gap: 0.1rem; font-weight: 600; }
.sl > span { display: flex; justify-content: space-between; align-items: baseline; }
.sl output { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 400; }
.sl input { width: 100%; height: 2.8rem; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sl input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: #E5DAD6; }
.sl input::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -11px; border: 4px solid #FFFFFF; border-radius: 50%; background: var(--primary-cta); box-shadow: 0 0 0 1px rgba(35, 31, 36, 0.3); -webkit-appearance: none; }
.sl input::-moz-range-track { height: 6px; border-radius: 6px; background: #E5DAD6; }
.sl input::-moz-range-thumb { width: 20px; height: 20px; border: 4px solid #FFFFFF; border-radius: 50%; background: var(--primary-cta); }
.sl input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.tog { display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 0.3rem; font-size: var(--text-sm); font-weight: 500; line-height: 1.45; cursor: pointer; }
.tog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tog__ui { position: relative; width: 2.6rem; height: 1.5rem; flex: none; border-radius: 999px; background: #D8CDC9; transition: background 0.25s; }
.tog__ui::after { content: ''; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #FFFFFF; transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1); }
.tog input:checked + .tog__ui { background: var(--primary-cta); }
.tog input:checked + .tog__ui::after { transform: translateX(1.1rem); }
.tog input:focus-visible + .tog__ui { outline: 3px solid var(--accent); outline-offset: 2px; }
.bmi__fine { margin-top: 0.4rem; font-size: var(--text-xs); line-height: 1.5; color: var(--muted); }
.gauge { display: block; width: 100%; max-width: 26rem; height: auto; margin: 0 auto; }
.gauge .g-tick { font-family: var(--font-body); font-weight: 600; fill: #5B5358; }
.bmi__num { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }
.bmi__num b { font-family: var(--font-heading); font-size: var(--text-6xl); font-weight: 400; line-height: 1; }
.bmi__num span { font-size: var(--text-lg); font-weight: 600; color: var(--accent); }
.bmi__notes { display: grid; gap: 0.55rem; }
.bmi__notes li { position: relative; padding-left: 1.2rem; line-height: 1.5; color: var(--muted); }
.bmi__notes li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); }
.bmi__notes li[hidden] { display: none; }
.bmi__out .btn { margin-top: 0.4rem; }

/* --- Programs -------------------------------------------------------------------------- */

.progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.prog { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--card); }
.prog--main { border-color: var(--primary-cta); box-shadow: inset 0 0 0 1px var(--primary-cta); }
.prog__tag { align-self: flex-start; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--primary-cta); color: #FFFFFF; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.prog h3 { font-size: var(--text-3xl); font-weight: 400; }
.prog__price { color: var(--muted); }
.prog__price b { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 400; line-height: 1; color: var(--foreground); }
.prog__what { font-weight: 600; }
.prog ul { display: grid; gap: 0.5rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.prog li { position: relative; padding-left: 1.5rem; line-height: 1.5; color: var(--muted); }
.prog li::before { content: ''; position: absolute; left: 0.1rem; top: 0.4em; width: 0.8rem; height: 0.45rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.prog__fine { font-size: var(--text-xs); line-height: 1.5; color: var(--muted); }

/* --- Standard blocks --------------------------------------------------------------------- */

.accordion .badge-num { background: var(--primary-cta); color: #FFFFFF; }

/* --- Laptop and below --------------------------------------------------------------------- */

@media (width <= 1100px) {
  .progs { grid-template-columns: minmax(0, 1fr); max-width: 38rem; }
}

@media (width <= 960px) {
  .hero__grid, .how, .bmi { grid-template-columns: minmax(0, 1fr); }
  .how__pic img { height: 22rem; }
}

@media (width <= 768px) {
  .hero { padding-top: 6.75rem; padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.7rem, 12vw, 3.9rem); }
  .hero__lede { font-size: var(--text-lg); }
  .hero__facts b { font-size: var(--text-lg); }
  .hero__visual { padding: 0; }
  .hero__photo { height: 21rem; min-height: 0; }
  .scan { position: relative; width: auto; margin: -3rem 0.8rem 0; }
  .bmi__in, .bmi__out { padding: 1.2rem; }
  .bmi__num b { font-size: var(--text-5xl); }
  .prog { padding: 1.3rem; }
}
