:root {
  --th-dark: #10261d;
  --th-dark-soft: #17352a;
  --th-paper: #f1f2ed;
  --th-ink: #12251c;
  --th-muted: #5d675f;
  --th-line: rgba(18, 37, 28, 0.18);
  --th-content: min(1280px, calc(100vw - 96px));
}

.treehouse-taste-page {
  color: var(--th-ink);
  background: var(--th-paper);
}

.js .treehouse-taste-page [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.treehouse-taste-page .taste-desktop-nav [aria-current="page"]::after {
  transform: scaleX(1);
}

.treehouse-taste-page .taste-menu [aria-current="page"] span {
  color: var(--gold);
}

.th-shell {
  width: var(--th-content);
  margin-inline: auto;
}

.th-hero {
  position: relative;
  min-height: min(900px, calc(100dvh - 84px));
  overflow: hidden;
  color: #fff;
  background: var(--th-dark);
}

.th-hero > img {
  width: 100%;
  height: min(900px, calc(100dvh - 84px));
  min-height: 690px;
  object-fit: cover;
  object-position: center 52%;
  animation: th-hero-enter 1500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.th-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 15, 0.04) 18%, rgba(7, 20, 15, 0.72) 100%);
}

.th-hero-copy {
  position: absolute;
  right: 48px;
  bottom: 48px;
  left: 48px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 64px;
}

.th-hero h1,
.th-intro h2,
.th-section-copy h2,
.th-principle h2,
.th-booking h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}

.th-hero h1 {
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
}

.th-hero-copy > p {
  max-width: 29em;
  margin: 0 0 58px;
  font-size: 18px;
  line-height: 1.75;
}

.th-hero-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 30px;
}

.th-hero-actions a,
.th-booking-actions a,
.th-booking-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0 3px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
}

.th-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  padding-block: 148px 156px;
}

.th-intro h2,
.th-section-copy h2,
.th-principle h2,
.th-booking h2 {
  max-width: 11em;
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1.24;
}

.th-intro-copy > p,
.th-section-copy > p,
.th-principle p,
.th-booking-note {
  max-width: 42em;
  margin: 28px 0 0;
  color: var(--th-muted);
}

.th-facts {
  margin: 0;
  border-top: 1px solid var(--th-ink);
}

.th-facts > div {
  display: grid;
  grid-template-columns: minmax(118px, 0.72fr) 1.28fr;
  gap: 28px;
  padding: 23px 0;
  border-bottom: 1px solid var(--th-line);
}

.th-facts dt {
  font-family: var(--font-display);
  font-size: 26px;
}

.th-facts dd {
  margin: 4px 0 0;
  color: var(--th-muted);
  font-size: 14px;
}

.th-garden {
  width: 100%;
  padding-bottom: 148px;
}

.th-garden figure,
.th-image,
.th-objects figure,
.th-booking-qr {
  margin: 0;
}

.th-garden img {
  width: 100%;
  height: min(76vw, 880px);
  object-fit: cover;
  object-position: center 67%;
}

.th-garden figcaption {
  width: var(--th-content);
  margin: 15px auto 0;
  color: var(--th-muted);
  font-size: 13px;
}

.th-journey,
.th-objects,
.th-suited {
  padding-bottom: 156px;
}

.th-section-copy {
  display: grid;
  grid-template-columns: minmax(400px, 0.92fr) minmax(320px, 0.7fr);
  align-items: end;
  justify-content: space-between;
  gap: 72px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--th-line);
}

.th-section-copy > p {
  margin: 0;
}

.th-journey-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 82px 34px;
  padding-top: 64px;
}

.th-image-window {
  grid-column: 1 / span 7;
}

.th-image-tea {
  grid-column: 9 / span 4;
  padding-top: 180px;
}

.th-image-terrace {
  grid-column: 2 / span 4;
  padding-top: 42px;
}

.th-image-quiet {
  grid-column: 7 / span 6;
}

.th-image img,
.th-objects img {
  width: 100%;
  height: auto;
}

.th-image figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
}

.th-image figcaption strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
}

.th-image figcaption span {
  max-width: 23em;
  color: var(--th-muted);
  font-size: 13px;
  text-align: right;
}

.th-principle {
  color: #f2f2eb;
  background: var(--th-dark);
}

.th-principle-inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 10vw;
  width: var(--th-content);
  margin-inline: auto;
  padding-block: 148px;
}

.th-principle p {
  color: rgba(242, 242, 235, 0.7);
}

.th-principle ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(242, 242, 235, 0.7);
}

.th-principle li {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) 1.28fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(242, 242, 235, 0.2);
}

.th-principle li span {
  font-family: var(--font-display);
  font-size: 24px;
}

.th-principle li p {
  margin: 3px 0 0;
  font-size: 14px;
}

.th-objects {
  padding-top: 156px;
}

.th-objects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 36px;
  padding-top: 64px;
}

.th-objects-grid figure:first-child {
  grid-column: 1 / span 6;
}

.th-objects-grid figure:nth-child(2) {
  grid-column: 8 / span 5;
  padding-top: 128px;
}

.th-objects-grid figure:nth-child(3) {
  grid-column: 3 / span 4;
  padding-top: 12px;
}

.th-objects figcaption {
  padding-top: 14px;
  color: var(--th-muted);
  font-size: 13px;
}

.th-inline-link {
  display: inline-flex;
  min-height: 44px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.th-suited {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  padding-top: 8px;
}

.th-suited .th-section-copy {
  display: block;
  padding: 0;
  border: 0;
}

.th-suited .th-section-copy > p {
  margin-top: 28px;
}

.th-suited-list {
  border-top: 1px solid var(--th-ink);
}

.th-suited-list > div {
  display: grid;
  grid-template-columns: minmax(155px, 0.75fr) 1.25fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--th-line);
}

.th-suited-list strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
}

.th-suited-list span {
  color: var(--th-muted);
  font-size: 14px;
}

.th-booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 110px;
  padding-block: 132px;
  border-top: 1px solid var(--th-ink);
}

.th-booking-list {
  max-width: 650px;
  margin-top: 40px;
  border-top: 1px solid var(--th-line);
}

.th-booking-list p {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 28px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--th-line);
}

.th-booking-list strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
}

.th-booking-list span {
  color: var(--th-muted);
  font-size: 14px;
}

.th-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

.th-booking-qr img {
  width: 100%;
  height: auto;
}

.th-booking-qr figcaption {
  margin-top: 10px;
  color: var(--th-muted);
  font-size: 13px;
  text-align: center;
}

@keyframes th-hero-enter {
  from {
    opacity: 0.72;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  :root {
    --th-content: min(100% - 48px, 720px);
  }

  .th-hero,
  .th-hero > img {
    min-height: 680px;
    height: 78dvh;
    max-height: 820px;
  }

  .th-hero-copy {
    right: 24px;
    bottom: 32px;
    left: 24px;
    display: block;
  }

  .th-hero h1 {
    font-size: 66px;
  }

  .th-hero-copy > p {
    max-width: 30em;
    margin: 16px 0 24px;
    font-size: 16px;
  }

  .th-hero-actions {
    position: static;
  }

  .th-intro,
  .th-suited,
  .th-principle-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .th-intro {
    padding-block: 108px 116px;
  }

  .th-garden,
  .th-journey,
  .th-objects,
  .th-suited {
    padding-bottom: 116px;
  }

  .th-section-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .th-journey-grid {
    gap: 60px 24px;
  }

  .th-image-window {
    grid-column: 1 / span 7;
  }

  .th-image-tea {
    grid-column: 8 / span 5;
    padding-top: 120px;
  }

  .th-image-terrace {
    grid-column: 2 / span 5;
  }

  .th-image-quiet {
    grid-column: 7 / span 6;
  }

  .th-principle-inner {
    padding-block: 112px;
  }

  .th-objects {
    padding-top: 116px;
  }

  .th-booking {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 48px;
    padding-block: 104px;
  }
}

@media (max-width: 620px) {
  :root {
    --th-content: calc(100vw - 40px);
  }

  .th-hero,
  .th-hero > img {
    min-height: 0;
    height: 72dvh;
    max-height: 680px;
  }

  .th-hero > img {
    object-position: center 50%;
  }

  .th-hero-copy {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .th-hero h1 {
    font-size: 52px;
  }

  .th-hero-copy > p {
    max-width: 22em;
    margin: 12px 0 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .th-hero-actions {
    gap: 24px;
  }

  .th-hero-actions a {
    min-height: 40px;
    font-size: 14px;
  }

  .th-intro {
    gap: 42px;
    padding-block: 76px 88px;
  }

  .th-intro h2,
  .th-section-copy h2,
  .th-principle h2,
  .th-booking h2 {
    max-width: none;
    font-size: 34px;
    line-height: 1.3;
  }

  .th-intro-copy > p,
  .th-section-copy > p,
  .th-principle p,
  .th-booking-note {
    margin-top: 18px;
    font-size: 15px;
  }

  .th-facts > div {
    display: block;
    padding: 20px 0;
  }

  .th-facts dt {
    font-size: 24px;
  }

  .th-facts dd {
    margin-top: 5px;
  }

  .th-garden {
    padding-bottom: 88px;
  }

  .th-garden img {
    height: auto;
  }

  .th-garden figcaption {
    width: calc(100vw - 40px);
  }

  .th-journey,
  .th-objects,
  .th-suited {
    width: 100%;
    padding-bottom: 88px;
  }

  .th-section-copy {
    width: calc(100vw - 40px);
    margin-inline: auto;
    padding-bottom: 30px;
  }

  .th-journey-grid,
  .th-objects-grid {
    display: block;
    padding-top: 42px;
  }

  .th-image,
  .th-image-window,
  .th-image-tea,
  .th-image-terrace,
  .th-image-quiet,
  .th-objects-grid figure,
  .th-objects-grid figure:nth-child(2),
  .th-objects-grid figure:nth-child(3) {
    width: 100%;
    margin: 0 0 58px;
    padding: 0;
  }

  .th-image img,
  .th-objects img {
    width: 100vw;
  }

  .th-image figcaption,
  .th-objects figcaption {
    display: block;
    width: calc(100vw - 40px);
    margin-inline: auto;
    padding-top: 14px;
  }

  .th-image figcaption strong {
    display: block;
    font-size: 24px;
  }

  .th-image figcaption span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .th-principle-inner {
    gap: 44px;
    padding-block: 84px;
  }

  .th-principle li {
    display: block;
    padding: 19px 0;
  }

  .th-principle li p {
    margin-top: 5px;
  }

  .th-objects {
    padding-top: 88px;
  }

  .th-suited {
    display: block;
  }

  .th-suited .th-section-copy {
    padding-inline: 0;
  }

  .th-suited-list {
    width: calc(100vw - 40px);
    margin: 42px auto 0;
  }

  .th-suited-list > div {
    display: block;
    padding: 20px 0;
  }

  .th-suited-list strong {
    display: block;
    font-size: 24px;
  }

  .th-suited-list span {
    display: block;
    margin-top: 5px;
  }

  .th-booking {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 76px;
  }

  .th-booking-list {
    margin-top: 30px;
  }

  .th-booking-list p {
    display: block;
    padding: 17px 0;
  }

  .th-booking-list strong,
  .th-booking-list span {
    display: block;
  }

  .th-booking-list span {
    margin-top: 4px;
  }

  .th-booking-qr {
    width: min(72vw, 280px);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-hero > img {
    animation: none;
  }
}
