:root {
  --parchment: #f4efe6;
  --card: #fdfbf7;
  --charcoal: #1f1a17;
  --muted: #746b62;
  --rust: #b5532f;
  --accent: #e8473b;
  --gold: #f5c518;
  --gold-dark: #d3a300;
  --oak: #c58a57;
  --walnut: #5b3726;
  --line: rgba(96, 63, 40, 0.18);
  --shadow: 0 20px 60px rgba(70, 43, 25, 0.14), 0 4px 12px rgba(70, 43, 25, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--parchment);
  color: var(--charcoal);
  font-family: "DM Sans", system-ui, sans-serif;
  overflow-x: hidden;
  background-image: radial-gradient(rgba(94, 64, 40, 0.07) 0.55px, transparent 0.55px);
  background-size: 7px 7px;
}
a { color: inherit; }

.page-shell { width: 100%; }
.offer-card {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 58px clamp(18px, 4vw, 52px) 42px;
  overflow: hidden;
  background: var(--card);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
}
.wood-cap {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 13px;
  display: flex;
  gap: 16px;
  padding: 0 18px;
  overflow: hidden;
  background: linear-gradient(90deg, #6c3e25 0%, #a86d3d 11%, #6d4228 25%, #c28b54 37%, #74452b 55%, #b47b46 72%, #633a25 100%);
  box-shadow: inset 0 -2px rgba(42, 24, 14, 0.24), 0 3px 0 rgba(94, 55, 31, 0.08);
}
.wood-cap span { flex: 0 0 120px; border-radius: 50%; border-top: 1px solid rgba(36, 17, 8, 0.35); transform: translateY(4px) rotate(-2deg); }
.card-ruler {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 10px;
  z-index: -1;
  width: 10px;
  opacity: .32;
  background: repeating-linear-gradient(to bottom, var(--oak) 0 1px, transparent 1px 24px);
}
.card-ruler::after { content: ""; position: absolute; inset: 0 4px; border-right: 1px solid var(--oak); }
.blueprint { position: absolute; z-index: -1; pointer-events: none; opacity: .042; color: var(--walnut); }
.blueprint svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.blueprint-left { width: 220px; height: 270px; left: -34px; bottom: 20px; transform: rotate(-8deg); }
.blueprint-right { width: 220px; height: 270px; right: -30px; top: 80px; transform: rotate(7deg); }
.hero-copy { position: relative; z-index: 1; max-width: 820px; margin: 0 auto 28px; text-align: center; }
.kicker { margin: 0 0 12px; color: var(--rust); font-size: 11px; font-weight: 700; letter-spacing: .22em; }
h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(18px, 3.6vw, 46px);
  line-height: .98;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero-headline-red, .hero-headline-black { display: block; }
.hero-headline-red { color: var(--accent); text-shadow: 2px 2px 0 rgba(182, 67, 48, 0.12); }
.hero-headline-black { max-width: 1050px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; color: var(--charcoal); font-size: inherit; line-height: .96; letter-spacing: -.025em; }
.hero-subline { display: block; }
.hero-subline:last-child { white-space: nowrap; }

.showcase-wrap { position: relative; z-index: 1; }
.showcase-feature { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--walnut); box-shadow: 0 10px 28px rgba(57, 33, 21, .15); }
.showcase-feature img { display: block; width: 100%; height: auto; transition: transform 800ms cubic-bezier(.2,.72,.25,1); }
.showcase-feature:hover img { transform: scale(1.015); }
.showcase-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; overflow: hidden; border-radius: 14px; background: var(--walnut); box-shadow: 0 10px 28px rgba(57, 33, 21, .15); }
.project-tile { position: relative; aspect-ratio: 1.32 / 1; margin: 0; min-width: 0; overflow: hidden; background: #856046; }
.project-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(.2,.72,.25,1), filter 500ms ease; }
.project-tile:hover img { transform: scale(1.05); filter: saturate(1.06); }
.project-tile figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 9px 4px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: #fff; background: rgba(35, 23, 16, .54); font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .05em; opacity: 0; transform: translateY(5px); transition: opacity 250ms ease, transform 250ms ease; }
.project-tile:hover figcaption, .project-tile:focus-within figcaption { opacity: 1; transform: translateY(0); }
.grid-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(13, 11, 8, .06) 0%, rgba(13, 11, 8, .08) 34%, rgba(13, 11, 8, .73) 100%); }
.image-overlay { position: absolute; z-index: 2; left: 7%; right: 7%; bottom: 14%; margin: 0; color: #fff; font-family: Bangers, Impact, cursive; font-size: clamp(28px, 4vw, 54px); line-height: .98; letter-spacing: .025em; text-align: center; text-shadow: 0 3px 0 rgba(26, 14, 7, .76), 0 6px 15px rgba(26, 14, 7, .55); transform: rotate(-1deg); }
.showcase-tagline { margin: 16px 0 0; color: var(--rust); font-family: Anton, Impact, sans-serif; font-size: clamp(18px, 2vw, 25px); letter-spacing: .02em; text-align: center; text-transform: uppercase; }

.cta-block { position: relative; z-index: 1; max-width: 690px; margin: 27px auto 0; }
.survey-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; width: 100%; padding: 13px 48px 13px 28px; border: 0; border-radius: 10px; color: var(--charcoal); background: var(--gold); box-shadow: 0 6px 0 var(--gold-dark), 0 12px 22px rgba(170, 121, 0, .16); font-family: Anton, Impact, sans-serif; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.05; letter-spacing: .025em; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease; animation: cta-pulse 4.6s ease-in-out 1.2s infinite; }
.survey-cta:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 8px 0 var(--gold-dark), 0 16px 27px rgba(170, 121, 0, .21); }
.survey-cta:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--gold-dark), 0 6px 12px rgba(170, 121, 0, .16); }
.survey-cta:focus-visible { outline: 4px solid rgba(232, 71, 59, .38); outline-offset: 5px; }
.hand-icon { flex: 0 0 auto; font-family: Georgia, serif; font-size: 1.25em; line-height: .8; transform: rotate(-12deg); }
.cta-arrow { position: absolute; right: 20px; font-family: "DM Sans", sans-serif; font-size: 1.25em; font-weight: 500; }
.microcopy { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 17px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.5; }
.micro-item { display: inline-flex; align-items: center; gap: 5px; }
.check { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: #fff; background: var(--rust); font-size: 10px; font-weight: 700; }
.micro-dot { color: var(--rust); }

.process-band { position: relative; z-index: 3; width: min(1240px, calc(100% - 18px)); margin: -1px auto 0; padding: 37px 28px 35px; background: var(--rust); color: #fff9ef; box-shadow: 0 20px 42px rgba(75, 38, 21, .13); }
.process-band::before, .process-band::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14px; opacity: .3; background: repeating-linear-gradient(135deg, rgba(255,255,255,.5) 0 1px, transparent 1px 8px); }
.process-band::before { left: 0; } .process-band::after { right: 0; }
.process-inner { display: grid; grid-template-columns: 1fr 90px 1fr 90px 1.15fr; align-items: center; max-width: 1070px; margin: 0 auto; }
.step-card { display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; }
.step-badge { display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; border: 2px solid rgba(255, 239, 203, .6); border-radius: 48% 52% 48% 52%; color: #fffaf0; background: #9f4429; box-shadow: inset 3px 3px 0 rgba(76, 27, 14, .16), 2px 3px 0 rgba(76, 27, 14, .14); font-family: Bangers, Impact, cursive; font-size: 40px; line-height: 1; transform: rotate(-4deg); }
.step-card:nth-of-type(3) .step-badge { transform: rotate(4deg); }
.step-copy { display: flex; flex-direction: column; gap: 3px; max-width: 200px; font-size: 14px; font-weight: 600; line-height: 1.32; }
.step-label { color: #f9d09f; font-family: Anton, Impact, sans-serif; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.step-copy strong { color: var(--gold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.connector { display: flex; align-items: center; gap: 5px; color: #f0c28e; }
.connector span { flex: 1; border-top: 2px dashed rgba(255, 238, 204, .62); }
.connector b { font-size: 21px; font-weight: 500; }
.repeat-cta { width: min(690px, calc(100% - 50px)); margin: 34px auto 65px; }
.repeat-cta .survey-cta { font-size: clamp(18px, 2vw, 23px); }

@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes image-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cta-pulse { 0%, 78%, 100% { box-shadow: 0 6px 0 var(--gold-dark), 0 12px 22px rgba(170, 121, 0, .16); } 84% { box-shadow: 0 6px 0 var(--gold-dark), 0 12px 22px rgba(170, 121, 0, .16), 0 0 0 8px rgba(245, 197, 24, .13); } 90% { box-shadow: 0 6px 0 var(--gold-dark), 0 12px 22px rgba(170, 121, 0, .16), 0 0 0 14px rgba(245, 197, 24, 0); } }
.hero-copy { animation: rise-in 600ms cubic-bezier(.2,.7,.2,1) both; }
.showcase-wrap { animation: rise-in 620ms 120ms cubic-bezier(.2,.7,.2,1) both; }
.project-tile { animation: image-in 550ms cubic-bezier(.2,.7,.2,1) both; }
.project-tile:nth-child(1) { animation-delay: 180ms; } .project-tile:nth-child(2) { animation-delay: 240ms; } .project-tile:nth-child(3) { animation-delay: 300ms; } .project-tile:nth-child(4) { animation-delay: 360ms; } .project-tile:nth-child(5) { animation-delay: 420ms; } .project-tile:nth-child(6) { animation-delay: 480ms; } .project-tile:nth-child(7) { animation-delay: 540ms; } .project-tile:nth-child(8) { animation-delay: 600ms; }
.cta-block { animation: rise-in 600ms 650ms cubic-bezier(.2,.7,.2,1) both; }

@media (max-width: 820px) {
  .offer-card { width: min(100% - 20px, 680px); margin-top: 20px; padding: 48px 14px 30px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; }
  .project-tile { aspect-ratio: 1.25 / 1; }
  .project-tile figcaption { opacity: 1; transform: none; left: 7px; bottom: 7px; padding: 5px 7px 4px; font-size: 9px; }
  .image-overlay { bottom: 11%; font-size: clamp(27px, 6.6vw, 45px); }
  .process-band { width: 100%; padding: 30px 22px; }
  .process-inner { grid-template-columns: 1fr; gap: 17px; }
  .step-card { justify-content: flex-start; max-width: 430px; margin: 0 auto; width: 100%; }
  .step-copy { max-width: none; }
  .connector { width: 70%; max-width: 250px; margin: -3px auto; transform: rotate(90deg); }
  .repeat-cta { width: min(100% - 34px, 680px); margin-top: 28px; }
}
@media (max-width: 520px) {
  .desktop-break { display: none; }
  h1 { font-size: clamp(18px, 3.6vw, 46px); line-height: .96; }
  h1 { gap: 7px; }
  .hero-headline-black { margin: 0 auto; gap: 7px; font-size: inherit; line-height: .94; }
  .kicker { font-size: 9px; letter-spacing: .16em; }
  .showcase-tagline { font-size: 18px; }
  .survey-cta { min-height: 58px; padding: 12px 36px 12px 17px; font-size: 18px; }
  .hand-icon { font-size: 1.15em; }
  .cta-arrow { right: 12px; }
  .microcopy { gap: 5px 7px; font-size: 10.5px; }
  .micro-dot { display: none; }
  .process-band { padding: 27px 18px; }
  .step-badge { flex-basis: 54px; width: 54px; height: 54px; font-size: 34px; }
  .step-copy { font-size: 13px; }
  .step-label { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
