:root {
  --ink: #2a2420;
  --paper: #fff7f1;
  --muted: #7a6a62;
  --soft: #d9776c;
  --soft-deep: #c45d55;
  --sky: #7eb8b2;
  --cream: #ffe8d6;
  --line: rgba(42, 36, 32, 0.1);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection {
  background: rgba(217, 119, 108, 0.28);
  color: var(--ink);
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(800px 480px at 100% -10%, rgba(255, 196, 170, 0.45), transparent 55%),
    radial-gradient(700px 420px at -10% 30%, rgba(126, 184, 178, 0.22), transparent 50%),
    radial-gradient(600px 400px at 80% 80%, rgba(255, 214, 186, 0.35), transparent 55%),
    linear-gradient(180deg, #fff3ea 0%, var(--paper) 42%, #ffeede 100%);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sparks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.chip {
  position: fixed;
  top: calc(0.7rem + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%) translateY(-140%);
  z-index: 65;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 247, 241, 0.95);
  border: 1px solid rgba(217, 119, 108, 0.25);
  box-shadow: 0 10px 28px rgba(196, 93, 85, 0.14);
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--soft-deep);
  transition: transform 0.35s ease;
}
.chip.is-on { transform: translateX(-50%) translateY(0); }
.chip i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--sky);
  display: block;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(217, 119, 108, 0.15);
  background: linear-gradient(90deg, rgba(255, 232, 214, 0.7), rgba(214, 236, 233, 0.7));
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #9a6b62;
  padding: 0.55rem 0;
}
.ticker__track span { padding-right: 1rem; white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stats {
  width: min(720px, 92vw);
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  text-align: center;
}
.stats article {
  padding: 0.95rem 0.4rem;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(217, 119, 108, 0.16);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(196, 93, 85, 0.06);
}
.stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 600;
  color: var(--soft-deep);
}
.stats span {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: transparent;
}
.progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d9776c, #7eb8b2, #f0c14a);
}

/* Intro — warm friendly open */
.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  background:
    radial-gradient(600px 400px at 50% 30%, rgba(255, 220, 200, 0.55), transparent 60%),
    linear-gradient(160deg, #fff3ea 0%, #ffd9c8 45%, #d8efe9 100%);
  color: var(--ink);
  text-align: center;
  padding: 2rem;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__orbit {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 2px solid rgba(217, 119, 108, 0.25);
  border-top-color: #d9776c;
  border-right-color: #7eb8b2;
  animation: spin 1.4s linear infinite;
  margin-bottom: 0.4rem;
}
.intro__small {
  margin: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #9a6b62;
  animation: rise 0.8s ease both;
}
.intro__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 600;
  font-style: italic;
  line-height: 0.9;
  color: var(--soft-deep);
  animation: rise 0.9s ease 0.1s both;
}
.intro__line {
  margin: 0.2rem 0 0;
  min-height: 1.4em;
  color: #7a6a62;
  font-weight: 400;
}
.intro__bar {
  width: min(14rem, 60vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(42, 36, 32, 0.1);
  overflow: hidden;
}
.intro__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #d9776c, #7eb8b2);
  transition: width 0.4s ease;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Hero — photo first (full image), then words */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(180deg, #fff3ea, #ffe4d4);
}
.hero__img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 58vh;
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, #fff3ea, #ffe4d4);
  will-change: transform;
}
.hero__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(42, 30, 26, 0.78) 0%, rgba(42, 30, 26, 0.35) 45%, transparent 100%);
  pointer-events: none;
}
.hero__text {
  position: relative;
  z-index: 1;
  margin-top: -4.5rem;
  padding: clamp(1.2rem, 5vw, 2.5rem);
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  color: #f6f0e7;
  max-width: 34rem;
  animation: rise 1s ease 0.4s both;
}
.eyebrow {
  margin: 0 0 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #e7c8b0;
}
.hero__text h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 10vw, 5.8rem);
  font-weight: 600;
  line-height: 0.92;
}
.hero__sub {
  margin: 0.9rem 0 0;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(246, 240, 231, 0.88);
  font-size: 1.05rem;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, #d9776c, #c45d55);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(196, 93, 85, 0.28);
  transition: transform 0.2s ease;
}
.hero__cta:hover { transform: translateY(-2px); }
.swipe-hint {
  display: inline-block;
  letter-spacing: 0.08em;
  animation: swipeNudge 1.4s ease-in-out infinite;
}
@keyframes swipeNudge {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(5px); opacity: 1; }
}

@keyframes drift {
  from { transform: scale(1.06) translateY(0); }
  to { transform: scale(1.12) translateY(-1.5%); }
}

.section-head {
  width: min(720px, 90vw);
  margin: 0 auto 1.5rem;
  text-align: center;
}
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}
.section-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

.words,
.note,
.close,
.cities {
  width: min(720px, 90vw);
  margin: 0 auto;
}

.words {
  padding: 5rem 0 3rem;
  text-align: center;
}
.words p {
  margin: 0.35rem 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.25;
}
.words__soft {
  margin-top: 1.4rem !important;
  font-style: italic;
  color: var(--soft-deep);
}

.note {
  padding: 3.5rem 0;
  text-align: center;
}
.note p {
  margin: 0.45rem 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.8vw, 2.2rem);
  line-height: 1.35;
  font-weight: 500;
}
.note--late { padding-top: 1rem; }

/* Spotlight polaroids */
.spotlight {
  padding: 1rem 0 2.5rem;
}
.spotlight__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1.5rem 4vw 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.spotlight__track::-webkit-scrollbar { height: 6px; }
.spotlight__track::-webkit-scrollbar-thumb { background: rgba(138,80,64,0.35); }

.polaroid {
  position: relative;
  flex: 0 0 min(248px, 78vw);
  scroll-snap-align: center;
  background: #fffdf8;
  padding: 0.7rem 0.7rem 1.1rem;
  box-shadow: 0 16px 40px rgba(29, 26, 23, 0.12);
  border: 1px solid rgba(29, 26, 23, 0.06);
  cursor: pointer;
  transform: rotate(var(--tilt, -2deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: floatCard 5s ease-in-out infinite;
}
.polaroid:nth-child(even) { --tilt: 2.5deg; animation-delay: 0.4s; }
.polaroid:nth-child(3n) { --tilt: -3deg; animation-delay: 0.8s; }
.polaroid:hover,
.polaroid:active {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  box-shadow: 0 22px 50px rgba(29, 26, 23, 0.18);
  animation: none;
}
@keyframes floatCard {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
.polaroid::before {
  content: "";
  position: absolute;
  top: -0.35rem;
  left: 50%;
  width: 42%;
  height: 0.55rem;
  transform: translateX(-50%) rotate(-2deg);
  background: linear-gradient(90deg, rgba(217, 119, 108, 0.55), rgba(126, 184, 178, 0.65));
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  z-index: 2;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #ddd;
}
.polaroid span {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  text-align: center;
  color: #4d463e;
}

/* Featured */
.featured {
  width: min(920px, 94vw);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}
.featured figure {
  margin: 0;
  cursor: zoom-in;
}
.featured img {
  width: 100%;
  max-height: 86vh;
  object-fit: cover;
  object-position: center 20%;
  animation: rise 0.9s ease both;
}
.featured figcaption {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

/* Videos */
.live {
  padding: 1rem 0 2rem;
}
.live__grid {
  width: min(980px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.live__vid {
  width: 100%;
  background: #1d1a17;
  max-height: 70vh;
}

/* Gallery */
.film { padding: 2rem 0 1rem; position: relative; }
.film__rail {
  width: min(1100px, 94vw);
  margin: 0 auto 0.8rem;
  height: 1.1rem;
  background:
    radial-gradient(circle at 0.55rem 50%, #fff7f1 0.28rem, transparent 0.3rem) 0 0 / 1.4rem 100%,
    linear-gradient(90deg, #d9776c, #e8a090, #7eb8b2);
  opacity: 0.9;
  border-radius: 999px;
}
.film__rail--bottom { margin: 1rem auto 0; }
.gallery {
  width: min(1100px, 94vw);
  margin: 0 auto;
  columns: 3 220px;
  column-gap: 0.85rem;
}
.gallery figure {
  break-inside: avoid;
  margin: 0 0 0.85rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  cursor: zoom-in;
}
.gallery figure.is-in {
  opacity: 1;
  transform: none;
}
.gallery img {
  width: 100%;
  display: block;
  transition: transform 4.5s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 0.8rem 0.75rem;
  background: linear-gradient(0deg, rgba(196, 93, 85, 0.88), transparent);
  color: #fff7f1;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.25;
}

/* Cities */
.cities {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 3rem 0;
  text-align: center;
}
.cities span {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
}
.cities strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.cities__pulse {
  width: 3.5rem;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.cities__pulse::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  background: linear-gradient(90deg, #d9776c, #7eb8b2);
  animation: travel 2.2s ease-in-out infinite;
}
@keyframes travel {
  from { left: -40%; }
  to { left: 100%; }
}

.close {
  padding: 2rem 0 5.5rem;
  text-align: center;
}
.close__big {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 600;
}
.close p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-weight: 300;
}
.close__name {
  margin-top: 1.6rem !important;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--soft-deep);
  position: relative;
  display: inline-block;
}
.close__name::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -0.35rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d9776c, #7eb8b2, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s ease;
}
.close.reveal.is-in .close__name::after,
.close.is-in .close__name::after {
  transform: scaleX(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(42, 30, 26, 0.88);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox__frame {
  margin: 0;
  max-height: 92vh;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}
.lightbox__frame img {
  max-height: 78vh;
  width: auto;
  max-width: min(92vw, 980px);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  animation: rise 0.35s ease both;
}
.lightbox__frame figcaption {
  color: #f0e6da;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  text-align: center;
  max-width: 36rem;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(246,240,231,0.35);
  background: transparent;
  color: #f6f0e7;
  font: inherit;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}
.lightbox__nav {
  border: 0;
  background: transparent;
  color: #f6f0e7;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

@media (max-width: 800px) {
  .hero__text { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
  .hero__text h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .live__grid { grid-template-columns: 1fr; }
  .gallery { columns: 2 140px; column-gap: 0.55rem; width: 96vw; }
  .gallery figure { margin-bottom: 0.55rem; }
  .gallery figcaption { font-size: 0.92rem; padding: 1.6rem 0.55rem 0.55rem; }
  .cities { grid-template-columns: 1fr; gap: 0.5rem; }
  .cities__pulse { width: 2px; height: 2.2rem; margin: 0.3rem auto; }
  .cities__pulse::after {
    width: 100%;
    height: 35%;
    animation-name: travelY;
  }
  @keyframes travelY {
    from { top: -40%; left: 0; }
    to { top: 100%; left: 0; }
  }
  .lightbox { grid-template-columns: 1fr; padding: 0.5rem; }
  .lightbox__nav { display: none; }
  .lightbox__frame img { max-height: 72vh; width: 100%; }
  .spotlight__track { padding-left: 5vw; padding-right: 5vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .gallery figure { opacity: 1; transform: none; }
}
