:root {
  color-scheme: light;
  --ink: #11130f;
  --ink-soft: #34392e;
  --paper: #f1eadc;
  --paper-strong: #fffaf0;
  --sage: #6d7d61;
  --moss: #265a50;
  --amber: #c77f2e;
  --rust: #b85236;
  --teal: #3d9793;
  --blue: #405c83;
  --line: rgba(17, 19, 15, 0.16);
  --line-strong: rgba(17, 19, 15, 0.28);
  --shadow: 0 24px 80px rgba(17, 19, 15, 0.24);
  --max: 1180px;
  --measure: 760px;
}

* {
  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;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

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

code,
strong {
  font-weight: 760;
}

code {
  color: #1d453d;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper-strong);
}

.hero__image,
.hero__scrim {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  background:
    linear-gradient(90deg, rgba(17, 19, 15, 0.78), rgba(17, 19, 15, 0.38) 54%, rgba(17, 19, 15, 0.08)),
    linear-gradient(0deg, rgba(17, 19, 15, 0.72), rgba(17, 19, 15, 0.00) 50%);
}

.nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px max(22px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 250, 240, 0.86);
  font-size: 0.88rem;
  font-weight: 680;
}

.nav__brand {
  margin-right: auto;
  color: var(--paper-strong);
  font-size: 1.04rem;
  font-weight: 820;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 158px 0 96px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 820;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 4.8rem;
  line-height: 0.96;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: 3.2rem;
  line-height: 1.03;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.46rem;
  line-height: 1.16;
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

.hero__copy {
  max-width: 710px;
  color: rgba(255, 250, 240, 0.88);
  font-size: 1.22rem;
  line-height: 1.64;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 240, 0.55);
  border-radius: 6px;
  background: rgba(17, 19, 15, 0.26);
  color: var(--paper-strong);
  font-weight: 760;
}

.section__inner {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.section__split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: 76px;
  align-items: start;
}

.section__heading {
  max-width: var(--measure);
}

.section__heading--wide {
  max-width: 980px;
  margin-bottom: 48px;
}

.lead-copy {
  max-width: var(--measure);
}

.lead-copy p {
  margin-bottom: 18px;
  color: rgba(17, 19, 15, 0.78);
  font-size: 1.16rem;
}

.lead-copy p:last-child {
  margin-bottom: 0;
}

.principles,
.result {
  padding: 88px 0;
  background: var(--paper-strong);
}

.glossary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 70px;
  border: 1px solid var(--line);
  background: var(--line);
}

.glossary article {
  min-height: 190px;
  padding: 26px;
  background: #fbf2e4;
}

.glossary h3 {
  margin-bottom: 14px;
  color: #1f4c42;
}

.glossary p {
  margin-bottom: 0;
  color: rgba(17, 19, 15, 0.72);
}

.evidence {
  padding: 88px 0 0;
  background: var(--paper);
}

.evidence-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.evidence-guide article {
  min-height: 150px;
  padding: 20px;
  background: #efe5d4;
}

.evidence-guide span,
.evidence-guide strong {
  display: block;
}

.evidence-guide span {
  margin-bottom: 9px;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 820;
}

.evidence-guide strong {
  margin-bottom: 9px;
  color: #1f4c42;
  font-size: 1.06rem;
}

.evidence-guide p {
  margin-bottom: 0;
  color: rgba(17, 19, 15, 0.72);
  font-size: 0.96rem;
  line-height: 1.5;
}

.artifact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
  background: var(--ink);
}

.artifact-strip figure {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #11130f;
}

.artifact-strip img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.artifact-strip figure:nth-child(2) img {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.08), rgba(61, 151, 147, 0.12)),
    #11130f;
}

.artifact-strip figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 250, 240, 0.30);
  border-radius: 8px;
  background: rgba(17, 19, 15, 0.72);
  color: rgba(255, 250, 240, 0.84);
}

.artifact-strip strong,
.artifact-strip span {
  display: block;
}

.artifact-strip strong {
  margin-bottom: 6px;
  color: var(--paper-strong);
  font-size: 1.04rem;
}

.artifact-strip span {
  font-size: 0.92rem;
  line-height: 1.45;
}

.stages {
  padding: 92px 0;
  background: #e8dfcf;
}

.stage-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.64) inset;
}

.stage--dark {
  color: var(--paper-strong);
  background: #171a14;
  box-shadow: var(--shadow);
}

.stage__number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--moss);
  font-weight: 820;
}

.stage--dark .stage__number {
  border-color: rgba(255, 250, 240, 0.18);
  background: var(--rust);
  color: var(--paper-strong);
}

.stage__copy {
  max-width: 690px;
}

.stage__copy p {
  margin-bottom: 22px;
  color: rgba(17, 19, 15, 0.76);
  font-size: 1.08rem;
}

.stage--dark .stage__copy p {
  color: rgba(255, 250, 240, 0.76);
}

.stage dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 0;
}

.stage dt {
  margin-bottom: 5px;
  color: var(--rust);
  font-size: 0.84rem;
  font-weight: 820;
}

.stage--dark dt {
  color: #ffc06f;
}

.stage dd {
  margin-left: 0;
  color: rgba(17, 19, 15, 0.68);
  font-size: 0.96rem;
  line-height: 1.55;
}

.stage--dark dd {
  color: rgba(255, 250, 240, 0.70);
}

.stage__graphic {
  align-self: center;
  justify-self: center;
  width: min(100%, 340px);
  overflow: visible;
}

.stage__graphic rect,
.stage__graphic path,
.stage__graphic circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage__graphic circle {
  fill: var(--amber);
  stroke: none;
}

.stage__graphic .grid {
  stroke: rgba(17, 19, 15, 0.14);
  stroke-width: 2;
}

.stage__graphic .curve {
  stroke: var(--rust);
}

.stage__graphic .film-a {
  fill: rgba(184, 82, 54, 0.24);
}

.stage__graphic .film-b {
  fill: rgba(109, 125, 97, 0.28);
}

.stage__graphic .film-c {
  fill: rgba(61, 151, 147, 0.24);
}

.stage__graphic .film-d {
  fill: rgba(64, 92, 131, 0.22);
}

.exposure-diagram,
.halation-diagram {
  position: relative;
  align-self: center;
  justify-self: stretch;
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 250, 240, 0.22), transparent 16%),
    linear-gradient(145deg, #24281f, #10130f 62%, #2d211a);
}

.exposure-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 18px;
  padding: 34px;
}

.exposure-diagram__bar {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #fff3c2, #c77f2e);
}

.exposure-diagram__bar--shadow {
  height: 38%;
  opacity: 0.72;
}

.exposure-diagram__bar--midtone {
  height: 66%;
  background: linear-gradient(180deg, #cce9df, #3d9793);
}

.exposure-diagram__bar--highlight {
  height: 86%;
  background: linear-gradient(180deg, #fffaf0, #b85236);
}

.exposure-diagram__noise {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 70px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.18) 0 8px, transparent 8px 15px);
}

.halation-diagram {
  background:
    radial-gradient(circle at 52% 50%, rgba(255, 250, 240, 0.38), transparent 8%),
    radial-gradient(circle at 52% 50%, rgba(199, 127, 46, 0.34), transparent 26%),
    radial-gradient(circle at 44% 48%, rgba(61, 151, 147, 0.22), transparent 42%),
    linear-gradient(145deg, #24281f, #10130f 62%, #2d211a);
}

.halation-diagram__source,
.halation-diagram__ring {
  position: absolute;
  top: 50%;
  left: 52%;
  border-radius: 50%;
  translate: -50% -50%;
}

.halation-diagram__source {
  width: 64px;
  aspect-ratio: 1;
  background: #fff7d3;
  box-shadow: 0 0 40px rgba(255, 247, 211, 0.82);
}

.halation-diagram__ring {
  aspect-ratio: 1;
  border: 2px solid rgba(199, 127, 46, 0.48);
  animation: pulse 5.5s ease-in-out infinite;
}

.halation-diagram__ring--one {
  width: 140px;
}

.halation-diagram__ring--two {
  width: 220px;
  border-color: rgba(184, 82, 54, 0.36);
  animation-delay: -1.7s;
}

.halation-diagram__ring--three {
  width: 310px;
  border-color: rgba(61, 151, 147, 0.28);
  animation-delay: -3.1s;
}

.result-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.result-list article {
  padding: 24px;
  background: #fbf2e4;
}

.result-list p {
  margin-bottom: 0;
  color: rgba(17, 19, 15, 0.74);
}

.implementation {
  padding: 88px 0;
  color: var(--paper-strong);
  background: var(--moss);
}

.implementation .kicker {
  color: #ffc06f;
}

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

.implementation__grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  background: rgba(17, 19, 15, 0.16);
}

.implementation__grid p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.78);
}

.implementation code {
  color: #ffe1a9;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(22px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 250, 240, 0.72);
  background: var(--ink);
}

.footer a {
  color: var(--paper-strong);
  font-weight: 760;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.68;
    scale: 0.96;
  }
  50% {
    opacity: 1;
    scale: 1.04;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .section__split,
  .glossary,
  .evidence-guide,
  .artifact-strip,
  .stage,
  .implementation__grid {
    grid-template-columns: 1fr;
  }

  .section__split {
    gap: 32px;
  }

  .artifact-strip figure,
  .artifact-strip img {
    min-height: 460px;
  }

  .stage {
    min-height: auto;
  }

  .stage__graphic,
  .exposure-diagram,
  .halation-diagram {
    justify-self: stretch;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88svh;
  }

  .hero__content,
  .section__inner {
    width: min(100% - 28px, var(--max));
  }

  .hero__content {
    padding: 138px 0 64px;
  }

  .nav {
    padding: 18px 14px;
  }

  .nav a:not(.nav__brand) {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.08rem;
  }

  h3 {
    font-size: 1.28rem;
  }

  .hero__copy,
  .lead-copy p,
  .stage__copy p {
    font-size: 1rem;
  }

  .principles,
  .evidence,
  .stages,
  .result,
  .implementation {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .evidence {
    padding-bottom: 0;
  }

  .glossary {
    margin-top: 42px;
  }

  .glossary article,
  .evidence-guide article,
  .stage,
  .implementation__grid article {
    padding: 22px;
  }

  .artifact-strip {
    margin-top: 36px;
  }

  .artifact-strip figure,
  .artifact-strip img {
    min-height: 360px;
  }

  .stage dl {
    grid-template-columns: 1fr;
  }

  .exposure-diagram,
  .halation-diagram {
    min-height: 240px;
  }

  .halation-diagram__ring--three {
    width: 250px;
  }

  .footer {
    flex-direction: column;
    padding: 24px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .halation-diagram__ring {
    animation: none;
  }
}
