/* metrogeriatrics.com — Metro brand: teal heart, gold hands, Manrope */
@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #15302f;
  --ink-soft: #3f5655;
  --teal: #00a5a3;
  --teal-deep: #077775;
  --teal-night: #0a3d3c;
  --blue: #0d789f;
  --gold: #f1c855;
  --gold-soft: #fbf0cf;
  --mist: #eef6f5;
  --line: #cfe3e1;
  --paper: #ffffff;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 118.75%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 450; line-height: 1.62;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 46rem; }
.small { font-size: .84rem; color: var(--ink-soft); }
.lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 38rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 44rem; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.more { font-weight: 700; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--teal-deep); background: var(--teal-deep); color: #fff;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--teal-night); border-color: var(--teal-night); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-deep); }
.btn-ghost:hover { background: var(--mist); color: var(--teal-night); border-color: var(--teal-night); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--teal-night); }
.btn-gold:hover { background: #f6d77f; border-color: #f6d77f; color: var(--teal-night); }
.btn-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { flex: 0 0 auto; }
.brand img { width: 210px; }
.nav { margin-left: auto; }
.nav-wide { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-deep); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; text-decoration-color: var(--gold); }
.menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; padding: 10px 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu[open] ul { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: 0 18px 30px rgba(10,61,60,.08); }
.menu[open] li a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--mist); }
.call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 750; color: var(--teal-deep); white-space: nowrap; }
.call svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .brand img { width: 150px; }
  .call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .call { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--teal-deep); color: #fff; }
  .header-row { gap: 10px; }
}
.site-header .wrap { max-width: 1400px; }
@media (min-width: 1280px) {
  .menu { display: none; }
  .nav-wide { display: flex; gap: 22px; white-space: nowrap; }
  .call { padding: 10px 18px; border: 2px solid var(--teal-deep); border-radius: 999px; }
  .call:hover { background: var(--teal-deep); color: #fff; }
}

/* home hero: the photo curves like the heart in Metro's mark */
.hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: 0; }
.hero-grid, .page-hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; }
  .page-hero-grid { grid-template-columns: 1.1fr .9fr; }
}
.hero-photo img, .page-hero-photo img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: 220px 18px 220px 18px;
}
.page-hero-photo img { aspect-ratio: 4 / 3.2; border-radius: 180px 16px 180px 16px; }
@media (max-width: 899px) {
  .hero-photo img, .page-hero-photo img { border-radius: 120px 14px 120px 14px; aspect-ratio: 4 / 3; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.stats li { padding: 24px 20px 28px 0; display: flex; flex-direction: column; gap: 4px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--teal-deep); line-height: 1; letter-spacing: -0.03em; }
.stats span { color: var(--ink-soft); font-size: .92rem; max-width: 15rem; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: baseline; gap: 14px; }
  .stats strong { min-width: 4.2rem; }
}

/* the three doors */
.doors-section { background: var(--mist); }
.doors { display: grid; gap: 20px; }
@media (min-width: 760px) { .doors { grid-template-columns: repeat(3, 1fr); } }
.door a { position: relative; display: block; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 3 / 4; background: var(--teal-night); }
@media (max-width: 759px) { .door a { aspect-ratio: 1 / 1; } .door a::after { background: linear-gradient(180deg, rgba(10,61,60,0) 20%, rgba(10,61,60,.92) 70%); } }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.door a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,61,60,0) 35%, rgba(10,61,60,.88) 78%); }
.door-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.door-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.door-title::after { content: ""; display: block; width: 44px; height: 4px; background: var(--gold); border-radius: 2px; margin-top: 10px; transition: width .3s ease; }
.door-sub { font-size: .95rem; color: #e3f1f0; }
.door a:hover img { transform: scale(1.04); }
.door a:hover .door-title::after, .door a:focus-visible .door-title::after { width: 88px; }
.partnership { margin-top: 44px; color: var(--ink-soft); }

/* lists of headed paragraphs */
.diff, .service-list, .approach-list { display: grid; gap: 34px 48px; }
@media (min-width: 720px) { .diff, .approach-list { grid-template-columns: repeat(2, 1fr); } .service-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .diff { grid-template-columns: repeat(3, 1fr); } }
.diff h3, .service-list h3, .approach-list h3 { color: var(--teal-deep); }
.diff p, .service-list p, .approach-list p { color: var(--ink-soft); margin: 0; }
.service-list li { padding-top: 22px; border-top: 2px solid var(--line); }
.diff-section { background: var(--paper); }
.page-hero + .services { padding-top: 24px; }
.approach { background: var(--mist); }

/* testimonial */
.quote-band { background: var(--teal-night); color: #fff; }
.quote { margin: 0 auto; max-width: 54rem; }
.quote blockquote { margin: 0; position: relative; padding-top: 56px; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-size: 7rem; line-height: 1; color: var(--gold); font-weight: 800; }
.quote p { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.55; font-weight: 500; }
.quote figcaption { display: flex; flex-direction: column; margin-top: 18px; }
.quote figcaption span { color: #b8dcd9; }

/* providers */
.providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 220px)); gap: 32px; }
.providers img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 16px 16px; background: var(--mist); margin-bottom: 14px; }
.providers h3 { margin-bottom: 2px; }
.providers p { color: var(--ink-soft); font-size: .9rem; }

/* posts */
.latest { background: var(--mist); }
.post-grid { display: grid; gap: 40px 28px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card a { text-decoration: none; color: var(--ink); display: block; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.post-card h3 { font-size: 1.12rem; margin-top: 4px; }
.post-card a:hover h3 { color: var(--teal-deep); text-decoration: underline; text-decoration-thickness: 1px; }
.post-card p { color: var(--ink-soft); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-date { font-size: .84rem; color: var(--ink-soft); font-weight: 600; }

/* closing call to action */
.cta { padding: 0; display: grid; background: var(--teal-deep); color: #fff; }
@media (min-width: 900px) { .cta { grid-template-columns: .85fr 1fr; } }
.cta-photo img { width: 100%; height: 100%; min-height: 280px; max-height: 520px; object-fit: cover; }
.cta-text { padding: clamp(40px, 6vw, 88px) var(--gutter); align-self: center; max-width: 40rem; }
.cta-text h2 { color: #fff; }
.cta-text p { color: #dff0ef; font-size: 1.05rem; }

/* page hero */
.page-hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero.slim { background: var(--mist); }
.page-hero.slim .lede { margin-bottom: 0; }

/* about */
.letter-grid { display: grid; gap: 24px 64px; }
@media (min-width: 900px) { .letter-grid { grid-template-columns: .7fr 1.3fr; } .letter-grid h2 { position: sticky; top: 110px; align-self: start; } }
.letter p { font-size: 1.08rem; line-height: 1.72; max-width: 40rem; }
.signoff { margin-top: 28px; }
.promise { background: var(--gold-soft); }
.promise h2 { margin-bottom: 28px; }
.promise ul { display: grid; gap: 14px 40px; }
@media (min-width: 720px) { .promise ul { grid-template-columns: repeat(2, 1fr); } }
.promise li { font-size: 1.2rem; font-weight: 700; color: var(--teal-night); padding-left: 30px; position: relative; }
.promise li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); }
.split-grid { display: grid; gap: 40px 64px; align-items: center; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1fr 1fr; } }
.rounded { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .stats { grid-template-columns: 1fr; margin-top: 24px; }
.split .stats li, .split .stats li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: baseline; gap: 16px; }
.split .stats strong { font-size: 2rem; min-width: 4.4rem; }
.community { background: var(--mist); }

/* videos */
.playlist-h { font-size: 1.4rem; margin: 0 0 22px; }
.video-grid { display: grid; gap: 28px 22px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 56px; }
.video-play { all: unset; cursor: pointer; display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--teal-night); }
.video-play:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-play .play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(10,61,60,.82); }
.video-play .play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.video-play:hover .play { background: var(--teal-deep); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }
.video h3 { font-size: 1rem; margin: 12px 0 2px; }
.dur { font-size: .82rem; color: var(--ink-soft); }

/* post */
.post-head { max-width: 50rem; padding-top: clamp(32px, 5vw, 64px); }
.back { font-weight: 700; text-decoration: none; display: inline-block; margin-bottom: 18px; }
.back::before { content: "\2039"; margin-right: 6px; }
.post-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.post-image { max-width: 1040px; margin-top: 24px; }
.post-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.prose { max-width: 46rem; padding-top: 44px; font-size: 1.04rem; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.post-nav { max-width: 46rem; display: grid; gap: 16px; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav .newer { text-align: right; grid-column: 2; } .post-nav .older:only-child { grid-column: 1; } }
.pn { display: block; padding: 18px 20px; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; }
.pn span { display: block; font-size: .8rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 4px; }
.pn:hover { border-color: var(--teal-deep); color: var(--teal-deep); }

/* contact */
.contact-grid { display: grid; gap: 48px 72px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; } }
.big-phone a { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; text-decoration: none; letter-spacing: -0.02em; }
.big-phone svg { width: 34px; height: 34px; }
.contact-info dl { margin: 28px 0 0; display: grid; gap: 20px; }
.contact-info dt { font-weight: 800; color: var(--teal-deep); }
.contact-info dd { margin: 2px 0 0; color: var(--ink-soft); }
.contact-form { background: var(--mist); border-radius: 22px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.contact-form h2 { font-size: 1.5rem; margin: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 52px; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(13,120,159,.25); }
.contact-form .btn { justify-self: start; }
.contact-form .small { margin: 0; }
.form-done { background: #fff; border-left: 4px solid var(--teal); padding: 14px 16px; border-radius: 8px; }

/* footer */
.site-footer { background: var(--teal-night); color: #cfe6e4; padding-top: 64px; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr; } }
.f-brand img { width: 72px; margin-bottom: 12px; }
.f-name { color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.f-h { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer address { font-style: normal; margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; }
.footer-base p { margin: 0; }
.powered { display: inline-flex; align-items: center; gap: 10px; color: #9fc9c6; line-height: 1.3; }
.powered-text { display: flex; flex-direction: column; }
.powered b { font-weight: 700; color: #d7ecea; letter-spacing: .01em; }
.powered-sub { font-size: .72rem; color: #86b4b1; }
.clarise-mark { width: 22px; height: 22px; flex: none; }
.cm-ring { stroke: #4fc0bb; }
.cm-bead { fill: var(--gold); }
