/* Bell Pharmacy inner pages (services, locations, pharmacy pages, about, community, resources,
   questions, contact, legal). Built on the homepage's tokens and parts in bell.css: Bell blue,
   cyan outlines, 8px buttons, 16-20px cards, the logo's cut circle, the rounded-diamond trio. */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-accent); }
.note { margin-top: 1rem; font-size: 1rem; color: var(--sc-ink-soft); max-width: 62ch; }
.note--strong { font-weight: 600; color: var(--sc-ink); }
.narrow { max-width: 50rem; }
.band { background: var(--bell-tint); }
.sec-head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); max-width: 46rem; }
.svc-cards .h2 { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.sec-head .lede { margin-top: 14px; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.sec-head--row .lede { margin-top: 0; }
.page .sc-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

/* the gem trio, reusable */
.gems { display: flex; --gem: 40px; }
.gems i { display: block; width: var(--gem); aspect-ratio: 1; border-radius: 22%; transform: rotate(45deg); flex: none; }
.gems i + i { margin-left: calc(var(--gem) * -0.3); }
.gems i:nth-child(1) { background: var(--sc-accent); }
.gems i:nth-child(2) { background: var(--bell-cyan); }
.gems i:nth-child(3) { background: var(--bell-aqua); }

/* ---------------------------------------------------------- breadcrumbs -- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 18px; padding: 0; font-size: 0.9375rem; color: var(--sc-ink-soft); }
.crumbs li + li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 1px; border-radius: 22%; background: var(--bell-cyan); transform: rotate(45deg); }
.crumbs a { color: var(--sc-ink-soft); text-underline-offset: 0.2em; }
.crumbs [aria-current] { color: var(--sc-ink); font-weight: 600; }

/* ------------------------------------------------------------ page hero -- */
.ph { position: relative; overflow: hidden; padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem);
  background: radial-gradient(60% 80% at 88% 40%, var(--bell-tint) 0%, #fff 70%); }
.ph__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ph__copy { position: relative; z-index: 2; max-width: 38rem; }
.ph__copy .eyebrow { margin-bottom: 12px; }
.ph__title { margin: 0; font-family: var(--sc-font-display); font-weight: 700; color: var(--sc-accent); font-size: clamp(2.25rem, 1.55rem + 2.3vw, 3.4rem); line-height: 1.06; letter-spacing: -0.018em; text-wrap: balance; }
.ph__lede { margin-top: 18px; font-size: clamp(1.15rem, 1.08rem + 0.3vw, 1.35rem); line-height: 1.55; color: var(--sc-ink-soft); max-width: 40ch; text-wrap: pretty; }
.ph__lede a { font-weight: 600; }
.ph__extra { margin-top: 4px; }
.ph__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.ph__media { position: relative; aspect-ratio: 1 / 0.95; max-height: 34rem; }
.ph__disc { position: absolute; inset: 4% 2% 4% 8%; border-radius: 50%; background: var(--bell-tint); }
.ph__main { position: absolute; margin: 0; right: 6%; top: 3%; width: 66%; aspect-ratio: 0.86; overflow: hidden; border-radius: 50% 0 0 50% / 50% 0 0 50%; box-shadow: var(--sc-e3);
  animation: ph-in 900ms var(--sc-ease-out) both; }
.ph__main img, .ph__second img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph__second { position: absolute; left: 2%; bottom: 6%; width: 36%; aspect-ratio: 1; border-radius: 22%; overflow: hidden; rotate: 45deg; outline: 6px solid #fff; box-shadow: var(--sc-e3);
  animation: ph-in 900ms 140ms var(--sc-ease-out) both; }
.ph__second img { rotate: -45deg; scale: 1.42; }
.ph__gems { position: absolute; right: 2%; bottom: 0; --gem: clamp(28px, 2.6vw, 42px); animation: ph-in 900ms 260ms var(--sc-ease-out) both; }
@keyframes ph-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.ph--plain { background: linear-gradient(#fff, var(--bell-tint)); padding-block: clamp(2rem, 4vw, 3.5rem); }
.ph--plain .ph__copy { max-width: 46rem; }
.ph__media--map { aspect-ratio: auto; max-height: none; display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .ph__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .ph__media { width: min(100%, 30rem); margin-inline: auto; }
  .ph__actions .btn { flex: 1 1 auto; }
}

/* quick jumps (resources, questions) */
.jumps { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bell-line); background: #fff; color: var(--sc-accent); font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .jumps a:hover { border-color: var(--bell-cyan); background: var(--bell-tint); } }

/* stats under the About hero */
.stats { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; }
.stats li { background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-card); padding: 14px 18px; min-width: 8.5rem; }
.stats__n { display: block; font-family: var(--sc-font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--sc-accent); }
.stats__t { display: block; margin-top: 6px; font-weight: 600; color: var(--sc-ink); font-size: 1rem; }

/* ---------------------------------------------------------- buttons on blue -- */
.btn--onblue { background: #fff; color: var(--sc-accent); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.85); }
@media (hover: hover) and (pointer: fine) {
  .btn--onblue:hover { background: var(--bell-tint); }
  .btn--outline-white:hover { background: rgb(255 255 255 / 0.12); }
}

/* ---------------------------------------------------------- service cards -- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--bell-line); border-radius: var(--r-photo); overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color 200ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
.card__media { display: block; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--bell-tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--sc-ease-out); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.card__title { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; color: var(--sc-accent); }
.card__text { color: var(--sc-ink-soft); font-size: 1.0625rem; flex: 1; }
.card__more { margin-top: 6px; font-weight: 700; color: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) {
  .card__link:hover { border-color: var(--bell-cyan); box-shadow: var(--sc-e2); transform: translateY(-3px); }
  .card__link:hover .card__media img { transform: scale(1.04); }
}
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- photo + text -- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--flip .split__media { order: -1; }
.split__copy .lede, .split__copy .prose-in { margin-top: 16px; }
.split__media { position: relative; margin: 0; }
.split__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--sc-e3); }
.split__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; }
.split__media--round img { aspect-ratio: 1; border-radius: 50%; }
.split__media--round::before { border-radius: 50%; inset: 16px -16px -16px 16px; }
.split__media--cut img { aspect-ratio: 0.9; border-radius: 50% 0 0 50% / 50% 0 0 50%; }
.split__media--cut::before { border-radius: 50% 0 0 50% / 50% 0 0 50%; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media { width: min(100%, 30rem); }
}
.prose-in p + p { margin-top: 1em; }
.prose-in a { font-weight: 600; }
.purpose__lead { margin-top: 16px; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); line-height: 1.25; color: var(--sc-ink); max-width: 30ch; }
.purpose .checks { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ------------------------------------------------- "how we help" diamond list -- */
.checks { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.checks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.checks__item { position: relative; background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-card); padding: 22px; }
.checks__title { padding-left: 34px; }
.checks__item::before { content: ""; position: absolute; left: 24px; top: 29px; width: 16px; height: 16px; border-radius: 22%; background: var(--sc-accent); transform: rotate(45deg); box-shadow: 7px -7px 0 -2px var(--bell-cyan); }
.checks__title { font-family: var(--sc-font-display); font-size: 1.3rem; font-weight: 700; color: var(--sc-accent); line-height: 1.2; }
.checks__item p { margin-top: 6px; color: var(--sc-ink-soft); }
.checks__item a { font-weight: 600; }
.band .checks__item, .checks--white .checks__item { background: #fff; }
@media (max-width: 1100px) { .checks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .checks--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .checks--4 { grid-template-columns: 1fr; } }
.services-links { margin-top: 1.5rem; color: var(--sc-ink-soft); max-width: 70ch; }
.services-links a { font-weight: 600; }

/* ---------------------------------------------------------------- steps -- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.steps__item { position: relative; padding-top: 74px; }
.steps__n { position: absolute; top: 0; left: 6px; width: 50px; height: 50px; border-radius: 22%; transform: rotate(45deg); background: var(--sc-accent); color: #fff; display: grid; place-items: center;
  font-family: var(--sc-font-display); font-weight: 700; font-size: 1.4rem; }
.steps__item:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 76px; right: -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--bell-cyan) 0 8px, transparent 8px 16px); }
.steps__title { font-family: var(--sc-font-display); font-size: 1.35rem; font-weight: 700; color: var(--sc-ink); }
.steps__item p { margin-top: 6px; color: var(--sc-ink-soft); max-width: 34ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps__item { padding: 4px 0 0 78px; min-height: 56px; }
  .steps__item:not(:last-child)::after { top: 64px; bottom: -1.25rem; left: 30px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--bell-cyan) 0 8px, transparent 8px 16px); }
}
.steps__n > span { display: block; transform: rotate(-45deg); }

/* ---------------------------------------------------------- vaccine booking -- */
.booklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.booklist__item { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; background: #fff; border: 1px solid var(--bell-line); border-radius: var(--r-card); padding: 16px 18px; }
.booklist__code { grid-column: 1; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-accent); }
.booklist__name { grid-column: 1; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.2rem; color: var(--sc-ink); }
.booklist__addr { grid-column: 1; color: var(--sc-ink-soft); font-size: 1rem; }
.booklist__item .btn { grid-column: 2; grid-row: 1 / 4; }
@media (max-width: 860px) { .booklist { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .booklist__item { grid-template-columns: 1fr; } .booklist__item .btn { grid-column: 1; grid-row: auto; margin-top: 10px; } }

/* -------------------------------------------------------- outside links -- */
.extlinks { margin-top: 1.25rem; display: grid; gap: 10px; list-style: none; padding: 0; }
.faq__more { margin-top: 1rem; }

/* ----------------------------------------------------------- closing band -- */
.cta { padding: clamp(2.5rem, 5vw, 4rem) 0; background: #fff; }
.cta__inner { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  background: var(--sc-accent); color: #fff; border-radius: 28px; padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem); max-width: calc(var(--sc-maxw) - 2 * var(--sc-gutter)); }
.cta__inner::before { content: ""; position: absolute; right: -8%; top: -60%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(61 197 255 / 0.38), transparent 68%); pointer-events: none; }
.cta__copy { position: relative; max-width: 36rem; }
.cta__title { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.1; color: #fff; text-wrap: balance; }
.cta__copy p { margin-top: 10px; font-size: 1.15rem; color: rgb(255 255 255 / 0.92); }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.cta__actions .btn { text-align: center; }
.cta__gems { position: absolute; left: clamp(1.5rem, 5vw, 4rem); bottom: -18px; --gem: 30px; opacity: 0.35; }
.cta :focus-visible { outline-color: #fff; }
@media (max-width: 640px) { .cta__inner { margin-inline: var(--sc-gutter); width: auto; } .cta__actions { width: 100%; } .cta__actions .btn { flex: 1 1 100%; } }
@media (min-width: 641px) { .cta__inner { margin-inline: auto; } }
.cta .sc-wrap.cta__inner { padding-inline: clamp(1.5rem, 5vw, 4rem); }

/* ------------------------------------------------------- pharmacy cards -- */
.sc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.sc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-photo); overflow: hidden; }
.sc-card__link { display: grid; text-decoration: none; color: inherit; }
.sc-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bell-tint); }
.sc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--sc-ease-out); }
.sc-card__mark { display: flex; height: 100%; align-items: center; justify-content: center; --gem: 42px; }
.sc-card__mark i { display: block; width: var(--gem); aspect-ratio: 1; border-radius: 22%; transform: rotate(45deg); }
.sc-card__mark i + i { margin-left: calc(var(--gem) * -0.3); }
.sc-card__mark i:nth-child(1) { background: var(--sc-accent); } .sc-card__mark i:nth-child(2) { background: var(--bell-cyan); } .sc-card__mark i:nth-child(3) { background: var(--bell-aqua); }
.sc-card__code { margin: 16px 20px 0; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-accent); }
.sc-card__name { margin: 2px 20px 0; font-family: var(--sc-font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.2; color: var(--sc-accent); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.18em; transition: text-decoration-color 160ms; }
.sc-card__addr { margin: 8px 20px 0; color: var(--sc-ink); }
.sc-card__hours { margin: 6px 20px 0; font-size: 0.9375rem; color: var(--sc-ink-soft); }
.sc-card__open { margin: 4px 20px 0; font-size: 0.9375rem; min-height: 1.4em; }
.sc-card__actions { margin: auto 20px 20px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-card__actions .btn { flex: 1 1 auto; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .sc-card__link:hover .sc-card__name { text-decoration-color: currentColor; }
  .sc-card__link:hover .sc-card__media img { transform: scale(1.04); }
}
@media (max-width: 1100px) { .sc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sc-cards { grid-template-columns: 1fr; } }

/* --------------------------------------------------- locations page hero -- */
.ph--finder .lf { margin-top: 26px; grid-template-columns: 1fr auto; align-items: end; max-width: 34rem; }
.ph--finder .lf .btn--secondary { justify-self: start; min-height: 52px; }
.ph--finder .store { margin-top: 10px; max-width: 34rem; }
.ph--finder .finder__status { max-width: 34rem; }
.mm { width: 100%; height: auto; max-height: 34rem; display: block; }
.mm__land { fill: #fff; stroke: var(--bell-line); stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.mm__coast { fill: none; stroke: var(--sc-accent); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mm__dot { fill: var(--sc-accent); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.mm__dot.is-me { fill: var(--sc-ink); }
.mm__lbl { font-family: var(--sc-font-text); font-weight: 700; font-size: 44px; fill: var(--sc-ink); paint-order: stroke; stroke: #fff; stroke-width: 10px; stroke-linejoin: round; }
.mm__ring { fill: none; stroke: var(--sc-accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: 0.55; transform-box: fill-box; transform-origin: center; animation: mm-ring 2.6s var(--sc-ease-out) infinite; }
.mm__ring--2 { opacity: 0.3; animation-delay: 0.5s; }
@keyframes mm-ring { 0% { transform: scale(0.4); opacity: 0.7; } 100% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mm__ring { animation: none; } .ph__main, .ph__second, .ph__gems { animation: none; } }
@media (max-width: 860px) { .ph--finder .lf { grid-template-columns: 1fr; } .ph--finder .ph__media--map { width: min(100%, 24rem); } }

/* ------------------------------------------------------- pharmacy page -- */
.storehead { margin-top: 22px; display: grid; gap: 4px; }
.storehead__addr { font-size: 1.15rem; color: var(--sc-ink); }
.storehead__phone a { font-family: var(--sc-font-display); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); font-weight: 700; color: var(--sc-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.storehead__open { font-size: 1.0625rem; min-height: 1.5em; color: var(--sc-ink-soft); }
.storehead__book { margin-top: 14px; color: var(--sc-ink-soft); }
.visit { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.visit__about .prose-in { margin-top: 16px; font-size: 1.125rem; color: var(--sc-ink-soft); max-width: 58ch; }
.visit__map { margin-top: 24px; width: min(100%, 22rem); }
.visit__langs { margin-top: 1rem; font-weight: 600; }
.hours { margin-top: 18px; width: 100%; max-width: 30rem; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-card); overflow: hidden; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 12px 18px; text-align: left; border-top: 1px solid var(--bell-line); font-size: 1.0625rem; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours th { font-weight: 600; color: var(--sc-ink); }
.hours td { text-align: right; color: var(--sc-ink); }
.hours tr.is-closed td { color: var(--sc-ink-soft); }
.hours tr.is-today { background: var(--bell-tint-2); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--sc-accent); }
.hours__today { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--sc-accent); color: #fff; font-size: 0.8125rem; font-weight: 700; vertical-align: 2px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; list-style: none; margin: 0; padding: 0; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
.gallery__item img { display: block; width: 100%; height: 100%; min-height: 15rem; max-height: 26rem; object-fit: cover; border-radius: var(--r-photo); }
.gallery-sec { padding-top: 0 !important; }
@media (max-width: 860px) { .gallery, .gallery--2 { grid-template-columns: 1fr; } .gallery__item img { min-height: 0; aspect-ratio: 4 / 3; } }

/* --------------------------------------------------------------- community -- */
.duo { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 16px; list-style: none; margin: 0; padding: 0; align-items: end; }
.duo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--sc-e2); }
.duo li:first-child img { aspect-ratio: 4 / 3; }
.duo li:last-child img { aspect-ratio: 3 / 4; border-radius: 50% 50% var(--r-photo) var(--r-photo) / 34% 34% var(--r-photo) var(--r-photo); }
.events, .jobs { display: grid; gap: 12px; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.events__item, .jobs__item { background: #fff; border: 1px solid var(--bell-cyan); border-radius: var(--r-card); padding: 18px 22px; }
.events__when, .jobs__where { font-weight: 600; color: var(--sc-accent); }
.events__name, .jobs__title { font-family: var(--sc-font-display); font-size: 1.3rem; font-weight: 700; color: var(--sc-ink); }
.values--row { margin-top: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .values--row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- resources -- */
.res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.res__item { position: relative; background: #fff; border: 1px solid var(--bell-line); border-radius: var(--r-photo); padding: 26px 24px 24px; scroll-margin-top: calc(var(--bar-h) + 20px); }
.res__item:target { border-color: var(--sc-accent); box-shadow: 0 0 0 3px var(--bell-tint-2); }
.res__mark { display: block; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50% 0 0 50% / 50% 0 0 50%; background: linear-gradient(135deg, var(--sc-accent), var(--bell-cyan)); }
.res__item:nth-child(3n + 2) .res__mark { border-radius: 22%; rotate: 45deg; width: 34px; height: 34px; margin: 5px 0 21px 5px; background: linear-gradient(135deg, var(--bell-cyan), var(--bell-aqua)); }
.res__item:nth-child(3n) .res__mark { border-radius: 50%; background: var(--bell-tint-2); box-shadow: inset 0 0 0 3px var(--bell-cyan); }
.res__title { font-family: var(--sc-font-display); font-size: 1.35rem; font-weight: 700; color: var(--sc-accent); }
.res__item p { margin-top: 8px; color: var(--sc-ink-soft); }
@media (max-width: 1100px) { .res { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .res { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ questions -- */
.faq--white { background: #fff; }
.faq--white .qa { background: var(--bell-tint); border-color: transparent; }
.faq--white .qa[open] { background: #fff; border-color: var(--bell-cyan); }
.page .faq .faq__head { top: calc(var(--bar-h) + 3vh); }

/* -------------------------------------------------------------- contact -- */
.ph--contact .plate { margin-top: 0; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; list-style: none; margin: 0; padding: 0; }
.phones__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--bell-line); }
.phones__where { display: grid; }
.phones__code { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-accent); }
.phones__name { font-weight: 600; color: var(--sc-ink); text-underline-offset: 0.2em; }
.phones__num { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.35rem; color: var(--sc-accent); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 860px) { .phones { grid-template-columns: 1fr; } }
.ways--row { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ways--row .ways__item { background: #fff; }
@media (max-width: 860px) { .ways--row { grid-template-columns: 1fr; } }
.foot-social { margin-top: 1.5rem; color: var(--sc-ink-soft); }

/* ------------------------------------------------------------- legal text -- */
.prose { max-width: 46rem; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.prose > p, .prose > ul, .prose > ol { margin-top: 1.1rem; color: var(--sc-ink-soft); }
.prose a { font-weight: 600; }
.prose__date, .prose__home { margin-top: 2.5rem !important; }

/* ------------------------------------------------------------- footer nav -- */
.foot__nav { margin-top: 1.5rem; }
.foot__nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.foot__nav a { font-weight: 600; color: var(--sc-ink); text-underline-offset: 0.25em; }
.dir__link { color: inherit; text-decoration: none; }
.dir__link:hover { text-decoration: underline; text-underline-offset: 0.18em; }

/* the bar's current page */
.bar__nav a[aria-current="page"] { color: var(--sc-accent); border-bottom-color: var(--sc-accent); }
