:root {
  --navy: #08294f;
  --navy-deep: #041b35;
  --blue: #144a7c;
  --gold: #d09a2d;
  --gold-light: #f1d99e;
  --cream: #fbf7ee;
  --ink: #132238;
  --muted: #647084;
  --line: #dce3eb;
  --white: #ffffff;
  --shadow: 0 28px 60px rgba(4, 27, 53, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--navy-deep); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(20px, 5vw, 72px); background: var(--navy); color: white; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-light); }
.brand-mark { width: 48px; height: 48px; flex: 0 0 48px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-family: "Playfair Display", Georgia, serif; font-size: 20px; color: white; letter-spacing: 0.01em; }
.brand-copy small { margin-top: 4px; font-size: 10px; color: var(--gold-light); letter-spacing: 0.13em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }

.welcome-banner { position: relative; width: 100%; height: clamp(300px, 40vw, 540px); margin: 0; overflow: hidden; background: var(--navy); }
.welcome-banner::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -70px 90px rgba(4,27,53,.18); pointer-events: none; }
.welcome-banner img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 54%; }

.hero { position: relative; overflow: hidden; min-height: 700px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; gap: clamp(46px, 7vw, 110px); padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); background: linear-gradient(125deg, #ffffff 0%, #fffdfa 58%, #f6ead0 100%); }
.hero::before { content: ""; position: absolute; width: 430px; height: 430px; border: 68px solid rgba(208,154,45,.11); border-radius: 50%; right: -210px; bottom: -220px; }
.hero-copy, .room-card { position: relative; z-index: 2; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.glow-one { width: 260px; height: 260px; background: rgba(208,154,45,.09); left: -130px; top: 80px; }
.glow-two { width: 38px; height: 38px; background: var(--gold); right: 44%; top: 13%; opacity: .7; }
.eyebrow { margin: 0 0 18px; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; margin-top: 0; line-height: 1.08; }
h1 { max-width: 760px; margin-bottom: 24px; color: var(--navy); font-size: clamp(48px, 6vw, 84px); letter-spacing: -.035em; }
h1 em { color: var(--gold); font-weight: inherit; }
.hero-lede { max-width: 670px; margin: 0 0 34px; color: #495970; font-size: clamp(17px, 1.5vw, 21px); }
.hero-lede b { color: var(--gold); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 999px; padding: 13px 24px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .room-toggle:focus-visible, .details-toggle:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .choice:has(input:focus-visible) { outline: 3px solid rgba(208,154,45,.5); outline-offset: 3px; }
.button-gold { background: var(--gold); color: #111e2c; box-shadow: 0 12px 28px rgba(208,154,45,.25); }
.button-gold:hover { background: #dba83c; box-shadow: 0 15px 32px rgba(208,154,45,.34); }
.button-navy { background: var(--navy); color: white; }
.text-link { color: var(--navy); font-weight: 800; text-underline-offset: 4px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 700px; margin-top: 58px; border-top: 1px solid rgba(8,41,79,.15); padding-top: 23px; }
.trust-row div { display: flex; flex-direction: column; padding-right: 18px; }
.trust-row div + div { border-left: 1px solid rgba(8,41,79,.15); padding-left: 22px; }
.trust-row strong { color: var(--navy); font-size: 15px; }
.trust-row span { color: var(--muted); font-size: 12px; margin-top: 3px; }

.room-card { max-width: 510px; width: 100%; justify-self: end; padding: 30px; border: 1px solid rgba(8,41,79,.09); border-radius: 30px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.room-card-top { color: var(--blue); display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.availability-dot { width: 9px; height: 9px; background: #2e9f67; box-shadow: 0 0 0 5px rgba(46,159,103,.12); border-radius: 50%; }
.room-card h2 { margin: 13px 0 21px; color: var(--navy); font-size: 35px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 14px; background: #eef2f6; }
.room-toggle { min-height: 42px; border: 0; border-radius: 10px; color: #5a687a; background: transparent; font-size: 14px; font-weight: 800; cursor: pointer; }
.room-toggle.active { color: var(--navy); background: white; box-shadow: 0 5px 14px rgba(4,27,53,.1); }
.room-explainer { margin: 24px 0 18px; padding: 20px; border-left: 4px solid var(--gold); border-radius: 4px 14px 14px 4px; background: #f8f3e8; }
.room-meaning { margin: 0 0 7px; color: var(--navy); font-weight: 800; font-size: 15px; }
#room-description { color: var(--muted); font-size: 14px; }
.room-explainer #room-description { margin: 0; }
.room-features { list-style: none; padding: 0; margin: 20px 0 24px; }
.room-features li { display: flex; gap: 10px; align-items: center; margin: 9px 0; color: #3f4e62; font-size: 14px; }
.room-features span { color: var(--gold); font-weight: 900; }
.full-button { width: 100%; }
.microcopy { margin: 11px 0 0; text-align: center; color: var(--muted); font-size: 11px; }

.program { padding: 100px clamp(20px, 7vw, 110px); background: var(--white); }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 50px; align-items: end; max-width: 1180px; margin: 0 auto 50px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(40px, 5vw, 60px); }
.section-heading > p:last-child { max-width: 580px; margin: 0; color: var(--muted); font-size: 18px; }
.program-story { max-width: 1180px; margin: 0 auto 22px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: center; padding: 34px 38px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, #fff 0%, var(--cream) 100%); }
.program-story h3 { margin: 0; color: var(--navy); font-size: clamp(27px, 3vw, 36px); }
.program-story > p { margin: 0; color: #4f5e72; font-size: 16px; }
.resource-strip { max-width: 1180px; margin: 0 auto 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); background: rgba(255,255,255,.16); box-shadow: var(--shadow); }
.resource-strip div { min-height: 135px; padding: 28px; background: var(--navy); }
.resource-strip strong, .resource-strip span { display: block; }
.resource-strip strong { margin-bottom: 7px; color: var(--gold-light); font-family: "Playfair Display", Georgia, serif; font-size: 20px; }
.resource-strip span { color: #d4deea; font-size: 13px; }
.program-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: .87fr 1.13fr; gap: 24px; }
.fit-card, .included-card { border-radius: var(--radius); overflow: hidden; }
.fit-card { padding: 34px; color: white; background: var(--navy); position: relative; }
.fit-card::after { content: ""; position: absolute; width: 210px; height: 210px; border: 42px solid rgba(208,154,45,.11); border-radius: 50%; right: -115px; top: -100px; }
.card-kicker { margin: 0 0 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 800; }
.fit-card h3, .included-card h3 { margin-bottom: 22px; font-size: 29px; }
.audience-list { display: flex; flex-wrap: wrap; gap: 8px; }
.audience-list span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #eff5fb; font-size: 12px; }
.timeline-card { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; gap: 18px; }
.timeline-number { min-width: 108px; color: var(--gold-light); font-family: "Playfair Display", Georgia, serif; font-size: 52px; line-height: 1; }
.timeline-number span { color: var(--gold); }
.timeline-card strong { font-size: 14px; }
.timeline-card p { color: #c7d1df; margin: 4px 0 0; font-size: 12px; }
.included-card { padding: 34px; border: 1px solid var(--line); background: var(--cream); }
.included-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.details-toggle { white-space: nowrap; border: 0; padding: 8px 0; color: var(--navy); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.details-toggle span { display: inline-grid; place-items: center; margin-left: 5px; width: 22px; height: 22px; border: 1px solid #bdc8d4; border-radius: 50%; }
.included-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.benefit { min-height: 110px; display: grid; grid-template-columns: 36px 1fr; column-gap: 11px; align-content: center; padding: 18px; background: white; border-radius: 16px; }
.benefit-icon { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #f7edda; color: var(--gold); font-size: 19px; }
.benefit strong { color: var(--navy); font-size: 14px; }
.benefit small { color: var(--muted); font-size: 11px; }
.included-details { margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: white; font-size: 13px; }
.included-details ul { columns: 2; padding-left: 18px; color: #425166; }
.included-details p { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }

.referral { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 7vw, 100px); padding: 100px clamp(20px, 7vw, 110px); color: white; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.referral-intro { align-self: start; position: sticky; top: 30px; }
.eyebrow.light { color: var(--gold-light); }
.referral h2 { margin-bottom: 18px; font-size: clamp(42px, 5vw, 62px); }
.referral-intro > p:not(.eyebrow) { color: #bdc9d8; font-size: 16px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 35px; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.05); }
.contact-card span { color: var(--gold-light); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.contact-card a { color: white; text-underline-offset: 3px; font-size: 14px; }
form { padding: clamp(24px, 4vw, 42px); border-radius: 26px; background: white; color: var(--ink); box-shadow: 0 26px 70px rgba(0,0,0,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { color: #344258; font-size: 12px; font-weight: 800; }
input, select, textarea { width: 100%; margin-top: 7px; border: 1px solid #cfd8e3; border-radius: 11px; background: #fbfcfe; color: var(--ink); padding: 12px 13px; transition: border-color .2s, box-shadow .2s; }
input, select { min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(208,154,45,.11); outline: none; }
input:user-invalid, select:user-invalid { border-color: #be4141; }
fieldset { margin: 17px 0; padding: 0; border: 0; }
legend { margin-bottom: 8px; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; width: 1px; min-height: 1px; height: 1px; margin: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.choice span { min-height: 74px; display: flex; flex-direction: column; justify-content: center; padding: 11px 13px; border: 1px solid #cfd8e3; border-radius: 12px; background: white; }
.choice input:checked + span { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: #fdf9ef; }
.choice strong { color: var(--navy); }
.choice small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.optional { float: right; color: #8995a5; font-weight: 500; }
.consent { margin: 16px 0 0; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { width: 18px; min-height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.consent span { color: var(--muted); font-weight: 500; }
.form-footer { display: flex; align-items: center; gap: 16px; margin-top: 21px; }
.privacy-note { color: var(--muted); font-size: 11px; }
.email-referral-button img { width: 24px; height: 24px; margin-right: 8px; object-fit: contain; }
.form-status { margin-top: 18px; padding: 17px 19px; border-radius: 14px; color: #224535; background: #e9f6ee; border: 1px solid #bfe2ca; }
.form-status strong, .form-status span { display: block; }
.form-status span { margin-top: 4px; font-size: 12px; }
.form-status > a { display: inline-block; margin-top: 10px; color: var(--navy); text-underline-offset: 3px; font-size: 12px; font-weight: 800; }
.form-status.is-error { color: #6d2525; background: #fff0f0; border-color: #e8bcbc; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
button:disabled { cursor: wait; opacity: .72; }

footer { min-height: 180px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 40px; padding: 35px clamp(20px, 7vw, 110px); color: white; background: #03172d; }
.footer-brand { grid-row: 1 / 3; }
footer > p { margin: 0; text-align: right; color: var(--gold-light); font-weight: 700; }
footer .copyright { color: #8190a4; font-size: 11px; font-weight: 500; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero .eyebrow, .hero-actions { justify-content: center; }
  .hero-lede, .trust-row { margin-left: auto; margin-right: auto; }
  .room-card { justify-self: center; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .program-story { grid-template-columns: 1fr; gap: 18px; }
  .resource-strip { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .referral { grid-template-columns: 1fr; }
  .referral-intro { position: static; max-width: 700px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 74px; }
  .welcome-banner { height: 265px; }
  .welcome-banner img { object-position: center 50%; }
  .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 8px; letter-spacing: .08em; }
  nav > a:first-child { display: none; }
  .nav-cta { padding: 8px 13px; font-size: 12px; }
  .hero { min-height: auto; padding: 60px 18px 70px; gap: 44px; }
  h1 { font-size: clamp(45px, 13vw, 60px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { gap: 17px; }
  .trust-row { grid-template-columns: 1fr; text-align: left; gap: 13px; padding-top: 19px; }
  .trust-row div { padding: 0 0 11px 0; border-bottom: 1px solid rgba(8,41,79,.11); }
  .trust-row div + div { border-left: 0; padding-left: 0; }
  .room-card { padding: 23px 18px; border-radius: 23px; }
  .room-card h2 { font-size: 30px; }
  .program, .referral { padding: 72px 18px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 40px; }
  .section-heading > p:last-child { font-size: 16px; }
  .program-story { padding: 26px 21px; }
  .program-story > p { font-size: 15px; }
  .resource-strip div { min-height: 0; padding: 22px; }
  .fit-card, .included-card { padding: 25px 20px; }
  .included-head { display: block; }
  .details-toggle { margin: -12px 0 12px; }
  .included-preview { grid-template-columns: 1fr; }
  .included-details ul { columns: 1; }
  .timeline-card { align-items: flex-start; }
  .timeline-number { min-width: 90px; font-size: 43px; }
  .contact-card { margin-top: 25px; }
  form { padding: 24px 18px; border-radius: 20px; }
  .form-row, .choice-row { grid-template-columns: 1fr; }
  .choice span { min-height: 62px; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .privacy-note { text-align: center; }
  footer { grid-template-columns: 1fr; text-align: center; padding-top: 48px; padding-bottom: 48px; }
  .footer-brand { grid-row: auto; justify-content: center; }
  footer > p { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Independent-living information page */
.info-hero { padding: clamp(72px, 9vw, 120px) clamp(20px, 7vw, 110px); background: linear-gradient(125deg, #fff 0%, #fffdfa 58%, #f6ead0 100%); }
.info-wrap { max-width: 1120px; margin: 0 auto; }
.info-hero h1 { max-width: 900px; font-size: clamp(44px, 6vw, 76px); }
.info-lede { max-width: 900px; color: #44546a; font-size: clamp(18px, 2vw, 23px); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(4,27,53,.07); }
.info-card h2 { font-size: 27px; color: var(--navy); }
.info-card ul { padding-left: 20px; color: #506075; }
.info-card li + li { margin-top: 10px; }
.notice { margin-top: 28px; padding: 24px 28px; border-left: 5px solid var(--gold); border-radius: 8px 18px 18px 8px; background: var(--navy); color: #eef4fb; }
.notice strong { color: var(--gold-light); }
.back-row { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
