:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #272c28;
  --muted: #64675e;
  --green: #4f604c;
  --line: #d7d8ce;
  --gutter: clamp(1.5rem, 6.2vw, 6.5rem);
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body,
h1,
h2,
p,
figure {
  margin: 0;
}

body {
  min-width: 20rem;
}

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

::selection {
  color: var(--paper);
  background: var(--green);
}

.page {
  width: calc(100% - var(--gutter) * 2);
  max-width: 75rem;
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
}

.wordmark {
  width: 8.5rem;
  height: auto;
}

.masthead-note,
.eyebrow,
.principle h2 {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masthead-note {
  color: var(--muted);
  text-align: right;
}

.introduction {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5.5vw, 5rem);
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.introduction-copy {
  padding-bottom: 1.75rem;
}

.eyebrow {
  margin-bottom: 2rem;
  color: var(--green);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(4rem, 7.15vw, 6.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  color: var(--green);
  font-weight: 400;
  line-height: 1.15;
}

.description {
  max-width: 25rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.philosophy {
  margin-top: 2rem;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.scene {
  width: 100%;
  max-width: 27.5rem;
  justify-self: end;
}

.scene-art {
  position: relative;
  width: 100%;
  aspect-ratio: 11 / 12;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 56% 43%, #f8efd5 0 12%, #ded8b3 13% 21%, transparent 22%),
    radial-gradient(ellipse at 54% 46%, #a8ad87 0 32%, #728366 33% 44%, transparent 45%),
    linear-gradient(145deg, #c3c6a8, #3d5846 68%, #243d34);
}

.scene-art::before,
.scene-art::after {
  position: absolute;
  content: "";
  inset: -9% 14% -8% -17%;
  border: 1px solid #d8dbb894;
  border-radius: 48% 52% 45% 55%;
  transform: rotate(-28deg);
}

.scene-art::after {
  inset: 13% 25% 16% 18%;
  border-color: #f8edd09e;
  transform: rotate(24deg);
}

.scene-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.scene-canvas.is-ready {
  opacity: 1;
}

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 0.875rem;
  color: var(--muted);
  font-size: 0.625rem;
  line-height: 1.6;
  letter-spacing: 0.025em;
}

.approach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 1.875rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--line);
}

.principle h2 {
  margin-bottom: 1.125rem;
  letter-spacing: 0.12em;
}

.principle-number {
  margin-right: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.principle-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.principle-description {
  max-width: 19rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.375rem;
  padding-bottom: 1.875rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.7;
}

.footer-brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.footer-link {
  color: var(--green);
  text-underline-offset: 0.2em;
}

@media (min-width: 100rem) {
  .introduction {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
}

@media (max-width: 58rem) {
  .introduction {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .introduction-copy {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(3rem, 11.2vw, 6rem);
  }

  .description {
    max-width: 28rem;
  }

  .scene {
    max-width: none;
  }

  .scene-art {
    aspect-ratio: 6 / 5;
  }

  .approach {
    gap: 1.75rem;
    padding-bottom: 3rem;
  }

  .principle-title {
    font-size: 1.375rem;
  }
}

@media (max-width: 40rem) {
  .masthead {
    padding-top: 1.5rem;
  }

  .wordmark {
    width: 7rem;
  }

  .masthead-note {
    max-width: 7rem;
    font-size: 0.5625rem;
    line-height: 1.8;
    letter-spacing: 0.12em;
  }

  .introduction {
    gap: 2.5rem;
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  .eyebrow {
    margin-bottom: 1.5rem;
    font-size: 0.625rem;
  }

  .description {
    margin-top: 1.5rem;
    font-size: 1rem;
  }

  .philosophy {
    max-width: 18rem;
    margin-top: 1.5rem;
    font-size: 0.75rem;
  }

  .scene-art {
    aspect-ratio: 11 / 12;
  }

  figcaption {
    flex-wrap: wrap;
    font-size: 0.5625rem;
  }

  .approach {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-top: 1.75rem;
  }

  .principle h2 {
    margin-bottom: 0.875rem;
  }

  .principle-title {
    font-size: 1.5rem;
  }

  .principle-description {
    max-width: 23rem;
    margin-top: 0.5rem;
  }

  .footer {
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    font-size: 0.625rem;
  }
}
