/* Household Design + Build - look and feel taken from the company letterhead:
   charcoal block logo, white paper, geometric sans, widely tracked capitals, fine rules. */
:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --surface-2: #efefec;
  --ink: #232323;
  --ink-2: #4d4d4b;
  --ink-3: #7c7c79;
  --line: #d6d6d2;
  --char: #424242;        /* matches the logo block and the collage backing board */
  --char-2: #4b4b4b;
  --accent: #424242;
  --accent-ink: #ffffff;
  --timber: #8d8d89;      /* neutral rule accent */
  --good: #2f6b45;
  --warn: #93650f;
  --bad: #a3392b;
  --radius: 2px;
  --font-display: 'Jost', 'Century Gothic', 'Futura', sans-serif;
  --font-hand: 'Nothing You Could Do', 'Bradley Hand', 'Segoe Print', cursive;  /* closest match to Bryce's handwriting */
  --font-body: 'Jost', 'Century Gothic', 'Futura', sans-serif;
  --text-sm: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --text-xl: clamp(1.55rem, 1.2rem + 1.3vw, 2.3rem);
  --text-hero: clamp(2.2rem, 1.4rem + 3.2vw, 4.3rem);
  --track: 0.32em;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow { font-size: .78rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* logo lockup */
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 42px; height: 42px; flex: none; color: var(--char); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.brand-name small { display: block; font-weight: 400; font-size: .74rem; letter-spacing: .05em; margin-top: .3rem; color: var(--ink-2); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.nav { display: flex; gap: 1.6rem; align-items: center; font-size: var(--text-sm); }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .tel { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: var(--radius); border: 1px solid var(--char); background: var(--char); color: #fff; font: 500 var(--text-sm)/1 var(--font-body); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.btn:hover { background: #2c2c2c; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-3); background: var(--surface); }
.btn.light { background: #fff; color: var(--char); border-color: #fff; }
.btn.light:hover { background: #e9e9e6; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn[disabled] { opacity: .55; cursor: progress; }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.nav a.btn.ghost, .nav a.btn.ghost:hover { color: var(--ink); }
@media (max-width: 860px) { .nav a:not(.btn):not(.tel) { display: none; } }
@media (max-width: 520px) { .nav .tel { display: none; } .brand-name { font-size: 1rem; } }

/* hero - charcoal board, like the collage backing */
.hero { background: #000; color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; overflow: hidden; }
.hero-text { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero .eyebrow { color: rgba(255,255,255,.62); }
.hero h1 { font-size: var(--text-hero); font-weight: 500; margin-top: 1rem; }
.hero .lede { font-size: var(--text-lg); color: rgba(255,255,255,.82); max-width: 40ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero figure { margin: clamp(2rem, 5vw, 3.5rem) auto 0; width: min(100%, 1360px); }
.hero figure img { width: 100%; }
.hero figcaption { font-size: .78rem; letter-spacing: .08em; color: rgba(255,255,255,.55); padding: .9rem .5rem 1.6rem; text-align: right; }
@media (max-width: 860px) { .hero-text { grid-template-columns: 1fr; } .hero figure { width: 100%; } }

/* sections */
section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); align-items: end; }
.section-head h2 { font-size: var(--text-xl); }
.section-head p { color: var(--ink-2); max-width: 54ch; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 1rem; } }

.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.svc { padding: 1.6rem 1.4rem 1.9rem 0; border-bottom: 1px solid var(--line); }
.svc:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.svc:not(:nth-child(3n+1)) { padding-left: 1.4rem; }
.svc .num { font-size: .75rem; letter-spacing: var(--track); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc h3 { font-size: 1.3rem; font-weight: 500; margin: .55rem 0 .5rem; }
.svc p { color: var(--ink-2); font-size: var(--text-sm); }
@media (max-width: 860px) { .svc-list { grid-template-columns: 1fr; } .svc { border-right: 0 !important; padding-left: 0 !important; } }

/* note from Bryce */
.note-sec { background: var(--surface-2); }
.note-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.paper { background: #fff; padding: clamp(1.2rem, 3vw, 2.4rem); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 30px -12px rgba(0,0,0,.18); transform: rotate(-.6deg); }
.paper .paper-head { display: flex; align-items: center; gap: .6rem; padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.paper .paper-head svg { width: 30px; height: 30px; color: var(--char); }
.paper .paper-head span { font-weight: 700; letter-spacing: .06em; font-size: .85rem; line-height: 1; }
.paper .paper-head span small { display: block; font-weight: 400; font-size: .62rem; margin-top: .2rem; letter-spacing: .04em; }
.note-grid h2 { font-size: var(--text-xl); margin: .8rem 0 1.2rem; }
.note-grid .quote { font-size: var(--text-lg); color: var(--ink); line-height: 1.55; }
.note-grid .quote p + p { margin-top: .9rem; }
.note-grid .sig { margin-top: 1.2rem; font-size: var(--text-sm); color: var(--ink-3); letter-spacing: .04em; }
@media (max-width: 900px) { .note-grid { grid-template-columns: 1fr; } .paper { transform: none; } }

.process { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 1.4rem 1.4rem 1.6rem 0; }
.step + .step { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.step b { display: block; font-weight: 500; font-size: 1.22rem; margin: .45rem 0 .45rem; }
.step p { font-size: var(--text-sm); color: var(--ink-2); }
.step .eyebrow { color: var(--ink-3); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { border-left: 0; padding-left: 0; } .step { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; padding-left: 0; } }

.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.about-grid h2 { font-size: var(--text-xl); margin-top: .8rem; }
.about-grid p { color: var(--ink-2); }
.about-grid p + p { margin-top: 1rem; }
.values { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 1.1rem; }
.values li { padding-left: 1.1rem; border-left: 2px solid var(--char); color: var(--ink-2); }
.values b { color: var(--ink); font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; padding: .55rem .8rem; border: 1px solid var(--line); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.badge i { width: 22px; height: 22px; border-radius: 50%; background: var(--char); display: inline-block; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.area { background: var(--char); color: #fff; }
.area .eyebrow { color: rgba(255,255,255,.6); }
.area-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: start; }
.area h2 { font-size: var(--text-xl); margin-top: .8rem; }
.area p:not(.eyebrow) { color: rgba(255,255,255,.82); max-width: 58ch; }
.area p + p { margin-top: 1rem; }
@media (max-width: 760px) { .area-grid { grid-template-columns: 1fr; } }

/* form */
.form-shell { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.form-aside h2 { font-size: var(--text-xl); margin: .8rem 0 1rem; }
.form-aside p { color: var(--ink-2); }
.form-aside ul { padding-left: 1.1rem; color: var(--ink-2); font-size: var(--text-sm); margin: 1.2rem 0 0; }
.form-aside li + li { margin-top: .4rem; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.25rem, 3vw, 2.2rem); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1.8rem; }
.progress span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding-top: .55rem; border-top: 3px solid var(--line); transition: color .2s, border-color .2s; }
.progress span.on { color: var(--ink); border-top-color: var(--char); }
.progress span.done { border-top-color: var(--timber); }
@media (max-width: 520px) { .progress span { font-size: 0; } }

fieldset { border: 0; margin: 0; padding: 0; }
legend { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin-bottom: .35rem; padding: 0; }
.legend-sub { color: var(--ink-3); font-size: var(--text-sm); margin-bottom: 1.4rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.grid2 .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.field label, .q { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: .4rem; }
.q { margin-top: 1.3rem; }
.field .hint { font-weight: 400; color: var(--ink-3); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { width: 100%; font: inherit; font-size: var(--text-base); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .8rem; transition: border-color .15s, background .15s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--char); background: #fff; }
.invalid { border-color: var(--bad) !important; }
.err { color: var(--bad); font-size: .8rem; margin-top: .3rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--text-sm); background: var(--bg); transition: all .15s; }
.chips label:hover span { border-color: var(--ink-3); }
.chips input:checked + span { background: var(--char); color: #fff; border-color: var(--char); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.chips.invalid-group span { border-color: var(--bad); }

.consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.6rem; font-size: var(--text-sm); color: var(--ink-2); }
.consent input { margin-top: .3rem; accent-color: var(--char); width: 18px; height: 18px; flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.thanks h3 { font-size: var(--text-xl); margin: .6rem 0 .8rem; }
.thanks p { color: var(--ink-2); }
.thanks p + p { margin-top: .8rem; }

/* footer - letterhead style */
footer { padding: 3rem 0 3.2rem; color: var(--ink-2); }
.lh-addr { font-size: clamp(.72rem, .6rem + .5vw, .95rem); letter-spacing: var(--track); text-transform: uppercase; padding-bottom: .6rem; border-bottom: 1px solid var(--ink); }
.lh-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-top: .6rem; font-size: .9rem; letter-spacing: .08em; }
.lh-row b { font-weight: 600; letter-spacing: .14em; }
.lh-row a { text-decoration: none; }
.lh-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-size: .8rem; color: var(--ink-3); }

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

@media print {
  .site-header, .hero, .services, .process, #about, .note-sec, .area, footer, .form-nav, .progress, .form-aside ul { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .form-shell { display: block; }
  .card { border: 0; padding: 0; }
  fieldset[hidden] { display: block !important; }
  fieldset { break-inside: avoid; margin-bottom: 8mm; }
  .chips input + span { border: 1px solid #555; background: #fff !important; color: #000 !important; }
  .chips input:checked + span { border-width: 2px; font-weight: 600; }
  input, select, textarea { border: 0 !important; border-bottom: 1px solid #555 !important; border-radius: 0 !important; background: #fff !important; }
}

/* Bryce's hand - headings, intro text, navigation and buttons */
.hand, legend, .nav a:not(.tel), .btn, .hand-lede, .hand-sig { font-family: var(--font-hand); font-weight: 400; letter-spacing: 0; }
h1.hand, h2.hand, h3.hand, b.hand, legend { line-height: 1.3; }
.hero h1.hand { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.9rem); line-height: 1.25; }
.hand-lede { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem) !important; line-height: 1.45; }
h2.hand { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); }
.svc h3.hand { font-size: 1.45rem; }
.step b.hand { font-size: 1.4rem; font-weight: 400; }
legend { font-size: 1.6rem; }
.thanks h3.hand { font-size: 1.9rem; }
.btn { font-size: 1.05rem; padding: .7rem 1.3rem .75rem; }
.nav a:not(.tel):not(.btn) { font-size: 1.05rem; }
.hand-sig { font-size: 1.8rem !important; color: var(--ink) !important; }
.note-grid .quote { font-size: var(--text-base); color: var(--ink-2); }

.btn { white-space: nowrap; }
@media (max-width: 520px) { .nav .btn { font-size: .95rem; padding: .55rem .8rem; } .brand svg { width: 36px; height: 36px; } }

/* White wordmark at top of hero */
.hero-mark { grid-column: 1 / -1; margin: 0 0 -1rem; color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.hero-mark small { color: rgba(255,255,255,.82); font-size: .42em; letter-spacing: .14em; margin-top: .45rem; }

.note-photo { margin: 0; }
.note-photo img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.45); }

/* Master Builders membership */
.mba { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.mba img { width: 76px; height: auto; display: block; }
.mba span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.5; }
.lh-row { align-items: center; }
.mba-h { width: 140px; height: auto; display: block; }

/* spam trap - hidden from people, visible to bots */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
