/* TrueWell Naturals — design system.
   Layout: one 1200px column, generous rhythm, warm paper ground; logo slate + leaf green are the only brand hues.
   Motion: short ease-out transitions for UI (≤300ms), slower blur-fade reveals for content, nothing that blocks reading. */
:root {
  --ink: #13202a;
  --text: #3a4750;
  --muted: #6a7680;
  --line: rgba(19, 32, 42, .1);
  --line-strong: rgba(19, 32, 42, .16);
  --paper: #f7f6f2;
  --surface: #ffffff;
  --mist: #eef1ec;
  --slate: #4f6b82;
  --slate-tint: #e9eff3;
  --leaf: #8ac64b;
  --leaf-deep: #2f6a2b;
  --leaf-press: #275a24;
  --leaf-tint: #ecf4e3;
  --wa: #128c7e;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(19, 32, 42, .05), 0 2px 8px -2px rgba(19, 32, 42, .06);
  --shadow: 0 1px 2px rgba(19, 32, 42, .04), 0 12px 32px -12px rgba(19, 32, 42, .18);
  --shadow-lg: 0 2px 4px rgba(19, 32, 42, .04), 0 24px 60px -20px rgba(19, 32, 42, .28);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.02em; }
h3 { font-size: 1.4rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--slate); }
p { margin: 0; }
.wrap { max-width: calc(var(--max) + 48px); margin: 0 auto; padding-inline: 24px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-deep); margin-bottom: 18px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--text); max-width: 34em; }
section { padding-block: 120px; scroll-margin-top: 72px; }
:focus-visible { outline: 2px solid var(--leaf-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--leaf-tint); color: var(--ink); }

/* Buttons: quick press feedback, no bounce */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 .98rem/1 var(--body); letter-spacing: .005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out), box-shadow .2s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--leaf-deep); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(19, 32, 42, .12); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--leaf-press); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 20px -8px rgba(47, 106, 43, .55); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-dark:hover { background: #24343f; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--leaf-deep); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }
@media (hover: hover) { .link:hover { background-size: 100% 1px; } }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(247, 246, 242, .72); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out); }
.top.scrolled { border-bottom-color: var(--line); background: rgba(247, 246, 242, .86); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; transition: height .3s var(--ease-out); }
.top.scrolled .wrap { height: 66px; }
.top .logo img { transition: width .3s var(--ease-out); }
.top.scrolled .logo img { width: 212px; }
.top .logo img { width: 236px; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); padding: 8px 14px; border-radius: 999px; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
@media (hover: hover) { .top nav a:not(.btn):hover { background: rgba(19, 32, 42, .05); } }
.top nav a[aria-current="page"]:not(.btn) { background: rgba(19, 32, 42, .06); }
.top nav .btn { min-height: 42px; padding: 0 18px; margin-left: 10px; font-size: .92rem; }

/* Hero */
.hero { padding-block: 40px 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero .lead { margin-top: 26px; }
.hero .btn-row { margin-top: 36px; }
.hero .note { margin-top: 22px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero .note span { display: inline-flex; align-items: center; gap: 8px; }
.hero .note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.studio { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #efdcd8 url(../images/studio-pink.webp) center / cover; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .6); aspect-ratio: 4 / 5; isolation: isolate; }
.studio::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6%; height: 14%; background: radial-gradient(closest-side, rgba(19, 32, 42, .22), transparent); filter: blur(12px); z-index: 0; }
.studio::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 78%, rgba(236, 212, 207, .5)); z-index: 2; pointer-events: none; }
.studio img { position: absolute; left: 50%; bottom: 0; width: 82%; transform: translateX(-50%); z-index: 1; }
.glass { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 30px -12px rgba(19, 32, 42, .3); font-size: .86rem; line-height: 1.3; color: var(--text); }
.glass strong { display: block; color: var(--ink); font-size: .98rem; }
.glass .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--leaf-tint); color: var(--leaf-deep); flex: none; }
.glass .dot svg { width: 18px; height: 18px; }
.glass.g1 { left: 18px; bottom: 24px; }
.glass.g2 { right: 18px; top: 56%; }

/* Credentials row */
.creds-row { border-block: 1px solid var(--line); padding-block: 22px; }
.creds-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.creds-row li { display: flex; align-items: center; gap: 10px; }
.creds-row li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--leaf); }

/* Section head */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row > p { max-width: 30em; color: var(--text); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; background: var(--surface); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow-sm); }
.step .n { font-family: var(--display); font-size: 1rem; color: var(--leaf-deep); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--leaf-tint); }
.step h3 { margin: 22px 0 10px; }

/* Collections (home) */
.shop-home { background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--paper); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.card .imgwrap { overflow: hidden; aspect-ratio: 3 / 2; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.card .go { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: .95rem; color: var(--leaf-deep); display: inline-flex; gap: 6px; align-items: center; }
.card .go i { font-style: normal; transition: transform .3s var(--ease-out); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .card:hover img { transform: scale(1.04); }
  .card:hover .go i { transform: translateX(4px); }
}
.card.feature { grid-column: span 3; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--leaf-tint); }
.card.feature .imgwrap { aspect-ratio: auto; min-height: 360px; }
.card.feature .body { padding: 48px; justify-content: center; gap: 14px; }
.card.feature h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 0; padding: 0; }
.chips li { background: rgba(255, 255, 255, .8); border-radius: 999px; padding: 5px 12px; font-size: .85rem; color: var(--ink); }
.card.ask { background: var(--ink); }
.card.ask .body { padding: 36px; justify-content: center; }
.card.ask h3, .card.ask p { color: #fff; }
.card.ask .tag { color: rgba(255, 255, 255, .6); }
.card.ask .go { color: var(--leaf); }

.discount { margin-top: 36px; border-radius: var(--r); background: var(--slate-tint); padding: 28px 32px; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offers p { display: flex; align-items: baseline; gap: 12px; color: var(--ink); font-weight: 500; }
.offers .pct { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.offer-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* Medications */
.meds .wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 80px; align-items: center; }
.med-list { list-style: none; margin: 0; padding: 0; }
.med-list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.med-list li:first-child { border-top: 1px solid var(--line); }
.med-list .drug { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.med-list .drug small { display: block; font-family: var(--body); font-size: .88rem; color: var(--muted); margin-top: 2px; }
.med-list .nutrient { font-weight: 600; color: var(--leaf-deep); text-align: right; }
.meds .btn-row { margin-top: 36px; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 18px; }

/* Dark band */
.why { background: var(--ink); color: rgba(255, 255, 255, .72); }
.why h2, .why h3 { color: #fff; }
.why h2 em { color: var(--leaf); }
.why .kicker { color: var(--leaf); }
.why .lead { color: rgba(255, 255, 255, .72); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 56px; }
.why-item { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 26px; }
.why-item h3 { font-size: 1.3rem; margin-bottom: 8px; }

/* About */
.about .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: center; }
.about .studio { aspect-ratio: 4 / 5; }
.about .studio img { width: 70%; }
.about p + p { margin-top: 16px; }
.creds { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; font-size: .95rem; }
.creds li { padding-left: 22px; position: relative; color: var(--ink); }
.creds li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--leaf-deep); }
.sign { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--slate); margin-top: 28px; }

/* Consultation card */
.consult { padding-top: 0; }
.why + .consult { padding-top: 120px; }
.consult-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; background: var(--surface); border-radius: var(--r-lg); padding: 56px; box-shadow: var(--shadow); }
.price { font-family: var(--display); font-size: 4.4rem; color: var(--ink); line-height: 1; margin: 22px 0 8px; letter-spacing: -.03em; }
.price span { font-family: var(--body); font-size: 1rem; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.includes { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.includes li { display: flex; gap: 14px; color: var(--ink); }
.includes svg { flex: none; width: 22px; height: 22px; color: var(--leaf-deep); margin-top: 2px; }

/* FAQ */
.faq .wrap { max-width: calc(820px + 48px); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; color: var(--ink); font-size: 1.06rem; }
summary::-webkit-details-marker { display: none; }
summary .pm { position: relative; width: 14px; height: 14px; flex: none; }
summary .pm::before, summary .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--leaf-deep); transition: transform .3s var(--ease-out); }
summary .pm::after { transform: rotate(90deg); }
details[open] summary .pm::after { transform: rotate(0deg); }
details .ans { padding: 0 0 24px; max-width: 42em; }
@media (hover: hover) { summary:hover { color: var(--leaf-deep); } }

/* Reach */
.reach { background: var(--leaf-tint); }
.reach .wrap { text-align: center; }
.reach .kicker::before { display: none; }
.reach .lead { margin: 18px auto 0; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; text-align: left; }
.way { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: var(--r); padding: 22px 24px; text-decoration: none; border: 0; cursor: pointer; text-align: left; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.way .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--leaf-tint); color: var(--leaf-deep); flex: none; }
.way .ico.wa { background: rgba(18, 140, 126, .12); color: var(--wa); }
.way .ico svg { width: 22px; height: 22px; }
.way strong { display: block; color: var(--ink); font-size: 1.04rem; }
.way span.sub { color: var(--muted); font-size: .92rem; }
@media (hover: hover) { .way:hover { transform: translateY(-2px); box-shadow: var(--shadow); } }
.way:active { transform: scale(.98); }
.way-social { cursor: default; }
.way-social:active { transform: none; }
.way-social .sub a { color: var(--leaf-deep); font-weight: 600; text-decoration: none; }
@media (hover: hover) { .way-social:hover { transform: none; box-shadow: var(--shadow-sm); } .way-social .sub a:hover { text-decoration: underline; } }

/* Footer */
footer { padding-block: 72px 40px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.foot h4 { font: 600 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--ink); }
@media (hover: hover) { .foot a:hover { color: var(--leaf-deep); } }
.foot .btn { margin-top: 4px; }
.legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.legal p:first-child { max-width: 62em; }
.legal a { color: var(--muted); }

/* Page heads */
.page-head { padding-block: 88px 64px; }
.page-head .lead { margin-top: 22px; }
.page-head.tint { background: var(--leaf-tint); }
.crumb { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.crumb a { text-decoration: none; }

/* Shop */
.filters { position: sticky; top: 64px; z-index: 20; background: rgba(247, 246, 242, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.filters .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.filters .wrap::-webkit-scrollbar { display: none; }
.filters a { flex: none; text-decoration: none; font-weight: 500; font-size: .9rem; padding: 8px 16px; border-radius: 999px; color: var(--ink); transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
@media (hover: hover) { .filters a:hover { background: rgba(19, 32, 42, .06); } }
.filters a.active { background: var(--ink); color: #fff; }
.shop-section { padding-block: 88px; scroll-margin-top: 128px; }
.shop-section + .shop-section { border-top: 1px solid var(--line); }
.shop-section .head-row { margin-bottom: 36px; }
.shop-section .head-row h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.product .ph { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.product .ph img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; transition: transform .8s var(--ease-out); }
.product .info { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.product .brand { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.product .name { font-weight: 600; color: var(--ink); line-height: 1.35; }
.product .size { font-size: .86rem; color: var(--muted); }
.product .dose { margin-top: 10px; font-size: .84rem; background: var(--leaf-tint); color: var(--leaf-deep); border-radius: 10px; padding: 7px 11px; font-weight: 600; }
.product .go { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .9rem; color: var(--leaf-deep); }
.product .go i { font-style: normal; display: inline-block; transition: transform .3s var(--ease-out); }
@media (hover: hover) {
  .product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .product:hover .ph img { transform: scale(1.05); }
  .product:hover .go i { transform: translateX(4px); }
}
.protocol-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; background: var(--leaf-tint); border-radius: var(--r-lg); padding: 56px; margin-bottom: 24px; }
.protocol-box h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.protocol-box p { margin-top: 16px; }
.protocol-box .btn-row { margin-top: 28px; }
.protocol-box img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.shop-note { margin-top: 28px; font-size: .95rem; color: var(--text); }

/* Consultations page */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.page-head .consult-card { grid-template-columns: 1fr; padding: 40px; gap: 24px; }
.timeline-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.timeline-steps li { position: relative; padding: 0 0 36px 60px; counter-increment: s; }
.timeline-steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; font-family: var(--display); font-size: 1.1rem; color: var(--leaf-deep); }
.timeline-steps li::after { content: ""; position: absolute; left: 18.5px; top: 40px; bottom: 4px; width: 1px; background: var(--line-strong); }
.timeline-steps li:last-child::after { display: none; }
.timeline-steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.good-for { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.good-for li { background: var(--surface); border-radius: 999px; padding: 10px 18px; font-size: .94rem; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Prose */
.prose { max-width: 700px; margin: 0 auto; font-size: 1.1rem; line-height: 1.78; }
.prose h2 { font-size: 1.75rem; margin: 52px 0 12px; }
.prose p + p, .prose ul, .prose ol { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--leaf-deep); }
.prose .fix { background: var(--leaf-tint); border-radius: var(--r-sm); padding: 14px 18px; margin-top: 14px; font-size: 1rem; }
.post-hero { max-width: 980px; margin: 0 auto; }
.post-hero > img { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-top: 44px; }
.post-meta { display: flex; gap: 12px; align-items: center; margin-top: 24px; color: var(--muted); font-size: .95rem; }
.post-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mist); }
.post-cta { max-width: 700px; margin: 64px auto 0; background: var(--surface); border-radius: var(--r); padding: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.post-cta h3 { font-size: 1.45rem; max-width: 18em; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.post-card .imgwrap { overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-card h3 { font-size: 1.7rem; }
.post-card .date { color: var(--muted); font-size: .9rem; }
@media (hover: hover) { .post-card:hover img { transform: scale(1.04); } }

.faq-groups { max-width: 820px; margin: 0 auto; }
.faq-groups h2 { font-size: 1.7rem; margin: 56px 0 6px; }
.faq-groups h2:first-child { margin-top: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; }
.legal-updated { color: var(--muted); margin-top: 12px; }

/* Floating assistant launcher (desktop) */
.launcher { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease-out), opacity .2s var(--ease-out); }
.launcher img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mist); }
.launcher .live { position: absolute; left: 34px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); border: 2px solid var(--ink); }
.launcher:active { transform: scale(.96); }
.launcher[aria-expanded="true"] { opacity: 0; pointer-events: none; transform: scale(.9); }
/* Keep the footer's last line clear of the floating launcher */
@media (min-width: 961px) { footer { padding-bottom: 112px; } }
/* "Online" dot: soft pulse ring */
.live::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: var(--leaf); opacity: 0; }
.mobile-bar .ask { position: relative; }
.mobile-bar .ask .live { position: absolute; top: 9px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
/* Greeting bubble above the launcher */
.nudge { position: fixed; right: 24px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: flex-start; gap: 4px; max-width: 280px; padding: 12px 8px 12px 16px; border-radius: 18px 18px 6px 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.nudge-text { border: 0; background: none; padding: 0; text-align: left; font: inherit; font-size: .92rem; line-height: 1.45; color: inherit; cursor: pointer; }
.nudge-text strong { color: var(--leaf-deep); }
.nudge-close { flex: none; width: 28px; height: 28px; margin-top: -4px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background .16s var(--ease-out); }
@media (hover: hover) { .nudge-close:hover { background: rgba(19, 32, 42, .06); } }
.nudge-close:active { transform: scale(.92); }
@media (max-width: 960px) { .nudge { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .launcher { animation: launcher-in .5s var(--ease-out) .6s both; }
  .live::after { animation: live-ping 2.4s var(--ease-out) 1.4s infinite; }
  .nudge:not([hidden]) { animation: nudge-in .3s var(--ease-out) both; }
  .nudge.out { animation: nudge-out .2s var(--ease-out) both; }
  .launcher.hello img { animation: hello .9s var(--ease-out); }
  .chat.open .chat-head img { animation: hello .9s var(--ease-out) .15s; }
}
@keyframes launcher-in { from { opacity: 0; transform: translateY(16px) scale(.96); filter: blur(6px); } }
@keyframes live-ping { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes nudge-in { from { opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right; } }
@keyframes nudge-out { to { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes hello { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-10deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(2deg); } }

/* Assistant panel */
.chat { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: var(--surface); border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(19, 32, 42, .45), 0 0 0 1px var(--line); overflow: hidden; transform-origin: bottom right; opacity: 0; transform: scale(.94) translateY(8px); visibility: hidden; transition: opacity .22s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s; }
.chat.open { opacity: 1; transform: none; visibility: visible; transition: opacity .22s var(--ease-out), transform .3s var(--ease-out), visibility 0s; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mist); }
.chat-head .t { flex: 1; min-width: 0; line-height: 1.25; }
.chat-head strong { display: block; color: var(--ink); }
.chat-head small { color: var(--muted); font-size: .8rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(19, 32, 42, .05); display: grid; place-items: center; cursor: pointer; flex: none; transition: background-color .2s var(--ease-out), transform .16s var(--ease-out); }
.icon-btn:active { transform: scale(.92); }
@media (hover: hover) { .icon-btn:hover { background: rgba(19, 32, 42, .1); } }
.icon-btn svg { width: 16px; height: 16px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .95rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; animation: msg-in .3s var(--ease-out) both; }
.msg.bot { background: var(--paper); color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--leaf-deep); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg .btn { margin-top: 10px; min-height: 40px; font-size: .88rem; padding: 0 16px; white-space: normal; }
.msg a:not(.btn) { color: var(--leaf-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.msg.me a:not(.btn) { color: #fff; }
.msg.typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite both; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.suggest button { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 7px 12px; font-size: .84rem; cursor: pointer; color: var(--ink); transition: background-color .2s var(--ease-out), transform .16s var(--ease-out); }
.suggest button:active { transform: scale(.96); }
@media (hover: hover) { .suggest button:hover { background: var(--paper); } }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line-strong); border-radius: 18px; padding: 11px 14px; font: inherit; font-size: .95rem; line-height: 1.4; max-height: 120px; background: var(--paper); color: var(--ink); }
.chat-form textarea:focus { outline: none; border-color: var(--leaf-deep); background: #fff; }
.chat-form .send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--leaf-deep); color: #fff; display: grid; place-items: center; cursor: pointer; align-self: flex-end; transition: transform .16s var(--ease-out), opacity .2s; }
.chat-form .send:disabled { opacity: .4; cursor: default; }
.chat-form .send:active { transform: scale(.92); }
.chat-form .send svg { width: 18px; height: 18px; }
.chat-foot { padding: 0 16px 12px; font-size: .74rem; color: var(--muted); text-align: center; }
.chat-foot a { color: var(--muted); }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* Mobile action bar + bottom sheet menu */
.mobile-bar { display: none; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(19, 32, 42, .4); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s linear .3s; }
.sheet-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out), visibility 0s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: var(--surface); border-radius: 28px 28px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); visibility: hidden; transition: transform .5s var(--ease-drawer), visibility 0s linear .5s; box-shadow: 0 -20px 60px -20px rgba(19, 32, 42, .35); touch-action: none; }
.sheet.open { transform: translateY(0); visibility: visible; transition: transform .5s var(--ease-drawer), visibility 0s; }
.sheet.dragging { transition: none; }
.sheet .handle { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 0 auto 14px; border: 0; padding: 0; cursor: grab; }
.sheet nav { display: grid; }
.sheet nav a { font-family: var(--display); font-size: 1.7rem; color: var(--ink); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), color .2s; }
.sheet nav a[aria-current="page"] { color: var(--leaf-deep); }
.sheet nav a::after { content: "→"; font-family: var(--body); font-size: 1rem; color: var(--muted); }
.sheet.open nav a { opacity: 1; transform: none; }
.sheet.open nav a:nth-child(2) { transition-delay: .03s; } .sheet.open nav a:nth-child(3) { transition-delay: .06s; }
.sheet.open nav a:nth-child(4) { transition-delay: .09s; } .sheet.open nav a:nth-child(5) { transition-delay: .12s; }
.sheet.open nav a:nth-child(6) { transition-delay: .15s; } .sheet.open nav a:nth-child(7) { transition-delay: .18s; }
.sheet .btn-row { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; }

/* Scroll reveal: blur-fade up. Only applied when JS runs and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal], .motion [data-stagger] > * { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
  .motion [data-reveal].in, .motion [data-stagger].in > * { opacity: 1; transform: none; }
  .motion [data-hero] > * { animation: rise .9s var(--ease-out) both; }
  .motion [data-hero] > :nth-child(2) { animation-delay: .06s; } .motion [data-hero] > :nth-child(3) { animation-delay: .12s; }
  .motion [data-hero] > :nth-child(4) { animation-delay: .18s; } .motion [data-hero] > :nth-child(5) { animation-delay: .24s; }
  .motion .hero .studio { animation: settle 1.2s var(--ease-out) both; }
  .motion .hero .studio img { animation: rise-img 1.3s .1s var(--ease-out) both; }
  .motion .hero .glass { animation: rise .8s var(--ease-out) both; }
  .motion .hero .glass.g2 { animation-delay: .55s; } .motion .hero .glass.g1 { animation-delay: .7s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rise-img { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 960px) {
  section { padding-block: 88px; }
  .top nav { display: none; }
  .hero .wrap, .meds .wrap, .about .wrap, .consult-card, .split, .protocol-box { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; }
  .hero .studio { max-width: 460px; width: 100%; margin: 0 auto; }
  .steps, .cards, .ways { grid-template-columns: 1fr 1fr; }
  .card.feature { grid-column: span 2; grid-template-columns: 1fr; }
  .card.feature .imgwrap { min-height: 0; aspect-ratio: 16 / 9; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
  .about .studio { max-width: 420px; }
  .meds .wrap, .about .wrap { gap: 48px; }
  .launcher { display: none; }
  body { padding-bottom: 84px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: .95rem; }
  .mobile-bar .menu-btn { width: 48px; height: 48px; padding: 0; border-radius: 50%; background: rgba(19, 32, 42, .06); border: 0; display: grid; place-items: center; cursor: pointer; transition: transform .16s var(--ease-out); }
  .mobile-bar .menu-btn:active { transform: scale(.92); }
  .mobile-bar .menu-btn svg { width: 20px; height: 20px; }
  .chat { right: 0; left: 0; bottom: 0; width: 100%; height: min(86dvh, 720px); border-radius: 24px 24px 0 0; transform-origin: bottom center; transform: translateY(24px); }
  .chat.open { transform: none; }
  .filters { top: 64px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding-block: 72px; }
  .top .wrap { height: 64px; }
  .top .logo img, .top.scrolled .logo img { width: 200px; }
  .steps, .cards, .ways, .why-grid, .creds, .foot, .posts, .contact-cards, .offers { grid-template-columns: 1fr; }
  .card.feature { grid-column: auto; }
  .card.feature .body, .consult-card, .protocol-box { padding: 28px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product .ph img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
  .product .info { padding: 2px 14px 14px; }
  .product .name { font-size: .94rem; }
  .med-list li { grid-template-columns: 1fr; gap: 4px; }
  .med-list .nutrient { text-align: left; }
  .creds-row ul { justify-content: flex-start; }
  .glass { padding: 10px 12px; font-size: .8rem; }
  .glass .dot { width: 28px; height: 28px; }
  .glass.g1 { left: 10px; bottom: 14px; } .glass.g2 { right: 10px; top: 58%; }
  .page-head { padding-block: 56px 44px; }
  .shop-section { padding-block: 64px; }
  .price { font-size: 3.6rem; }
  .discount { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Brand marquee: two rows drifting in opposite directions; pauses on hover; static when motion is reduced */
.brands-band { padding-block: 64px 72px; overflow: hidden; }
.brands-band .wrap { text-align: center; }
.brands-band .kicker::before { display: none; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 20px; }
.marquee .track { display: flex; gap: 64px; width: max-content; list-style: none; margin: 0; padding: 4px 0; animation: marquee 60s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; animation-duration: 70s; }
.marquee li { flex: none; display: grid; place-items: center; height: 72px; }
.marquee img { width: 150px; height: 64px; object-fit: contain; }
@media (hover: hover) { .marquee:hover .track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 12px; }
  .marquee li[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) { .marquee .track { gap: 40px; } .marquee img { width: 120px; height: 52px; } .brands-band { padding-block: 48px 56px; } }

/* ==========================================================================
   Luminous layer (Oct 2026): ambient colour, glass, layered "bezel" surfaces.
   One light source from the top; shadows carry a green-teal tint, never black.
   ========================================================================== */
:root {
  --teal: #2b7f86;
  --grad-brand: linear-gradient(120deg, #2f6a2b 0%, #3c8a4a 42%, #2b7f86 100%);
  --grad-text: linear-gradient(100deg, #2f6a2b 0%, #3d9468 45%, #4f6b82 100%);
  --grad-text-light: linear-gradient(100deg, #c9f29b 0%, #8fe0c0 50%, #b9d9f2 100%);
  --grad-deep: radial-gradient(70% 90% at 0% 0%, rgba(138, 198, 75, .5), transparent 62%), radial-gradient(60% 80% at 100% 0%, rgba(43, 127, 134, .65), transparent 60%), radial-gradient(70% 60% at 70% 115%, rgba(236, 178, 160, .35), transparent 62%), linear-gradient(140deg, #163a28 0%, #1b4a39 48%, #15323d 100%);
  --tint-shadow: 0 30px 60px -32px rgba(26, 72, 54, .42);
  --bezel: 0 0 0 6px rgba(255, 255, 255, .55), 0 0 0 7px rgba(19, 32, 42, .05);
  --spring: cubic-bezier(.32, .72, 0, 1);
}
body { background: #f6f5f0; }
p { text-wrap: pretty; }

/* Ambient mesh behind everything + fine grain on top */
body::before { content: ""; position: fixed; inset: -18vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 10% 6%, rgba(138, 198, 75, .30), transparent 62%),
    radial-gradient(36vmax 30vmax at 92% 10%, rgba(240, 186, 170, .40), transparent 64%),
    radial-gradient(42vmax 34vmax at 74% 82%, rgba(122, 172, 210, .30), transparent 62%),
    radial-gradient(30vmax 26vmax at 16% 78%, rgba(78, 170, 140, .22), transparent 62%);
}
body::after { content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: drift 36s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
}
@keyframes drift { to { transform: translate3d(-3vmax, 2vmax, 0) rotate(8deg) scale(1.06); } }

/* Gradient italics */
h1 em, h2 em { color: var(--teal); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }

/* Floating glass header */
.top { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding-top: 12px; }
.top.scrolled { background: transparent; border: 0; }
.top .wrap { width: calc(100% - 32px); max-width: 1200px; height: 64px; padding: 0 8px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .6); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px rgba(19, 32, 42, .06), 0 14px 40px -20px rgba(26, 72, 54, .4); transition: height .3s var(--ease-out), background-color .3s var(--ease-out); }
.top.scrolled .wrap { height: 58px; background: rgba(255, 255, 255, .74); }
.top .logo img { width: 224px; }
.top.scrolled .logo img { width: 204px; }
.top nav .btn { min-height: 46px; margin-left: 8px; }
.top nav a[aria-current="page"]:not(.btn) { background: rgba(47, 106, 43, .1); color: var(--leaf-deep); }

/* Buttons: gradient primary with a nested arrow "island", glass secondary */
.btn { transition: background-position .6s var(--spring), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--spring), box-shadow .3s var(--ease-out); }
.btn-primary { background: var(--grad-brand); background-size: 180% 100%; background-position: 0 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 28px -14px rgba(47, 106, 43, .75); }
.btn-ghost { background: rgba(255, 255, 255, .62); border-color: rgba(19, 32, 42, .1); box-shadow: inset 0 1px 0 #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .45); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn .arr { width: 32px; height: 32px; margin: 0 -16px 0 4px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); transition: transform .4s var(--spring), background-color .2s; }
.btn-light .arr, .btn-ghost .arr { background: rgba(19, 32, 42, .07); }
.btn .arr svg { width: 15px; height: 15px; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--grad-brand); background-size: 180% 100%; background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 18px 36px -14px rgba(43, 127, 134, .7); transform: translateY(-1px); }
  .btn:hover .arr { transform: translate(3px, -2px) scale(1.06); }
  .btn-ghost:hover { border-color: rgba(19, 32, 42, .28); background: #fff; }
  .btn-light:hover { transform: translateY(-1px); }
  .btn-glass:hover { background: rgba(255, 255, 255, .18); }
}
.btn:active { transform: scale(.97); }

/* Hero */
.hero { position: relative; padding-top: 56px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.03em; line-height: 1.02; }
.hero .studio::before { display: none; }
.studio { box-shadow: var(--bezel), 0 50px 90px -40px rgba(26, 72, 54, .5), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.glass { background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(19, 32, 42, .04), 0 18px 40px -18px rgba(26, 72, 54, .45); }
.glass .dot { background: var(--grad-brand); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .glass.g1 { animation: float 7s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
  .glass.g2 { animation: float 8s cubic-bezier(.45, 0, .55, 1) -3s infinite alternate; }
}
@keyframes float { to { transform: translateY(-8px); } }
.creds-row { border-color: rgba(19, 32, 42, .07); background: rgba(255, 255, 255, .35); }

/* Layered surfaces */
.card, .step, .consult-card, .way, .post-cta, .discount { box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 rgba(255, 255, 255, .9); }
.shop-home, .reach, .page-head.tint { background: transparent; }
.cards { gap: 28px; }
.steps { gap: 28px; }
.ways { gap: 24px; }
.card { background: rgba(255, 255, 255, .82); border-radius: 26px; }
.card .imgwrap { margin: 8px 8px 0; border-radius: 20px; }
.card.feature { background: linear-gradient(135deg, rgba(236, 244, 227, .95), rgba(225, 240, 240, .9)); }
.card.feature .imgwrap { margin: 8px; }
.card.ask { background: var(--grad-deep); }
@media (hover: hover) { .card:hover { transform: translateY(-6px); box-shadow: var(--bezel), 0 40px 70px -34px rgba(26, 72, 54, .5), inset 0 1px 0 #fff; } }
.step { background: rgba(255, 255, 255, .78); border-radius: 26px; }
.step .n { background: var(--grad-brand); color: #fff; }
.discount { background: linear-gradient(120deg, rgba(255, 255, 255, .85), rgba(233, 243, 236, .85) 55%, rgba(231, 238, 246, .85)); border-radius: 26px; margin-top: 48px; }
.offers .pct { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 3rem; }
.consult-card { background: rgba(255, 255, 255, .84); }
.way { background: rgba(255, 255, 255, .8); }
.way .ico { background: var(--grad-brand); color: #fff; }
.way .ico.wa { background: linear-gradient(135deg, #1fa08f, #0e7a6e); color: #fff; }

/* Deep gradient band (was a flat dark section) */
.why { background: transparent; color: rgba(255, 255, 255, .74); padding-block: 40px; }
.why .wrap { background: var(--grad-deep); border-radius: 40px; padding: 88px 72px; box-shadow: var(--bezel), 0 50px 100px -50px rgba(21, 58, 44, .7), inset 0 1px 0 rgba(255, 255, 255, .12); }
.why h2 em, .e7 h2 em { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; }

/* Shop page */
.shop-head { padding-block: 72px 56px; }
.shop-head .btn-row { margin-top: 32px; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.perks li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(19, 32, 42, .06); font-size: .92rem; color: var(--text); }
.perks strong { color: var(--leaf-deep); }
.filters { top: 84px; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.filters .wrap { pointer-events: auto; width: calc(100% - 32px); max-width: 1200px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .62); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(19, 32, 42, .06), 0 14px 40px -24px rgba(26, 72, 54, .4); }
.filters a.active { background: var(--grad-brand); }
.filters a.ext { color: var(--leaf-deep); font-weight: 600; margin-left: auto; }
.shop-section { scroll-margin-top: 150px; padding-block: 72px; }
.shop-section + .shop-section { border-top: 0; }

/* Product card: bezel shell, tinted photo well, details aligned on a grid */
.products { gap: 28px; }
.product { position: relative; background: rgba(255, 255, 255, .88); border-radius: 26px; overflow: visible; box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; transition: transform .5s var(--spring), box-shadow .5s var(--spring); }
.product .ph { margin: 8px 8px 0; border-radius: 20px; background: radial-gradient(120% 90% at 50% 30%, #fff 30%, var(--tint, #edf3ea) 100%); overflow: hidden; }
.product .ph img { inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); mix-blend-mode: multiply; transition: transform .7s var(--spring); }
.product .num { position: absolute; top: 12px; left: 14px; z-index: 1; font-family: var(--display); font-size: 1.05rem; color: var(--leaf-deep); letter-spacing: .02em; }
.product .info { padding: 16px 18px 18px; gap: 4px; }
.product .name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.product .dose { display: flex; flex-direction: column; gap: 1px; margin-top: 12px; padding: 9px 12px; border-radius: 14px; background: linear-gradient(120deg, rgba(47, 106, 43, .09), rgba(43, 127, 134, .09)); color: var(--ink); font-weight: 600; font-size: .86rem; }
.product .dose span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-deep); }
.product .go { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.product .go i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(47, 106, 43, .1); transition: transform .4s var(--spring), background-color .3s, color .3s; }
@media (hover: hover) {
  .product:hover { transform: translateY(-6px); box-shadow: var(--bezel), 0 44px 70px -34px rgba(26, 72, 54, .5), inset 0 1px 0 #fff; }
  .product:hover .ph img { transform: scale(1.06) translateY(-2px); }
  .product:hover .go i { transform: translateX(3px); background: var(--leaf-deep); color: #fff; }
}
.product:active { transform: scale(.98); }

/* Essential Seven: its own deep, luminous panel */
.e7 { padding-block: 48px 72px; }
.e7-panel { position: relative; border-radius: 44px; padding: 64px; background: var(--grad-deep); color: rgba(255, 255, 255, .78); box-shadow: var(--bezel), 0 60px 120px -60px rgba(21, 58, 44, .8), inset 0 1px 0 rgba(255, 255, 255, .14); overflow: hidden; isolation: isolate; }
.e7-panel::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 242, 155, .35), transparent 65%); z-index: -1; }
.e7-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.e7 .kicker { color: #c9f29b; }
.e7 h2 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -.03em; }
.e7-head .btn-row { margin-top: 24px; }
.e7-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.e7 .product { --tint: #e8f3e0; background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 0 0 7px rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .5); }
.e7-cta, .more-tile { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 26px; text-decoration: none; transition: transform .5s var(--spring), background-color .3s; }
.e7-cta { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .75); }
.mt-k { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.e7-cta .mt-k { color: #c9f29b; }
.mt-h { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; color: var(--ink); }
.e7-cta .mt-h { color: #fff; }
.mt-p { font-size: .94rem; }
.mt-go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.mt-go .arr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-left: 8px; background: rgba(255, 255, 255, .16); transition: transform .4s var(--spring); }
.mt-go .arr svg { width: 14px; height: 14px; }
.e7-cta .mt-go { color: #fff; }
@media (hover: hover) {
  .e7-cta:hover { background: rgba(255, 255, 255, .14); transform: translateY(-6px); }
  .e7-cta:hover .arr, .more-tile:hover .arr { transform: translate(3px, -2px); }
  .more-tile:hover { transform: translateY(-6px); }
}

/* Category shelves: swipe on touch, arrow buttons on desktop, ends in the dispensary */
.shelf-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 32px; }
.shelf-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.shelf-head h2::before { content: ""; display: block; width: 44px; height: 6px; border-radius: 3px; margin-bottom: 18px; background: linear-gradient(90deg, var(--tint), color-mix(in srgb, var(--tint) 40%, var(--leaf-deep))); }
.shelf-head p { margin-top: 10px; max-width: 34em; }
.shelf-tools { display: flex; align-items: center; gap: 16px; }
.more-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: .95rem; color: var(--leaf-deep); text-decoration: none; }
.more-link .arr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-left: 8px; background: rgba(47, 106, 43, .1); transition: transform .4s var(--spring); }
.more-link .arr svg { width: 13px; height: 13px; }
@media (hover: hover) { .more-link:hover .arr { transform: translate(3px, -2px); } }
.shelf-nav { display: flex; gap: 8px; }
.shelf-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .8); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(19, 32, 42, .08), 0 8px 20px -12px rgba(26, 72, 54, .4); transition: opacity .2s var(--ease-out), transform .2s var(--spring); }
.shelf-nav button svg { width: 18px; height: 18px; }
.shelf-nav button:disabled { opacity: .35; cursor: default; }
.shelf-nav button:not(:disabled):active { transform: scale(.92); }
.shelf-nav[hidden] { display: none; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 28px) / 4); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 8px; padding: 10px 8px 40px; margin: -10px -8px -24px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.shelf::-webkit-scrollbar { display: none; }
.shelf > * { scroll-snap-align: start; }
.shelf:focus-visible { outline-offset: -2px; }
.more-tile { background: linear-gradient(160deg, #fff 0%, var(--tint) 100%); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; color: var(--text); }
.more-tile .mt-k { color: var(--leaf-deep); }
.more-tile .mt-go { color: var(--leaf-deep); }
.more-tile .mt-go .arr { background: var(--grad-brand); color: #fff; }

/* Dispensary band */
.dispensary { padding-block: 48px 96px; }
.disp-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 72px; border-radius: 44px; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 90% at 0% 0%, rgba(138, 198, 75, .35), transparent 60%), radial-gradient(60% 90% at 100% 100%, rgba(122, 172, 210, .45), transparent 60%), radial-gradient(50% 70% at 85% 10%, rgba(240, 186, 170, .5), transparent 60%), rgba(255, 255, 255, .7);
  box-shadow: var(--bezel), 0 50px 100px -50px rgba(26, 72, 54, .45), inset 0 1px 0 #fff; }
.disp-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.disp-copy p:not(.kicker) { margin-top: 20px; max-width: 32em; }
.disp-copy .btn-row { margin-top: 32px; }
.disp-stack { position: relative; height: 380px; }
.disp-stack .tile { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 28px; background: radial-gradient(120% 90% at 50% 30%, #fff 35%, #eef3ea 100%); box-shadow: var(--bezel), 0 30px 60px -28px rgba(26, 72, 54, .5); display: grid; place-items: center; }
.disp-stack .tile img { width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.disp-stack .t1 { left: 4%; top: 6%; transform: rotate(-7deg); }
.disp-stack .t2 { right: 4%; top: 0; transform: rotate(5deg); background: radial-gradient(120% 90% at 50% 30%, #fff 35%, #ddebf7 100%); }
.disp-stack .t3 { left: 14%; bottom: 0; transform: rotate(4deg); background: radial-gradient(120% 90% at 50% 30%, #fff 35%, #f7e2e8 100%); }
.disp-stack .t4 { right: 10%; bottom: 8%; width: 40%; transform: rotate(-4deg); background: radial-gradient(120% 90% at 50% 30%, #fff 35%, #fbecd2 100%); }
.disp-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); z-index: 2; padding: 14px 20px; border-radius: 20px; background: var(--grad-brand); color: #fff; font-weight: 600; font-size: .9rem; text-align: center; line-height: 1.1; box-shadow: 0 20px 40px -16px rgba(43, 127, 134, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.disp-badge strong { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .disp-panel.in .tile { animation: tile-in .9s var(--spring) both; }
  .disp-panel.in .t2 { animation-delay: .08s; } .disp-panel.in .t3 { animation-delay: .16s; } .disp-panel.in .t4 { animation-delay: .24s; }
}
@keyframes tile-in { from { opacity: 0; translate: 0 30px; scale: .92; } }

/* Spotlight that follows the pointer on cards */
@media (hover: hover) {
  .product::after, .card::after, .more-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 60%); mix-blend-mode: soft-light; }
  .product:hover::after, .card:hover::after, .more-tile:hover::after { opacity: 1; }
}
.more-tile { position: relative; }

@media (max-width: 960px) {
  .top .wrap { height: 58px; padding-left: 18px; }
  .filters { top: 78px; }
  .e7-panel, .disp-panel { padding: 44px 32px; border-radius: 36px; }
  .e7-head, .disp-panel { grid-template-columns: 1fr; }
  .e7-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf { grid-auto-columns: calc((100% - 28px) / 2.3); }
  .why .wrap { padding: 64px 36px; }
  .disp-stack { height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .top .wrap { width: calc(100% - 24px); height: 56px; }
  .top .logo img, .top.scrolled .logo img { width: 186px; }
  .filters { top: 72px; }
  .filters .wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .e7 { padding-block: 24px 48px; }
  .e7-panel, .disp-panel { padding: 32px 16px 20px; border-radius: 30px; margin-inline: -8px; }
  .e7-head { gap: 16px; margin-bottom: 28px; padding-inline: 6px; }
  .e7-grid { gap: 14px; }
  .e7-cta { grid-column: span 2; }
  .shelf { grid-auto-columns: 68%; gap: 18px; }
  .shelf-head { margin-bottom: 20px; }
  .shelf-tools { width: 100%; justify-content: space-between; }
  .shelf-nav { display: none; }
  .products { gap: 18px; }
  .product .info { padding: 12px 12px 14px; }
  .product .dose { padding: 8px 10px; font-size: .8rem; }
  .product .go span { font-size: .84rem; }
  .why { padding-block: 16px; }
  .why .wrap { padding: 48px 22px; border-radius: 30px; width: calc(100% - 16px); }
  .disp-copy { padding-inline: 6px; }
  .disp-stack { height: 240px; }
  .disp-stack .tile { border-radius: 20px; }
  .disp-badge strong { font-size: 1.7rem; }
  .card, .product, .more-tile { --bezel: 0 0 0 4px rgba(255, 255, 255, .55), 0 0 0 5px rgba(19, 32, 42, .05); }
}

/* Refinements */
.product .name { min-height: 0; }
.product .dose { margin-top: auto; }
.product .dose + .go { margin-top: 0; padding-top: 14px; }
.product .size + .go { margin-top: auto; }
.product .info > .size { margin-bottom: 14px; }
.shelf { padding-bottom: 72px; margin-bottom: -56px; }
.filters a { padding: 8px 14px; }
.shop-head .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.e7-peek { display: grid; gap: 18px; padding: 18px; border-radius: 34px; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, .62); box-shadow: var(--bezel), 0 40px 80px -40px rgba(26, 72, 54, .45), inset 0 1px 0 #fff; transform: rotate(2deg); transition: transform .6s var(--spring); }
.peek-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.peek-grid > span { min-width: 0; overflow: hidden; }
.e7-peek { min-width: 0; }
.peek-grid > span { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 30%, #fff 35%, #e8f3e0 100%); box-shadow: inset 0 0 0 1px rgba(19, 32, 42, .05); }
.peek-grid img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.peek-grid .peek-n { background: var(--grad-deep); color: #fff; font-family: var(--display); font-size: 2.4rem; }
.peek-cap { display: flex; flex-direction: column; gap: 2px; padding: 0 6px 4px; font-size: .92rem; }
.peek-cap strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--ink); }
.peek-cap i { font-style: normal; color: var(--leaf-deep); font-weight: 600; display: inline-block; transition: transform .4s var(--spring); }
@media (hover: hover) { .e7-peek:hover { transform: rotate(0deg) translateY(-4px); } .e7-peek:hover .peek-cap i { transform: translateX(4px); } }
@media (max-width: 960px) { .shop-head .wrap { grid-template-columns: 1fr; } .e7-peek { display: none; } }
.shelf { padding-inline: 32px; margin-inline: -32px; scroll-padding-inline: 32px; grid-auto-columns: calc((100% - 64px - 3 * 28px) / 4); }
@media (max-width: 960px) { .shelf { padding-inline: 24px; margin-inline: -24px; scroll-padding-inline: 24px; grid-auto-columns: calc((100% - 48px - 28px) / 2.3); } }
@media (max-width: 640px) { .shelf { grid-auto-columns: 68%; } }
.peek-cap { display: block; }
.peek-cap strong { display: block; }
.launcher, .mobile-bar .btn-dark { background: var(--grad-deep); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 40px -16px rgba(21, 58, 44, .7); }
.launcher .live { border-color: #1b4a39; }
.chat { box-shadow: var(--bezel), 0 40px 90px -30px rgba(21, 58, 44, .55); }
.chat-form .send { background: var(--grad-brand); }
.msg.me { background: var(--grad-brand); }

/* Articles: product row + sources */
.post-products { max-width: 980px; margin: 72px auto 0; }
.post-products .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-sources { max-width: 700px; margin: 48px auto 0; border-bottom: 0; border-top: 1px solid var(--line); }
.post-sources summary { font-size: .95rem; }
.post-sources ol { margin: 0 0 8px; padding-left: 1.2em; font-size: .88rem; color: var(--muted); display: grid; gap: 8px; }
.post-sources a { color: var(--muted); }
@media (hover: hover) { .post-sources a:hover { color: var(--leaf-deep); } }
.post-cta { max-width: 980px; }
@media (max-width: 640px) { .post-products .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-products .more-tile { grid-column: span 2; } }

/* Article navigation */
.post-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.post-top .crumb { margin: 0; }
.back-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px 0 10px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(19, 32, 42, .08), 0 8px 20px -14px rgba(26, 72, 54, .4); transition: transform .2s var(--spring), background-color .2s var(--ease-out); }
.back-pill svg { width: 18px; height: 18px; transition: transform .3s var(--spring); }
@media (hover: hover) { .back-pill:hover { background: #fff; } .back-pill:hover svg { transform: translateX(-3px); } }
.back-pill:active { transform: scale(.97); }
.keep-reading { max-width: 980px; margin: 72px auto 0; }
.kr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.read-next { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 10px 22px 10px 10px; border-radius: 24px; text-decoration: none; background: rgba(255, 255, 255, .8); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; transition: transform .5s var(--spring); }
.read-next.next { grid-template-columns: 1fr 120px; padding: 10px 10px 10px 22px; text-align: right; }
.read-next.next .rn-img { order: 2; }
.rn-img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.rn-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--spring); }
.rn-text { display: grid; gap: 4px; }
.rn-k { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-deep); }
.read-next.prev .rn-k::before { content: "← "; }
.read-next.next .rn-k::after { content: " →"; }
.rn-t { font-family: var(--display); font-size: 1.2rem; line-height: 1.2; color: var(--ink); }
@media (hover: hover) { .read-next:hover { transform: translateY(-4px); } .read-next:hover img { transform: scale(1.05); } }
.read-next:active { transform: scale(.98); }
.kr-all { margin-top: 28px; text-align: center; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 35; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@media (max-width: 640px) {
  .kr-grid { grid-template-columns: 1fr; gap: 16px; }
  .read-next, .read-next.next { grid-template-columns: 96px 1fr; padding: 8px 16px 8px 8px; text-align: left; }
  .read-next.next .rn-img { order: 0; }
  .rn-t { font-size: 1.05rem; }
}

/* ---------- Shop: foundation (Essential Seven) vs targeted goals ---------- */
.step-tag { display: inline-flex; flex: none; white-space: nowrap; align-items: center; padding: 4px 10px; margin-right: 4px; border-radius: 999px; background: #c9f29b; color: #163a28; font-size: .7rem; letter-spacing: .12em; }
.step-tag-dark { background: var(--ink); color: #fff; }
.e7 .kicker::before, .goals .kicker::before { display: none; }
.e7-principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: -16px 0 36px; padding: 0; }
.e7-principles li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 18px; font-size: .9rem; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.e7-principles strong { color: #fff; font-weight: 600; font-size: .98rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; row-gap: 0; }
.pillar { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 12px; align-content: start; margin-bottom: 22px; padding: 24px 22px 18px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 60px -36px rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .5s var(--spring), background-color .3s; }
.pl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pl-n { font-family: var(--display); font-size: 2.4rem; line-height: 1; background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-tag { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #163a28; background: #c9f29b; padding: 5px 10px; border-radius: 999px; }
.pillar h3 { color: #fff; font-family: var(--display); font-size: 1.42rem; line-height: 1.15; letter-spacing: -.01em; }
.pl-why { font-size: .93rem; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.pl-basis { font-size: .82rem; line-height: 1.5; color: rgba(255, 255, 255, .62); padding-left: 12px; border-left: 2px solid rgba(201, 242, 155, .55); }
.pl-basis span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #c9f29b; margin-bottom: 2px; }
.pl-foot { display: flex; flex-direction: column; padding-top: 6px; }
.pl-basis { align-self: start; }
.pl-lab { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 8px; }
.pl-ex { position: relative; flex: 1; min-height: 108px; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 40px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .94); color: var(--ink); text-decoration: none; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); transition: transform .4s var(--spring), box-shadow .3s; }
.pl-img { width: 56px; height: 56px; border-radius: 12px; background: #eef4e6; display: grid; place-items: center; overflow: hidden; }
.pl-img img { width: 50px; height: 50px; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--spring); }
.pl-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pl-txt small { font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.pl-txt strong { font-size: .88rem; font-weight: 600; margin-top: 1px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pl-txt em { font-style: normal; font-size: .78rem; color: var(--leaf-deep); font-weight: 600; margin-top: 4px; }
.pl-ex i { position: absolute; right: 10px; top: 50%; margin-top: -14px; font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf-tint); color: var(--leaf-deep); transition: transform .3s var(--ease-out), background-color .3s, color .3s; }
.pl-ex:active { transform: scale(.97); }
@media (hover: hover) {
  .pillar:hover { transform: translateY(-6px); }
  .pl-ex:hover { box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .55); }
  .pl-ex:hover i { background: var(--leaf-deep); color: #fff; transform: translateX(3px); }
  .pl-ex:hover .pl-img img { transform: scale(1.06); }
}
.pillars .e7-cta { min-height: 100%; }
.e7-cta-wide { grid-row: span 5; margin-bottom: 22px; grid-column: span 2; flex-direction: row; align-items: stretch; gap: 28px; padding: 32px; }
.cta-copy { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 0; }
.cta-shelf { flex: 1 1 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-content: center; }
.cta-shelf span { flex: 0 0 calc(25% - 8px); aspect-ratio: 1; min-width: 0; overflow: hidden; position: relative; border-radius: 16px; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .5); transition: transform .5s var(--spring); }
.cta-shelf img { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
@media (hover: hover) { .e7-cta-wide:hover .cta-shelf span { transform: translateY(-4px); } }

/* Step 2: goal picker */
.goals { padding-block: 40px 8px; }
.goals-head { max-width: 46em; margin-bottom: 32px; }
.goals-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); letter-spacing: -.02em; }
.goals-head h2 em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.goals-head .lead { margin-top: 14px; }
.goal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.goal { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 22px; border-radius: 22px; text-decoration: none; color: var(--ink); background: linear-gradient(160deg, var(--tint), color-mix(in srgb, var(--tint) 45%, #fff)); box-shadow: var(--bezel), 0 20px 40px -30px rgba(26, 72, 54, .45); transition: transform .45s var(--spring), box-shadow .3s; }
.g-k { font-size: .8rem; font-weight: 600; color: color-mix(in srgb, var(--tint) 25%, var(--leaf-deep)); }
.g-t { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; }
.g-go { position: absolute; right: 16px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .8); font-size: .9rem; transition: transform .3s var(--ease-out); }
.goal:active { transform: scale(.97); }
@media (hover: hover) { .goal:hover { transform: translateY(-4px); } .goal:hover .g-go { transform: translateY(3px); } }

/* Health-goal shelves: catchy line + why */
.shelf-kick { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: color-mix(in srgb, var(--tint) 20%, var(--leaf-deep)); margin-bottom: 4px; }
.shelf-head .shelf-kick + h2::before { display: none; }
.shelf-head .why-line { max-width: 44em; font-size: 1rem; line-height: 1.6; }
.why-line strong { color: var(--ink); font-weight: 600; }
.shelf-section .shelf-head > div:first-child { padding-left: 20px; border-left: 6px solid color-mix(in srgb, var(--tint) 70%, var(--leaf-deep)); border-radius: 3px; }

/* Chip row: Essential Seven stands apart */
.filters a.chip-e7 { background: var(--grad-deep); color: #fff; }
.chip-sep { flex: none; width: 1px; margin: 6px 6px; background: rgba(19, 32, 42, .14); }

@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e7-cta-wide { grid-row: span 5; margin-bottom: 22px; grid-column: span 2; }
  .e7-principles { grid-template-columns: 1fr; margin-top: -8px; }
  .goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .pillars .e7-cta { grid-column: auto; }
  .e7-cta-wide { flex-direction: column; padding: 24px 20px; }
  .cta-shelf { gap: 8px; }
  .pillar { padding: 20px 18px 16px; }
  .e7-principles { margin-bottom: 24px; gap: 8px; }
  .e7-principles li { padding: 12px 14px; }
  .goal-grid { gap: 10px; }
  .goal { padding: 16px 16px 18px; }
  .g-t { font-size: 1.2rem; padding-right: 26px; }
  .g-go { right: 12px; bottom: 12px; width: 26px; height: 26px; }
  .shelf-section .shelf-head > div:first-child { padding-left: 14px; border-left-width: 4px; }
}

/* ---------- Home: Step 1 foundation vs Step 2 targeted ---------- */
.card.e7-feature { background: var(--grad-deep); color: rgba(255, 255, 255, .8); box-shadow: var(--bezel), 0 50px 100px -50px rgba(21, 58, 44, .75); }
.card.e7-feature .tag { color: #c9f29b; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card.e7-feature h3 { color: #fff; }
.card.e7-feature h3 em { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card.e7-feature p { color: rgba(255, 255, 255, .78); }
.card.e7-feature .go { color: #fff; }
.card.e7-feature .go i { color: #c9f29b; }
.e7-chips { gap: 10px; margin-top: 10px; }
.e7-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; font-size: .9rem; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.e7-chips li span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: #c9f29b; color: #163a28; }
.step-divider { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px 20px; flex-wrap: wrap; padding: 20px 4px 0; margin-top: 8px; border-top: 1px solid var(--line); }
.step-divider .tag { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.step-divider h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.step-divider h3 em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cards > .card:not(.feature) { display: flex; flex-direction: column; }
.cards > .card:not(.feature) .body { flex: 1; display: flex; flex-direction: column; }
.cards > .card:not(.feature) .go { margin-top: auto; }
@media (prefers-reduced-motion: no-preference) {
  .motion .cards .e7-chips li { opacity: 0; transform: translateY(10px) scale(.92); }
  .motion .cards.in .e7-chips li { animation: chip-in .7s var(--spring) both, chip-glow 8.4s ease-in-out infinite; animation-delay: calc(.4s + var(--i) * .09s), calc(1.6s + var(--i) * 1.2s); }
  @keyframes chip-in { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
  @keyframes chip-glow { 0%, 12%, 100% { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); } 5% { background: rgba(201, 242, 155, .28); box-shadow: inset 0 0 0 1px rgba(201, 242, 155, .7), 0 0 24px rgba(201, 242, 155, .35); } }
  @media (hover: hover) { .e7-feature:hover .e7-chips li { transform: translateY(-2px); transition: transform .3s var(--ease-out); } }
}
@media (max-width: 640px) { .e7-chips li { font-size: .84rem; padding: 6px 12px 6px 6px; } .step-divider { padding-top: 14px; } }

/* ---------- Home: "How it works" steps, animated ---------- */
.step { overflow: visible; transition: transform .45s var(--spring), box-shadow .3s; }
.step .n { position: relative; z-index: 1; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 49px; left: 76px; right: -28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(47, 106, 43, .5), rgba(43, 127, 134, .15)); transform-origin: left; }
@media (hover: hover) { .step:hover { transform: translateY(-6px); box-shadow: var(--bezel), 0 40px 70px -36px rgba(26, 72, 54, .45); } .step:hover .n { transform: scale(1.08); } }
.step .n { transition: transform .4s var(--spring); }
@media (prefers-reduced-motion: no-preference) {
  .motion .steps .step:not(:last-child)::after { transform: scaleX(0); }
  .motion .steps.in .step:not(:last-child)::after { animation: step-line 1s var(--ease-out) both; animation-delay: calc(var(--d, 0s) + .5s); }
  .motion .steps.in .step .n { animation: step-pop .7s var(--spring) both, step-ring 6s ease-out infinite; animation-delay: calc(var(--d, 0s) + .25s), calc(var(--d, 0s) * 16 + 1.4s); }
  @keyframes step-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes step-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes step-ring { 0%, 22%, 100% { box-shadow: 0 0 0 0 rgba(61, 148, 104, 0); } 4% { box-shadow: 0 0 0 0 rgba(61, 148, 104, .45); } 18% { box-shadow: 0 0 0 14px rgba(61, 148, 104, 0); } }
}
@media (max-width: 960px) { .step:not(:last-child)::after { display: none; } }

/* ---------- Scrolling performance ---------- */
html { scroll-padding-top: 96px; }
body::before { will-change: transform; contain: strict; }
body::after { transform: translateZ(0); contain: strict; }
.top .wrap, .filters .wrap { backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); }
.pillar { backdrop-filter: none; -webkit-backdrop-filter: none; }
.shelf { overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }

/* ==========================================================================
   NorthernLights Pharmacy Clinic (Oct 2026)
   Built on the TrueWell design system above, recoloured to the logo:
   teal #00a8a0, lime #90c838, deep teal #0b5c55. The "aurora" is the brand nod.
   ========================================================================== */
:root {
  --ink: #0f2a2c;
  --text: #34494b;
  --muted: #627476;
  --line: rgba(15, 42, 44, .1);
  --line-strong: rgba(15, 42, 44, .16);
  --slate: #0b5c55;
  --slate-tint: #e6f2f0;
  --leaf: #90c838;
  --leaf-deep: #00766f;
  --leaf-press: #00615b;
  --leaf-tint: #e3f4f1;
  --teal: #00a8a0;
  --lime: #90c838;
  --grad-brand: linear-gradient(120deg, #006e64 0%, #007a71 48%, #3d812c 100%);  /* white text clears 4.8:1 at every point */
  --grad-text: linear-gradient(100deg, #00766f 0%, #00a8a0 48%, #5aa83a 100%);
  --grad-text-light: linear-gradient(100deg, #d6f7a4 0%, #8ff0e2 50%, #c9ecff 100%);
  --grad-deep: radial-gradient(70% 90% at 0% 0%, rgba(144, 200, 56, .45), transparent 62%), radial-gradient(60% 80% at 100% 0%, rgba(0, 168, 160, .6), transparent 60%), radial-gradient(70% 60% at 70% 115%, rgba(120, 150, 255, .28), transparent 62%), linear-gradient(140deg, #0b3a37 0%, #0d4a46 48%, #0b3341 100%);
  --tint-shadow: 0 30px 60px -32px rgba(0, 92, 85, .4);
}
body { background: #f4f7f5; }
body::before {
  background:
    radial-gradient(38vmax 30vmax at 8% 4%, rgba(144, 200, 56, .26), transparent 62%),
    radial-gradient(36vmax 30vmax at 94% 8%, rgba(0, 168, 160, .26), transparent 64%),
    radial-gradient(42vmax 34vmax at 74% 84%, rgba(120, 170, 230, .24), transparent 62%),
    radial-gradient(30vmax 26vmax at 14% 80%, rgba(0, 168, 160, .16), transparent 62%);
}
::selection { background: #c9eee9; }
.top .logo img { width: 230px; }
.top.scrolled .logo img { width: 210px; }
.btn-call { background: var(--ink); color: #fff; }
@media (hover: hover) { .btn-call:hover { background: #1c3d40; } }

/* Hero: studio card in brand light, with a slow aurora ribbon behind the headline */
.hero { overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: -120px; height: 520px; pointer-events: none; opacity: .55; filter: blur(48px);
  background: linear-gradient(100deg, transparent 8%, rgba(144, 200, 56, .55) 26%, rgba(0, 168, 160, .55) 44%, rgba(110, 140, 255, .35) 62%, transparent 80%);
  transform: skewY(-6deg); }
@media (prefers-reduced-motion: no-preference) { .hero::before { animation: aurora 18s cubic-bezier(.45, 0, .55, 1) infinite alternate; } }
@keyframes aurora { from { transform: skewY(-6deg) translateX(-4%); } to { transform: skewY(-3deg) translateX(4%); } }
.studio { background: radial-gradient(80% 70% at 25% 15%, #f2fbe6, transparent 60%), radial-gradient(70% 80% at 85% 90%, #d2f0ec, transparent 62%), linear-gradient(160deg, #eef8f4, #dcf0ec); }
.studio::after { background: linear-gradient(180deg, transparent 78%, rgba(200, 236, 230, .55)); }
.studio .ring { position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; left: 11%; top: 9%; border-radius: 50%; background: conic-gradient(from 200deg, rgba(0, 168, 160, .28), rgba(144, 200, 56, .3), rgba(0, 168, 160, .05), rgba(0, 168, 160, .28)); filter: blur(2px); }
.open-now { display: inline-flex; align-items: center; gap: 8px; }
.open-now .pip { width: 8px; height: 8px; border-radius: 50%; background: #9aa7a8; }
.open-now.is-open .pip { background: #2fb36b; box-shadow: 0 0 0 4px rgba(47, 179, 107, .18); }
.hero .note .open-now::before { display: none; }

/* Service tiles: icon instead of photo */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; border-radius: 26px; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, .82); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 rgba(255, 255, 255, .9); transition: transform .45s var(--spring), box-shadow .3s; }
.svc .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 14px 28px -14px rgba(0, 118, 111, .7), inset 0 1px 0 rgba(255, 255, 255, .25); margin-bottom: 8px; }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.5rem; }
.svc .tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.svc .go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .95rem; color: var(--leaf-deep); }
.svc .go i { font-style: normal; display: inline-block; transition: transform .3s var(--ease-out); }
.svc.dark { background: var(--grad-deep); color: rgba(255, 255, 255, .8); }
.svc.dark h3 { color: #fff; } .svc.dark .tag { color: #c9f29b; } .svc.dark .go { color: #c9f29b; }
.svc.dark .ic { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
@media (hover: hover) { .svc:hover { transform: translateY(-6px); box-shadow: var(--bezel), 0 40px 70px -34px rgba(0, 92, 85, .5), inset 0 1px 0 #fff; } .svc:hover .go i { transform: translateX(4px); } }
.svc:active { transform: scale(.98); }

/* Conditions we treat: chip cloud */
.treat { padding-top: 40px; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip-cloud a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); background: rgba(255, 255, 255, .78); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 42, 44, .07), 0 10px 24px -18px rgba(0, 92, 85, .45); transition: transform .3s var(--spring), background-color .2s; }
.chip-cloud a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); }
@media (hover: hover) { .chip-cloud a:hover { transform: translateY(-2px); background: #fff; } }
.chip-cloud a:active { transform: scale(.97); }
.treat-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.treat-foot p { color: var(--muted); font-size: .95rem; }

/* Delivery panel */
.deliv-card { position: relative; justify-self: center; width: min(360px, 100%); padding: 22px; border-radius: 28px; background: rgba(255, 255, 255, .9); box-shadow: var(--bezel), 0 40px 80px -40px rgba(0, 92, 85, .55), inset 0 1px 0 #fff; transform: rotate(2deg); }
.deliv-card .dc-top { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.deliv-card .dc-live { display: inline-flex; align-items: center; gap: 6px; color: #1f8a52; letter-spacing: .04em; text-transform: none; }
.deliv-card .dc-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 4px rgba(47, 179, 107, .18); }
.deliv-card h3 { font-size: 1.6rem; margin: 14px 0 4px; }
.deliv-card ol { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.deliv-card li { position: relative; padding: 0 0 18px 30px; font-size: .94rem; color: var(--ink); }
.deliv-card li small { display: block; color: var(--muted); font-size: .82rem; }
.deliv-card li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 4px var(--leaf-tint); }
.deliv-card li:not(:last-child)::after { content: ""; position: absolute; left: 9.5px; top: 22px; bottom: 2px; width: 1px; background: var(--line-strong); }
.deliv-card li.todo::before { background: #fff; box-shadow: inset 0 0 0 2px var(--line-strong); }
.deliv-card .sig { margin-top: 4px; padding: 12px 14px; border-radius: 16px; background: var(--leaf-tint); font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--slate); display: flex; justify-content: space-between; align-items: center; }
.deliv-card .sig span { font-family: var(--body); font-style: normal; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--leaf-deep); }
.perk-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.perk-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.perk-list svg { flex: none; width: 22px; height: 22px; color: var(--leaf-deep); margin-top: 2px; }

/* Visit us */
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.visit-card { border-radius: 30px; padding: 40px; background: rgba(255, 255, 255, .84); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; }
.visit-card h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.addr { margin-top: 18px; font-size: 1.1rem; color: var(--ink); line-height: 1.5; }
.hours { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours th { color: var(--ink); }
.hours td { text-align: right; color: var(--text); }
.hours tr.today th, .hours tr.today td { color: var(--leaf-deep); font-weight: 700; }
.map-card { position: relative; border-radius: 30px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; isolation: isolate; box-shadow: var(--bezel), 0 40px 80px -40px rgba(0, 92, 85, .55); background: var(--grad-deep); }
.map-card svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; }
.map-card .pin { position: absolute; left: 50%; top: 40%; width: 56px; height: 56px; margin: -56px 0 0 -28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--lime), var(--teal)); box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .5); }
.map-card .pin::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: #fff; }
.map-card .mc-body { padding: 28px 32px; width: 100%; background: linear-gradient(0deg, rgba(8, 40, 38, .75), transparent); }
.map-card strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.6rem; }
.map-card .mc-go { margin-top: 10px; display: inline-flex; gap: 6px; font-weight: 600; color: #c9f29b; }

/* Inner pages */
.svc-block { padding-block: 72px; scroll-margin-top: 110px; }
.svc-block + .svc-block { padding-top: 24px; }
.svc-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; padding: 48px; border-radius: 34px; background: rgba(255, 255, 255, .82); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; }
.svc-panel h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.svc-panel .lead { margin-top: 14px; font-size: 1.08rem; }
.svc-panel .btn-row { margin-top: 26px; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tick-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink); }
.tick-list li svg { width: 22px; height: 22px; color: var(--leaf-deep); margin-top: 2px; }
.tick-list li span small { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.cond-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.cond-group { padding: 32px; border-radius: 28px; background: rgba(255, 255, 255, .82); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; scroll-margin-top: 110px; }
.cond-group h2 { font-size: 1.7rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.cond-group h2 .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; flex: none; }
.cond-group h2 .ic svg { width: 21px; height: 21px; }
.cond { padding: 14px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.cond h3 { font-family: var(--body); font-size: 1.04rem; font-weight: 600; letter-spacing: 0; }
.cond p { font-size: .95rem; margin-top: 3px; }
.cond .badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; background: #e3f6d3; color: #3b6e17; vertical-align: 2px; }
.note-box { margin-top: 36px; padding: 22px 26px; border-radius: 22px; background: var(--slate-tint); font-size: .95rem; color: var(--text); }
.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.025em; }
.draft-flag { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 41; padding: 7px 12px; border-radius: 999px; background: #fff4d6; color: #7a5300; font-size: .78rem; font-weight: 600; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35); }
.mobile-bar .btn-call { position: relative; }

@media (max-width: 960px) {
  .svc-grid, .book-grid { grid-template-columns: 1fr 1fr; }
  .visit .wrap, .svc-panel, .cond-groups { grid-template-columns: 1fr; }
  .svc-panel { padding: 36px 28px; gap: 28px; }
  .draft-flag { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .svc-grid, .book-grid { grid-template-columns: 1fr; gap: 18px; }
  .visit-card { padding: 28px 22px; }
  .map-card { min-height: 300px; }
  .cond-group { padding: 24px 20px; }
  .deliv-card { transform: none; }
  .top .logo img, .top.scrolled .logo img { width: 190px; }
}

@media (max-width: 960px) { .mobile-bar { grid-template-columns: 1fr 1fr auto auto; } }
.disp-panel { background: radial-gradient(60% 90% at 0% 0%, rgba(144, 200, 56, .3), transparent 60%), radial-gradient(60% 90% at 100% 100%, rgba(0, 168, 160, .32), transparent 60%), radial-gradient(50% 70% at 85% 10%, rgba(120, 170, 230, .3), transparent 60%), rgba(255, 255, 255, .72); }
.draft-flag { top: 88px; bottom: auto; left: 50%; transform: translateX(-50%); z-index: 29; }
@media (max-width: 960px) { .draft-flag { top: 76px; bottom: auto; } }
.hero .note .open-now span::before { display: none; }
/* Photo variant of the studio card: a full photograph (pharmacy background) instead of a cut-out */
.studio.photo { background: #e6efec; }
.studio.photo::after { background: linear-gradient(180deg, transparent 70%, rgba(11, 58, 55, .28)); }
.studio.photo img { left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: none; }
@media (prefers-reduced-motion: no-preference) { .motion .hero .studio.photo img { animation: settle 1.2s var(--ease-out) both; } }
.about .studio.photo img { width: 100%; }
.studio.photo { aspect-ratio: 1100 / 1235; }
.studio.photo .glass.g2 { top: 18px; right: 18px; }
@media (max-width: 640px) { .studio.photo .glass.g2 { top: 12px; right: 10px; } }
/* Tall full-length cut-out (lab coat, arms crossed) on the circle card */
.studio img.tall, .about .studio img.tall { width: 64%; }
/* Head-and-shoulders cut-out: set back in the card so the head has room above it */
.studio img.hs, .about .studio img.hs { width: 76%; }
/* Three-quarter lab-coat cut-out; badges sit where TrueWell puts them (g2 mid-right over the arm, g1 bottom-left) */
.studio img.hero-fig, .about .studio img.hero-fig { width: 76%; }
.hero .studio .glass.g2, .about .studio .glass.g2 { top: 64%; }
/* Sister business line in the footer: quiet, below the legal line. */
.legal .sister { margin-top: 6px; font-size: .82rem; }
.legal .sister a { text-decoration: underline; text-underline-offset: 2px; }

/* Trust: licence and patient concerns (home cards, licence page) */
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trust-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, .84); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; text-decoration: none; color: var(--text); transition: transform .45s var(--spring), box-shadow .3s; }
.trust-card img { width: 132px; height: auto; border-radius: 10px; box-shadow: 0 10px 24px -12px rgba(15, 42, 44, .45); background: #fff; }
.tc-body { display: grid; gap: 8px; min-width: 0; font-size: .95rem; }
.tc-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-deep); }
.tc-tag svg { width: 16px; height: 16px; }
.trust-card strong { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
.tc-go { font-weight: 600; color: var(--leaf-deep); }
@media (hover: hover) { .trust-card:hover { transform: translateY(-4px); } }
.trust-card:focus-visible { outline: 2px solid var(--leaf-deep); outline-offset: 4px; }

.licence .wrap, .concerns .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: start; }
.lic-card { border-radius: 30px; padding: 36px 40px; background: rgba(255, 255, 255, .84); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; }
.lic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 6px 0 24px; }
.lic-list div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lic-list dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lic-list dd { margin: 6px 0 0; color: var(--ink); line-height: 1.45; }
.lic-list dd.big { font-family: var(--display); font-size: 2.4rem; line-height: 1; letter-spacing: -.02em; }
.lic-note { font-size: .95rem; margin: 0 0 12px; }
.lic-doc { margin: 0; }
.lic-doc a { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--bezel), 0 40px 70px -40px rgba(15, 42, 44, .55); background: #fff; }
.lic-doc img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease-out); }
@media (hover: hover) { .lic-doc a:hover img { transform: scale(1.02); } }
.lic-doc figcaption { margin-top: 12px; font-size: .84rem; color: var(--muted); text-align: center; }
.lic-doc.poster { max-width: 420px; justify-self: end; width: 100%; }
.acp-contact { margin-top: 20px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.acp-contact p { margin: 0; }
.acp-contact strong { display: block; color: var(--ink); }
@media (max-width: 960px) {
  .licence .wrap, .concerns .wrap { grid-template-columns: 1fr; }
  .lic-doc { max-width: 520px; margin: 0 auto; }
  .lic-doc.poster { justify-self: center; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lic-card { padding: 26px 22px; }
  .lic-list { grid-template-columns: 1fr; }
  .trust-card { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .trust-card img { width: 92px; }
  .trust-card strong { font-size: 1.2rem; }
}
.hours-note { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }

/* Good to know (contact): getting here, access, languages; holiday closures */
.know-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.know-card { padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, .84); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; }
.know-card .ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--leaf-tint); color: var(--leaf-deep); }
.know-card .ico svg { width: 22px; height: 22px; }
.know-card h3 { margin: 18px 0 8px; }
.know-card p { margin: 0; }
.hol-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; margin-top: 24px; padding: 30px 34px; border-radius: 26px; background: rgba(255, 255, 255, .84); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; }
.hol-card .kicker { margin-bottom: 10px; }
.hol-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.hol-list li { break-inside: avoid; }
.hol-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.hol-list li span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hol-list li.soon { color: var(--ink); font-weight: 600; }
.holiday-note { margin: 10px 0 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff4d6; color: #6b4a00; font-size: .86rem; font-weight: 600; }
.holiday-note[hidden] { display: none; }
.landmark { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .know-grid { grid-template-columns: 1fr; } .hol-card { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hol-list { columns: 1; } .hol-card { padding: 24px 22px; } }

/* Service photos (AI-made illustrations of our services; see CLAUDE.md) */
.svc-photo, .why-photo, .clinic-photo { margin: 0; }
.svc-photo img, .why-photo img, .clinic-photo img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: var(--bezel), 0 30px 60px -36px rgba(15, 42, 44, .45); }
.svc-photo { margin-top: 28px; }
.why-photo { margin-top: 40px; max-width: 980px; }
.why-photo img { aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 30%; }
.clinic-photo { margin-bottom: 40px; max-width: 980px; }
.clinic-photo img { aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 640px) { .why-photo img, .clinic-photo img { aspect-ratio: 4 / 3; } .svc-photo img, .why-photo img, .clinic-photo img { border-radius: 16px; } }

/* Credentials strip under the hero: the licence first (links to /license/), then the facts */
.creds-row .wrap { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; }
.creds-lic { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: var(--bezel), 0 10px 24px -16px rgba(15, 42, 44, .4); color: var(--ink); text-decoration: none; transition: transform .45s var(--spring); }
.creds-lic .cl-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--leaf-tint); color: var(--leaf-deep); flex: none; }
.creds-lic .cl-ic svg { width: 19px; height: 19px; }
.creds-lic .cl-txt { display: grid; line-height: 1.25; }
.creds-lic strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.creds-lic .cl-txt > span { font-size: .8rem; color: var(--muted); }
.creds-lic .cl-txt > span::after { content: " \2192"; }
@media (hover: hover) { .creds-lic:hover { transform: translateY(-2px); } }
.creds-lic:focus-visible { outline: 2px solid var(--leaf-deep); outline-offset: 4px; }
.creds-row ul.creds-facts { flex: 1 1 520px; justify-content: flex-start; gap: 10px 30px; }
.creds-facts li span { font-weight: 400; color: var(--muted); }
.creds-facts li span::before { content: "\00b7"; margin-right: 6px; }

/* How a visit works: four steps, each says who does it */
ol.steps { list-style: none; margin: 0; padding: 0; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps.four .step { padding: 28px 26px; }
.step .who { display: block; width: fit-content; margin: 16px 0 0; padding: 3px 11px; border-radius: 999px; background: rgba(43, 127, 134, .1); color: #1f5f64; font-size: .74rem; font-weight: 600; letter-spacing: .04em; vertical-align: middle; }
.step .who.you { background: var(--leaf-tint); color: var(--leaf-deep); }
.steps.four .step h3 { margin-top: 12px; font-size: 1.35rem; }
.steps.four .step:not(:last-child)::after { top: 45px; left: 74px; right: -22px; }
.steps.four .step > p:last-child { margin: 0; font-size: .96rem; }

/* A few plain facts, read as a ledger under the steps */
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 48px 0 0; border-top: 1px solid var(--line-strong); }
.tally > div { padding: 24px 24px 4px 0; display: grid; gap: 6px; align-content: start; }
.tally > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.tally dt { font-family: var(--display); font-size: clamp(2.6rem, 4.2vw, 3.6rem); line-height: 1; color: var(--leaf-deep); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.tally dd { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.45; max-width: 24ch; }

@media (max-width: 960px) {
  .steps.four { grid-template-columns: 1fr 1fr; }
  .tally { grid-template-columns: 1fr 1fr; }
  .tally > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tally > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
}
@media (max-width: 640px) {
  .creds-row .wrap { gap: 16px; }
  .creds-lic { width: 100%; }
  .steps.four { grid-template-columns: 1fr; }
  .tally > div { padding-right: 12px; }
  .tally > div + div { padding-left: 12px; }
  .tally > div:nth-child(3) { padding-left: 0; }
  .tally dd { font-size: .88rem; }
}
.creds-row .creds-facts li { display: block; position: relative; padding-left: 15px; }
.creds-row .creds-facts li::before { position: absolute; left: 0; top: .66em; }
.tally dt small { margin-right: .3em; font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }

/* "How a visit works, in 30 seconds": an animated walk-through, no video file (walk-in clinic page) */
.film-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 22px; }
.film-link { margin: 28px 0 0; }
.film { position: relative; border-radius: 30px; padding: 22px 26px 18px; background: radial-gradient(60% 90% at 0% 0%, rgba(144, 200, 56, .22), transparent 60%), radial-gradient(60% 90% at 100% 100%, rgba(0, 168, 160, .22), transparent 60%), rgba(255, 255, 255, .86); box-shadow: var(--bezel), var(--tint-shadow), inset 0 1px 0 #fff; }
.film-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.film-bar .seg { height: 22px; padding: 9px 0; border: 0; background: none; cursor: pointer; }
.film-bar .seg i { display: block; height: 4px; border-radius: 4px; background: rgba(19, 32, 42, .1); overflow: hidden; position: relative; }
.film-bar .seg i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2f6a2b, #2b7f86); transform-origin: left; transform: scaleX(var(--p, 0)); }
.film-bar .seg:focus-visible { outline: 2px solid var(--leaf-deep); outline-offset: 2px; border-radius: 4px; }
.film-stage { display: grid; margin-top: 6px; }
.scene { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; min-height: 340px; opacity: 0; visibility: hidden; transition: opacity .18s ease-in, visibility 0s .18s; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out) .18s, visibility 0s .18s; }
.scene .cap { max-width: 34ch; }
.scene .cap h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 12px 0 10px; }
.scene .cap p:last-child { margin: 0; }
.film .who { display: block; width: fit-content; margin: 0; padding: 3px 11px; border-radius: 999px; background: rgba(43, 127, 134, .1); color: #1f5f64; font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.film .who.you { background: var(--leaf-tint); color: var(--leaf-deep); }
.scene .art { width: 100%; max-width: 470px; height: auto; justify-self: center; overflow: visible; }
.scene.end { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
.scene.end .btn-row { margin-top: 22px; }
.scene.end .cap { max-width: 48ch; }
.end-mark { width: 150px; height: auto; justify-self: center; filter: drop-shadow(0 18px 30px rgba(15, 42, 44, .18)); }
.film-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: .88rem; color: var(--muted); }
.film-ctrl .play { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #0b5c55; color: #fff; cursor: pointer; transition: transform .3s var(--spring); }
.film-ctrl .play:active { transform: scale(.94); }
.film-ctrl .play:focus-visible, .film-ctrl .replay:focus-visible { outline: 2px solid var(--leaf-deep); outline-offset: 3px; }
.i-pause { width: 12px; height: 14px; border-inline: 4px solid currentColor; box-sizing: border-box; }
.i-play { width: 0; height: 0; border-block: 8px solid transparent; border-left: 13px solid currentColor; margin-left: 3px; display: none; }
.film.paused .i-pause { display: none; }
.film.paused .i-play { display: block; }
.film-step { font-variant-numeric: tabular-nums; }
.film-ctrl .replay { margin-left: auto; border: 0; background: none; font: inherit; font-weight: 600; color: var(--leaf-deep); cursor: pointer; visibility: hidden; }
.film.ended .replay { visibility: visible; }

/* the drawings (final state; the .anim rules below build them up) */
.art .a-phone { fill: #0b3a37; }
.art .a-screen { fill: #fff; }
.art text { font-family: var(--body); font-weight: 600; }
.art .a-label { font-size: 13px; fill: var(--ink); }
.art .a-grid rect { fill: #e7efea; }
.art .a-grid .a-pick { fill: #90c838; }
.art .a-chip rect { fill: #0b5c55; }
.art .a-chip text { font-size: 13px; fill: #fff; }
.art .a-ok circle, .art .a-ok2 circle { fill: #2f6a2b; }
.art .a-ok path, .art .a-ok2 path { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.art .a-b1 rect:first-child, .art .a-b1 path { fill: #fff; }
.art .a-b1, .art .a-b2, .art .a-test, .art .a-pad, .art .a-vial, .art .a-note, .art .a-clinic { filter: drop-shadow(0 10px 16px rgba(15, 42, 44, .16)); }
.art .a-b1 .ln { fill: #cbd9d5; }
.art .a-b2 rect:first-child, .art .a-b2 path { fill: #0b5c55; }
.art .a-b2 .ln { fill: rgba(255, 255, 255, .55); }
.art .a-test rect:first-child { fill: #fff; }
.art .a-test .win { fill: #eef4f1; }
.art .a-test .bar { fill: #2b7f86; }
.art .a-timer circle { fill: none; stroke-width: 6; }
.art .a-timer .trk { stroke: #dfe8e4; }
.art .a-timer .arc { stroke: #90c838; stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 0; transform: rotate(-90deg); }
.art .a-pad { fill: #fff; }
.art .a-rx { font-family: var(--display); font-size: 40px; font-weight: 500; fill: #2f6a2b; }
.art .a-write { fill: none; stroke: #a9bcb7; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 0; }
.art .a-vial .cap-v { fill: #fff; }
.art .a-vial .body-v { fill: #b5e83c; }
.art .a-vial .lab { fill: #fff; }
.art .a-vial .labln { fill: #cbd9d5; }
.art .a-route { fill: none; stroke: #2b7f86; stroke-width: 3; stroke-dasharray: 6 9; stroke-linecap: round; opacity: .7; }
.art .a-note rect:first-child { fill: #fff; }
.art .a-note .ln { fill: #cbd9d5; }
.art .a-clinic path:first-child { fill: #fff; stroke: #0b5c55; stroke-width: 4; stroke-linejoin: round; }
.art .a-clinic .door { fill: #e7efea; }
.art .a-clinic .cross { fill: none; stroke: #00a8a0; stroke-width: 7; stroke-linecap: round; }
.art g, .art rect, .art path, .art circle, .art text { transform-box: fill-box; transform-origin: center; }

/* building each scene up; only with motion allowed (the script adds .anim) */
@media (prefers-reduced-motion: no-preference) {
  .film.anim .scene.on .art > *, .film.anim .scene.on .a-grid rect { animation: f-rise .7s var(--ease-out) both; }
  .film.anim .scene.on .a-screen { animation-delay: .1s; }
  .film.anim .scene.on .a-label { animation-delay: .3s; }
  .film.anim .scene.on .a-grid rect { animation-name: f-pop; animation-delay: calc(.45s + var(--k, 0) * .06s); }
  .film.anim .scene.on .a-grid .a-pick { animation: f-pick .6s var(--spring) 1.7s both; }
  .film.anim .scene.on .a-chip { animation-delay: 2.5s; }
  .film.anim .scene.on .a-ok, .film.anim .scene.on .a-ok2 { animation: f-pop .55s var(--spring) both; animation-delay: 3.3s; }
  .film.anim .scene.on .a-b2 { animation-delay: 1.2s; }
  .film.anim .scene.on .a-test { animation-delay: 2.3s; }
  .film.anim .scene.on .a-test .bar { animation: f-grow .5s var(--ease-out) 4.6s both; }
  .film.anim .scene.on .a-timer { animation-delay: 2.6s; }
  .film.anim .scene.on .a-timer .arc { animation: f-arc 2s linear 2.8s both; }
  .film.anim .scene.on .a-rx { animation-delay: .5s; }
  .film.anim .scene.on .a-write { animation: f-draw 1.8s var(--ease-out) .9s both; }
  .film.anim .scene.on .a-vial { animation: f-slide .8s var(--spring) 2.9s both; }
  .film.anim .scene.on .a-note { animation: f-rise .6s var(--ease-out) .2s both, f-send 1.6s var(--ease-in-out) 1.6s forwards; }
  .film.anim .scene.on .a-route { animation: f-route 1.2s var(--ease-out) .6s both; }
  .film.anim .scene.on .a-clinic { animation-delay: .4s; }
  .film.anim .scene.on .a-ok2 { animation-delay: 3.4s; }
  .film.anim .scene.on .cap > * { animation: f-rise .6s var(--ease-out) both; }
  .film.anim .scene.on .cap > :nth-child(2) { animation-delay: .08s; }
  .film.anim .scene.on .cap > :nth-child(3) { animation-delay: .16s; }
  .film.anim .scene.on .cap > :nth-child(4) { animation-delay: .24s; }
  .film.anim .scene.on .end-mark { animation: f-pop .8s var(--spring) .2s both; }
  @keyframes f-rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes f-pop { from { opacity: 0; transform: scale(.6); } }
  @keyframes f-pick { 0% { fill: #e7efea; transform: scale(1); } 60% { transform: scale(1.18); } 100% { fill: #90c838; transform: scale(1); } }
  @keyframes f-grow { from { transform: scaleY(0); } }
  @keyframes f-arc { from { stroke-dashoffset: 138.2; } }
  @keyframes f-draw { from { stroke-dashoffset: 120; } }
  @keyframes f-slide { from { opacity: 0; transform: translateX(60px) rotate(8deg); } }
  @keyframes f-route { from { stroke-dashoffset: 240; opacity: 0; } }
  @keyframes f-send { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 55% { transform: translate(110px, -70px) scale(.8) rotate(-6deg); } 100% { transform: translate(214px, -14px) scale(.3); opacity: 0; } }
}

@media (max-width: 760px) {
  .film { padding: 16px 16px 14px; border-radius: 24px; }
  .scene, .scene.end { grid-template-columns: 1fr; gap: 6px; align-content: start; min-height: 0; }
  .scene .art { order: -1; max-width: 300px; }
  .scene .cap h3 { margin-top: 10px; }
  .end-mark { order: -1; width: 96px; margin-top: 10px; }
}
