@font-face {
  font-family: Geist;
  src: url('/assets/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* The logo's own colours: gold, charcoal, and the warm paper it sits on. */
:root {
  --paper: #fbf8f3;
  --paper-2: #f3eee3;
  --white: #fff;
  --ink: #242424;
  --text: #3a3835;
  --muted: #625c52;
  --line: #e0d8c8;
  --gold: #bd994d;
  --gold-hover: #cda95c;
  --gold-text: #7a5c20;
  --gold-on-ink: #d3b16a;
  --on-ink: #f1ece2;
  --on-ink-muted: #c9c3b6;
  --error: #a3241c;
  --ok: #1f6242;
  --edge: 1.25rem;
  --wide: 76rem;
}

/* ---- Base. Written for phones first; wider screens add to it below. ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 Geist, system-ui, -apple-system, 'Segoe UI', sans-serif; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100% - var(--edge) * 2 - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), var(--wide)); margin-inline: auto; }
.icon { flex: none; width: 1.15rem; height: 1.15rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: .6rem 1rem; background: var(--ink); color: var(--white); font-weight: 600; }
.skip:focus { top: 1rem; }

h1 { color: var(--ink); font-size: clamp(2.6rem, 11.6vw, 3.6rem); font-weight: 680; line-height: 1; letter-spacing: -.035em; }
h2 { color: var(--ink); font-size: clamp(1.85rem, 7.6vw, 2.5rem); font-weight: 680; line-height: 1.08; letter-spacing: -.028em; }
h3 { color: var(--ink); font-size: 1.2rem; font-weight: 650; line-height: 1.25; letter-spacing: -.012em; }
/* Wide tracking, after BUILDERS in the logo. */
.eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; color: var(--gold-text); font-size: .74rem; font-weight: 600; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { flex: none; width: 1.6rem; height: 2px; background: var(--gold); content: ''; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.2rem; padding: .7rem 1.4rem; border: 2px solid transparent; font: inherit; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--gold); color: #1c1c1c; }
.btn-primary:hover { background: var(--gold-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #3a3a3a; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---- The strip above the header, on wider screens ---- */
.topbar { display: none; background: var(--ink); color: var(--on-ink-muted); font-size: .84rem; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 2.5rem; }
.topbar p, .topbar a { display: inline-flex; align-items: center; gap: .5rem; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 1rem; height: 1rem; color: var(--gold-on-ink); }

/* ---- Header ---- */
.bar { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { display: block; width: auto; height: 3.1rem; }
.nav, .bar-cta, .bar-call-label { display: none; }
.bar-full .bar-call { display: none; }
.bar-phone { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.bar-phone:hover { color: var(--gold-text); }

.menu summary { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--ink); color: var(--ink); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { position: relative; display: block; width: 1.05rem; height: .1rem; background: currentColor; }
.menu-icon::before, .menu-icon::after { position: absolute; left: 0; width: 100%; height: 100%; background: currentColor; content: ''; transition: transform .15s; }
.menu-icon::before { top: -.32rem; }
.menu-icon::after { top: .32rem; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; padding: .25rem var(--edge) .75rem; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 3px solid var(--gold); box-shadow: 0 12px 24px #00000017; }
.menu nav a { display: flex; align-items: center; min-height: 3.25rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 550; text-decoration: none; }
.menu nav a:last-child { border-bottom: 0; color: var(--gold-text); font-weight: 650; }

/* ---- Hero: words on graph paper, the drawing on charcoal ---- */
.hero { background-color: var(--paper); background-image: linear-gradient(#2424240a 1px, transparent 1px), linear-gradient(90deg, #2424240a 1px, transparent 1px); background-size: 2rem 2rem; }
.hero-copy { padding: 2.25rem var(--edge) 2.25rem; }
.lede { max-width: 36rem; margin-top: 1.1rem; font-size: 1.0625rem; line-height: 1.6; }
.actions { display: grid; gap: .6rem; margin-top: 1.5rem; }
.hero-copy .eyebrow { letter-spacing: .12em; }
.hero-copy .eyebrow::before { display: none; }
.points { display: grid; gap: .45rem; margin-top: 1.5rem; color: var(--ink); font-size: .97rem; font-weight: 550; }
.points li { display: flex; align-items: flex-start; gap: .55rem; line-height: 1.4; }
.points .icon { width: 1.05rem; height: 1.05rem; margin-top: .12rem; color: var(--gold-text); stroke-width: 2.4; }
.hero-art { display: flex; align-items: flex-end; padding-top: 1.75rem; background-color: var(--ink); background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 2rem 2rem; }
.hero-art picture { display: block; width: 100%; }
.hero-art img { display: block; width: 100%; }

/* ---- Sections ---- */
.section { padding-block: 3.25rem; }
.section-tint { background: var(--paper-2); }
.section-text { max-width: 34rem; margin-top: .9rem; }
.section-head .section-text { margin-top: 1rem; }

.services { display: grid; gap: 1rem; margin-top: 1.75rem; }
.service { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: border-color .15s ease, box-shadow .15s ease; }
.service-art { padding: 1rem 1.1rem 0; background: var(--paper-2); border-bottom: 3px solid var(--gold); }
.service-art img { display: block; width: 100%; }
.service-body { padding: 1.2rem 1rem 1.35rem; }
.service-body > p { margin-top: .45rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.service ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .75rem; margin-top: .95rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.service li { position: relative; padding-left: .9rem; color: var(--ink); font-size: .92rem; line-height: 1.35; }
.service li::before { position: absolute; top: .5em; left: 0; width: .4rem; height: .4rem; background: var(--gold); content: ''; }

.band { background: var(--gold); color: #1c1c1c; }
.band-row { display: grid; gap: 1.1rem; padding-block: 2rem; }
.band-text { font-size: clamp(1.35rem, 5.6vw, 1.85rem); font-weight: 650; line-height: 1.18; letter-spacing: -.02em; }
.band-actions { display: grid; gap: .25rem; }
.band-phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; font-weight: 650; text-decoration: none; }
.band-phone:hover { text-decoration: underline; }

.why-row { display: grid; gap: 1.75rem; }
.why-points { display: grid; gap: .75rem; }
.why-points li { position: relative; padding: 1.1rem 1.15rem 1.2rem 3.75rem; background: var(--white); border: 1px solid var(--line); }
.why-mark { position: absolute; top: 1.1rem; left: 1.1rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; background: var(--ink); color: var(--gold-on-ink); }
.why-mark .icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.4; }
.why-points p { margin-top: .3rem; color: var(--muted); font-size: .98rem; line-height: 1.5; }

.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink .eyebrow { color: var(--gold-on-ink); }
.steps { margin-top: 2rem; counter-reset: step; }
.steps li { position: relative; padding: 0 0 1.6rem 3.25rem; counter-increment: step; }
.steps li::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--gold-on-ink); color: var(--gold-on-ink); content: counter(step); font-size: .95rem; font-weight: 600; }
.steps li::after { position: absolute; top: 2.25rem; bottom: 0; left: 1.1rem; width: 1px; background: #ffffff33; content: ''; }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { padding-top: .35rem; font-size: 1.08rem; }
.steps p { margin-top: .3rem; color: var(--on-ink-muted); font-size: .98rem; line-height: 1.5; }

/* ---- Estimate ---- */
.estimate-row { display: grid; gap: 1.5rem; }
.reach { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.reach li { border-bottom: 1px solid var(--line); }
.reach a, .reach li > div { display: flex; align-items: center; gap: .9rem; min-height: 4rem; padding-block: .6rem; color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.reach a:hover { color: var(--gold-text); }
.reach small { display: block; color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.reach-mark { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--paper-2); color: var(--gold-text); }

.form { margin-inline: calc(var(--edge) * -1); padding: 1.5rem var(--edge); background: var(--white); border-top: 3px solid var(--gold); border-bottom: 1px solid var(--line); }
.field { display: grid; align-content: start; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
.field-row-pair { grid-template-columns: 1fr 1fr; }
label { color: var(--ink); font-size: .95rem; font-weight: 550; }
input, select, textarea { width: 100%; min-height: 3rem; padding: .6rem .75rem; border: 1px solid #8a8378; border-radius: 0; background: var(--white); color: var(--ink); font: inherit; }
input, textarea { -webkit-appearance: none; appearance: none; }
textarea { height: 7.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 2px solid var(--gold); outline-offset: 0; }
[aria-invalid='true'] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.error { color: var(--error); font-size: .9rem; font-weight: 550; }
.hint { margin: -.5rem 0 1.1rem; color: var(--muted); font-size: .9rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { margin-top: .9rem; color: var(--muted); font-size: .85rem; }
.status { margin-top: .9rem; font-weight: 600; }
.status:empty { display: none; }
.status.is-ok { color: var(--ok); }
.status.is-error { color: var(--error); }

/* ---- Footer ---- */
.foot { padding-block: 2.5rem 1.25rem; background: var(--ink); border-top: 3px solid var(--gold); color: var(--on-ink-muted); font-size: .95rem; }
.foot :focus-visible, .topbar :focus-visible { outline-color: var(--gold-on-ink); }
.with-callbar .foot { padding-bottom: 6rem; }
.foot-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand img { display: block; width: 9rem; }
.foot-col h2 { margin-bottom: .35rem; color: var(--gold-on-ink); font-size: .74rem; font-weight: 650; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.foot-col:last-child { grid-column: 1 / -1; }
.foot-col a { display: flex; align-items: center; min-height: 2.75rem; color: var(--on-ink); text-decoration: none; overflow-wrap: anywhere; line-height: 1.25; }
.foot-col a:hover { color: var(--gold-on-ink); text-decoration: underline; }
.foot-area { padding-block: .55rem; line-height: 1.35; }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 2rem; margin-top: 1.25rem; padding-top: .5rem; border-top: 1px solid #ffffff26; font-size: .875rem; }
.foot-end a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-ink); }
.foot-end a:hover { color: var(--gold-on-ink); }

/* ---- The call bar that follows a visitor on small screens ---- */
.callbar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 9; display: grid; grid-auto-flow: column; grid-template-columns: 2fr 3fr; gap: .5rem; padding: .6rem calc(var(--edge) + env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) calc(var(--edge) + env(safe-area-inset-left, 0px)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px #00000014; }
.callbar.is-ready { transition: transform .2s ease, visibility .2s; }
.callbar.is-away { visibility: hidden; transform: translateY(105%); }
.callbar .btn { min-height: 3rem; padding: .35rem .6rem; font-size: .98rem; line-height: 1.15; }

/* ---- Other pages ---- */
.page { padding-block: 3rem 4.5rem; }
.page .wrap { max-width: 44rem; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.page h2 { margin-top: 2.5rem; font-size: 1.4rem; letter-spacing: -.015em; }
.page p { margin-top: 1rem; }
.page .brand img { height: 5rem; }

/* A phone on its side has little height to spare, so nothing stays fixed on screen. */
@media (max-width: 61.99rem) and (max-height: 30rem) {
  html { scroll-padding-top: 1rem; }
  .bar { position: relative; }
  .callbar { display: none; }
  .with-callbar .foot { padding-bottom: 1.5rem; }
}

/* ---- Tablets ---- */
@media (min-width: 40rem) {
  :root { --edge: 2rem; }
  h1 { font-size: clamp(3.4rem, 8vw, 4.5rem); }
  h2 { font-size: clamp(2.2rem, 5vw, 2.75rem); }
  .eyebrow, .hero-copy .eyebrow { font-size: .78rem; letter-spacing: .18em; }
  .hero-copy .eyebrow::before { display: block; }
  .hero-copy { padding-block: 3rem; }
  .lede { font-size: 1.15rem; }
  .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
  .points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
  .section { padding-block: 4.25rem; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .band-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; }
  .band-actions { justify-items: center; }
  .why-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .why-points li { padding: 1.4rem 1.3rem 1.5rem; }
  .why-mark { position: static; margin-bottom: .9rem; }
  .form { margin-inline: 0; padding: 2rem; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 18px 40px #2424240f; }
  .foot-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .foot-col:last-child { grid-column: auto; }
}

/* ---- Desktop ---- */
@media (min-width: 62rem) {
  :root { --edge: 2.5rem; --wide: 84rem; }
  html { scroll-padding-top: 7rem; }
  .topbar { display: block; }
  .bar-row { gap: 1.75rem; min-height: 5.25rem; }
  .brand img { height: 3.9rem; }
  .menu, .callbar { display: none; }
  .with-callbar .foot { padding-bottom: 1.5rem; }
  .nav { display: flex; gap: 1.75rem; margin-left: auto; font-size: .98rem; }
  .nav a { padding-block: .5rem; color: var(--text); font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
  .nav a:hover { border-bottom-color: var(--gold); color: var(--ink); }
  .bar-full .bar-call { display: block; padding-left: 1.75rem; border-left: 1px solid var(--line); }
  .bar-call { display: block; line-height: 1.2; }
  .bar-call-label { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .bar-phone { min-height: 0; font-size: 1.12rem; }
  .bar-cta { display: inline-flex; min-height: 3rem; padding-inline: 1.2rem; }

  /* Inside the page width like everything else: words under the logo, the drawing's edge under the estimate button. */
  .hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: stretch; gap: 3.5rem; width: min(100% - var(--edge) * 2, var(--wide)); margin-inline: auto; padding-block: 3rem; }
  .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 0; }
  h1 { font-size: clamp(3.4rem, 5.1vw, 4.9rem); }
  .lede { font-size: 1.2rem; line-height: 1.55; }
  .actions { margin-top: 2rem; }
  .points { display: grid; gap: .55rem; margin-top: 2rem; font-size: 1.02rem; }
  .hero-art { padding-top: 2rem; }

  .section { padding-block: 5.5rem; }
  h2 { font-size: clamp(2.5rem, 3.6vw, 3.1rem); }
  .section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
  .section-head h2 { max-width: 18ch; }
  .section-head .section-text { margin: 0 0 .25rem; font-size: 1.1rem; }
  .services { gap: 1.5rem; margin-top: 3rem; }
  .service:hover { border-color: var(--gold); box-shadow: 0 18px 40px #2424241a; }
  .service-art { padding: 1.5rem 2rem 0; }
  .service-body { padding: 1.6rem 2rem 1.9rem; }
  .service h3 { font-size: 1.45rem; }
  .service ul { gap: .45rem 1.25rem; font-size: 1rem; }
  .service li { font-size: 1rem; }

  .band-row { padding-block: 2.25rem; }
  .band-actions { grid-auto-flow: column; align-items: center; gap: 1.5rem; }

  .why-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: start; gap: 4rem; }
  .why-copy { position: sticky; top: 8rem; }
  .why-copy .section-text { font-size: 1.1rem; }
  .why-points { gap: 1.25rem; }
  .why-points li { padding: 1.75rem 1.6rem 1.9rem; }
  .why-points h3 { font-size: 1.28rem; }
  .why-points p { font-size: 1.02rem; }

  .steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; margin-top: 3.25rem; }
  /* One line running through every number. */
  .steps::before { position: absolute; top: 1.5rem; right: 0; left: 0; height: 1px; background: #ffffff33; content: ''; }
  .steps li { padding: 4.5rem 0 0; }
  .steps li::before { width: 3rem; height: 3rem; background: var(--ink); font-size: 1.1rem; }
  .steps li::after { display: none; }
  .steps h3 { padding-top: 0; font-size: 1.18rem; }
  .steps p { margin-top: .55rem; font-size: 1rem; }

  .estimate-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: 4rem; }
  .estimate-copy { position: sticky; top: 8rem; }
  .estimate-copy .section-text { font-size: 1.1rem; }
  .form { padding: 2.5rem; }
  textarea { height: 9rem; }

  .foot { padding-block: 3.75rem 1.5rem; }
  .foot-row { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
  .foot-brand { grid-column: auto; }
  .foot-brand img { width: 11rem; }
  .foot-col a { min-height: 2.25rem; }
  .foot-end { margin-top: 2.5rem; padding-top: 1rem; }
  .page { padding-block: 4rem 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service, .callbar.is-ready, .menu-icon::before, .menu-icon::after { transition: none; }
}
