/* ============ RESET / BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #fafafa;
  color: #000000;
  font-family: 'Switzer', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.img {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  outline: 1px solid #e5e7eb;
  outline-offset: -1px;
}

/* ============ HEADER ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 56px;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.nav-name {
  font-family: 'Switzer', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.16px;
  line-height: 20px;
}
.nav-links { display: flex; gap: 37px; }
.nav-links a {
  font-family: 'Switzer', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

/* ============ DESKTOP FLUID SCATTER ============ */
.stage {
  position: relative;
  width: min(1440px, 100vw);
  margin: 0 auto;
  aspect-ratio: 1440 / 6245;   /* gallery region (frame y 86 → 6331) */
  container-type: inline-size;
}

/* coordinates below are % of the 1440 x 6245 gallery box (frame y 86..6331). */

.stage-name {
  position: absolute;
  left: 3.889%;
  top: 2.242%;
  width: 80%;
  font-family: 'Milanesa Serif', serif;
  font-weight: 400;
  font-size: 8.889cqw;
  line-height: 0.92;
  letter-spacing: -0.139cqw;
  white-space: nowrap;
}

.stage .plate {
  position: absolute;
  overflow: hidden;
}
.stage .cap {
  position: absolute;
  font-family: 'Switzer', sans-serif;
  font-size: 0.972cqw;
  font-weight: 400;
  line-height: 1.14;
}

/* ============ MOBILE STACK ============ */
.stack { display: none; padding: 0 24px; }
.stack-name {
  font-family: 'Milanesa Serif', serif;
  font-weight: 400;
  font-size: 58px;
  line-height: 0.92;
  letter-spacing: -1px;
  padding: 64px 0 56px;
}
.m-plate { margin-bottom: 48px; }
.m-plate .img {
  aspect-ratio: 1 / 1;
  height: auto;
}
.m-plate figcaption {
  margin-top: 14px;
  font-family: 'Switzer', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.14;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 101px 56px 79px;
  margin-top: 76px;
}
.footer-head {
  font-family: 'Milanesa Serif', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.5px;
  max-width: 500px;
}
.footer-mail {
  display: inline-block;
  margin-top: 25px;
  font-family: 'Switzer', sans-serif;
  font-size: 16px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copy {
  margin-top: 60px;
  font-family: 'Switzer', sans-serif;
  font-size: 14px;
  line-height: 1.14;
  color: #b5b5b5;
}

/* ============ BREAKPOINT ============ */
@media (max-width: 820px) {
  .stage { display: none; }
  .stack { display: block; }

  .nav { padding: 20px 24px; }
  .nav-name, .nav-links a { font-size: 15px; line-height: 19px; }
  .nav-links { gap: 20px; }

  .footer { padding: 48px 24px 56px; margin-top: 0; }
  .footer-head { font-size: 38px; line-height: 1.05; }
  .footer-mail { margin-top: 20px; font-size: 15px; }
  .footer-copy { margin-top: 40px; font-size: 13px; }
}
