:root {
  --v18-ink: #19231d;
  --v18-forest: #263a30;
  --v18-paper: #f3f0e8;
  --v18-sand: #ded5c4;
  --v18-copper: #9d5a43;
  --v18-line: rgba(25, 35, 29, 0.18);
}

.v18-choice {
  background: var(--v18-paper);
  color: var(--v18-ink);
  padding: clamp(72px, 9vw, 132px) clamp(24px, 5vw, 80px);
}

.v18-choice__intro,
.v18-lineup__heading,
.v18-spaces__heading,
.v18-reasons__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: end;
  max-width: 1440px;
  margin: 0 auto clamp(38px, 5vw, 72px);
}

.v18-choice__intro h2,
.v18-lineup__heading h2,
.v18-spaces__heading h2,
.v18-reasons__heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.v18-choice__intro > p,
.v18-lineup__heading > p,
.v18-spaces__heading > p,
.v18-reasons__heading > p {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.75;
  color: rgba(25, 35, 29, 0.72);
}

.v18-choice__routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid var(--v18-line);
  border-left: 1px solid var(--v18-line);
}

.v18-route-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid var(--v18-line);
  border-bottom: 1px solid var(--v18-line);
  background: rgba(255, 255, 255, 0.22);
  transition: background 220ms ease, color 220ms ease;
}

.v18-route-card:hover,
.v18-route-card:focus-visible {
  color: #f7f3ea;
  background: var(--v18-forest);
}

.v18-route-card figure {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #d8d2c6;
}

.v18-route-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}

.v18-route-card:hover img,
.v18-route-card:focus-visible img {
  transform: scale(1.025);
}

.v18-route-card__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 28px;
  align-items: end;
  padding: clamp(26px, 4vw, 52px);
}

.v18-route-card__copy small {
  display: block;
  grid-column: 1 / -1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.68;
}

.v18-route-card__copy h3 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.v18-route-card__copy span {
  align-self: center;
  font-size: 1.4rem;
}

.v18-lineup {
  background: #e7e0d2;
  color: var(--v18-ink);
  padding: clamp(72px, 10vw, 144px) clamp(24px, 5vw, 80px);
}

.v18-lineup__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--v18-line);
  border: 1px solid var(--v18-line);
}

.v18-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(26px, 3.3vw, 48px);
  background: #f4f0e7;
}

.v18-product-card__context {
  margin: 0 0 28px;
  color: rgba(25, 35, 29, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v18-product-card__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  margin: 0 0 clamp(28px, 3vw, 42px);
  overflow: hidden;
  background: #dfe4ea;
}

.v18-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

.v18-product-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.v18-product-card > p:not(.v18-product-card__context) {
  min-height: 5.2em;
  margin: 0 0 28px;
  color: rgba(25, 35, 29, 0.72);
  line-height: 1.7;
}

.v18-product-card dl {
  margin: auto 0 30px;
  border-top: 1px solid var(--v18-line);
}

.v18-product-card dl div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--v18-line);
}

.v18-product-card dt {
  color: rgba(25, 35, 29, 0.55);
}

.v18-product-card dd {
  margin: 0;
}

.v18-product-card a,
.v18-lineup__compare {
  color: inherit;
  text-underline-offset: 0.3em;
}

.v18-lineup__note {
  max-width: 1440px;
  margin: 24px auto 0;
  color: rgba(25, 35, 29, 0.62);
  font-size: 0.86rem;
  line-height: 1.7;
}

.v18-spaces {
  background: var(--v18-paper);
  color: var(--v18-ink);
  padding: clamp(78px, 10vw, 148px) clamp(24px, 5vw, 80px);
}

.v18-spaces__heading h2 em {
  color: #7d806c;
  font-style: normal;
}

.v18-spaces__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, .9fr);
  max-width: 1440px;
  height: clamp(620px, 52vw, 780px);
  margin: 0 auto;
  background: #e1ded4;
  border: 1px solid var(--v18-line);
}

.v18-spaces__visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #d8d6cf;
}

.v18-spaces__visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.v18-spaces__visual[data-space-variant="portrait"] img {
  object-position: center 68%;
}

.v18-spaces__visual figcaption {
  padding: 14px 18px;
  color: rgba(244, 240, 231, .92);
  background: var(--v18-forest);
  font-size: .8rem;
  letter-spacing: .08em;
}

.v18-spaces__detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(34px, 4.5vw, 66px);
  background: #efeadf;
}

.v18-spaces__meta {
  display: grid;
  gap: 26px;
  color: rgba(25, 35, 29, .58);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v18-spaces__meta span:first-child {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: .03em;
  color: #8f8168;
}

.v18-spaces__detail h3 {
  margin: clamp(38px, 5vw, 64px) 0 22px;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 1.25;
  letter-spacing: -.035em;
  font-weight: 500;
}

.v18-spaces__detail > p:not(.v18-spaces__status) {
  margin: 0;
  color: rgba(25, 35, 29, .68);
  line-height: 1.8;
}

.v18-spaces__palette {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.v18-spaces__palette > span {
  display: flex;
  gap: 10px;
}

.v18-spaces__palette i,
.v18-spaces__tabs em i {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(25, 35, 29, .12);
  background: var(--v18-space-color);
}

.v18-spaces__palette small {
  color: rgba(25, 35, 29, .52);
}

.v18-spaces__product {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-top: auto;
  padding-top: 34px;
  border-top: 1px solid var(--v18-line);
}

.v18-spaces__product > span {
  font-size: 1.05rem;
}

.v18-spaces__product strong {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font: 500 clamp(1.65rem, 2.3vw, 2.4rem)/1.1 Georgia, serif;
}

.v18-spaces__product strong small {
  margin-top: 6px;
  color: rgba(25, 35, 29, .5);
  font: 400 .65rem/1.3 sans-serif;
  letter-spacing: .08em;
}

.v18-spaces__status {
  margin: 10px 0 0;
  color: rgba(25, 35, 29, .54);
  font-size: .75rem;
  line-height: 1.6;
}

.v18-spaces__link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, 230px);
  margin-top: 30px;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
}

.v18-spaces__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  max-width: 1440px;
  margin: 40px auto 0;
}

.v18-spaces__tabs button {
  min-width: 0;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--v18-line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.v18-spaces__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  overflow: hidden;
  background: #dbd8cf;
}

.v18-spaces__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(.94);
  transition: filter 180ms ease;
}

.v18-spaces__tabs button[data-v18-space="classic"] .v18-spaces__thumb img,
.v18-spaces__tabs button[data-v18-space="oak"] .v18-spaces__thumb img {
  transform: scale(1.06);
  transform-origin: 58% 82%;
}

.v18-spaces__tabs button[data-v18-space="walnut"] .v18-spaces__thumb img {
  object-position: center 90%;
  transform: translateY(10%) scale(1.17);
  transform-origin: 30% 84%;
}

.v18-spaces__tabs button[data-v18-space="grey"] .v18-spaces__thumb img {
  transform: scale(1.12);
  transform-origin: 43% 83%;
}

.v18-spaces__tabs button[data-v18-space="east"] .v18-spaces__thumb img {
  transform: translateY(26.5%) scale(3.45);
  transform-origin: 55% 57%;
}

.v18-spaces__tabs button:hover img,
.v18-spaces__tabs button:focus-visible img,
.v18-spaces__tabs button[aria-selected="true"] img {
  filter: none;
}

.v18-spaces__tabs button:focus-visible {
  outline: 2px solid var(--v18-copper);
  outline-offset: 5px;
}

.v18-spaces__tabs button[aria-selected="true"] {
  border-bottom-color: var(--v18-ink);
}

.v18-spaces__tabs strong,
.v18-spaces__tabs em {
  display: flex;
  align-items: center;
}

.v18-spaces__tabs strong {
  gap: 10px;
  font: 500 clamp(1rem, 1.4vw, 1.25rem)/1.45 var(--serif, serif);
}

.v18-spaces__tabs strong small {
  color: rgba(25, 35, 29, .5);
  font: 400 .7rem/1 sans-serif;
  letter-spacing: .08em;
}

.v18-spaces__tabs em {
  gap: 9px;
  margin-top: 10px;
  color: rgba(25, 35, 29, .55);
  font-size: .75rem;
  font-style: normal;
}

.v18-spaces__tabs em i {
  width: 12px;
  height: 12px;
}

.v18-spaces__disclosure {
  max-width: 1440px;
  margin: 24px auto 0;
  color: rgba(25, 35, 29, .58);
  font-size: .78rem;
  line-height: 1.75;
}

.v18-reasons {
  background: var(--v18-forest);
  color: #f4f0e7;
  padding: clamp(72px, 9vw, 128px) clamp(24px, 5vw, 80px);
}

.v18-reasons__heading > p {
  color: rgba(244, 240, 231, 0.7);
}

.v18-reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.22);
}

.v18-reasons__grid article {
  padding: 32px clamp(20px, 3vw, 44px) 12px 0;
  border-right: 1px solid rgba(255,255,255,.22);
}

.v18-reasons__grid article + article {
  padding-left: clamp(20px, 3vw, 44px);
}

.v18-reasons__grid article:last-child {
  border-right: 0;
}

.v18-reasons__grid h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
}

.v18-reasons__grid p {
  margin: 0;
  max-width: 30rem;
  color: rgba(244, 240, 231, 0.72);
  line-height: 1.75;
}

.v18-product-facts {
  padding: clamp(64px, 8vw, 112px) clamp(24px, 6vw, 96px);
  background: #f1ede4;
  color: #19231d;
}

.v18-product-facts__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: clamp(44px, 8vw, 140px);
  max-width: 1320px;
  margin: 0 auto;
}

.v18-product-facts h2 {
  margin: 10px 0 20px;
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.v18-product-facts__summary {
  max-width: 38rem;
  color: rgba(25, 35, 29, .72);
  line-height: 1.75;
}

.v18-product-facts dl {
  margin: 0;
  border-top: 1px solid var(--v18-line);
}

.v18-product-facts dl div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--v18-line);
}

.v18-product-facts dt {
  color: rgba(25, 35, 29, .56);
}

.v18-product-facts dd {
  margin: 0;
  line-height: 1.55;
}

.v18-product-facts__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 26px;
}

.v18-product-facts__links a {
  color: inherit;
  text-underline-offset: .3em;
}

.v18-integration-note {
  margin-top: 22px;
  font-size: .82rem;
  line-height: 1.65;
  color: rgba(25, 35, 29, .58);
}

@media (max-width: 900px) {
  .v18-choice__intro,
  .v18-lineup__heading,
  .v18-spaces__heading,
  .v18-reasons__heading,
  .v18-product-facts__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .v18-lineup__grid {
    grid-template-columns: 1fr;
  }

  .v18-spaces__stage {
    grid-template-columns: 1fr;
    height: auto;
  }

  .v18-spaces__visual img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .v18-spaces__visual[data-space-variant="portrait"] img {
    object-position: center 64%;
  }

  .v18-spaces__detail {
    min-height: 560px;
  }

  .v18-spaces__tabs {
    grid-template-columns: repeat(5, minmax(185px, 1fr));
    overflow-x: auto;
    padding: 5px 5px 18px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .v18-spaces__tabs button {
    scroll-snap-align: start;
  }

  .v18-product-card > p:not(.v18-product-card__context) {
    min-height: 0;
  }

}

@media (max-width: 680px) {
  .v18-choice__routes,
  .v18-reasons__grid {
    grid-template-columns: 1fr;
  }

  .v18-reasons__grid article,
  .v18-reasons__grid article + article {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }

  .v18-product-facts dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .v18-spaces__heading h2 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .v18-spaces__detail {
    min-height: 520px;
    padding: 30px 24px 34px;
  }

  .v18-spaces__detail h3 {
    margin-top: 34px;
  }

  .v18-spaces__product {
    align-items: flex-start;
    flex-direction: column;
  }

  .v18-spaces__product strong {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v18-route-card,
  .v18-route-card img,
  .v18-spaces__thumb img {
    transition: none;
  }
}
