.secondary-taste-page {
  background: var(--page);
}

.secondary-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
}

.secondary-hero > img {
  width: 100%;
  height: 720px;
  object-fit: cover;
}

.secondary-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 25, 18, 0.02) 20%, rgba(8, 25, 18, 0.72) 100%);
  content: "";
}

.secondary-hero-copy {
  position: absolute;
  right: 48px;
  bottom: 48px;
  left: 48px;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.65fr);
  align-items: end;
  gap: 72px;
}

.secondary-kicker {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.secondary-hero h1,
.secondary-section h2,
.secondary-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}

.secondary-hero h1 {
  font-size: clamp(56px, 6.2vw, 96px);
  line-height: 1.05;
}

.secondary-hero p {
  max-width: 34em;
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
}

.secondary-section {
  width: var(--content);
  margin-inline: auto;
  padding-block: 132px;
}

.secondary-section + .secondary-section {
  border-top: 1px solid var(--line);
}

.secondary-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 96px;
}

.secondary-section h2,
.secondary-cta h2 {
  max-width: 14em;
  font-size: 48px;
  line-height: 1.28;
}

.secondary-copy {
  max-width: 46em;
  color: var(--muted);
}

.secondary-copy > p:first-child {
  margin-top: 0;
}

.secondary-copy p {
  font-size: 17px;
}

.secondary-index {
  margin-top: 42px;
  border-top: 1px solid var(--ink);
}

.secondary-index > div,
.secondary-index > a {
  display: grid;
  grid-template-columns: 56px minmax(140px, 0.6fr) 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.secondary-index b {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
}

.secondary-index span,
.secondary-index p {
  margin: 0;
  color: var(--muted);
}

.secondary-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 8vw;
}

.secondary-editorial.reverse {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
}

.secondary-editorial.reverse figure {
  order: 2;
}

.secondary-editorial figure,
.secondary-gallery figure,
.contact-qr-figure {
  margin: 0;
}

.secondary-editorial img,
.secondary-gallery img {
  width: 100%;
  height: auto;
}

.secondary-editorial h2 {
  margin-top: 8px;
}

.secondary-editorial p {
  color: var(--muted);
}

.secondary-text-link,
.secondary-actions a,
.secondary-actions button,
.contact-copy-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 0 3px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
}

.secondary-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  margin-top: 54px;
}

.secondary-gallery figure:first-child {
  grid-row: span 2;
}

.secondary-gallery figure:not(:first-child) img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.secondary-gallery figcaption {
  display: grid;
  gap: 5px;
  padding-top: 14px;
}

.secondary-gallery figcaption span {
  color: var(--gold);
  font-size: 12px;
}

.secondary-gallery figcaption b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

.secondary-cta {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 96px;
  width: var(--content);
  margin-inline: auto;
  padding-block: 120px;
  border-top: 1px solid var(--ink);
}

.secondary-cta p {
  max-width: 42em;
  margin: 18px 0 0;
  color: var(--muted);
}

.secondary-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 28px;
}

.contact-hero {
  min-height: 580px;
}

.contact-hero > img {
  height: 580px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 10vw;
}

.contact-panel h2 {
  max-width: 9em;
}

.contact-wechat {
  display: block;
  margin-top: 26px;
  font-size: 18px;
}

.contact-qr-figure img {
  width: 100%;
  height: auto;
}

.contact-qr-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.xiang-identity {
  color: #25231e;
  background: #ece9e1;
}

.xiang-identity .secondary-hero {
  color: #fff;
}

@media (max-width: 900px) {
  .secondary-hero,
  .secondary-hero > img {
    min-height: 68dvh;
    height: 68dvh;
  }

  .secondary-hero-copy {
    right: 24px;
    bottom: 30px;
    left: 24px;
    display: block;
  }

  .secondary-hero-copy p {
    margin-top: 18px;
  }

  .secondary-intro,
  .secondary-editorial,
  .secondary-editorial.reverse,
  .secondary-cta,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .secondary-editorial.reverse figure {
    order: 0;
  }

  .secondary-section {
    padding-block: 96px;
  }

  .secondary-actions {
    justify-content: flex-start;
  }

  .contact-panel {
    grid-template-columns: 1fr 240px;
  }
}

@media (max-width: 620px) {
  .secondary-hero,
  .secondary-hero > img,
  .contact-hero,
  .contact-hero > img {
    min-height: 64dvh;
    height: 64dvh;
  }

  .secondary-hero > img {
    object-position: center;
  }

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

  .secondary-hero h1 {
    font-size: 50px;
  }

  .secondary-hero p {
    max-width: 24em;
    font-size: 15px;
    line-height: 1.65;
  }

  .secondary-section {
    padding-block: 76px;
  }

  .secondary-section h2,
  .secondary-cta h2 {
    max-width: none;
    font-size: 34px;
  }

  .secondary-copy p {
    font-size: 15px;
  }

  .secondary-index > div,
  .secondary-index > a {
    display: block;
    padding: 20px 0;
  }

  .secondary-index b,
  .secondary-index span,
  .secondary-index p {
    display: block;
  }

  .secondary-index b {
    margin: 5px 0;
    font-size: 23px;
  }

  .secondary-editorial {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .secondary-editorial > div {
    padding-inline: 20px;
  }

  .secondary-editorial img {
    width: 100vw;
  }

  .secondary-gallery {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .secondary-gallery figure {
    margin-bottom: 36px;
  }

  .secondary-gallery figure:not(:first-child) img {
    aspect-ratio: auto;
    object-fit: initial;
  }

  .secondary-gallery figcaption {
    padding-inline: 20px;
  }

  .secondary-cta {
    gap: 28px;
    padding-block: 74px 92px;
  }

  .secondary-actions {
    flex-wrap: wrap;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-qr-figure {
    width: min(100%, 300px);
    margin-inline: auto;
  }
}

