/* Hallew website styles. Colors are defined once here. */
:root {
  /* Palette drawn from the Hallew logo: soft sky blue, warm gold, cream. */
  --ink: #1f2f33;
  --muted: #4f5f63;
  --bg: #fbf9f3;          /* cream */
  --surface: #ffffff;
  --alt: #eef5f6;         /* pale logo blue */
  --sky: #b4d5d9;         /* logo background blue */
  --gold: #d9c78f;        /* logo gold (decorative only) */
  --gold-soft: #f7f0dc;
  --brand: #2b5f66;       /* deep teal, a darker logo blue for text and buttons */
  --brand-hover: #214b51;
  --brand-ink: #ffffff;
  --accent: #7f621a;      /* gold dark enough for text */
  --line: #e3ddca;
  --focus: #7f621a;
  --dark: #1c3438;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
address { font-style: normal; margin-bottom: 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.small { font-size: .92rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--accent); margin-bottom: .75em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); text-decoration: none; font-weight: 600;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--brand); cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-small { padding: .5em 1em; font-size: .95rem; white-space: nowrap; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.25em 0; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 128px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-right: auto; padding-right: 28px; }
.brand-logo { width: 88px; height: 88px; flex: none; }
.brand strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.brand small { display: block; white-space: nowrap; color: var(--muted); font-size: .95rem; letter-spacing: .04em; text-transform: lowercase; }
#site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
#site-nav a { display: block; padding: .5em .55em; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; white-space: nowrap; }
#site-nav a:hover { background: var(--alt); color: var(--ink); }
#site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; padding: .4em .8em; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
@media (max-width: 1340px) {
  .header-call { display: none; }
}
@media (max-width: 1040px) {
  .header-inner { min-height: 92px; padding: 14px 0; }
  .brand-logo { width: 60px; height: 60px; }
  .brand strong { font-size: 1.6rem; }
  .brand small { font-size: .82rem; }
  .nav-toggle { display: block; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  #site-nav a { padding: .8em .5em; }
  #site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: .9em; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0; background: linear-gradient(180deg, #e2eff1, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-note { color: var(--muted); font-size: .95rem; }
.portrait { margin: 0; }
.portrait img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 20px 40px -24px rgba(28,52,56,.45), 0 0 0 8px var(--gold-soft); }
.portrait figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 10px; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .portrait { max-width: 280px; } }
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); background: var(--alt); }

/* Sections */
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section.alt { background: var(--alt); }
.page-hero { border-bottom: 1px solid #d7e7ea; }
.section-title { text-align: center; margin-bottom: 1.2em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(28,52,56,.5); border-color: var(--gold); color: var(--ink); }
.card h3 { color: var(--brand); }
.card p { color: var(--muted); margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 600; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.info-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-box h3:not(:first-child) { margin-top: 1.2em; }
.about-photo { border-radius: var(--radius); margin-bottom: 18px; }
.checks, .plain { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 1.7em; position: relative; margin-bottom: .45em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1em; height: .55em; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.plain li { margin-bottom: .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose h2 { margin-top: 1.4em; }
.link-arrow { font-weight: 600; }
.link-arrow::after { content: " →"; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; scroll-margin-top: 130px; }
.service h2 { font-size: 1.35rem; color: var(--brand); }
.service p { margin: 0; color: var(--muted); }

/* Fees + FAQ */
.fees { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 1em; }
.fees th, .fees td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.fees thead th { background: var(--brand); color: #fff; font-weight: 600; }
.fees tbody tr:last-child th, .fees tbody tr:last-child td { border-bottom: 0; }
.fees td:last-child { font-weight: 600; white-space: nowrap; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Contact */
.call-card { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 32px; }
.call-card .eyebrow { color: #e8d9a8; }
.call-card a { color: #fff; }
.big-phone { display: inline-block; font-family: var(--serif); font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 600; text-decoration: none; margin-bottom: .2em; }
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input { font: inherit; padding: .7em .85em; border: 1.5px solid #9fb3b6; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--brand); }
.radio { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; }
.radio input { width: 18px; height: 18px; accent-color: var(--brand); }
.form-warning { background: var(--gold-soft); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 6px; font-size: .95rem; }
.form-status { min-height: 1.5em; font-weight: 600; color: var(--brand); }
.form-status.error { color: #a1301b; }
.crisis-box { margin-top: 1.4em; background: var(--gold-soft); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.hours { list-style: none; padding: 0; margin: 0 0 1em; }
.hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.hours span { font-weight: 600; }

/* CTA + footer */
.cta-band { background: var(--brand); color: #fff; padding: clamp(40px, 6vw, 72px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe3e6; max-width: 38em; margin-inline: auto; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn { background: #fff; color: var(--brand); border-color: #fff; }
.cta-band .btn:hover { background: var(--alt); }
.cta-band .btn-ghost { background: transparent; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--brand); }
.site-footer { background: var(--dark); color: #cfdcde; padding: 48px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .hours li { border-color: #355156; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: .4em; }
.footer-logo { width: 96px; height: 96px; margin-bottom: 12px; }
.footer-h { color: #fff; font-weight: 600; margin-bottom: .4em; }
.crisis { margin-top: 28px; padding: 14px 18px; border: 1px solid #355156; border-radius: 10px; }
.footer-bottom { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #b7c9cc; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.hero-badge { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: .5em .9em; font-weight: 600; color: var(--brand); margin-bottom: .6em; }
.card-feature { background: var(--brand); border-color: var(--brand); }
.card-feature h3 { color: #fff; }
.card-feature p { color: #cfe3e6; }
.card-feature:hover { color: #fff; }
.prose ol { padding-left: 1.2em; }
.prose ol li { margin-bottom: .5em; }
