/* Global reset and utilities */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

/* Page background (kept on body for compatibility) */
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  position: relative;
  background-color: #f5f1e8;
  background-image: url('assets/olga-thelavart-HZm2XR0whdw-unsplash.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  /* Prevent decorative artwork from introducing horizontal scroll */
  overflow-x: hidden;
}

.panel {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
}

.panel--cover {
  position: relative;
  /* Sit above the next panel so overflowing artwork (dragon) and props can paint on top */
  z-index: 3;
  height: 100dvh;
  min-height: 100dvh;
  min-height: 100svh;
  /* allow decorative elements to extend past the fold */
  overflow: visible;
}

/* Second viewport: background is the bottom layer; content stacks above ::before */
.panel--next {
  position: relative;
  /* keep panel background beneath everything; props should layer above background but below foreground artwork */
  z-index: 0;
  isolation: isolate;
  min-height: 100dvh;
  min-height: 100svh;
}

.panel--next::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #f5f1e8;
  background-image: url('assets/olga-thelavart-HZm2XR0whdw-unsplash.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.left-stack {
  position: absolute;
  top: -10px;
  left: clamp(20px, 4.5vw, 52px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 2vw, 22px);
  max-width: min(92vw, 360px);
}

.flag-top {
  position: relative;
  display: inline-block;
  vertical-align: top;
  max-width: min(22vw, 140px);
  line-height: 0;
  transform-origin: 30% -10px;
}

.hero-center {
  position: absolute;
  left: 50%;
  /* Lower anchor + less upward translate so the stack isn’t clipped by overflow:hidden */
  top: clamp(34vh, 38vh, 46vh);
  transform: translate(-50%, -40%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: min(96vw, 1800px);
  max-width: 96vw;
  max-height: 88vh;
  line-height: 0;
}

.headline-wrap {
  flex: 0 1 auto;
  width: min(52vw, 820px);
  max-width: min(52vw, 820px);
  max-height: 30vh;
  line-height: 0;
  padding-top: clamp(6px, 1vh, 16px);
}

.headline {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 30vh;
  height: auto;
  object-fit: contain;
  object-position: center top;
  margin: 0;
}

@font-face {
  font-family: 'Jiayou Akira';
  /* Local project copy placed at repository root */
  src: local('Jiayou Akira'), url('./JiayouAkira-MAVEY.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.subheader {
  font-family: 'Jiayou Akira', "Marker Felt", "Brush Script MT", cursive;
  color: #820000; /* HSB 0 100 51 -> approx #820000 */
  text-align: center;
  font-size: clamp(20px, 3.2vw, 56px);
  line-height: 1;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  white-space: pre-wrap;
}

.email-meta {
  font-family: 'Jiayou Akira', "Marker Felt", "Brush Script MT", cursive;
  color: #820000;
  text-align: center;
  font-size: clamp(16px, 2.4vw, 36px);
  line-height: 1.2;
  margin: 0;
  padding: 0;
  margin-top: clamp(6px, 1.2vh, 16px);
  margin-bottom: clamp(10px, 1.8vh, 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.email-banner {
  position: relative;
  z-index: 5; /* above .dragon (z-index: 3) so RSVP artwork isn’t covered by the dragon PNG */
  display: block;
  width: auto;
  max-width: min(88vw, 560px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  transform: translateX(-clamp(200px, 35vw, 720px));
}

.email-banner__inner {
  position: relative;
  display: inline-block;
  line-height: 0;
  vertical-align: top;
  transform-origin: center center;
  transition: transform 0.12s ease;
}

.email-banner__inner:has(.email-banner__submit:active) {
  transform: scale(0.96);
}

@keyframes email-signup-click {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

.email-banner__inner--clicked {
  animation: email-signup-click 0.38s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .email-banner__inner {
    transition: none;
  }

  .email-banner__inner:has(.email-banner__submit:active) {
    transform: none;
  }

  .email-banner__inner--clicked {
    animation: none;
  }
}

.email-banner__art {
  display: block;
  width: 100%;
  max-width: min(88vw, 560px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.email-banner__input {
  position: absolute;
  left: 3%;
  top: 20%;
  width: 64%;
  height: 60%;
  border: 0;
  margin: 0;
  /* top / right / bottom / left — sit higher in the field */
  padding: 0 clamp(6px, 1vw, 12px) clamp(0.25em, 1.4vh, 12px) clamp(14px, 3.5vw, 36px);
  background: transparent;
  color: #6b0f1a;
  caret-color: #6b0f1a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(13px, 2.4vw, 20px);
  line-height: 1.15;
  z-index: 2;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.email-banner__input::placeholder {
  color: #6b0f1a;
  opacity: 0.92;
  line-height: 1.15;
}

.email-banner__input:focus,
.email-banner__input:focus-visible {
  outline: none;
  box-shadow: none;
}

.email-banner__submit {
  position: absolute;
  left: 69%;
  top: 20%;
  width: 28%;
  height: 60%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flag-top:hover,
.flag-top:focus-visible {
  animation: flag-swing 0.95s ease-in-out infinite alternate;
}

@keyframes flag-swing {
  from {
    transform: rotate(-5deg);
  }
  to {
    transform: rotate(5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flag-top:hover,
  .flag-top:focus-visible {
    animation: none;
  }
}

.flag-top img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

.flag-top:focus-visible {
  outline: 3px solid #c42b2b;
  outline-offset: 4px;
  border-radius: 4px;
}

.dragon {
  position: relative;
  flex: 0 1 auto;
  z-index: 3;
  max-width: min(86vw, 820px);
  max-height: 46vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 600px) {
  .left-stack {
    max-width: min(92vw, 300px);
    gap: clamp(8px, 2.5vw, 14px);
  }

  .flag-top {
    max-width: min(28vw, 100px);
  }

  .hero-center {
    top: clamp(30vh, 34vh, 42vh);
    transform: translate(-50%, -38%);
    max-height: 86vh;
    gap: 0;
    width: min(98vw, 100%);
  }

  .headline-wrap {
    width: min(62vw, 540px);
    max-width: min(62vw, 540px);
    max-height: 19vh;
  }

  .headline {
    max-height: 19vh;
  }

  .email-banner {
    max-width: min(94vw, 420px);
    transform: translateX(-clamp(160px, 42vw, 560px));
  }

  .email-banner__art {
    max-width: min(94vw, 420px);
  }

  .email-banner__input {
    font-size: clamp(12px, 3.2vw, 16px);
  }

  .dragon {
    max-width: min(92vw, 600px);
    max-height: 40vh;
    margin: 0;
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }

  .panel--next::before {
    background-attachment: scroll;
  }
}

/* Decorative clouds on the second panel */
.panel-clouds {
  position: absolute;
  top: 8%;
  right: 6%;
  width: min(48vw, 740px);
  max-width: 92%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  transform: translateZ(0);
}

/* Full-width clouds background that sits behind the dragon */
/* Clouds placed inside the cover section, under the dragon (moved to next panel) */

/* Clouds placed in the next panel that overlap upward under the dragon */
.panel-clouds-under {
  position: absolute;
  left: 50%;
  /* pull further upward so the clouds sit at the intersection and closer to the dragon */
  top: -42vh;
  transform: translateX(-50%);
  width: 110%;
  height: auto;
  z-index: 2; /* sit above the next-panel content but still behind the dragon (dragon z-index:3) */
  pointer-events: none;
  user-select: none;
  object-fit: cover;
}

@media (max-width: 600px) {
  .panel-clouds-under {
    top: -56vh;
    width: 140%;
  }
}

/* Milestones wrapper — takes the same position the bare img had */
.panel-milestones-wrap {
  position: absolute;
  left: 50%;
  top: 80vh;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100vw;
  height: auto;
  z-index: 1;
}

/* Milestones artwork placed under the clouds and fully fit to viewport */
.panel-milestones-under {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  object-position: center top;
}

/* Overlay grid — 4 rows stacked vertically to match the 4 boxes */
.milestones-grid {
  position: absolute;
  inset: 0% 6% 20% 58%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 2%;
  pointer-events: none;
  transform: translateY(1.6%);
}

.milestones-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2% 4%;
  color: #820000;
}

.milestones-list {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0;
  color: #820000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: bold;
  line-height: 1.7;
}

/* Paragraph overlay — same proportions as .milestones-list */
.milestones-paragraph {
  margin: 0;
  color: #820000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: bold;
  line-height: 1.7;
}

.milestones-paragraph code {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.92em;
  font-weight: normal;
}

/* Ensure milestone paragraphs default to in-cell sizing (prevents accidental bleed) */
.milestones-cell .milestones-paragraph {
  width: auto;
  max-width: 95%;
}

/* Marker for a wider paragraph (semantic only) */
.milestones-paragraph--wide {
  max-width: none;
  width: auto;
}

/* Fourth milestone cell: keep standard cell layout */
.milestones-cell--step4 {
  align-items: stretch;
  justify-content: center;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}

/* APPLY FULL-VIEWPORT BLEED ONLY TO THE PARAGRAPH INSIDE THE FOURTH MILESTONE CELL */
.milestones-cell--step4 .milestones-paragraph--wide {
  /* in-cell wide paragraph (no viewport bleed) */
  max-width: none;
  width: 100%;
  transform: translate(-2%, 34%);
  align-self: stretch;
  box-sizing: border-box;
}

/* Isolate the fourth milestone so global milestone rules do not affect it.
   This resets common properties so step4 can be positioned/styled independently. */
.milestones-cell--step4 {
  align-items: stretch;
  justify-content: center;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}

.milestones-cell--step4 .milestones-paragraph--wide {
  /* in-cell wide paragraph (no viewport bleed) */
  max-width: none;
  width: 100%;
  transform: translate(-2%, 34%);
  align-self: stretch;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .milestones-cell--step4 .milestones-paragraph--wide {
    transform: translate(-8%, 14%);
  }
}

@media (max-width: 600px) {
  .milestones-cell--step4 .milestones-paragraph--wide {
    transform: translate(-14%, 24%);
  }
}

.milestones-cell--step3 .milestones-paragraph + .milestones-paragraph {
  margin-top: 0.65em;
}

/* Second milestone box: same typography, shifted to the left side of the panel */
.milestones-cell--step2 {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.milestones-cell--step2 .milestones-step2-block {
  /* Restore original left-shift so the step2 copy sits over the left box */
  transform: translate(-165%, -55%);
  max-width: 95%;
}

.milestones-cell--step2 .milestones-paragraph + .milestones-paragraph {
  margin-top: 0.65em;
}

/* Third milestone box: same typography and positioning scale as step 2 */
.milestones-cell--step3 {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.milestones-cell--step3 .milestones-paragraph {
  /* Reverted: keep step3 paragraph in normal flow (no manual offsets) */
  transform: none;
  max-width: 100%;
}

@media (max-width: 900px) {
  .panel-milestones-wrap {
    top: 80vh;
  }
  .milestones-grid {
    inset: 4% 20% 4% 20%;
  }
  .milestones-cell--step2 .milestones-step2-block {
    transform: translate(-38%, -10%);
  }
  .milestones-cell--step3 .milestones-paragraph {
    transform: none;
  }
  .milestones-cell--step4 .milestones-paragraph--wide {
    transform: translate(-8%, 14%);
  }
}

@media (max-width: 600px) {
  .panel-milestones-wrap {
    top: 96vh;
  }
  .milestones-grid {
    inset: 3% 10% 3% 10%;
  }
  .milestones-cell--step2 .milestones-step2-block {
    transform: translate(-18%, -8%);
    max-width: 95%;
  }
  .milestones-cell--step3 .milestones-paragraph {
    transform: none;
    max-width: 100%;
  }
  .milestones-cell--step4 .milestones-paragraph--wide {
    transform: translate(-14%, 24%);
  }
}

/* Small header image that sits between clouds and the milestones artwork */
.panel-milestones-header {
  position: absolute;
  left: 50%;
  top: 60vh; /* slightly upward from previous position */
  transform: translate(-50%, -12%); /* center and nudge upward */
  width: auto;
  max-width: 40vw; /* make the header smaller */
  max-height: 16vh;
  height: auto;
  z-index: 1.5; /* between clouds (2) and milestones (1) visually */
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .panel-milestones-header {
    top: 56vh;
    max-width: 56vw;
    max-height: 14vh;
  }
}

@media (max-width: 600px) {
  .panel-milestones-header {
    top: 52vh;
    max-width: 72vw;
    max-height: 12vh;
  }
}

/* Prizes header placed below the Milestones artwork */
.panel-prizes-header {
  position: absolute;
  left: 50%;
  top: 360vh; /* moved downward 5× (was 96vh -> 480vh) */
  transform: translateX(-50%);
  width: auto;
  max-width: 48vw;
  height: auto;
  z-index: 1; /* same layer as Milestones (below clouds) */
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 900px) {
  .panel-prizes-header {
    top: 540vh;
    max-width: 60vw;
  }
}

@media (max-width: 600px) {
  .panel-prizes-header {
    top: 600vh;
    max-width: 76vw;
  }
}

/* Row of prize items placed under the prizes header */
.panel-prize-row {
  position: absolute;
  left: 50%;
  top: 390vh; /* halved the vertical gap to PrizesHeader (was 520vh) */
  transform: translateX(-50%);
  display: flex;
  gap: 6vw;
  align-items: flex-start;
  justify-content: center;
  width: min(90vw, 1200px);
  pointer-events: none;
  z-index: 1;
}

.panel-prize-item {
  width: min(28vw, 320px);
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}

.panel-prize-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.panel-prize-item-wrap .panel-prize-item {
  width: 100%;
}

.panel-prize-label {
  width: min(28vw, 320px);
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 900px) {
  .panel-prize-row {
    top: 550vh;
    gap: 4vw;
  }
  .panel-prize-item {
    width: min(34vw, 260px);
  }
  .panel-prize-label {
    width: min(34vw, 260px);
  }
}

@media (max-width: 600px) {
  .panel-prize-row {
    top: 620vh;
    gap: 3vw;
  }
  .panel-prize-item {
    width: min(40vw, 220px);
  }
  .panel-prize-label {
    width: min(40vw, 220px);
  }
}

/* FAQ header placed below the prize row */
.panel-faq-header {
  position: absolute;
  left: 53%;
  /* place just above the prize row */
  top: 470vh;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: 56vw;
  height: auto;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 900px) {
  .panel-faq-header {
    top: 530vh;
    max-width: 72vw;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 600px) {
  .panel-faq-header {
    top: 600vh;
    max-width: 88vw;
    transform: translate(-50%, -50%);
  }
}

/* Decorative window graphic placed under the FAQ header (wrapper) */
.panel-window-wrap {
  position: absolute;
  left: 50%; /* keep centered */
  top: 480vh; /* placed below FAQ header */
  transform: translate(-50%, 0);
  width: min(76vw, 1200px);
  max-width: 76vw;
  height: auto;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.panel-window-wrap .panel-window-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
}

/* overlay grid that maps to the window's internal boxes */
.panel-window-wrap .window-grid {
  position: absolute;
  inset: 9% 6% 9% 6%; /* leave margin to sit inside the frame */
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns x 2 rows = 6 cells */
  grid-template-rows: repeat(2, 1fr);
  gap: 3%;
  /* Must be auto: inherited pointer-events:none from .panel-window-wrap would swallow all link clicks */
  pointer-events: auto;
  transform: translateY(-5.5%);
}

/* Temporary editing grid that overlays the window for uniform placement */
.temp-grid {
  position: absolute;
  inset: 9% 6% 9% 6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3%;
  pointer-events: none;
  z-index: 2;
  visibility: hidden; /* hidden by default; set to visible while developing */
}

.temp-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 1.2vw;
  text-align: center;
}

.panel-window-wrap .window-cell {
  display: flex;
  flex-direction: column;
  align-items: center; /* center content horizontally */
  justify-content: center; /* center content vertically */
  color: #ffffff;
  padding: 1.2vw;
  text-align: center; /* center-align text inside the cell */
  /* simplified: no text shadow for a cleaner look */
}

/* Fourth FAQ cell: shifted right */
.panel-window-wrap .window-cell--legit {
  align-items: flex-start;
  text-align: left;
  padding-left: 10%;
  transform: translateX(8%);
}

/* Third FAQ cell: text left-indented, shifted left */
.panel-window-wrap .window-cell--track {
  align-items: flex-start;
  text-align: left;
  padding-left: 15%;
  transform: translateX(-15%);
}

/* First FAQ cell: text left-indented, block shifted right within the box */
.panel-window-wrap .window-cell--eligible {
  align-items: flex-start;
  text-align: left;
  padding-left: 10%;
  transform: translateX(8%);
}

/* allow specific cells to be positioned independently when locked */
.panel-window-wrap .window-cell.locked,
.panel-window-wrap .window-cell.moved,
.panel-window-wrap .window-cell.third-left,
.panel-window-wrap .window-cell.second-up {
  /* Reset any manual offsets so all overlays sit uniformly centered */
  position: static;
  left: auto;
  top: auto;
  transform: none;
}

.window-question {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(14px, 2.2vw, 20px);
  color: #820000; /* HSB 0 100 51 */
  margin: 0 0 6px 0;
}

.window-answer {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(12px, 1.9vw, 16px);
  margin: 0;
  color: #000000;
}

.window-resources {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(12px, 1.9vw, 16px);
  color: #820000; /* bullet marker color */
}

.window-resources a {
  color: #820000;
  text-decoration: underline;
}

.window-resources a:hover {
  opacity: 0.75;
}

/* Sixth FAQ cell: left-aligned and shifted upward */
.panel-window-wrap .window-cell--more {
  align-items: flex-start;
  text-align: left;
  padding-left: 10%;
  transform: translate(-10%, -25%);
}

/* Email link in the 6th overlay */
.window-cell .window-answer a[href^="mailto"] {
  color: #820000;
  text-decoration: underline;
}

.window-cell .window-answer a[href^="mailto"]:hover {
  opacity: 0.75;
}

/* Hackatime / Lapse links in the 3rd overlay */
.window-cell--track .window-answer a {
  color: #820000;
  text-decoration: underline;
}

.window-cell--track .window-answer a:hover {
  opacity: 0.75;
}

/* Fifth FAQ cell: left-aligned, nudged upward */
.panel-window-wrap .window-cell--resources {
  align-items: flex-start;
  text-align: left;
  padding-left: 10%;
  transform: translateY(-5%);
}

@media (max-width: 900px) {
  .panel-window-wrap {
    top: 560vh;
    max-width: 88vw;
  }
  .panel-window-wrap .window-grid {
    gap: 4%;
    inset: 6% 5% 6% 5%;
  }
}

@media (max-width: 600px) {
  .panel-window-wrap {
    top: 620vh;
    max-width: 96vw;
  }
  .panel-window-wrap .window-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 3%;
    inset: 6% 4% 6% 4%;
  }
}

.window-credit {
  display: block;
  text-align: center;
  color: #820000;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-top: 0.1em;
  transform: translateY(-1.45em);
  pointer-events: none;
  user-select: none;
  line-height: 1.5;
}

.window-credit-link {
  display: inline-block;
  margin-top: 0.2em;
  font-weight: normal;
  color: #820000;
  text-decoration: underline;
  pointer-events: auto;
  letter-spacing: 0.02em;
}

.window-credit-link:hover {
  opacity: 0.85;
}

/* Fire footer — full-width image placed below the Window/FAQ section */
.panel-fire-footer {
  position: absolute;
  left: 0;
  top: 560vh;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

@media (max-width: 900px) {
  .panel-fire-footer {
    top: 640vh;
  }
}

@media (max-width: 600px) {
  .panel-fire-footer {
    top: 720vh;
  }
}

