/* The scene is a single clipped window. Everything after it is an opaque layer. */
.possibilities.journal-section {
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: clip;
  background: #1D1D1F;
  color: #f8f4eb;
  font-family: 'DM Sans', 'Noto Sans TC', sans-serif;
}
.journal-scenery {
  /* The artwork stays in the viewport; only its section-sized window moves. */
  position: fixed;
  inset: 0;
  height: 100%;
  clip-path: inset(var(--journal-window-top, 100%) 0 var(--journal-window-bottom, 0px) 0);
  overflow: hidden;
  pointer-events: none;
  background: #1D1D1F;
  z-index: 0;
}
/* Cabinet artwork stays still behind the moving page aperture. */
.journal-archive-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
}
#journal .journal-content:has(.poster-journal) {
  min-height: 110svh;
  padding: clamp(150px, 21svh, 220px) 0;
}
@media (max-width: 650px) {
  #journal .journal-content:has(.poster-journal) {
    min-height: 95svh;
    padding: 130px 0;
  }
}
.journal-content {
  position: relative;
  z-index: 1;
  min-height: 82svh;
  padding: 84px 5.8%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journal-section .ob-journal {
  margin: 0 auto;
  padding: 0;
  background: transparent;
  max-width: min(1060px, calc((100svh - 170px) * 1.818));
}
.faq-invitation {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: #f3f2ed;
  color: #1D1D1F;
  padding: 70px 6% 72px;
  font-family: 'DM Sans', 'Noto Sans TC', sans-serif;
}
.faq-gateway {
  display: grid;
  grid-template-columns: 1fr 1.15fr auto;
  align-items: center;
  gap: 35px;
  max-width: 1260px;
  margin: auto;
}
.faq-gateway h2 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.35; font-weight: 500; letter-spacing: -.035em; }
.faq-gateway-intro p { margin-top: 13px; font-size: 13px; line-height: 1.8; color: #62645e; }
.faq-teaser { display: flex; align-items: center; gap: 17px; min-width: 0; }
.faq-teaser-mark { color: #d83f14; font-size: 58px; line-height: 1; font-weight: 500; }
.faq-teaser-window { height: 2em; line-height: 2; overflow: hidden; font-size: clamp(14px,1.45vw,19px); font-weight: 500; }
.faq-teaser-track { display: flex; flex-direction: column; transform: translateY(0); }
.faq-teaser-track span { display: block; height: 2em; flex: none; white-space: nowrap; }
.faq-invitation.is-visible .faq-teaser-track { animation: faq-questions 12s cubic-bezier(.76,0,.24,1) infinite; }
.faq-invitation:has(a:hover) .faq-teaser-track, .faq-invitation:focus-within .faq-teaser-track { animation-play-state: paused; }
@keyframes faq-questions {
  0%, 26% { transform: translateY(0); }
  33%, 59% { transform: translateY(-2em); }
  66%, 92% { transform: translateY(-4em); }
  100% { transform: translateY(-6em); }
}
.faq-gateway-link, .answer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 26px;
  border-radius: 999px;
  min-height: 54px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  background: #d83f14;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color .3s, padding .35s cubic-bezier(.16,1,.3,1);
}
.faq-gateway-link svg, .answer-pill svg { width: 20px; height: 20px; flex: none; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.faq-gateway-link:hover, .answer-pill:hover { background: #bd3210; }
.faq-gateway-link:hover svg, .answer-pill:hover svg { transform: translateX(5px); }
.faq-gateway-link:focus-visible, .answer-pill:focus-visible { outline: 2px solid #1D1D1F; outline-offset: 5px; }
#site-footer { position: relative; z-index: 2; isolation: isolate; background: #c34b25; }
.answer-page { font-family: 'DM Sans', 'Noto Sans TC', sans-serif; padding-bottom: 80px; }
.answer-heading { max-width: 1020px; margin: 28px 0 62px; }
.answer-heading h1 { font-size: clamp(34px,4.5vw,64px); font-weight: 500; line-height: 1.45; letter-spacing: -.035em; text-wrap: balance; }
.answer-heading > p { max-width: 680px; margin-top: 26px; font-size: 17px; line-height: 1.9; color: #585b55; }
.answer-body { display: grid; grid-template-columns: minmax(150px,.6fr) minmax(0,1.4fr); gap: 9%; }
.answer-topic { align-self: start; padding: 24px; background: #e9e5dc; border-radius: 14px; font-size: 14px; line-height: 1.9; }
.answer-topic strong { display: block; font-size: 17px; font-weight: 500; margin-bottom: 12px; }
.answer-topic p { color: #5c5d56; }
.answer-copy { max-width: 760px; }
.answer-copy section { margin-bottom: 38px; }
.answer-copy h2 { font-size: 25px; line-height: 1.5; font-weight: 500; margin-bottom: 16px; }
.answer-copy section p { font-size: 16px; line-height: 2; color: #50564f; }
.answer-take { background: #ffe5d7; color: #66351d; padding: 23px 26px; border-radius: 14px; font-size: 15px; line-height: 1.9; margin: 40px 0 0; }
.answer-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; }
.answer-pill-secondary { background: #e9e5dc; color: #1D1D1F; }
.answer-pill-secondary:hover { background: #ded7ca; }
@media (max-width: 1000px) {
  .faq-gateway { grid-template-columns: 1fr auto; gap: 28px; }
  .faq-teaser { grid-row: 2; grid-column: 1; }
  .faq-gateway-link { grid-column: 2; grid-row: 1 / 3; }
  .faq-invitation { padding-top: 48px; padding-bottom: 50px; }
  .faq-teaser-mark { font-size: 42px; }
}
@media (max-width: 650px) {
  .journal-content { min-height: 70svh; padding: 85px 3.5%; }
  .faq-gateway { grid-template-columns: 1fr; gap: 24px; }
  .faq-gateway-link { grid-column: 1; grid-row: 3; justify-self: start; }
  .answer-body { grid-template-columns: 1fr; gap: 30px; }
  .answer-topic { display: none; }
  .answer-heading { margin: 15px 0 40px; }
  .answer-heading > p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-invitation.is-visible .faq-teaser-track { animation: none; }
  .faq-gateway-link, .faq-gateway-link svg, .answer-pill, .answer-pill svg { transition: none; }
}
