/* Web by Weber: "The estimate", charcoal and orange */
:root {
  --ground: #1C1D20;
  --ground-2: #25272B;
  --ground-3: #2B2E33;
  --line: #3A3D43;
  --text: #F5F4F1;
  --muted: #CFCDC8;
  --accent: #FF6A1F;
  --accent-soft: #FF8A4C;
  --paper: #FFFFFF;
  --ink: #14161C;
  --rule: #D5D9E2;
  --hi: #FFD84A;
  --stamp: #C2321F;
  --pen: #1A3FA8;
  --shadow: #0E0F11;
  --display: Archivo, "Arial Black", system-ui, sans-serif;
  --body: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 82px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(27px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.01em; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 700; }
a { color: var(--accent-soft); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--hi); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(20px, 5%, env(safe-area-inset-left, 0px));
  padding-right: max(20px, 5%, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--hi); color: var(--ink); padding: 10px 14px; z-index: 20; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  background: var(--accent); color: var(--ground);
  font-family: var(--display); font-weight: 800; font-stretch: 125%;
  font-size: 17px; line-height: 1.1;
  padding: 18px 28px; border: 0; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: #FF8236; color: var(--ground); transform: translateY(-1px); }
.btn-small { font-family: var(--body); font-stretch: 100%; font-weight: 700; font-size: 15px; padding: 12px 18px; }
.btn-dark { background: var(--ground); color: #FFFFFF; width: 100%; }
.btn-dark:hover { background: #000000; color: #FFFFFF; }
.text-link { font-weight: 700; color: var(--text); padding: 12px 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--ground) 94%, transparent); border-bottom: 1px solid var(--line); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 18px; color: var(--text); text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 24px; }
nav a:not(.btn) { font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; padding: 12px 0; }
nav a:not(.btn):hover { color: var(--accent-soft); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 64px); padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 92px); }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sheet-holder { flex: 1 1 360px; min-width: 0; padding: 10px 14px 18px 4px; scroll-margin-top: 90px; }

/* The estimate sheet */
.sheet {
  background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 15px;
  padding: 28px 26px 24px;
  transform: rotate(2deg);
  box-shadow: 14px 14px 0 var(--shadow);
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 3px solid var(--ink); padding-bottom: 14px; }
.sheet-title { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 26px; letter-spacing: 0.03em; line-height: 1; }
.sheet-sub { font-size: 12px; margin-top: 6px; }
.sheet-meta { font-size: 12px; text-align: right; line-height: 1.6; }
.li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.li span:last-child { text-align: right; }
.li-head { font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom-color: var(--ink); }
.sheet-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; background: var(--hi); margin: 16px -10px 0; padding: 12px 10px; }
.sheet-total span { font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.sheet-total strong { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: clamp(40px, 4vw, 54px); line-height: 1; }
.sheet-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-top: 22px; }
.sig { flex: 1; min-width: 0; }
.sig-name { font-family: Caveat, "Bradley Hand", cursive; font-weight: 700; font-size: 34px; line-height: 1; color: var(--pen); }
.sig-line { border-top: 1px solid var(--ink); margin-top: 4px; padding-top: 5px; font-size: 11px; }
.stamp { flex: none; border: 3px solid var(--stamp); color: var(--stamp); padding: 7px 10px; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-align: center; line-height: 1.35; transform: rotate(-9deg); }

/* Sections */
section { scroll-margin-top: 80px; }
.steps, .work, .about { padding-bottom: clamp(56px, 7vw, 88px); }
.steps h2, .work h2 { margin-top: 10px; }
.step-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step-list li { background: var(--ground-2); border: 1px solid var(--line); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--ground); background: var(--accent); width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.step-list p { color: var(--muted); font-size: 16px; }

.job-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.job { background: var(--ground-2); border: 1px solid var(--line); display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
a.job:hover { border-color: var(--accent); color: var(--text); }
.job-shot { aspect-ratio: 16 / 10; background: var(--ground-3); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: #B5B3AE; text-align: center; padding: 12px; overflow: hidden; }
.job-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.job-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; font-weight: 700; font-size: 15px; }
.job-cap span:last-child { font-family: var(--mono); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-soft); text-align: right; }

.job-note { padding: 0 16px 16px; font-size: 15px; color: var(--muted); }
.job-shot { border-bottom: 1px solid var(--line); }

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.about > div:last-child { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; max-width: 44em; }
.about p { color: var(--muted); }
.about-photo { flex: none; width: 120px; height: 120px; border-radius: 50%; background: var(--ground-3); border: 3px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 30px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact { background: var(--accent); color: var(--ground); padding: clamp(44px, 6vw, 72px) 0; }
.contact-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: flex-start; }
.contact-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-copy p { font-size: 18px; font-weight: 500; }
.contact-direct { font-family: var(--mono); font-size: 14px !important; overflow-wrap: anywhere; }
.contact a { color: var(--ground); }
.contact a:hover { color: #000000; }
.quote-form { flex: 1.3 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 30px); box-shadow: 10px 10px 0 var(--ground); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
label { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
input, select, textarea {
  width: 100%; min-height: 48px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #FFFFFF; border: 2px solid var(--ink); border-radius: 0;
  padding: 11px 12px;
}
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--stamp); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 10px; font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form-status.err { color: var(--stamp); }
.form-status a { color: var(--pen); }

.site-footer { border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 620px) {
  nav { gap: 16px; }
  nav a:not(.btn) { display: none; }
  .quote-form { grid-template-columns: minmax(0, 1fr); box-shadow: 6px 6px 0 var(--ground); }
  .sheet { padding: 22px 18px 20px; font-size: 14px; box-shadow: 9px 9px 0 var(--shadow); }
  .sheet-holder { padding: 6px 12px 14px 2px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
