:root {
  --ink: #22231e;
  --charcoal: #1b1d19;
  --stone: #2b2e28;
  --moss: #4f5946;
  --sage: #8e987f;
  --ember: #c87038;
  --gold: #d6a15b;
  --parchment: #f0eadc;
  --paper: #f7f3e9;
  --line: rgba(39, 42, 35, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: var(--charcoal);
}

.site-header {
  align-items: center;
  background: rgba(21, 23, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 80px;
  left: 0;
  padding: 0 clamp(24px, 4vw, 68px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: max-content;
}

nav {
  display: flex;
  font-size: 12px;
  gap: clamp(22px, 3vw, 48px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a,
.header-cta,
footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: #edc58f;
}

.header-cta {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  display: flex;
  font-size: 11px;
  gap: 14px;
  justify-self: end;
  letter-spacing: 0.11em;
  padding: 11px 15px;
  text-transform: uppercase;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--parchment);
  color: var(--charcoal);
}

.hero {
  color: #fff;
  min-height: min(940px, 100svh);
  overflow: hidden;
  position: relative;
}

.hero__image,
.legacy__photo {
  background-color: #25261f;
  background-image: url("public/rootslanding-hearth.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.01);
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(17, 19, 16, 0.93) 0%, rgba(17, 19, 16, 0.72) 38%, rgba(17, 19, 16, 0.18) 68%, rgba(17, 19, 16, 0.34) 100%),
    linear-gradient(0deg, rgba(12, 13, 11, 0.78), transparent 45%);
  inset: 0;
  position: absolute;
}

.hero__content {
  margin-left: clamp(24px, 8vw, 128px);
  max-width: 720px;
  padding-top: clamp(170px, 21vh, 220px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: #6f765f;
  display: flex;
  font-size: 11px;
  font-weight: 600;
  gap: 13px;
  letter-spacing: 0.18em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--ember);
  content: "";
  height: 1px;
  width: 35px;
}

.eyebrow--light {
  color: #d8d5c8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(54px, 6.4vw, 98px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 30px;
}

h1 em,
h2 em {
  color: var(--gold);
  display: block;
  font-weight: 400;
}

.hero__intro {
  color: #e2e0d8;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
  max-width: 610px;
}

.hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 30px;
  letter-spacing: 0.11em;
  padding: 18px 22px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--ember {
  background: var(--ember);
  color: white;
}

.button--ember:hover,
.button--ember:focus-visible {
  background: #dd8147;
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.text-link span {
  margin-left: 12px;
}

.text-link--light {
  color: #e4e0d5;
}

.hero__note {
  bottom: 42px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
  position: absolute;
  right: clamp(24px, 5vw, 76px);
  z-index: 2;
}

.scroll-cue {
  bottom: 0;
  height: 70px;
  left: 50%;
  position: absolute;
  width: 1px;
  z-index: 3;
}

.scroll-cue::before,
.scroll-cue span {
  content: "";
  left: 0;
  position: absolute;
  width: 1px;
}

.scroll-cue::before {
  background: rgba(255, 255, 255, 0.3);
  height: 70px;
}

.scroll-cue span {
  animation: scroll 2s ease-in-out infinite;
  background: white;
  height: 28px;
  top: 0;
}

@keyframes scroll {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.section {
  padding: 120px clamp(24px, 8vw, 128px);
}

.section-label {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #747765;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 22px;
  letter-spacing: 0.16em;
  margin-bottom: 74px;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.section-label p {
  margin: 0;
}

.section-label span {
  color: var(--ember);
}

.section-label--dark {
  border-color: rgba(255, 255, 255, 0.15);
  color: #a8ab9f;
}

.problem {
  background:
    radial-gradient(circle at 82% 40%, rgba(197, 174, 132, 0.13), transparent 28%),
    var(--paper);
  min-height: 1000px;
}

.problem__copy {
  margin-left: 8%;
  max-width: 850px;
}

h2 {
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin-bottom: 30px;
}

.lead {
  color: #55574e;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.7;
  max-width: 680px;
}

.scatter {
  height: 380px;
  margin: 95px auto 0;
  max-width: 1080px;
  position: relative;
}

.memory {
  box-shadow: 0 24px 70px rgba(34, 31, 24, 0.16);
  position: absolute;
}

.memory--phone {
  background: #171916;
  border: 8px solid #272925;
  border-radius: 26px;
  color: white;
  left: 4%;
  padding: 30px 21px;
  top: 52px;
  transform: rotate(-7deg);
  width: 172px;
}

.memory--phone p,
.memory--phone span {
  color: #aaa99f;
  font-size: 9px;
  margin: 0;
  text-transform: uppercase;
}

.memory--phone strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  margin: 12px 0 0;
}

.memory--letter {
  background: #e8ddc5;
  color: #453c2f;
  left: 27%;
  padding: 35px 40px;
  top: 5px;
  transform: rotate(2deg);
  width: 280px;
}

.memory--letter p {
  font-family: "Segoe Script", cursive;
  font-size: 14px;
  line-height: 1.8;
  margin: 14px 0 24px;
}

.memory--letter em {
  font-size: 10px;
}

.memory--recipe {
  background: #f4eee1;
  border: 1px solid #d8ccb4;
  left: 53%;
  padding: 30px 34px;
  top: 95px;
  transform: rotate(-3deg);
  width: 245px;
}

.memory--recipe::before {
  border-top: 1px solid #d5c9b4;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 19px;
}

.memory--recipe p {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 4px;
}

.memory--recipe span {
  color: #876f55;
  font-size: 10px;
}

.memory--drive {
  background: #3b3d39;
  border-radius: 5px;
  color: white;
  padding: 28px 28px;
  right: 3%;
  top: 15px;
  transform: rotate(6deg);
  width: 250px;
}

.memory--drive p {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin: 12px 0 5px;
}

.memory--drive small {
  color: #aaa;
  font-size: 9px;
}

.drive-dot {
  background: #a7b587;
  border-radius: 50%;
  display: block;
  height: 7px;
  width: 7px;
}

.scatter__caption {
  bottom: 5px;
  color: #737567;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.digital-home {
  background: #20221e;
  color: white;
  padding: 120px clamp(24px, 8vw, 128px) 140px;
  position: relative;
}

.digital-home::before,
.ownership__texture {
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.018) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.018) 87.5%),
    linear-gradient(150deg, rgba(255,255,255,.018) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.018) 87.5%);
  background-size: 34px 60px;
  content: "";
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
}

.digital-home__inner {
  position: relative;
}

.digital-home__statement {
  margin-left: 8%;
  max-width: 940px;
}

.digital-home__statement h2 {
  color: #f0ede4;
}

.digital-home__grid {
  display: grid;
  gap: clamp(45px, 7vw, 110px);
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: 80px;
}

.hearth-window {
  align-items: flex-end;
  background:
    linear-gradient(0deg, rgba(21, 20, 16, 0.88), transparent 65%),
    url("public/rootslanding-hearth.png") center 66% / cover;
  display: flex;
  min-height: 600px;
  overflow: hidden;
  padding: 46px;
  position: relative;
}

.hearth-window::after {
  border: 1px solid rgba(255,255,255,.18);
  content: "";
  inset: 18px;
  position: absolute;
}

.hearth-window__glow {
  background: radial-gradient(circle, rgba(221, 119, 49, 0.35), transparent 65%);
  height: 380px;
  left: 50%;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 380px;
}

blockquote {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 27px);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.home-copy {
  align-self: center;
}

.home-copy > p:first-child {
  color: #c8c8bd;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.75;
}

.preserves {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 44px;
}

.preserves span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #deddd5;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 9px 12px;
  text-transform: uppercase;
}

.home-copy__footnote {
  border-left: 1px solid var(--ember);
  color: #a7a99f;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 4px 0 4px 18px;
}

.process {
  background: var(--paper);
}

.process__heading,
.comparison__heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.5fr 0.7fr;
  margin-left: 8%;
}

.process__heading > p,
.comparison__heading > p {
  color: #66695d;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 420px;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 80px 0 0;
  padding: 0;
}

.steps li {
  border-left: 1px solid var(--line);
  min-height: 340px;
  padding: 24px clamp(20px, 2.4vw, 38px);
  position: relative;
}

.steps li:last-child {
  border-right: 1px solid var(--line);
}

.step-number {
  color: #999c8c;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.step-symbol {
  align-items: center;
  border: 1px solid #a4a997;
  border-radius: 50%;
  display: flex;
  height: 50px;
  justify-content: center;
  margin: 43px 0 37px;
  width: 50px;
}

.step-symbol span {
  background: var(--ember);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.steps h3,
.principles h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 16px;
}

.steps p,
.principles p {
  color: #6b6e63;
  font-size: 13px;
  line-height: 1.8;
}

.ownership {
  background: #30342e;
  color: white;
  overflow: hidden;
  padding: 120px clamp(24px, 8vw, 128px);
  position: relative;
}

.ownership__texture {
  opacity: .65;
}

.ownership__content {
  position: relative;
  z-index: 1;
}

.ownership__headline {
  margin-left: 8%;
  max-width: 810px;
}

.ownership__headline h2 {
  color: #f2eee4;
}

.ownership__intro {
  color: #c7c9c0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  margin: 40px 0 0 8%;
  max-width: 710px;
}

.principles {
  border-bottom: 1px solid rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 76px;
}

.principles article {
  padding: 45px clamp(25px, 3.5vw, 55px);
}

.principles article + article {
  border-left: 1px solid rgba(255,255,255,.14);
}

.principle-icon {
  color: var(--gold);
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 22px;
}

.principles h3 {
  color: white;
}

.principles p {
  color: #b9bcb2;
}

.ownership__promise {
  color: #d3d4cb;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  margin: 42px 0 0;
  text-align: center;
}

.comparison {
  background: #ede7d9;
}

.table-wrap {
  margin-top: 75px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgba(46, 48, 40, .16);
  padding: 21px 17px;
  text-align: center;
}

thead th {
  color: #717467;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

thead th:first-child,
tbody th {
  text-align: left;
}

tbody th {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

tbody td {
  color: #7e8174;
  font-size: 12px;
}

.roots-col {
  background: rgba(74, 86, 66, .09);
  color: #394235 !important;
  font-weight: 700;
}

thead .roots-col {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: none;
}

.check {
  color: var(--ember);
  margin-right: 6px;
}

.legacy {
  color: white;
  min-height: 850px;
  overflow: hidden;
  padding: 140px clamp(24px, 8vw, 128px);
  position: relative;
}

.legacy__photo {
  background-position: 68% center;
  filter: saturate(.75);
}

.legacy__fade {
  background: linear-gradient(90deg, rgba(19,21,18,.96) 0%, rgba(19,21,18,.8) 45%, rgba(19,21,18,.2) 80%);
  inset: 0;
  position: absolute;
}

.legacy__content {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.legacy h2 {
  color: #f3f0e8;
  font-size: clamp(48px, 5.7vw, 82px);
}

.legacy__content > p:not(.eyebrow) {
  color: #d1d0c8;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
  max-width: 600px;
}

.button--parchment {
  background: var(--parchment);
  color: var(--charcoal);
  margin-top: 30px;
}

.button--parchment:hover,
.button--parchment:focus-visible {
  background: white;
}

.legacy small {
  color: #aaa99f;
  display: block;
  font-size: 10px;
  letter-spacing: .08em;
  margin-top: 20px;
}

footer {
  align-items: center;
  background: #171916;
  color: white;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr auto;
  padding: 65px clamp(24px, 8vw, 128px);
}

.brand--footer {
  font-size: 19px;
}

footer > p {
  color: #989c90;
  font-family: var(--serif);
  font-size: 14px;
  margin: 0;
  text-align: center;
}

footer > div {
  display: flex;
  font-size: 9px;
  gap: 25px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer > small {
  border-top: 1px solid rgba(255,255,255,.1);
  color: #777b71;
  font-size: 9px;
  grid-column: 1 / -1;
  letter-spacing: .09em;
  padding-top: 25px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .digital-home__grid,
  .process__heading,
  .comparison__heading {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .steps li:nth-child(4) {
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .scatter {
    transform: scale(.88);
    transform-origin: center top;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article + article {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 70px;
  }

  .header-cta {
    border: 0;
    font-size: 0;
    padding: 8px;
  }

  .header-cta span {
    font-size: 18px;
  }

  .hero {
    min-height: 850px;
  }

  .hero__veil {
    background: linear-gradient(90deg, rgba(17,19,16,.92), rgba(17,19,16,.48)), linear-gradient(0deg, rgba(12,13,11,.85), transparent 50%);
  }

  .hero__content {
    margin: 0;
    padding: 160px 24px 110px;
  }

  .hero__intro {
    font-size: 18px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__note {
    bottom: 24px;
    left: 24px;
    right: auto;
  }

  .scroll-cue {
    display: none;
  }

  .section,
  .digital-home,
  .ownership {
    padding: 85px 24px;
  }

  .section-label {
    margin-bottom: 55px;
  }

  .problem {
    min-height: auto;
  }

  .problem__copy,
  .digital-home__statement,
  .process__heading,
  .comparison__heading,
  .ownership__headline,
  .ownership__intro {
    margin-left: 0;
  }

  .scatter {
    display: grid;
    gap: 14px;
    height: auto;
    margin-top: 60px;
    transform: none;
  }

  .memory {
    left: auto;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  .memory--phone {
    border-radius: 10px;
  }

  .scatter__caption {
    left: auto;
    margin: 15px 0 0;
    position: relative;
    text-align: center;
    transform: none;
  }

  .hearth-window {
    min-height: 470px;
    padding: 34px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li:nth-child(3),
  .steps li:nth-child(4) {
    border: 0;
    border-top: 1px solid var(--line);
    min-height: auto;
    padding: 34px 10px 38px;
  }

  .steps li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .step-symbol {
    margin: 26px 0 22px;
  }

  .principles article {
    padding: 38px 10px;
  }

  .legacy {
    min-height: 830px;
    padding: 100px 24px;
  }

  .legacy__fade {
    background: rgba(19,21,18,.74);
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .brand,
  footer > div {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
