/* Building Bridges ABA — redesign
   Direction: warm paper, deep pine ink, the logo's sage / teal / sun palette.
   Signature shapes: the bridge arch (photo frames) and the logo's S-curve (paths between steps). */

:root {
  /* Brand guide: Soft Cream, Charcoal Gray, Warm Yellow, Dark Turquoise, Sage Green */
  --cream: #fdf8f2;
  --ink: #2f2f2f;
  --sun: #ffd873;
  --teal: #0097b2;
  --sage: #b7c9a8;
  /* Shades derived from the five brand colors */
  --cream-deep: #f6eddf;
  --paper: #ffffff;
  --ink-soft: #4d4d4d;
  --teal-deep: #006f83;   /* darker turquoise for small text and for white text on turquoise (contrast) */
  --teal-wash: #e0f2f5;
  --sage-soft: #e3ebdb;
  --sage-deep: #56744a;
  --sun-deep: #f5c443;
  --line: rgba(47, 47, 47, 0.14);
  --shadow: 0 24px 48px -28px rgba(47, 47, 47, 0.42);
  /* Brand guide: Cormorant Garamond for headings, Quicksand for everything else.
     The company name is set in Radiant and is placed as an image (assets/img/wordmark.png). */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Quicksand", "Segoe UI", sans-serif;
  --wrap: 1180px;
  --arch: 999px 999px 28px 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
h4 { font-size: 1.12rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 2.5rem); margin-inline: auto; }
section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .8rem 1.2rem; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: -14px 0 0 var(--sage); margin-left: 14px; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; max-width: 38em; }
.hl { background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%); border-radius: 4px; padding: 0 .08em; margin: 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cta-band .hl, .dark .hl { background: linear-gradient(transparent 62%, rgba(255, 216, 115, .55) 62%, rgba(255, 216, 115, .55) 92%, transparent 92%); }
.teal { color: var(--teal); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 + p { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 22px -12px rgba(245, 196, 67, .9); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1a1a1a; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.text-link { font-weight: 700; text-decoration: none; color: var(--teal-deep); display: inline-flex; gap: .4rem; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* ---------- announcement + header ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .86rem; font-weight: 600; letter-spacing: .04em; padding: .6rem 1rem; }
.announce a { color: var(--sun); font-weight: 700; margin-left: .5rem; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 248, 242, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; line-height: 1; color: var(--teal-deep); display: block; }
.brand-sub { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { list-style: none; display: flex; gap: 1.5rem; }
.nav li a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav li a:hover, .nav li a[aria-current="page"] { border-color: var(--sun-deep); }
.nav-phone { font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav .btn { padding: .78rem 1.25rem; font-size: .95rem; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lede { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .7rem 2rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; font-size: .98rem; line-height: 1.35; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: .05rem;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356744a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-art { position: relative; padding: 0 0 2.5rem 2.5rem; }
.hero-art::before { content: ""; position: absolute; inset: 8% -12% 0 10%; background: var(--sage); border-radius: var(--arch); z-index: 0; transform: rotate(4deg); opacity: .55; }
.arch { border-radius: var(--arch); overflow: hidden; position: relative; z-index: 1; box-shadow: var(--shadow); background: var(--sage-soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-main { aspect-ratio: 4 / 5; }
.hero-main img { object-position: 42% 55%; }
.hero-small { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border: 6px solid var(--cream); border-radius: 50%; z-index: 2; box-shadow: var(--shadow); }
.hero-small img { object-position: 60% 30%; }
.hero-badge { position: absolute; right: -4%; top: 12%; z-index: 3; background: var(--paper); border-radius: 18px; padding: .9rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; font-weight: 700; font-size: .92rem; line-height: 1.25; max-width: 210px; }
.pulse { flex: 0 0 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(0, 151, 178, .6); animation: pulse 2.2s 4; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(0, 151, 178, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 151, 178, 0); } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); overflow: hidden; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 16em; margin-bottom: 1.2rem; }
.page-head .curve { position: absolute; right: -60px; bottom: -30px; width: min(520px, 60vw); opacity: .5; pointer-events: none; }

/* ---------- services ---------- */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service { background: var(--cream); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service-photo img { transform: scale(1.05); }
.service-body { padding: 1.7rem 1.7rem 2rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.tag { align-self: flex-start; background: var(--teal-wash); color: var(--teal-deep); font-weight: 700; font-size: .8rem; letter-spacing: .04em; padding: .35rem .8rem; border-radius: 999px; }
.service p { color: var(--ink-soft); font-size: 1rem; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: .6rem; }
.pill-list li { font-size: .82rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* ---------- steps (the bridge path) ---------- */
.steps { background: var(--cream); }
.step-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; list-style: none; counter-reset: step; }
.step-track::before { content: ""; position: absolute; left: 4%; right: 4%; top: 6px; height: 56px; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 56' preserveAspectRatio='none'%3E%3Cpath d='M0 28 C 25 -8, 75 -8, 100 28 S 175 64, 200 28 S 275 -8, 300 28 S 375 64, 400 28' fill='none' stroke='%23b7c9a8' stroke-width='3' stroke-dasharray='2 9' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.step { position: relative; z-index: 1; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--paper); border: 3px solid var(--sage); font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); margin-bottom: 1.2rem; box-shadow: 0 10px 20px -14px rgba(47, 47, 47, .5); }
.step:last-child::before { background: var(--sun); border-color: var(--sun-deep); }
.step h3 { font-size: 1.14rem; margin-bottom: .5rem; line-height: 1.2; }
.step p { font-size: .96rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- approach (dark band) ---------- */
.dark { background: var(--ink); color: var(--cream); overflow: hidden; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .eyebrow { color: var(--sun); }
.dark .lede { color: rgba(253, 248, 242, .86); }
.dark .curve { position: absolute; left: -80px; top: -40px; width: 560px; opacity: .14; pointer-events: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.include-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.include { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 1.5rem; }
.include .num { font-family: var(--display); font-weight: 700; color: var(--sun); font-size: .95rem; letter-spacing: .08em; display: block; margin-bottom: .6rem; }
.include h3 { font-size: 1.12rem; letter-spacing: 0; margin-bottom: .4rem; }
.include p { font-size: .95rem; color: rgba(253, 248, 242, .86); line-height: 1.55; }
.light-cards .include { background: var(--paper); border-color: var(--line); }
.light-cards .include .num { color: var(--teal-deep); }
.light-cards .include p { color: var(--ink-soft); }

/* ---------- story / photo split ---------- */
.photo-stack { position: relative; padding: 0 2.5rem 2.5rem 0; }
.photo-stack .arch { aspect-ratio: 4 / 5; }
.photo-stack .round { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--cream); z-index: 2; box-shadow: var(--shadow); }
.photo-stack .round img { width: 100%; height: 100%; object-fit: cover; }
.on-paper .photo-stack .round { border-color: var(--paper); }
.quote { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); max-width: 22em; margin: 0 auto; }
.quote-wrap { background: var(--sage-soft); text-align: center; }
.quote-wrap .mark { width: 74px; margin: 0 auto 1.6rem; }

/* ---------- insurance ---------- */
.insurance { background: var(--paper); }
.logo-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1040px; margin-inline: auto; }
.logo-grid li { display: flex; align-items: center; justify-content: center; height: 96px; padding: 0 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 20px -16px rgba(47, 47, 47, .5); }
.logo-grid img { max-width: 100%; width: auto; }
.logo-grid span { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.insurance .note { margin: 1.8rem auto 0; max-width: 40em; text-align: center; color: var(--ink-soft); }
.insure-box { background: var(--ink); color: var(--cream); border-radius: 32px; padding: clamp(2rem, 4vw, 3.2rem); }
.insure-box h2, .insure-box h3 { color: #fff; }
.insure-box strong { color: var(--sun); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .2s, border-color .2s; }
.faq-list details[open] { border-color: var(--sage); box-shadow: 0 16px 30px -24px rgba(47, 47, 47, .5); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.3rem 1.5rem; font-family: var(--display); font-weight: 700; font-size: 1.14rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f2f2f' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .25s, background-color .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
.faq-list .answer { padding: 0 1.5rem 1.5rem; color: var(--ink-soft); max-width: 46em; }

/* ---------- contact ---------- */
.contact { background: var(--sage-soft); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.reach { list-style: none; display: grid; gap: .8rem; margin-top: 2rem; }
.reach a, .reach div { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .7); border-radius: 18px; padding: 1rem 1.2rem; border: 1px solid var(--line); transition: transform .2s, background-color .2s; }
.reach a:hover { transform: translateX(4px); background: #fff; }
.reach .ico { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.reach .ico svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reach small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.reach b { font-size: 1.08rem; overflow-wrap: anywhere; }
.form-card { background: var(--paper); border-radius: 32px; padding: clamp(1.6rem, 3.5vw, 2.8rem); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: .4rem; }
.form-card > p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.5rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field label span { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px; padding: .85rem 1rem; width: 100%; transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-card .btn { width: 100%; margin-top: 1.3rem; }
.form-note { font-size: .86rem; color: var(--ink-soft); margin-top: .9rem; text-align: center; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 14px; background: var(--teal-wash); color: var(--ink); font-weight: 600; font-size: .95rem; }
.next-steps { list-style: none; display: grid; gap: .9rem; margin-top: 2rem; counter-reset: n; }
.next-steps li { counter-increment: n; display: flex; gap: .9rem; align-items: flex-start; font-weight: 600; line-height: 1.4; }
.next-steps li::before { content: counter(n); flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .95rem; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.member { background: var(--paper); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); display: grid; grid-template-columns: 42% 1fr; }
.member-photo { min-height: 100%; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member-body { padding: 1.6rem 1.6rem 1.8rem; }
.member-body .role { font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--teal-deep); display: block; margin-bottom: .5rem; }
.member-body h3 { font-size: 1.32rem; margin-bottom: .2rem; }
.member-body .creds { font-size: .9rem; font-weight: 600; color: var(--ink-soft); display: block; margin-bottom: .8rem; }
.member-body p { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }
.member-body .text-link { margin-top: 1rem; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: end; }
.photo-row .arch { aspect-ratio: 3 / 4; }
.photo-row .arch:nth-child(2) { aspect-ratio: 3 / 4.5; }

/* ---------- prose pages ---------- */
.prose p { color: var(--ink-soft); font-size: 1.08rem; }
.prose p strong { color: var(--ink); }
.prose h2 { margin: 0 0 1rem; }
.prose h3 { margin: 2.4rem 0 .8rem; }
.tick-list { list-style: none; display: grid; gap: .7rem; margin: 1rem 0 0; }
.tick-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356744a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.tick-list li strong { color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.5rem, 3vw, 2.3rem); }
.panel h3 { margin: 0 0 .9rem; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--teal-deep); color: var(--cream); text-align: center; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { max-width: 36em; margin: 0 auto 2rem; color: #fff; font-size: 1.12rem; }
.cta-band .hero-cta { justify-content: center; margin: 0; }
.cta-band .curve { position: absolute; right: -90px; top: -50px; width: 520px; opacity: .16; pointer-events: none; }
.site-footer { background: var(--ink); color: rgba(253, 248, 242, .86); padding: 4rem 0 6.5rem; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(253, 248, 242, .68); }
.site-footer .brand img { background: var(--cream); border-radius: 50%; padding: 3px; }
.site-footer p { margin-top: 1.1rem; max-width: 24em; }
.site-footer .foot-h { color: #fff; font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: rgba(253, 248, 242, .68); }

/* mobile action bar */
.action-bar { display: none; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-art .arch, .hero-small, .hero-badge { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-small { animation-delay: .25s; }
.hero-badge { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-phone { display: none; }
  .step-track { grid-template-columns: 1fr; gap: 0; }
  .step-track::before { display: none; }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 1.2rem; padding-bottom: 1.8rem; }
  .step::before { grid-row: 1 / span 2; margin: 0; }
  .step::after { content: ""; position: absolute; left: 33px; top: 72px; bottom: 4px; border-left: 3px dotted var(--sage); }
  .step:last-child::after { display: none; }
  .step h3 { align-self: end; margin-top: .5rem; }
  .step h3, .step p { grid-column: 2; }
}
@media (max-width: 920px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.2rem 1.25rem 1.6rem; display: none; box-shadow: 0 30px 40px -30px rgba(47, 47, 47, .5); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .nav-phone { display: block; text-align: center; padding: .4rem 0; }
  .hero-grid, .split, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .service-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .team-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-stack { max-width: 460px; margin-inline: auto; width: 100%; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.3fr; gap: .6rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(253, 248, 242, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .action-bar .btn { padding: .85rem .8rem; font-size: .95rem; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .checks { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-badge { right: 0; top: 6%; font-size: .84rem; max-width: 180px; }
  .include-grid, .fields { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
  .member-photo { aspect-ratio: 4 / 3; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row .arch:nth-child(3) { display: none; }
  .logo-grid li { height: 80px; }
  .logo-grid img { transform: scale(.85); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand-sub { display: none; }
}

/* no-waiting-list badge */
.hero-badge b { display: block; font-family: var(--display); font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.hero-badge small { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-soft); margin-top: .1rem; }
.announce strong { color: var(--sun); font-weight: 700; }

/* photo column follows the text on wide screens only; on phones it stays in the flow */
@media (min-width: 921px) { .sticky-col { position: sticky; top: 110px; } }

/* service area line */
.area { display: flex; align-items: flex-start; gap: .55rem; font-weight: 600; font-size: 1rem; color: var(--ink); margin: -.6rem 0 1.8rem; line-height: 1.4; }
.area svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--teal-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: .05rem; }
.area strong { color: var(--teal-deep); }
.contact .area { margin: 1.2rem 0 0; }

/* insurance grid: ten cards, five across */
.logo-grid { grid-template-columns: repeat(5, 1fr); max-width: 1120px; }
.logo-grid li.more { background: var(--sage-soft); border-color: transparent; box-shadow: none; padding: 0; }
.logo-grid li.more a { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 18px; }
.logo-grid li.more a:hover { text-decoration: underline; }
@media (max-width: 1080px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 920px) { .logo-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; } }

/* comfortable tap targets (44px) for small links */
.announce a { display: inline-block; padding: .75rem .3rem; margin: -.75rem 0 -.75rem .3rem; }
.text-link { min-height: 44px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer ul { gap: 0; }
.site-footer li:not(:has(a)) { min-height: 44px; display: flex; align-items: center; }

/* form errors */
.field-error { margin: 0; font-size: .9rem; font-weight: 600; color: #a3341f; }
.field-error.full { grid-column: 1 / -1; margin-top: -.4rem; }
.field input[aria-invalid="true"] { border-color: #a3341f; background: #fdf1ee; }

/* keep the decorative curve behind the text it shares a section with */
.page-head > .wrap, .cta-band > .wrap, .dark > .wrap { position: relative; z-index: 1; }
.site-footer li a { min-width: 44px; }
@media (max-width: 600px) { .page-head .curve { width: 240px; right: -110px; bottom: -70px; opacity: .35; } }

/* zip code checker */
.zip-check { margin: 0 0 1.8rem; max-width: 30rem; }
.contact .zip-check { margin: 1.6rem 0 0; }
.zip-check label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: .55rem; }
.zip-check label span { display: block; font-weight: 500; font-size: .9rem; color: var(--ink-soft); margin-top: .1rem; }
.zip-row { display: flex; gap: .5rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: .35rem; transition: border-color .2s; }
.zip-row:focus-within { border-color: var(--teal); }
.zip-row input { flex: 1; min-width: 0; font: inherit; font-weight: 600; color: var(--ink); background: transparent; border: 0; padding: .6rem 0 .6rem 1.1rem; letter-spacing: .04em; }
.zip-row input:focus { outline: none; }
.zip-row input::placeholder { color: var(--ink-soft); font-weight: 500; letter-spacing: 0; }
.zip-row .btn { padding: .75rem 1.4rem; min-height: 44px; }
.zip-result { margin: .8rem 0 0; padding: .9rem 1.1rem; border-radius: 16px; font-size: .98rem; line-height: 1.5; font-weight: 500; }
.zip-result strong { font-weight: 700; }
.zip-result a { font-weight: 700; color: inherit; }
.zip-result[data-state="yes"] { background: var(--sage-soft); color: var(--ink); }
.zip-result[data-state="partial"] { background: rgba(255, 216, 115, .38); color: var(--ink); }
.zip-result[data-state="no"] { background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); }
.zip-result[data-state="invalid"] { background: #fdf1ee; color: #8a2a17; }

/* brand guide typography */
body { font-weight: 500; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.005em; line-height: 1.04; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2.2rem, 4.1vw, 3.4rem); }
h3 { font-size: 1.65rem; letter-spacing: 0; }
.page-head h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); }
.step h3, .include h3 { font-size: 1.4rem; line-height: 1.12; }
.member-body h3 { font-size: 1.65rem; }
.faq-list summary { font-size: 1.42rem; line-height: 1.18; }
.logo-grid span, .logo-grid li.more a { font-size: 1.45rem; }
.hero-badge b { font-size: 1.3rem; }
.zip-result strong, .checks li, .nav li a { font-weight: 700; }
.quote { font-weight: 600; font-style: italic; }
.lede, .prose p, .service p, .step p, .include p, .member-body p, .faq-list .answer { font-weight: 500; }
.step::before, .next-steps li::before, .include .num { font-family: var(--body); font-weight: 700; }
.step::before { font-size: 1.35rem; }

/* company name: Radiant wordmark image */
.brand img.wordmark { width: 172px; height: auto; object-fit: contain; display: block; }
.site-footer .brand img.wordmark { background: none; border-radius: 0; padding: 0; width: 190px; }
.tagline { display: block; margin-top: .9rem; font-size: .92rem; letter-spacing: .14em; color: var(--sage); }
@media (max-width: 600px) { .brand img.wordmark { width: 150px; } }

/* ---- payers: six cards, three across; optional caption under a logo */
.logo-grid { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.logo-grid li { height: 104px; }
.logo-grid li.capped { flex-direction: column; gap: 4px; }
.logo-grid li small { font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); }
@media (max-width: 1080px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 920px) { .logo-grid { grid-template-columns: repeat(2, 1fr); max-width: 560px; } }
@media (max-width: 600px) { .logo-grid { grid-template-columns: 1fr; max-width: 340px; } .logo-grid li { height: 84px; } .logo-grid img { transform: none; } }

/* ---- forms: sections, choices, steps */
.form-part { font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin: 1.6rem 0 .8rem; }
.form-part:first-of-type { margin-top: .4rem; }
.field input[type="date"] { min-height: 3.1rem; }
.field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a3341f; background: #fdf1ee; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.panel > legend { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--ink); padding: 0; margin: 0 0 1.2rem; }
.apply-form .panel + .panel { margin-top: 2.4rem; }
.apply-form.stepped .panel + .panel { margin-top: 0; }
.choice { margin: 0 0 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.choice > legend { font-weight: 700; font-size: .9rem; padding: 0; margin-bottom: .55rem; width: 100%; }
.choice > legend span, .field label span { font-weight: 500; color: var(--ink-soft); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 600; font-size: .95rem; transition: background-color .15s, border-color .15s; }
.chip input:checked + span { background: var(--sun); border-color: var(--sun-deep); }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice .field-error { width: 100%; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin-top: 1.3rem; }
.confirm { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-start; margin-top: 1.4rem; font-weight: 600; cursor: pointer; }
.confirm input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--teal-deep); flex: 0 0 auto; }
.confirm span { flex: 1; }
.confirm .field-error { width: 100%; }
.progress { margin-bottom: 1.6rem; }
.progress-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: .5rem; }
.progress-track { height: 8px; border-radius: 99px; background: var(--sage-soft); overflow: hidden; }
.progress-fill { height: 100%; width: 33.33%; background: var(--teal); border-radius: 99px; transition: width .3s ease; }
.apply-form:not(.stepped) .progress, .apply-form:not(.stepped) [data-next], .apply-form:not(.stepped) [data-back] { display: none; }
.form-nav { display: flex; gap: .7rem; margin-top: 1.6rem; }
.form-card .form-nav .btn { width: auto; flex: 1; margin-top: 0; }
.form-card .form-nav [data-back] { flex: 0 0 auto; }
.form-nav [hidden] { display: none; }
#zip-hero, #zip-contact { scroll-margin-top: 140px; }
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }
.apply-form { scroll-margin-top: 110px; }

/* form fallback: copy the message when no email app opens */
.form-status p { margin: 0 0 .5rem; font-weight: 600; }
.form-status p + p { font-weight: 500; }
.copy-btn { font: inherit; font-weight: 700; font-size: .92rem; color: #fff; background: var(--ink); border: 0; border-radius: 999px; padding: .65rem 1.2rem; min-height: 44px; cursor: pointer; margin-top: .3rem; }
.copy-btn:hover { background: #1a1a1a; }

/* welcome packet */
.packet-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 2.4rem; }
.packet-toc { max-width: 760px; margin: 0 auto 2.6rem; background: var(--cream); border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem 1.8rem; }
.packet-toc .form-part { margin-top: 0; }
.packet-toc ol { columns: 2; column-gap: 2rem; padding-left: 1.3rem; margin: 0; }
.packet-toc li { margin-bottom: .35rem; break-inside: avoid; }
.packet-toc a { font-weight: 600; }
.packet-pages { display: grid; gap: 2rem; max-width: 820px; margin: 0 auto; }
.packet-page { margin: 0; scroll-margin-top: 110px; }
.packet-page img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.packet-page figcaption { text-align: center; font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-top: .7rem; }
@media (max-width: 600px) { .packet-toc ol { columns: 1; } .packet-actions .btn { width: 100%; } }

/* ---------- language switch (English / Español) ---------- */
.lang-switch { display: inline-flex; align-items: center; padding: .38rem .9rem; border: 1.5px solid var(--teal-deep); border-radius: 999px; color: var(--teal-deep); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.lang-switch:hover, .lang-switch:focus-visible { background: var(--teal-deep); color: #fff; }
.announce a.announce-es { color: #fff; margin-left: .9rem; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.4); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) { .nav { gap: 1.1rem; } .nav ul { gap: 1.1rem; } }
@media (max-width: 920px) { .lang-switch { justify-content: center; padding: .7rem 1rem; font-size: 1rem; } }
.nav li a, .nav .btn { white-space: nowrap; }
/* six payer logos fill two rows of three; "and more" sits underneath as a full-width strip */
.logo-grid li.more { grid-column: 1 / -1; height: 64px; }
/* one-page referral guide shown on the providers page */
.one-pager { max-width: 640px; margin: clamp(2rem, 5vw, 3.5rem) auto 0; text-align: center; }
.one-pager a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s; }
.one-pager a:hover { transform: translateY(-4px); }
.one-pager img { display: block; width: 100%; height: auto; }
.one-pager figcaption { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }
/* Six menu items plus the language switch need more room: small laptops and tablets get the menu button,
   and mid-size screens get a tighter header without the phone number (it stays in the page and footer). */
@media (min-width: 921px) and (max-width: 1140px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.2rem 1.25rem 1.6rem; display: none; box-shadow: 0 30px 40px -30px rgba(47, 47, 47, .5); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .nav-phone { display: block; text-align: center; padding: .4rem 0; }
  .nav .btn { align-self: center; }
  .lang-switch { justify-content: center; align-self: center; padding: .6rem 1.4rem; font-size: 1rem; }
}
@media (min-width: 1141px) {
  .nav-phone { display: none; }
  .header-inner { gap: 1rem; } .nav { gap: .85rem; } .nav ul { gap: .95rem; }
  .nav li a { font-size: .92rem; } .nav .btn { padding: .7rem 1rem; font-size: .88rem; } .lang-switch { padding: .34rem .75rem; font-size: .85rem; }
}
/* English labels are shorter, so the phone number fits back in the header on wide screens */
@media (min-width: 1260px) { html[lang="en"] .nav-phone { display: inline; } }

/* logo tagline: matches the official logo (Cormorant Garamond, turquoise, title case). Shown with the wordmark everywhere. */
.brand-sub { font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--teal); line-height: 1.1; margin-top: .2rem; white-space: nowrap; }
.site-footer .brand-sub { color: var(--teal); font-size: .94rem; }
@media (max-width: 600px) { .brand-sub { display: block; font-size: .74rem; } }

/* logo mark background: the exact official mark, shown whole (never cut off at the edges) */
.page-head .curve { width: min(300px, 32vw); right: 4%; bottom: 22px; }
.dark .curve { left: 3%; top: 40px; width: 380px; }
.cta-band .curve { right: 4%; top: 30px; width: 260px; }
@media (max-width: 600px) {
  .page-head .curve { width: 118px; right: 14px; bottom: 14px; opacity: .4; }
  .dark .curve { width: 200px; left: 12px; top: 24px; }
  .cta-band .curve { width: 150px; right: 12px; top: 16px; }
}
/* page headers: the mark draws itself, like the logo being sketched, with clean flat ends */
.draw .arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: markdraw .9s ease-in-out forwards; }
.draw .a1 { animation-delay: .35s; }
.draw .a2 { animation-delay: 1.15s; }
.draw .dot { opacity: 0; transform-box: fill-box; transform-origin: center; animation: markdot .5s ease-out forwards; }
.draw .head { animation-delay: .05s; }
.draw .sun { animation-delay: 1.9s; }
@keyframes markdraw { to { stroke-dashoffset: 0; } }
@keyframes markdot { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .draw .arc, .draw .dot { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; } }
