/* Friends Forever Pet Crematory & Memorial Service.
   Their own system, carried forward: blue pill buttons that turn brown on hover, the tan form card
   and tan hours band, photos cut to their soft blob and brush shapes with the green paw, blue paw
   and yellow bone badges, full-width photo banners with the title in the middle, outlined cards
   with inset photos, spaced capitals only on the hero line and the copyright.
   Visitors saw Arial (the theme's web fonts were linked over http and never loaded), so the type
   is Roboto, the closest web font in the same plain style. */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/roboto.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/roboto-italic.woff2") format("woff2"); }

:root, :root[data-theme="friends"] {
  --blue: #0078ae;        /* their buttons and links */
  --blue-ink: #005e89;    /* blue text on tan (4.7:1) */
  --brown: #543019;       /* the logo's brown; their button hover */
  --tan: #ead198;         /* the form card and hours band */
  --tan-soft: #f8f0dc;    /* a lighter wash of their tan for quiet sections */
  --ink: #181715;
  --muted: #57534c;
  --line: #e6dfd0;
  --card-line: #b1c8e7;   /* their light blue */
  --paper: #ffffff;
  --green: #00a928;       /* badge colours, from their theme */
  --yellow: #f6ac01;
  --sky: #b1c8e7;
  --sans: "Roboto", Arial, Helvetica, sans-serif;
  --gut: clamp(16px, 4vw, 32px);
  --wrap: 1180px;
  --r-card: 20px;
  --r-form: 30px;
  --shadow: 0 18px 40px -22px rgba(84, 48, 25, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ---- type ---- */
.h1, .h2, .h3, h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
.h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.6rem); }
.h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.7rem); }
.h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); font-weight: 500; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.prose p { max-width: 62ch; }
.fine { font-size: .93rem; font-style: italic; color: var(--muted); max-width: 70ch; margin-top: 18px; }
.aside { padding-left: 16px; border-left: 4px solid var(--tan); color: var(--ink); }
.textlink { display: inline-block; font-weight: 500; color: var(--blue-ink); }
.textlink:hover { color: var(--brown); }

/* ---- buttons: their blue pills, brown on hover ---- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.5em;
  border: 2px solid transparent; border-radius: 999px; font: 500 1rem/1.15 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s; }
.btn--lg { font-size: 1.06rem; padding: .95em 1.7em; }
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .94rem; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--brown); color: #fff; }
.btn--line { background: #fff; color: var(--blue-ink); border-color: var(--blue); }
.btn--line:hover { background: var(--blue); color: #fff; }
.btn--ghost { background: rgba(0, 0, 0, .18); color: #fff; border-color: rgba(255, 255, 255, .9); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--light { background: var(--tan); color: var(--ink); }
.btn--light:hover { background: var(--brown); color: #fff; }

/* ---- header: white, so the logo reads (it sat on a dark photo before) ---- */
.masthead { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.masthead__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { flex: none; display: block; }
.brand__logo { height: 66px; width: auto; }
.nav { flex: 1; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px 26px; flex-wrap: wrap; }
.nav__list a { display: block; padding: 8px 0; font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.nav__list a:hover { color: var(--blue); }
.nav__list a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav__extra { display: none; }
.masthead__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.masthead__call { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: .6em 1.25em; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 500; text-decoration: none; white-space: nowrap; }
.masthead__call:hover { background: var(--brown); color: #fff; }
.masthead__short { display: none; }
.menu-btn { display: none; align-items: center; gap: 6px; min-height: 46px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

@media (max-width: 1099px) {
  .masthead__in { min-height: 72px; gap: 12px; }
  .brand__logo { height: 54px; }
  .brand { margin-right: auto; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); padding: 8px var(--gut) 22px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__list a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--blue); padding-left: 14px; }
  .nav__extra { display: grid; gap: 10px; margin-top: 18px; }
  .nav__hours { margin: 4px 0 0; font-size: .95rem; color: var(--muted); text-align: center; }
}
@media (max-width: 560px) {
  .masthead__num { display: none; }
  .masthead__short { display: inline; }
  .masthead__call { padding: .6em 1em; }
  .brand__logo { height: 48px; }
}

/* ---- home hero: their photo and words, text on the dark side so it reads ---- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(480px, 72vh, 660px); display: flex; align-items: center; overflow: hidden; background: #2b2a22; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 16, 12, .82) 0%, rgba(14, 16, 12, .6) 42%, rgba(14, 16, 12, .12) 78%, rgba(14, 16, 12, 0) 100%); }
.hero__in { padding-top: 64px; padding-bottom: 64px; }
.hero__title { font-size: clamp(2.7rem, 1.6rem + 4.6vw, 4.6rem); line-height: 1.04; margin: 0 0 .32em; max-width: 12ch; }
.hero__sub { font-size: clamp(.95rem, .9rem + .25vw, 1.08rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 28px; max-width: 34ch; }
.hero__hours { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 1rem; color: rgba(255, 255, 255, .92); }
.hero :focus-visible { outline-color: #fff; }
@media (max-width: 760px) {
  .hero { min-height: 0; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 16, 12, .1) 0%, rgba(14, 16, 12, .35) 28%, rgba(14, 16, 12, .82) 52%, rgba(14, 16, 12, .9) 100%); }
  .hero__in { padding-top: 230px; padding-bottom: 36px; }
  .hero__img { object-position: 72% 18% !important; }
  .hero .btns .btn { width: 100%; }
}

/* ---- inner-page banner: their full-width photo with the title in the middle ---- */
.phero { position: relative; isolation: isolate; color: #fff; text-align: center; min-height: clamp(240px, 30vw, 380px); display: flex; align-items: center; overflow: hidden; background: #2b2a22; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 16, 12, .52); }
.phero__in { padding-top: 40px; padding-bottom: 44px; }
.phero__title { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 3.9rem); margin: 0; }
.phero__lede { margin: .5em 0 0; font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); }
.crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; justify-content: center; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; }
.crumbs li + li::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; background: var(--tan);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.phero :focus-visible { outline-color: #fff; }
:root { --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg%3E%3Cellipse cx='6' cy='10.2' rx='2.1' ry='2.7' transform='rotate(-18 6 10.2)'/%3E%3Cellipse cx='9.8' cy='6' rx='2.1' ry='2.8' transform='rotate(-6 9.8 6)'/%3E%3Cellipse cx='14.2' cy='6' rx='2.1' ry='2.8' transform='rotate(6 14.2 6)'/%3E%3Cellipse cx='18' cy='10.2' rx='2.1' ry='2.7' transform='rotate(18 18 10.2)'/%3E%3Cpath d='M12 11.2c-2.6 0-5.6 3.7-5.6 6.3 0 1.9 1.4 2.8 3 2.8 1.2 0 1.7-.6 2.6-.6s1.4.6 2.6.6c1.6 0 3-.9 3-2.8 0-2.6-3-6.3-5.6-6.3z'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---- sections ---- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tint { background: var(--tan-soft); }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.split--media-first .split__media { order: -1; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--media-first .split__media { order: 2; }
}

/* ---- the signature: photos in their blob or brush shape, with the three badges ---- */
.shape { position: relative; margin: 0 auto; width: 100%; max-width: 560px; }
.shape__clip { aspect-ratio: 1000 / 913; -webkit-mask: url("../img/mask-blob.webp") center / contain no-repeat; mask: url("../img/mask-blob.webp") center / contain no-repeat; }
.shape--brush .shape__clip { aspect-ratio: 1421 / 738; -webkit-mask-image: url("../img/mask-brush.webp"); mask-image: url("../img/mask-brush.webp"); }
.shape__img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; aspect-ratio: 1; border-radius: 50%; background: var(--green) url("../img/badge-paw.webp") center / 64% no-repeat; }
.badge--paw { width: 11%; top: 0; right: 2%; }
.badge--paw-sm { width: 8%; top: 46%; left: -5%; background-color: var(--sky); }
.badge--bone { width: 17%; bottom: 9%; left: 5%; background-color: var(--yellow); background-image: url("../img/badge-bone.webp"); background-size: 70%; }
@media (max-width: 560px) { .badge--paw-sm { left: -1%; } }
@supports not ((mask-image: url("x.png")) or (-webkit-mask-image: url("x.png"))) {
  .shape__clip { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; overflow: hidden; }
}

/* ---- what happens next ---- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.path { background: #fff; border: 1px solid var(--card-line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.path__title { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); color: var(--blue-ink); margin-bottom: 18px; }
.steps { list-style: none; counter-reset: step; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; padding-top: 4px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--tan);
  color: var(--brown); font-weight: 600; display: grid; place-items: center; font-size: 1rem; }
.steps strong { font-weight: 600; }
.path .btn, .path .textlink { margin-top: auto; }
@media (max-width: 860px) { .paths { grid-template-columns: minmax(0, 1fr); } }
.gentle { margin-top: clamp(22px, 3vw, 32px); background: #fff; border-radius: 16px; border-left: 5px solid var(--tan); padding: 22px 26px; }
.gentle--wide { max-width: none; }
.gentle__title { font-size: 1.3rem; font-weight: 500; margin-bottom: .4em; }
.gentle p { max-width: 70ch; }
.gentle p:last-child { margin-bottom: 0; }
.gentle__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
@media (max-width: 760px) { .gentle__cols { grid-template-columns: minmax(0, 1fr); } }
.section:not(.section--tint) .gentle { background: var(--tan-soft); }

/* ---- outlined cards with an inset photo (their cremation cards) ---- */
.cards { display: grid; gap: clamp(18px, 3vw, 32px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards--2 { grid-template-columns: minmax(0, 1fr); } }
.card { background: #fff; border: 1px solid var(--card-line); border-radius: var(--r-card); padding: 8px; display: flex; flex-direction: column; scroll-margin-top: 110px; }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 15px; }
.card__body { padding: 22px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: clamp(1.55rem, 1.3rem + .8vw, 2rem); color: var(--blue-ink); margin-bottom: .1em; }
.card__sub { font-size: 1.2rem; margin-bottom: .8em; }
.card .textlink { margin-top: auto; }

/* ---- 'Our services include' ---- */
.pawlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pawlist li { display: flex; gap: 14px; align-items: flex-start; }
.list__mark { width: 26px; height: 26px; flex: none; color: var(--blue); margin-top: 1px; }

/* ---- urns: what to consider ---- */
.consider { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.consider__item { padding: 4px clamp(18px, 2.5vw, 34px); border-left: 2px solid var(--tan); }
.consider__item:first-child { padding-left: 0; border-left: 0; }
.consider__title { font-size: 1.35rem; font-weight: 500; color: var(--blue-ink); }
@media (max-width: 860px) {
  .consider { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .consider__item, .consider__item:first-child { padding: 0 0 0 18px; border-left: 2px solid var(--tan); }
}

/* ---- questions + form: their tan card ---- */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ask__intro .shape { margin-top: 24px; max-width: 480px; margin-left: 0; }
@media (max-width: 860px) {
  .ask { grid-template-columns: minmax(0, 1fr); }
  .section--ask .ask__intro .shape { display: none; }
}
.formcard { background: var(--tan); border-radius: var(--r-form); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.formcard__title { margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 520px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-weight: 600; font-size: .98rem; }
.field__opt { font-weight: 400; color: #4a4033; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 2px solid #fff; border-radius: 30px; padding: 12px 18px; min-height: 48px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field textarea { border-radius: 20px; resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 120, 174, .25); }
.field input[aria-invalid="true"] { border-color: #a3261b; }
.field__err { color: #8f1f15; font-weight: 600; font-size: .92rem; }
.field__err:empty { display: none; }
.form__hint { margin: -4px 0 16px; font-size: .95rem; color: #3f372b; }
.form__submit { margin-top: 4px; }
.form__fine { margin: 14px 0 0; font-size: .93rem; color: #3f372b; }
.form__fine a, .formcard a { color: var(--blue-ink); }
.sent h3 { margin-top: 0; }
.sent:focus { outline: none; }

/* ---- contact: ways to reach ---- */
.reach { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; gap: 20px; }
.reach__item { display: flex; gap: 16px; align-items: flex-start; }
.reach__ico { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; }
.reach__ico .ico { width: 22px; height: 22px; }
.reach__h { font-size: 1.3rem; font-weight: 400; margin: 6px 0 4px; }
.reach p { margin: 0; }
.reach__big { font-size: 1.35rem; font-weight: 500; }
.reach__small { font-size: .95rem; color: var(--muted); margin-top: 4px !important; }
.social { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.social a, .footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; }
.social a:hover, .footer__social a:hover { background: var(--brown); color: #fff; }
.social .ico, .footer__social .ico { width: 22px; height: 22px; }
.map { border-radius: var(--r-card); overflow: hidden; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .25); background: var(--tan-soft); }
.map__frame { display: block; width: 100%; height: clamp(300px, 40vw, 440px); border: 0; }
.section--map { padding-top: 0; }

/* ---- hours list ---- */
.hours { margin: 0; }
.hours__row { display: flex; flex-wrap: wrap; gap: 0 10px; }
.hours dt { font-weight: 500; }
.hours dt::after { content: ":"; }
.hours dd { margin: 0; }

/* ---- veterinarians ---- */
.vetfind { max-width: 560px; margin-bottom: 30px; }
.vetfind__label { display: block; font-weight: 600; margin-bottom: 8px; }
.vetfind__box { position: relative; }
.vetfind__box .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.vetfind__box input { width: 100%; min-height: 52px; padding: 12px 18px 12px 48px; font: 400 1.05rem var(--sans); color: var(--ink); border: 2px solid var(--card-line); border-radius: 999px; background: #fff; }
.vetfind__box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 120, 174, .2); }
.vetfind__count { margin: 8px 0 0 4px; font-size: .95rem; color: var(--muted); min-height: 1.4em; }
.vetgroup { margin-bottom: 34px; }
.vetgroup[hidden] { display: none; }
.vetgroup__town { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 500; padding-bottom: 10px; border-bottom: 2px solid var(--tan); margin-bottom: 16px; }
.vetgroup__town::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--blue); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
.vets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.vet { background: #fff; border: 1px solid var(--card-line); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; }
.vet[hidden] { display: none; }
.vet__name { font-size: 1.2rem; font-weight: 500; margin: 0 0 6px; }
.vet__docs { list-style: none; margin: 0 0 8px; padding: 0; font-size: .97rem; color: var(--muted); }
.vet__addr { margin: 0 0 6px; font-size: .97rem; }
.vet__spec { margin: 0 0 6px; font-size: .95rem; font-style: italic; color: var(--muted); }
.vet__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: auto; padding-top: 10px; }
.vet__tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 40px; }
.vet__web { font-weight: 500; }
.vetnone { background: #fff; border-radius: 16px; padding: 20px 24px; margin-bottom: 20px; }
.vetnone p { margin: 0; }

/* ---- resources ---- */
.rlinks { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.rlinks li { border-bottom: 1px solid var(--line); }
.rlinks a { display: flex; flex-direction: column; padding: 14px 4px; text-decoration: none; }
.rlink__name { color: var(--ink); font-weight: 500; font-size: 1.08rem; }
.rlink__url { color: var(--blue-ink); text-decoration: underline; text-underline-offset: .18em; font-size: .97rem; }
.rlinks a:hover .rlink__name { color: var(--brown); }

/* ---- closing call panel on inner pages ---- */
.callband { padding: 0 0 clamp(56px, 7vw, 96px); }
.callband__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.callband__in { background: var(--tan-soft); border-radius: var(--r-form); padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px);
  max-width: calc(var(--wrap)); width: calc(100% - 2 * var(--gut)); padding-left: clamp(22px, 4vw, 48px); padding-right: clamp(22px, 4vw, 48px); }
.callband__title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .3em; }
.callband__line { margin: 0; color: var(--muted); max-width: 52ch; }
.page-resources .section + .callband { padding-top: 0; }
@media (max-width: 560px) { .callband .btns .btn, .split__text .btns .btn { width: 100%; } }

/* ---- hours band (their tan footer band) + footer ---- */
.infoband { background: var(--tan); padding: clamp(40px, 5vw, 60px) 0; }
.infoband__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); }
.infoband__h { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: .35em; }
.infoband p { margin: 0 0 .5em; }
.infoband a { color: var(--blue-ink); font-weight: 500; }
.infoband__small { font-size: .95rem; color: #3f372b; }
.infoband__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
@media (max-width: 860px) { .infoband__grid { grid-template-columns: minmax(0, 1fr); } }
.footer { background: #fff; padding-top: clamp(36px, 5vw, 56px); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 28px 40px; padding-bottom: 32px; }
.footer__logo { width: 190px; height: auto; margin-bottom: 18px; }
.footer__social { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.footer__h { font-size: 1.15rem; font-weight: 500; margin-bottom: .7em; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__links a { color: var(--ink); text-decoration: none; display: inline-block; padding: 3px 0; }
.footer__links a:hover { color: var(--blue); text-decoration: underline; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 3px 0; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--blue); }
.footer__contact .ico { color: var(--blue); }
.footer__base { border-top: 1px solid var(--line); padding: 18px 0; text-align: center; }
.footer__base p { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- phone call bar ---- */
.callbar { display: none; }
@media (max-width: 899px) {
  .callbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line);
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, .35); }
  .callbar .btn { flex: 1; min-height: 48px; padding: .7em .8em; font-size: .98rem; white-space: nowrap; }
  body { padding-bottom: 76px; }
}
.cb-short { display: none; }
@media (max-width: 409px) {
  .callbar .cb-long.cb-next { display: none; }
  .callbar .cb-short.cb-next { display: inline; }
  .callbar .btn--blue { flex: 1.4; }
}

/* ---- 404 ---- */
.notfound { text-align: left; }
.pills { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills a { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--blue); text-decoration: none; font-weight: 500; }
.pills a:hover { background: var(--blue); color: #fff; }
.ticks { margin: 0 0 1em; padding-left: 1.2em; }
.ticks li { margin-bottom: .45em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

