/* Brickroad Homecare — site styles
   Brand tokens live in :root. Keep colors here so the whole site can be re-themed in one place. */

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

:root {
  --ink: #1D2B3A;
  --ink-2: #27384B;
  --brick: #A23B24;
  --brick-dark: #7B2D22;
  --amber: #F2A541;
  --amber-soft: #FDF0DC;
  --amber-text: #6B4206;
  --stone: #F3F1EE;
  --line: #E7E2DB;
  --muted: #4A5562;
  --blush: #F8E7E2;
  --peach: #F4B19C;
  --on-dark: #C9D2DC;
  --white: #FFFFFF;

  --radius: 20px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brick); text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

.eyebrow { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brick); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0F1923; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--stone); color: var(--ink); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Opening-soon notice */
.notice { background: var(--ink); color: #fff; font-size: 0.9375rem; line-height: 1.45; padding: 10px 0; text-align: center; }
.notice a { color: var(--amber); font-weight: 700; }
.notice a:hover { color: #FFD08A; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { display: block; flex: none; width: 44px; color: var(--ink); }
.brand-mark svg { width: 100%; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.025em; line-height: 0.95; }
.brand-tag { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.42em; line-height: 1; color: var(--brick); }

.nav-desktop { display: flex; align-items: center; gap: 26px; }
.nav-desktop a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-desktop a:not(.btn):hover { border-bottom-color: var(--brick); }
.nav-desktop a[aria-current="page"] { color: var(--brick); border-bottom-color: var(--brick); }

.nav-mobile { display: none; }
.nav-mobile summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; cursor: pointer; user-select: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 20px; height: 20px; }
.nav-mobile[open] summary { background: var(--ink); color: #fff; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(29, 43, 58, 0.12);
  padding: 4px var(--gutter) 24px;
}
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.menu-panel a[aria-current="page"] { color: var(--brick); }
.menu-panel .btn { width: 100%; margin-top: 20px; }

@media (max-width: 1020px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}
@media (max-width: 420px) {
  .brand-mark { width: 38px; }
  .brand-name { font-size: 1.375rem; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-stone { background: var(--stone); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .eyebrow { color: var(--amber); }
.section-ink .lead, .section-ink .muted { color: var(--on-dark); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.section-foot { margin-top: 40px; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); }
.split > * { flex: 1 1 420px; min-width: 0; }
.split-top { align-items: flex-start; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(64px, 9vw, 112px); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-art, .art { border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); }
.hero-art img, .art img { width: 100%; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: var(--amber-soft); color: var(--amber-text); font-weight: 700; font-size: 0.9375rem;
  padding: 8px 16px; border-radius: 999px;
}
.pill svg { width: 18px; height: 18px; color: #C97A12; }

.page-hero { background: var(--stone); padding-block: clamp(48px, 7vw, 88px) clamp(48px, 6vw, 72px); }
.page-hero .container { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); max-width: 16em; }

/* Trust strip */
.trust { background: var(--stone); padding-block: 26px; }
.trust ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px 32px; font-weight: 600; font-size: 1.0625rem; }
.trust li { display: flex; align-items: center; gap: 12px; }
.trust svg { width: 26px; height: 26px; color: var(--brick); flex: none; }

/* Cards */
.card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.section-stone .card { border-color: transparent; }
.card p, .card li { color: var(--muted); font-size: 1.0625rem; }
.card-ink { background: var(--ink-2); border: 0; color: #fff; }
.card-ink p, .card-ink li { color: var(--on-dark); }
.card ul:not([class]) { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.card .card-link { margin-top: auto; padding-top: 6px; font-weight: 700; }

.icon-circle { width: 54px; height: 54px; border-radius: 999px; background: var(--blush); color: var(--brick); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-circle svg { width: 26px; height: 26px; }
.section-ink .icon-circle { background: rgba(242, 165, 65, 0.16); color: var(--amber); }

.steps { list-style: none; padding: 0; }
.step-num { width: 46px; height: 46px; border-radius: 999px; background: var(--brick); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; }

.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; margin-top: 4px; color: var(--brick); }
.section-ink .check-list svg { color: var(--amber); }

/* Progress / where we are */
.progress { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.progress li { display: flex; gap: 14px; align-items: flex-start; }
.progress .dot { flex: none; width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.progress .dot svg { width: 18px; height: 18px; }
.progress .done .dot { background: var(--brick); color: #fff; }
.progress .now .dot { background: var(--amber); color: var(--ink); }
.progress .next .dot { border: 2px solid #A39A8E; }
.progress strong { display: block; font-weight: 700; color: var(--ink); }
.progress span { color: var(--muted); font-size: 1rem; }
.status-tag { display: block; width: fit-content; margin: 4px 0 2px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-text); vertical-align: 2px; }

/* Callout */
.callout { background: var(--amber); color: var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.callout > div { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.callout h2, .callout h3 { font-size: clamp(1.5rem, 2.4vw, 1.75rem); }

.note { display: flex; gap: 14px; align-items: flex-start; background: var(--amber-soft); color: var(--ink); border-radius: 16px; padding: 18px 20px; font-size: 1rem; }
.note svg { flex: none; width: 24px; height: 24px; color: #C97A12; margin-top: 1px; }

/* Email card */
.email-card { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.email-address { font-size: clamp(1.25rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -0.015em; overflow-wrap: anywhere; color: var(--ink); text-decoration: none; }
.email-address:hover { color: var(--brick); }
.copy-status { min-height: 1.6em; font-size: 0.9375rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.1875rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--brick); }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 46em; display: flex; flex-direction: column; gap: 12px; }

/* Long-form text */
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.prose h2 { font-size: 1.625rem; margin-top: 16px; }
.prose ul { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }

.phone-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.phone-list a { font-weight: 700; white-space: nowrap; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding-block: 64px 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; flex: 1 1 320px; }
.footer-brand .brand, .footer-brand .brand:hover { color: #fff; }
.footer-brand .brand-mark { color: #fff; width: 48px; }
.footer-brand .brand-tag { color: var(--peach); }
.footer-brand p { color: var(--on-dark); max-width: 24em; }
.footer-brand a.footer-email { color: #fff; font-weight: 700; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 14px 32px; font-weight: 600; }
.footer-nav a { color: #E6EBF0; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; color: #AEB9C5; }
.footer-legal a { color: #E6EBF0; }

@media (max-width: 640px) {
  .btn-row .btn { width: 100%; }
  .card { padding: 24px; }
}

@media print {
  .site-header, .notice, .nav-mobile { position: static; }
  .site-footer, .section-ink { background: #fff; color: #000; }
}
