/* Alliance Home Health — alliancehomecare.net
   Direction: warm colour-block. Signature: the rising sun from the logo.
   Generated pages link this file with ?v=<hash>; edit here, then re-run ~/rebuild/build/pages.py. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/fraunces-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/figtree-normal.woff2) format("woff2"); }

:root {
  --cream: #FFFFFF;
  --cream2: #EEF4F9;
  --ink: #0F2A3D;
  --ink-soft: #4A5B68;
  --teal: #1B5E8F;
  --teal-deep: #0F2A3D;
  --sun: #F2C24F;
  --sun-deep: #A8760F;
  --sun-soft: #F6D27E;
  --blue: #458DE8;
  --line: rgba(15, 42, 61, .14);
  --display: "Fraunces", Georgia, serif;
  --body: "Figtree", "Segoe UI", sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 1.125rem; line-height: 1.6; font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin-block: 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }
p { margin-block: 0 1em; }
h1 em, h2 em { font-style: normal; color: var(--teal); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-size: 1rem; font-weight: 700; color: var(--teal); margin-block: 0 .8rem; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 36em; }

/* buttons & links */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: 1.05rem; line-height: 1;
  padding: 1.05em 1.5em; border-radius: 3px; border: 0; cursor: pointer; text-decoration: none;
}
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--teal); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #fff; color: var(--ink); }
.lnk { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.lnk::after { content: " \2192"; }
.lnk:hover { border-color: var(--teal); color: var(--teal); }
.lnk-light { color: var(--cream); }
.lnk-light:hover { color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 1.6em; }

/* the sun */
.sun circle { fill: var(--sun); }
.sun .rays line { stroke: var(--sun); stroke-width: 7; stroke-linecap: round; }
.sun .rays { transform-origin: 100px 100px; }
@media (prefers-reduced-motion: no-preference) {
  .sun-hero .rays { animation: drift 14s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
}

/* header */
.top { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-icon img { width: 56px; height: auto; }
.brand-word { font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1; letter-spacing: .01em; display: flex; flex-direction: column; }
.brand-word small { font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); margin-top: 5px; }
.nav-desk { margin-left: auto; }
.nav-desk ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-desk ul { display: flex; column-gap: 26px; }
.nav-desk a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-desk a:hover, .nav-desk a[aria-current] { border-color: var(--sun); }
.top-call { flex: none; background: var(--sun); color: var(--ink); font-weight: 700; text-decoration: none; padding: 11px 16px; border-radius: 3px; white-space: nowrap; }
.top-call span { font-weight: 500; }
.top-call:hover { background: var(--ink); color: var(--cream); }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 10px 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; }
.menu-lines::before { position: absolute; top: -7px; } .menu-lines::after { position: absolute; top: 7px; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 3px solid var(--sun); padding: 8px var(--pad) 20px; box-shadow: 0 18px 30px rgba(15,42,61,.12); }
.menu nav a { display: block; padding: 13px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.menu nav a[aria-current] { color: var(--teal); }
@media (max-width: 1180px) { .nav-desk { display: none; } .menu { display: block; } }
@media (max-width: 560px) { .top-call span { display: none; } .top-in { gap: 14px; } .brand-word { font-size: 1.3rem; } .brand-icon img { width: 46px; } .menu-label { display: none; } }

/* home hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) 0; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: end; position: relative; z-index: 1; }
.hero-text { padding-bottom: clamp(48px, 7vw, 100px); }
.hero-text h1 { max-width: 11ch; }
.hero-text h1 em { display: block; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 2rem; }
.arch img { border-radius: 999px 999px 0 0; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 30%; width: 100%; }
.hero-photo { position: relative; isolation: isolate; }
.hero-photo picture { position: relative; z-index: 1; }
.sun-hero { position: absolute; z-index: 0; left: 50%; bottom: -1px; width: 168%; max-width: none; transform: translateX(-50%); }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 12px; }
  .hero-photo { max-width: 400px; margin-inline: auto; width: 72%; }
}

/* fact rule */
.facts { background: var(--ink); color: var(--cream); }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts p { margin: 0; padding: 22px 26px 22px 0; font-size: 1.05rem; }
.facts p + p { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.25); }
.facts-k { display: block; font-size: .92rem; font-weight: 700; color: var(--sun); margin-bottom: 4px; }
@media (max-width: 760px) { .facts-in { grid-template-columns: 1fr; } .facts p, .facts p + p { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); } .facts p:first-child { border-top: 0; } }

/* sections */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.band-teal { background: var(--teal); color: var(--cream); }
.band-teal h2, .band-teal h3 { color: #fff; }
.band-teal a:not(.btn) { color: #fff; }
.band-teal .kicker { color: var(--sun-soft); }
.band-cream2 { background: var(--cream2); }
.band-sun { background: var(--sun); color: var(--ink); }
.band-sun .kicker { color: var(--ink); }
.band-sun .kicker::before { background: var(--ink); }
.band-sun a:not(.btn) { color: var(--ink); }

/* mission */
.mission-in { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.mission-photo img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; }
.mission figure { margin: 0; }
.mission blockquote { margin: 0; }
.mission blockquote p { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.35; color: #fff; margin: 0; }
.mission blockquote p::before { content: "\201C"; color: var(--sun); font-size: 1.6em; line-height: 0; vertical-align: -.35em; margin-right: .06em; }
.mission figcaption { margin-top: 1.4rem; font-size: .92rem; font-weight: 700; color: var(--sun-soft); }
@media (max-width: 760px) { .mission-in { grid-template-columns: 1fr; } .mission-photo { max-width: 240px; } }

/* services list */
.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-head { position: static; } }
.svc { display: grid; grid-template-columns: 5.2rem 1fr; gap: 8px 22px; padding-block: 28px; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-n { font-family: var(--display); font-size: 3.6rem; line-height: .9; font-weight: 400; color: var(--teal); font-variant-numeric: lining-nums; }
.svc .svc-t { margin-bottom: .35em; font-size: 1.6rem; }
.svc p { color: var(--ink-soft); margin-bottom: 0; }
.svc-full .svc { grid-template-columns: 8rem 1fr; padding-block: 44px; }
.svc-full .svc-n { font-size: 5.4rem; }
.svc-full .svc-t { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.svc-kick { font-weight: 700; color: var(--teal) !important; margin-bottom: .8em !important; }
.svc-full p + .ticks { margin-top: 1.2em; }
@media (max-width: 560px) { .svc, .svc-full .svc { grid-template-columns: 1fr; } .svc-full .svc-n { font-size: 3.6rem; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(242,194,79,.3); }
@media (max-width: 640px) { .ticks { grid-template-columns: 1fr; } }

/* comparison table */
.tbl-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 1.05rem; min-width: 560px; }
.compare th { text-align: left; vertical-align: bottom; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); padding: 22px 24px 18px; }
.compare th:first-child { background: var(--ink); color: var(--cream); border-top: 6px solid var(--sun); }
.compare th:last-child { background: transparent; color: var(--ink-soft); border-top: 6px solid var(--line); }
.compare td { padding: 15px 24px; border-bottom: 1px solid var(--line); vertical-align: top; width: 50%; }
.compare td:first-child { background: rgba(255,255,255,.55); font-weight: 600; }
.compare td:last-child { color: var(--ink-soft); }
.tag { display: block; font-family: var(--body); font-size: .92rem; font-weight: 700; color: var(--sun); margin-bottom: 8px; }
.tag-quiet { color: var(--ink-soft); }
.after-tbl { margin-top: 28px; }

/* who */
.who { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.who-photo img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 0 999px 999px; }
.who-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.who-list li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.who-list strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: 2px; }
.who-big { list-style: none; counter-reset: w; padding: 0; margin: 0; }
.who-big li { counter-increment: w; padding: 22px 0 18px 64px; border-top: 1px solid var(--line); position: relative; }
.who-big li::before { content: counter(w, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--display); font-size: 2rem; color: var(--teal); line-height: 1; }
.who-big h2 { font-size: 1.55rem; margin-bottom: .3em; }
.who-big p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } .who-photo { max-width: 360px; } }

/* referral band */
.refer-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.refer-in p { max-width: 34em; }
.refer-nums { margin: 0; display: grid; gap: 4px; }
.refer-nums div { display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; border-top: 2px solid rgba(15,42,61,.25); padding-top: 10px; }
.refer-nums dt { font-size: .92rem; font-weight: 700; }
.refer-nums dd { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; }
.refer-nums dd a { text-decoration: none; }
.refer-nums dd .lnk { font-family: var(--body); font-size: 1.05rem; }
@media (max-width: 860px) { .refer-in { grid-template-columns: 1fr; } }

/* why */
.why { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 56px); }
.why div { padding: 22px 0 26px; border-top: 2px solid var(--ink); }
.why dt { font-family: var(--display); font-size: 1.35rem; font-weight: 500; margin-bottom: 6px; }
.why dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* careers */
.careers-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.careers-split .btn { margin-top: .8rem; }
.careers-photo img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 999px 999px 999px 0; }
@media (max-width: 860px) { .careers-split { grid-template-columns: 1fr; } .careers-photo { max-width: 420px; } }
.job { background: var(--cream); border-top: 6px solid var(--sun); padding: clamp(24px, 4vw, 44px); }
.job-meta { font-weight: 700; color: var(--teal); }
.job-lede { font-family: var(--display); font-size: 1.35rem; }
.job h3 { margin-top: 1.6em; }

/* counties */
.area h2 { max-width: 16ch; }
.counties { list-style: none; padding: 0; margin: 2rem 0 1.6rem; display: flex; flex-wrap: wrap; column-gap: 0; row-gap: 6px; font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.15; font-weight: 400; }
.counties li { white-space: nowrap; }
.counties li:not(:last-child)::after { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--sun); margin: 0 .42em; vertical-align: .18em; }
.counties li:nth-child(even) { color: var(--teal); }
.area-note { color: var(--ink-soft); max-width: 44em; }

/* closing CTA */
.cta-end { position: relative; overflow: hidden; }
.cta-end-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 60px; align-items: center; position: relative; z-index: 1; }
.cta-end p { max-width: 36em; opacity: .92; margin: 0; }
.cta-end-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; justify-content: flex-end; }
.sun-cta { position: absolute; right: -80px; bottom: calc(-1 * clamp(64px, 9vw, 120px)); width: 460px; opacity: .14; z-index: -1; }
@media (max-width: 860px) { .cta-end-in { grid-template-columns: 1fr; } .cta-end-act { justify-content: flex-start; } }

/* inner-page hero */
.phero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.phero-in { position: relative; z-index: 1; }
.phero h1 { max-width: 16ch; font-size: clamp(2.4rem, 5vw, 4.1rem); }
.sun-phero { position: absolute; right: clamp(-120px, -4vw, -20px); bottom: -2px; width: clamp(260px, 34vw, 480px); }
@media (max-width: 700px) { .sun-phero { width: 220px; right: -70px; opacity: .8; } }

/* referrals page */
.refer-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.6rem; }
.steps li { counter-increment: s; position: relative; padding: 20px 0 16px 76px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--teal); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink-soft); }
.note { font-size: .98rem; background: var(--cream2); border-left: 4px solid var(--teal); padding: 14px 18px; }
.refer-card { padding: clamp(24px, 4vw, 40px); }
.refer-card h2 { font-size: 1.6rem; }
.refer-card h3 { font-size: 1.15rem; margin-top: 1.4em; }
.refer-card .big { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; margin-bottom: .2em; }
.refer-card .big a { text-decoration: none; }
.pay { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { background: var(--ink); color: var(--cream); padding: 6px 12px; font-weight: 700; font-size: .95rem; }
@media (max-width: 860px) { .refer-page { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-card { padding: clamp(26px, 4vw, 42px) clamp(26px, 4vw, 42px) 150px; position: relative; overflow: hidden; }
.contact-card dl { margin: 0; }
.contact-card dl div { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.25); }
.contact-card dt { font-size: .92rem; font-weight: 700; color: var(--sun-soft); }
.contact-card dd { margin: 2px 0 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.sun-card { position: absolute; left: 50%; transform: translateX(-50%); bottom: -2px; width: 280px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.cform { display: grid; gap: 18px; max-width: 640px; }
.f { display: grid; gap: 6px; font-weight: 600; font-size: 1rem; }
.f b { color: var(--teal); font-weight: 700; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } }
.cform input, .cform select, .cform textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff; width: 100%;
  border: 1.5px solid rgba(15,42,61,.35); border-radius: 3px; padding: 13px 14px;
}
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 3px solid var(--sun); outline-offset: 0; border-color: var(--ink); }
.cform .btn { justify-self: start; }
.f-note { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* footer: the boldest block on the page */
.foot { background: var(--teal-deep); color: rgba(255,255,255,.86); padding-top: clamp(56px, 7vw, 88px); font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px 48px; }
.brand-light { color: #fff; }
.brand-light .brand-word small { color: var(--sun); }
.foot-brand p { margin-top: 1.2rem; max-width: 22em; }
.foot-pay { color: var(--sun); font-weight: 600; }
.foot-h { font-family: var(--body); font-size: .92rem; font-weight: 700; color: var(--sun); margin-bottom: 14px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-contact span { font-size: .85rem; color: rgba(255,255,255,.8); }
.foot-contact li { overflow-wrap: anywhere; }
.foot-base { margin-top: clamp(40px, 5vw, 64px); padding-block: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; opacity: .8; }
.foot-base p { margin: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.careers-split .ticks { grid-template-columns: 1fr; }
