/* XL Homes marketing pages: shared base, header, footer, homepage. */
:root{-webkit-text-size-adjust:100%;text-size-adjust:100%;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--page);font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:24px}
*{box-sizing:border-box}
body{margin:0;font-size:16px;line-height:1.6}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
img{display:block;max-width:100%;height:auto}
main:focus{outline:none}
h1,h2,h3{font-family:inherit;margin:0;line-height:1.2;text-wrap:balance}
h1{font-size:clamp(34px,4vw,58px);font-weight:700;letter-spacing:-.03em;line-height:1.12}
h2{font-size:clamp(26px,2.6vw,34px);font-weight:700;letter-spacing:-.02em}
h3{font-size:20px;font-weight:600}
p{margin:0;color:var(--muted)}
.skip-link{position:absolute;left:12px;top:8px;z-index:100;padding:12px 16px;background:#fff;color:#222;border:2px solid var(--red);transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0)}

/* The top bar and header live in practical.css (shared with the color tools). The footer lives in site-footer.css. */
.button{padding:13px 22px;min-height:48px;background:var(--red);color:#fff;font-size:16px;font-weight:600;line-height:1.3;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:4px;text-align:center;border:2px solid var(--red)}
.button:hover{background:var(--red-dark);border-color:var(--red-dark)}
.button.outline{background:#fff;color:var(--red)}
.button.outline:hover{background:#fbeaea;color:var(--red-dark)}
.text-link{font-size:16px;font-weight:600;color:var(--red-text);border-bottom:1px solid currentColor;padding:6px 0;display:inline-flex;align-items:center;min-height:44px}
.fine{font-size:15px;line-height:1.6;color:var(--soft)}

/* Hero */
.hero{padding:44px var(--gutter) 48px;display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center}
.hero-copy{min-width:0;container-type:inline-size}
.hero-copy h1{font-size:clamp(30px,8cqw,58px);letter-spacing:-.035em;line-height:1.16}
.hero-copy h1 .hero-desktop-line{white-space:nowrap}
.hero-copy>p:not(.eyebrow){max-width:470px;font-size:17px;line-height:1.7;margin:22px 0 26px}
.hero-actions{display:flex;gap:10px 26px;align-items:center;flex-wrap:wrap}
.hero-mobile-break{display:none}
.hero-image img{width:100%;aspect-ratio:1400/935;object-fit:cover;border-radius:6px;box-shadow:0 8px 30px #0002}
.values{list-style:none;margin:0;padding:18px var(--gutter);display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:15px;color:var(--muted)}
.values li:before{content:'✓';margin-right:10px;color:var(--red);font-weight:700}

/* Three places to start */
.section{padding:56px var(--gutter)}
.start h2{margin-bottom:28px}
.start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.start-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.start-photo{display:block;aspect-ratio:16/9;overflow:hidden;background:#e8e8e3}
.start-photo img{width:100%;height:100%;object-fit:cover;object-position:42% 50%}
.start-body{display:flex;flex-direction:column;flex:1;padding:22px 22px 24px;gap:10px}
.start-body h3{font-size:20px;font-weight:700}
.start-body p{font-size:16px;line-height:1.6}
.start-body .start-models{font-weight:600;color:#3b3b36;font-size:16px}
.start-actions{margin-top:auto;padding-top:10px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%}.start-actions .button{width:100%;min-height:52px}
.start .fine{margin-top:24px;max-width:760px}

/* How we help */
.about,.approach{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.about{background:#fff;border-bottom:1px solid var(--line)}
.about p{max-width:68ch;font-size:17px;line-height:1.7;color:var(--ink)}
.about p+p{margin-top:14px}
.approach{background:var(--panel)}
.approach>div>p:not(.eyebrow){max-width:420px;margin-top:20px;font-size:17px;line-height:1.7}
.approach ol{list-style:none;padding:0;margin:0}
.approach li{display:flex;gap:22px;border-bottom:1px solid var(--line);padding:22px 0}
.approach li:first-child{padding-top:0}
.approach li:last-child{border-bottom:0}
.approach li>span{flex:0 0 2.2ch;font-size:16px;font-weight:700;color:var(--red-text);font-variant-numeric:tabular-nums;line-height:24px;padding-top:0}
.approach li h3{margin-bottom:6px;font-weight:700}
.approach li p{font-size:16px}

/* Visit */
.visit{text-align:center;background:#222;color:#fff;padding:64px 20px 56px}
.visit .eyebrow{color:#d9d9d4}
.visit h2{font-size:clamp(30px,3.2vw,40px)}
.visit-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 26px;margin:26px 0 20px}
.visit .button{background:var(--red);color:#fff}
.visit .button.light{background:#f7f7f2;color:#222;border-color:#f7f7f2}
.visit .button.light:hover{background:#fff}
.visit .text-link{color:#f2f2ec}
.visit address{font-style:normal;color:#d9d9d4;font-size:17px;line-height:1.8}
.visit-route{max-width:560px;margin:14px auto 0;color:#d9d9d4;font-size:16px}

@media(max-width:1100px){
  .hero{gap:32px}
  .start-grid{gap:18px}
  .about,.approach{gap:40px}
  .desktop-navigation{gap:16px;font-size:14px}
}
@media(max-width:900px){
  .announcement{padding:9px 20px}
  .announcement-hours{display:none}
  .hero{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:24px 20px 28px}
  .hero-copy h1{font-size:38px;letter-spacing:-.03em;line-height:1.14}
  .hero-copy h1 .hero-desktop-line{white-space:normal}
  .hero-copy>p:not(.eyebrow){font-size:18px;max-width:none;margin:16px 0 18px}
  .hero-actions .button{width:100%}
  .values{flex-direction:column;padding:16px 20px;font-size:16px;gap:2px}
  .section{padding:36px 20px}
  .start-grid{grid-template-columns:1fr;gap:20px}
  .start-body p{font-size:17px}
  .start-actions .button{width:100%}
  .about,.approach{grid-template-columns:1fr;gap:24px}
  .about p{font-size:18px}
  .approach>div>p:not(.eyebrow){font-size:18px;max-width:none}
  .approach li p{font-size:17px}
  .visit{padding:44px 20px 40px}
  .visit-actions{flex-direction:column;gap:6px}
  .visit-actions .button{width:100%}
  .visit address{font-size:18px}
  .visit-route{font-size:17px}
  .fine{font-size:16px}
}
@media(min-width:601px) and (max-width:900px){.start-photo{aspect-ratio:2.3/1}}
@media(max-width:600px){.hero-mobile-break{display:initial}.start-photo{aspect-ratio:3/2}}
@media(max-width:380px){.hero-copy h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}
