/* Bell Pharmacy homepage, round 2: Bell's own Brand & Website Guidelines (Nov 2026).
   Theme = engine tokens + Bell's palette; the engine (scrollcraft.css) is untouched.
   Brand shapes: the logo's cut circle, rounded cards (12-20px), 8px buttons, thin cyan
   outlines, soft tinted sections and three overlapping rounded diamonds. */

/* Myriad Pro / DIN Next stand-ins (OFL). Swap the two --sc-font tokens if Bell supplies licensed webfonts. */
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3-latin-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --sc-canvas: #FFFFFF;
  --sc-surface: #FFFFFF;
  --sc-ink: #1E1E1E;               /* Bell charcoal */
  --sc-ink-soft: #46505C;
  --sc-accent: #0061BB;            /* Bell blue */
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Source Sans 3", "Myriad Pro", Arial, Helvetica, sans-serif;
  --sc-font-text: "Barlow", "DIN Next", Arial, Helvetica, sans-serif;
  --sc-t-base: clamp(1.125rem, 1.09rem + 0.15vw, 1.1875rem);   /* 18px floor */
  --sc-shadow-color: 208 70% 30%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.07);
  --sc-e2: 0 2px 6px hsl(var(--sc-shadow-color) / 0.06), 0 10px 26px -8px hsl(var(--sc-shadow-color) / 0.14);
  --sc-e3: 0 6px 14px hsl(var(--sc-shadow-color) / 0.07), 0 26px 56px -14px hsl(var(--sc-shadow-color) / 0.22);
  --sc-maxw: 80rem;

  --bell-blue-700: #004E97;
  --bell-cyan: #3DC5FF;
  --bell-aqua: #8AE3F7;
  --bell-tint: #EEF8FD;
  --bell-tint-2: #DDF2FB;
  --bell-line: #CFE2EE;
  --bell-field: #7D8FA3;           /* 3:1+ on white: input borders are UI components */
  --bell-green: #0B7A3B;
  --bell-error: #B42318;
  --bar-h: 84px;
  --r-card: 16px;
  --r-photo: 20px;
  --r-btn: 8px;
}

body { font-weight: 400; color: var(--sc-ink); background: #fff; }
:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; }
:where(a) { color: var(--sc-accent); }
:where(p, ul, dl, dd, figure, blockquote, h3) { margin: 0; }
:where(ul[role="list"]) { list-style: none; padding: 0; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--sc-accent); color: #fff; padding: 12px 18px; border-radius: var(--r-btn); font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ------------------------------------------------------------- type ---- */
.h2 { font-family: var(--sc-font-display); font-weight: 700; color: var(--sc-accent);
  font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.25rem); line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; margin: 0; }
.h3 { font-family: var(--sc-font-display); font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.65rem); font-weight: 700; color: var(--sc-accent); line-height: 1.2; margin: 0; }
.lede { font-size: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem); line-height: 1.6; color: var(--sc-ink-soft); max-width: 58ch; text-wrap: pretty; }
.lede a, .insurance a, .faq a { font-weight: 600; }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-btn); border: 1.5px solid transparent;
  font-family: var(--sc-font-text); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.005em; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sc-accent); color: #fff; }
.btn--secondary { background: #fff; color: var(--sc-accent); border-color: var(--sc-accent); }
.btn--quiet { background: var(--bell-tint); color: var(--sc-accent); border-color: var(--bell-line); }
.btn--big { min-height: 58px; font-size: 1.1875rem; padding: 0 28px; }
.btn--sm { min-height: 46px; padding: 0 16px; font-size: 1rem; }
.btn__icon { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--bell-blue-700); }
  .btn--secondary:hover, .btn--quiet:hover { background: var(--bell-tint-2); }
}
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.textlink { color: var(--sc-accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }

.field {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--bell-field); border-radius: var(--r-btn);
  background: #fff; color: var(--sc-ink); font: inherit; font-size: 1.0625rem;
  transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
select.field { appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%230061BB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; }
.field:focus-visible { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--sc-accent) 22%, transparent); }
.field[aria-invalid="true"] { border-color: var(--bell-error); }

/* The diamond trio from Bell's graphic language (pure decoration, always aria-hidden). */
.hs--gems, .services__gems { display: flex; }
.hs--gems i, .services__gems i { display: block; width: var(--gem, 46px); aspect-ratio: 1; border-radius: 22%; transform: rotate(45deg); flex: none; }
.hs--gems i + i, .services__gems i + i { margin-left: calc(var(--gem, 46px) * -0.3); }
.hs--gems i:nth-child(1), .services__gems i:nth-child(1) { background: var(--sc-accent); }
.hs--gems i:nth-child(2), .services__gems i:nth-child(2) { background: var(--bell-cyan); }
.hs--gems i:nth-child(3), .services__gems i:nth-child(3) { background: var(--bell-aqua); }

/* ------------------------------------------------------- utility + bar -- */
.utility { background: var(--sc-accent); color: #fff; }
.utility__inner { max-width: var(--sc-maxw); margin: 0 auto; padding: 8px var(--sc-gutter); font-size: 0.9375rem; font-weight: 500; text-align: center; letter-spacing: 0.01em; }

.bar { position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / 0.98); border-bottom: 1px solid var(--bell-line); }
.bar__inner { max-width: var(--sc-maxw); margin: 0 auto; padding: 0 var(--sc-gutter); height: var(--bar-h); display: flex; align-items: center; gap: 28px; }
.bar__logo { display: block; flex: none; border-radius: 6px; padding: 4px 0; }
.bar__logo img { height: 64px; width: auto; display: block; }
.bar__nav { margin-left: auto; }
.bar__nav ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.bar__nav a { color: var(--sc-ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 2px; border-bottom: 2px solid transparent; transition: border-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { color: var(--sc-accent); border-bottom-color: var(--bell-cyan); } }
.callchip {
  display: inline-flex; flex-direction: column; justify-content: center; flex: none;
  min-height: 54px; padding: 6px 20px; border-radius: var(--r-btn); background: var(--sc-accent); color: #fff;
  text-decoration: none; line-height: 1.15; transition: background-color 160ms var(--sc-ease-out);
}
.callchip__label { font-weight: 700; font-size: 1.0625rem; }
.callchip__store { font-size: 0.8125rem; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .callchip:hover { background: var(--bell-blue-700); } }
.bar__menu { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--bell-line); border-radius: var(--r-btn); background: #fff; color: var(--sc-ink); font: inherit; font-weight: 600; cursor: pointer; }
.bar__menu-icon, .bar__menu-icon::before, .bar__menu-icon::after { display: block; width: 18px; height: 2px; background: var(--sc-ink); border-radius: 2px; position: relative; transition: transform 180ms var(--sc-ease-out), opacity 180ms; }
.bar__menu-icon::before, .bar__menu-icon::after { content: ""; position: absolute; left: 0; }
.bar__menu-icon::before { top: -6px; } .bar__menu-icon::after { top: 6px; }
.bar__menu[aria-expanded="true"] .bar__menu-icon { background: transparent; }
.bar__menu[aria-expanded="true"] .bar__menu-icon::before { transform: translateY(6px) rotate(45deg); }
.bar__menu[aria-expanded="true"] .bar__menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1060px) {
  .bar__menu { display: inline-flex; }
  .bar__nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff; border-bottom: 1px solid var(--bell-line); box-shadow: var(--sc-e2); display: none; }
  .bar__nav.is-open { display: block; }
  .bar__nav ul { flex-direction: column; gap: 0; padding: 8px var(--sc-gutter) 16px; }
  .bar__nav a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--bell-line); }
  .callchip { order: 2; }
}
@media (max-width: 640px) {
  :root { --bar-h: 70px; }
  .bar__inner { gap: 12px; }
  .bar__logo img { height: 52px; }
  .callchip { display: none; }
  .utility__inner { font-size: 0.875rem; padding-block: 7px; }
  .utility__more { display: none; }
}

/* ------------------------------------------------------------ 1 · hero -- */
/* Depth from real Bell photos in Bell's shapes. Every plane reads the act's --sc-p and moves at
   its own rate (--tx/--ty in px, --ts = extra scale at p=1): far planes barely move, near
   planes grow and slide past the frame edge. Transforms only. */
/* the hero pins just under the sticky bar, so nothing in it has to make room for the bar */
.hero > .hero__stage { top: var(--bar-h); height: calc(100svh - var(--bar-h)); background: #fff; overflow: hidden; }
.hero__scene { position: absolute; inset: 0 0 0 44%; }
.hs { position: absolute; margin: 0; will-change: transform;
  transform: translate3d(calc(var(--sc-p, 0) * var(--tx, 0px)), calc(var(--sc-p, 0) * var(--ty, 0px)), 0) scale(calc(1 + var(--sc-p, 0) * var(--ts, 0))); }
.hs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hs--disc { left: 6%; top: 4%; width: min(92%, 92vh); aspect-ratio: 1; border-radius: 50%; background: var(--bell-tint);
  --ts: 0.05; --ty: -10px; z-index: 1; }
.hs--far1 { left: 3%; top: 8%; width: 24%; aspect-ratio: 4 / 3; border-radius: var(--r-photo); overflow: hidden; box-shadow: var(--sc-e2);
  --tx: -28px; --ty: -36px; --ts: 0.06; z-index: 2; }
.hs--far2 { right: 5%; top: 5%; width: 17%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: var(--sc-e2); outline: 6px solid #fff;
  --tx: 30px; --ty: -40px; --ts: 0.06; z-index: 2; }
/* the logo's shape: a circle cut by a vertical chord on its right side */
.hs--main { left: 22%; top: 13%; width: 54%; aspect-ratio: 0.86; overflow: hidden; border-radius: 50% 0 0 50% / 50% 0 0 50%;
  --ty: -14px; --ts: 0.09; z-index: 3; transform-origin: 60% 55%; box-shadow: var(--sc-e3); }
.hs--main img { width: 100%; }
.hs__cap { position: absolute; right: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--sc-accent); font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
  opacity: clamp(0, calc((var(--sc-p, 0) - 0.45) * 4), 1); transform: translateY(calc((1 - clamp(0, calc((var(--sc-p, 0) - 0.45) * 4), 1)) * 8px)); }
.hs--near1 { left: 4%; top: 58%; width: 20%; aspect-ratio: 1; border-radius: 22%; overflow: hidden; transform-origin: 50% 50%; box-shadow: var(--sc-e3); outline: 6px solid #fff;
  --tx: -16px; --ty: 210px; --ts: 0.3; z-index: 4; rotate: 45deg; }
.hs--near1 img { rotate: -45deg; scale: 1.42; }
.hs--near2 { right: 3%; top: 63%; width: 26%; aspect-ratio: 4 / 3; border-radius: var(--r-photo); overflow: hidden; box-shadow: var(--sc-e3); outline: 6px solid #fff;
  --tx: 120px; --ty: 150px; --ts: 0.36; z-index: 4; }
.hs--gems { left: 24%; top: 86%; --gem: clamp(34px, 3.2vw, 52px); --tx: -40px; --ty: 220px; --ts: 0.4; z-index: 5; }
.hero__copy { position: absolute; z-index: 10; left: var(--sc-gutter); top: clamp(1.5rem, 10vh, 6.5rem); width: min(36rem, 42vw); }
.hero__title { margin: 0; font-family: var(--sc-font-display); color: var(--sc-accent); text-wrap: balance; }
.hero__tag { display: block; font-weight: 700; font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.018em; }
.hero__kicker { display: block; margin-top: 0.55em; font-family: var(--sc-font-text); font-weight: 500; color: var(--sc-ink); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); line-height: 1.3; letter-spacing: 0; }
.hero__sub { margin-top: 14px; color: var(--sc-ink-soft); max-width: 36ch; }
.hero__find { margin-top: clamp(1.25rem, 3.2vh, 2rem); max-width: 31rem; }
.hero__find-label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--sc-ink); }
.zip__row { display: flex; gap: 10px; }
.zip__row .field { flex: 1; min-width: 0; }
.hero__locate { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--sc-accent); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.hero__status { margin-top: 8px; font-size: 1rem; color: var(--sc-ink-soft); min-height: 1.5em; }
.hero__status.is-error { color: var(--bell-error); }
@media (min-width: 861px) and (max-height: 780px) {
  .hero__copy { top: 4vh; }
  .hero__sub { display: none; }
}
@media (max-width: 860px) {
  /* phones: copy first, then the scene fills what is left; fewer planes, shorter travel */
  .hero > .hero__stage { display: flex; flex-direction: column; padding: 18px var(--sc-gutter) calc(84px + env(safe-area-inset-bottom)); }
  .hero__copy { order: -1; position: relative; left: auto; top: auto; width: auto; }
  .hero__tag { font-size: clamp(2rem, 1.3rem + 3.2vw, 2.4rem); }
  .hero__kicker { font-size: 1.1875rem; margin-top: 0.45em; }
  .hero__sub { display: none; }
  .hero__find { margin-top: 16px; }
  .hero__find-label { font-size: 1rem; margin-bottom: 6px; }
  .zip__row .btn { padding: 0 16px; }
  .hero__scene { position: relative; inset: auto; flex: 1; min-height: 150px; margin-top: 10px; }
  .hs--disc { left: 18%; top: 0; width: auto; height: 108%; }
  .hs--main { left: auto; right: 0; top: 4%; height: 92%; width: auto; }
  .hs--far1 { left: 0; top: 6%; width: 34%; --tx: -14px; --ty: -18px; }
  .hs--near1 { left: 10%; top: auto; bottom: 4%; width: 24%; --tx: -40px; --ty: 60px; --ts: 0.2; }
  .hs--far2, .hs--near2 { display: none; }
  .hs--gems { left: 2%; top: auto; bottom: 2%; --gem: 26px; --tx: -50px; --ty: 70px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .hero__kicker { font-size: 1.0625rem; }
  .hero__find-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero__locate { margin-top: 4px; min-height: 40px; }
}

/* -------------------------------------------------------- 2 · services -- */
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.services__media { position: sticky; top: calc(var(--bar-h) + 6vh); }
.services__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-photo); overflow: hidden; background: var(--bell-tint); box-shadow: var(--sc-e3); }
.services__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--bell-cyan); border-radius: calc(var(--r-photo) + 4px); z-index: -1; }
.services__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 640ms var(--sc-ease-out), transform 900ms var(--sc-ease-out); }
.services__frame img.is-active { opacity: 1; transform: none; }
.services__gems { position: absolute; right: -28px; bottom: -24px; --gem: 40px; }
.services__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.services__head .lede { margin-top: 16px; }
.svc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--bell-line); }
.svc__row { padding: clamp(1.25rem, 2.4vw, 1.9rem) 0; border-top: 1px solid var(--bell-line); }
.svc__thumb { display: none; }
.svc__name { margin: 0; font-family: var(--sc-font-display); font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 700; line-height: 1.15; color: var(--sc-ink); transition: color 300ms var(--sc-ease-out); }
.svc__text { margin-top: 6px; color: var(--sc-ink-soft); max-width: 52ch; }
.services__cta { margin-top: 2rem; }
@media (min-width: 861px) { .js .svc__row.is-active .svc__name { color: var(--sc-accent); } }
@media (max-width: 860px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__media { display: none; }
  .svc__thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card); margin-bottom: 14px; }
  .services__cta .btn { width: 100%; }
}

/* --------------------------------------------------------- 3 · savings -- */
.savings { padding-top: var(--sc-section); padding-bottom: clamp(3.5rem, 7vw, 7rem); background: linear-gradient(#fff 0, #fff 40%, var(--bell-tint) 40%); }
.savings__head .lede { margin-top: 16px; }
.savings__figure { position: relative; margin: clamp(2rem, 4vw, 3.25rem) auto 0; width: calc(100% - 2 * var(--sc-gutter)); max-width: calc(var(--sc-maxw) + 6rem); aspect-ratio: 16 / 9; max-height: 78vh; border-radius: var(--r-photo); overflow: hidden; box-shadow: var(--sc-e3); background: var(--bell-tint); }
.savings__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.savings__after { position: absolute; inset: 0; }
.savings__facts { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.facts__item { background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-card); padding: 20px 22px; }
.facts dt { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.3rem; color: var(--sc-accent); }
.facts dd { margin-top: 6px; color: var(--sc-ink-soft); }
.insurance { margin-top: 1.75rem; font-size: 1.0625rem; color: var(--sc-ink-soft); max-width: 72ch; }
.insurance__lead { color: var(--sc-ink); font-weight: 600; }
@media (max-width: 860px) {
  .savings__figure { aspect-ratio: 4 / 5; max-height: none; }
  .facts { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- 4 · finder -- */
.finder__stage {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem);
  padding: calc(var(--bar-h) + 2vh) var(--sc-gutter) 3vh;
  background: radial-gradient(70% 90% at 30% 50%, #FFFFFF 0%, var(--bell-tint) 72%);
}
.finder__mapwrap { position: relative; height: calc(100svh - var(--bar-h) - 6vh); min-height: 0; }
.finder__map { height: 100%; min-height: 0; overflow: hidden; border-radius: 28px;
  -webkit-mask-image: radial-gradient(ellipse 58% 56% at 46% 50%, #000 66%, transparent 100%); mask-image: radial-gradient(ellipse 58% 56% at 46% 50%, #000 66%, transparent 100%); }
.fl { width: 100%; height: 100%; overflow: hidden; display: block; }
.fl__land { fill: #FFFFFF; stroke: #CFE2EE; stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.fl__coast { fill: none; stroke: var(--sc-accent); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: var(--draw, 0); }
.fl__detail { opacity: 0; }
.fl__dcoast { fill: none; stroke: var(--sc-accent); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.fl__dland { fill: #FFFFFF; stroke: none; }
.fl__dline { fill: none; stroke: #CFE2EE; stroke-width: 0.9; vector-effect: non-scaling-stroke; }
.ring circle { fill: none; stroke: var(--sc-accent); vector-effect: non-scaling-stroke; opacity: 0; }
.dot { fill: var(--sc-accent); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill 200ms; }
.dot.is-picked { fill: var(--sc-ink); }
.lbl { font-family: var(--sc-font-text); font-weight: 600; fill: var(--sc-ink); paint-order: stroke; stroke: #fff; stroke-linejoin: round; opacity: 0; }
.lbl.is-picked { fill: var(--sc-accent); font-weight: 700; }
.finder__inset { position: absolute; right: 7%; bottom: 6%; width: clamp(120px, 12vw, 176px); opacity: 0; filter: drop-shadow(0 8px 18px hsl(208 50% 30% / 0.14)); }
.fl-inset { width: 100%; height: auto; display: block; }
.fl__inset-bg { fill: var(--bell-tint); }
.fl__inset-edge { fill: none; stroke: var(--bell-cyan); stroke-width: 1.5; }
.lbl--inset { opacity: 1; font-size: 17px; stroke-width: 4px; }
.finder__panel { max-width: 31rem; position: relative; z-index: 2; }
.finder__lede { margin-top: 12px; font-size: 1.125rem; color: var(--sc-ink-soft); }
.finder__controls { margin-top: clamp(1.1rem, 2.6vh, 1.75rem); display: grid; gap: 14px; }
.finder__controls .btn--secondary { justify-self: start; }
.zip__label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 6px; color: var(--sc-ink); }
.finder__status { min-height: 1.6em; margin-top: 10px; font-size: 1rem; color: var(--sc-ink-soft); }
.finder__status.is-error { color: var(--bell-error); }
.finder__status.is-quiet, .hero__status.is-quiet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.store { margin-top: 6px; background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-card); padding: 18px 22px; box-shadow: var(--sc-e2); }
.store__code, .dir__code, .plate__eyebrow { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-accent); }
.store__name { margin-top: 2px; font-family: var(--sc-font-display); font-size: 1.375rem; font-weight: 700; color: var(--sc-accent); line-height: 1.2; }
.store__addr { margin-top: 4px; color: var(--sc-ink); }
.store__dist { margin-top: 2px; font-size: 1rem; font-weight: 600; color: var(--sc-ink-soft); }
.store__phone { margin-top: 6px; }
.store__phone a { font-family: var(--sc-font-display); font-size: 1.5rem; font-weight: 700; color: var(--sc-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.store__hours { margin-top: 6px; font-size: 0.9875rem; color: var(--sc-ink-soft); }
.open { color: var(--bell-green); font-weight: 600; }
.closed { color: var(--sc-ink); font-weight: 600; }
.store__actions { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.finder__all { margin-top: 14px; }
@media (max-width: 860px) {
  .finder__stage { grid-template-columns: 1fr; grid-template-rows: minmax(110px, 1fr) auto; align-items: stretch; gap: 8px; padding: calc(var(--bar-h) + 8px) var(--sc-gutter) 14px; }
  .finder__mapwrap { height: auto; min-height: 0; }
  .finder__inset { width: 84px; right: auto; left: 0; top: 2%; bottom: auto; }
  .finder__panel { max-width: none; }
  .finder__title { font-size: 1.5rem; }
  .finder__lede { display: none; }
  .finder__controls { margin-top: 8px; grid-template-columns: 1fr; gap: 8px; }
  .finder__controls .btn--secondary { justify-self: stretch; min-height: 48px; }
  .finder__controls .zip__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .finder__controls .field, .finder__controls .btn--quiet { min-height: 48px; }
  .zip__row .btn--quiet { padding: 0 14px; }
  .finder__status { margin-top: 6px; min-height: 0; font-size: 0.9375rem; }
  .finder__status:empty { display: none; }
  .store { padding: 12px 14px; }
  .store__name { font-size: 1.125rem; }
  .store__phone a { font-size: 1.25rem; }
  .store__addr, .store__hours, .store__dist { font-size: 0.9375rem; margin-top: 2px; }
  .store__actions { margin-top: 8px; gap: 8px; }
  .store__actions .btn { min-height: 46px; padding: 0 14px; flex: 1; }
  .finder__all { margin-top: 8px; font-size: 0.9375rem; }
}
@media (min-width: 861px) and (max-height: 860px) {
  .finder__title { font-size: 1.9rem; }
  .finder__lede { margin-top: 6px; font-size: 1.0625rem; }
  .finder__controls { margin-top: 12px; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .finder__controls .btn--secondary { grid-column: 1 / -1; min-height: 46px; }
  .finder__controls .field, .finder__controls .btn--quiet { min-height: 46px; }
  .finder__controls .zip__label { font-size: 0.9375rem; margin-bottom: 4px; }
  .finder__status { margin-top: 6px; min-height: 0; }
  .store { padding: 14px 18px; }
  .store__name { font-size: 1.2rem; }
  .store__phone a { font-size: 1.3rem; }
  .store__actions { margin-top: 10px; }
  .store__actions .btn { min-height: 46px; }
  .finder__all { margin-top: 8px; }
}
@media (max-width: 860px) and (max-height: 740px) {
  .finder__panel.has-store [data-bell-locate], .finder__panel.has-store .zip { display: none; }
  .finder__title { font-size: 1.3rem; }
}

/* ------------------------------------------------------------- 5 · faq -- */
.faq { background: var(--bell-tint); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--bar-h) + 6vh); }
.faq__head .lede { margin-top: 16px; }
.faq__list { display: grid; gap: 10px; }
.qa { background: #fff; border: 1px solid var(--bell-line); border-radius: 12px; }
.qa[open] { border-color: var(--bell-cyan); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 1.05rem 1.25rem; font-family: var(--sc-font-display); font-weight: 600; font-size: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem); color: var(--sc-ink); min-height: 48px; border-radius: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bell-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230061BB' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 16px; transition: transform 200ms var(--sc-ease-out); }
.qa[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--sc-accent); } }
.qa__a { padding: 0 1.25rem 1.2rem; color: var(--sc-ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ------------------------------------------------------- 6 · community -- */
.community { padding: clamp(1rem, 3vw, 2rem) 0; }
.community__frame { position: relative; overflow: hidden; min-height: min(96vh, 60rem); display: flex; align-items: center; }
.community__plate { position: absolute; top: -8%; bottom: -8%; left: 55%; right: 0; margin: 0; border-radius: var(--r-photo) 0 0 var(--r-photo); overflow: hidden; }
.community__plate img { width: 100%; height: 100%; object-fit: cover; }
.community__copy { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 6rem); }
.community__copy > * { max-width: min(34rem, 38vw); }
.community__copy .lede { margin-top: 16px; }
/* the one inclusive gradient (Bell's primary + secondary range, not a stock rainbow) */
.pride { margin-top: 22px; width: 132px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #0061BB, #3DC5FF, #A1F9FF, #FFFB8F, #FFD985, #FA6C0A); }
.values { margin-top: 24px; display: grid; gap: 10px; }
.values__item { display: grid; grid-template-columns: 20px 1fr; column-gap: 14px; align-items: baseline; }
.values__item::before { content: ""; width: 12px; height: 12px; border-radius: 22%; background: var(--bell-cyan); transform: rotate(45deg) translateY(2px); }
.values__item h3 { font-family: var(--sc-font-display); font-size: 1.2rem; color: var(--sc-accent); grid-column: 2; }
.values__item p { grid-column: 2; color: var(--sc-ink-soft); }
.voices { margin-top: 26px; display: grid; gap: 12px; }
.rating { display: flex; align-items: baseline; gap: 14px; }
.rating__num { font-family: var(--sc-font-display); font-size: clamp(2.6rem, 2.2rem + 1.6vw, 3.6rem); font-weight: 700; color: var(--sc-accent); line-height: 1; }
.rating__text { font-weight: 600; color: var(--sc-ink); max-width: 18ch; line-height: 1.3; }
.quote { background: #fff; border: 1px solid var(--bell-line); border-radius: 12px; padding: 14px 18px; }
.quote p { font-size: 1.0625rem; color: var(--sc-ink); }
.quote footer { margin-top: 4px; font-size: 0.9375rem; color: var(--sc-ink-soft); font-weight: 600; }
.quality { margin-top: 1.25rem; font-size: 1rem; font-weight: 600; color: var(--sc-ink-soft); }
@media (max-width: 860px) {
  .community__frame { flex-direction: column; align-items: stretch; min-height: 0; }
  .community__plate { position: relative; inset: auto; height: 70vw; margin: 0 var(--sc-gutter); border-radius: var(--r-photo); }
  .community__copy > * { max-width: none; }
  .community__copy { padding-top: 2rem; }
}

/* ----------------------------------------------------------- 7 · close -- */
.close { padding-bottom: clamp(4rem, 8vw, 7rem); }
.close__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.plate { margin-top: clamp(1.25rem, 2.6vw, 2rem); background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-photo); padding: clamp(1.4rem, 2.8vw, 2rem); box-shadow: var(--sc-e2); }
.plate__empty { color: var(--sc-ink-soft); margin-bottom: 16px; }
.plate__eyebrow { display: flex; align-items: center; gap: 10px; }
.plate__bell { width: 12px; height: 12px; border-radius: 50%; background: var(--sc-accent); box-shadow: 0 0 0 0 color-mix(in oklab, var(--sc-accent) 40%, transparent); }
.plate.is-ringing .plate__bell { animation: bell-ring 1.6s var(--sc-ease-out) 1; }
@keyframes bell-ring { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--bell-cyan) 70%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }
.plate__name { margin-top: 8px; font-family: var(--sc-font-display); font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.9rem); font-weight: 700; color: var(--sc-accent); line-height: 1.15; }
.plate__addr { margin-top: 6px; color: var(--sc-ink); }
.plate__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.plate__hours { margin-top: 14px; color: var(--sc-ink-soft); font-size: 1rem; }
.plate__body { margin-bottom: 20px; }
.close__form { padding-top: clamp(0.25rem, 1vw, 0.75rem); }
.close__note { margin-top: 10px; color: var(--sc-ink-soft); max-width: 52ch; }
.cb { margin-top: 1.5rem; display: grid; gap: 18px; max-width: 34rem; }
.cb__field label { display: block; font-weight: 600; margin-bottom: 6px; }
.cb__err { margin-top: 6px; color: var(--bell-error); font-size: 0.9375rem; font-weight: 600; }
.cb__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cb__consent { font-size: 0.9375rem; color: var(--sc-ink-soft); }
.cb .btn { justify-self: start; }
.cb__status { min-height: 1.5em; font-weight: 600; }
.cb__status.is-ok { color: var(--bell-green); }
.cb__status.is-error { color: var(--bell-error); }
@media (max-width: 860px) { .close__grid { grid-template-columns: 1fr; } .cb .btn, .plate__actions .btn { justify-self: stretch; flex: 1; } }

/* -------------------------------------- footer: the full directory ---- */
.dir { background: var(--bell-tint); padding-block: clamp(3rem, 6vw, 5rem); scroll-margin-top: var(--bar-h); }
.dir__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.dir__note { color: var(--sc-ink-soft); font-size: 1rem; max-width: 46ch; }
.dir__list { margin-top: clamp(1.5rem, 3vw, 2.25rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dir__card { background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-card); padding: 20px 22px; display: flex; flex-direction: column; scroll-margin-top: calc(var(--bar-h) + 16px); }
.dir__card:target, .dir__card.is-mine { box-shadow: 0 0 0 3px var(--sc-accent); }
.dir__name { margin-top: 2px; font-family: var(--sc-font-display); font-size: 1.3rem; font-weight: 700; color: var(--sc-accent); line-height: 1.2; }
.dir__addr { margin-top: 6px; color: var(--sc-ink); }
.dir__phone { margin-top: 6px; }
.dir__phone a { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.3rem; color: var(--sc-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.dir__hours { margin-top: 6px; font-size: 0.9375rem; color: var(--sc-ink-soft); flex: 1; }
.dir__actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.dir__card:last-child { grid-column: 1 / -1; }
@media (min-width: 861px) {
  .dir__card:last-child { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
  .dir__card:last-child > .dir__code { grid-column: 1; grid-row: 1; }
  .dir__card:last-child > .dir__name { grid-column: 1; grid-row: 2; }
  .dir__card:last-child > .dir__addr { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .dir__card:last-child > .dir__phone { grid-column: 3; grid-row: 1; margin: 0; }
  .dir__card:last-child > .dir__hours { grid-column: 3; grid-row: 2; margin: 0; }
  .dir__card:last-child > .dir__actions { grid-column: 4; grid-row: 1 / 3; margin: 0; }
}
@media (max-width: 1100px) { .dir__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dir__list { grid-template-columns: 1fr; } .dir__actions .btn { flex: 1; } }

.foot__brand-row { background: #fff; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--bell-line); }
.foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.foot__brand img { width: 220px; height: auto; }
.foot__tag { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.25rem; color: var(--sc-accent); }
.foot__social { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__social a { font-weight: 600; text-underline-offset: 0.25em; }
.foot__base { background: var(--sc-accent); color: #fff; }
.foot__base-inner { padding-block: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.9375rem; }
.foot__base a { color: #fff; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__base :focus-visible { outline-color: #fff; }
@media (max-width: 640px) { .foot__social { margin-left: 0; } }

/* ------------------------------------------------------------ dock ---- */
.dock { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 10px;
    padding: 10px var(--sc-gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.98); border-top: 1px solid var(--bell-line);
    transition: transform 240ms var(--sc-ease-out); }
  .dock.is-hidden { transform: translateY(110%); }
  .dock a { min-height: 54px; border-radius: var(--r-btn); display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; line-height: 1.15; }
  .dock a { white-space: nowrap; font-size: 1rem; padding: 0 10px; }
  .dock__call { flex: 1.3; background: var(--sc-accent); color: #fff; }
  .dock__store { font-size: 0.8125rem; font-weight: 500; }
  .dock__store:empty { display: none; }
  .dock__find { flex: 1; background: var(--bell-tint); color: var(--sc-accent); border: 1px solid var(--bell-line); }
}

/* ---------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .hs { transform: none !important; }
  .hs__cap { opacity: 1; transform: none; }
  .services__frame img { transition: opacity 200ms linear; transform: none; }
  .plate.is-ringing .plate__bell { animation: none; }
}

/* ------------------------------------------------ small legal pages -- */
.sub .bar__inner { justify-content: space-between; }
.sub__body { max-width: 46rem; }
.sub__body > p { margin-top: 1.1rem; color: var(--sc-ink-soft); }
.sub__body > p.lede { margin-top: 1.5rem; }
.sub__h { margin-top: 2.25rem; }
.sub__date, .sub__home { margin-top: 2.5rem !important; }
.sub__back { min-height: 46px; }

/* ------------------------------ contact: ways to reach us (no form yet) -- */
.ways { margin-top: 1.25rem; display: grid; gap: 12px; max-width: 34rem; }
.ways__item { background: var(--bell-tint); border: 1px solid var(--bell-line); border-radius: var(--r-card); padding: 18px 22px; }
.ways__title { margin: 0; font-family: var(--sc-font-display); font-size: 1.25rem; font-weight: 700; color: var(--sc-accent); }
.ways__item p { margin-top: 4px; color: var(--sc-ink-soft); }
.ways__item a { font-weight: 600; }

/* ------------------------------ "Call" on a computer: show the number -- */
.calltip { position: fixed; z-index: 90; right: 24px; bottom: 24px; width: min(22rem, calc(100vw - 32px)); background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-card); padding: 18px 20px; box-shadow: var(--sc-e3); }
.calltip__who { font-weight: 600; color: var(--sc-ink); }
.calltip__num { margin-top: 2px; font-family: var(--sc-font-display); font-size: 1.9rem; font-weight: 700; color: var(--sc-accent); font-variant-numeric: tabular-nums; user-select: all; }
.calltip__hint { margin-top: 2px; font-size: 1rem; color: var(--sc-ink-soft); }
.calltip__actions { margin-top: 12px; display: flex; gap: 8px; }
