/* whiteglovesrestoration.com — one stylesheet, system fonts (no font downloads), WCAG 2.2 AA in the light and dark
   colour schemes. Palette: ivory paper, spruce headings, copper call buttons (accent for actions only). */
:root {
  color-scheme: light dark;
  --ink: #1d2422;          /* body text: 15.1:1 on --paper */
  --muted: #4b5552;        /* quiet text: 7.4:1 on --paper, 6.7:1 on --soft */
  --head: #1b4a42;         /* spruce headings and links: 9.6:1 on --paper */
  --accent: #a24b16;       /* copper: call and send buttons, white words 5.9:1 */
  --accent-hover: #833b0f; /* white words 8.1:1 */
  --on-accent: #ffffff;
  --paper: #fbfaf7;
  --card: #ffffff;
  --soft: #f1eee7;
  --line: #dcd8cf;
  --field: #6b7470;        /* field edges: 4.7:1 on white */
  --ring: #a24b16;         /* focus ring: 5.7:1 on --paper */
  --foot-bg: #1b4a42;
  --foot-ink: #ffffff;     /* 10:1 on --foot-bg */
  --foot-quiet: #d9e8e3;   /* 7.9:1 on --foot-bg */
  --foot-line: #4f7a71;
  --radius: 10px;
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ebe7df;        /* 14.6:1 on --paper */
    --muted: #b9c0bc;      /* 9.7:1 on --paper, 8.7:1 on --card */
    --head: #a8d5c8;       /* 11.1:1 on --paper */
    --accent: #f0a36b;     /* dark words 8.9:1 */
    --accent-hover: #f5b583;
    --on-accent: #1a120c;
    --paper: #131816;
    --card: #1b2220;
    --soft: #1f2725;
    --line: #34403c;
    --field: #8a9590;      /* 5.2:1 on --card */
    --ring: #f0a36b;       /* 8.7:1 on --paper */
    --foot-bg: #0d1110;
    --foot-ink: #ebe7df;   /* 15.4:1 */
    --foot-quiet: #b9c0bc;
    --foot-line: #34403c;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--head); text-decoration: underline; text-underline-offset: .15em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--head); color: var(--paper); padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: 1rem; }

/* header: sticky, the call button always on screen */
.top { position: sticky; top: 0; z-index: 10; background: var(--card); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: .5rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.name { display: flex; align-items: center; gap: .6rem; color: var(--head); font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.15rem; text-decoration: none; line-height: 1.2; min-width: 0; }
.name small { display: block; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 400; font-size: .8rem; color: var(--muted); }
.logo { width: 40px; height: 40px; flex: none; border-radius: 8px; }
.call { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .95rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; }
.call:hover { background: var(--accent-hover); color: var(--on-accent); }
.call svg, .btn svg, .foot-call svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.menu { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem .4rem; display: flex; flex-wrap: wrap; gap: .1rem 1.2rem; }
.menu a { display: inline-block; padding: .35rem 0; min-height: 32px; color: var(--head); font-weight: 600; text-decoration: none; }
.menu a:hover { text-decoration: underline; color: var(--head); }
@media (max-width: 30rem) { .call-label, .name small { display: none; } .name { font-size: 1rem; } .call { padding: .5rem .75rem; } }

.crumbs { max-width: var(--wrap); margin: 0 auto; padding: .8rem 1rem 0; font-size: .9rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "›"; margin-right: .3rem; }

/* page */
.page { max-width: var(--wrap); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.page > * { max-width: 46rem; }
.page > .hero, .page > .request, .page > .cards, .page > .steps, .page > .band { max-width: none; }
h1, h2, h3 { color: var(--head); line-height: 1.25; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); margin: .3rem 0 1rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.8rem); margin: 2.6rem 0 .8rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .04em; font-size: .9rem; margin: 0; }
@media (prefers-color-scheme: light) { .eyebrow { color: var(--accent-hover); } }
.lead { font-size: 1.2rem; color: var(--ink); }
.hero { padding: .5rem 0 .5rem; display: grid; gap: 1.5rem; align-items: center; }
.hero > div { max-width: 44rem; }
.hero-art { width: 100%; max-width: 22rem; height: auto; justify-self: center; color: var(--head); }
@media (min-width: 56rem) { .hero.has-art { grid-template-columns: minmax(0, 1fr) 20rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 .5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1.05rem; cursor: pointer; }
.btn-call, .btn-send { background: var(--accent); color: var(--on-accent); }
.btn-call:hover, .btn-send:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-line { border-color: var(--head); color: var(--head); background: var(--card); }
.btn-line:hover { background: var(--soft); color: var(--head); }
.note { background: var(--soft); border-left: 4px solid var(--accent); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.checklist { padding-left: 1.3rem; }
.checklist li { margin: .35rem 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
th { color: var(--head); }
.table-wrap { overflow-x: auto; }
.sources { font-size: .95rem; color: var(--muted); }

/* numbered steps: the order of the work, shown as a typographic sequence (no photos until real ones are cleared) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.2rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: .4rem; }
@media (prefers-color-scheme: light) { .steps li::before { color: var(--accent-hover); } }
.steps strong { color: var(--head); }

/* home: service cards and the quiet band */
.cards { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.cards li { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--head); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.cards h3 { margin: 0 0 .4rem; }
.cards p { margin: 0; color: var(--muted); }
.band { background: var(--soft); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 2rem 0; }
.band h2 { margin-top: 0; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: .7rem 0; padding: 0 1.1rem; }
.faq summary { cursor: pointer; list-style: none; padding: .9rem 0; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; margin: 0; font-size: 1.08rem; }
.faq summary::after { content: "+"; float: right; font-weight: 700; color: var(--head); }
.faq details[open] summary::after { content: "–"; }
.faq details > p { margin: 0 0 1rem; }

/* lead form: one per page */
.request { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem 1rem; margin: 2.6rem 0; }
.request h2 { margin-top: 0; }
.lead-form { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .lead-form { grid-template-columns: 1fr 1fr; } .lead-form .wide { grid-column: 1 / -1; } }
.lead-form p { margin: 0 0 .9rem; }
.lead-form label { display: block; font-weight: 600; margin-bottom: .25rem; }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid var(--field); border-radius: 8px; font: inherit; background: var(--card); color: var(--ink); }
.lead-form .consent { font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.foot { background: var(--foot-bg); color: var(--foot-ink); padding: 2rem 1rem 1.2rem; }
.foot a { color: var(--foot-ink); }
.foot :focus-visible { outline-color: var(--foot-ink); }
.foot-grid { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: .3rem 0; }
.foot li a { display: inline-block; min-height: 28px; }
.foot .brand { display: flex; align-items: center; gap: .6rem; font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; margin-top: 0; }
.foot-h { color: var(--foot-ink); font-size: 1rem; margin: 0 0 .5rem; font-family: inherit; }
.foot-call { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; font-size: 1.1rem; }
.license-line { max-width: var(--wrap); margin: 1.5rem auto .5rem; padding-top: 1rem; border-top: 1px solid var(--foot-line); font-size: .92rem; color: var(--foot-quiet); }
.copy { max-width: var(--wrap); margin: 0 auto; font-size: .85rem; color: var(--foot-quiet); }
.footer-credit { max-width: var(--wrap); margin: .35rem auto 0; font-size: .82rem; color: var(--foot-quiet); }
.foot .footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
