@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin.woff2') format('woff2');
  font-weight: 400 850;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --surface: #fcfbf7;
  --text: #232823;
  --muted: #515952;
  --rule: #c7c8bf;
  --accent: #903324;
  --accent-hover: #762519;
  --on-accent: #fffaf4;
  --ink-panel: #232b28;
  --on-panel: #faf7ee;
  --panel-muted: #dedfd5;
  --focus: #086464;
  --gutter: clamp(1rem, 4vw, 3rem);
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #1b211e; --surface: #252d28; --text: #faf6ea; --muted: #c0c8bc;
    --rule: #536058; --accent: #f4a086; --accent-hover: #ffc0ad; --on-accent: #28180f;
    --ink-panel: #29332e; --focus: #a8e3d6;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1b211e; --surface: #252d28; --text: #faf6ea; --muted: #c0c8bc;
  --rule: #536058; --accent: #f4a086; --accent-hover: #ffc0ad; --on-accent: #28180f;
  --ink-panel: #29332e; --focus: #a8e3d6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--text); line-height: 1.58; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.054em; }
h1 { font-size: clamp(2.75rem, 6.1vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.25vw, 3.55rem); font-weight: 780; }
h3 { font-size: clamp(1.28rem, 2.45vw, 2rem); font-weight: 735; }
p { color: var(--muted); }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; width: 100%; height: auto; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
section[id], article[id], div[id] { scroll-margin-top: 1rem; }
.shell { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { margin-top: clamp(3.8rem, 7.8vw, 7.6rem); }
.skip-link { position: fixed; top: .6rem; left: .6rem; padding: .8rem 1rem; background: var(--surface); z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--rule); }
.header-row { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 3.4vw, 3rem); align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; font-size: .98rem; font-weight: 820; line-height: 1.05; letter-spacing: -.045em; text-decoration: none; }
.brand strong { display: block; font-weight: 650; }
.brand-mark { display: grid; place-items: center; flex: none; width: 41px; height: 41px; border-radius: 8px; background: #903324; color: #fffaf4; font-size: 1.05rem; font-weight: 810; letter-spacing: -.065em; }
.header-nav, .header-tools { display: flex; align-items: center; gap: clamp(.55rem, 2vw, 1.6rem); }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 660; text-decoration: none; white-space: nowrap; }
.header-nav a:hover, .header-nav a[aria-current] { text-decoration: underline; }
.header-tools { justify-self: end; gap: .55rem; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 7px; display: inline-grid; place-items: center; background: transparent; color: var(--text); }
.nav-theme { display: none; }
.icon-button:hover { background: var(--surface); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .62rem; width: fit-content; border-radius: 7px; padding: .65rem 1rem; border: 1px solid transparent; line-height: 1.3; font-weight: 720; text-decoration: none; }
.arrow { position: relative; display: inline-block; width: .9rem; height: .9rem; flex: none; }
.arrow::before { content: ""; position: absolute; width: .72rem; height: 1.5px; top: .45rem; left: .06rem; background: currentColor; transform: rotate(-45deg); }
.arrow::after { content: ""; position: absolute; inset: .14rem .14rem auto auto; width: .36rem; height: .36rem; border-top: 1.5px solid; border-right: 1.5px solid; }
.theme-icon { width: 1rem; height: 1rem; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(90deg,currentColor 50%,transparent 50%); }
.menu-icon { width: 1rem; height: 2px; background: currentColor; box-shadow: 0 -.31rem currentColor, 0 .31rem currentColor; }
.primary { background: var(--accent); color: var(--on-accent); }
.primary:hover { background: var(--accent-hover); }
.secondary { border-color: var(--rule); color: var(--text); background: var(--surface); }
.secondary:hover { border-color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: center; gap: clamp(1.3rem, 4.5vw, 4rem); margin-top: clamp(1.25rem, 4vw, 3.25rem); }
.hero-copy { padding-block: 1.5rem; }
.location { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.15rem; color: var(--accent); font-weight: 725; font-size: .9rem; }
.location span { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.45rem); line-height: .98; letter-spacing: -.071em; }
.hero .lede { margin-top: 1.4rem; max-width: 43ch; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.23rem); max-width: 58ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.3rem; margin-top: 1.55rem; }
.inline-link { min-height: 44px; display: inline-flex; align-items: center; gap: .32rem; font-weight: 690; }
.hero-photo img { border-radius: 10px; aspect-ratio: 1.05; object-fit: cover; object-position: 50% 48%; background: #503b32; }
.hero-photo figcaption, .local figcaption, .build-gallery figcaption { margin-top: .62rem; color: var(--muted); font-size: .82rem; font-weight: 650; }
.hero-photo figcaption { display: flex; flex-wrap: wrap; gap: .25rem .75rem; justify-content: space-between; }
.section-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-intro p { max-width: 39ch; }
.service-list { border-top: 1px solid var(--rule); }
.service-row { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr) auto; gap: clamp(1rem, 4vw, 3.5rem); padding-block: clamp(.95rem, 2.2vw, 1.7rem); align-items: center; border-bottom: 1px solid var(--rule); text-decoration: none; }
.service-row h3 { line-height: 1.12; }
.service-row:hover h3 { color: var(--accent); text-decoration: underline; }
.service-row p { max-width: 52ch; }
.service-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; color: var(--accent); font-size: 1.12rem; font-weight: 760; text-decoration: none; }
.service-row:hover .service-link { border-color: var(--accent); background: var(--surface); }
.hosting-note { margin-top: .85rem; font-size: .94rem; }
.hosting-note a { font-weight: 660; }
.work { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.5fr); gap: clamp(1.25rem, 5.5vw, 4rem); align-items: center; padding: clamp(1.15rem, 4vw, 3rem); background: var(--ink-panel); color: var(--on-panel); border-radius: 10px; }
.work p, .work figcaption { color: var(--panel-muted); }
.work-copy p, .local p { margin-block: 1rem; max-width: 42ch; }
.work .secondary { background: var(--on-panel); color: #232823; border: 0; }
.work .secondary:hover { background: #eadccc; }
.work :focus-visible { outline-color: #a8e3d6; }
.build-gallery { display: grid; grid-template-columns: minmax(0,1229fr) minmax(0,864fr); gap: clamp(.5rem, 1.6vw, 1rem); }
.build-gallery img { border-radius: 7px; }
.local { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.local img { border-radius: 9px; background: #777966; }
.faq { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1fr); gap: clamp(1rem, 6vw, 5rem); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { padding: .85rem .3rem; min-height: 48px; font-weight: 710; cursor: pointer; }
.faq details p { padding: .05rem .7rem .9rem; }
.contact-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: clamp(1.3rem, 4vw, 2.8rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.contact-band p { margin-top: .55rem; }
.site-footer { margin-top: clamp(2.5rem, 7vw, 6rem); border-top: 1px solid var(--rule); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.7rem; }
.footer-row p { font-size: .8rem; margin-top: .65rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; }
.footer-row nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .89rem; }
.footer-row small { color: var(--muted); }
.interior { margin-top: clamp(1.4rem, 5vw, 4rem); }
.breadcrumb { font-size: .88rem; margin-bottom: 1.25rem; }
.interior > .lede, .quote-layout .lede { margin-top: 1rem; }
.interior > .service-list { margin-top: 2rem; }
.interior > .button { margin-top: 1.25rem; }
.detail-grid, .quote-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.2rem, 6vw, 4.5rem); align-items: start; }
.detail-grid { margin-top: 2.5rem; }
.detail-list section { border-top: 1px solid var(--rule); padding-block: 1.3rem; }
.detail-list h2, .quote-aside h2, .related h2, .privacy h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
.detail-list p, .quote-aside p, .privacy p { margin-top: .6rem; max-width: 64ch; }
.quote-aside, .quote-form { border: 1px solid var(--rule); padding: clamp(1rem, 3vw, 2rem); border-radius: 9px; background: var(--surface); }
.quote-aside .button { margin-top: 1rem; }
.related { margin-top: 2rem; padding-block: 1.25rem; border-top: 1px solid var(--rule); }
.related a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 1.25rem; }
.privacy h2 { margin-top: 1.5rem; }
.quote-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.quote-layout h1 { font-size: clamp(2.6rem, 5.5vw, 4.9rem); }
.quote-form { display: grid; gap: 1rem; }
.quote-form label { display: grid; min-width: 0; gap: .25rem; font-weight: 680; }
.quote-form :is(input,select,textarea) { width: 100%; min-height: 46px; border: 1px solid var(--rule); border-radius: 6px; padding: .6rem .65rem; background: var(--paper); color: var(--text); font-weight: 450; }
.quote-form textarea { resize: vertical; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-note { font-size: .84rem; }
.form-error { padding: .65rem; border: 1px solid var(--accent); border-radius: 5px; color: var(--accent); }
.quote-form button:disabled { cursor: not-allowed; opacity: .72; }
.reference { font-weight: 780; font-size: 1.3rem; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .wide { display: none; }
}
@media (max-width: 740px) {
  .header-row { grid-template-columns: 1fr auto; min-height: 66px; gap: .3rem .5rem; padding-block: .55rem; }
  .header-tools { grid-column: 2; grid-row: 1; gap: .3rem; }
  .header-tools .button { font-size: .8rem; padding-inline: .53rem; min-height: 44px; }
  .header-tools .button span { display: none; }
  .header-tools .theme-toggle { display: none; }
  .nav-theme { display: inline-grid; }
  .header-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
  .brand { font-size: .88rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hero, .work, .local, .faq, .detail-grid, .quote-layout { grid-template-columns: 1fr; }
  .hero { gap: .8rem; }
  .hero-copy { padding-block: .45rem .5rem; }
  .hero h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); }
  .hero-photo img { aspect-ratio: 1.12; }
  .section-intro, .contact-band { align-items: flex-start; flex-direction: column; }
  .service-row { grid-template-columns: minmax(0,1fr) auto; gap: .35rem .85rem; }
  .service-row p { grid-row: 2; }
  .service-link { grid-row: 1 / 3; grid-column: 2; }
}
@media (max-width: 420px) {
  .field-pair { grid-template-columns: 1fr; }
  .header-tools .icon-button { width: 44px; }
  .header-row { column-gap: .25rem; }
  .brand { gap: .4rem; }
}
@media (forced-colors: active) {
  .button, .brand-mark, .icon-button { border: 1px solid ButtonText; }
}
