@font-face {
  font-family: 'GT Alpina Condensed Light';
  src: url('./GT-Alpina-Condensed-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  color: #fff;
  background: #faf9f7;
  font-family: 'GT Alpina Condensed Light', "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
}

.copy-address {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  user-select: none;
  padding: 6px 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.copy-address:focus { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 2px; }

.copy-toast {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 1000;
  color: #111;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.copy-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.title {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'GT Alpina Condensed Light', "Playfair Display", Georgia, "Times New Roman", serif;
}

.section {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--hero .title {
  font-size: clamp(2.75rem, 8vw, 8rem);
  line-height: 1.05;
}

.section--hero {
  background-image: url('./bg1.jpg');
  background-size: cover;
  background-position: center bottom;
  position: relative;
}

.hero-logo {
  position: absolute;
  top: 8vh;
  left: 40%;
  transform: translateX(-50%);
  width: 200px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(60vw, 720px);
  width: 80%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.35));
  animation: floatHero 12s ease-in-out infinite;
  will-change: transform;
}

.section--hero .title {
  position: relative;
  z-index: 1;
  color: #fff;
}

.section--story {
  text-align: center;
  background-image: url('./bg2.jpg');
  background-size: cover;
  background-position: center top;
  position: relative;
  padding-bottom: 15em;
}

.story-content {
  max-width: 960px;
  font-size: clamp(1.125rem, 2.6vw, 2rem);
  line-height: 1.7;
}

.story-content p + p { margin-top: 1.25rem; }

/* Typographic enhancements for the story section */
.story-content p:first-child::first-letter {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: 3.2em;
  line-height: 0.85;

  margin-top: 0.1em;
}

.story-content .strong {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.story-content .shout {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: 1.2em;
  letter-spacing: 0.02em;
}

.story-content .big { font-size: 1.15em; }

.story-content .caps {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.story-content .highlight {
  background: linear-gradient(transparent 60%, rgba(255, 230, 150, 0.6) 60%);
  padding: 0 0.1em;
  box-decoration-break: clone;
}

/* Decorative absolute images */
.decor {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  width: clamp(80px, 22vw, 360px);
  height: auto;
  animation: floatDecor 14s ease-in-out infinite;
  will-change: transform;
  mask-image: linear-gradient(to bottom, black 100%, transparent 20%);
-webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
mask-composite: intersect;
-webkit-mask-composite: destination-in;
}

/* Between 1st and 2nd sections: anchored to bottom of hero */
.decor--between {
  bottom: -8vh;
}
.decor--left { left: 4vw; }
.decor--right { right: 4vw;
  bottom: 0;
  top: 5%;
}

/* Bottom of second section */
.decor--story-bottom {
  bottom: 3vh;
}

/* Staggered delays for more natural motion */
.decor--between.decor--left { animation-delay: 0.2s; }
.decor--between.decor--right { animation-delay: 0.8s; }
.decor--story-bottom.decor--left { animation-delay: 0.4s; }
.decor--story-bottom.decor--right { animation-delay: 1.1s; }

@media (max-width: 768px) {
  .decor { width: clamp(64px, 24vw, 180px); }
  .decor--between { bottom: -5vh; }
  .decor--left { left: 2.5vw; }
  .decor--right { right: 2.5vw; }
}

/* Keyframes */
@keyframes floatHero {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-20px); }
}

@keyframes floatDecor {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-image, .decor { animation: none !important; }
}

.section--closing {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20vh;
  position: relative;
  background-image: url('./bg3.jpg');
  background-size: cover;
  background-position: center;
}

.title--closing {
  font-size: clamp(2.25rem, 7vw, 6rem);
  line-height: 1.1;
}

.copyright {
  margin-top: auto;
  padding-bottom: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* CTA: Community link on hero */
.cta {
  position: absolute;
  left: 50%;
  bottom: 5vh;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.5rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  color: #111;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.cta:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.22); }
.cta:active { transform: translateX(-50%) translateY(1px); }

.cta__icon {
  width: 40px;
  height: 40px;
  color: #111;
  display: inline-flex;
}

.cta__label {
  font-size: clamp(2rem, 2vw, 1.55rem);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .cta { bottom: 3.5vh; padding: 0.85rem 1.1rem; gap: 0.6rem; }
  .cta__icon { width: 24px; height: 24px; }
}

/* Film grain overlay applied globally */
body::after {
  content: "";
  position: fixed;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, -20%); }
  30% { transform: translate(-5%, -10%); }
  40% { transform: translate(-15%, -20%); }
  50% { transform: translate(-5%, -10%); }
  60% { transform: translate(-15%, -20%); }
  70% { transform: translate(-5%, -10%); }
  80% { transform: translate(-15%, -20%); }
  90% { transform: translate(-5%, -10%); }
}

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}

