:root {
  --paper: #f1eee6;
  --paper-bright: #faf8f3;
  --ink: #20221f;
  --moss: #6c715f;
  --clay: #cbbca8;
  --walnut: #6f4938;
  --mineral: #d9d9d2;
  --line: rgba(32, 34, 31, 0.2);
  --light-line: rgba(255, 255, 255, 0.2);
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: white;
  mix-blend-mode: difference;
  pointer-events: none;
}

.topbar a {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
}

.topbar-meta {
  display: flex;
  gap: 22px;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.slide {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  padding: clamp(88px, 10vh, 118px) 8vw clamp(60px, 8vh, 92px);
}

.slide h1,
.slide h2,
.slide h3,
.slide p {
  margin-top: 0;
}

.slide h1,
.slide h2,
.slide h3 {
  font-family: var(--serif);
  font-weight: 400;
}

.slide h2 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--walnut);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #e4d3bc;
}

.lede {
  max-width: 660px;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.52;
  letter-spacing: -0.02em;
}

.light-muted {
  color: rgba(255, 255, 255, 0.7);
}

.button-row,
.button-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button-stack {
  flex-direction: column;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: var(--paper-bright);
}

.button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-outline {
  border-color: var(--ink);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link.light {
  color: white;
}

.slide-hero {
  padding: 0;
  color: white;
  background: #30302d;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: 54% 54%;
  filter: saturate(0.76) contrast(0.94);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(26, 25, 22, 0.84) 0%, rgba(26, 25, 22, 0.42) 48%, rgba(26, 25, 22, 0.1) 74%),
    linear-gradient(0deg, rgba(20, 20, 18, 0.36), transparent 50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(750px, 80vw);
  padding: 20vh 0 0 9vw;
}

.hero-copy h1 {
  margin-bottom: 30px;
  font-size: clamp(64px, 8.8vw, 142px);
  line-height: 0.86;
  letter-spacing: -0.065em;
}

.hero-deck {
  max-width: 560px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 1.7vw, 28px);
  line-height: 1.4;
}

.image-credit {
  position: absolute;
  right: 5vw;
  bottom: 3.5vh;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide-paper {
  background: var(--paper);
}

.slide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 8vw;
  align-items: center;
  min-height: calc(100svh - 180px);
}

.fit-intro .lede {
  margin-bottom: 0;
}

.fit-figure {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  min-height: 480px;
  border-left: 1px solid var(--line);
}

.height-line {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 440px;
}

.height-person {
  position: absolute;
  bottom: 33px;
  width: 88px;
  height: 308px;
  border: 2px solid var(--ink);
  border-radius: 50px 50px 18px 18px;
  clip-path: polygon(25% 0, 75% 0, 80% 12%, 69% 25%, 77% 48%, 65% 55%, 63% 100%, 51% 100%, 48% 60%, 42% 100%, 30% 100%, 28% 55%, 17% 48%, 25% 25%, 20% 12%);
  background: var(--moss);
}

.height-rule {
  position: absolute;
  top: 20px;
  right: 6px;
  bottom: 32px;
  width: 1px;
  background: var(--ink);
}

.height-rule::before,
.height-rule::after {
  content: "";
  position: absolute;
  right: -5px;
  width: 11px;
  height: 1px;
  background: var(--ink);
}

.height-rule::before { top: 0; }
.height-rule::after { bottom: 0; }

.height-number {
  position: absolute;
  right: 22px;
  top: 36%;
  font-family: var(--serif);
  font-size: 58px;
  letter-spacing: -0.05em;
}

.height-unit {
  position: absolute;
  right: 25px;
  top: calc(36% + 62px);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.fit-notes {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fit-notes > div {
  padding: 26px 0 26px 34px;
  border-bottom: 1px solid var(--line);
}

.fit-value,
.fit-label {
  display: block;
}

.fit-value {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 48px);
  letter-spacing: -0.04em;
}

.fit-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide-footnote {
  position: absolute;
  right: 8vw;
  bottom: 38px;
  left: 8vw;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: rgba(32, 34, 31, 0.62);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.slide-dark {
  color: white;
  background: #1e211d;
  display: grid;
  grid-template-columns: minmax(440px, 0.82fr) minmax(520px, 1.18fr);
  gap: 4vw;
  align-items: center;
}

.recommendation-copy {
  position: relative;
  z-index: 3;
}

.recommendation-copy h2 {
  font-size: clamp(48px, 5.6vw, 86px);
}

.spec-list {
  max-width: 650px;
  margin: 34px 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.light-list > div {
  border-color: var(--light-line);
}

.light-list dt {
  color: rgba(255, 255, 255, 0.55);
}

.product-stage {
  position: relative;
  height: min(70vh, 680px);
  border-radius: 180px 180px 20px 20px;
  background: #d8d5cd;
  overflow: hidden;
}

.desk-image {
  position: absolute;
  width: 96%;
  right: -7%;
  bottom: 13%;
  mix-blend-mode: multiply;
}

.chair-image {
  position: absolute;
  z-index: 2;
  width: 39%;
  left: 6%;
  bottom: 5%;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.stage-caption {
  position: absolute;
  z-index: 3;
  top: 34px;
  left: 46px;
  color: rgba(32, 34, 31, 0.68);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.slide-clay {
  display: grid;
  grid-template-columns: minmax(380px, 0.85fr) minmax(520px, 1.15fr);
  gap: 8vw;
  align-items: center;
  background: #cec0ae;
}

.chair-portrait {
  height: min(72vh, 720px);
  border-radius: 48% 48% 8px 8px;
  background: #dad0c1;
  overflow: hidden;
}

.chair-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.chair-copy .lede {
  max-width: 720px;
}

.decision-note {
  max-width: 680px;
  margin: 0 0 30px;
  padding: 18px 22px;
  border-left: 3px solid var(--walnut);
  background: rgba(255, 255, 255, 0.18);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

.slide-mineral {
  display: grid;
  grid-template-columns: minmax(480px, 1fr) minmax(420px, 0.8fr);
  gap: 6vw;
  align-items: center;
  background: var(--mineral);
}

.aeron-copy {
  position: relative;
  z-index: 2;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 34px 0 24px;
}

.price {
  font-family: var(--serif);
  font-size: clamp(34px, 3vw, 52px);
  letter-spacing: -0.04em;
}

.price-context {
  color: rgba(32, 34, 31, 0.6);
  font-size: 11px;
}

.spec-list.compact {
  margin-top: 0;
}

.aeron-image-wrap {
  position: relative;
  height: min(78vh, 760px);
  display: grid;
  place-items: center;
}

.aeron-image-wrap img {
  position: relative;
  z-index: 2;
  width: min(92%, 580px);
  max-height: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.aeron-letter {
  position: absolute;
  left: -3vw;
  bottom: -9vh;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--serif);
  font-size: min(58vw, 760px);
  line-height: 0.8;
}

.comparison-heading h2 {
  max-width: 1000px;
  font-size: clamp(42px, 4.8vw, 72px);
}

.desk-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  margin-top: 4vh;
}

.desk-column {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 22px;
  align-items: start;
}

.desk-visual {
  grid-column: 1 / -1;
  height: min(28vh, 255px);
  margin-bottom: 22px;
  overflow: hidden;
  background: #ddd9d0;
}

.desk-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.option-number {
  margin: 5px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.desk-column h3 {
  margin-bottom: 10px;
  font-size: clamp(25px, 2.4vw, 38px);
  letter-spacing: -0.035em;
}

.desk-column > p:not(.option-number),
.desk-column ul {
  grid-column: 2;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.5;
}

.desk-column ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.desk-column li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.slide-ink {
  color: white;
  background: #242621;
}

.package-heading {
  display: flex;
  align-items: baseline;
  gap: 5vw;
  margin-bottom: 6vh;
}

.package-heading h2 {
  margin: 0;
  font-size: clamp(46px, 5.5vw, 82px);
}

.package-list {
  border-top: 1px solid var(--light-line);
}

.package-row {
  display: grid;
  grid-template-columns: 70px 1.25fr 0.85fr 150px;
  gap: 30px;
  align-items: center;
  min-height: 132px;
  border-bottom: 1px solid var(--light-line);
}

.recommended-row {
  color: #1d201c;
  background: #d6c6af;
  margin: 0 -3vw;
  padding: 0 3vw;
  border: 0;
}

.package-rank {
  font-family: var(--serif);
  font-size: 45px;
}

.package-name h3 {
  margin: 0 0 7px;
  font-size: 28px;
}

.package-name p,
.package-reason,
.package-budget {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.recommended-row .package-name p,
.recommended-row .package-reason,
.recommended-row .package-budget {
  color: rgba(29, 32, 28, 0.66);
}

.package-budget {
  text-align: right;
  font-family: var(--serif);
  font-size: 20px;
  color: white;
}

.recommended-row .package-budget {
  color: var(--ink);
}

.package-note {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.slide-action {
  display: grid;
  grid-template-columns: minmax(540px, 1.2fr) minmax(350px, 0.8fr);
  gap: 8vw;
  align-items: center;
  background: #eee9de;
}

.action-main h2 {
  font-size: clamp(44px, 5.2vw, 78px);
}

.action-steps {
  max-width: 760px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.action-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.action-steps span {
  color: var(--walnut);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.action-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.action-card {
  padding: clamp(36px, 4vw, 66px);
  border-radius: 50% 50% 12px 12px;
  background: #d3c2aa;
}

.action-card-kicker {
  margin-bottom: 42px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.action-card h3 {
  margin-bottom: 26px;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.action-card > p:not(.action-card-kicker) {
  margin-bottom: 34px;
  font-size: 14px;
  line-height: 1.55;
}

.slide-sources {
  color: white;
  background: #1c1d1a;
  display: grid;
  align-items: center;
}

.sources-copy h2 {
  max-width: 900px;
}

.source-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  margin-top: 7vh;
}

.source-columns ol {
  margin: 0;
  padding-left: 24px;
}

.source-columns li {
  padding: 13px 0 13px 8px;
  border-top: 1px solid var(--light-line);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.source-columns a {
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}

.sources-note {
  max-width: 800px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  line-height: 1.5;
}

.slide-nav {
  position: fixed;
  z-index: 40;
  right: 24px;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
  color: white;
  mix-blend-mode: difference;
}

.nav-arrow,
.nav-dot {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-arrow {
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 16px;
}

.nav-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-dot {
  position: relative;
  width: 14px;
  height: 14px;
  padding: 0;
}

.nav-dot::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: inset 160ms ease, background 160ms ease;
}

.nav-dot.active::before {
  inset: 1px;
  background: currentColor;
}

.progress {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(128, 128, 128, 0.2);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #b28c68;
  transition: width 180ms ease;
}

.keyboard-hint {
  position: fixed;
  z-index: 40;
  right: 5vw;
  bottom: 22px;
  color: white;
  mix-blend-mode: difference;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .slide {
    min-height: auto;
    padding: 100px 7vw 72px;
  }

  .slide-grid,
  .slide-dark,
  .slide-clay,
  .slide-mineral,
  .slide-action {
    grid-template-columns: 1fr;
  }

  .slide-hero {
    min-height: 100svh;
  }

  .fit-figure {
    min-height: 400px;
  }

  .product-stage,
  .chair-portrait,
  .aeron-image-wrap {
    height: 58vh;
    min-height: 460px;
  }

  .slide-dark,
  .slide-clay,
  .slide-mineral,
  .slide-action {
    gap: 58px;
  }

  .package-row {
    grid-template-columns: 50px 1fr 130px;
  }

  .package-reason {
    display: none;
  }
}

@media (min-width: 1001px) and (max-height: 820px) {
  .slide {
    height: 100svh;
    min-height: 0;
    padding-top: 76px;
    padding-bottom: 34px;
  }

  .slide h2,
  .recommendation-copy h2,
  .comparison-heading h2,
  .action-main h2 {
    font-size: clamp(42px, 4.5vw, 64px);
  }

  .eyebrow {
    margin-bottom: 13px;
  }

  .lede {
    font-size: 18px;
    line-height: 1.42;
  }

  .slide-grid {
    min-height: calc(100svh - 122px);
  }

  .slide-dark,
  .slide-clay,
  .slide-mineral {
    gap: 5vw;
  }

  .spec-list {
    margin: 20px 0;
  }

  .spec-list > div {
    padding: 9px 0;
  }

  .product-stage,
  .chair-portrait,
  .aeron-image-wrap {
    height: calc(100svh - 120px);
  }

  .stage-caption {
    top: 24px;
    left: 36px;
  }

  .chair-copy .lede {
    margin-bottom: 14px;
  }

  .decision-note {
    margin-bottom: 16px;
    padding: 11px 18px;
    font-size: 14px;
  }

  .price-line {
    margin: 20px 0 14px;
  }

  .comparison-heading h2 {
    max-width: 940px;
    margin-bottom: 14px;
  }

  .desk-comparison {
    margin-top: 2vh;
  }

  .desk-visual {
    height: 190px;
    margin-bottom: 14px;
  }

  .desk-column h3 {
    font-size: 29px;
  }

  .desk-column > p:not(.option-number),
  .desk-column ul {
    font-size: 12px;
    line-height: 1.38;
  }

  .desk-column li {
    padding: 5px 0;
  }

  .package-heading {
    margin-bottom: 4vh;
  }

  .action-steps {
    margin-top: 24px;
  }

  .action-steps li {
    padding: 10px 0;
  }

  .source-columns {
    margin-top: 4vh;
  }
}

@media (max-width: 680px) {
  html {
    scroll-snap-type: none;
  }

  .topbar {
    padding: 0 20px;
  }

  .topbar-meta span:nth-child(2),
  .topbar-meta span:nth-child(3),
  .brand-copy,
  .keyboard-hint,
  .slide-nav {
    display: none;
  }

  .slide {
    padding: 90px 24px 64px;
  }

  .hero-copy {
    width: auto;
    padding: 25vh 24px 0;
  }

  .hero-copy h1 {
    font-size: clamp(57px, 19vw, 84px);
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(26, 25, 22, 0.82), rgba(26, 25, 22, 0.18));
  }

  .fit-figure {
    grid-template-columns: 1fr;
    border: 0;
  }

  .height-line {
    min-height: 360px;
  }

  .fit-notes > div {
    padding-left: 0;
  }

  .slide-footnote {
    position: static;
    margin-top: 38px;
    flex-direction: column;
  }

  .product-stage {
    min-height: 370px;
    border-radius: 100px 100px 12px 12px;
  }

  .chair-portrait,
  .aeron-image-wrap {
    min-height: 420px;
  }

  .spec-list > div {
    grid-template-columns: 105px 1fr;
  }

  .desk-comparison,
  .source-columns {
    grid-template-columns: 1fr;
  }

  .desk-comparison {
    gap: 54px;
  }

  .package-heading {
    display: block;
  }

  .package-row {
    grid-template-columns: 36px 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .recommended-row {
    margin: 0 -14px;
    padding: 24px 14px;
  }

  .package-budget {
    grid-column: 2;
    text-align: left;
  }

  .action-card {
    border-radius: 130px 130px 12px 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
