:root {
  --ink: #0b1f2a;
  --ink-soft: #183642;
  --paper: #f4f1e9;
  --white: #ffffff;
  --concrete: #d8d9d6;
  --muted: #637078;
  --orange: #f6a817;
  --orange-dark: #d98b00;
  --mint: #79ead3;
  --line: rgba(11, 31, 42, 0.13);
  --shadow: 0 24px 70px rgba(5, 23, 31, 0.18);
  --radius: 22px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--ink);
  font-family: var(--font);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button, input, select { font: inherit; }
a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  transform: skewX(-8deg);
}

.brand-mark span { transform: skewX(8deg); font-weight: 900; font-size: 14px; letter-spacing: -0.08em; }
.brand-name { font-weight: 500; font-size: 18px; }
.brand-name strong { font-weight: 900; }
.header-note { color: var(--muted); font-size: 13px; font-weight: 700; }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.8fr);
  grid-template-areas: "copy form" "photo form";
  gap: 24px 30px;
  align-items: start;
}

.hero-copy { grid-area: copy; padding: 34px 12px 0 0; }
.eyebrow {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 3px; background: var(--orange); }

h1, h2, p { overflow-wrap: break-word; }
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 620px;
  margin: 23px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

.benefit-list {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}
.benefit-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.52);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}
.benefit-list span { color: #17866f; margin-right: 4px; }

.project-photo {
  grid-area: photo;
  position: relative;
  min-height: 350px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #bac5c5;
}
.project-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 23, 31, 0.88) 100%);
}
.project-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 58%; }
.project-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 21px;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}
.project-photo figcaption span { display: block; color: var(--white); font-size: 18px; font-weight: 800; }

.lead-card {
  grid-area: form;
  position: sticky;
  top: 18px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-heading { margin-bottom: 24px; }
.form-step { margin: 0 0 7px; color: #9b5f00; font-size: 12px; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.form-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 37px); line-height: 1.05; letter-spacing: -0.045em; }
.form-heading > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

form { display: grid; gap: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.field input, .field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #ccd2d3;
  border-radius: 11px;
  outline: 0;
  background: #fbfcfa;
  color: var(--ink);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(121, 234, 211, 0.38); }
.field input::placeholder { color: #8a9498; }

.consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 9px; color: var(--muted); font-size: 11px; line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.submit-button {
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--orange);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(246, 168, 23, 0.24);
  transition: transform 120ms ease, background 120ms ease;
}
.submit-button:hover { background: #ffb62d; transform: translateY(-1px); }
.submit-button:active { transform: translateY(0); }
.submit-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.submit-button[disabled] { opacity: 0.65; cursor: wait; transform: none; }
.privacy-note { margin: -4px 0 0; color: var(--muted); text-align: center; font-size: 10px; }
.privacy-note a { text-underline-offset: 2px; }
.form-error { margin: 0; padding: 10px 12px; border-radius: 9px; background: #fff0ee; color: #9d2115; font-size: 12px; font-weight: 700; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.expectation {
  width: min(1180px, calc(100% - 40px));
  margin: 80px auto 0;
  padding: 54px;
  border-radius: 28px 28px 0 0;
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}
.expectation .eyebrow { color: var(--mint); }
.expectation h2 { max-width: 390px; margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; letter-spacing: -0.05em; }
.expectation ol { margin: 0; padding: 0; list-style: none; display: grid; }
.expectation li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.14); display: grid; grid-template-columns: 52px 1fr; gap: 12px; }
.expectation li:first-child { padding-top: 0; }
.expectation li:last-child { border-bottom: 0; }
.expectation li > strong { color: var(--orange); font-size: 13px; }
.expectation li span { color: rgba(255,255,255,0.66); font-size: 13px; }
.expectation li b { display: block; margin-bottom: 2px; color: var(--white); font-size: 16px; }

footer {
  min-height: 70px;
  padding: 20px max(20px, calc((100% - 1080px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
}

.thank-you-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); }
.thank-you-main { width: min(800px, calc(100% - 40px)); margin: 40px auto 70px; display: grid; place-items: center; }
.thank-you-card { width: 100%; padding: clamp(30px, 6vw, 72px); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.success-mark { width: 58px; height: 58px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 26px; font-weight: 900; }
.thank-you-card h1 { max-width: 620px; margin: 0; font-size: clamp(42px, 7vw, 70px); line-height: 0.98; letter-spacing: -0.06em; }
.thank-you-card > p { max-width: 620px; margin: 23px 0 0; color: var(--muted); font-size: 18px; }
.next-step { margin: 34px 0 28px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; display: grid; grid-template-columns: 42px 1fr; align-items: start; }
.next-step > span { color: var(--orange-dark); font-size: 12px; font-weight: 900; }
.next-step p { margin: 0; color: var(--muted); font-size: 13px; }
.next-step strong { display: block; color: var(--ink); font-size: 15px; }
.back-link { font-weight: 800; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .site-header { width: min(100% - 28px, 680px); height: 64px; }
  .hero { width: min(100% - 28px, 680px); margin-top: 12px; grid-template-columns: 1fr; grid-template-areas: "form" "copy" "photo"; gap: 18px; }
  .hero-copy { padding: 18px 2px 0; }
  .hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .hero-lede { margin-top: 17px; font-size: 17px; }
  .benefit-list { margin-top: 17px; gap: 7px; }
  .benefit-list li { padding: 7px 10px; font-size: 11px; }
  .project-photo { min-height: 220px; }
  .lead-card { position: static; padding: 26px 20px; border-radius: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .expectation { width: 100%; margin-top: 54px; padding: 42px 22px; border-radius: 0; grid-template-columns: 1fr; gap: 34px; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  .header-note { display: none; }
  .hero h1 { font-size: 45px; }
  .project-photo { min-height: 182px; }
  .project-photo figcaption { left: 17px; bottom: 14px; }
  .project-photo figcaption span { font-size: 16px; }
  .lead-card { padding: 24px 18px; }
  .form-heading { margin-bottom: 20px; }
  .form-heading h2 { font-size: 31px; }
  .field input, .field select { min-height: 54px; font-size: 16px; }
  .thank-you-main { width: calc(100% - 28px); margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
