/* Homepage composition for the Quiet Technical Luxury theme. */

.template-homepage .qtl-light {
  color: var(--yb-ink);
  background: var(--yb-ivory);
}

.template-homepage .qtl-kicker {
  margin: 0 0 24px;
  color: var(--yb-cyan-bright);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.template-homepage .qtl-kicker--dark {
  color: #416a73;
}

.template-homepage .qtl-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--yb-ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.template-homepage .qtl-text-link::after {
  content: "\2192";
  font-size: 18px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.template-homepage .qtl-text-link:hover::after {
  transform: translateX(5px);
}

.template-homepage .qtl-text-link--light {
  color: var(--yb-ivory);
}

.template-homepage .qtl-button--ink {
  color: var(--yb-ivory);
  background: var(--yb-ink);
  border-color: var(--yb-ink);
}

.template-homepage .qtl-button--ink:hover {
  color: var(--yb-ink);
  background: transparent;
}

.theme-quiet-luxury.template-homepage .site-nav {
  max-width: none;
}

/* Hero */

.template-homepage .qtl-hero {
  position: relative;
  min-height: 880px;
  height: 100svh;
  max-height: 1080px;
  display: grid;
  grid-template-columns: minmax(520px, 44%) 1fr;
  overflow: hidden;
  color: var(--yb-ivory);
  background: var(--yb-ink);
  border-bottom: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 44%;
  pointer-events: none;
  background:
    linear-gradient(rgba(105, 198, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 198, 220, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 75%, transparent);
}

.template-homepage .qtl-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 180px var(--yb-gutter) 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 85% 42%, rgba(56, 141, 163, 0.14), transparent 36%),
    var(--yb-ink);
}

.template-homepage .qtl-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--yb-ivory);
  font-family: var(--yb-display);
  font-size: clamp(64px, 6.2vw, 110px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.template-homepage .qtl-hero__lede {
  max-width: 590px;
  margin: 32px 0 0;
  color: rgba(242, 239, 232, 0.7);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.65;
}

.template-homepage .qtl-hero__actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.template-homepage .qtl-hero__signals {
  max-width: 680px;
  margin: auto 0 0;
  padding: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-hero__signals div {
  padding-right: 20px;
}

.template-homepage .qtl-hero__signals div + div {
  padding-left: 24px;
  border-left: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-hero__signals dt {
  color: var(--yb-ivory);
  font-family: var(--yb-display);
  font-size: 24px;
}

.template-homepage .qtl-hero__signals dd {
  margin: 5px 0 0;
  color: var(--yb-mist);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.template-homepage .qtl-hero__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #04101a;
}

.template-homepage .qtl-hero__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.template-homepage .qtl-hero__visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 22, 0.78), transparent 27%),
    linear-gradient(180deg, rgba(7, 16, 22, 0.25), transparent 28%, rgba(7, 16, 22, 0.62));
}

.template-homepage .qtl-scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 34px;
  left: var(--yb-gutter);
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(242, 239, 232, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.template-homepage .qtl-scroll-cue span:last-child {
  color: var(--yb-cyan-bright);
  font-size: 16px;
}

/* Purpose */

.template-homepage .qtl-purpose {
  position: relative;
  min-height: 620px;
  padding: var(--yb-section) var(--yb-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
}

.template-homepage .qtl-section-index {
  position: absolute;
  top: 44px;
  left: var(--yb-gutter);
  color: #65757a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.template-homepage .qtl-purpose__heading {
  max-width: 950px;
}

.template-homepage .qtl-purpose h2,
.template-homepage .qtl-featured h2,
.template-homepage .qtl-library h2,
.template-homepage .qtl-membership h2 {
  margin: 0;
  font-family: var(--yb-display);
  font-size: clamp(48px, 5vw, 84px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.01;
}

.template-homepage .qtl-purpose__body {
  max-width: 470px;
  align-self: end;
  padding-bottom: 28px;
}

.template-homepage .qtl-purpose__body p {
  margin: 0 0 32px;
  color: #35454a;
  font-size: 19px;
  line-height: 1.75;
}

.template-homepage .qtl-purpose__rule {
  position: absolute;
  right: var(--yb-gutter);
  bottom: 0;
  left: var(--yb-gutter);
  height: 1px;
  background: var(--yb-line-light);
}

/* System domains */

.template-homepage .qtl-domains,
.template-homepage .qtl-editorial,
.template-homepage .qtl-focus-list {
  padding: var(--yb-section) var(--yb-gutter);
  color: var(--yb-ivory);
  background:
    radial-gradient(circle at 100% 0, rgba(36, 112, 129, 0.12), transparent 30%),
    var(--yb-ink);
}

.template-homepage .qtl-section-intro {
  max-width: var(--yb-content);
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 70px;
  align-items: end;
}

.template-homepage .qtl-section-intro h2 {
  margin: 0;
  font-family: var(--yb-display);
  font-size: clamp(52px, 5.3vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.template-homepage .qtl-section-intro > p {
  max-width: 470px;
  margin: 0 0 8px;
  color: var(--yb-mist);
  font-size: 17px;
}

.template-homepage .qtl-domain-grid {
  max-width: var(--yb-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--yb-line-dark);
  border-left: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-domain-card {
  position: relative;
  min-height: 440px;
  padding: clamp(30px, 4vw, 62px);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 34px;
  border-right: 1px solid var(--yb-line-dark);
  border-bottom: 1px solid var(--yb-line-dark);
  color: var(--yb-ivory);
  background: rgba(255, 255, 255, 0.01);
  transition: background 220ms ease;
}

.template-homepage .qtl-domain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(105, 198, 220, 0.12), transparent 48%);
  transition: opacity 220ms ease;
}

.template-homepage .qtl-domain-card:hover {
  background: rgba(105, 198, 220, 0.035);
}

.template-homepage .qtl-domain-card:hover::before {
  opacity: 1;
}

.template-homepage .qtl-domain-card > * {
  position: relative;
  z-index: 1;
}

.template-homepage .qtl-domain-card__number {
  color: var(--yb-champagne);
  font-family: var(--yb-display);
  font-size: 18px;
}

.template-homepage .qtl-domain-card__label {
  margin: 2px 0 34px;
  color: var(--yb-cyan-bright);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.template-homepage .qtl-domain-card h3 {
  max-width: 530px;
  margin: 0;
  font-family: var(--yb-display);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.template-homepage .qtl-domain-card h3 + p {
  max-width: 490px;
  margin: 27px 0 0;
  color: var(--yb-mist);
}

.template-homepage .qtl-domain-card__links {
  margin-top: 28px;
  padding-top: 20px;
  display: flex;
  gap: 9px 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-domain-card__links a {
  color: rgba(242, 239, 232, 0.76);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.template-homepage .qtl-domain-card__links a::after {
  content: " \2197";
  color: var(--yb-champagne-soft);
}

.template-homepage .qtl-domain-card__links a:hover {
  color: var(--yb-cyan-bright);
}

/* Operational focus */

.template-homepage .qtl-featured {
  position: relative;
  min-height: 820px;
  padding: var(--yb-section) var(--yb-gutter);
}

.template-homepage .qtl-featured.is-enhanced {
  padding-right: calc(var(--yb-gutter) + 44px);
  padding-left: calc(var(--yb-gutter) + 44px);
}

.template-homepage .qtl-featured__viewport {
  position: relative;
}

.template-homepage .qtl-featured__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(440px, 0.93fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: center;
}

.template-homepage .qtl-featured__slide[hidden] {
  display: none;
}

.template-homepage .qtl-featured.is-enhanced .qtl-featured__slide.is-active {
  animation: qtl-featured-slide-in 560ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

@keyframes qtl-featured-slide-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.template-homepage .qtl-featured__media {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(31, 50, 57, 0.16);
  background: #e1e8e8;
}

.template-homepage .qtl-featured__media .kb-section-graphic,
.template-homepage .qtl-featured__media .kb-section-graphic__frame,
.template-homepage .qtl-featured__media .kb-section-graphic__image,
.template-homepage .qtl-featured__media .kb-section-graphic__svg,
.template-homepage .qtl-featured__media > img {
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.template-homepage .qtl-featured__media .kb-section-graphic,
.template-homepage .qtl-featured__media .kb-section-graphic__frame {
  border: 0;
  border-radius: 0;
}

.template-homepage .qtl-featured__media .kb-section-graphic__image,
.template-homepage .qtl-featured__media > img {
  object-fit: cover;
  filter: saturate(0.55) contrast(0.93);
}

.template-homepage .qtl-featured__media-label {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  left: 24px;
  padding: 9px 13px;
  color: var(--yb-ivory);
  background: rgba(7, 16, 22, 0.85);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.template-homepage .qtl-featured__story {
  max-width: 660px;
}

.template-homepage .qtl-carousel__side-arrow {
  display: none;
  position: absolute;
  z-index: 8;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(31, 50, 57, 0.34);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--yb-ink);
  background: rgba(247, 243, 235, 0.92);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.template-homepage .qtl-featured.is-enhanced .qtl-carousel__side-arrow {
  display: inline-flex;
}

.template-homepage .qtl-carousel__side-arrow--previous {
  left: var(--yb-gutter);
}

.template-homepage .qtl-carousel__side-arrow--next {
  right: var(--yb-gutter);
}

.template-homepage .qtl-carousel__side-arrow span {
  font-size: 21px;
  line-height: 1;
}

.template-homepage .qtl-carousel__side-arrow:hover {
  border-color: var(--yb-ink);
  color: var(--yb-ivory);
  background: var(--yb-ink);
}

.template-homepage .qtl-carousel__side-arrow:focus-visible {
  outline: 2px solid var(--yb-cyan);
  outline-offset: 4px;
}

.template-homepage .qtl-featured__summary {
  margin: 32px 0;
  color: #35454a;
  font-size: 18px;
  line-height: 1.75;
}

.template-homepage .qtl-article-meta {
  margin: 0 0 42px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--yb-line-light);
  border-bottom: 1px solid var(--yb-line-light);
}

.template-homepage .qtl-article-meta div + div {
  padding-left: 20px;
  border-left: 1px solid var(--yb-line-light);
}

.template-homepage .qtl-article-meta dt {
  color: #627277;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.template-homepage .qtl-article-meta dd {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 600;
}

.template-homepage .qtl-focus-list {
  border-top: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-focus-list__grid {
  max-width: var(--yb-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--yb-line-dark);
  border-left: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-focus-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
  border-right: 1px solid var(--yb-line-dark);
  border-bottom: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-focus-card__graphic {
  min-height: 100%;
  border-right: 1px solid var(--yb-line-dark);
  overflow: hidden;
}

.template-homepage .qtl-focus-card__graphic .kb-section-graphic,
.template-homepage .qtl-focus-card__graphic .kb-section-graphic__frame {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
  border-radius: 0;
}

.template-homepage .qtl-focus-card__body {
  min-height: 330px;
  padding: clamp(27px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.template-homepage .qtl-focus-card h3 {
  margin: 0;
  font-family: var(--yb-display);
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.template-homepage .qtl-focus-card h3 a {
  text-decoration: none;
}

.template-homepage .qtl-focus-card h3 a:hover {
  color: var(--yb-cyan-bright);
}

.template-homepage .qtl-focus-card__body > p:not(.qtl-kicker) {
  color: var(--yb-mist);
  font-size: 14px;
}

.template-homepage .qtl-focus-card__meta {
  margin-top: auto;
  padding: 20px 0;
  display: flex;
  gap: 16px;
  color: rgba(174, 187, 192, 0.64);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Editorial */

.template-homepage .qtl-editorial {
  border-top: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-editorial .qtl-section-intro > .qtl-text-link {
  justify-self: end;
  margin-bottom: 12px;
}

.template-homepage .qtl-editorial-grid {
  max-width: var(--yb-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(50px, 7vw, 110px);
}

.template-homepage .qtl-lead-story__visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  overflow: hidden;
  color: var(--yb-ivory);
  background:
    radial-gradient(circle at 70% 45%, rgba(105, 198, 220, 0.18), transparent 26%),
    linear-gradient(155deg, #193a49 0%, #0a1822 52%, #050b10 100%);
  text-decoration: none;
}

.template-homepage .qtl-lead-story__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.96);
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.template-homepage .qtl-lead-story__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 11, 16, 0.78));
}

.template-homepage .qtl-lead-story__visual--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(28deg, transparent 42%, rgba(157, 230, 241, 0.27) 42.2%, transparent 42.7%),
    linear-gradient(152deg, transparent 54%, rgba(200, 175, 131, 0.28) 54.3%, transparent 54.8%);
}

.template-homepage .qtl-lead-story__visual:hover > img {
  transform: scale(1.025);
}

.template-homepage .qtl-lead-story__horizon {
  position: absolute;
  right: 8%;
  bottom: 30%;
  left: 8%;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 175, 131, 0.75), transparent);
}

.template-homepage .qtl-lead-story__visual > span {
  position: relative;
  z-index: 2;
  color: var(--yb-cyan-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.template-homepage .qtl-story-meta {
  margin: 24px 0 12px;
  color: var(--yb-cyan-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.template-homepage .qtl-lead-story h3 {
  max-width: 760px;
  margin: 0;
  font-family: var(--yb-display);
  font-size: clamp(34px, 3.3vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.template-homepage .qtl-lead-story h3 a,
.template-homepage .qtl-story-row h3 a {
  text-decoration: none;
}

.template-homepage .qtl-lead-story h3 a:hover,
.template-homepage .qtl-story-row h3 a:hover {
  color: var(--yb-cyan-bright);
}

.template-homepage .qtl-lead-story > p:last-child {
  max-width: 700px;
  color: var(--yb-mist);
}

.template-homepage .qtl-story-list {
  border-top: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-story-row {
  position: relative;
  min-height: 174px;
  padding: 28px 74px 30px 0;
  border-bottom: 1px solid var(--yb-line-dark);
}

.template-homepage .qtl-story-row .qtl-story-meta {
  margin-top: 0;
}

.template-homepage .qtl-story-row h3 {
  max-width: 610px;
  margin: 0;
  font-family: var(--yb-display);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.template-homepage .qtl-story-row > span {
  position: absolute;
  right: 0;
  bottom: 30px;
  color: rgba(174, 187, 192, 0.6);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.template-homepage .qtl-editorial__empty {
  max-width: var(--yb-content);
  margin: 0 auto;
  padding: 50px;
  border: 1px solid var(--yb-line-dark);
  color: var(--yb-mist);
}

/* Library and membership */

.template-homepage .qtl-library {
  min-height: 760px;
  padding: var(--yb-section) var(--yb-gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: clamp(70px, 11vw, 180px);
  align-items: center;
}

.template-homepage .qtl-library__copy {
  max-width: 680px;
}

.template-homepage .qtl-library__copy > p:not(.qtl-kicker) {
  margin: 32px 0 38px;
  color: #35454a;
  font-size: 18px;
  line-height: 1.75;
}

.template-homepage .qtl-library__formats {
  border-top: 1px solid var(--yb-line-light);
}

.template-homepage .qtl-library__formats > div {
  min-height: 112px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 26px;
  align-items: center;
  border-bottom: 1px solid var(--yb-line-light);
}

.template-homepage .qtl-library__formats span {
  color: #65757a;
  font-family: var(--yb-display);
  font-size: 16px;
}

.template-homepage .qtl-library__formats strong {
  font-family: var(--yb-display);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 400;
}

.template-homepage .qtl-library__formats small {
  max-width: 210px;
  color: #526166;
  font-size: 12px;
  text-align: right;
}

.template-homepage .qtl-membership {
  position: relative;
  min-height: 540px;
  padding: var(--yb-section) var(--yb-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 80px;
  align-items: end;
  overflow: hidden;
  color: var(--yb-ivory);
  background:
    radial-gradient(circle at 18% 30%, rgba(61, 151, 171, 0.18), transparent 26%),
    linear-gradient(135deg, #0b1e29 0%, var(--yb-ink) 68%);
}

.template-homepage .qtl-membership::after {
  content: "YB";
  position: absolute;
  right: -0.05em;
  bottom: -0.38em;
  color: rgba(157, 230, 241, 0.028);
  font-family: var(--yb-display);
  font-size: clamp(320px, 42vw, 700px);
  line-height: 1;
}

.template-homepage .qtl-membership__line {
  position: absolute;
  top: 0;
  right: var(--yb-gutter);
  left: var(--yb-gutter);
  height: 1px;
  background: var(--yb-line-dark);
}

.template-homepage .qtl-membership__copy,
.template-homepage .qtl-membership__action {
  position: relative;
  z-index: 2;
}

.template-homepage .qtl-membership__copy {
  max-width: 980px;
}

.template-homepage .qtl-membership__copy p:last-child {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--yb-mist);
  font-size: 18px;
}

.template-homepage .qtl-membership__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.template-homepage .qtl-membership__action > span {
  color: rgba(174, 187, 192, 0.68);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .template-homepage .qtl-hero {
    min-height: 860px;
    grid-template-columns: minmax(460px, 52%) 1fr;
  }

  .template-homepage .qtl-hero::before {
    width: 52%;
  }

  .template-homepage .qtl-hero h1 {
    font-size: clamp(60px, 7.8vw, 84px);
  }

  .template-homepage .qtl-domain-card {
    min-height: 420px;
    grid-template-columns: 36px 1fr;
    gap: 20px;
  }

  .template-homepage .qtl-featured__slide {
    grid-template-columns: 1fr 1fr;
  }

  .template-homepage .qtl-editorial-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 60px;
  }
}

@media (max-width: 980px) {
  .template-homepage .qtl-focus-list__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .template-homepage .qtl-hero {
    min-height: auto;
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .template-homepage .qtl-hero::before {
    width: 100%;
  }

  .template-homepage .qtl-hero__copy {
    min-height: 720px;
    padding-top: 150px;
  }

  .template-homepage .qtl-hero__visual {
    min-height: 70svh;
  }

  .template-homepage .qtl-scroll-cue {
    display: none;
  }

  .template-homepage .qtl-purpose,
  .template-homepage .qtl-library {
    grid-template-columns: 1fr;
  }

  .template-homepage .qtl-featured__slide {
    grid-template-columns: 1fr;
  }

  .template-homepage .qtl-purpose {
    min-height: 0;
  }

  .template-homepage .qtl-purpose__body {
    max-width: 600px;
    align-self: auto;
    padding-bottom: 0;
  }

  .template-homepage .qtl-section-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .template-homepage .qtl-section-intro > p {
    max-width: 640px;
  }

  .template-homepage .qtl-domain-grid {
    grid-template-columns: 1fr;
  }

  .template-homepage .qtl-domain-card {
    min-height: 350px;
  }

  .template-homepage .qtl-featured__media,
  .template-homepage .qtl-featured__media .kb-section-graphic,
  .template-homepage .qtl-featured__media .kb-section-graphic__frame,
  .template-homepage .qtl-featured__media .kb-section-graphic__image,
  .template-homepage .qtl-featured__media .kb-section-graphic__svg,
  .template-homepage .qtl-featured__media > img {
    min-height: 500px;
  }

  .template-homepage .qtl-featured__story,
  .template-homepage .qtl-library__copy {
    max-width: 760px;
  }

  .template-homepage .qtl-featured.is-enhanced {
    padding-right: var(--yb-gutter);
    padding-bottom: calc(var(--yb-section) + 68px);
    padding-left: var(--yb-gutter);
  }

  .template-homepage .qtl-carousel__side-arrow {
    top: auto;
    bottom: var(--yb-section);
    transform: none;
  }

  .template-homepage .qtl-focus-card {
    grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  }

  .template-homepage .qtl-editorial .qtl-section-intro > .qtl-text-link {
    justify-self: start;
  }

  .template-homepage .qtl-editorial-grid {
    grid-template-columns: 1fr;
  }

  .template-homepage .qtl-lead-story__visual {
    min-height: 390px;
  }

  .template-homepage .qtl-library__formats {
    margin-top: 20px;
  }

  .template-homepage .qtl-membership {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .template-homepage .qtl-membership__action {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .template-homepage .qtl-hero__copy {
    min-height: 720px;
    padding-top: 130px;
  }

  .template-homepage .qtl-hero h1 {
    font-size: clamp(54px, 17vw, 74px);
  }

  .template-homepage .qtl-hero__lede {
    font-size: 16px;
  }

  .template-homepage .qtl-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .template-homepage .qtl-hero__signals div {
    padding-right: 10px;
  }

  .template-homepage .qtl-hero__signals div + div {
    padding-left: 12px;
  }

  .template-homepage .qtl-hero__signals dt {
    font-size: 18px;
  }

  .template-homepage .qtl-hero__signals dd {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .template-homepage .qtl-hero__visual {
    min-height: 560px;
  }

  .template-homepage .qtl-section-index {
    top: 26px;
  }

  .template-homepage .qtl-purpose h2,
  .template-homepage .qtl-featured h2,
  .template-homepage .qtl-library h2,
  .template-homepage .qtl-membership h2,
  .template-homepage .qtl-section-intro h2 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .template-homepage .qtl-purpose__body p,
  .template-homepage .qtl-featured__summary,
  .template-homepage .qtl-library__copy > p:not(.qtl-kicker),
  .template-homepage .qtl-membership__copy p:last-child {
    font-size: 16px;
  }

  .template-homepage .qtl-domain-card {
    min-height: 0;
    padding: 30px 24px 42px;
    grid-template-columns: 26px 1fr;
    gap: 14px;
  }

  .template-homepage .qtl-domain-card__label {
    margin-bottom: 20px;
  }

  .template-homepage .qtl-domain-card h3 {
    font-size: 31px;
  }

  .template-homepage .qtl-domain-card h3 + p {
    font-size: 14px;
  }

  .template-homepage .qtl-featured__media,
  .template-homepage .qtl-featured__media .kb-section-graphic,
  .template-homepage .qtl-featured__media .kb-section-graphic__frame,
  .template-homepage .qtl-featured__media .kb-section-graphic__image,
  .template-homepage .qtl-featured__media .kb-section-graphic__svg,
  .template-homepage .qtl-featured__media > img {
    min-height: 370px;
  }

  .template-homepage .qtl-article-meta {
    grid-template-columns: 1fr;
  }

  .template-homepage .qtl-article-meta div {
    padding: 10px 0;
  }

  .template-homepage .qtl-article-meta div + div {
    padding-left: 0;
    border-top: 1px solid var(--yb-line-light);
    border-left: 0;
  }

  .template-homepage .qtl-carousel__side-arrow {
    width: 44px;
    height: 44px;
  }

  .template-homepage .qtl-carousel__side-arrow--previous {
    left: var(--yb-gutter);
  }

  .template-homepage .qtl-carousel__side-arrow--next {
    right: var(--yb-gutter);
  }

  .template-homepage .qtl-focus-card {
    grid-template-columns: 1fr;
  }

  .template-homepage .qtl-focus-card__graphic {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--yb-line-dark);
  }

  .template-homepage .qtl-focus-card__graphic .kb-section-graphic,
  .template-homepage .qtl-focus-card__graphic .kb-section-graphic__frame {
    min-height: 220px;
  }

  .template-homepage .qtl-lead-story__visual {
    min-height: 300px;
  }

  .template-homepage .qtl-story-row {
    min-height: 0;
    padding-right: 0;
    padding-bottom: 56px;
  }

  .template-homepage .qtl-story-row > span {
    right: auto;
    left: 0;
  }

  .template-homepage .qtl-library__formats > div {
    grid-template-columns: 32px 1fr;
    gap: 14px;
  }

  .template-homepage .qtl-library__formats small {
    grid-column: 2;
    text-align: left;
  }

  .template-homepage .qtl-membership::after {
    font-size: 330px;
  }
}
