/* Full-screen home introduction. The head gate expires if JavaScript fails. */
html.qh-intro-pending::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147482999;
  background: #eee8de;
  pointer-events: none;
}

html.qh-intro-active,
html.qh-intro-active body {
  overflow: hidden !important;
}

.qh-intro[hidden] { display: none !important; }
.qh-intro:focus { outline: 0; }

.qh-intro {
  --qh-intro-ink: #382817;
  --qh-intro-bronze: var(--qh-button-bg, #80603f);
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #eee8de;
  color: var(--qh-intro-ink);
  opacity: 1;
  overscroll-behavior: none;
  touch-action: none;
  transition: opacity 850ms cubic-bezier(.4, 0, .2, 1);
}

.qh-intro__stage,
.qh-intro__stage::after {
  position: absolute;
  inset: 0;
}

.qh-intro__stage {
  overflow: hidden;
  background: #eee8de;
  filter: blur(0);
  transform: scale(1);
  transition: filter 850ms ease, transform 850ms ease;
}

.qh-intro__stage::after {
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(244, 228, 202, .48) 0%, rgba(244, 228, 202, .3) 45%, rgba(244, 228, 202, .06) 72%),
    linear-gradient(0deg, rgba(225, 197, 158, .12), rgba(255, 250, 241, .06));
  pointer-events: none;
}

.qh-intro__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.qh-intro__copy {
  position: absolute;
  z-index: 2;
  left: clamp(42px, 7vw, 132px);
  top: 50%;
  width: min(49vw, 820px);
  transform: translateY(-47%);
  text-align: center;
  text-wrap: balance;
}

.qh-intro__step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease, transform 820ms cubic-bezier(.22, 1, .36, 1);
}

.qh-intro.is-showing [data-qh-intro-step="domain"] {
  opacity: 1;
  transform: none;
  transition-delay: 300ms;
}

.qh-intro.is-showing [data-qh-intro-step="title"] {
  opacity: 1;
  transform: none;
  transition-delay: 1150ms;
}

.qh-intro.is-showing [data-qh-intro-step="slogan"] {
  opacity: 1;
  transform: none;
  transition-delay: 2050ms;
}

.qh-intro.is-showing [data-qh-intro-step="values"] {
  opacity: 1;
  transform: none;
  transition-delay: 3000ms;
}

.qh-intro__domain {
  display: grid;
  justify-items: center;
  gap: clamp(15px, 2.1vh, 27px);
  margin-bottom: clamp(18px, 2.8vh, 36px);
}

.qh-intro__domain p {
  margin: 0;
  font-size: clamp(13px, 1.15vw, 19px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .28em;
}

.qh-intro__rule {
  display: block;
  width: clamp(58px, 7vw, 108px);
  height: 1px;
  background: currentColor;
  opacity: .55;
}

body .qh-intro .qh-intro__title {
	display: flex;
	justify-content: center;
	margin: 0;
  color: var(--qh-intro-ink);
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(64px, 7.5vw, 122px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.045em;
	white-space: nowrap;
}

.qh-intro__wordmark {
  display: block;
  width: clamp(300px, 31vw, 540px);
  max-width: 92%;
  height: auto;
}

body .qh-intro .qh-intro__slogan {
  margin: clamp(20px, 3vh, 38px) 0 0;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(21px, 2.05vw, 35px);
  font-weight: 400;
  line-height: 1.25;
}

.qh-intro__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 0;
  margin: clamp(36px, 5.5vh, 76px) 0 0;
  padding: 0;
  list-style: none;
}

.qh-intro__values li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.15vw, 18px);
  min-height: 58px;
  padding: 0 clamp(8px, 1vw, 18px);
  font-size: clamp(10px, .85vw, 14px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .08em;
  text-align: left;
}

.qh-intro__values li + li { border-left: 1px solid rgba(56, 40, 23, .28); }
.qh-intro__values svg { flex: 0 0 auto; width: clamp(32px, 3vw, 48px); height: auto; }

.qh-intro__actions {
  margin-top: clamp(30px, 4.8vh, 64px);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 720ms ease, transform 820ms cubic-bezier(.22, 1, .36, 1);
}

.qh-intro__actions.is-ready {
  opacity: 1;
  transform: none;
}

body .qh-intro .qh-intro__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  min-width: min(100%, 450px);
  min-height: 68px;
  padding: 17px 30px;
  border: 1px solid var(--qh-intro-bronze);
  border-radius: 2px;
  background: var(--qh-intro-bronze);
  color: var(--qh-button-text, #fffdf8);
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

body .qh-intro .qh-intro__cta:hover {
  border-color: var(--qh-button-hover, #63482f);
  background: var(--qh-button-hover, #63482f);
  color: var(--qh-button-text, #fffdf8);
}

body .qh-intro .qh-intro__cta:focus-visible,
body .qh-intro .qh-intro__skip:focus-visible {
  outline: 2px solid #342615;
  outline-offset: 4px;
}

.qh-intro__cta > span { font-size: 1.25em; line-height: 1; }

body .qh-intro .qh-intro__skip {
  position: absolute;
  z-index: 3;
  top: max(18px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 9px 13px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 250, 241, .72);
  color: var(--qh-intro-ink);
  box-shadow: 0 2px 18px rgba(52, 38, 21, .08);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .08em;
  cursor: pointer;
}

body .qh-intro .qh-intro__skip:hover { background: rgba(255, 250, 241, .94); }
.qh-intro__skip > span { font-size: 16px; line-height: 1; }

.qh-intro.is-revealing { opacity: 0; }
.qh-intro.is-revealing .qh-intro__stage { filter: blur(18px); transform: scale(1.035); }

@media (max-width: 900px) {
  .qh-intro__stage::after {
    background: linear-gradient(0deg, rgba(245, 226, 199, .84) 0%, rgba(245, 226, 199, .57) 54%, rgba(245, 226, 199, .14) 100%);
  }
  .qh-intro__image { object-position: 68% center; }
  .qh-intro__copy {
    left: 50%;
    top: auto;
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
    width: min(calc(100% - 34px), 620px);
    transform: translateX(-50%);
  }
  body .qh-intro .qh-intro__title {
    font-size: clamp(44px, 13vw, 78px);
    white-space: normal;
  }
  .qh-intro__wordmark { width: min(82vw, 390px); }
  body .qh-intro .qh-intro__slogan { font-size: clamp(19px, 5.4vw, 27px); }
  .qh-intro__values { margin-top: clamp(24px, 3.5vh, 42px); }
  .qh-intro__actions { margin-top: clamp(22px, 3.5vh, 38px); }
}

@media (max-width: 560px) {
  .qh-intro__copy { bottom: max(20px, env(safe-area-inset-bottom)); }
  .qh-intro__domain { gap: 12px; margin-bottom: 18px; }
  .qh-intro__domain p { font-size: 11px; letter-spacing: .23em; }
  body .qh-intro .qh-intro__title { font-size: clamp(42px, 13.5vw, 61px); }
  .qh-intro__wordmark { width: min(78vw, 320px); max-width: 100%; }
  body .qh-intro .qh-intro__slogan { margin-top: 17px; font-size: clamp(17px, 5vw, 22px); }
  .qh-intro__values { margin-top: 25px; }
  .qh-intro__values li {
    flex-direction: column;
    gap: 6px;
    min-height: 62px;
    padding: 0 5px;
    font-size: 8.5px;
    text-align: center;
  }
  .qh-intro__values svg { width: 29px; }
  .qh-intro__actions { margin-top: 24px; }
  body .qh-intro .qh-intro__cta {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 14px 18px;
    font-size: 16px;
  }
  body .qh-intro .qh-intro__skip {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
  }
}

@media (max-height: 720px) {
  .qh-intro__copy { bottom: max(12px, env(safe-area-inset-bottom)); }
  .qh-intro__domain { gap: 9px; margin-bottom: 12px; }
  body .qh-intro .qh-intro__title { font-size: clamp(39px, 11vh, 70px); }
  body .qh-intro .qh-intro__slogan { margin-top: 12px; font-size: clamp(16px, 3.3vh, 23px); }
  .qh-intro__values { margin-top: 17px; }
  .qh-intro__values li { min-height: 50px; }
  .qh-intro__values svg { width: 26px; }
  .qh-intro__actions { margin-top: 16px; }
  body .qh-intro .qh-intro__cta { min-height: 50px; padding-block: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html.qh-intro-pending::before,
  .qh-intro { display: none !important; }
  .qh-intro,
  .qh-intro__stage,
  .qh-intro__step,
  .qh-intro__actions { transition: none !important; filter: none !important; transform: none !important; }
}
