/* Beyond Senior Living — site styles
   Palette drawn from the logo: navy ink, logo blue, heart sky-blue on cool white. */

@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --ink: #16263f;
  --blue: #245aa8;
  --blue-dark: #1b467f;
  --sky: #48b2da;
  --sky-soft: #e4f2f9;
  --mist: #f1f6f9;
  --line: #d9e3ea;
  --text: #26323f;
  --muted: #556373;
  --white: #fff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --leaf: 140px 18px 140px 18px;     /* signature photo shape, echoes the logo's ribbon heart */
  --leaf-sm: 72px 12px 72px 12px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(22, 38, 63, .06), 0 12px 32px -12px rgba(22, 38, 63, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 68ch; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.center { text-align: center; }
.center .measure, .center.measure { margin-inline: auto; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid var(--blue); background: var(--blue); color: #fff; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--sky-soft); color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sky-soft); border-color: var(--sky-soft); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.text-link { font-weight: 700; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #c9d5e3; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 760px) { .topbar__area { display: none; } .topbar__inner { justify-content: center; } .topbar__links a[href^="mailto"] { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.brand__sub { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-top: 5px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: #b8c7da; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; }
.menu a:hover { background: var(--mist); color: var(--blue); }
.menu > li > a[aria-current="page"], .menu > li > a[data-active] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--sky); border-radius: 8px 8px 0 0; }
.sub-toggle { width: 26px; height: 40px; margin-left: -8px; border: 0; background: transparent; cursor: pointer; border-radius: 6px; color: var(--ink); }
.sub-toggle::before { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.sub a { font-weight: 500; }
.sub a[aria-current="page"] { color: var(--blue); background: var(--mist); }
@media (min-width: 1081px) {
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub-toggle[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }
}
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .site-header__inner { min-height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand__name { font-size: 1.35rem; }
  .brand__sub { font-size: .68rem; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 .95rem var(--sans); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--nav-top, 108px) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 120px; overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .menu > li > a { flex: 1; padding: 14px 4px; font-size: 1.1rem; }
  .menu > li > a[aria-current="page"], .menu > li > a[data-active] { box-shadow: none; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .sub { position: static; display: none; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; }
  .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .site-nav__cta { margin-top: 20px; }
}

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(22,38,63,.08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .callbar__call { background: var(--ink); color: #fff; }
  .callbar__tour { background: var(--blue); color: #fff; }
  .callbar a:hover { color: #fff; }
  body { padding-bottom: 76px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head.center { margin-inline: auto; }
.section__head p { color: var(--muted); font-size: 1.15rem; }
.kicker { display: block; font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--blue); margin-bottom: .6rem; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px); background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 17ch; }
.hero .lede { max-width: 44ch; }
.hero__photos { position: relative; padding: 0 0 56px 56px; }
.hero__main { border-radius: var(--leaf); width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 30%; box-shadow: var(--shadow); }
.hero__inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--leaf-sm); border: 6px solid #fff; box-shadow: var(--shadow); }
.hero__note { margin-top: 1.4rem; font-size: 1rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photos { max-width: 520px; margin-inline: auto; width: 100%; padding: 0 0 40px 40px; }
}

/* ---------- Facts strip ---------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 24px 22px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts li:nth-child(3) { border-left: 0; padding-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts li { border-left: 0; padding-left: 0; } .facts li + li { border-top: 1px solid var(--line); } }

/* ---------- Split media/text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--wide-text { grid-template-columns: .85fr 1.15fr; }
.split__media img { width: 100%; border-radius: var(--leaf); aspect-ratio: 5 / 4; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split--flip .split__media { order: 2; }
.split__media figcaption { font-size: .95rem; color: var(--muted); margin-top: 10px; }
.split__media { margin: 0; }
@media (max-width: 860px) { .split, .split--wide-text { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }

/* ---------- Lists ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { position: relative; padding-left: 34px; margin-bottom: .7rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245aa8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks--cols { columns: 2; column-gap: 40px; }
.checks--cols li { break-inside: avoid; }
@media (max-width: 700px) { .checks--cols { columns: 1; } }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 1rem; }
.section--mist .tags li { background: #fff; }
.tags--soft li { background: var(--sky-soft); border-color: transparent; }

/* ---------- Service index (home + services) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list > li { border-bottom: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 180px 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: 24px 0; text-decoration: none; color: inherit; }
.svc-row:hover { text-decoration: none; color: inherit; }
.svc-row img { width: 180px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--leaf-sm); }
.svc-row h3 { margin: 0 0 .3em; font-size: 1.5rem; }
.svc-row p { margin: 0; color: var(--muted); max-width: 62ch; }
.svc-row__go { font-weight: 700; color: var(--blue); white-space: nowrap; padding: 10px 18px; border: 2px solid var(--line); border-radius: 999px; transition: border-color .15s, background-color .15s; }
.svc-row:hover .svc-row__go { border-color: var(--blue); background: var(--sky-soft); }
.svc-row:hover h3 { color: var(--blue); }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 96px 1fr; }
  .svc-row img { width: 96px; }
  .svc-row__go { display: none; }
  .svc-row h3 { font-size: 1.25rem; }
  .svc-row p { font-size: 1rem; }
}

/* ---------- Grid of panels ---------- */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panels--2 { grid-template-columns: repeat(2, 1fr); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.section--mist .panel { border-color: transparent; }
.panel h3 { margin-bottom: .4em; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.panel--accent { border-top: 4px solid var(--sky); }
@media (max-width: 900px) { .panels, .panels--2 { grid-template-columns: 1fr; } }

/* ---------- Mosaic (home gallery teaser) ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.mosaic > div { position: relative; min-height: 0; overflow: hidden; border-radius: 10px; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic > :first-child { grid-row: span 2; }
.mosaic > :first-child { border-radius: var(--leaf-sm); }
.mosaic { aspect-ratio: 2.2 / 1; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; } .mosaic > div { aspect-ratio: 4 / 3; } .mosaic > :first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .95rem; color: var(--muted); padding: 8px 2px 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 18, 32, .88); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox__close { position: fixed; top: 16px; right: 16px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: 700 1rem var(--sans); cursor: pointer; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--mist); padding-block: clamp(28px, 4vw, 44px) clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 56ch; margin-bottom: 0; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--leaf-sm); box-shadow: var(--shadow); }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__media { max-width: 560px; } }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 6px; font-size: .95rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa8b6; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside-card { position: sticky; top: 110px; background: var(--mist); border-radius: var(--radius); padding: 28px; }
.aside-card h2 { font-size: 1.4rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.aside-card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.aside-card li:last-child { border-bottom: 0; }
.aside-card a[aria-current="page"] { font-weight: 700; color: var(--ink); text-decoration: none; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Quote / callout ---------- */
.callout { border-left: 4px solid var(--sky); padding: 6px 0 6px 24px; margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); }
.callout p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__a { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq__a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #d5e0ec; padding-block: clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(72, 178, 218, .12); pointer-events: none; }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 56ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list strong { display: block; font-size: .95rem; color: var(--muted); font-weight: 600; }
.info-list a, .info-list span, .info-list address { font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.info-list a:hover { color: var(--blue); text-decoration: underline; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.form-fallback { background: var(--mist); border-radius: var(--radius); padding: 24px; }
.form-fallback__title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin-bottom: .4em; }
.form-fallback__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 0; }
.cognito-wrap { min-height: 360px; }
.cognito-wrap iframe { display: block; }
/* Light touch on Cognito's seamless form so it matches the site */
.cognito-wrap .cog-cognito { --cog-font-family: var(--sans); font-family: var(--sans); }

.map-facade { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sky-soft); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 24px; border: 1px solid var(--line); }
.map-facade p { color: var(--ink); font-weight: 600; margin-bottom: .8rem; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1c30; color: #b8c7da; padding-top: clamp(48px, 6vw, 72px); font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand p { margin-top: 1rem; max-width: 40ch; }
.site-footer__area { color: #fff; font-weight: 600; }
.site-footer__h { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: #fff; margin: 6px 0 14px; letter-spacing: 0; }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: 8px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; font-size: .92rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: span 2; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__brand { grid-column: auto; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.note { font-size: .98rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
@media print { .topbar, .site-header, .callbar, .cta-band, .site-footer { display: none; } }
.gallery-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }

/* ---------- Service cards (home) ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(22,38,63,.06); transition: box-shadow .2s, transform .2s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.svc-card h3 { font-size: 1.45rem; margin-bottom: .45em; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card is clickable */
.svc-card:hover h3 a { color: var(--blue); }
.svc-card p { color: var(--muted); flex: 1; margin-bottom: 1.2rem; }
.svc-card__more { font-weight: 700; color: var(--blue); }
.svc-card:hover .svc-card__more { text-decoration: underline; text-underline-offset: .18em; }
.svc-card h3 a:focus-visible { outline: none; }
.svc-card:has(h3 a:focus-visible) { outline: 3px solid var(--sky); outline-offset: 3px; }
.svc-card--feature { background: var(--ink); color: #d5e0ec; }
.svc-card--feature:hover { transform: none; box-shadow: 0 1px 2px rgba(22,38,63,.06); }
.svc-card--feature .svc-card__body { justify-content: center; padding: 34px 32px; }
.svc-card--feature h3 { color: #fff; font-size: 1.7rem; }
.svc-card--feature p { color: #c9d5e3; flex: 0 0 auto; margin-bottom: 1.6rem; }
.svc-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.svc-card__link { color: #fff; font-weight: 700; }
.svc-card__link:hover { color: #fff; }
@media (max-width: 980px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-cards { grid-template-columns: 1fr; } }

/* ---------- Full-width photo hero (home) ---------- */
.hero--full { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(520px, 72vh, 760px); padding-block: clamp(72px, 10vw, 128px); background: var(--ink); color: #fff; overflow: hidden; }
.hero--full .hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.hero--full::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .6); }
.hero--full .hero__content { width: 100%; }
.hero--full h1 { color: #fff; max-width: 17ch; }
.hero--full .lede { color: #eef3f8; max-width: 46ch; }
.hero--full .hero__note { color: #d5dee8; }
@media (max-width: 620px) { .hero--full { min-height: 0; } .hero--full .hero__bg { object-position: 62% 30%; } }

.sub--right { left: auto; right: 0; }
.legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.legal-links li + li::before { content: "|"; margin: 0 12px; color: rgba(255,255,255,.35); }
@media (max-width: 1080px) { .sub--right { right: auto; } }
