/* Brand: thorsonrestoration.live — Thorson Restoration, Plymouth MA
   Namespace tho32. Tokens only: var(--dna-*). Stamp blk- → tho32-. */

:root { --maxw: 1120px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dna-bg, #f6f1ea);
  color: var(--dna-ink, #1f1a16);
  font-family: 'Mulish', sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 800; color: var(--dna-accent, #8b5a32);
}
h1, h2, h3, .brand-name { font-family: 'DM Serif Display', serif; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14.5px; border-radius: var(--btn-radius, 8px);
  padding: 13px 22px; text-decoration: none; border: 0; cursor: pointer;
}
.btn-solid { background: var(--dna-accent, #8b5a32); color: var(--dna-accent-ink, #fff); }
.btn-ghost {
  background: transparent; color: var(--dna-ink, #1f1a16);
  border: 1px solid var(--dna-line, #e2d6c8);
}
[data-reveal] { opacity: 0; transform: translateY(12px); transition: .45s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---- header: timber beam (split) ---- */
.tho32-beam {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--dna-surface, #fff) 92%, transparent);
  border-bottom: 3px solid var(--dna-accent, #8b5a32);
  backdrop-filter: blur(8px);
}
.tho32-beam-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 28px;
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center;
}
.tho32-mark { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.tho32-stud {
  width: 36px; height: 36px; border-radius: 4px;
  background: var(--dna-accent, #8b5a32); color: #fff;
  display: grid; place-items: center;
}
.tho32-stud svg { width: 20px; height: 20px; }
.tho32-mark b { display: block; font-size: 16px; line-height: 1.1; }
.tho32-mark small { color: var(--dna-ink-soft, #6b5c4e); font-size: 12px; }
.tho32-nav { display: flex; gap: 22px; justify-content: flex-end; font-size: 14.5px; font-weight: 600; }
.tho32-nav a { text-decoration: none; color: var(--dna-ink-soft, #6b5c4e); }
.tho32-nav a.active, .tho32-nav a:hover { color: var(--dna-ink, #1f1a16); }
.tho32-beam-cta { justify-self: end; }
.tho32-burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--dna-line, #e2d6c8);
  background: var(--dna-surface, #fff); border-radius: 8px; cursor: pointer;
}
.tho32-burger span { display: block; height: 2px; margin: 5px 10px; background: var(--dna-ink, #1f1a16); }
.tho32-sheet {
  display: none; flex-direction: column; padding: 8px 28px 18px; gap: 10px;
  border-top: 1px solid var(--dna-line, #e2d6c8);
}
.tho32-sheet a { text-decoration: none; font-weight: 600; padding: 8px 0; }
.tho32-sheet.open { display: flex; }

/* ---- overlay hero (stamped) ---- */
.tho32-hero-overlay {
  position: relative; min-height: 560px; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--dna-ink, #1f1a16);
}
.tho32-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}
.tho32-hero-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(31,26,22,.72) 0%, rgba(31,26,22,.18) 58%, transparent 100%);
}
.tho32-hero-overlay .wrap { position: relative; z-index: 2; padding: 54px 28px; width: 100%; }
.tho32-hero-overlay .card {
  background: var(--dna-surface, #fff); border-radius: 4px; padding: 32px;
  max-width: 520px; box-shadow: 0 30px 70px -28px rgba(0,0,0,.55);
  border-left: 6px solid var(--dna-accent, #8b5a32);
}
.tho32-hero-overlay h1 { font-size: 38px; line-height: 1.08; letter-spacing: -.015em; margin: 12px 0; }
.tho32-hero-overlay .sub { font-size: 16px; color: var(--dna-ink-soft, #6b5c4e); }
.tho32-hero-overlay .cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ---- services cards ---- */
.tho32-svc { background: var(--dna-bg, #f6f1ea); padding: 84px 0; }
.tho32-svc .head { max-width: 560px; margin-bottom: 40px; }
.tho32-svc .head h2 { font-size: 34px; line-height: 1.1; margin: 10px 0 8px; }
.tho32-svc .head p { color: var(--dna-ink-soft, #6b5c4e); }
.tho32-svc-cards .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tho32-svc-cards .card {
  background: var(--dna-surface, #fff); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 26px;
}
.tho32-svc-cards .card:hover { border-color: var(--dna-accent, #8b5a32); }
.tho32-svc-cards .ic {
  width: 46px; height: 46px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--dna-accent) 14%, transparent); color: var(--dna-accent, #8b5a32); margin-bottom: 16px;
}
.tho32-svc-cards h3 { font-size: 19px; margin-bottom: 8px; }
.tho32-svc-cards p { font-size: 14.5px; color: var(--dna-ink-soft, #6b5c4e); }

/* ---- about statsled ---- */
.tho32-about { background: var(--dna-surface-2, #efe6db); padding: 84px 0; text-align: center; }
.tho32-about .wrap { max-width: 880px; }
.tho32-about h2 { font-size: 36px; line-height: 1.1; margin: 12px auto 14px; }
.tho32-about > .wrap > p { color: var(--dna-ink-soft, #6b5c4e); font-size: 17px; max-width: 620px; margin: 0 auto; }
.tho32-about .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.tho32-about .stat {
  background: var(--dna-surface, #fff); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 26px 14px;
}
.tho32-about .stat b { display: block; font-size: 34px; color: var(--dna-accent, #8b5a32); }
.tho32-about .stat span { font-size: 13.5px; color: var(--dna-ink-soft, #6b5c4e); }

/* ---- trust featuretiles ---- */
.tho32-trust { background: var(--dna-bg, #f6f1ea); padding: 64px 0; }
.tho32-trust .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tho32-trust .tile {
  background: var(--dna-surface-2, #efe6db); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 26px;
}
.tho32-trust .ic {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--dna-surface, #fff); border: 1px solid var(--dna-line, #e2d6c8);
  color: var(--dna-accent, #8b5a32); margin-bottom: 16px;
}
.tho32-trust h3 { font-size: 18px; margin-bottom: 8px; }
.tho32-trust p { font-size: 14.5px; color: var(--dna-ink-soft, #6b5c4e); }

/* ---- process zigzag ---- */
.tho32-proc { background: var(--dna-surface-2, #efe6db); padding: 84px 0; }
.tho32-proc .head { max-width: 560px; margin-bottom: 44px; }
.tho32-proc .head h2 { font-size: 34px; line-height: 1.1; margin: 10px 0 8px; }
.tho32-proc .head p { color: var(--dna-ink-soft, #6b5c4e); }
.tho32-proc-zigzag .step { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 26px 0; }
.tho32-proc-zigzag .step:nth-child(even) .vis { order: -1; }
.tho32-proc-zigzag .vis {
  min-height: 180px; border-radius: 4px;
  background: linear-gradient(150deg, var(--dna-surface, #fff), var(--dna-accent-2, #c48a4a));
  border: 1px solid var(--dna-line, #e2d6c8); position: relative; overflow: hidden;
}
.tho32-proc-zigzag .vis img { width: 100%; height: 180px; object-fit: cover; }
.tho32-proc-zigzag .vis b {
  position: absolute; left: 20px; top: 16px; font-size: 44px; font-weight: 800;
  color: var(--dna-accent, #8b5a32); opacity: .55;
}
.tho32-proc-zigzag h3 { font-size: 22px; margin-bottom: 8px; }
.tho32-proc-zigzag p { font-size: 15px; color: var(--dna-ink-soft, #6b5c4e); max-width: 460px; }

/* ---- cta band ---- */
.tho32-cta { padding: 76px 0; }
.tho32-cta-band {
  background: linear-gradient(120deg, var(--dna-accent, #8b5a32), var(--dna-accent-2, #c48a4a));
  color: #fff;
}
.tho32-cta-band .wrap { text-align: center; max-width: 720px; }
.tho32-cta-band h2 { font-size: 36px; line-height: 1.12; margin-bottom: 12px; }
.tho32-cta-band p { font-size: 17px; opacity: .92; margin-bottom: 26px; }
.tho32-cta-band .btn-solid { background: #fff; color: var(--dna-ink, #1f1a16); }

/* ---- author sections ---- */
.tho32-faq { padding: 84px 0; background: var(--dna-surface, #fff); }
.tho32-faq .head { max-width: 560px; margin-bottom: 32px; }
.tho32-faq .head h2 { font-size: 34px; margin: 10px 0 8px; }
.tho32-faq .list { display: grid; gap: 0; border-top: 1px solid var(--dna-line, #e2d6c8); }
.tho32-faq .item { border-bottom: 1px solid var(--dna-line, #e2d6c8); }
.tho32-faq button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 0; font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px;
}
.tho32-faq .item p { display: none; margin: 0 0 18px; color: var(--dna-ink-soft, #6b5c4e); max-width: 640px; }
.tho32-faq .item.open p { display: block; }
.tho32-faq .item.open button { color: var(--dna-accent, #8b5a32); }

.tho32-approach { padding: 84px 0; background: var(--dna-bg, #f6f1ea); }
.tho32-ledger {
  display: grid; gap: 0; border: 1px solid var(--dna-line, #e2d6c8); border-radius: 4px;
  overflow: hidden; background: var(--dna-surface, #fff);
}
.tho32-ledger li {
  list-style: none; display: grid; grid-template-columns: 88px 1fr; gap: 18px;
  padding: 22px 24px; border-bottom: 1px solid var(--dna-line, #e2d6c8);
}
.tho32-ledger li:last-child { border-bottom: 0; }
.tho32-ledger .tag {
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dna-accent, #8b5a32);
}
.tho32-approach h2 { font-size: 34px; margin: 10px 0 12px; }
.tho32-approach .intro { color: var(--dna-ink-soft, #6b5c4e); max-width: 560px; margin-bottom: 32px; }

.tho32-compare { padding: 84px 0; background: var(--dna-surface-2, #efe6db); }
.tho32-compare h2 { font-size: 34px; margin: 10px 0 12px; }
.tho32-compare .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.tho32-compare .col {
  background: var(--dna-surface, #fff); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 28px;
}
.tho32-compare .col.no { opacity: .78; }
.tho32-compare .col h3 { margin: 0 0 10px; }
.tho32-compare .col p { color: var(--dna-ink-soft, #6b5c4e); margin: 0; }

.tho32-figures { padding: 72px 0; background: var(--dna-ink, #1f1a16); color: #fff; }
.tho32-figures h2 { font-size: 32px; margin: 10px 0 28px; }
.tho32-figures .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tho32-figures b { display: block; font-size: 40px; color: var(--dna-accent-2, #c48a4a); }
.tho32-figures span { font-size: 14px; opacity: .8; }

.tho32-cases { padding: 84px 0; background: var(--dna-surface-2, #efe6db); }
.tho32-cases h2 { font-size: 34px; margin: 10px 0 24px; }
.tho32-cases .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tho32-cases .col {
  background: var(--dna-surface, #fff); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 28px;
}
.tho32-cases .col h3 { margin: 0 0 10px; }
.tho32-cases .col p { color: var(--dna-ink-soft, #6b5c4e); margin: 0; }
.tho32-crew { padding: 84px 0; background: var(--dna-surface, #fff); }
.tho32-crew .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.tho32-crew img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; }
.tho32-crew h2 { font-size: 34px; margin: 10px 0 12px; }
.tho32-crew p { color: var(--dna-ink-soft, #6b5c4e); }

.tho32-lanes { padding: 84px 0; background: var(--dna-bg, #f6f1ea); }
.tho32-lanes h2 { font-size: 34px; margin: 10px 0 24px; }
.tho32-lanes .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tho32-lanes .col {
  background: var(--dna-surface, #fff); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 28px;
}
.tho32-lanes .col.no { opacity: .78; }
.tho32-lanes .col h3 { margin: 0 0 10px; }
.tho32-lanes .col p { color: var(--dna-ink-soft, #6b5c4e); margin: 0; }
.tho32-notes { padding: 84px 0; background: var(--dna-surface-2, #efe6db); }
.tho32-notes h2 { font-size: 34px; margin: 10px 0 24px; }
.tho32-notes .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tho32-notes .col {
  background: var(--dna-surface, #fff); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 28px;
}
.tho32-notes .col h3 { margin: 0 0 10px; }
.tho32-notes .col p { color: var(--dna-ink-soft, #6b5c4e); margin: 0; }
.tho32-pagehead { padding: 56px 0 12px; }
.tho32-pagehead h1 { font-size: 40px; line-height: 1.1; margin: 10px 0; }
.tho32-pagehead p { color: var(--dna-ink-soft, #6b5c4e); max-width: 560px; }
.tho32-prose { max-width: 680px; padding: 20px 0 80px; }
.tho32-prose h2 { font-size: 24px; margin: 28px 0 8px; }
.tho32-prose p { color: var(--dna-ink-soft, #6b5c4e); }
.tho32-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 0; }
.tho32-shots img { width: 100%; height: 240px; object-fit: cover; border-radius: 4px; }
.tho32-shots-sec { padding: 84px 0; background: var(--dna-surface, #fff); }
.tho32-shots-sec h2 { font-size: 34px; margin: 10px 0 12px; }
.tho32-shots-sec .intro { color: var(--dna-ink-soft, #6b5c4e); max-width: 560px; }

/* ---- booking stud rail (timeline) ---- */
.tho32-rail {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px;
  background: var(--dna-surface, #fff); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 28px;
}
.tho32-ticks { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--dna-line, #e2d6c8); }
.tho32-ticks li {
  position: relative; padding: 0 0 28px 22px; font-size: 13px; color: var(--dna-ink-soft, #6b5c4e);
}
.tho32-ticks li span {
  position: absolute; left: -13px; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--dna-surface, #fff); border: 2px solid var(--dna-line, #e2d6c8);
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.tho32-ticks li.is-now { color: var(--dna-ink, #1f1a16); font-weight: 700; }
.tho32-ticks li.is-now span { border-color: var(--dna-accent, #8b5a32); background: var(--dna-accent, #8b5a32); color: #fff; }
.tho32-rail-body h2 { font-size: 26px; margin: 8px 0 8px; }
.tho32-rail-body p { color: var(--dna-ink-soft, #6b5c4e); margin: 0 0 18px; }
.tho32-jobs { display: grid; gap: 8px; margin-bottom: 18px; }
.tho32-jobs button {
  text-align: left; border: 1px solid var(--dna-line, #e2d6c8); background: var(--dna-surface-2, #efe6db);
  padding: 10px 14px; border-radius: 4px; cursor: pointer; display: flex; justify-content: space-between;
}
.tho32-jobs button.is-on { border-color: var(--dna-accent, #8b5a32); background: color-mix(in srgb, var(--dna-accent) 12%, #fff); }
.tho32-jobs small { color: var(--dna-ink-soft, #6b5c4e); }
.tho32-rail form label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.tho32-rail input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; background: var(--dna-bg, #f6f1ea);
}
.tho32-err { display: none; color: #9b2c2c; font-size: 13px; }
.tho32-err.show { display: block; }
.tho32-acts { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.tho32-thanks { padding: 8px 0; }

.contact-page { padding: 24px 0 80px; }
[data-contact-info] {
  background: var(--dna-surface-2, #efe6db); border: 1px solid var(--dna-line, #e2d6c8);
  border-radius: 4px; padding: 22px; margin-bottom: 22px;
}
[data-contact-info] h3 { margin: 0 0 8px; }
[data-contact-info] p { margin: 4px 0; color: var(--dna-ink-soft, #6b5c4e); }
[data-contact-info] a { color: var(--dna-accent, #8b5a32); }

/* ---- footer columns ---- */
.tho32-cols {
  background: var(--dna-ink, #1f1a16); color: #efe6db; padding: 48px 0 28px;
}
.tho32-cols-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.tho32-cols a { color: #efe6db; text-decoration: none; }
.tho32-cols nav { display: flex; flex-direction: column; gap: 8px; }
.tho32-cols .fine { margin-top: 28px; font-size: 13px; opacity: .7; }

.dna-ic svg { width: 22px; height: 22px; display: block; }

@media (max-width: 860px) {
  .tho32-beam-inner { grid-template-columns: 1fr auto; }
  .tho32-nav, .tho32-beam-cta { display: none; }
  .tho32-burger { display: block; justify-self: end; }
  .tho32-hero-overlay h1 { font-size: 30px; }
  .tho32-svc-cards .grid, .tho32-about .stats, .tho32-trust .tiles,
  .tho32-compare .pair, .tho32-figures .row, .tho32-crew .grid,
  .tho32-proc-zigzag .step, .tho32-cols-grid, .tho32-rail, .tho32-shots,
  .tho32-cases .pair, .tho32-lanes .pair, .tho32-notes .pair {
    grid-template-columns: 1fr;
  }
  .tho32-proc-zigzag .step:nth-child(even) .vis { order: 0; }
  .tho32-about .stats { grid-template-columns: 1fr 1fr; }
}
