:root {
  --ink: #17201b;
  --muted: #5c665f;
  --paper: #f7f5ef;
  --panel: #fffdf8;
  --line: #ded8ca;
  --sage: #6f806d;
  --forest: #21382e;
  --copper: #b45f36;
  --gold: #d7a849;
  --blue: #315f72;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(35, 40, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(222, 216, 202, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--forest);
  color: var(--paper);
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px) 64px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 102px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(33, 56, 46, 0.2);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.72);
  color: var(--forest);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 5% auto auto;
  width: 72%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 30% 28%, rgba(215, 168, 73, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(49, 95, 114, 0.18), rgba(111, 128, 109, 0.2));
  border-radius: 50%;
  filter: blur(3px);
}

.ops-board {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: clamp(20px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.board-header,
.score-row,
.insight-list p,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.board-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-weight: 800;
}

.status {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(111, 128, 109, 0.18);
  color: var(--forest);
  font-size: 12px;
}

.score-row {
  align-items: stretch;
  margin: 20px 0;
}

.score-row > div {
  flex: 1;
  min-width: 0;
  padding: 16px;
  border-radius: 8px;
  background: #f2efe5;
}

.metric-label,
.card-kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.score-row strong {
  display: block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 38px);
}

.flow-line {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.2fr 0.55fr;
  gap: 8px;
  height: 90px;
  align-items: end;
  padding: 18px 0;
}

.flow-line span {
  display: block;
  min-height: 22px;
  border-radius: 5px 5px 0 0;
  background: var(--blue);
}

.flow-line span:nth-child(2) {
  height: 48px;
  background: var(--gold);
}

.flow-line span:nth-child(3) {
  height: 74px;
  background: var(--sage);
}

.flow-line span:nth-child(4) {
  height: 36px;
  background: var(--copper);
}

.insight-list {
  display: grid;
  gap: 10px;
}

.insight-list p {
  justify-content: flex-start;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.insight-list span {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--copper);
}

.kitchen-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 34px;
  width: min(78%, 300px);
  padding: 20px;
  background: var(--forest);
  color: var(--white);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(33, 56, 46, 0.32);
}

.kitchen-card .card-kicker {
  margin-bottom: 8px;
  color: #d8cab2;
}

.statement,
.assessment,
.method,
.contact {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.statement {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  background: var(--forest);
  color: var(--white);
}

.statement p:last-child {
  margin: 0;
  color: #d9dfd6;
  font-size: clamp(18px, 2vw, 23px);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillars article {
  min-height: 250px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--paper);
}

.pillars span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--copper);
  font-weight: 900;
}

.pillars p,
.section-heading p,
.method p,
.contact p,
.result-panel p,
.form-actions p {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-top: 16px;
  font-size: 18px;
}

.assessment {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.assessment .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.health-form,
.result-panel,
.method-steps article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.health-form {
  padding: clamp(18px, 3vw, 30px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

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

fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.question p {
  margin: 0;
  font-weight: 700;
}

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

.scale label {
  position: relative;
  display: block;
  min-width: 0;
}

.scale input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.scale span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.scale input:checked + span {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.frustration {
  margin-top: 20px;
}

.form-actions {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.form-actions p {
  max-width: 360px;
  margin: 0;
  font-size: 14px;
}

.result-panel {
  position: sticky;
  top: 96px;
  padding: clamp(20px, 3vw, 30px);
}

.result-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
}

.result-score {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.result-score div {
  padding: 14px;
  border-radius: 8px;
  background: #f2efe5;
}

.result-score span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-score strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.method {
  background: #ece8dc;
}

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

.method-steps article {
  padding: clamp(22px, 3vw, 32px);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--blue);
  color: var(--white);
}

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

.contact p {
  max-width: 680px;
  color: #dce8ea;
  font-size: 18px;
}

.contact .button.primary {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--blue);
  box-shadow: none;
}

footer {
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #dce1d7;
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .statement,
  .assessment {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .pillars,
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(44px, 16vw, 68px);
  }

  .score-row,
  .form-grid,
  .question,
  .contact,
  footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

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

  .pillars article {
    min-height: auto;
  }

  .pillars span {
    margin-bottom: 18px;
  }

  .scale {
    grid-template-columns: repeat(5, minmax(44px, 1fr));
  }

  .scale span {
    font-size: 11px;
  }

  .kitchen-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -52px;
  }
}

@media (max-width: 430px) {
  .hero,
  .statement,
  .assessment,
  .method,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
