:root {
  --canvas-white: #ffffff;
  --graphite: #333333;
  --muted-truffle: #555555;
  --desert-sienna: #b08968;
  --copy-primary: #333333;
  --rule-soft: rgba(51, 51, 51, 0.22);
  --rule-card: rgba(51, 51, 51, 0.28);
  --hero-frame-bg: #ffffff;
  --hero-frame-border: rgba(51, 51, 51, 0.14);
  --card-bg: #ffffff;
  --journal-card-border: rgba(51, 51, 51, 0.24);
  --button-bg: #ffffff;
  --button-border: #333333;
  --nav-underline: #333333;
  --image-opacity: 1;
  --edge: 4.444444vw;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas-white: #11100f;
    --graphite: #f2eee8;
    --muted-truffle: #a9a19a;
    --desert-sienna: #d1a07b;
    --copy-primary: #c9c1b8;
    --rule-soft: rgba(242, 238, 232, 0);
    --rule-card: rgba(242, 238, 232, 0.18);
    --hero-frame-bg: #161412;
    --hero-frame-border: rgba(209, 160, 123, 0.34);
    --card-bg: #171513;
    --journal-card-border: rgba(242, 238, 232, 0.16);
    --button-bg: #191715;
    --button-border: #d1a07b;
    --nav-underline: transparent;
    --image-opacity: 0.92;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas-white);
  color: var(--graphite);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas-white);
  color: var(--graphite);
  font-family: Poppins, sans-serif;
  font-weight: 400;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header {
  width: 100%;
  height: 63px;
  padding: 40px var(--edge) 0 var(--edge);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--canvas-white);
}

.brand,
.footer-brand {
  display: inline-block;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--graphite);
}

.nav-links {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted-truffle);
}

.nav-links a {
  display: inline-block;
}

.underlined-link {
  color: var(--graphite);
  border-bottom: 1px solid var(--nav-underline);
  padding-bottom: 5px;
}

.hero {
  position: relative;
  height: 808px;
  background: var(--canvas-white);
}

.hero-copy {
  position: absolute;
  left: var(--edge);
  top: 287px;
  width: 522px;
}

h1,
h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0;
}

.hero-copy h1 {
  width: 522px;
  color: var(--graphite);
}

.hero-copy p {
  width: 502px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--copy-primary);
}

.button {
  width: 134px;
  height: 49px;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--graphite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
}

.hero-copy .button {
  margin-top: 35px;
}

.hero-image-frame {
  position: absolute;
  top: 190px;
  right: var(--edge);
  width: 47.708333vw;
  height: 464px;
  border: 1px solid var(--hero-frame-border);
  overflow: hidden;
  background: var(--hero-frame-bg);
}

.hero-image-frame img {
  position: absolute;
  left: 5.822416%;
  top: 3px;
  width: 84.861718%;
  height: 437px;
  object-fit: cover;
  display: block;
  opacity: var(--image-opacity);
}

.stillness {
  position: relative;
  height: 257px;
  background: var(--canvas-white);
}

.section-rule {
  position: absolute;
  left: var(--edge);
  right: var(--edge);
  top: 0;
  height: 1px;
  background: var(--rule-soft);
}

.stillness h2 {
  position: absolute;
  left: var(--edge);
  top: 65px;
  width: 562px;
  color: var(--desert-sienna);
}

.stillness p {
  position: absolute;
  left: 52.222222vw;
  top: 99px;
  width: 592px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--copy-primary);
}

.method {
  position: relative;
  height: 504px;
  background: var(--canvas-white);
}

.draft-room-card {
  position: absolute;
  left: var(--edge);
  top: 0;
  width: 39.027778vw;
  height: 392px;
  border: 1px solid var(--rule-card);
  background: var(--card-bg);
  padding: 64px;
}

.draft-room-card h2 {
  width: 432px;
  color: var(--graphite);
}

.draft-room-card p {
  width: 432px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--muted-truffle);
}

.process-list {
  position: absolute;
  top: 64px;
  left: 47.916667vw;
  width: 47.638889vw;
}

.process-row {
  position: relative;
  min-height: 91px;
  padding-top: 33px;
  display: grid;
  grid-template-columns: 162px minmax(0, 497px);
  column-gap: 30px;
}

.row-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-soft);
}

.process-row h3 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--graphite);
}

.process-row p {
  font-size: 16px;
  line-height: 1.3;
  color: var(--muted-truffle);
}

.journal {
  position: relative;
  height: 592px;
  background: var(--canvas-white);
}

.journal-card {
  position: absolute;
  left: var(--edge);
  top: 0;
  width: 46.805556vw;
  height: 480px;
  border: 1px solid var(--journal-card-border);
  background: var(--card-bg);
  padding: 113px 64px 64px 64px;
}

.journal-card p {
  width: 546px;
  font-size: 16px;
  line-height: 1.3;
}

.journal-card p:first-child {
  color: var(--graphite);
}

.journal-card p + p {
  margin-top: 32px;
  color: var(--muted-truffle);
}

.journal-copy {
  position: absolute;
  left: 55.694444vw;
  top: 149px;
  width: 502px;
}

.journal-copy h2 {
  width: 502px;
  color: var(--graphite);
}

.journal-copy p {
  width: 502px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--muted-truffle);
}

.final-cta {
  position: relative;
  height: 338px;
  background: var(--canvas-white);
}

.cta-rule {
  position: absolute;
  left: var(--edge);
  right: var(--edge);
  height: 1px;
  background: var(--rule-soft);
}

.cta-rule.top {
  top: 0;
}

.cta-rule.bottom {
  top: 225px;
}

.final-cta h2 {
  position: absolute;
  left: var(--edge);
  top: 65px;
  width: 642px;
  color: var(--desert-sienna);
}

.cta-button {
  position: absolute;
  right: var(--edge);
  top: 89px;
}

.site-footer {
  width: 100%;
  height: 117px;
  padding: 0 var(--edge);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--canvas-white);
}

.site-footer p {
  width: 362px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted-truffle);
}

.footer-links {
  margin-top: 51px;
  display: flex;
  gap: 30px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted-truffle);
}

@media (max-width: 899px) {
  :root {
    --edge: 24px;
  }

  .site-header {
    height: auto;
    padding: 32px 24px 0 24px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a:not(.underlined-link) {
    display: none;
  }

  .hero {
    height: auto;
    padding: 122px 24px 0 24px;
  }

  .hero-copy {
    position: static;
    width: 100%;
  }

  h1,
  h2 {
    font-size: 40px;
    line-height: 1.2;
  }

  .hero-copy h1,
  .hero-copy p {
    width: min(100%, 342px);
  }

  .hero-copy p {
    margin-top: 24px;
  }

  .hero-copy .button {
    margin-top: 32px;
  }

  .hero-image-frame {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    margin-top: 64px;
    border-color: rgba(51, 51, 51, 0.14);
    padding: 22px 0;
  }

  .hero-image-frame img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .stillness {
    height: auto;
    margin: 96px 24px 0 24px;
    padding-top: 64px;
    border-top: 1px solid var(--rule-soft);
  }

  .section-rule {
    display: none;
  }

  .stillness h2,
  .stillness p {
    position: static;
    width: 100%;
  }

  .stillness p {
    margin-top: 40px;
  }

  .method {
    height: auto;
    margin: 88px 24px 0 24px;
  }

  .draft-room-card {
    position: static;
    width: 100%;
    height: auto;
    padding: 64px 32px;
  }

  .draft-room-card h2,
  .draft-room-card p {
    width: 100%;
  }

  .process-list {
    position: static;
    width: 100%;
    margin-top: 64px;
  }

  .process-row {
    min-height: auto;
    padding: 32px 0 31px 0;
    display: block;
  }

  .process-row p {
    margin-top: 18px;
  }

  .journal {
    height: auto;
    margin: 88px 24px 0 24px;
  }

  .journal-card {
    position: static;
    width: 100%;
    height: auto;
    padding: 64px 32px;
  }

  .journal-card p {
    width: 100%;
  }

  .journal-card p + p {
    margin-top: 40px;
  }

  .journal-copy {
    position: static;
    width: 100%;
    margin-top: 64px;
  }

  .journal-copy h2,
  .journal-copy p {
    width: 100%;
  }

  .final-cta {
    height: auto;
    margin: 96px 24px 0 24px;
    padding: 64px 0;
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
  }

  .cta-rule {
    display: none;
  }

  .final-cta h2 {
    position: static;
    width: 100%;
  }

  .cta-button {
    position: static;
    margin-top: 48px;
  }

  .site-footer {
    height: auto;
    padding: 64px 24px 48px 24px;
    display: block;
  }

  .site-footer p {
    width: min(292px, 100%);
    margin-top: 16px;
  }

  .footer-links {
    margin-top: 48px;
    gap: 28px;
  }
}

@media (min-width: 900px) and (max-width: 1230px) {
  .hero-copy {
    width: 42vw;
  }

  .hero-copy h1,
  .hero-copy p,
  .draft-room-card h2,
  .draft-room-card p,
  .journal-card p,
  .journal-copy,
  .journal-copy h2,
  .journal-copy p,
  .final-cta h2 {
    width: auto;
  }

  .hero-image-frame {
    width: 46vw;
  }

  .stillness p {
    width: 40vw;
  }

  .stillness h2 {
    width: 42vw;
  }

  .final-cta h2 {
    width: 58vw;
  }

  .draft-room-card {
    padding: 48px;
  }

  .process-list {
    width: 45vw;
  }

  .process-row {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .journal-card {
    padding: 86px 48px 48px 48px;
  }
}
