/* Dawson Field & Form */
/* Geist + Geist Mono (SIL OFL), self-hosted latin subset, variable weight */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --ink: #141413;
  --ink-2: #3b3a37;
  --muted: #6c6a64;
  --line: #d6d2c8;
  --accent: #1e4a36;      /* field green */
  --accent-ink: #f3f1ec;
  --radius: 14px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Intentional placeholders */
mark.ph { background: #fff3b0; color: #4a3b00; border: 1px dashed #c9a400; border-radius: 4px; padding: 1px 6px; font-family: var(--mono); font-size: .78em; letter-spacing: 0; white-space: nowrap; }

/* Labels */
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow-light { color: #a9b7ae; }
.tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 99px; padding: 3px 10px; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 99px; font: 500 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #163a2a; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2c2b29; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 236, .86); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.mark-glyph { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.mark-glyph::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--paper); }
.mark-name { font-weight: 600; font-size: 16px; letter-spacing: -.01em; margin: 0; }
.mark-name span { font-weight: 400; color: var(--muted); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); letter-spacing: -0.04em; line-height: 1.0; margin-bottom: 30px; }
.hero h1 .soft { color: var(--accent); }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 36em; }
.lede-strong { color: var(--ink); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.promises { list-style: none; margin: clamp(56px, 8vw, 104px) 0 0; padding: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises li { font-size: 15.5px; color: var(--ink-2); padding-left: 44px; position: relative; }
.promises strong { color: var(--ink); font-weight: 600; }
.num { font-family: var(--mono); font-size: 12px; color: var(--accent); position: absolute; left: 0; top: 3px; }

/* Hero estimator example */
.est { margin: 0; justify-self: end; width: min(100%, 440px); }
.est-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }
.est-head .tag { color: var(--accent); font-size: 10.5px; padding: 2px 9px; }
.est-head-t { font-weight: 500; }
.est-stage { position: relative; }
.est-who { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.est-card + .est-who { margin-top: 18px; }
.est-inbox { display: grid; }
.est-inbox > * { grid-area: 1 / 1; }
.est-wait { margin: 0; border: 1px dashed #c8c3b7; border-radius: 16px; display: flex; align-items: center; padding: 0 18px; color: var(--muted); font-size: 14.5px; transition: opacity .5s var(--ease); }
.est-stage[data-scene="3"] .est-wait { opacity: 0; }
.est-card { background: #fbfaf7; border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 28px; box-shadow: 0 40px 80px -48px rgba(20, 20, 19, .45); }
.est-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.est-steps { display: flex; gap: 6px; }
.est-steps i { width: 22px; height: 3px; border-radius: 2px; background: var(--line); transition: background-color .5s var(--ease); }
.est-stage[data-scene="0"] .est-steps i:nth-child(1),
.est-stage[data-scene="1"] .est-steps i:nth-child(-n+2),
.est-stage[data-scene="2"] .est-steps i,
.est-stage[data-scene="3"] .est-steps i { background: var(--accent); }
.est-scenes { display: grid; min-height: 232px; }
.est-scene { grid-area: 1 / 1; padding-top: 24px; opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s; visibility: hidden; }
.est-stage[data-scene="0"] .est-scene[data-n="0"],
.est-stage[data-scene="1"] .est-scene[data-n="1"],
.est-stage[data-scene="2"] .est-scene[data-n="2"],
.est-stage[data-scene="3"] .est-scene[data-n="2"] { opacity: 1; transform: none; visibility: visible; }
.est-q { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 18px; }
.est-opts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-opts-col { grid-template-columns: 1fr; }
.est-opts li { cursor: default; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; font-size: 15px; background: var(--paper); transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
/* the pick lights up partway through its scene */
.est-stage[data-scene="0"] .est-scene[data-n="0"] .pick,
.est-stage[data-scene="1"] .est-scene[data-n="1"] .pick { border-color: var(--accent); background: #e4ebe6; color: var(--accent); font-weight: 500; transition-delay: .9s; }
.est-price { font-size: 44px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 10px; }
.est-price span { font-size: 20px; color: var(--muted); font-weight: 400; letter-spacing: 0; padding: 0 4px; }
.est-small { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.est-send { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 15px; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.est-stage[data-scene="3"] .est-send { background: var(--accent); transform: scale(.97); }
.est-text { background: var(--ink); color: #ecebe6; border-radius: 16px; padding: 14px 18px 16px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 24px 50px -24px rgba(20, 20, 19, .6); opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.est-text p { margin: 0; }
.est-text strong { color: #fff; font-weight: 600; }
.est-text .est-text-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9a9890; margin-bottom: 6px; }
.est-stage[data-scene="3"] .est-text { opacity: 1; transform: none; }
.est-cap { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.est-toggle { margin-left: auto; flex: none; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: none; border: 0; color: var(--muted); cursor: pointer; min-height: 44px; min-width: 44px; padding: 0 4px; text-decoration: underline; text-underline-offset: 3px; }
.est-toggle:hover { color: var(--ink); }

/* Load-in motion */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-tint { background: var(--paper-2); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2, .about-head h2, .contact-copy h2 { font-size: clamp(32px, 4.2vw, 56px); }
.sec-sub { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 40em; }
.sec-sub strong { color: var(--ink); font-weight: 600; }
.sec-split { display: grid; grid-template-columns: minmax(0, .28fr) minmax(0, 1fr); gap: 0 40px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-split > * { grid-column: 2; }
.sec-split .eyebrow { grid-column: 1; grid-row: 1; padding-top: 14px; }
.sec-split h2 { font-size: clamp(32px, 4.2vw, 56px); max-width: 15em; }

/* What I build: editorial rows */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; padding: 36px 0 40px; border-bottom: 1px solid var(--line); align-items: baseline; }
.row-num { font-family: var(--mono); font-size: 13px; color: var(--accent); margin: 0; }
.row h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.row-body p { color: var(--ink-2); max-width: 36em; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 28px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 40px; }
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { font-size: 16px; color: var(--ink-2); }

/* Guarantee */
.guarantee { background: var(--accent); color: var(--accent-ink); padding: clamp(80px, 11vw, 150px) 0; }
.g-grid { display: grid; grid-template-columns: minmax(0, .28fr) minmax(0, 1fr); gap: 40px; }
.guarantee h2 { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -0.03em; line-height: 1.12; max-width: 20em; }
.g-fine { margin-top: 30px; color: #c4d1c8; font-size: 16px; max-width: 38em; }

/* Work */
.case { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.case + .case { margin-top: clamp(72px, 10vw, 136px); }
.case-flip .case-media { order: 2; }
.case-media { position: relative; padding: 0 0 12% 0; }
.case-main { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(20, 20, 19, .55); position: relative; z-index: 1; }
.case-inset { position: absolute; z-index: 2; width: 38%; right: -3%; bottom: 0; border-radius: 10px; border: 4px solid var(--paper); box-shadow: 0 20px 40px -20px rgba(20, 20, 19, .5); }
.case-flip .case-inset { right: auto; left: -3%; }
.case-copy .tag { color: var(--accent); margin-bottom: 22px; }
.case-copy h3 { font-size: clamp(26px, 2.6vw, 34px); }
.case-where { color: var(--muted); margin: 10px 0 22px; font-size: 15.5px; }
.case-list { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
.case-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.case-list strong { color: var(--ink); font-weight: 600; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link-arrow:hover { color: var(--accent); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.about-head h2 { margin-bottom: 32px; max-width: 12em; }
.about-photo { margin: 0; width: 260px; }
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.about-copy { padding-top: clamp(0px, 4vw, 52px); }
.about-copy > p { color: var(--ink-2); max-width: 34em; font-size: 18px; }
.facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; font-size: 15.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.big-phone { display: inline-block; margin-top: 32px; font-size: clamp(40px, 5.4vw, 72px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
.big-phone:hover { color: var(--accent); }
.contact-alt { margin-top: 26px; color: var(--muted); font-size: 15.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.contact-alt a { color: var(--ink); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; background: #fbfaf7; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #8f8b82; border-radius: 10px; padding: 13px 14px; min-height: 50px; width: 100%; transition: border-color .2s; }
.field input:hover, .field select:hover { border-color: #b9b4a8; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30, 74, 54, .15); }
.field.bad input { border-color: #a3341f; }
.field .err { color: #a3341f; font-size: 13.5px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.form-status { font-size: 15px; margin: 0; color: var(--ink-2); flex: 1 1 240px; }
.form-status a { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0; font-size: 14.5px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: center; }
.foot-in p { margin: 0; }
.foot a { color: var(--ink); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.foot-small { margin-left: auto !important; }

/* Reveal on view: only hidden once main.js has the observer running */
.reveal-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-on .reveal.in, .reveal-on .reveal:focus-within { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .nav-wide { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .row { grid-template-columns: 56px minmax(0, 1fr); gap: 12px 20px; }
  .row-body { grid-column: 2; }
}
@media (max-width: 860px) {
  .hero-grid, .case, .about-grid, .contact-grid, .g-grid, .sec-split { grid-template-columns: 1fr; }
  .sec-split > *, .sec-split .eyebrow { grid-column: 1; grid-row: auto; padding-top: 0; }
  .case-media, .case-flip .case-media { order: 2; }
  .est { justify-self: stretch; width: 100%; max-width: 480px; }
  .promises { grid-template-columns: 1fr; gap: 16px; }
  .g-grid { gap: 0; }
  .about-copy { padding-top: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hide-s { display: none; }
  .mark-name { font-size: 15px; }
  .top-in { height: auto; min-height: 64px; gap: 0 12px; flex-wrap: wrap; padding-top: 10px; }
  .nav { order: 3; width: 100%; gap: 22px; border-top: 1px solid var(--line); margin-top: 10px; }
  .nav a { font-size: 14.5px; min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
  html { scroll-padding-top: 124px; }
  .nav a.nav-wide { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .step-n { margin-bottom: 14px; }
  .row { grid-template-columns: 1fr; padding: 26px 0 30px; }
  .row-body { grid-column: 1; }
  .cta-row .btn { width: 100%; }
  .est-card { padding: 22px 20px 24px; }
  .case-inset { width: 42%; right: 0; }
  .case-flip .case-inset { left: 0; }
  .form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
  .facts dt { margin: 0; align-self: center; }
  .foot-small { margin-left: 0 !important; }
  .about-photo { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; animation: none; }
  .est-scene, .est-text, .est-opts li, .est-steps i, .est-send { transition: none; }
}
.form-msg { display: block; margin-top: 8px; padding: 10px 12px; background: var(--paper); border-radius: 8px; font-size: 14px; color: var(--ink); quotes: none; user-select: all; }
