/* TheWebSnagger landing page. One file, no dependencies.
   Look: warm paper, navy ink and orange accents from the bricks + cursor
   logo (operator, 2026-10-24), a narrow single column on a phone.
   Deliberately unlike the per-lead demos (navy/white/gold cards with
   rounded buttons): here it's square edges, serif headings, hairlines. */

:root {
  --paper: #f7f3ec;
  --paper-tint: #efe8dc;
  --card: #fffdf8;
  --ink: #18222c;
  --ink-soft: #4b5661;
  --line: #d8d0c2;
  --line-dark: #3a4754;
  --navy: #13212e;
  --navy-dark: #0b141c;
  --orange: #c94a12; /* the logo's #f0591c, darkened so it passes contrast as text */
  --orange-dark: #a33a0c;
  --footer: #0f1a24;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 7vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 4.5vw, 2.15rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 16px;
}
.skip:focus { left: 8px; top: 8px; }

/* [hidden] must win over component rules like .form { display: grid } further down
   this file, which would otherwise override it. The closing bracket matters: without
   it the rule is invalid CSS and the browser silently drops it. */
body [hidden]:not([hidden="until-found"]) { display: none !important; }

/* ---------- top bar: a hairline, not a shadow ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 68rem; margin: 0 auto; padding: 0 20px;
  min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  font-family: var(--serif); font-size: 1.22rem; font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: -0.015em;
  display: inline-flex; align-items: center; gap: 10px;
}
.wordmark-dot { color: var(--orange); }
.logo { display: block; height: 40px; width: auto; }
.logo-foot { display: block; height: 52px; width: auto; margin-bottom: 12px; }
.mark {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid var(--line);
}
/* hidden until the JS confirms the file loaded: a broken-image icon in the
   header looks worse than no photo at all */
.mark { display: none; }
.mark.is-loaded { display: block; }
.top-links { display: flex; gap: 20px; }
.top-links a {
  font-size: .9rem; color: var(--ink-soft); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.top-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.top-links a:last-child { color: var(--navy); font-weight: 600; }

/* ---------- buttons: square, no pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px;
  font: inherit; font-size: 1rem; font-weight: 600;
  border: 1px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer;
}
.btn-big { padding: 16px 26px; font-size: 1.05rem; }
.btn-wide { width: 100%; }
.btn-solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-solid:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-link {
  padding: 16px 0 16px 4px;
  color: var(--navy); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner {
  max-width: 68rem; margin: 0 auto; padding: 36px 20px 44px;
  display: grid; gap: 32px;
}
.kicker {
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px;
}
.hero h1 { max-width: 20ch; }
.hero-lede {
  font-size: 1.1rem; color: var(--ink-soft);
  max-width: var(--measure); margin: 0 0 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 14px; }
.hero-note { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.hero-price {
  margin: 22px 0 0; max-width: var(--measure);
  padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.hero-price strong { color: var(--ink); font-weight: 600; }

/* Portrait. If the file is missing the JS hides the whole slot. */
.portrait { margin: 0; max-width: 22rem; }
.portrait img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border: 1px solid var(--line); background: var(--paper-tint);
  filter: saturate(.92);
}
.portrait figcaption {
  margin-top: 10px; font-size: .88rem; color: var(--ink-soft);
  padding-left: 14px; border-left: 2px solid var(--orange);
}

/* ---------- generic blocks ---------- */
.block { border-bottom: 1px solid var(--line); }
.block-inner { max-width: 68rem; margin: 0 auto; padding: 52px 20px; }
.block-tint { background: var(--paper-tint); }
.block-dark { background: var(--navy); color: #eef0e9; border-bottom: 0; }
.block-dark h2 { color: #fff; }

/* ---------- before and after ---------- */
.work-lede { color: var(--ink-soft); max-width: var(--measure); margin-bottom: 28px; }
.ba { display: grid; gap: 30px; }
.ba-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 30rem; }
.ba-shot { margin: 0; }
.ba-shot img {
  width: 100%; height: auto; aspect-ratio: 555 / 1200; object-fit: cover; object-position: top;
  border: 1px solid var(--line-dark); background: #fff;
}
.ba-shot figcaption { margin-top: 8px; font-size: .88rem; color: var(--ink-soft); }
.ba-shot b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.ba-after img { border: 2px solid var(--orange); }
.fix-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 34rem; align-content: start; }
.fix-list li { padding-left: 20px; border-left: 2px solid var(--orange); color: var(--ink-soft); }
.fix-list strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.work-open { margin: 30px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }

/* ---------- what you get + price ---------- */
.price-grid { display: grid; gap: 32px; }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 38rem; }
.job-list li { padding-left: 20px; border-left: 2px solid var(--line); color: var(--ink-soft); }
.job-list strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  padding: 26px 24px;
  align-self: start;
}
.price-label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 4px; }
.price-figure { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; margin: 0 0 6px; color: var(--ink); }
.price-sub { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.price-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.price-fine { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- how it works ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; max-width: 44rem; }
.steps li { counter-increment: s; position: relative; padding: 22px 0 22px 58px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 22px;
  font-family: var(--serif); font-size: 1.35rem; color: var(--orange);
  width: 40px;
}
.steps h3 { margin-bottom: .25em; }
.step-tail { color: var(--ink-soft); margin: 0; max-width: 40rem; }

/* ---------- the note from Frankie: set as a letter ---------- */
.note-inner { display: grid; gap: 20px; }
.note-body { max-width: 38rem; }
.note-body p { font-size: 1.05rem; }
.note-body a { color: var(--navy); text-underline-offset: 3px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 30px; }
.contact-copy p { max-width: 30rem; }
.contact-email { font-family: var(--serif); font-size: clamp(1.3rem, 5vw, 1.75rem); margin: 22px 0 18px; }
.contact-email a { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.contact-fine { font-size: .9rem; color: #c5cfc6; }

.card { background: var(--card); color: var(--ink); padding: 24px 20px; border-radius: 2px; }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
label { font-size: .93rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-soft); }
input, textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: 12px 12px; border: 1px solid #b9b2a4; border-radius: 2px; background: #fff;
}
input:focus, textarea:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: -1px; }
textarea { resize: vertical; min-height: 4.5em; }
input[aria-invalid="true"] { border-color: #a3231a; outline-color: #a3231a; }
.err { color: #a3231a; font-size: .88rem; margin: 0; }
.form-status {
  border: 1px solid #a3231a; color: #7d1a13; background: #fbf0ee;
  padding: 10px 12px; font-size: .92rem; margin: 0;
}
.ns { font-size: .92rem; background: var(--paper-tint); padding: 12px; margin: 0; }

/* the confirmation is a card inside the card: it needs the card's own colours,
   or the heading (dark ink) disappears on the navy contact section */
.form-done {
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--orange);
  padding: 18px 18px 20px; display: grid; gap: 10px;
}
.form-done h3 { margin: 0; }
.form-done p { margin: 0; }
.done-mailto { color: var(--navy); }
.form-done .btn { justify-self: start; }

/* ---------- footer ---------- */
.foot { background: var(--footer); color: #cfd5cf; font-size: .94rem; }
.foot-inner {
  max-width: 68rem; margin: 0 auto; padding: 36px 20px;
  display: grid; gap: 24px;
}
.foot .wordmark { color: #fff; margin: 0 0 8px; }
/* in the footer there is no avatar, so no flex gap before the dot */
.foot .wordmark { display: inline-block; }
.foot-line { margin: 0 0 4px; }
.foot-line a { color: #fff; }
.foot-small { font-size: .86rem; color: #9fa8a0; }
.foot-todo {
  display: inline-block; margin: 0 0 8px;
  border: 1px dashed #8a948c; padding: 1px 8px;
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .card { padding: 30px; }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  body { font-size: 18px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
    gap: 56px;
    padding: 64px 20px 72px;
  }
  .block-inner { padding: 76px 20px; }
  .price-grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 64px; }
  .note-inner { grid-template-columns: 16rem minmax(0, 1fr); gap: 48px; }
  .note-inner h2 { margin-top: .1em; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) 26rem; gap: 64px; align-items: start; }
  .portrait { position: sticky; top: 92px; }
}

/* ---------- small phone ---------- */
@media (max-width: 479px) {
  .top-links a:not(:last-child) { display: none; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .btn-link { padding: 10px 0 0; justify-content: flex-start; text-align: left; }
  .portrait { max-width: none; }
  .portrait img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (min-width: 900px) {
  .ba { grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: 48px; align-items: start; }
}

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- privacy page ---------- */
.legal { max-width: 40rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* ---------- WhatsApp ---------- */
.contact-wa { margin: 22px 0 6px; }
.btn-wa { background: #25d366; color: #0b141c; border-color: #25d366; gap: 10px; }
.btn-wa:hover { background: #1ebe5a; border-color: #1ebe5a; }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; }
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
@media (min-width: 900px) { .wa-float { display: none; } }
