:root {
  --ink: #151515;
  --muted: #5f625e;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #dad3c8;
  --sage: #78876f;
  --clay: #a86f4c;
  --gold: #c79a42;
  --charcoal: #242321;
  --ok: #446b4e;
  --watch: #9a7232;
  --focus: #9a4d3d;
  --shadow: 0 18px 60px rgba(20, 20, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(36, 35, 33, 0.12);
  backdrop-filter: blur(18px);
}

.brand img {
  width: min(210px, 46vw);
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.header-actions a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  background: var(--charcoal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: #000;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.button-secondary {
  background: transparent;
  color: var(--charcoal);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(36, 35, 33, 0.08);
}

.button-dark {
  background: #000;
  border-color: #000;
}

.text-link {
  font-weight: 750;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #191816;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.46) 46%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.02) 42%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.hero-content {
  position: relative;
  width: min(850px, 100%);
  padding: min(11vh, 112px) clamp(20px, 5vw, 72px);
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.98;
  font-weight: 500;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.hero .button {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.intro-band {
  padding: 28px clamp(20px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.intro-grid > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.metric {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
}

.method-section,
.assessment-section,
.report-section,
.booking-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.method-section {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.method-section h2,
.assessment-copy h2,
.report-header h2,
.booking-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 500;
}

.method-section p,
.assessment-copy p,
.booking-section p {
  max-width: 770px;
  color: var(--muted);
  font-size: 1.08rem;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.method-steps span {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-top: 2px solid var(--sage);
  background: rgba(255, 255, 255, 0.5);
  color: var(--charcoal);
  font-weight: 760;
}

.assessment-section {
  background: #ece7dd;
}

.assessment-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(340px, 1.26fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.assessment-copy {
  position: sticky;
  top: 104px;
}

.progress-wrap {
  margin-top: 28px;
}

.progress-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.progress-track {
  height: 10px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 35, 33, 0.12);
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--sage);
  transition: width 180ms ease;
}

.assessment-form,
.report-shell {
  padding: clamp(18px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0 0 24px;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.lead-fields legend {
  grid-column: 1 / -1;
  padding: 0 0 8px;
  font-weight: 850;
}

.lead-fields label:last-child {
  grid-column: 1 / -1;
}

.optional-label {
  color: #85796b;
  font-size: 0.78rem;
  font-weight: 650;
}

label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 780;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c8c0b4;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus {
  outline: 2px solid rgba(120, 135, 111, 0.35);
  border-color: var(--sage);
}

.questions {
  display: grid;
  gap: 18px;
}

.question-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.question-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.question-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.domain-pill {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(120, 135, 111, 0.16);
  color: #4c5b45;
  font-size: 0.72rem;
  font-weight: 850;
}

.options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.option {
  position: relative;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option span {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #c8c0b4;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 760;
  cursor: pointer;
}

.option input:checked + span {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: #fff;
}

.option input:focus-visible + span {
  outline: 2px solid rgba(120, 135, 111, 0.45);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.privacy-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-message {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--focus);
  background: rgba(154, 77, 61, 0.1);
  color: #73382d;
  font-weight: 760;
}

.report-section {
  background: #fff;
}

.report-shell {
  width: min(1020px, 100%);
  margin: 0 auto;
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.score-badge {
  width: 160px;
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 8px;
  background: #ece7dd;
  text-align: center;
}

.score-badge span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.8rem;
  line-height: 1;
}

.score-badge small {
  color: var(--muted);
  font-weight: 780;
}

.report-empty {
  padding: 34px 0 8px;
  color: var(--muted);
}

.report-content {
  display: grid;
  gap: 24px;
  padding-top: 24px;
}

.result-summary {
  padding: 22px;
  border-left: 5px solid var(--sage);
  background: #f7f4ee;
}

.result-summary p {
  margin: 0;
}

.result-tier {
  margin-bottom: 8px !important;
  color: var(--charcoal);
  font-size: 1.22rem;
  font-weight: 850;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.domain-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.domain-card strong {
  display: block;
  margin-bottom: 6px;
}

.domain-score {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(120, 135, 111, 0.16);
  color: #4f6048;
  font-size: 0.86rem;
  font-weight: 850;
}

.report-block {
  padding-top: 4px;
}

.report-block h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.report-block p {
  margin: 0;
  color: var(--muted);
}

.report-block ol {
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.report-consultation-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.booking-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #ece7dd;
}

.booking-section > div {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--charcoal);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .header-actions a:first-child {
    display: none;
  }

  .intro-grid,
  .method-steps,
  .domain-grid {
    grid-template-columns: 1fr;
  }

  .assessment-shell {
    grid-template-columns: 1fr;
  }

  .assessment-copy {
    position: static;
  }

  .options {
    grid-template-columns: 1fr;
  }

  .option span {
    min-height: 54px;
    justify-content: flex-start;
    text-align: left;
  }

  .booking-section,
  .report-header,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  .brand img {
    width: 164px;
  }

  .button-small {
    min-height: 36px;
    padding: 0 10px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 13vw, 4rem);
  }

  .intro-grid > div {
    grid-template-columns: 1fr;
  }

  .lead-fields {
    grid-template-columns: 1fr;
  }

  .score-badge {
    width: 100%;
    min-height: 112px;
  }
}

@media print {
  .site-header,
  .hero,
  .intro-band,
  .method-section,
  .assessment-section,
  .booking-section,
  .site-footer,
  .report-actions {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .report-section {
    padding: 0;
  }

  .report-shell {
    width: 100%;
    box-shadow: none;
    border: 0;
  }
}
