/* Reference content sections after hero. */
.yun-home .yun-facts {
  --yun-facts-label-size: 10px;
  --yun-facts-label-weight: 500;
  --yun-facts-label-tracking: .08em;
  width: 100%;
  background: var(--yun-home-white);
  transition: background-color 500ms ease;
}

.yun-home .yun-facts__inner {
  display: grid;
  gap: 40px;
  align-items: start;
  padding: 56px 0;
}

.yun-home .yun-facts__content {
  width: 100%;
}

.yun-home .yun-facts__product {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--yun-home-soft);
}

.yun-home .yun-facts__product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yun-home .yun-facts__body {
  position: relative;
  isolation: isolate;
  background-image: url('../images/home/facts-topography.webp');
  background-repeat: no-repeat;
  background-position: calc(100% + 18px) 66%;
  background-size: min(48vw, 300px) auto;
}

.yun-home .yun-facts__body::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 260px;
  background: linear-gradient(to top, var(--yun-home-white) 0%, rgba(255, 255, 255, .92) 22%, rgba(255, 255, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

.yun-home .yun-facts__heading,
.yun-home .yun-facts__taste-title,
.yun-home .yun-facts__card {
  position: relative;
  z-index: 1;
}

.yun-home .yun-facts__heading {
  margin-bottom: 38px;
}

.yun-home .yun-facts__logo {
  display: block;
  width: 56px;
  height: auto !important;
  margin-bottom: 10px;
  object-fit: contain;
}

.yun-home .yun-facts__heading h2 {
  color: var(--yun-home-bronze);
  font-family: var(--yun-font-serif);
  font-size: clamp(30px, 8.2vw, 40px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: .96;
  text-transform: uppercase;
}

.yun-home .yun-facts__heading p {
  display: none;
}

.yun-home .yun-facts__taste-title {
  max-width: 15ch;
  margin: 0;
  color: var(--yun-home-ink);
  font-family: var(--yun-font-serif);
  font-size: clamp(27px, 7.4vw, 36px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.26;
}

.yun-home .yun-facts__card {
  margin-top: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.yun-home .yun-facts__spec-list {
  width: min(100%, 220px);
}

.yun-home .yun-facts__spec-list li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(213, 150, 88, .45);
  color: var(--yun-home-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.35;
}

.yun-home .yun-facts__purchase {
  margin-top: 52px;
  padding-top: 0;
  border-top: 0;
}

.yun-home .yun-facts__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.yun-home .yun-facts__price strong {
  color: var(--yun-home-ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.yun-home .yun-facts__price span {
  margin-right: auto;
  color: rgba(17, 17, 17, .5);
  font-size: var(--yun-facts-label-size);
  font-weight: var(--yun-facts-label-weight);
  letter-spacing: var(--yun-facts-label-tracking);
  text-transform: uppercase;
}

.yun-home .yun-facts__price em {
  display: none;
  color: rgba(17, 17, 17, .4);
  font-size: var(--yun-facts-label-size);
  font-style: normal;
  font-weight: var(--yun-facts-label-weight);
  letter-spacing: var(--yun-facts-label-tracking);
  text-transform: uppercase;
}

.yun-home .yun-facts__purchase p {
  margin-top: 16px;
  color: rgba(17, 17, 17, .42);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.4;
}

.yun-home .yun-origin {
  width: 100%;
  background: var(--yun-home-white);
}

.yun-home .yun-origin__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.06;
  min-height: 520px;
  overflow: hidden;
  background: #d8ddd9;
}

.yun-home .yun-origin__hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .2) 34%, rgba(0, 0, 0, 0) 68%);
  content: "";
  pointer-events: none;
}

.yun-home .yun-origin__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.yun-home .yun-origin__hero-copy {
  position: absolute;
  right: 24px;
  bottom: 34px;
  left: 24px;
  z-index: 1;
  color: var(--yun-home-white);
}

.yun-home .yun-origin__hero-copy h2 {
  margin: 0;
  color: currentColor;
  font-family: var(--yun-font-sans);
  font-size: clamp(34px, 10.5vw, 46px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .95;
}

.yun-home .yun-origin__hero-copy p {
  margin-top: 6px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(20px, 6vw, 28px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.yun-home .yun-origin__notes {
  width: 100%;
  margin: 0;
  padding: 24px 24px 20px;
  background: #f2f0ec;
}

.yun-home .yun-origin__notes ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.yun-home .yun-origin__notes li {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 6px;
  background: var(--yun-home-white);
  text-align: center;
}

.yun-home .yun-origin__note-icon {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2px;
  color: var(--yun-home-bronze);
}

.yun-home .yun-origin__note-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.yun-home .yun-origin__notes strong {
  color: var(--yun-home-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.yun-home .yun-origin__notes em {
  color: rgba(17, 17, 17, .45);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.yun-home .yun-origin__copy {
  padding: 24px 0 56px;
}

.yun-home .yun-origin__copy p {
  max-width: 62ch;
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--yun-home-line);
  color: rgba(17, 17, 17, .6);
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 760px) {
  .yun-home .yun-origin {
    padding: 80px 0;
  }

  .yun-home .yun-origin__hero,
  .yun-home .yun-origin__notes,
  .yun-home .yun-origin__copy {
    width: min(1120px, calc(100vw - 48px));
    margin-inline: auto;
  }

  .yun-home .yun-origin__hero {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .yun-home .yun-origin__notes {
    padding: 24px 0 0;
    background: transparent;
  }

  .yun-home .yun-origin__notes ul {
    max-width: 560px;
  }

  .yun-home .yun-origin__copy {
    padding-bottom: 0;
  }
}

.yun-home .yun-roast {
  width: 100%;
  border-top: 1px solid var(--yun-home-line);
  background: var(--yun-home-soft);
}

.yun-home .yun-roast__inner {
  display: grid;
  gap: 40px;
  align-items: start;
  padding: 56px 0;
}

.yun-home .yun-roast h2 {
  margin-bottom: 20px;
  color: var(--yun-home-ink);
  font-family: var(--yun-font-serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: .95;
}

.yun-home .yun-roast__content > p {
  max-width: 48ch;
  margin-bottom: 40px;
  color: rgba(17, 17, 17, .7);
  font-size: 15px;
  line-height: 1.8;
}

.yun-home .yun-roast__eyebrow {
  display: block;
  margin-bottom: 16px;
  color: rgba(17, 17, 17, .4);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.yun-home .yun-roast__intensity,
.yun-home .yun-roast__level {
  max-width: 520px;
  margin-bottom: 32px;
}

.yun-home .yun-roast__intensity span,
.yun-home .yun-roast__level span,
.yun-home .yun-roast__brew > span {
  display: block;
  margin-bottom: 16px;
  color: rgba(17, 17, 17, .55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.yun-home .yun-roast__intensity strong {
  color: var(--yun-home-ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.yun-home .yun-roast__level div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yun-home .yun-roast__level i {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(213, 150, 88, .4);
  border-radius: 50%;
}

.yun-home .yun-roast__level i.is-filled {
  border-color: var(--yun-home-bronze);
  background: var(--yun-home-bronze);
}

.yun-home .yun-roast__drink-modes {
  display: grid;
  max-width: 520px;
  margin-bottom: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--yun-home-line);
  border-radius: 2px;
  background: var(--yun-home-line);
  overflow: hidden;
}

.yun-home .yun-roast__drink {
  position: relative;
  min-height: 156px;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
}

.yun-home .yun-roast__drink::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fdf6ee;
  content: "";
  mask-image: linear-gradient(to bottom left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .16) 12%, rgba(0, 0, 0, .82) 34%, #000 58%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .16) 12%, rgba(0, 0, 0, .82) 34%, #000 58%);
}

.yun-home .yun-roast__drink--milk {
  background: #fdf6ee;
}

.yun-home .yun-roast__drink--black {
  border: 1px solid #2e2620;
  color: var(--yun-home-paper);
  background: #1e1815;
}

.yun-home .yun-roast__drink--black::before {
  background: #1e1815;
}

.yun-home .yun-roast__drink-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yun-home .yun-roast__drink--milk .yun-roast__drink-image {
  object-position: center;
}

.yun-home .yun-roast__drink--black .yun-roast__drink-image {
  object-position: center 42%;
}

.yun-home .yun-roast__drink h3 {
  position: relative;
  z-index: 2;
  color: rgba(17, 17, 17, .6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.yun-home .yun-roast__drink--black h3 {
  color: rgba(255, 251, 246, .5);
}

.yun-home .yun-roast__drink p {
  position: relative;
  z-index: 2;
  max-width: 19ch;
  margin-top: 12px;
  color: rgba(17, 17, 17, .82);
  font-size: 13px;
  line-height: 1.55;
}

.yun-home .yun-roast__drink--black p {
  color: rgba(255, 251, 246, .82);
}

.yun-home .yun-roast__brew {
  max-width: 520px;
}

.yun-home .yun-roast__brew > div {
  display: flex;
  gap: 12px;
}

.yun-home .yun-roast__brew-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--yun-home-line);
  border-radius: 2px;
  background: var(--yun-home-white);
}

.yun-home .yun-roast__brew-card em {
  color: rgba(17, 17, 17, .6);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.yun-home .yun-roast__brew-card strong {
  margin-top: 8px;
  color: var(--yun-home-ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
}

.yun-home .yun-roast__brew-card svg {
  width: 32px;
  height: 42px;
  margin: 20px auto 0;
  overflow: visible;
  fill: none;
  stroke: var(--yun-home-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.yun-home .yun-roast__brew-card svg path:nth-child(2) {
  stroke: var(--yun-home-bronze);
}

.yun-home .yun-roast__brew-card svg path:nth-child(3) {
  opacity: .15;
  stroke-width: .6;
}

.yun-home .yun-roast__brew-card > span {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 224, 214, .8);
  color: rgba(17, 17, 17, .4);
  font-size: 10px;
  letter-spacing: .06em;
  line-height: 1.4;
}

.yun-home .yun-roast__brew > p {
  margin-top: 12px;
  color: rgba(17, 17, 17, .35);
  font-size: 10px;
  letter-spacing: .02em;
  line-height: 1.5;
}

.yun-home .yun-channels {
  width: 100%;
  border-top: 1px solid var(--yun-home-line);
  background: var(--yun-home-white);
}

.yun-home .yun-channels__panel {
  display: grid;
  gap: 40px;
  padding: 56px 0;
}

.yun-home .yun-channels__kicker {
  display: none;
}

.yun-home .yun-channels .yun-section-title {
  margin-bottom: 20px;
  color: var(--yun-home-ink);
  font-family: var(--yun-font-serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.yun-home .yun-channels__body {
  display: grid;
  max-width: 52ch;
  gap: 16px;
  margin-bottom: 32px;
  color: rgba(17, 17, 17, .7);
  font-size: 14px;
  line-height: 1.85;
}

.yun-home .yun-channels__facts {
  max-width: 420px;
  border-top: 1px solid rgba(17, 17, 17, .1);
  border-bottom: 1px solid rgba(17, 17, 17, .1);
  color: var(--yun-home-ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 3.8;
  text-transform: uppercase;
}

.yun-home .yun-channels__action {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.yun-home .yun-channels__button {
  width: 100%;
  max-width: 420px;
  height: 44px;
  border: 1px solid var(--yun-home-ink);
  border-radius: 2px;
  color: var(--yun-home-ink);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.yun-home .yun-faq {
  width: 100%;
  border-top: 1px solid var(--yun-home-line);
  background: var(--yun-home-paper);
}

.yun-home .yun-faq .yun-section-inner {
  display: grid;
  gap: 40px;
  padding: 56px 0;
}

.yun-home .yun-faq__intro .yun-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: rgba(17, 17, 17, .4);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.yun-home .yun-faq__intro .yun-eyebrow::before {
  display: none;
}

.yun-home .yun-faq__intro .yun-section-title {
  color: var(--yun-home-ink);
  font-family: var(--yun-font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.yun-home .yun-faq__intro::after {
  display: block;
  width: 20px;
  height: 1px;
  margin-top: 20px;
  background: var(--yun-home-bronze);
  content: "";
}

.yun-home .yun-faq__list {
  border-top: 1px solid var(--yun-home-line);
}

.yun-home .yun-faq__item {
  border-bottom: 1px solid var(--yun-home-line);
}

.yun-home .yun-faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--yun-home-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.4;
  list-style: none;
  text-transform: uppercase;
}

.yun-home .yun-faq__item summary::-webkit-details-marker {
  display: none;
}

.yun-home .yun-faq__item summary::after {
  flex: none;
  color: rgba(17, 17, 17, .4);
  content: "+";
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms ease;
}

.yun-home .yun-faq__item[open] summary::after {
  transform: rotate(45deg);
}

.yun-home .yun-faq__item p {
  max-width: 58ch;
  padding: 0 0 20px;
  color: rgba(17, 17, 17, .7);
  font-size: 14px;
  line-height: 1.7;
}

.yun-home .yun-offer-bar {
  position: fixed;
  right: 0;
  bottom: var(--yun-offer-bar-bottom, 0px);
  left: 0;
  z-index: 30;
  display: flex;
  height: 72px;
  align-items: center;
  border-top: 1px solid var(--yun-home-line);
  color: var(--yun-home-ink);
  background: var(--yun-home-paper);
  opacity: 0;
  pointer-events: none;
  /* Hidden also takes the bar's controls out of the Tab order and the
     accessibility tree; visibility switches only after the slide-out.
     Leaving, the bar starts slowly and stays opaque while it slides, so the
     eye follows it down; it fades only for the last part. */
  visibility: hidden;
  transform: translateY(calc(100% + 12px));
  transition: transform 340ms cubic-bezier(.4, 0, .2, 1), opacity 140ms ease-in 200ms, visibility 0s linear 340ms;
  will-change: opacity, transform;
}

/* Arriving, the bar slides up and settles gently. */
.yun-home .yun-offer-bar.is-fixed {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
  transition: transform 420ms cubic-bezier(.2, .8, .2, 1), opacity 240ms ease-out, visibility 0s;
}

.yun-home .yun-offer-bar.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(calc(100% + 12px));
}

.yun-home .yun-offer-bar__inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
}

.yun-home .yun-offer-bar__copy {
  display: flex;
  flex-direction: column;
}

.yun-home .yun-offer-bar__copy strong {
  margin-top: 6px;
  color: var(--yun-home-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
}

.yun-home .yun-offer-bar__copy span {
  color: rgba(17, 17, 17, .4);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

/* Each state that sets a transition is listed, or it would outrank none. */
@media (prefers-reduced-motion: reduce) {
  .yun-home .yun-offer-bar,
  .yun-home .yun-offer-bar.is-fixed,
  .yun-home .yun-offer-bar.is-hidden {
    transition: none;
  }
}

@media (max-width: 759px) {
  .yun-home .yun-facts__inner {
    padding-top: 32px;
  }
}

@media (min-width: 760px) {
  .yun-home .yun-facts__inner,
  .yun-home .yun-roast__inner {
    gap: 64px;
    padding: 80px 0;
  }

  .yun-home .yun-facts__inner {
    grid-template-columns: 1fr;
  }

  .yun-home .yun-facts__content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 64px;
    align-items: start;
  }

  .yun-home .yun-facts__product {
    margin-bottom: 0;
  }

  .yun-home .yun-facts__body {
    background-position: calc(100% + 12px) 62%;
    background-size: min(34vw, 300px) auto;
  }

  .yun-home .yun-facts__heading h2 {
    font-size: 40px;
  }

  .yun-home .yun-facts__card {
    padding: 0;
  }

  .yun-home .yun-facts__price em {
    display: inline;
  }

  .yun-home .yun-roast__inner {
    grid-template-columns: minmax(0, 720px);
  }

  .yun-home .yun-channels__panel {
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    padding: 80px 0;
  }

  .yun-home .yun-channels .yun-section-title {
    font-size: 32px;
  }

  .yun-home .yun-faq .yun-section-inner {
    grid-template-columns: .35fr .65fr;
    gap: 64px;
    padding: 80px 0;
  }

  .yun-home .yun-faq__item summary {
    font-size: 14px;
  }

  .yun-home .yun-offer-bar {
    display: none !important;
  }
}

@media (max-width: 559px) {
  .yun-home .yun-roast__brew > div {
    flex-direction: column;
  }
}
