/* Modesto Pharmacy — styles (new design 2026-12-01).
   Owner 2026-12-01 (Instagram reference, "white green and cherry red"): white page, leaf green #3F7D2C
   for buttons/accents, soft green tint #F2F6EC for panels, navy #212E74 (from the logo ring) as the accent, replacing cherry red,
   deep forest #14231A text. (Variable names --mag / --orchid kept from the first draft: --mag = green.)
   Fonts: Sora (headings), Plus Jakarta Sans (text), self-hosted in fonts/. */

@font-face { font-family: "Sora"; src: url("fonts/sora-normal-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/jakarta-normal-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/jakarta-italic-latin.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  --white: #ffffff;
  --ink: #14231A;           /* deep forest: headings and dark text */
  --orchid: #F2F6EC;        /* soft green tint: hero, banners, feature cards, footer */
  --orchid-2: #E1EBD5;
  --cherry: #212E74;        /* accent = navy from the logo ring (owner 2026-12-01: "instead of red ... more elegant"); 11:1 on white */
  --cherry-deep: #17205A;
  --cherry-wash: #E8EBF6;
  --mag: #3F7D2C;           /* leaf green: buttons, links, highlighted words (5.0:1 on white) */
  --mag-deep: #2F6221;
  --mag-lite: #6FA552;
  --mag-wash: #EAF2E1;      /* faint green for chips and icon circles */
  --gray: #F5F6F3;          /* soft section background */
  --gray-2: #E8EBE4;
  --line: #E1E5DC;
  --text: #2a3a2f;
  --muted: #637066;
  --radius: 28px;
  --gutter: clamp(16px, 4.6vw, 72px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --head: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.08; letter-spacing: -.025em; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--mag); outline-offset: 3px; border-radius: 6px; }
.mag { color: var(--mag); }
.mag-lite { color: var(--mag); }
.muted { color: #9aa39c; }
.small-print { font-size: 14px; color: var(--muted); margin-top: 1.2em; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mag); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cherry); }
.eyebrow.on-dark { color: var(--mag); }
.eyebrow.center { display: flex; justify-content: center; }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 40em; }

/* ---------- buttons: pill + round icon dot ---------- */
.btn { --bg: var(--mag); --fg: #fff; --dot: #fff; --dotfg: var(--mag); display: inline-flex; align-items: center; gap: 14px; padding: 7px 7px 7px 24px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font: 600 15.5px/1 var(--body); text-decoration: none; border: 1.5px solid var(--bg); cursor: pointer; transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease); white-space: nowrap; }
.btn > span { padding: 10px 0; }
.btn-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dot); color: var(--dotfg); transition: transform .4s var(--ease); font-style: normal; }
.btn-dot .ic { width: 18px; height: 18px; }
.btn:hover .btn-dot { transform: rotate(-45deg) scale(1.06); }
.btn[href^="tel:"]:hover .btn-dot { transform: scale(1.08); }
.btn:hover { transform: translateY(-1px); }
.btn-mag:hover { --bg: var(--mag-deep); }
.btn-ink { --bg: var(--ink); --dot: var(--mag); --dotfg: #fff; }
.btn-ink:hover { --bg: #23222a; }
.btn-white { --bg: #fff; --fg: var(--ink); --dot: var(--mag); --dotfg: #fff; }
.btn-ghost { --bg: transparent; --fg: #fff; --dot: rgba(255,255,255,.14); --dotfg: #fff; border-color: rgba(255,255,255,.32); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { --bg: transparent; --fg: var(--ink); --dot: var(--ink); --dotfg: #fff; border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { font-size: 14px; padding-left: 18px; }
.btn-sm .btn-dot { width: 34px; height: 34px; }
.row-btns, .hero-btns, .banner-btns, .reach-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- navigation: floating pill bar; dark glass over the home hero, white once scrolled ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--gutter) 0; transition: padding .4s var(--ease); }
/* owner 2026-12-01: logo "bigger, separate from the bar", "1.5 bigger" -> the original oval badge stands on its own
   (78px -> 117px; 93px once scrolled); menu links and the call button sit in their own white pill on the right */
.nav-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: flex-start; gap: 18px; }
.nav-logo { flex: none; display: block; margin-top: 26px; transition: margin-top .4s var(--ease); filter: drop-shadow(0 12px 22px rgba(20,35,26,.2)); }  /* owner: "move it lower down" */
.nav.is-scrolled .nav-logo { margin-top: 4px; }
.nav-logo img { height: 176px; width: auto; display: block; transition: height .4s var(--ease), transform .45s var(--ease); }
.nav.is-scrolled .nav-logo img { height: 140px; }
.nav-pill { margin-left: auto; margin-top: 14px; display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 10px 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(8,9,11,.05), 0 12px 34px -18px rgba(20,35,26,.35); }
.nav.is-scrolled .nav-pill { margin-top: 6px; }
.nav-links { margin-left: 0; }
.nav-links > ul { display: flex; gap: 2px; }
.nav-links li { position: relative; }
.nav-links > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 15px; border-radius: 999px; text-decoration: none; font: 600 15px/1 var(--body); color: var(--ink); transition: background .25s, color .25s; }
.nav-links > ul > li > a:hover, .nav-links > ul > li:focus-within > a { background: var(--gray); }
.nav-links a[aria-current="page"] { color: var(--mag); }
.caret { width: 12px; height: 12px; opacity: .6; }
.sub { position: absolute; top: 100%; left: -8px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease); }
.sub ul { min-width: 270px; background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 24px 60px -20px rgba(8,9,11,.35), 0 0 0 1px var(--line); }
.sub a { display: block; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; color: var(--text); }
.sub a:hover { background: var(--mag-wash); color: var(--mag); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav-call { display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font: 600 15px/1 var(--body); white-space: nowrap; transition: background .3s, color .3s; }
.nav-call:hover { background: var(--mag); }
.nav-call .ic { color: #cfe3c2; }
.nav-call:hover .ic { color: #fff; }
.nav-burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; place-items: center; }
.nav-burger .ic { width: 22px; height: 22px; }
.nav-burger .ic + .ic, .nav-burger[aria-expanded="true"] .ic:first-child { display: none; }
.nav-burger[aria-expanded="true"] .ic + .ic { display: block; }
.nav-mobile-extra { display: none; }
.nav.is-scrolled { padding-top: 10px; }

/* ---------- glowing canvas (WebGL plasma in magenta; CSS glow when WebGL is off) ---------- */
.plasma { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-card, .banner-card, .fac-card { background-color: var(--orchid);
  background-image: radial-gradient(48% 80% at 0% 90%, rgba(63,125,44,.16), transparent 62%), radial-gradient(48% 80% at 100% 90%, rgba(63,125,44,.13), transparent 62%), radial-gradient(70% 60% at 50% 120%, rgba(111,165,82,.22), transparent 70%); }
.has-gl .hero-card, .has-gl .banner-card, .has-gl .fac-card { background-image: none; }

/* ---------- home hero: full screen, shrinks into a rounded card while scrolling ---------- */
.hero { --p: 0; height: 100svh; min-height: 640px; position: relative; }
.hero-card { position: absolute; inset: 0; overflow: hidden; color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: calc(var(--p) * 40px); transform: scale(calc(1 - var(--p) * .05)); transform-origin: 50% 0; will-change: transform; }
.hero-copy { position: relative; z-index: 2; padding-top: 290px; padding-bottom: 36px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px var(--orchid-2); color: var(--ink); font-size: 14px; font-weight: 500; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cherry); box-shadow: 0 0 0 4px rgba(33,46,116,.16); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(33,46,116,0); } }
.hero h1 { color: var(--ink); font-size: clamp(44px, 7.2vw, 116px); font-weight: 600; letter-spacing: -.045em; line-height: .98; max-width: 11.5em; }
.hero .lede { color: var(--muted); margin-top: 26px; font-size: clamp(17px, 1.4vw, 21px); max-width: 34em; }
.hero-foot { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; padding-bottom: 26px; }
.hf { display: flex; align-items: center; gap: 14px; padding: 18px 4px; text-decoration: none; color: var(--ink); border-top: 1px solid rgba(20,35,26,.12); transition: border-color .3s; }
a.hf:hover { border-color: var(--mag); }
.hf small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.hf b { font: 600 17px/1.2 var(--head); letter-spacing: -.01em; }
.hf-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--mag); flex: none; box-shadow: 0 8px 20px -10px rgba(63,125,44,.5); }
.open { white-space: nowrap; display: inline-block; font-style: normal; font-weight: 700; margin-left: 6px; font-size: 11.5px; padding: 3px 9px; border-radius: 99px; vertical-align: 1px; }
.open:empty { display: none; }
.open.is-open { background: #1d7a49; color: #fff; }
.open.is-closed { background: var(--cherry-wash); color: var(--cherry-deep); }

/* ---------- logo marquee ---------- */
.marquee { padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); overflow: hidden; }
.mq { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq + .mq { margin-top: 12px; }
.mq ul { display: flex; width: max-content; animation: mq 48s linear infinite; }
.mq-b ul { animation-direction: reverse; animation-duration: 56s; }
.mq li { flex: none; width: 210px; height: 92px; margin: 0 7px; display: grid; place-items: center; border-radius: 20px; background: #fff; border: 1.5px solid var(--cherry); }  /* owner 2026-12-01: navy border on each box */
.mq img { max-width: 150px; max-height: 50px; width: auto; height: auto; mix-blend-mode: multiply; transition: transform .3s; }  /* owner 2026-12-01: logos in colour */
.mq li:hover img { transform: scale(1.05); }
.marquee:hover ul { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.sec-tight { padding-top: 0; }
.sec-gray { background: var(--gray); }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -.04em; max-width: 13em; }
.sec-text { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); margin: 0; max-width: 30em; justify-self: end; }
.sub-head { font-size: 24px; margin: 56px 0 20px; }
.center-cta { text-align: center; margin: 48px 0 0; }

/* statement heading with inline icon chips */
.statement-sec { padding-top: clamp(40px, 5vw, 72px); }
/* owner 2026-12-01: key phrases solid black, the words in between soft grey (sharp); centred */
.statement { font-size: clamp(30px, 4.2vw, 66px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; max-width: 18em; margin: 0 auto; text-align: center; }
.statement b { font-weight: 600; color: var(--ink); }
.statement { color: var(--ink); }  /* owner 2026-12-01: one colour only, no blur, no symbols */
.chip { display: inline-grid; place-items: center; width: 1.6em; height: 1.05em; border-radius: 999px; background: var(--cherry); color: #fff; vertical-align: -.12em; margin: 0 .04em; }
.chip.c2 { background: var(--ink); }
.chip.c3 { background: var(--mag-wash); color: var(--mag); }
.chip .ic { width: .58em; height: .58em; }

/* bento */
.bento-sec { padding-top: 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.bx { position: relative; border-radius: var(--radius); padding: 30px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.bx p { margin: 0; max-width: 24em; }
.bx-ic { position: absolute; top: 26px; left: 28px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; }
.bx-ic .ic { width: 22px; height: 22px; }
.bx .bx-big { font: 600 clamp(64px, 8vw, 128px)/.9 var(--head); letter-spacing: -.06em; margin-bottom: 14px; }
.bx .bx-mid { font: 600 clamp(26px, 2.5vw, 36px)/1.1 var(--head); letter-spacing: -.03em; margin-bottom: 10px; }
.bx-mag { grid-column: span 4; grid-row: span 2; background: var(--cherry); color: #fff; min-height: 400px; }
.bx-mag .bx-ic { background: rgba(255,255,255,.18); }
.bx-photo { grid-column: span 5; grid-row: span 2; padding: 0; }
.bx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bx .bx-cap { position: relative; margin: 20px; align-self: flex-start; background: rgba(255,255,255,.94); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.bx-gray { grid-column: span 3; grid-row: span 2; background: var(--gray); }
.bx-gray .bx-ic, .bx-line .bx-ic { background: var(--mag-wash); color: var(--mag); }
.bx-gray .bx-big { color: var(--ink); }
.bx-ink { grid-column: span 7; background: var(--orchid); color: var(--muted); padding-top: 96px; }
.bx-ink .bx-mid { color: var(--ink); }
.bx-ink .bx-ic { background: #fff; color: var(--mag); }
.bx-ink .btn { margin-top: 20px; align-self: flex-start; }
.bx-line { grid-column: span 5; box-shadow: inset 0 0 0 1.5px var(--line); padding-top: 96px; }
.bx-line .bx-mid { color: var(--ink); }

/* service cards */
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scard { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; transition: box-shadow .45s, transform .45s var(--ease); }
.scard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px transparent, 0 30px 60px -30px rgba(8,9,11,.35); }
.scard-img { aspect-ratio: 16 / 10.5; overflow: hidden; margin: 10px 10px 0; border-radius: 20px; }
.scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.scard:hover .scard-img img { transform: scale(1.05); }
.scard-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.scard-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mag-wash); color: var(--mag); margin-bottom: 16px; }
.scard h3 { font-size: 22px; margin-bottom: 8px; }
.scard p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.scard-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--mag); }
.scard-go .ic { transition: transform .3s var(--ease); }
.scard:hover .scard-go .ic { transform: translateX(4px); }

/* packaging: draggable row on home, grid on services */
.pcards { display: flex; gap: 18px; overflow-x: auto; padding: 0 var(--gutter) 12px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.pcards::-webkit-scrollbar { display: none; }
.pcards.is-drag { cursor: grabbing; scroll-snap-type: none; }
.pcards .pcard { flex: 0 0 clamp(260px, 26vw, 340px); scroll-snap-align: start; }
.pcard { position: relative; background: #fff; border-radius: var(--radius); padding: 10px 10px 24px; }
.pcard-img { aspect-ratio: 4 / 3.4; border-radius: 20px; overflow: hidden; margin-bottom: 18px; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pcard-no { position: absolute; top: 22px; left: 22px; padding: 6px 12px; border-radius: 999px; background: rgba(20,35,26,.82); color: #fff; font: 600 13px/1 var(--head); }
.pcard h3 { font-size: 20px; margin: 0 14px 6px; }
.pcard p { color: var(--muted); font-size: 15.5px; margin: 0 14px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* journey: sticky photos + steps */
.journey-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.journey-sticky { position: sticky; top: 110px; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; background: var(--orchid); }
.step-pic { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.step-pic.is-on { opacity: 1; transform: none; }
.step-pic img { width: 100%; height: 100%; object-fit: cover; }
.journey-bar { position: absolute; left: 20px; right: 20px; bottom: 20px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.6); overflow: hidden; }
.journey-bar i { display: block; height: 100%; width: calc(var(--jp, .25) * 100%); background: var(--mag); transition: width .6s var(--ease); }
.journey-copy h2 { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -.04em; margin-bottom: 40px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 34px 0; border-top: 1.5px solid var(--line); opacity: .35; transition: opacity .5s var(--ease); min-height: 34vh; }
.step.is-on { opacity: 1; }
.step-no { font: 600 15px/1 var(--head); color: var(--mag); padding: 8px 12px; border-radius: 999px; background: var(--mag-wash); height: fit-content; }
.step h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 28em; }

/* facilities card (dark, glowing) */
.fac-card { position: relative; overflow: hidden; border-radius: var(--radius); color: var(--muted); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: clamp(36px, 5vw, 80px); align-items: center; }
.fac-copy, .fac-serve { position: relative; z-index: 1; }
.fac-copy h2 { color: var(--ink); font-size: clamp(32px, 4vw, 58px); letter-spacing: -.04em; margin-bottom: 20px; }
.fac-copy p { max-width: 30em; margin-bottom: 28px; }
.fac-serve { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fac-serve li { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: 0 12px 30px -22px rgba(63,125,44,.55); }
.fac-serve b { display: block; color: var(--ink); font: 600 16px/1.25 var(--head); margin-bottom: 4px; }
.fac-serve span { font-size: 14px; color: var(--muted); }

/* online request cards */
.frow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.frow-card { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; background: #fff; text-decoration: none; transition: background .3s, transform .4s var(--ease); }
.frow-card b { font: 600 18px/1.25 var(--head); letter-spacing: -.01em; color: var(--ink); flex: 1; transition: color .3s; }
.frow-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mag-wash); color: var(--mag); flex: none; transition: .3s; }
.frow-card i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gray); color: var(--ink); transition: .4s var(--ease); }
.frow-card:hover { background: var(--ink); transform: translateY(-2px); }
.frow-card:hover b { color: #fff; }
.frow-card:hover .frow-ic, .frow-card:hover i { background: var(--mag); color: #fff; }
.frow-card:hover i { transform: rotate(-45deg); }

/* network */
.net { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.net-col { padding: 26px; border-radius: var(--radius); background: var(--gray); }
.sec-gray .net-col { background: #fff; }
.net-col h3 { font: 700 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--cherry); margin-bottom: 10px; }
.net-col li + li { border-top: 1px solid var(--gray-2); }
.net-col li > a, .net-col li > div { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; padding: 12px 0; text-decoration: none; }
.net-col b { font: 600 16px/1.3 var(--head); color: var(--ink); }
.net-col span { grid-column: 1; font-size: 14px; color: var(--muted); }
.net-col a .ic { grid-row: 1 / 3; grid-column: 2; width: 16px; height: 16px; color: var(--muted); }
.net-col a:hover b { color: var(--mag); }
.net-col .is-you > div { background: var(--ink); border-radius: 14px; padding: 12px 14px; margin: 4px -14px; }
.net-col .is-you b { color: #fff; }
.net-col .is-you span { color: #d3e4c8; }
.net-col em { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--cherry); color: #fff; }

/* ---------- pinned contact block + footer that slides over it ---------- */
.stack { position: relative; }
.reach { position: sticky; top: 0; z-index: 0; background: var(--white); padding: clamp(80px, 9vw, 140px) 0; }
.reach-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.reach h2 { font-size: clamp(36px, 5vw, 76px); letter-spacing: -.045em; margin-bottom: 22px; }
.reach-cards { display: grid; gap: 12px; }
.rc { display: flex; gap: 16px; padding: 22px; border-radius: 22px; background: var(--gray); text-decoration: none; color: var(--text); font-size: 15.5px; line-height: 1.55; }
a.rc:hover { background: var(--mag-wash); }
.rc > span:last-child { flex: 1; }
.rc b { display: block; font: 600 17px/1.3 var(--head); color: var(--ink); margin-bottom: 4px; }
.rc a { color: var(--mag); font-weight: 600; text-decoration: none; }
.rc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--mag); color: #fff; flex: none; }
.rc-hours li { display: flex; justify-content: space-between; gap: 18px; }
.rc-hours span { color: var(--muted); }
.rc-hours b { display: inline; font: 600 15px/1.5 var(--body); margin: 0; }
.rc .open.is-closed, .ways .open.is-closed { background: var(--cherry-wash); color: var(--cherry-deep); }

.foot { position: relative; z-index: 1; background: var(--orchid); color: var(--muted); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; padding: clamp(64px, 7vw, 110px) 0 28px; }
.pg-contact .foot, .pg-hipaa-notice .foot, .pg-privacy-notice .foot { margin-top: 40px; }
.foot-glow { position: absolute; inset: -10%; pointer-events: none;
  background: radial-gradient(40% 55% at 15% 105%, rgba(63,125,44,.16), transparent 70%), radial-gradient(35% 50% at 85% 110%, rgba(111,165,82,.22), transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(3%, -3%, 0) scale(1.05); } }
.foot .wrap { position: relative; }
.foot-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 56px; }
.foot-badge { display: inline-block; margin-bottom: 18px; }
.foot-badge img { width: 190px; height: auto; display: block; }
.foot-brand p { max-width: 26em; font-size: 15.5px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 15.5px; }
.foot-contact .ic { width: 18px; height: 18px; color: var(--mag); margin-top: 4px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--mag); text-decoration: underline; text-underline-offset: 3px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot h3 { color: var(--ink); font-size: 15px; margin-bottom: 16px; }
.foot-cols li { padding: 5px 0; font-size: 15px; }
.foot-word { font: 700 clamp(36px, 8.4vw, 150px)/.9 var(--head); letter-spacing: -.055em; margin: 60px 0 30px; color: var(--cherry); white-space: nowrap; -webkit-text-stroke: 0; /* owner: "Modesto Pharmacy" filled navy */
   text-align: center; user-select: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 24px; border-top: 1px solid rgba(20,35,26,.1); font-size: 14px; }
.foot-legal { display: flex; gap: 22px; }

/* ---------- inner page banner ---------- */
.banner { padding: 228px var(--gutter) 0; }
.banner-card { position: relative; max-width: calc(var(--max) + 120px); margin: 0 auto; border-radius: var(--radius); overflow: hidden; color: var(--ink); display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; padding: 12px; min-height: min(600px, 72svh); }
.banner-copy { position: relative; z-index: 1; padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; }
.banner h1 { color: var(--ink); font-size: clamp(38px, 5.2vw, 80px); letter-spacing: -.045em; line-height: 1; margin-bottom: 20px; }
.banner .lede { color: var(--muted); }
.banner-photo { position: relative; z-index: 1; border-radius: 20px; overflow: hidden; }
.banner-photo img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: auto; padding-bottom: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--mag); }
.crumbs b { color: var(--ink); font-weight: 600; }
.banner-plain { padding: 170px 0 0; }
.banner-plain .crumbs { color: var(--muted); padding-bottom: 28px; }
.banner-plain .crumbs a:hover { color: var(--mag); }
.banner-plain .crumbs b { color: var(--ink); }
.banner-plain h1 { color: var(--ink); font-size: clamp(36px, 5vw, 72px); margin-bottom: 16px; }

.jump { position: sticky; top: 160px; z-index: 20; padding: 18px 0 0; pointer-events: none; }
.jump .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump a { pointer-events: auto; flex: none; padding: 11px 18px; border-radius: 999px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: .25s; }
.jump a:hover, .jump a.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.jump + .sec { padding-top: clamp(48px, 6vw, 90px); }

/* rows, splits, panels */
.srows { display: grid; gap: 18px; }
.srow { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: var(--radius); background: var(--gray); overflow: hidden; }
.srow:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.srow:nth-child(even) .srow-img { order: 2; }
.srow-img { min-height: 300px; }
.srow-img img { width: 100%; height: 100%; object-fit: cover; }
.srow-copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.srow-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mag); color: #fff; margin-bottom: 20px; }
.srow h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; margin-bottom: 14px; }
.srow p { color: var(--muted); max-width: 30em; margin: 0; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.more-grid li { padding: 24px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--line); }
.more-grid b { display: block; font: 600 18px/1.25 var(--head); color: var(--ink); margin-bottom: 6px; }
.more-grid span { color: var(--muted); font-size: 15.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-rev .split-img { order: -1; }
.split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.6; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(32px, 3.8vw, 56px); letter-spacing: -.04em; margin-bottom: 22px; }
.split-copy > p { color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 22px 0 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--mag-wash); color: var(--mag); margin-top: 2px; stroke-width: 2.4; }
.sec-gray .ticks .ic { background: #fff; }
.note-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding: 26px 28px; border-radius: var(--radius); background: var(--orchid); color: var(--muted); }
.note-card b { font: 600 22px/1.2 var(--head); color: var(--ink); display: block; margin-bottom: 4px; }
.note-card p { margin: 0; }
.comp-link { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-radius: var(--radius); background: var(--mag); color: #fff; text-decoration: none; transition: background .3s; }
.comp-link:hover { background: var(--mag-deep); }
.comp-link b { display: block; font: 600 22px/1.2 var(--head); margin-bottom: 4px; }
.comp-link small { font-size: 15.5px; opacity: .88; }
.cl-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.18); flex: none; }
.cl-go { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; white-space: nowrap; }
#compounding.sec { padding-bottom: clamp(48px, 6vw, 90px); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { padding: 26px; border-radius: 22px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.tile b { font: 600 19px/1.25 var(--head); color: var(--ink); }
.tile span:last-child { color: var(--muted); font-size: 15.5px; }
.tile-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--mag-wash); color: var(--mag); margin-bottom: 14px; }
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.comp-card { border-radius: var(--radius); background: var(--gray); overflow: hidden; display: flex; flex-direction: column; }
.comp-img { aspect-ratio: 16 / 10; overflow: hidden; margin: 10px 10px 0; border-radius: 20px; }
.comp-img img { width: 100%; height: 100%; object-fit: cover; }
.comp-body { padding: clamp(24px, 3vw, 40px); }
.comp-body h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 12px; }
.comp-body > p { color: var(--muted); }
.comp-card .ticks .ic { background: #fff; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel { padding: 30px; border-radius: var(--radius); background: #fff; }
.panel h3 { font-size: 24px; margin-bottom: 10px; }
.panel p { color: var(--muted); margin: 0; }
.panel .ticks { margin: 8px 0 0; }
.panel .ticks .ic { background: var(--mag-wash); }
.panel-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mag); color: #fff; margin-bottom: 20px; }
.switch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.switch li { padding: 28px; border-radius: var(--radius); background: var(--gray); }
.switch li:first-child { background: var(--cherry); }
.switch li:first-child h3 { color: #fff; }
.switch li:first-child p { color: rgba(255,255,255,.88); }
.switch li:first-child .sw-no { background: rgba(255,255,255,.2); color: #fff; }
.sw-no { display: inline-block; font: 600 14px/1 var(--head); padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--cherry); margin-bottom: 36px; }
.switch h3 { font-size: 22px; margin-bottom: 8px; }
.switch p { color: var(--muted); margin: 0; font-size: 15.5px; }
.serve { display: grid; gap: 10px; margin-top: 22px; }
.serve li { padding: 16px 20px; border-radius: 18px; background: #fff; }
.serve b { display: block; font: 600 17px/1.3 var(--head); color: var(--ink); }
.serve span { color: var(--muted); font-size: 15px; }
.emar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.emar-grid li > * { display: grid; place-items: center; height: 130px; border-radius: 22px; background: #fff; border: 1.5px solid var(--cherry); padding: 20px; transition: background .3s, box-shadow .3s; }
.emar-grid a:hover { background: #fff; box-shadow: 0 0 0 1.5px var(--mag); }
.emar-grid img { max-height: 60px; max-width: 170px; width: auto; height: auto; mix-blend-mode: multiply; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pills li { padding: 9px 15px; border-radius: 999px; background: var(--mag-wash); color: var(--mag); font-weight: 600; font-size: 14.5px; }
.sec-gray .pills li { background: #fff; }

/* forms */
.fsplit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.fsplit-copy { position: sticky; top: 160px; }
.fsplit-copy h2 { font-size: clamp(32px, 3.8vw, 56px); letter-spacing: -.04em; margin-bottom: 20px; }
.fsplit-copy > p { color: var(--muted); }
.mform { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: inset 0 0 0 1.5px var(--line), 0 40px 80px -50px rgba(8,9,11,.4); }
.sec-gray .mform { box-shadow: 0 40px 80px -50px rgba(8,9,11,.3); }
.mform-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.mform-head b { display: block; font: 600 20px/1.2 var(--head); color: var(--ink); }
.mform-head small { color: var(--muted); font-size: 13.5px; }
.mform-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--mag-wash); color: var(--mag); }
.mform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.mform-grid .full { grid-column: 1 / -1; }
.mform label { display: flex; flex-direction: column; gap: 7px; }
.lbl { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--cherry); }
.mform input, .mform select, .mform textarea { font: 400 16px/1.4 var(--body); color: var(--ink); width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--gray); transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none; }
.mform select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2314231A' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 38px; }
.mform input:focus, .mform select:focus, .mform textarea:focus { outline: none; border-color: var(--mag); background: #fff; }
.mform .is-bad { border-color: #c0262d; background: #fff6f6; }
.mform-status { margin: 16px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--mag-wash); color: var(--ink); font-size: 15.5px; }
.mform-status a { color: var(--mag); font-weight: 700; }
.call-card { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: var(--orchid); color: var(--muted); }
.call-card b { display: block; font: 600 26px/1.2 var(--head); color: var(--ink); margin-bottom: 10px; }
.call-card .btn { margin-top: 10px; }
.call-card .small-print { color: var(--muted); }
.call-card .small-print a { color: var(--mag); }
.cc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mag); color: #fff; margin-bottom: 24px; }
.ways { display: grid; gap: 10px; margin-top: 26px; }
.ways li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--gray); font-size: 15.5px; }
.ways .ic { width: 22px; height: 22px; color: var(--mag); margin-top: 2px; }
.ways b { display: block; color: var(--ink); font-weight: 700; }
.ways a { text-decoration: none; }
.ways a:hover { color: var(--mag); }

/* legal */
.legal { max-width: 860px; }
.legal h2 { font-size: 28px; margin: 44px 0 14px; }
.legal h3 { font-size: 20px; margin: 28px 0 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }

/* ---------- motion: whole words rise in (never single letters) ---------- */
.js [data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-words] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.js [data-words].is-in .w > span { transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav-links > ul > li > a { padding: 10px 11px; font-size: 14.5px; }
  .nav-call span { display: none; }
  .nav-call { padding: 13px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
  .nav-burger { display: grid; }
  .nav-call { margin-left: auto; }
  .nav-links { position: fixed; top: 92px; left: var(--gutter); right: var(--gutter); max-height: calc(100svh - 110px); overflow: auto; background: #fff; border-radius: 26px; padding: 12px; box-shadow: 0 30px 80px -20px rgba(8,9,11,.45);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--ease); margin: 0; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links > ul { flex-direction: column; }
  .nav-links > ul > li > a { font-size: 18px; padding: 14px; }
  .caret { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 8px 8px; }
  .sub ul { box-shadow: none; padding: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .sub a { font-size: 14.5px; color: var(--muted); padding: 8px 6px; }
  .nav-mobile-extra { display: grid; gap: 4px; padding: 12px 6px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
  .nav-mobile-extra a { display: flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; color: var(--ink); padding: 8px; }
  .nav-mobile-extra .ic { color: var(--mag); }
  .sec-head, .journey-in, .fac-card, .reach-in, .split, .fsplit, .foot-top, .banner-card { grid-template-columns: 1fr; }
  .sec-text { justify-self: start; }
  .bx-mag, .bx-gray { grid-column: span 6; }
  .bx-photo { grid-column: span 12; min-height: 340px; }
  .bx-ink, .bx-line { grid-column: span 12; }
  .scards, .pgrid, .frow, .net, .more-grid, .tiles, .trio, .switch, .emar-grid { grid-template-columns: 1fr 1fr; }
  .journey-media { display: none; }
  .step { opacity: 1; min-height: 0; }
  .fsplit-copy { position: static; }
  .banner-photo { aspect-ratio: 16 / 10; }
  .banner-card { min-height: 0; }
  .crumbs { padding-bottom: 28px; }
  .reach { position: relative; }
  .srow, .srow:nth-child(even) { grid-template-columns: 1fr; }
  .srow:nth-child(even) .srow-img { order: 0; }
  .srow-img { aspect-ratio: 16 / 10; min-height: 0; }
  .split-rev .split-img { order: 0; }
  .comp { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding-top: 10px; }
  .nav-pill { height: 60px; padding: 0 6px; gap: 8px; margin-top: 12px; }
  .nav-call { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .nav-links { top: 80px; }
  .hero { min-height: 700px; }
  .hero-copy { padding-top: 215px; padding-bottom: 20px; }
  .hero-foot { grid-template-columns: 1fr; padding-bottom: 12px; }
  .hf { padding: 12px 2px; }
  .hf:nth-child(3) { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bx-mag, .bx-gray, .bx-photo, .bx-ink, .bx-line { grid-column: auto; grid-row: auto; min-height: 0; }
  .bx-mag, .bx-gray { padding-top: 100px; }
  .bx-photo { min-height: 300px; }
  .scards, .pgrid, .frow, .net, .more-grid, .tiles, .trio, .switch, .fac-serve, .mform-grid { grid-template-columns: 1fr; }
  .emar-grid li > * { height: 100px; padding: 14px; }
  .banner { padding-top: 196px; }
  .banner-card { padding: 8px; }
  .jump { top: 88px; }
  .cl-go { display: none; }
  .note-card .btn, .reach-btns .btn, .call-card .btn { width: 100%; justify-content: space-between; }
  .foot-base { flex-direction: column; }
  .mq li { width: 160px; height: 76px; margin: 0 5px; }
  .mq img { max-width: 118px; max-height: 40px; }
  .sub ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-words] .w > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-card { transform: none; border-radius: 0; }
}

/* menu links stay on top down to 861px (owner 2026-12-01: "the options are not showing on top");
   only phones and small tablets use the menu button */
@media (min-width: 861px) and (max-width: 1020px) {
  .nav-burger { display: none; }
  .nav-call { margin-left: 0; }
  .nav-links { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0; max-height: none; overflow: visible; margin-left: auto; }
  .nav-links > ul { flex-direction: row; }
  .nav-links > ul > li > a { font-size: 14px; padding: 10px 9px; }
  .caret { display: inline; }
  .sub { position: absolute; opacity: 0; visibility: hidden; transform: translateY(6px); padding: 10px 0 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .sub ul { display: block; min-width: 250px; background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 24px 60px -20px rgba(8,9,11,.35), 0 0 0 1px var(--line); }
  .sub a { font-size: 15px; color: var(--text); padding: 11px 14px; }
  .nav-mobile-extra { display: none; }
}
@media (max-width: 860px) { .nav-links { top: 196px; } }
@media (max-width: 640px) {
  .nav-logo img { height: 140px; }
  .nav.is-scrolled .nav-logo img { height: 117px; }
  .nav-links { top: 160px; }
}

/* =====================================================================
   Stride demo effects (owner 2026-12-01: missing effects from the original GetLayers demo)
   ===================================================================== */

/* ---------- loading screen: logo, counter riding the bar, bar grows over the screen, slides up ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: #fff; display: grid; place-items: center; will-change: transform; }
.no-loader .loader { display: none; }
.loader-logo { position: relative; z-index: 2; }
.loader-logo img { height: min(30vh, 210px); width: auto; display: block; }
.loader-count { position: absolute; z-index: 2; bottom: 84px; left: 16%; transform: translateX(-100%); font: 300 clamp(64px, 7vw, 104px)/1 var(--head); letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 100vh; transform-origin: 50% 100%; transform: scaleY(.07); z-index: 1; }
.loader-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #dcebd0, var(--mag)); transform-origin: 0 50%; transform: scaleX(0); }
html.is-loading { overflow: hidden; }
@media (max-width: 767px) { .loader-count { display: none; } }

/* ---------- smooth scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- headings and cards: driven frame by frame from site.js (rise + blur cascade) ---------- */
.js [data-words] .w { overflow: visible; padding: 0; margin: 0; }
.js [data-words] .w > span { transform: none; transition: none; will-change: transform, opacity, filter; }
.js .reveal { transition: none; opacity: 1; transform: none; }
/* .cas items start hidden from site.js (inline), so no CSS rule here */

/* ---------- hero: card shrink by clip-path, UI scales, 3D strand burst ---------- */
.hero-card { transform: none; border-radius: 0; clip-path: inset(calc(var(--p) * 24px) round calc(var(--p) * 24px)); }
[data-hero-ui] { transform: scale(calc(1 - var(--p) * .1)); transform-origin: 50% 100%; }
.burst { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ---------- logo strip moves with the scroll (no autoplay) ---------- */
.mq ul { animation: none; will-change: transform; }
.mq li { margin: 0 16px 0 0; }

/* ---------- hover columns: photo rises from the bottom, white scrim follows ---------- */
.showcase { padding: clamp(72px, 9vw, 140px) 0 0; }
.sc-cols { display: grid; grid-template-columns: repeat(4, 1fr); height: 85vh; min-height: 540px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sc-col { position: relative; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.4vw, 36px); }
.sc-col + .sc-col { border-left: 1px solid var(--line); }
.sc-img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .75s cubic-bezier(.22, 1, .36, 1); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.sc-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(to top, #fff 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,0)); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .75s cubic-bezier(.22, 1, .36, 1); }
.sc-col:hover .sc-img, .sc-col:focus-visible .sc-img { clip-path: inset(0 0 0 0); }
.sc-col:hover .sc-img img, .sc-col:focus-visible .sc-img img { transform: scale(1); }
.sc-col:hover .sc-scrim, .sc-col:focus-visible .sc-scrim { transform: scaleY(1); }
.sc-no { position: absolute; top: clamp(22px, 2.4vw, 36px); left: clamp(22px, 2.4vw, 36px); font: 600 14px/1 var(--head); color: var(--cherry); z-index: 1; }
.sc-text { position: relative; z-index: 1; }
.sc-text h3 { font-size: clamp(24px, 2.3vw, 36px); letter-spacing: -.03em; margin-bottom: 10px; }
.sc-text p { color: var(--muted); margin: 0; max-width: 22em; }
@media (max-width: 1020px) {
  .sc-cols { grid-template-columns: 1fr 1fr; height: auto; }
  .sc-col { min-height: 380px; }
  .sc-col:nth-child(3) { border-left: 0; }
  .sc-col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sc-img { clip-path: inset(0 0 0 0); }
  .sc-img img { transform: none; }
  .sc-scrim { transform: scaleY(1); }
}
@media (max-width: 640px) { .sc-cols { grid-template-columns: 1fr; } .sc-col + .sc-col { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- pinned 3D card wheel (packaging) ---------- */
.wheel { position: relative; height: 400vh; }
.wheel-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; perspective: 1900px; background: var(--orchid); }
.wheel-bg { position: absolute; inset: 0; }
.wbg { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(42px) saturate(1.15); opacity: 0; transform: scale(1.6); will-change: transform, opacity; }
.wheel-bg::after { content: ""; position: absolute; inset: 0; background: rgba(242, 246, 236, .72); }
.wheel-head { position: absolute; top: clamp(96px, 14vh, 150px); left: 0; right: 0; z-index: 3; text-align: center; }
.wheel-head .eyebrow { justify-content: center; display: flex; }
.wheel-head h2 { font-size: clamp(30px, 3.6vw, 54px); letter-spacing: -.04em; }
.wheel-cards { position: absolute; left: 50%; top: 58%; width: 0; height: 0; transform-style: preserve-3d; z-index: 2; }
.wcard { position: absolute; left: 0; top: 0; width: min(88vw, 46rem); aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; backface-visibility: hidden; box-shadow: 0 40px 90px -40px rgba(20, 35, 26, .55); will-change: transform, opacity; background: #fff; }
.wcard img { width: 100%; height: 100%; object-fit: cover; }
.wcard::after { content: ""; position: absolute; inset: 0; background: rgba(20, 35, 26, var(--dim, 0)); pointer-events: none; }
.wcard-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; background: linear-gradient(to top, rgba(20, 35, 26, .85), rgba(20, 35, 26, 0)); color: rgba(255,255,255,.86); }
.wcard-cap span { font: 600 13px/1 var(--head); color: #d6dcf5; }
.wcard-cap h3 { color: #fff; font-size: clamp(22px, 2.2vw, 32px); margin: 8px 0 6px; }
.wcard-cap p { margin: 0; font-size: 15.5px; max-width: 34em; }
.wheel-hud { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 3; display: flex; align-items: center; gap: 20px; }
.wheel-hud b { font: 600 18px/1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.wheel-hud [data-wheel-name] { color: var(--muted); font-weight: 600; }
.wheel-hud .btn { margin-left: auto; }
@media (max-width: 640px) { .wheel-hud { flex-wrap: wrap; gap: 10px; } .wheel-hud .btn { margin-left: 0; } .wcard-cap p { display: none; } .wheel-cards { top: 55%; } }

/* ---------- pinned 3D capsule; the next section slides up over it ---------- */
.layer { position: relative; }
.capsule { position: sticky; top: 0; height: 100vh; height: 100lvh; z-index: 1; overflow: hidden; background-color: var(--orchid);
  background-image: radial-gradient(50% 70% at 10% 100%, rgba(63,125,44,.16), transparent 70%), radial-gradient(40% 60% at 95% 0%, rgba(33,46,116,.07), transparent 70%); }
.capsule3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.capsule-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.capsule-h { font-size: clamp(46px, 7.4vw, 124px); letter-spacing: -.05em; line-height: .96; max-width: 8.5em; }
.capsule-aside { position: absolute; right: var(--gutter); bottom: clamp(32px, 7vh, 72px); max-width: 22em; margin: 0; font: 500 clamp(18px, 1.6vw, 24px)/1.35 var(--head); color: var(--muted); }
.layer-over { position: relative; z-index: 2; background: #fff; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -30px 60px -40px rgba(20, 35, 26, .3); }
@media (max-width: 640px) { .capsule-aside { left: var(--gutter); right: var(--gutter); } }

/* ---------- footer: 3D mortar and pestle (owner: pharmacy animation instead of the heart) ---------- */
.foot { min-height: 100vh; }
.foot3d { position: absolute; left: 50%; bottom: clamp(120px, 13vw, 210px); z-index: 2 !important; transform: translateX(-50%); width: min(34vw, 380px); height: min(34vw, 380px); pointer-events: none; z-index: 0; }
.foot .wrap { z-index: 1; }
@media (max-width: 1020px) { .foot3d { width: 52vw; height: 52vw; bottom: 80px; } }
.foot-word { margin-top: clamp(150px, 18vw, 260px); }

@media (prefers-reduced-motion: reduce) {

  .wheel { height: auto; }
  .wheel-stage { position: relative; height: auto; padding: 160px 0 120px; perspective: none; }
  .wheel-cards { position: static; width: auto; height: auto; display: grid; gap: 16px; padding: 0 var(--gutter); }
  .wcard { position: relative; width: 100%; }
  .wheel-hud { position: static; margin-top: 20px; }
  .wheel-head { position: static; margin-bottom: 30px; }
}

/* ---------- eMAR card holds the moving logos (owner: eMAR in one place) ---------- */
.bx-emar { grid-column: span 8; padding-top: 96px; gap: 22px; }
.bx-emar + .bx-line { grid-column: span 4; }
.bx-emar-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bx-emar-top .btn { margin-top: 0; }
.bx-emar .marquee { padding: 0; margin: 0 -30px; }
.bx-emar .mq li { width: 170px; height: 76px; }
.bx-emar .mq img { max-width: 124px; max-height: 42px; }
@media (max-width: 1020px) { .bx-emar, .bx-emar + .bx-line { grid-column: span 12; } }
@media (max-width: 640px) { .bx-emar, .bx-emar + .bx-line { grid-column: auto; } .bx-emar .mq li { width: 140px; height: 66px; } }

/* ---------- animated 18-pharmacy network ---------- */
.net-orbit { position: relative; margin: 0 auto 40px; border-radius: var(--radius); overflow: hidden; background: var(--orchid);
  background-image: radial-gradient(45% 60% at 50% 50%, rgba(255,255,255,.9), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(63,125,44,.12), transparent 70%); }
.orbit { display: block; width: 100%; height: clamp(440px, 52vw, 640px); }
@media (max-width: 640px) { .orbit { height: 520px; } }

/* ---------- network cards: address + directions + website (owner 2026-12-01) ---------- */
.net-col li > div { display: block; padding: 14px 0; }
.net-col b { display: block; margin-bottom: 3px; }
.net-col .net-addr { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.net-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.net-links a { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--mag); text-decoration: none; }
.net-links a:hover { color: var(--cherry); text-decoration: underline; text-underline-offset: 3px; }
.net-links .ic { width: 14px; height: 14px; }
.net-col .is-you > div { padding: 14px 16px; }
.net-col .is-you .net-addr { color: #d6dcf5; }
.net-col .is-you .net-links a { color: #cfe3c2; }
.net-col .is-you em { display: inline-block; margin-top: 10px; }

/* ---------- right-side form icons (owner 2026-12-01: "little icons" instead of a Forms panel) ---------- */
.dock { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 45; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -20px rgba(20,35,26,.45), 0 0 0 1px var(--line); }
.dock-btn { position: relative; display: block; text-decoration: none; }
.dock-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mag-wash); color: var(--mag); transition: background .25s, color .25s, transform .25s var(--ease); }
.dock-ic .ic { width: 19px; height: 19px; }
.dock-btn:hover .dock-ic, .dock-btn:focus-visible .dock-ic { background: var(--mag); color: #fff; transform: scale(1.08); }
.dock-phone .dock-ic { background: var(--cherry); color: #fff; }
.dock-phone:hover .dock-ic { background: var(--cherry-deep); }
.dock-tip { position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font: 600 14px/1 var(--body); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.dock-btn:hover .dock-tip, .dock-btn:focus-visible .dock-tip { opacity: 1; transform: translate(0, -50%); }
.is-loading .dock { display: none; }
@media (max-width: 760px) {
  .dock { top: auto; bottom: 12px; right: 50%; transform: translateX(50%); flex-direction: row; gap: 6px; padding: 6px; }
  .dock-ic { width: 40px; height: 40px; }
  .dock-tip { display: none; }
  .foot { padding-bottom: 90px; }
}

/* menu items always on one line (owner 2026-12-01: "Sterile / Non-Sterile" wrapped); tighter between 861 and 1240px */
.nav-links > ul > li > a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1240px) {
  .nav-links > ul { gap: 0; }
  .nav-links > ul > li > a { font-size: 13px; padding: 9px 7px; }
  .nav-pill { gap: 8px; padding-left: 10px; }
  .caret { width: 10px; height: 10px; }
}

/* hero tag: clear space below the big logo, a stronger white pill (owner 2026-12-01) */
.hero-tag { margin-top: 12px; margin-bottom: 30px; padding: 10px 18px; font-size: 14.5px; font-weight: 600; background: #fff; box-shadow: 0 10px 26px -16px rgba(20,35,26,.4), inset 0 0 0 1px var(--orchid-2); }

/* menu options highlighted as their own pills (owner 2026-12-01: "highlight the options on top bar") */
.nav-links > ul { gap: 5px; }
.nav-links > ul > li > a { background: var(--mag-wash); color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(63,125,44,.14); }
.nav-links > ul > li > a:hover, .nav-links > ul > li:focus-within > a { background: var(--mag); color: #fff; box-shadow: none; }
.nav-links > ul > li > a[aria-current="page"] { background: var(--mag); color: #fff; box-shadow: 0 8px 18px -10px rgba(63,125,44,.7); }
.nav-links > ul > li > a .caret { opacity: .75; }
@media (min-width: 861px) and (max-width: 1240px) { .nav-links > ul { gap: 3px; } }
@media (max-width: 860px) {
  .nav-links > ul { gap: 4px; }
  .nav-links > ul > li > a { background: none; box-shadow: none; }
  .nav-links > ul > li > a[aria-current="page"] { background: var(--mag-wash); color: var(--mag); box-shadow: none; }
}

/* medium screens 861-1100px: smaller pills + logo so the whole menu fits (owner OK 2026-12-01) */
@media (min-width: 861px) and (max-width: 1100px) {
  .nav-in { gap: 10px; }
  .nav-logo img { height: 140px; }
  .nav.is-scrolled .nav-logo img { height: 112px; }
  .nav-links > ul { gap: 2px; }
  .nav-links > ul > li > a { font-size: 12.5px; padding: 8px 6px; }
  .nav-pill { padding: 0 6px 0 8px; gap: 6px; }
  .caret { display: none; }
}

/* ---------- pharmacy network: one box per pharmacy, click to highlight (owner 2026-12-01) ---------- */
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.net-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 20px; border-radius: 22px; background: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, background .25s, transform .3s var(--ease); outline: none; }
.net-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--mag-lite), 0 18px 40px -26px rgba(20,35,26,.4); }
.net-card:focus-visible { box-shadow: inset 0 0 0 2px var(--mag), 0 0 0 4px var(--mag-wash); }
.net-card.is-selected { background: var(--mag-wash); box-shadow: inset 0 0 0 2.5px var(--mag), 0 22px 44px -26px rgba(63,125,44,.55); transform: translateY(-3px); }
.net-region { font: 700 11.5px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--cherry); margin-bottom: 6px; }
.net-card b { font: 600 18px/1.3 var(--head); color: var(--ink); }
.net-card .net-addr { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.net-card .net-links { margin-top: auto; padding-top: 12px; }
.net-card.is-you { background: var(--cherry); box-shadow: none; }
.net-card.is-you b { color: #fff; }
.net-card.is-you .net-region { color: #cfe3c2; }
.net-card.is-you .net-addr { color: #d6dcf5; }
.net-card.is-you .net-links a { color: #cfe3c2; }
.net-card.is-you.is-selected { box-shadow: 0 0 0 3px var(--mag), 0 22px 44px -26px rgba(33,46,116,.6); }
.net-card em { position: absolute; top: 18px; right: 18px; font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: #fff; color: var(--cherry); }
@media (max-width: 1020px) { .net-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .net-grid { grid-template-columns: 1fr; } }

/* hero grows with its content so the tag never slides up under the logo (owner 2026-12-01) */
.hero { height: auto; min-height: 100svh; }
.hero-card { position: relative; inset: auto; min-height: 100svh; }

/* ---------- secure Jotforms + HIPAA note under every form (owner 2026-12-01) ---------- */
.jf-frame { display: block; width: 100%; min-height: 720px; border: 0; border-radius: 16px; background: #fff; }
.jf-fallback { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.jf-fallback a { color: var(--mag); font-weight: 700; }
.hipaa-note { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--cherry-wash); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.hipaa-note .ic { width: 22px; height: 22px; color: var(--cherry); flex: none; margin-top: 1px; }
.hipaa-note b { color: var(--cherry); }

/* owner 2026-12-01: on Patients (and other pages) the section buttons and the text beside each form stayed stuck
   while scrolling and overlapped the forms -> both scroll normally now */
.jump { position: relative; top: auto; z-index: 1; pointer-events: auto; padding-top: 28px; }
.fsplit-copy { position: static; top: auto; }

.wheel-sub { max-width: 40em; margin: 14px auto 0; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); }
#packaging .note-card { margin: 0 0 32px; }
@media (max-width: 640px) { .wheel-sub { font-size: 14.5px; padding: 0 4px; } }

/* 8 service cards on the home page (owner added med room inspections + specialized forms) */
.scards { grid-template-columns: repeat(4, 1fr); }
.scard h3 { font-size: 20px; }
@media (max-width: 1240px) { .scards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .scards { grid-template-columns: 1fr; } }

/* owner 2026-12-01: the big logo overlapped content while scrolling -> once scrolled, a white bar spans the top,
   the logo shrinks to fit inside it beside the menu, and the page scrolls under the bar */
.nav { transition: padding .4s var(--ease), background .35s, box-shadow .35s; }
.nav.is-scrolled { padding-top: 8px; padding-bottom: 8px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(20,35,26,.35); }
.nav.is-scrolled .nav-in { align-items: center; }
.nav.is-scrolled .nav-logo { margin-top: 0; filter: none; }
.nav.is-scrolled .nav-logo img { height: 84px; }
.nav.is-scrolled .nav-pill { margin-top: 0; box-shadow: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 861px) and (max-width: 1100px) { .nav.is-scrolled .nav-logo img { height: 78px; } }
@media (max-width: 640px) { .nav.is-scrolled .nav-logo img { height: 66px; } .nav.is-scrolled .nav-pill { height: 54px; } }
.jump { scroll-margin-top: 120px; }

/* owner 2026-12-01: on Services the section buttons stay pinned under the white top bar (solid strip, no overlap) */
.pg-services .jump { position: sticky; top: 100px; z-index: 30; padding: 10px 0; background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.pg-services .jump a { box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 861px) and (max-width: 1100px) { .pg-services .jump { top: 94px; } }
@media (max-width: 640px) { .pg-services .jump { top: 82px; } }
.pg-services section[id], .pg-services article[id] { scroll-margin-top: 170px; }

/* =====================================================================
   Polish pass 2026-12-01 (owner: "make the site look better, not like AI generated").
   Refines the existing look only: colours, fonts, logo, menu and effects stay as the owner chose.
   ===================================================================== */

/* browser surfaces in the site's own colours */
::selection { background: #D5E7C6; color: var(--ink); }
html { scrollbar-color: #9DBE8A var(--gray); accent-color: var(--mag); }
input, textarea { caret-color: var(--mag); }
a { text-underline-offset: 3px; }

/* headings wrap in balanced lines (no single word left alone on the last line); paragraphs avoid orphans */
h1, h2, h3, .statement { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* one green emphasis per page: the big page title keeps its green words, section headings are one colour
   (the green-last-words pattern on every heading read as a template); the capsule moment keeps its green */
h2 .mag, h2 .mag-lite { color: inherit; }
.capsule-h .mag { color: var(--mag); }

/* section headings sit tighter to their text now that the small labels above them are gone */
.sec-head { align-items: end; }
.sec-head h2, .split-copy h2, .fsplit-copy h2, .journey-copy h2, .fac-copy h2, .reach h2 { text-wrap: balance; }
.comp-meta { margin: 0 0 12px; font-size: 14.5px; font-weight: 600; color: var(--muted); }

/* buttons: press feedback; hover lift only where a mouse is used */
.btn { transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-ink:hover { --bg: #26402E; }
.nav-call:active, .frow-card:active, .dock-btn:active .dock-ic { transform: scale(.96); }

/* cards: quieter hover (2px lift, photo zoom 1.03) */
.scard:hover { transform: translateY(-2px); }
.scard:hover .scard-img img { transform: scale(1.03); }
.net-card:hover, .net-card.is-selected { transform: translateY(-2px); }
@media (hover: none) {
  .btn:hover, .scard:hover, .net-card:hover, .frow-card:hover { transform: none; }
  .scard:hover .scard-img img { transform: none; }
  .btn:hover .btn-dot { transform: none; }
}

/* phones: every tap target at least 44px */
@media (max-width: 760px) {
  .dock { gap: 4px; }
  .dock-ic { width: 44px; height: 44px; }
  .net-links { gap: 0 16px; margin-top: 4px; }
  .net-links a { min-height: 44px; }
  .foot-cols li { padding: 0; }
  .foot-cols li a, .foot-legal a, .foot-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-contact li { padding: 0; align-items: center; }
  .foot-contact .ic { margin-top: 0; }
  .sub a { min-height: 44px; display: flex; align-items: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
}

/* "Care settings" columns: each photo already shows in the top part of its column (empty white columns read
   as broken); on hover it still rises to fill the column with the white scrim behind the text */
@media (min-width: 1021px) {
  .sc-cols { height: 78vh; min-height: 560px; max-height: 760px; }
  .sc-img { clip-path: inset(0 0 52% 0); }
  .sc-img img { transform: scale(1.04); }
}

/* eMAR logo grid: logos shrink to their box (the two-column grid pushed past the screen on phones) */
.emar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.emar-grid li > * { min-width: 0; }
.emar-grid img { max-width: min(170px, 100%); }
@media (max-width: 1020px) { .emar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 1241-1500px: the full menu plus the big logo ran past the right edge (call button cut off) -> call button shows
   its icon only and the pills are a little tighter, so the menu still fits on one line */
@media (min-width: 1241px) and (max-width: 1500px) {
  .nav-call span { display: none; }
  .nav-call { padding: 13px; }
  .nav-links > ul { gap: 3px; }
  .nav-links > ul > li > a { font-size: 14px; padding: 10px; }
  .nav-pill { gap: 10px; padding-left: 10px; }
}

/* contrast: green text on the pale green chips uses the deeper green (4.4:1 -> 6:1); upcoming journey steps stay readable */
.pills li, .step-no, .sub a:hover { color: var(--mag-deep); }
@media (max-width: 860px) { .nav-links > ul > li > a[aria-current="page"] { color: var(--mag-deep); } }
.step { opacity: .5; }
.step.is-on { opacity: 1; }
@media (max-width: 1020px) { .step { opacity: 1; } }

/* owner 2026-12-01: highlight the packaging message (care homes, caregivers, pill bottles -> bubble packs) */
.wheel-sub { max-width: 46em; margin: 18px auto 0; padding: 16px 24px; border-radius: 20px; background: rgba(255,255,255,.92);
  box-shadow: inset 0 0 0 2px var(--mag), 0 14px 34px -22px rgba(63,125,44,.6); color: var(--ink); font: 600 clamp(16px, 1.35vw, 20px)/1.5 var(--body); text-wrap: balance; }
@media (max-width: 640px) { .wheel-sub { padding: 12px 16px; font-size: 15px; margin-left: 4px; margin-right: 4px; } }

/* owner 2026-12-01: the "18 pharmacies" box links to the pharmacy network */
.bx-link { text-decoration: none; color: inherit; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
.bx-link:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--mag), 0 20px 40px -26px rgba(63,125,44,.5); }
.bx-link:focus-visible { box-shadow: inset 0 0 0 2px var(--mag), 0 0 0 4px var(--mag-wash); }
.bx .bx-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--mag-deep); }
.bx-go .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.bx-link:hover .bx-go .ic { transform: translateX(4px); }

/* owner 2026-12-01: the boxed highlight "is not good" -> clean larger text, marker-pen highlight on the key phrase */
.wheel-sub { max-width: 44em; margin: 18px auto 0; padding: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--ink); font: 500 clamp(17px, 1.5vw, 22px)/1.55 var(--body); text-wrap: balance; }
.wheel-sub mark { color: inherit; font-weight: 700; padding: 0 3px; border-radius: 3px;
  background: linear-gradient(180deg, transparent 52%, rgba(111,165,82,.38) 52%, rgba(111,165,82,.38) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 640px) { .wheel-sub { font-size: 16px; padding: 0 6px; margin-left: 0; margin-right: 0; } }

/* owner 2026-12-01: no tilt on the logo; once scrolled, hovering the small logo shows it at its original size */
.nav-logo img { transform-origin: 0 0; transition: height .4s var(--ease), transform .45s var(--ease), filter .3s; }
.nav-logo:hover img, .nav-logo:active img { transform: translateY(-2px); filter: drop-shadow(0 14px 22px rgba(20,35,26,.22)); }
.nav.is-scrolled .nav-logo { position: relative; z-index: 3; }
.nav.is-scrolled .nav-logo:hover img, .nav.is-scrolled .nav-logo:focus-visible img { transform: scale(2.095); filter: drop-shadow(0 18px 30px rgba(20,35,26,.28)); }
@media (min-width: 861px) and (max-width: 1100px) { .nav.is-scrolled .nav-logo:hover img, .nav.is-scrolled .nav-logo:focus-visible img { transform: scale(1.8); } }
@media (hover: none) { .nav.is-scrolled .nav-logo:hover img { transform: none; filter: none; } }

/* QA 2026-12-01: contact block fits 320px phones (long email / hours no longer push the page sideways) */
.reach-in > *, .rc > span { min-width: 0; }
.rc { overflow-wrap: anywhere; }

/* owner 2026-12-01: photo box removed; "All major insurance" takes its place; eMAR box spans the full width */
.bx-ins { grid-column: span 5; grid-row: span 2; padding-top: 96px; }
.bento .bx-emar { grid-column: 1 / -1; }
@media (max-width: 1020px) { .bx-ins { grid-column: span 12; grid-row: auto; } }
@media (max-width: 640px) { .bx-ins { grid-column: auto; } }

/* owner 2026-12-01: elegant color fills for "All major insurance" (mint/green) and "18 pharmacies" (soft navy) */
.bento .bx-ins { box-shadow: inset 0 0 0 1px rgba(63,125,44,.18);
  background: radial-gradient(120% 90% at 100% 0%, rgba(111,165,82,.28), transparent 60%), linear-gradient(160deg, #e6f1dc 0%, #f6faf1 70%); }
.bento .bx-ins .bx-ic { background: var(--mag); color: #fff; }
.bento .bx-ins .bx-mid { color: var(--mag-deep); }
.bento .bx-ins p:not(.bx-mid) { color: #3c4a40; }
.bento .bx-gray { box-shadow: inset 0 0 0 1px rgba(33,46,116,.14);
  background: radial-gradient(110% 90% at 0% 100%, rgba(33,46,116,.16), transparent 60%), linear-gradient(200deg, #e7ebf7 0%, #f5f7fc 75%); }
.bento .bx-gray .bx-ic { background: var(--cherry); color: #fff; }
.bento .bx-gray .bx-big { color: var(--cherry); }
.bento .bx-gray p:not(.bx-big) { color: #343c58; }
.bento .bx-gray .bx-go { color: var(--cherry); }
.bento .bx-gray.bx-link:hover { box-shadow: inset 0 0 0 2px var(--cherry), 0 20px 40px -26px rgba(33,46,116,.5); }

/* owner 2026-12-01: keep the woman on the right of the Facilities banner in view */
.pg-facilities .banner-photo img { object-position: 82% 50%; }

/* owner 2026-12-02: checkpoint photos sit inside each step and scroll with it */
.journey-in { grid-template-columns: 1fr; }
.journey-copy { max-width: 1080px; margin: 0 auto; width: 100%; }
.step.step-row { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(18px, 3vw, 44px); align-items: center; opacity: 1; min-height: 0; padding: 30px 0; }
.step-row .step-img { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 24px 50px -32px rgba(20,35,26,.45); }
.step-row .step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-row:nth-child(even) .step-text { order: 3; }
.step-row:nth-child(even) .step-img { order: 2; }
@media (max-width: 760px) {
  .step.step-row { grid-template-columns: auto minmax(0, 1fr); }
  .step-row .step-img, .step-row:nth-child(even) .step-img { grid-column: 1 / -1; order: 3; }
  .step-row:nth-child(even) .step-text { order: 2; }
}
