/* ================================================================
   Platrr — one-page site
   Palette and type lifted directly from the app's Figma tokens:
   fog #E9EAF0 · bone #F7F3EC · borange #C56A2D · charcoal #181818
   ink #333333 · grey #9D9D9D · Geologica (200/300) + Poppins (logo)
   ================================================================ */

:root {
  --fog: #E9EAF0;
  --bone: #F7F3EC;
  --orange: #C56A2D;
  --orange-deep: #B05A20;
  --orange-cta: #A65312;   /* AA-contrast orange for buttons & small text on light */
  --orange-lift: #D98A50;  /* AA-contrast orange for small text on dark */
  --charcoal: #181818;
  --ink: #333333;
  --grey: #6B6B6B;
  --body: #5C5C5C;
  --el-lo: rgba(189, 200, 223, 0.55);
  --el-hi: rgba(255, 255, 255, 0.85);
  --radius: 22px;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: "Geologica", sans-serif;
  font-weight: 200;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-weight: 300;
  color: var(--ink);
  line-height: 1.12;
}

h1 em, h2 em {
  font-style: normal;
  color: var(--orange);
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(197, 106, 45, 0.22); }

/* ---------- shared bits ---------- */

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  display: inline-block;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--orange-cta);
  color: #FDFBF7;
  box-shadow: 0 2px 6px rgba(143, 69, 12, 0.25), 0 12px 28px rgba(143, 69, 12, 0.28);
}

.btn-primary:hover {
  background: #8F450C;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(143, 69, 12, 0.28), 0 18px 38px rgba(143, 69, 12, 0.32);
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(242, 238, 230, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 10px 22px 10px 17px;
  color: #F6F2EA;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 138, 80, 0.85);
}

.store-btn svg { flex: none; }

.store-btn span {
  display: grid;
  line-height: 1.25;
  text-align: left;
}

.store-btn small {
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: rgba(242, 238, 230, 0.62);
}

.store-btn strong {
  font-weight: 400;
  font-size: 16.5px;
}

.store-btn-lg { padding: 13px 26px 13px 20px; border-radius: 18px; }

.store-btn-lg strong { font-size: 18px; }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-row-footer {
  justify-content: center;
  margin-bottom: 64px;
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  font-weight: 300;
  color: var(--orange-cta);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 106, 45, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.text-link:hover { border-color: var(--orange); }

/* ---------- reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in { opacity: 1; transform: none; }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tonight-card.in, .nav, .mood,
  .hero-photo img, .rooms-photo img, .footer-photo img { animation: none !important; }
  .btn, .store-btn { transition: none !important; }
  .hero h1 .line-in, .wm-in { transform: none !important; transition: none !important; }
  .avatar-stack img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rooms-tiles .room-tile { opacity: 1; transform: none; transition: none; }
  .council-row .member { opacity: 1; transform: none; transition: none; }
  .poll-fill { transition: none !important; }
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  color: #F2EEE6;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, color 0.3s ease;
  animation: nav-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-14px); }
}

.nav.scrolled {
  background: rgba(233, 234, 240, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(160, 172, 200, 0.18);
  padding: 12px 0;
  color: var(--ink);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.wordmark {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.wordmark .dot { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  font-size: 15px;
  font-weight: 300;
  color: inherit;
  opacity: 0.78;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover { opacity: 1; color: var(--orange-lift); }

.nav.scrolled .nav-links a:hover { color: var(--orange-cta); }

.btn-nav { padding: 11px 22px; font-size: 15px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--charcoal);
  color: #EFEBE3;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 130px;
  overflow: hidden;
}

/* Pinned, and clipped so the zoom cannot bleed past the scrim. Deliberately
   not parallaxed: a clipped layer that moves exposes the bare section behind
   the edge it vacates, and the only ways to cover that either rescale the
   photo or tie the zoom, the scroll factor and the viewport together too
   tightly to stay correct. The zoom below carries the motion instead. */
.hero-photo {
  position: absolute;
  inset: 0 0 0 34%;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 42%;
  animation: zoom-hero 26s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(105% 85% at 76% 44%, rgba(197, 106, 45, 0.12) 0%, rgba(197, 106, 45, 0) 62%),
    linear-gradient(90deg, #181818 0%, rgba(24, 24, 24, 0.82) 20%, rgba(24, 24, 24, 0.46) 54%, rgba(24, 24, 24, 0.07) 78%, rgba(24, 24, 24, 0.4) 100%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.6) 0%, rgba(24, 24, 24, 0) 32%, rgba(24, 24, 24, 0) 60%, #181818 100%);
}

@keyframes zoom-hero {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  font-size: clamp(3rem, 6.6vw, 6.1rem);
  font-weight: 200;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #F6F2EA;
  margin: 0 0 28px;
  max-width: 15ch;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.4);
}

.hero h1.reveal { transform: none; }

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}

.hero h1 .line-in {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero h1.in .line-in { transform: translateY(0); }

.hero h1 .line:nth-child(2) .line-in { transition-delay: 0.15s; }


.hero h1 em { color: var(--orange); }

.lead {
  font-size: 20px;
  color: #C9C5BC;
  max-width: 42ch;
  margin-bottom: 42px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 68px;
}

.hero-meta p {
  font-size: 14px;
  color: #9D9D9D;
  max-width: 34ch;
  line-height: 1.45;
}

.avatar-stack { display: flex; flex: none; }

.avatar-stack img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--charcoal);
  margin-right: -9px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-meta.in .avatar-stack img { opacity: 1; transform: none; }

.hero-meta.in .avatar-stack img:nth-child(2) { transition-delay: 0.09s; }
.hero-meta.in .avatar-stack img:nth-child(3) { transition-delay: 0.18s; }
.hero-meta.in .avatar-stack img:nth-child(4) { transition-delay: 0.27s; }

.tonight-card {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 21%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 332px;
  padding: 11px 16px 11px 11px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.66);
  border: 1px solid rgba(242, 238, 230, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}

.tonight-card > img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}

.tonight-text { display: grid; gap: 1px; min-width: 0; }

.tonight-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #B9B4AA;
}

.tonight-text strong {
  font-weight: 300;
  font-size: 17px;
  color: #F6F2EA;
  line-height: 1.25;
}

.tonight-meta { font-size: 12px; color: var(--orange-lift); }

.tonight-arrow {
  margin-left: auto;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(242, 238, 230, 0.25);
  color: #F6F2EA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(242, 238, 230, 0.5);
}

@keyframes drift {
  from { transform: rotate(-2deg) translateY(0); }
  to { transform: rotate(-1.2deg) translateY(-7px); }
}

.tonight-card.in {
  animation: drift 6.5s ease-in-out 1.4s infinite alternate;
}

/* explore panel (Index section) */

.explore-panel {
  width: min(390px, 100%);
  display: grid;
  gap: 16px;
  transform: translate3d(0, var(--py, 0px), 0);
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bone);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 14px 22px;
  color: var(--grey);
  font-size: 15px;
  box-shadow: 0 2px 5px rgba(31, 35, 60, 0.05), 0 14px 30px rgba(31, 35, 60, 0.08);
}

.search-pill svg { color: var(--orange-cta); flex: none; }

.cafe-cards {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 6px;
  padding-bottom: 30px;
}

.cafe-card {
  position: relative;
  flex: 1;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(140, 152, 180, 0.35);
  transition: transform 0.35s ease;
}

.cafe-card img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
}

.cc1 { transform: rotate(-1.5deg); }
.cc2 { transform: rotate(2deg) translateY(26px); }

.cc1:hover { transform: rotate(-1.5deg) translateY(-5px); }
.cc2:hover { transform: rotate(2deg) translateY(21px); }

.cafe-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.8));
}

.cafe-card strong {
  display: block;
  font-weight: 300;
  font-size: 15.5px;
  color: #FDFBF7;
  line-height: 1.3;
}

.cafe-card figcaption span {
  font-size: 11.5px;
  color: rgba(253, 251, 247, 0.75);
}

.cc-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  color: #FDFBF7;
  font-size: 11px;
  padding: 4px 11px;
  border-radius: 999px;
}

.cc-save {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.18);
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-saved { background: var(--orange); border-color: var(--orange); }

/* ---------- manifesto ---------- */

.manifesto { padding: 130px 0 120px; }

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.manifesto h2,
.feature h2,
.rooms h2,
.council h2 {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.manifesto p { max-width: 54ch; }

.proof-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.proof-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.proof-list strong { font-weight: 400; color: var(--ink); }

.manifesto-photo {
  position: relative;
  transform: translate3d(0, var(--py, 0px), 0) rotate(2deg);
}

.manifesto-photo img {
  border-radius: 26px;
  box-shadow: 0 26px 56px rgba(140, 152, 180, 0.38);
}

.manifesto-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(24, 24, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: rgba(242, 238, 230, 0.9);
}

/* ---------- feature acts ---------- */

.feature { padding: 110px 0; }

.feature-alt { background: var(--bone); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-copy .lead { margin-bottom: 0; }

.feature-copy p { max-width: 50ch; }

.feature-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.mood-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 2px 4px;
}

.mood {
  font-size: 14px;
  background: var(--bone);
  color: var(--body);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: 0 2px 5px rgba(31, 35, 60, 0.06), 0 12px 26px rgba(31, 35, 60, 0.1);
  transform: rotate(2deg);
}

.mood { animation: bob 4s ease-in-out infinite alternate; }

@keyframes bob {
  to { translate: 0 -6px; }
}

.mood:nth-child(2) { transform: rotate(-2deg); animation-duration: 4.8s; animation-delay: 0.5s; }
.mood:nth-child(3) { transform: rotate(1deg); animation-duration: 4.4s; animation-delay: 1s; }
.mood:nth-child(4) { transform: rotate(-1.5deg); animation-duration: 5.2s; animation-delay: 0.3s; }

.mood.on {
  background: var(--orange-cta);
  color: #FDFBF7;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(143, 69, 12, 0.32);
}

/* the log */

.feature-grid.flip .feature-copy { order: 1; }
.feature-grid.flip .feature-stage { order: 2; }

.dish-card {
  position: relative;
  width: 340px;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  transform: translate3d(0, var(--py, 0px), 0) rotate(-2deg);
  box-shadow: 0 26px 54px rgba(150, 140, 120, 0.38);
}

.dish-card > img {
  width: 100%;
  aspect-ratio: 3 / 3.7;
  object-fit: cover;
}

.dc-save {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(247, 243, 236, 0.9);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dish-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 8, 0.82));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.dc-name strong {
  display: block;
  font-weight: 300;
  font-size: 17px;
  color: #FDFBF7;
  line-height: 1.3;
}

.dc-name span { font-size: 12px; color: rgba(253, 251, 247, 0.75); }

.dc-arrow {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(247, 243, 236, 0.14);
  border: 1px solid rgba(247, 243, 236, 0.4);
  color: #FDFBF7;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-logged {
  position: absolute;
  top: 26px;
  right: 12%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bone);
  color: var(--ink);
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 18px;
  transform: rotate(4deg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 26px rgba(150, 140, 120, 0.35);
}

.badge-logged i {
  font-style: normal;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  color: #FDFBF7;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.log-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.stat {
  background: #FDFBF5;
  border: 1px solid rgba(51, 51, 51, 0.07);
  border-radius: 18px;
  padding: 16px 20px;
  display: grid;
  gap: 2px;
  box-shadow: 0 8px 22px rgba(150, 140, 120, 0.14);
}

.stat-num {
  font-size: 24px;
  font-weight: 300;
  color: var(--orange-cta);
}

.stat-num small { font-size: 14px; color: var(--grey); }

.stat-label { font-size: 13px; color: var(--grey); }

/* ---------- taste rooms (dark) ---------- */

.rooms {
  position: relative;
  background: var(--charcoal);
  color: #B9B9B9;
  padding: 130px 0;
  overflow: hidden;
}

.rooms-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rooms-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  filter: blur(3px) saturate(1.05);
  transform: scale(1.06);
  animation: zoom-rooms 30s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes zoom-rooms {
  from { transform: scale(1.06); }
  to { transform: scale(1.14); }
}

.rooms-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 24, 24, 0.94) 0%, rgba(24, 24, 24, 0.8) 42%, rgba(24, 24, 24, 0.42) 78%, rgba(24, 24, 24, 0.55) 100%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.9) 0%, rgba(24, 24, 24, 0.3) 42%, rgba(24, 24, 24, 0.9) 100%);
}

.rooms-inner {
  position: relative;
  z-index: 2;
}

.rooms h2 { color: #F8F8F8; }

.rooms h2 em { color: var(--orange); }

.rooms-head { max-width: 640px; margin-bottom: 70px; }

.rooms-lead { color: #9a9a9a; font-size: 18px; }

.rooms-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.rooms-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.room-tile {
  background: rgba(19, 19, 19, 0.55);
  border: 1px solid rgba(242, 238, 230, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease;
}

.rooms-tiles.in .room-tile { opacity: 1; transform: none; }

.rooms-tiles.in .room-tile:nth-child(2) { transition-delay: 0.1s; }
.rooms-tiles.in .room-tile:nth-child(3) { transition-delay: 0.2s; }
.rooms-tiles.in .room-tile:nth-child(4) { transition-delay: 0.3s; }

.rooms-tiles.in .room-tile:hover { border-color: rgba(197, 106, 45, 0.5); transform: translateY(-3px); transition-delay: 0s; }

.room-tile h3 {
  color: #F8F8F8;
  font-size: 20px;
  margin-bottom: 6px;
}

.room-tile p { font-size: 14.5px; line-height: 1.5; color: #9a9a9a; }

.room-note {
  display: inline-block;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--orange-lift);
}

.rooms-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-top: 8px;
}

.poll-card {
  background: var(--bone);
  border-radius: 24px;
  padding: 24px 24px 20px;
  width: 340px;
  transform: rotate(-2deg);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.poll-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.poll-head img { border-radius: 50%; }

.poll-head strong { display: block; font-weight: 400; font-size: 14.5px; color: var(--ink); line-height: 1.2; }

.poll-head span { font-size: 12px; color: var(--grey); }

.poll-q {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.35;
}

.poll-opt {
  position: relative;
  border-radius: 12px;
  background: #EFEAE1;
  margin-bottom: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  font-size: 14px;
}

.poll-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(197, 106, 45, 0.18);
  transition: width 2.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.poll-opt:nth-child(4) .poll-fill { transition-delay: 0.75s; }
.poll-opt:nth-child(5) .poll-fill { transition-delay: 1.1s; }
.poll-opt:nth-child(6) .poll-fill { transition-delay: 1.45s; }

.rooms .in .poll-fill, .poll-card.in .poll-fill { width: var(--w); }

.poll-opt em { font-style: normal; color: var(--ink); position: relative; }

.poll-opt b { font-weight: 400; color: var(--orange-cta); position: relative; }

.poll-meta { display: block; margin-top: 12px; font-size: 12px; color: var(--grey); }

.rooms-caption {
  align-self: flex-end;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(242, 238, 230, 0.55);
}

/* ---------- tables ---------- */

.stage-tables {
  display: grid;
  gap: 0;
  justify-items: start;
  padding: 20px 0;
}

.event-card {
  width: 390px;
  background: var(--bone);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(140, 152, 180, 0.36);
}

.ec-photo {
  position: relative;
  height: 132px;
}

.ec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ec-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(247, 243, 236, 0.92);
  color: var(--ink);
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 999px;
}

.ec-body {
  padding: 16px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ec-info h3 {
  font-size: 18px;
  margin-bottom: 2px;
}

.ec-host {
  font-size: 12.5px;
  color: var(--grey);
  margin-bottom: 10px;
}

.ec-host em { font-style: normal; color: var(--orange-cta); }

.ec-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--body);
}

.ec-meta span { display: inline-flex; align-items: center; gap: 5px; }

.ec-meta svg { color: var(--orange-cta); flex: none; }

.ec-seats { color: var(--orange-cta); }

.tc2 .ec-tag { left: auto; right: 12px; }

.ec-btn {
  flex: none;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #FDFBF5;
  border: 1px solid rgba(51, 51, 51, 0.08);
  box-shadow: 0 8px 18px rgba(150, 140, 120, 0.2);
  color: var(--ink);
}

.ec-btn.joined {
  background: transparent;
  box-shadow: none;
  color: var(--grey);
}

.tc1 { transform: translate3d(0, var(--py, 0px), 0) rotate(-2deg); z-index: 2; }

.tc2 {
  transform: translate3d(64px, calc(var(--py, 0px) - 14px), 0) rotate(2.5deg);
  z-index: 1;
}

/* ---------- council ---------- */

.council {
  background: var(--bone);
  padding: 120px 0 110px;
}

.council-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 64px;
}

.council-copy p { max-width: 50ch; }

.quote-card {
  background: var(--fog);
  border: 1px solid rgba(51, 51, 51, 0.06);
  border-radius: 26px;
  padding: 34px 34px 30px;
  box-shadow: 0 18px 44px rgba(160, 150, 130, 0.16);
}

.quote-card blockquote {
  font-size: 19px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 22px;
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-card figcaption img { border-radius: 50%; }

.quote-card strong { display: block; font-weight: 400; font-size: 15px; color: var(--ink); }

.quote-card span { font-size: 13px; color: var(--grey); }

.council-row {
  background: var(--fog);
  border: 1px solid rgba(51, 51, 51, 0.06);
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(160, 150, 130, 0.16);
  padding: 38px 46px 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 42px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.member {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.council-row.in .member { opacity: 1; transform: none; }

.council-row.in .member:nth-child(2) { transition-delay: 0.08s; }
.council-row.in .member:nth-child(3) { transition-delay: 0.16s; }
.council-row.in .member:nth-child(4) { transition-delay: 0.24s; }
.council-row.in .member:nth-child(5) { transition-delay: 0.32s; }
.council-row.in .member:nth-child(6) { transition-delay: 0.4s; }

.member-pic {
  position: relative;
  width: 76px;
  height: 76px;
  display: block;
}

.member-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 8px 20px rgba(140, 152, 180, 0.28);
  transition: transform 0.3s ease;
}

.member:hover .member-pic img { transform: translateY(-3px); }

.member-pic i {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #FDFBF7;
  font-style: normal;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--fog);
}

.member figcaption {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink);
}

.member-slot {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1.5px dashed rgba(197, 106, 45, 0.55);
  background: rgba(197, 106, 45, 0.05);
  color: var(--orange-cta);
  font-size: 24px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-you figcaption { color: var(--grey); }

/* ---------- nominate ---------- */

.nominate { padding: 120px 0; }

.nominate-card {
  background: var(--bone);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 34px;
  text-align: center;
  padding: 74px 40px 70px;
  box-shadow: 0 2px 5px rgba(31, 35, 60, 0.04), 0 30px 70px rgba(31, 35, 60, 0.12);
}

.nominate-card h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin: 0 auto 16px;
  max-width: 22ch;
}

.nominate-card p {
  max-width: 44ch;
  margin: 0 auto 34px;
}

/* ---------- footer ---------- */

.footer {
  position: relative;
  background: var(--charcoal);
  color: #9a9a9a;
  padding: 120px 0 54px;
  text-align: center;
  overflow: hidden;
}

.footer-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.footer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  filter: blur(4px) saturate(1.05);
  transform: scale(1.08);
  animation: zoom-footer 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes zoom-footer {
  from { transform: scale(1.08); }
  to { transform: scale(1.16); }
}

.footer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 50% 46%, rgba(24, 24, 24, 0.55) 0%, rgba(24, 24, 24, 0.82) 100%),
    linear-gradient(180deg, #181818 0%, rgba(24, 24, 24, 0.55) 34%, rgba(24, 24, 24, 0.72) 72%, rgba(24, 24, 24, 0.95) 100%);
}

.footer-inner {
  position: relative;
  z-index: 2;
}

.footer-caption {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(242, 238, 230, 0.45);
}

.footer-kicker {
  font-size: 14.5px;
  color: #A5A099;
  margin-bottom: 28px;
}

.footer-wordmark {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(4.4rem, 13vw, 9.5rem);
  line-height: 1.06;
  color: #F5F1EA;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.footer-wordmark.reveal { transform: none; }

.wm-in {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
}

.footer-wordmark.in .wm-in { transform: translateY(0); }

.wm-dot { color: var(--orange); }

.footer-line {
  color: #F8F8F8;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 22px 0 40px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
}

.footer-meta a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

.footer-meta a:hover { color: var(--orange); }

.footer-meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3a3a3a;
}

/* ================= responsive ================= */

@media (max-width: 1060px) {
  .manifesto-grid, .feature-grid, .rooms-grid, .council-inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .feature-grid.flip .feature-copy { order: 1; }
  .feature-grid.flip .feature-stage { order: 2; }
  .hero { padding-top: 140px; }
  .hero-photo { inset: 0; }
  .hero-photo::after {
    background:
      linear-gradient(90deg, rgba(24, 24, 24, 0.88) 0%, rgba(24, 24, 24, 0.66) 55%, rgba(24, 24, 24, 0.5) 100%),
      linear-gradient(180deg, rgba(24, 24, 24, 0.65) 0%, rgba(24, 24, 24, 0.1) 40%, #181818 100%);
  }
  .tonight-card { right: 5%; bottom: 7%; }
  .manifesto-photo { max-width: 480px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .container { padding: 0 22px; }
  .nav-inner { padding: 0 22px; gap: 16px; }
  .btn-nav { margin-left: auto; }
  .hero { display: block; min-height: 0; padding: 128px 0 84px; }
  .hero h1 { margin-top: 22px; }
  .lead { font-size: 17.5px; }
  .tonight-card {
    position: static;
    margin: 48px 22px 0;
    width: auto;
    max-width: 360px;
    transform: rotate(-1.5deg);
  }
  .tonight-card.in { animation: none; }
  .hero-caption { display: none; }
  .footer-caption { display: none; }
  .manifesto, .feature, .rooms, .council, .nominate { padding: 84px 0; }
  .event-card { width: min(350px, 86vw); }
  .dish-card { width: min(330px, 84vw); }
  .poll-card { width: min(340px, 92vw); }
  .tc2 { transform: translate3d(12px, calc(var(--py, 0px) - 10px), 0) rotate(2.5deg); }
  .nominate-card { padding: 56px 26px; }
  .footer { padding: 84px 0 44px; }
}

/* ---------- legal pages (/privacy, /terms) ---------- */

body.legal {
  background: var(--bone);
  color: var(--body);
  overflow-x: hidden;
}

.legal-header {
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
  background: var(--bone);
  color: var(--ink);
}

.legal-header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-nav {
  display: flex;
  gap: 22px;
}

.legal-nav a {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey);
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--orange-cta);
}

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px 72px;
}

.legal-prose {
  line-height: 1.65;
}

.legal-prose h1 {
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.legal-prose h2 {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: 2.2rem 0 0.6rem;
}

.legal-prose h3 {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin: 1.4rem 0 0.4rem;
}

.legal-prose p {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
}

.legal-prose p.meta {
  color: var(--grey);
  font-size: 0.88rem;
  margin-bottom: 1.6rem;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-prose li {
  margin: 0.25rem 0;
  font-size: 0.98rem;
}

.legal-prose a {
  color: var(--orange-cta);
  text-decoration: underline;
}

.legal-prose strong {
  font-weight: 400;
  color: var(--ink);
}

.legal-footer {
  border-top: 1px solid rgba(24, 24, 24, 0.08);
}

.legal-footer p {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 32px 40px;
  font-size: 13.5px;
  color: var(--grey);
}

.legal-footer a {
  color: var(--orange-cta);
  text-decoration: none;
}

.legal-footer a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .legal-header-inner,
  .legal-main,
  .legal-footer p {
    padding-left: 22px;
    padding-right: 22px;
  }
}
