:root {
  color-scheme: light;
  --ink: #17211d;
  --ink-soft: #2f3c35;
  --paper: #f3efe6;
  --paper-light: #fbf8f2;
  --white: #fffdf9;
  --line: #cfc7b9;
  --line-strong: #9b9589;
  --sage: #617767;
  --sage-light: #dfe6dc;
  --terracotta: #b86143;
  --terracotta-deep: #8f452f;
  --terracotta-light: #f2ddd3;
  --gold: #b88a42;
  --gold-light: #efe3cc;
  --muted: #667069;
  --shadow: 0 24px 60px rgba(38, 40, 31, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(184, 138, 66, 0.11), transparent 26rem),
    radial-gradient(circle at 92% 17%, rgba(97, 119, 103, 0.12), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 33, 29, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 29, 0.022) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1380px, calc(100% - 64px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
  min-height: 92vh;
  padding-block: 72px 84px;
}

.eyebrow,
.section-index,
.branch-kicker,
.outcome-kicker,
.confidence-kicker {
  margin: 0;
  color: var(--terracotta-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 30px;
}

.eyebrow span + span::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 12px;
  background: currentColor;
  content: "";
  vertical-align: middle;
}

.hero h1 {
  max-width: 870px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.65rem, 7vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.hero-intro {
  max-width: 760px;
  margin: 36px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  padding: 9px 14px;
  border: 1px solid rgba(23, 33, 29, 0.26);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.45);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-model {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--white);
}

.hero-model::after {
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.model-topline,
.outcome-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #b9d6ae;
  box-shadow: 0 0 0 5px rgba(185, 214, 174, 0.12);
  content: "";
}

.spatial-frame {
  position: relative;
  height: 370px;
  margin: 46px 8px 32px;
  perspective: 760px;
  transform-style: preserve-3d;
}

.spatial-wall,
.spatial-floor {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

.spatial-wall-left {
  top: 22px;
  bottom: 92px;
  left: 38px;
  width: 44%;
  transform: rotateY(28deg) skewY(-9deg);
  transform-origin: left center;
}

.spatial-wall-right {
  top: 22px;
  right: 34px;
  bottom: 92px;
  width: 44%;
  transform: rotateY(-28deg) skewY(9deg);
  transform-origin: right center;
}

.spatial-floor {
  right: 46px;
  bottom: 27px;
  left: 46px;
  height: 150px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px);
  transform: rotateX(63deg);
}

.spatial-object {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(184, 97, 67, 0.78);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.spatial-sofa {
  bottom: 81px;
  left: 82px;
  width: 48%;
  height: 86px;
  border-radius: 9px 9px 3px 3px;
  transform: skewY(-4deg);
}

.spatial-sofa::before {
  position: absolute;
  top: -38px;
  right: 4px;
  left: 4px;
  height: 42px;
  border: inherit;
  border-radius: 8px 8px 2px 2px;
  background: rgba(184, 97, 67, 0.6);
  content: "";
}

.spatial-table {
  right: 47px;
  bottom: 58px;
  width: 94px;
  height: 48px;
  border-radius: 50%;
  background: rgba(184, 138, 66, 0.82);
  transform: rotateX(54deg);
}

.spatial-lamp {
  top: 88px;
  right: 52px;
  width: 32px;
  height: 120px;
  border: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  box-shadow: none;
}

.spatial-lamp::before {
  position: absolute;
  top: -8px;
  left: -19px;
  width: 36px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50% 50% 30% 30%;
  background: var(--sage);
  content: "";
}

.measure {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
}

.measure-width { bottom: 39px; left: 42%; }
.measure-height { top: 96px; left: 27px; }
.measure-depth { right: 21px; bottom: 104px; }

.model-caption {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.model-caption strong {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
}

.model-caption span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
}

.flow-section,
.stories-section,
.done-section {
  padding-block: 92px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2,
.open-decisions h2 {
  max-width: 850px;
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 4.4vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.98rem;
}

