/* The Ask — Mock A: Private Showing Night */
:root {
  --charcoal: #1c1410;
  --ink: #2a211c;
  --cream: #f4ede3;
  --ivory: #f9f6f0;
  --wood: #8b5e3c;
  --gold: #c4a574;
  --gold-bright: #e4c48a;
  --stone: #8a7a68;
  --hairline: #e6d8c6;
  --wine: #6e2c2c;
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 80;
  background: var(--cream); color: var(--charcoal); padding: 8px 12px;
}
.skip:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* Wordmark */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.wordmark-rule {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 7px;
  align-self: center;
  transform-origin: center;
  animation: ruleIn 1.1s ease both;
}
@keyframes ruleIn { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: transparent;
  box-shadow: none;
}
.nav.is-scrolled {
  background: transparent;
}
.nav-links a, .wordmark {
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.01em;
}
.nav-links a { text-decoration: none; color: #fff; transition: color 0.2s; }
.nav-links a:hover { color: #ffe9b8; }
.nav-cta {
  display: inline-block;
  background: #c45a32;
  border: 0;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 800;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
.nav-cta:hover { background: #d4683c; color: #fff !important; }
.get-app { position: relative; display: flex; flex-direction: column; align-items: center; }
.get-app-pop[hidden] { display: none !important; }
.get-app-pop:not([hidden]) {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 50;
  width: 132px;
  padding: 12px 12px 14px;
  background: #1c1410;
  border: 1px solid rgba(244,237,227,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.get-app-pop .qr-frame {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 0 8px;
  padding: 0;
  line-height: 0;
}
.get-app-pop .qr-frame img { width: 88px; height: 88px; display: block; }
.get-app-pop-title {
  margin: 0 0 2px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.get-app-pop-sub { margin: 0; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.78); line-height: 1.25; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 28px 72px;
  overflow: hidden;
  margin-top: -72px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform: scale(1.04);
  animation: kenburns 28s ease-out forwards;
  filter: saturate(1.05) contrast(1.04);
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1.2%, 0); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28,20,16,0.38) 0%, rgba(28,20,16,0.22) 28%, rgba(28,20,16,0.82) 66%, rgba(28,20,16,0.96) 100%),
    linear-gradient(90deg, rgba(28,20,16,0.62) 0%, rgba(28,20,16,0.12) 55%);
}
.hero-glow {
  position: absolute;
  left: 42%;
  top: 28%;
  width: 46%;
  height: 36%;
  background: radial-gradient(ellipse at center, rgba(228, 196, 138, 0.22), transparent 68%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: roomGlow 5.5s ease-in-out infinite alternate;
}
@keyframes roomGlow {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding-top: 120px;
}
.chip {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 10px;
  border: 1px solid rgba(196, 165, 116, 0.45);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.3px var(--gold);
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6.4vw, 76px);
  font-optical-sizing: auto;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.lede {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: #fff;
  max-width: 34em;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5);
}
.guests-line {
  margin: 0 0 28px;
  color: #ffe9b8;
  font-size: 16px;
  font-weight: 650;
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}
.hero .hint { color: rgba(255,255,255,0.82); }

/* Waitlist form */
.waitlist { max-width: 520px; }
.waitlist-row {
  display: flex;
  gap: 8px;
  background: rgba(249, 246, 240, 0.96);
  padding: 6px;
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 0 0 1px rgba(196,165,116,0.2);
}
.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  font: 500 16px/1.2 var(--sans);
  padding: 12px 14px;
  outline: none;
}
.waitlist button {
  border: 0;
  background: var(--charcoal);
  color: var(--cream);
  font: 600 14px/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.waitlist button:hover { background: var(--ink); color: var(--gold-bright); }
.hint { margin: 10px 0 0; color: var(--stone); font-size: 13px; letter-spacing: 0.03em; }
.form-error { margin: 8px 0 0; color: #e8b4a4; font-size: 13px; }
.waitlist.is-error .waitlist-row { box-shadow: 0 0 0 1px #c45c4a, 0 12px 40px rgba(0,0,0,0.28); }
.waitlist.is-success {
  background: rgba(249,246,240,0.08);
  border: 1px solid rgba(196,165,116,0.35);
  padding: 22px 24px;
}
.success-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 28px;
  color: var(--ivory);
}
.success-sub { margin: 0; color: var(--hairline); font-size: 15px; }

.waitlist-light .waitlist-row { background: var(--ivory); }
.waitlist-light.is-success { background: transparent; }

/* How */
.how { padding: 108px 0 80px; }
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.how h2, .rooms h2, .friend-copy h2, .askplus h2, .again h2 {
  margin: 0 0 36px;
  font-size: clamp(32px, 4.4vw, 52px);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: none;
}
.steps li {
  padding-top: 22px;
  border-top: 1px solid rgba(196, 165, 116, 0.28);
}
.step-num {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 16px;
}
.steps h3 { margin: 0 0 10px; font-size: 28px; }
.steps p { margin: 0; color: var(--stone); }

/* Rooms */
.rooms { padding: 20px 0 40px; }
.rooms .wrap { margin-bottom: 8px; }
.room-grid {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.room-wide { grid-row: 1 / 3; }
.room {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 280px;
  background: var(--ink);
}
.room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 1.1s ease, filter 0.5s;
}
.room:hover img { transform: scale(1.04); filter: saturate(1.02) contrast(1.06); }
.room figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(8,5,3,0.94));
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}
.cap-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffe9b8;
}
.room strong { font-family: var(--display); font-size: 26px; font-weight: 650; color: #fff; }
.room figcaption span:last-child { color: #fff; font-size: 16px; font-weight: 600; max-width: 28em; }

/* Friends */
.friends { padding: 72px 0 40px; }
.friends-grid {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  align-items: stretch;
}
.friend-card { margin: 0; overflow: hidden; background: var(--ink); }
.friend-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  filter: saturate(0.9);
  transition: transform 1.2s ease;
}
.friend-card:hover img { transform: scale(1.03); }
.friend-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 12px 28px 28px;
}
.friend-copy p { color: var(--stone); }
.friend-copy .pull {
  margin-top: 18px;
  color: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
}
.friend-wide { grid-column: 1 / -1; position: relative; max-height: 420px; }
.friend-wide img { min-height: 280px; max-height: 420px; object-position: center 35%; }
.friend-wide figcaption {
  position: absolute;
  left: 28px; bottom: 22px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 650;
  font-size: 28px;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,0.7);
}

/* Ask+ */
.askplus { padding: 88px 0; }
.askplus-inner {
  border-top: 1px solid rgba(196,165,116,0.25);
  border-bottom: 1px solid rgba(196,165,116,0.25);
  padding: 56px 0;
  max-width: 720px;
}
.askplus h2 { margin-bottom: 12px; }
.askplus p { margin: 0; color: var(--stone); font-size: 20px; }

/* Again */
.again { padding: 20px 0 100px; }
.again-inner {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.again-inner .waitlist { width: min(520px, 100%); margin: 0 auto; }
.again .hint { color: var(--stone); }

/* Footer */
.foot {
  border-top: 1px solid rgba(196,165,116,0.18);
  padding: 40px 0 48px;
  color: var(--stone);
  font-size: 14px;
}
.foot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.wordmark-foot { color: var(--cream); align-items: center; }
.foot-meta { margin: 0; color: var(--stone); }
.foot-social { display: flex; align-items: center; justify-content: center; gap: 14px; }
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244,237,227,0.22);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
}
.foot-social a:hover { color: var(--gold-bright); border-color: var(--gold); }
.store-badge { display: inline-block; width: 120px; line-height: 0; text-decoration: none; opacity: 0.92; }
.store-badge:hover { opacity: 1; }
.foot-legal { display: flex; justify-content: center; gap: 18px; }
.foot-legal a { color: var(--hairline); text-decoration: none; border-bottom: 1px solid transparent; }
.foot-legal a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .room-grid { grid-template-columns: 1fr; }
  .room-wide { grid-row: auto; }
  .friends-grid { grid-template-columns: 1fr; }
  .friend-wide { grid-column: auto; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-bottom: 48px; }
  .waitlist-row { flex-direction: column; }
  .waitlist button { width: 100%; }
}
@media (max-width: 520px) {
  .nav { padding: 14px 16px; }
  .wrap, .room-grid, .friends-grid { width: calc(100% - 28px); }
  .hero { padding-left: 16px; padding-right: 16px; }
  .how { padding-top: 72px; }
}

html.is-shot [data-reveal] { opacity: 1 !important; transform: none !important; }
html.is-shot .hero-img, html.is-shot .hero-still img, html.is-shot .hero-frame img { animation: none !important; }

html.is-shot { scroll-behavior: auto !important; }
html.is-shot .hero-frame { animation: none !important; clip-path: none !important; }
html.is-shot .hero-glow { animation: none !important; }


html.is-shot .hero {
  min-height: 860px;
  height: auto;
}
@media (max-width: 520px) {
  html.is-shot .hero { min-height: 720px; }
}

html.is-shot-how .hero { display: none !important; }


/* shot: kill vh-based blowups so full-page captures stay honest */
html.is-shot .hero-frame img { height: 520px !important; }
html.is-shot .mask-rect img { height: 280px !important; }
html.is-shot .ed-trio img { height: 220px !important; }
html.is-shot .toast img { height: 420px !important; }
html.is-shot .stills img { height: 220px !important; }
html.is-shot .friend-card img,
html.is-shot .room img { min-height: 220px !important; }
html.is-shot .friend-wide img { min-height: 200px !important; max-height: 260px !important; }
@media (max-width: 520px) {
  html.is-shot .hero-frame img { height: 360px !important; }
  html.is-shot .toast img { height: 320px !important; }
}


/* Store / QR */
html:not(.is-ios) .ios-only { display: none !important; }
.is-ios .desktop-cta { display: none !important; }
.store-row { margin-top: 22px; }
.qr-panel { margin: 0; display: flex; align-items: center; gap: 16px; }
.qr-frame {
  background: #f4ede3;
  padding: 10px;
  line-height: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.qr-frame img { display: block; width: 148px; height: 148px; }
.qr-frame-sm { padding: 6px; }
.qr-frame-sm img { width: 96px; height: 96px; }
.qr-panel figcaption { display: flex; flex-direction: column; gap: 4px; color: #fff; }
.qr-panel figcaption strong { font-family: var(--display); font-size: 22px; font-weight: 600; }
.qr-panel figcaption span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.86); }
.qr-panel-foot { color: var(--cream); }
.qr-panel-foot figcaption { color: var(--cream); font-size: 13px; font-weight: 600; }

/* Blind */
.blind { padding: 72px 0 24px; }
.blind-inner {
  border-top: 1px solid rgba(196,165,116,0.25);
  border-bottom: 1px solid rgba(196,165,116,0.25);
  padding: 48px 0;
  max-width: 720px;
}
.blind h2 { margin: 8px 0 12px; font-size: clamp(28px, 3.6vw, 40px); white-space: nowrap; }
.blind p { margin: 0; font-size: 20px; color: var(--cream); max-width: 28em; }

/* Local store hop stub */
.get-page { min-height: 100vh; background: var(--charcoal); color: var(--cream); }
.get-inner { padding: 80px 0; max-width: 640px; }
.get-note, .get-src { color: var(--stone); }
.get-inner a { color: var(--gold); }


/* Circle board */
.circle { padding: 88px 0 40px; }
.circle-inner { max-width: 800px; }
.circle h2 { margin: 8px 0 12px; font-size: clamp(36px, 5vw, 56px); }
.circle-lede { margin: 0 0 32px; font-size: 20px; color: var(--cream); max-width: 28em; }
.board {
  border-top: 1px solid rgba(196,165,116,0.35);
}
.board-row {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.1fr 0.7fr 0.8fr;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(196,165,116,0.18);
  align-items: baseline;
  color: var(--cream);
  font-size: 17px;
}
.board-head {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 14px;
  padding-bottom: 10px;
}
.board-row span:nth-child(2),
.board-row span:nth-child(3),
.board-row span:nth-child(4),
.board-row span:nth-child(5) {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.board-row.is-you {
  color: #fff;
  font-weight: 650;
  box-shadow: inset 3px 0 0 var(--gold);
  padding-left: 12px;
}
.board-row.is-you span:first-child {
  font-family: var(--display);
  font-size: 20px;
}

/* Blind word in the photo slot */
.blind-word {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
}

@media (max-width: 860px) {
  .board-row { grid-template-columns: 1fr 1fr 1fr; }
  .board-row span:nth-child(2),
  .board-row span:nth-child(3) { display: none; }
  .board-head span:nth-child(2),
  .board-head span:nth-child(3) { display: none; }
}
