:root {
  --paper: #f3eadc;
  --ink: #423021;
  --line: #cec0ab;
  --focus: #9c543a;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
.t-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
}
.t-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 48px 28px;
  display: flex;
  flex-direction: column;
  background: #e1d2bb;
  border-right: 1px solid var(--line);
}
.t-logo {
  font:
    65px/0.8 "Playfair Display",
    serif;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.t-logo em {
  font-weight: 400;
  color: #9b563a;
}
.t-side-caption {
  font-size: 8px;
  letter-spacing: 0.17em;
  margin: 25px 0 55px;
}
.t-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 11px;
}
.t-sidebar > button {
  text-align: left;
  font-size: 11px;
  margin-top: 25px;
}
.t-sidebar > .t-bag {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.t-sidebar > .demo-link {
  margin-top: 25px;
  font-size: 9px;
}
.t-content {
  min-width: 0;
}
.t-ground {
  padding: 60px 5vw 0;
}
.t-label {
  font-size: 9px;
  letter-spacing: 0.17em;
  font-weight: 600;
}
.t-ground h1 {
  font:
    clamp(65px, 7vw, 108px)/0.94 "Playfair Display",
    serif;
  font-weight: 400;
  letter-spacing: -0.06em;
  margin: 30px 0;
}
.t-ground h1 em {
  font-weight: 400;
  color: #9b563a;
}
.t-ground-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 20px;
}
.t-ground-copy > .t-label,
.t-ground-copy > h1 {
  grid-column: 1/-1;
}
.t-ground-copy > p:not(.t-label) {
  font-size: 13px;
  line-height: 1.8;
}
.t-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 16px 24px;
  font-size: 12px;
  min-height: 48px;
}
.t-button:disabled {
  opacity: 0.45;
}
.t-ground-copy > .t-button {
  align-self: center;
}
.t-campaign {
  position: relative;
  height: 420px;
  margin-top: 25px;
  overflow: hidden;
}
.t-campaign img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.t-campaign span {
  position: absolute;
  bottom: 25px;
  right: 25px;
  font-size: 9px;
  letter-spacing: 0.18em;
  background: #f3eadcd9;
  padding: 12px 15px;
}
.t-spectrum {
  display: flex;
  height: 25px;
}
.t-spectrum i {
  flex: 1;
}
.t-match {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5vw;
  padding: 90px 5vw;
}
.t-match-intro h2 {
  font:
    clamp(42px, 4vw, 68px)/1.08 "Playfair Display",
    serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 28px 0;
}
.t-match-intro h2 em {
  font-weight: 400;
  color: #9b563a;
}
.t-match-intro p {
  line-height: 1.8;
  font-size: 13px;
  max-width: 310px;
}
.t-match-intro .disclaimer {
  font-size: 10px;
}
.t-shade-tool {
  background: #e5d8c2;
  padding: 32px;
  align-self: start;
  border: 1px solid #c7b596;
  min-height: 480px;
}
.t-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.t-step-top progress {
  width: 80px;
  height: 4px;
  accent-color: #9b563a;
}
.t-shade-tool h3 {
  font:
    30px "Playfair Display",
    serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.t-shade-tool p {
  font-size: 12px;
  line-height: 1.8;
}
.t-depth-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 32px 0;
}
.t-depth-options button {
  padding: 8px 4px;
  border: 1px solid transparent;
  background: none;
}
.t-depth-options button[aria-pressed="true"] {
  border-color: var(--ink);
}
.t-depth-options i {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
}
.t-depth-options span {
  text-transform: capitalize;
  display: block;
  font-size: 10px;
  margin-top: 14px;
}
.t-shade-tool .t-button {
  width: 100%;
  font-size: 11px;
  padding-inline: 12px;
}
.t-undertones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 30px;
}
.t-undertones button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 1px solid #b9a88e;
  padding: 14px;
  font-size: 11px;
}
.t-undertones button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.t-undertones button span {
  font-size: 10px;
}
.t-step-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.t-text-button {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  background: none;
  font-size: 11px;
  width: fit-content;
}
.t-match-swatch {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 25px;
  background: #b7835c;
}
#restart-shade {
  margin-top: 18px;
}
.t-collection {
  padding: 20px 5vw 80px;
}
.t-collection-heading {
  border-top: 1px solid var(--line);
  padding-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 40px;
}
.t-collection h2 {
  font:
    38px "Playfair Display",
    serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 20px 0 0;
}
.t-collection-heading > p {
  font-size: 12px;
}
.t-product {
  display: grid;
  grid-template-columns: 30px 170px 1fr auto;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.t-product-number {
  font:
    20px "Playfair Display",
    serif;
  align-self: start;
}
.t-product .photo-card {
  height: 185px;
}
.t-product img {
  transform: scale(1.4);
  object-position: var(--position);
}
.t-product h3 {
  font:
    30px "Playfair Display",
    serif;
  font-weight: 400;
  margin: 10px 0;
}
.t-product p:not(.t-label) {
  font-size: 12px;
  line-height: 1.8;
  max-width: 330px;
  margin-bottom: 0;
}
.t-product > button {
  font-size: 11px;
}
.t-notes {
  background: #a06447;
  color: #fff3e4;
  padding: 75px 5vw;
}
.t-notes h2 {
  font:
    clamp(45px, 5vw, 74px)/1.07 "Playfair Display",
    serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 30px 0 40px;
}
.t-note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
}
.t-note-grid p {
  font-size: 13px;
  line-height: 1.9;
}
.t-note-grid details {
  border-top: 1px solid #d7ab8c;
  padding: 18px 0;
}
.t-note-grid summary {
  font-size: 12px;
  cursor: pointer;
}
.t-note-grid details p {
  margin: 15px 0 0;
  font-size: 12px;
}
@media (max-width: 1050px) {
  .t-shell {
    grid-template-columns: 180px 1fr;
  }
  .t-sidebar {
    padding: 35px 20px;
  }
  .t-logo {
    font-size: 55px;
  }
  .t-sidebar nav {
    font-size: 10px;
  }
  .t-ground h1 {
    font-size: 75px;
  }
  .t-match {
    gap: 3vw;
  }
  .t-shade-tool {
    padding: 25px 20px;
  }
  .t-product {
    grid-template-columns: 25px 120px 1fr;
    gap: 18px;
  }
  .t-product > button {
    grid-column: 3;
    justify-self: start;
  }
  .t-product .photo-card {
    grid-row: span 2;
  }
}
@media (max-width: 760px) {
  .t-shell {
    grid-template-columns: 1fr;
  }
  .t-sidebar {
    position: static;
    height: auto;
    padding: 22px 5vw;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }
  .t-logo {
    font-size: 34px;
    line-height: 0.85;
  }
  .t-logo br {
    display: none;
  }
  .t-side-caption,
  .t-sidebar > .demo-link,
  .t-sidebar > button[data-search] {
    display: none;
  }
  .t-sidebar nav {
    grid-column: 1/-1;
    grid-row: 2;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    font-size: 9px;
  }
  .t-sidebar > .t-bag {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    border: 0;
    padding: 0;
  }
  .t-ground {
    padding-top: 45px;
  }
  .t-ground h1 {
    font-size: 18vw;
  }
  .t-ground-copy {
    grid-template-columns: 1fr;
  }
  .t-ground-copy > .t-button {
    justify-self: start;
  }
  .t-campaign {
    height: 350px;
  }
  .t-campaign span {
    font-size: 7px;
    right: 12px;
    bottom: 15px;
  }
  .t-match {
    grid-template-columns: 1fr;
    padding: 60px 6vw;
    gap: 25px;
  }
  .t-match-intro h2 {
    font-size: 48px;
  }
  .t-match-intro h2 br {
    display: none;
  }
  .t-match-intro p {
    max-width: none;
  }
  .t-shade-tool {
    padding: 28px;
    min-height: 440px;
  }
  .t-product {
    grid-template-columns: 22px 90px 1fr;
    gap: 14px;
  }
  .t-product .photo-card {
    height: 155px;
  }
  .t-product h3 {
    font-size: 24px;
  }
  .t-product p:not(.t-label) {
    font-size: 11px;
  }
  .t-collection-heading {
    flex-direction: column;
    align-items: start;
  }
  .t-collection h2 {
    font-size: 32px;
  }
  .t-note-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .t-notes h2 {
    font-size: 43px;
  }
  .t-sidebar nav a {
    line-height: 1.6;
  }
  .t-step-actions {
    gap: 12px;
  }
}
