:root {
  --plastic: #d9d6cc;
  --panel: #efede6;
  --ink: #1b2230;
  --muted: #4b5566;
  --red: #b72d27;
  --sky: #2e5e9c;
  --snow: #f7f6f2;
  --ok: #1f6b3a;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--plastic); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--sky); text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; background: var(--ink); color: var(--snow); padding: .5rem 1rem; z-index: 10; }

.site-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding: 1rem clamp(1rem, 4vw, 3rem); background: var(--panel); border-bottom: 4px solid var(--ink); }
.brand { font: 800 1.35rem var(--head); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand span { color: var(--red); }
.site-head nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-head nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: .25rem 0; border-bottom: 3px solid transparent; }
.site-head nav a:hover { border-color: var(--ink); }
.site-head nav a[aria-current="page"] { border-color: var(--red); font-weight: 600; }

.wrap { padding: 3rem clamp(1rem, 4vw, 3rem); max-width: 72rem; margin: 0 auto; }
.narrow { max-width: 40rem; }
.lede { font-size: 1.15rem; color: var(--muted); }
.prose p { max-width: 62ch; }

.hero { position: relative; background: var(--sky); color: var(--snow); padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem) 0; overflow: hidden; }
.hero-copy { max-width: 46rem; margin: 0 auto 0 max(0px, calc((100vw - 72rem) / 2)); position: relative; z-index: 1; padding-bottom: 7rem; }
.hero h1 { text-wrap: balance; }
.hero p { font-size: 1.15rem; }
.ridge { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(7rem, 18vw, 12rem); display: block; }

.btn { display: inline-block; background: var(--red); color: var(--snow); font: 600 1rem var(--body); text-decoration: none; padding: .7rem 1.25rem; border: 0; border-bottom: 4px solid #7d1c18; border-radius: 2px; cursor: pointer; }
.btn:hover { background: #cf3a33; color: var(--snow); }
.btn:active { border-bottom-width: 1px; transform: translateY(3px); }
.btn.ghost { background: var(--snow); color: var(--ink); border-bottom-color: #a9a79f; }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.listing { background: var(--panel); border: 2px solid var(--ink); border-radius: 2px; display: flex; flex-direction: column; }
.thumb { aspect-ratio: 4 / 3; background: var(--plastic); border-bottom: 2px solid var(--ink); display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.noimg { width: 3rem; height: 3rem; background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 1rem 1rem; opacity: .25; }
.listing-body { padding: 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.listing-body h3 { margin: 0; }
.listing-body p { margin: 0; }
.meta { color: var(--muted); font-size: .95rem; }
.desc { font-size: .95rem; }
.price { font: 700 1.3rem var(--head); margin-top: auto !important; padding-top: .5rem !important; }
.listing .btn { text-align: center; margin-top: .5rem; }
.empty { padding: 2rem; border: 2px dashed var(--ink); background: var(--panel); }
.more { margin-top: 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.filters a { padding: .3rem .9rem; border: 2px solid var(--ink); border-radius: 2px; color: var(--ink); text-decoration: none; background: var(--panel); }
.filters a[aria-current="true"] { background: var(--ink); color: var(--snow); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem; border-top: 2px solid var(--ink); }
.split h2 { font-size: 1.3rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; border-top: 4px solid var(--ink); padding-top: .75rem; }
.steps li::before { content: "Step " counter(step); display: block; font: 600 .9rem var(--body); color: var(--red); }
.steps p { margin: 0; }
.services { margin: 2rem 0; display: grid; gap: 1.25rem; }
.services > div { border-left: 4px solid var(--red); padding-left: 1rem; }
.services dt { font: 700 1.15rem var(--head); }
.services dd { margin: .2rem 0 0; max-width: 60ch; }

.form { display: grid; gap: 1.1rem; }
.form label, .stack label { display: grid; gap: .3rem; font-weight: 600; }
input, select, textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--snow); border: 2px solid var(--ink); border-radius: 2px; padding: .6rem .75rem; width: 100%; }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-weight: 500; font-size: .95rem; }
.hp { position: absolute; left: -9999px; }
.notice { padding: .8rem 1rem; border-left: 5px solid; background: var(--panel); max-width: none; }
.notice.ok { border-color: var(--ok); }
.notice.bad { border-color: var(--red); }

.site-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.5rem clamp(1rem, 4vw, 3rem); background: var(--ink); color: var(--snow); }
.site-foot p { margin: 0; }
.site-foot a { color: var(--snow); }
