/* Montgomery ElderCare — brand: navy, royal blue, lime on white */

:root {
  --navy: #0d2a66;
  --navy-deep: #0a1f4d;
  --blue: #1d5fd1;
  --blue-soft: #4f86e6;
  --tint: #eef4fd;
  --tint-2: #dfeafb;
  --lime: #8cc919;
  --lime-hover: #9bd62a;
  --lime-tint: #eef8dc;
  --green-text: #3f7a06;   /* lime family, AA on white */
  --ink: #142347;
  --ink-soft: #46546f;
  --line: #d6e1f2;
  --white: #ffffff;
  --warm: #f7f9ef;      /* soft leaf-cream, from the lime family */
  --warm-2: #edf4dc;

  --f-head: "Montserrat", system-ui, sans-serif;
  --f-display: "Playfair Display", Georgia, serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 78rem;
  --r: 22px;
  --r-sm: 12px;
  --arch: var(--r);
  --shadow: 0 2px 4px rgba(13, 42, 102, .06), 0 14px 32px -12px rgba(13, 42, 102, .28);
  --shadow-lift: 0 4px 8px rgba(13, 42, 102, .08), 0 24px 44px -16px rgba(13, 42, 102, .36);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --brand-line: linear-gradient(90deg, var(--blue), var(--blue-soft) 45%, var(--lime));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; scrollbar-color: var(--blue) var(--tint); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-size: 1.1875rem; line-height: 1.6;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--lime); }

h1, h2, h3 { font-family: var(--f-head); color: var(--navy); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: 1.3rem; line-height: 1.5; color: var(--ink-soft); }
.measure { max-width: 62ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: var(--s-2); background: var(--lime); color: var(--navy); padding: var(--s-2) var(--s-4); z-index: 100; font-weight: 700; border-radius: var(--r-sm); }
.skip:focus { left: var(--s-2); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.i { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.005em;
  padding: .95em 1.5em; min-height: 3.25rem; border-radius: var(--r-sm); border: 0; cursor: pointer; text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 10px 22px -10px rgba(95, 154, 10, .7); }
.btn-lime:hover { background: var(--lime-hover); box-shadow: 0 14px 26px -10px rgba(95, 154, 10, .75); }
.btn-outline { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.link-arrow { font-family: var(--f-head); font-weight: 700; color: var(--blue); display: inline-flex; gap: .45em; align-items: center; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .i { transition: transform .3s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--brand-line); }
.top .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 5.25rem; }
.brand { display: block; margin-right: auto; }
.brand img { height: 3.4rem; width: auto; }
.nav { display: flex; gap: var(--s-1); }
.nav a { font-family: var(--f-head); font-weight: 600; font-size: 1rem; color: var(--navy); text-decoration: none; padding: .55rem .75rem; border-radius: var(--r-sm); transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--tint); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: .45em; }
.top-phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-head); font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.top-phone .i { color: var(--green-text); }
.top .btn { min-height: 2.9rem; padding: .7em 1.15em; font-size: .98rem; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
/* Calm morning-sky wash that settles into the light blue the brand uses for panels */
.hero { background: linear-gradient(180deg, var(--white) 0%, var(--white) 35%, var(--tint) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.hero .lede { margin-top: var(--s-5); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.badges { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.badge { display: flex; align-items: center; gap: .7rem; background: var(--tint); border-radius: 999px; padding: .5rem 1.1rem .5rem .5rem; }
.badge .disc { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; flex: none; }
.badge strong { display: block; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.25; }
.badge span { display: block; font-size: .85rem; color: var(--ink-soft); line-height: 1.3; }

.hero-visual { position: relative; padding: 0 0 2.5rem 2.5rem; }
.arch { border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--tint); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch { aspect-ratio: 4 / 3.3; }
.hero .arch img { object-position: 62% 50%; }
.arch-ring { position: absolute; top: -14px; right: -14px; bottom: calc(2.5rem + 14px); left: calc(2.5rem + 14px); border-radius: var(--arch); box-shadow: inset 0 0 0 3px rgba(29, 95, 209, .25); pointer-events: none; }
.special {
  position: absolute; right: calc(-1 * clamp(1.5rem, 3vw, 2.75rem)); top: 12%;
  background: var(--lime); color: var(--navy); border-radius: var(--r); padding: 1.1rem 1.4rem 1.2rem; text-align: center;
  box-shadow: var(--shadow-lift); max-width: 15.5rem;
}
.special small { display: block; font-family: var(--f-head); font-weight: 700; font-size: .9rem; }
.special b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; margin: .2rem 0; }
.special span { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.special a { display: inline-block; margin-top: .45rem; font-size: .85rem; font-weight: 700; }
.openings {
  position: absolute; left: 0; bottom: 0; display: flex; gap: .9rem; align-items: center;
  background: var(--white); border-radius: var(--r); padding: 1rem 1.3rem; box-shadow: var(--shadow-lift); max-width: 23rem;
}
.openings .disc { width: 3rem; height: 3rem; border-radius: var(--r-sm); background: var(--lime); color: var(--navy); display: grid; place-items: center; flex: none; }
.openings .disc .i { width: 1.5rem; height: 1.5rem; }
.openings strong { display: block; font-family: var(--f-head); font-weight: 800; color: var(--navy); font-size: 1.2rem; line-height: 1.15; }
.openings span { color: var(--ink-soft); font-size: .98rem; }

/* ---------- live "right now" strip ---------- */
.now { background: var(--navy); color: var(--white); position: relative; }
.now::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-line); }
.now .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) clamp(1.5rem, 4vw, 3.5rem); padding-block: 1.35rem; }
.now-title { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: .55rem; }
.pulse { width: .7rem; height: .7rem; border-radius: 50%; background: var(--lime); }
.now-item { display: flex; align-items: baseline; gap: .5rem; font-variant-numeric: tabular-nums; }
.now-item .k { font-size: .9rem; color: #b8c7e6; }
.now-item .v { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; }
.now-item.yes .v { color: var(--lime); }
.tick { animation: tick .5s var(--ease-out); }
@keyframes tick { from { opacity: .3; } to { opacity: 1; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section.tinted { background: var(--tint); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { max-width: 58ch; color: var(--ink-soft); font-size: 1.2rem; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); flex-wrap: wrap; }
.center { text-align: center; justify-items: center; }

/* ---------- features (flyer row) ---------- */
.features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.feature { text-align: center; padding: 0 var(--s-4); display: grid; justify-items: center; gap: var(--s-3); align-content: start; }
.feature + .feature { box-shadow: -1px 0 0 var(--line); }
.feature .disc { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--blue); margin-bottom: var(--s-2); transition: transform .4s var(--ease-out); }
.feature:nth-child(even) .disc { background: var(--lime-tint); color: var(--green-text); }
.feature:hover .disc { transform: translateY(-4px) rotate(-6deg); }
.feature .disc .i { width: 2rem; height: 2rem; stroke-width: 1.8; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }

/* ---------- homes ---------- */
.homes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.house {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--navy);
  background: var(--white); border-radius: var(--arch); box-shadow: var(--shadow);
  padding: 1.75rem 1.1rem 1.25rem; text-align: center; min-height: 15rem;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.house:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.house .roof { width: 2.6rem; height: 2.6rem; margin: 0 auto .9rem; color: var(--lime); stroke-width: 2.4; }
.house-num { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; color: var(--blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.house-street { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; margin-top: .4rem; }
.house-zip { color: var(--ink-soft); font-size: .92rem; margin-top: auto; padding-top: 1rem; }
.house .tag { position: absolute; left: 50%; transform: translateX(-50%); top: -.85rem; white-space: nowrap; }
.house.open { box-shadow: inset 0 0 0 3px var(--lime), var(--shadow); }
.tag { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: .78rem; background: var(--lime); color: var(--navy); padding: .35em .85em; border-radius: 999px; letter-spacing: 0; }
.tag.blue { background: var(--blue); color: var(--white); }

/* ---------- care split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split .arch { aspect-ratio: 16 / 11; }
.split .arch img { object-position: 30% 40%; }
.checks { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; }
.checks li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--s-3); padding: .75rem 0; }
.checks li + li { box-shadow: 0 -1px 0 var(--line); }
.checks .ok { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; margin-top: .1rem; }
.checks .ok svg { width: 1rem; height: 1rem; stroke: currentColor; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.checks strong { display: block; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 1.08rem; line-height: 1.3; }
.checks span { color: var(--ink-soft); font-size: 1rem; }

/* ---------- week board ---------- */
.week-controls { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.week-controls .lbl { color: var(--ink-soft); font-size: .95rem; margin-right: var(--s-1); }
.chip {
  font-family: var(--f-head); font-weight: 700; font-size: .95rem; background: var(--white); color: var(--navy); border: 0;
  box-shadow: inset 0 0 0 2px var(--line); padding: .55em 1.05em; border-radius: 999px; cursor: pointer; min-height: 2.75rem;
  transition: background-color .2s, box-shadow .2s, color .2s;
}
.chip:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: none; }
.dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .45em; vertical-align: -.02em; background: var(--c); }
.chip[aria-pressed="true"] .dot.spirit { box-shadow: 0 0 0 2px var(--white); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.4rem, .9vw, .75rem); margin-top: var(--s-6); }
.day { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.day-name {
  font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--navy); border: 0; cursor: default;
  padding: .6em .5em; text-align: center; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
}
.day-name small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .78rem; color: var(--ink-soft); }
.day.is-today .day-name { background: var(--blue); color: var(--white); box-shadow: none; }
.day.is-today .day-name small { color: #dbe7fb; }
.act {
  background: var(--white); border-radius: var(--r-sm); padding: .65rem .7rem; box-shadow: var(--shadow);
  font-size: .95rem; line-height: 1.3; color: var(--ink);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), filter .35s;
}
.act b { display: flex; align-items: center; gap: .35rem; font-family: var(--f-head); font-weight: 700; font-size: .72rem; color: var(--ink-soft); margin-bottom: .25rem; }
.act b::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); flex: none; }
.act.dim { opacity: .2; transform: scale(.97); filter: saturate(0); }
.mind { --c: var(--blue); } .body { --c: var(--lime); } .spirit { --c: var(--navy); }
.week-note { margin-top: var(--s-5); color: var(--ink-soft); font-size: .95rem; }

/* ---------- testimonials ---------- */
.banner { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.banner img { width: 100%; height: auto; aspect-ratio: 1920 / 620; object-fit: cover; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(-4rem, -5vw, -2rem); position: relative; padding-inline: clamp(0rem, 2vw, 1.5rem); }
.quote { margin: 0; background: var(--white); border-radius: var(--r); padding: 1.75rem 1.6rem 1.5rem; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; }
.quote .heart { width: 2.2rem; height: 2.2rem; color: var(--blue); margin-bottom: .75rem; }
.quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.55; color: var(--ink); }
.quote figcaption { margin-top: auto; padding-top: 1.1rem; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: .98rem; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.quote-grid .quote { box-shadow: var(--shadow); }
.quote-grid .quote:nth-child(4n+1), .quote-grid .quote:nth-child(4n) { background: var(--tint); box-shadow: none; }

/* ---------- awards ---------- */
.awards { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4); }
.awards .badge { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: .6rem 1.3rem .6rem .6rem; }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-line); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.cta h2 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.cta h2 em { color: var(--lime); }
.cta-copy p { color: #c9d6f0; margin-top: 1.1rem; max-width: 42ch; font-size: 1.2rem; }
.cta-card { background: var(--white); color: var(--navy); border-radius: var(--r); padding: var(--s-6); display: grid; gap: var(--s-4); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45); }
.cta-card p { color: var(--ink-soft); font-size: 1rem; }
.cta-card .big { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; text-decoration: none; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: inline-flex; gap: .6rem; align-items: center; }
.cta-card .big .i { color: var(--green-text); width: .9em; height: .9em; }
.cta-card .big:hover { color: var(--blue); }
.cta-card .btn { justify-self: start; }

/* ---------- page heads ---------- */
.page-head { background: var(--tint); position: relative; overflow: hidden; }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
.page-head .lede { margin-top: var(--s-5); max-width: 44ch; }
.page-head .arch { aspect-ratio: 5 / 4; max-height: 22rem; width: 100%; }
.head-stat { justify-self: end; background: var(--white); border-radius: var(--r); padding: 1.5rem 1.75rem; box-shadow: var(--shadow); display: grid; gap: .25rem; min-width: 15rem; }
.head-stat b { font-family: var(--f-head); font-weight: 800; color: var(--blue); font-size: 2.4rem; line-height: 1.05; letter-spacing: -.02em; }
.head-stat span { color: var(--ink-soft); }

/* ---------- homes page ---------- */
.home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.home + .home { box-shadow: 0 -1px 0 var(--line); }
.home:nth-of-type(even) .home-media { order: 2; }
.photo { margin: 0; aspect-ratio: 16 / 10.5; }
.photo .ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 3.5rem var(--s-5) var(--s-5); color: var(--ink-soft); font-size: .95rem; background: linear-gradient(180deg, var(--tint-2), var(--tint)); }
.photo .ph svg { width: 3.5rem; height: 3.5rem; color: var(--blue); margin: 0 auto .75rem; }
.photo .ph strong { display: block; font-family: var(--f-head); color: var(--navy); font-size: 1.05rem; }
.home-num { font-family: var(--f-head); font-weight: 800; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .95; letter-spacing: -.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.home h2 { margin-top: var(--s-3); font-size: clamp(1.9rem, 3.4vw, 2.6rem); display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.home p { margin-top: var(--s-4); color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--s-5) 0 0; background: var(--tint); border-radius: var(--r-sm); }
.facts div { padding: .85rem 1rem; }
.facts div + div { box-shadow: -1px 0 0 var(--line); }
.facts dt { font-family: var(--f-head); font-weight: 600; font-size: .8rem; color: var(--ink-soft); }
.facts dd { margin: .15rem 0 0; font-weight: 700; color: var(--navy); }
.home-links { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-5); }
.every-home { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.every-home h3 { margin: var(--s-3) 0 var(--s-2); }
.every-home p { color: var(--ink-soft); }
.disc-md { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--lime-tint); color: var(--green-text); display: grid; place-items: center; }
.disc-md .i { width: 1.6rem; height: 1.6rem; }
.disc-md.blue { background: var(--tint-2); color: var(--blue); }

/* ---------- care page ---------- */
.care-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.care-card { background: var(--white); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.care-card header { display: flex; align-items: center; gap: .9rem; padding-bottom: var(--s-3); box-shadow: 0 2px 0 var(--tint-2); }
.care-card header .disc { width: 3rem; height: 3rem; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.care-card:nth-child(even) header .disc { background: var(--lime-tint); color: var(--green-text); }
.care-card .checks { margin-top: var(--s-2); }
.faq { display: grid; gap: var(--s-3); }
.faq details { background: var(--white); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: clamp(1.1rem, 1.8vw, 1.3rem); padding: 1.2rem 1.4rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; transition: transform .35s var(--ease-out), background-color .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--lime); color: var(--navy); }
.faq .ans { padding: 0 1.4rem 1.4rem; max-width: 64ch; color: var(--ink-soft); }

/* ---------- daily life ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.trio-col { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.trio-col header { padding: 1.5rem 1.6rem 1.25rem; background: var(--c); }
.trio-col header h3 { font-size: 1.8rem; color: var(--white); }
.trio-col.body header h3 { color: var(--navy); }
.trio-col ul { list-style: none; margin: 0; padding: .5rem 1.6rem 1.4rem; }
.trio-col li { padding: .65rem 0; }
.trio-col li + li { box-shadow: 0 -1px 0 var(--line); }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.extras h3 { margin: var(--s-3) 0 var(--s-2); }
.extras p { color: var(--ink-soft); }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form-card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-lift); padding: clamp(1.25rem, 3.5vw, 2.75rem); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--brand-line); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: var(--s-2); }
.form-card > p { color: var(--ink-soft); margin-bottom: var(--s-5); }
.field { display: grid; gap: .4rem; margin-bottom: var(--s-5); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
label, legend { font-family: var(--f-head); font-weight: 600; font-size: 1rem; color: var(--navy); }
.opt { font-family: var(--f-body); font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 1.1rem; color: var(--ink); background: var(--white);
  border: 2px solid #9aabc9; border-radius: var(--r-sm); padding: .75rem .9rem; min-height: 3.25rem; width: 100%;
  caret-color: var(--blue); transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #66748f; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-soft); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 95, 209, .2); }
textarea { min-height: 8rem; resize: vertical; }
input[aria-invalid="true"] { border-color: #b3261e; }
.err { color: #b3261e; font-size: .95rem; font-weight: 700; }
.err:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); }
legend { margin-bottom: .5rem; }
.pick-homes { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pick-homes label { position: relative; font-weight: 600; }
.pick-homes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick-homes span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5em 1em; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .2s, box-shadow .2s; }
.pick-homes input:checked + span { background: var(--blue); color: var(--white); box-shadow: none; }
.pick-homes input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-status { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-sm); background: var(--lime-tint); display: none; }
.form-status.show { display: block; }
.form-status:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.side-info { display: grid; gap: var(--s-6); }
.side-info h3 { margin-bottom: var(--s-2); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.addr-list { list-style: none; padding: 0; margin: 0; }
.addr-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: .8rem 0; }
.addr-list li > div { display: grid; gap: .1rem; }
.addr-list li span { color: var(--ink-soft); font-size: .95rem; }
.addr-list .addr-dir { display: inline-flex; align-items: center; gap: .35rem; flex: none; font-family: var(--f-head); font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none; }
.addr-list .addr-dir:hover { color: var(--blue); text-decoration: underline; }
.addr-list li + li { box-shadow: 0 -1px 0 var(--line); }
.addr-list a { font-weight: 700; color: var(--blue); }

/* ---------- footer ---------- */
.foot { background: var(--white); color: var(--ink); padding-block: var(--s-8) var(--s-6); position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.foot-logo { display: inline-block; }
.foot-logo img { height: 3.6rem; width: auto; }
.foot h3 { font-size: .95rem; color: var(--navy); margin-bottom: var(--s-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; color: var(--ink-soft); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--blue); }
.foot .big-phone { font-family: var(--f-head); font-weight: 800; font-size: 1.9rem; color: var(--navy); display: inline-block; margin-top: var(--s-5); letter-spacing: -.02em; }
.foot .big-phone:hover { color: var(--blue); text-decoration: none; }
.foot-mail { color: var(--ink-soft); margin-top: .4rem; }
.foot-base { margin-top: var(--s-7); padding-top: var(--s-5); box-shadow: 0 -1px 0 var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); font-size: .9rem; color: var(--ink-soft); }
.foot-base { align-items: center; }
.foot-credit a { font-weight: 700; color: var(--navy); }
.social { display: flex; gap: var(--s-2); }
.social a { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--tint); }
.social a:hover { background: var(--lime); color: var(--navy); }

.callbar { display: none; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .rise { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 140ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: .5rem .5rem; font-size: .95rem; }
  .top-phone { display: none; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-7); }
  .feature:nth-child(4) { box-shadow: none; }
  .homes { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-6); }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .45rem; background: var(--navy); color: var(--white); border: 0; border-radius: var(--r-sm); font-family: var(--f-head); font-weight: 700; font-size: .95rem; padding: .7rem 1rem; min-height: 2.9rem; cursor: pointer; }
  .top .btn { display: none; }
  .brand img { height: 2.9rem; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 3px); flex-direction: column; background: var(--white); padding: var(--s-3) var(--gutter) var(--s-5); box-shadow: 0 20px 30px -20px rgba(13, 42, 102, .4); display: none; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.25rem; padding: .85rem .5rem; }
  .hero-grid, .page-head .wrap, .split, .cta .wrap, .visit-grid, .home { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 34rem; }
  .head-stat { justify-self: start; }
  .home:nth-of-type(even) .home-media { order: 0; }
  .quotes { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-5); padding: 0; }
  .quote-grid, .care-groups, .trio, .extras, .every-home { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem var(--s-3) calc(.6rem + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -8px 24px -10px rgba(13, 42, 102, .35); }
  .callbar .btn { padding: .8em .6em; font-size: 1rem; }
  body { padding-bottom: 5rem; }
}
@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .hero-visual { padding: 0 0 4.5rem 0; }
  .special { right: .5rem; top: .75rem; padding: .8rem 1rem; max-width: 11.5rem; }
  .special b { font-size: 2rem; }
  .special span { font-size: .9rem; }
  .openings { left: .5rem; right: .5rem; max-width: none; }
  .arch-ring { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { padding: 0 var(--s-2); }
  .feature:nth-child(n) { box-shadow: none; }
  .homes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homes .house:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .house { min-height: 13rem; padding-top: 1.75rem; }
  .now .wrap { display: grid; grid-template-columns: 1fr 1fr; }
  .now-title { grid-column: 1 / -1; }
  .week { grid-template-columns: minmax(0, 1fr); }
  .day:not(.is-open) .act { display: none; }
  .day-name { display: flex; justify-content: space-between; align-items: center; text-align: left; cursor: pointer; padding: .85em 1em; }
  .day-name small { display: inline; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { box-shadow: 0 -1px 0 var(--line); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- home photo gallery ---------- */
.home-media { display: grid; gap: var(--s-3); }
.home-media .photo img { object-position: 50% 60%; }
.thumbs { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: var(--s-2); }
.thumb { padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: inset 0 0 0 0 var(--lime); transition: transform .3s var(--ease-out), opacity .2s; opacity: .7; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb[aria-pressed="true"] { opacity: 1; outline: 3px solid var(--lime); outline-offset: 2px; }
.photo img.swap { animation: tick .45s var(--ease-out); }

/* home tile with a real photo in the arch */
.house.has-photo { padding-top: 0; overflow: hidden; }
.house-photo { display: block; margin: 0 -1.1rem 1rem; aspect-ratio: 4 / 3; overflow: hidden; }
.house-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; transition: transform .6s var(--ease-out); }
.house:hover .house-photo img { transform: scale(1.05); }
.house.open.has-photo .tag { top: .75rem; z-index: 1; }
.homes { align-items: stretch; }
.banner img { object-position: 50% 55%; }
.thumbs-many { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 640px) { .thumbs-many { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* portrait photos show whole inside the frame instead of being cropped */
.photo img.tall { object-fit: contain; background: var(--tint); }

/* ---------- Assisted Living Magazine feature ---------- */
.featured { padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.featured-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.featured-badge { display: block; max-width: 26rem; justify-self: center; transition: transform .5s var(--ease-out); }
.featured-badge:hover { transform: translateY(-4px) rotate(-1.5deg); }
.featured h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.featured h2 a { text-decoration: none; }
.featured h2 a:hover em { text-decoration: underline; text-decoration-thickness: 3px; }
.featured .lede { margin-top: var(--s-4); }
a.badge:hover strong { color: var(--blue); }
@media (max-width: 960px) { .featured-grid { grid-template-columns: minmax(0, 1fr); } .featured-badge { max-width: 18rem; } }
.featured-badge img { width: 100%; height: auto; }

/* ---------- warmer sections ---------- */
.section.warm { background: var(--warm); }
.empathy p + p:not(.empathy-call) { margin-top: var(--s-4); }
.empathy h2 { margin-bottom: var(--s-5); }
.empathy-call { margin-top: var(--s-6); font-size: 1.15rem; }
.empathy .arch { aspect-ratio: 4 / 3.4; }

/* ---------- a day at home ---------- */
.day-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); position: relative; }
.day-line::before { content: ""; position: absolute; left: 1rem; right: 1rem; top: 1.2rem; height: 2px; background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 16px); }
.moment { position: relative; display: grid; gap: var(--s-3); align-content: start; }
.moment-time { position: relative; justify-self: start; display: inline-flex; align-items: center; gap: .45rem; background: var(--white); color: var(--navy); font-family: var(--f-head); font-weight: 700; font-size: .95rem; padding: .45rem .95rem .45rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--lime); }
.moment-time .i { color: var(--green-text); }
.moment-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); margin-top: var(--s-2); }
.moment-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.moment:hover .moment-photo img { transform: scale(1.04); }
.moment h3 { font-size: 1.2rem; margin-top: var(--s-2); }
.moment p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; }

/* ---------- what happens when you call ---------- */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); max-width: 68rem; }
.steps li { background: var(--white); border-radius: var(--r); padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow); text-align: center; display: grid; justify-items: center; gap: var(--s-3); }
.step-n { width: 3rem; height: 3rem; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; }
.steps p { color: var(--ink-soft); }
.steps-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 960px) {
  .day-line { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-7); }
  .day-line::before { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
}
@media (max-width: 640px) { .day-line { grid-template-columns: minmax(0, 1fr); } }

/* ---------- real award badges ---------- */
.award-row { align-items: center; gap: var(--s-2) var(--s-4); }
.award-img { height: 5.5rem; width: auto; }
.award-link { display: block; border-radius: var(--r-sm); transition: transform .4s var(--ease-out); }
.award-link:hover { transform: translateY(-3px); }
@media (max-width: 640px) { .award-img { height: 4.5rem; } }

/* ---------- Google reviews links ---------- */
.google-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: var(--s-4); font-family: var(--f-head); font-weight: 700; color: var(--blue); text-decoration: none; }
.google-link:hover { text-decoration: underline; }
.stars { display: inline-flex; gap: 1px; color: #e8a400; }
.stars .i { width: 1rem; height: 1rem; fill: currentColor; stroke-width: 1.5; }
.google-strip { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-6); align-items: center; background: var(--warm); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 2.75rem); }
.google-strip h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: var(--s-3); }
.google-strip p { color: var(--ink-soft); }
.google-homes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.google-homes a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .55em 1.1em; border-radius: 999px; background: var(--white); color: var(--navy); font-family: var(--f-head); font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 2px var(--line); }
.google-homes a:hover { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); }
@media (max-width: 960px) { .google-strip { grid-template-columns: minmax(0, 1fr); } }
.google-link .rating { font-size: 1.15rem; color: var(--navy); }
.google-homes .rating-sm { color: var(--ink-soft); font-weight: 700; }
.google-homes a .i { color: #e8a400; fill: currentColor; width: 1rem; height: 1rem; }
.google-link > .i:first-child { color: #e8a400; }
.google-homes a .i:last-child:not(:only-child) { fill: none; }

/* ---------- walkthrough videos ---------- */
.walkthrough { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
.walkthrough-label { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.walkthrough-label .i { color: #c4302b; }
.video { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.walkthrough-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.video-tabs { display: flex; gap: var(--s-2); }
.video-tabs .chip { min-height: 2.5rem; padding: .4em 1em; }

/* addresses: use the heading face so zeros read as plain 0, not the body face's slashed zero */
.addr-list li span, .facts dd, .foot ul li, .house-zip { font-family: var(--f-head); font-weight: 500; }
.facts dd { font-weight: 700; }

/* ---------- a home away from home (brochure) ---------- */
.apart .arch { aspect-ratio: 4 / 3.4; }
.apart .lede { margin-top: var(--s-4); }
.apart-list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-5); }
.apart-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.apart-list h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.apart-list p { color: var(--ink-soft); font-size: 1.02rem; }
.foot-tag { font-family: var(--f-head); font-weight: 600; color: var(--green-text); margin-top: var(--s-3); }

/* Display serif for page and section headings; UI text stays Montserrat */
h1, h2 { font-family: var(--f-display); font-weight: 900; letter-spacing: 0; }
.hero h1, .page-head h1 { font-weight: 900; letter-spacing: -.005em; line-height: 1.08; }
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); text-wrap: balance; }

/* Feature marks drawn from the logo (heart swoosh, lime line art, daisies) */
.feature .mark { width: 5.5rem; height: 5.5rem; margin-bottom: var(--s-1); transition: transform .4s var(--ease-out); }
.feature:hover .mark { transform: translateY(-4px); }
.mark-md { width: 4.25rem; height: 4.25rem; display: block; }
.mark-sm { width: 3.5rem; height: 3.5rem; flex: none; display: block; }
.apart-list li { grid-template-columns: 4.25rem minmax(0, 1fr); }
.mark-quote { width: 3.4rem; height: 3.4rem; display: block; margin: -.4rem 0 .5rem -.3rem; }

/* Contact map with all five homes */
#homes-map { aspect-ratio: 1 / 1; overflow: hidden; z-index: 0; background: var(--tint); }
.home-pin { background: none; border: 0; }
.home-pin svg { width: 36px; height: 46px; display: block; filter: drop-shadow(0 3px 4px rgba(13, 42, 102, .3)); }
.home-pin.is-open svg path:first-child { fill: #3f7a06; }
.pin-pop { display: grid; gap: .2rem; font-family: var(--f-body); font-size: .95rem; color: var(--ink); }
.pin-pop strong { font-family: var(--f-head); color: var(--navy); font-size: 1.02rem; }
.pin-open { font-family: var(--f-head); font-weight: 700; font-size: .78rem; color: var(--green-text); }
.pin-links { display: flex; gap: 1rem; margin-top: .3rem; }
.pin-links a { font-family: var(--f-head); font-weight: 700; color: var(--blue); }
.leaflet-container a.leaflet-popup-close-button { width: 28px; height: 28px; font-size: 20px; }
.pin-pop > span:not(.pin-open):not(.pin-links) { font-family: var(--f-head); font-weight: 600; font-size: .88rem; }
.step-mark { width: 4.5rem; height: 4.5rem; display: block; }
.steps li { align-content: start; }

/* Numbers set in Montserrat to avoid the body font's slashed zero */
.num, input[type="tel"]::placeholder { font-family: var(--f-head); font-weight: 600; }
@media (max-width: 640px) {
  .now .wrap { gap: var(--s-4) var(--s-4); }
  .now-item { flex-direction: column; align-items: flex-start; gap: .1rem; }
  .now-item .v [data-today], .now-item .v { white-space: nowrap; }
  .now-item .v:has([data-today]) { white-space: normal; }
}

/* "A day at home" becomes a swipe row on phones */
.day-hint { display: none; }
@media (max-width: 640px) {
  .day-line { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: var(--s-4); row-gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(var(--gutter, 1rem) * -1); padding: .25rem var(--gutter, 1rem) var(--s-3); scroll-padding-inline: var(--gutter, 1rem); }
  .day-line::-webkit-scrollbar { display: none; }
  .day-line:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  .day-line .moment { scroll-snap-align: start; }
  .day-hint { display: flex; align-items: center; gap: .4rem; font-family: var(--f-head); font-weight: 600; font-size: .9rem; color: var(--green-text); margin: 0 0 var(--s-3); }
}
.map-key { list-style: none; margin: calc(var(--s-6) * -1 + .75rem) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-family: var(--f-head); font-weight: 600; font-size: .92rem; color: var(--navy); }
.map-key li { display: inline-flex; align-items: center; gap: .45rem; }
.map-key svg { width: 18px; height: 23px; flex: none; }

/* Mind, Body, Spirit: photo, logo-style mark and activity chips */
.trio-col { display: flex; flex-direction: column; border-top: 6px solid var(--c); }
.trio-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.trio-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.trio-col:hover .trio-photo img { transform: scale(1.04); }
.trio-body { position: relative; padding: 2.6rem 1.6rem 1.7rem; display: grid; gap: .55rem; align-content: start; }
.trio-mark { position: absolute; top: -2.6rem; left: 1.3rem; width: 4.6rem; height: 4.6rem; padding: .35rem; background: var(--white); border-radius: 50%; box-shadow: 0 8px 18px -10px rgba(13, 42, 102, .45); }
.trio-body h3 { font-family: var(--f-display); font-weight: 900; font-size: 2rem; color: var(--navy); letter-spacing: 0; }
.trio-line { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; }
.trio-col .chips { list-style: none; margin: .45rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.trio-col .chips li, .trio-col .chips li + li { padding: .42rem .85rem; border-radius: 999px; background: var(--chip); color: var(--navy); font-family: var(--f-head); font-weight: 600; font-size: .9rem; line-height: 1.25; box-shadow: none; }
.trio-col.mind { --chip: var(--tint); }
.trio-col.body { --chip: var(--lime-tint); }
.trio-col.spirit { --chip: #e6ebf5; }

/* Meet the Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.team-card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; text-align: center; padding-bottom: 1.4rem; }
.team-card:nth-child(even) .team-photo { background: linear-gradient(160deg, var(--lime-tint), var(--warm-2)); }
.team-photo { aspect-ratio: 6 / 7; background: linear-gradient(160deg, var(--tint), var(--tint-2)); display: grid; place-items: center; margin-bottom: 1.1rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initial { font-family: var(--f-display); font-weight: 900; font-size: clamp(4rem, 8vw, 6rem); line-height: 1; color: var(--navy); width: 1.6em; height: 1.6em; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.team-mark { width: 72%; height: auto; }
.team-card h3 { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; color: var(--navy); margin: 0 1rem .2rem; }
.team-card p { margin: 0 1rem; color: var(--green-text); font-family: var(--f-head); font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .team-card h3 { font-size: 1.35rem; } .team-card p { font-size: .85rem; } }
@media (max-width: 640px) { .featured-badge { max-width: 15rem; } }

/* Pillars: 1:1 ratio and personalized care */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pillar { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.75rem); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.pillar h3 { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
.pillar p { margin-top: .3rem; font-size: 1.1rem; }
.pillar-ratio { background: var(--navy); color: var(--white); }
.pillar-ratio h3 { color: var(--white); }
.pillar-ratio p { color: rgba(255, 255, 255, .85); }
.pillar-big { font-family: var(--f-head); font-weight: 800; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--lime); letter-spacing: -.02em; flex: none; }
.pillar-care { background: var(--lime-tint); }
.pillar-care h3 { color: var(--navy); }
.pillar-care p { color: var(--ink-soft); }
.pillar-mark { width: clamp(4rem, 7vw, 5.5rem); height: auto; flex: none; }
.care-groups { margin-top: 0; }
@media (max-width: 640px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* Gallery page */
.gal-jump { position: sticky; top: 84px; z-index: 5; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.gal-jump .wrap { display: flex; gap: .5rem; overflow-x: auto; padding-block: .75rem; scrollbar-width: none; }
.gal-jump a { flex: none; font-family: var(--f-head); font-weight: 700; font-size: .95rem; color: var(--navy); text-decoration: none; padding: .55rem 1rem; border-radius: 999px; background: var(--tint); }
.gal-jump a:hover, .gal-jump a:focus-visible { background: var(--blue); color: var(--white); }
.gal-home + .gal-home { padding-top: 0; }
.gal-home .section-head { margin-bottom: 1.5rem; }
.gal-addr { margin-top: .4rem; color: var(--ink-soft); font-size: 1.05rem; }
.gal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, .9rem); }
.gal-grid li:first-child { grid-column: span 2; grid-row: span 2; }
.gal-item { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; background: var(--tint); aspect-ratio: 4 / 3; }
.gal-grid li:first-child .gal-item { aspect-ratio: auto; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gal-item:hover img { transform: scale(1.04); }
.gal-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 31, 77, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; padding: 4rem 4.5rem 2rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); border-radius: var(--r-sm); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.lightbox figcaption { color: var(--white); font-size: 1.1rem; text-align: center; }
.lb-btn { position: fixed; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.lb-btn:hover, .lb-btn:focus-visible { background: var(--lime); }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-close { right: 1rem; top: 1rem; }
@media (max-width: 640px) {
  .lightbox figure { padding: 4.5rem .75rem 5.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lb-prev { left: calc(50% - 4rem); } .lb-next { right: calc(50% - 4rem); }
}
html:has(.gal-jump) { scroll-padding-top: 10rem; }
.gal-addr .num { font-weight: 500; }

/* Header fit with the Gallery link */
.nav a, .top .btn { white-space: nowrap; }
@media (max-width: 1280px) { .top-phone { display: none; } }
@media (max-width: 1100px) { .top .wrap { gap: var(--s-3); } .nav { gap: 0; } .nav a { padding: .5rem .45rem; font-size: .92rem; } .brand img { height: 3rem; } }
.team-photo { position: relative; overflow: hidden; }
.team-photo img { position: absolute; inset: 0; }

/* ---------- home: piano video beside "What sets us apart" ---------- */
.empathy .arch.video-tile { aspect-ratio: 4 / 5; position: relative; max-width: 30rem; justify-self: center; width: 100%; }
.video-tile video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.video-open { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 999px; padding: .7rem 1.15rem; background: var(--white); color: var(--navy); font-family: var(--f-head); font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: var(--shadow); }
.video-open:hover, .video-open:focus-visible { background: var(--lime); }
.vbox video { width: auto; height: auto; max-width: calc(100vw - 2rem); max-height: calc(100vh - 7rem); border-radius: var(--r-sm); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); background: #000; }

/* ---------- numbered home names ("Montgomery ElderCare #1") ---------- */
.house-name, .home-name { display: block; font-family: var(--f-head); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green-text); }
.house-name { margin-bottom: .35rem; }
.home-name { margin: 0 0 .35rem; }
.open-homes .nw { white-space: nowrap; }
.home h2, .gal-home h2 { font-variant-numeric: lining-nums; }

/* Home hero: the photo is the house from the logo. The blue heart wraps it, the lime roof
   sits on top and daisies rise from the chimney. Everything sits on a 100x100 stage. */
.hero .hero-visual { padding: 0; aspect-ratio: 1; max-width: 36rem; justify-self: end; width: 100%; }
.hh-back, .hh-front { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hh-back { z-index: 0; }
.hh-front { z-index: 2; }
.hero .hh-photo {
  position: absolute; z-index: 1; left: 14%; right: 4%; top: 26%; bottom: 12%; aspect-ratio: auto;
  border-radius: 6px 6px var(--r) var(--r); border: 5px solid var(--white);
}
.hero .hh-photo img { object-position: 64% 40%; }
.hero .hero-visual { container-type: inline-size; }
/* Cards are sized from the stage width (cqw) so they keep the same proportions at every size */
.hero .special, .hero .openings { z-index: 3; }
.hero .special { top: auto; bottom: 15%; right: -3%; max-width: none; width: 35cqw; padding: 2.6cqw 2cqw 2.8cqw; }
.hero .special small { font-size: clamp(.7rem, 2.6cqw, .92rem); }
.hero .special b { font-size: clamp(1.35rem, 6.2cqw, 2.3rem); }
.hero .special span { font-size: clamp(.72rem, 2.8cqw, 1.02rem); }
.hero .special a { margin-top: 1cqw; font-size: clamp(.7rem, 2.4cqw, .86rem); }
.hero .openings { left: 4%; bottom: 3.5%; max-width: none; padding: 2.4cqw 3.4cqw 2.4cqw 2.8cqw; gap: 2.4cqw; }
.hero .openings .mark { width: clamp(2rem, 8.5cqw, 3rem); height: clamp(2rem, 8.5cqw, 3rem); }
.hero .openings strong { white-space: nowrap; font-size: clamp(.92rem, 3.4cqw, 1.2rem); }
.hero .openings span { font-size: clamp(.8rem, 2.8cqw, .98rem); }
.hh-roof { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hh-flower { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hh-roof { animation: hh-draw 1.4s var(--ease-out) .35s both; }
  .hh-flower { animation: hh-rise 1s var(--ease-out) both; animation-delay: calc(1.3s + var(--d) * .22s); }
}
@keyframes hh-draw { from { stroke-dashoffset: 1; } }
@keyframes hh-rise { from { opacity: 0; transform: translateY(40%) scale(.4); } }
/* Stacked: the "home away from home" photo leads its section, so it isn't back to back with the next one */
@media (max-width: 960px) { .apart > .arch { order: -1; } }
/* Stacked layout: the photo comes right after the heading */
@media (max-width: 960px) {
  .hero-grid { row-gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy h1 { order: 1; }
  /* the heart's point hangs ~9% below the stage, so leave room for it (% margins follow the width) */
  .hero .hero-visual { order: 2; margin: var(--s-6) 0 8%; }
  .hero-copy > :not(h1) { order: 3; }
}
@media (max-width: 640px) {
  .hero .hero-visual { margin-top: var(--s-7); }
  .hero .award-row { justify-content: center; }
  .hero .openings { bottom: 1.5%; }
  .hero .special { width: 39cqw; bottom: 19%; right: -2%; padding: 2.2cqw 1.6cqw 2.4cqw; }
  .hero .special small { font-size: .7rem; }
  .hero .special b { font-size: 1.3rem; }
  .hero .special span { font-size: .7rem; }
  .hero .special a { font-size: .7rem; }
}
