/* The hussh Stores (/store): a walk through the first store, after the
   podcast page. Night palette, one room per screen, the renderings full
   bleed; the invitation turns to cream, as the podcast's forms do.
   Set in Plus Jakarta Sans, the site typeface the shared header imports. */

.store-page {
  --night: #0a0908;
  --night-2: #13110e;
  --star: #f4efe4;            /* text on night: 16:1 */
  --star-2: #cfc6b6;          /* secondary on night: 10:1 */
  --gold: #e2b36a;            /* labels and buttons on night: 9:1 */
  --gold-deep: #85601c;       /* labels on cream: 5.6:1 */
  --cream: #f6f1e7;
  --ink: #111111;
  --ink-2: #3d3d40;
  --line: rgba(244, 239, 228, 0.14);
  color: var(--star);
  background: var(--night);
  font: 400 18px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { margin: 0; background: #fff; }
.store-page *, .store-page *::before, .store-page *::after { box-sizing: border-box; }
/* :where keeps the reset at zero specificity, so component margins below win. */
:where(.store-page) :where(h1, h2, h3, h4, p, figure, ol, ul) { margin: 0; }
.store-page img { display: block; max-width: 100%; height: auto; }
.store-page a { color: inherit; }
.store-page :focus-visible, .store-theater :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.store-page [id] { scroll-margin-top: 64px; }
.store-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.store-page h1, .store-page h2, .store-page h3, .store-page h4 { font-weight: 700; letter-spacing: -0.02em; }
.store-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.sw-section { padding-block: 120px; }
.sw-head { max-width: 760px; margin-bottom: 52px; }
.sw-head.center { margin-inline: auto; text-align: center; }
.sw-head h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; }
.sw-head > p:not(.store-eyebrow) { margin-top: 16px; font-size: 20px; color: var(--star-2); }
.sw-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 16px; font-weight: 600; color: var(--gold) !important; text-decoration: none; }
.sw-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* buttons: the podcast's warm pill */
.sw-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.sw-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--gold); color: #1a1408 !important; font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}
.sw-btn:hover { background: #ecc283; }
.sw-btn:active { transform: scale(0.98); }
.sw-btn.ghost { background: rgba(10, 9, 8, 0.35); color: var(--star) !important; box-shadow: inset 0 0 0 1.5px rgba(244, 239, 228, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sw-btn.ghost:hover { background: rgba(10, 9, 8, 0.55); }

/* ---------- scenes ---------- */
.sw-scene { position: relative; isolation: isolate; display: grid; min-height: 100svh; padding: 112px max(24px, 6vw) 72px; overflow: hidden; }
.sw-bg { position: absolute; inset: 0; z-index: -2; }
.sw-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s cubic-bezier(.2, .6, .2, 1); }
/* Motion only once store.js is running, so the page reads fully without it. */
.sw-ready .sw-scene:not(.in) .sw-bg img { transform: scale(1.08); }
.sw-scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 8, 0.25) 0%, rgba(10, 9, 8, 0) 30%, rgba(10, 9, 8, 0.15) 55%, rgba(10, 9, 8, 0.85) 100%); }

/* the opening scene */
/* The copy sits low, so the lit sign and the windows stay in view above it. */
.sw-open { place-items: end center; text-align: center; padding-bottom: 132px; }
.sw-open::after { background: linear-gradient(180deg, rgba(10, 9, 8, 0.15) 0%, rgba(10, 9, 8, 0) 28%, rgba(10, 9, 8, 0.55) 58%, rgba(10, 9, 8, 0.92) 100%); }
.sw-open-copy { max-width: 900px; }
.sw-open .store-eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85); }
.sw-open h1 { font-size: clamp(42px, 6vw, 84px); line-height: 1.0; letter-spacing: -0.035em; color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4); }
.sw-open h1 span { color: var(--star-2); }
.sw-lede { margin: 24px auto 0; max-width: 34ch; font-size: clamp(19px, 2vw, 23px); color: var(--star); text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5); }
.sw-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--star-2); }
.sw-scroll::after { content: ""; display: block; width: 1px; height: 36px; margin: 10px auto 0; background: linear-gradient(var(--gold), transparent); animation: sw-drip 2s ease-in-out infinite; }
@keyframes sw-drip { 0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* a room's caption */
.sw-card {
  align-self: end; justify-self: start; max-width: 500px; padding: 28px 30px 30px; border-radius: 24px;
  background: rgba(10, 9, 8, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: opacity 1s ease .25s, transform 1s ease .25s;
}
.sw-ready .sw-scene:not(.in) .sw-card { opacity: 0; transform: translateY(24px); }
.sw-card.right { justify-self: end; }
.sw-card.center { justify-self: center; text-align: center; }
.sw-kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sw-card h2 { margin-top: 10px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; color: #fff; }
.sw-card p:not(.sw-kicker) { margin-top: 12px; font-size: 18px; color: var(--star); }

/* the rail: where you are in the store */
.sw-walk { position: relative; }
.sw-rail {
  position: fixed; right: 22px; top: 50%; z-index: 20; transform: translate(12px, -50%);
  display: grid; gap: 4px; padding: 12px 14px; border-radius: 18px;
  background: rgba(10, 9, 8, 0.5); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transition: opacity .4s ease, transform .4s ease;
}
.sw-rail.show { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.sw-rail a { display: flex; align-items: center; gap: 10px; min-height: 30px; font-size: 13px; color: var(--star-2); text-decoration: none; }
.sw-rail a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; transition: transform .2s ease; }
.sw-rail a:hover, .sw-rail a[aria-current="true"] { color: var(--gold); }
.sw-rail a[aria-current="true"]::before { opacity: 1; transform: scale(1.6); }
@media (max-width: 1100px) { .sw-rail { display: none; } }

/* ---------- after the walk: night sections ---------- */
.sw-night { background: radial-gradient(ellipse at top, var(--night-2), var(--night) 70%); }
.sw-facts { list-style: none; padding: 0; margin-bottom: 120px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sw-facts li { padding: 30px 24px; }
.sw-facts li + li { border-left: 1px solid var(--line); }
.sw-facts b { display: block; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--gold); }
.sw-facts span { display: block; margin-top: 10px; font-size: 16px; line-height: 1.4; color: var(--star-2); }
.sw-subhead { text-align: center; font-size: 22px; margin-bottom: 22px; }
.store-cs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.store-c { display: block; text-decoration: none; padding: 20px 22px; border-radius: 18px; background: rgba(244, 239, 228, 0.04); border: 1px solid var(--line); transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.store-c:hover { border-color: var(--gold); background: rgba(226, 179, 106, 0.08); transform: translateY(-2px); }
.store-c b { display: block; font-size: 18px; font-weight: 700; color: #fff; }
.store-c span { display: block; margin-top: 4px; font-size: 15px; color: var(--star-2); }

/* film */
.sw-film .sw-section { padding-top: 0; }
.film-preview { position: relative; display: block; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -40px rgba(226, 179, 106, 0.35); }
.film-preview img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.film-preview:hover img { transform: scale(1.02); }
.film-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 26px 0 20px; border-radius: 999px; white-space: nowrap;
  background: var(--gold); color: #1a1408; font-size: 17px; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}
.film-play svg { width: 26px; height: 26px; }
.film-duration { opacity: .7; font-weight: 500; }

/* ---------- the invitation, in cream ---------- */
.sw-cream { background: var(--cream); color: var(--ink); }
.sw-cream .store-eyebrow { color: var(--gold-deep); }
.sw-cream .sw-head > p:not(.store-eyebrow) { color: var(--ink-2); }
.sw-cream .sw-fine { font-size: 16px !important; }
.sw-cream .sw-link { color: #0066cc !important; }
.sw-invite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.sw-invite-grid .sw-head { margin-bottom: 0; }
.invitation-form { background: #fff; border: 1px solid #e4e2dd; border-radius: 28px; padding: 34px; box-shadow: 0 30px 60px -40px rgba(17, 17, 17, 0.25); }
.invitation-form h3 { font-size: 24px; margin-bottom: 22px; color: var(--ink); }
.invitation-form .field { margin-bottom: 18px; min-width: 0; }
.invitation-form .field > label, .invitation-form legend { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.sw-optional { font-weight: 400; color: #5c5c62; }
.invitation-form input[type=text], .invitation-form input[type=email], .invitation-form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #cfcdc7; border-radius: 14px; background: #fff;
  font: inherit; font-size: 17px; color: var(--ink);
}
.invitation-form textarea { min-height: 100px; resize: vertical; }
.invitation-form input:focus, .invitation-form textarea:focus { outline: none; border-color: #0066cc; box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15); }
.invitation-form input[aria-invalid="true"] { border-color: #b42318; }
.invitation-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.invitation-form .radios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.invitation-form .radio { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1.5px solid #e4e2dd; border-radius: 14px; font-size: 15px; line-height: 1.35; cursor: pointer; }
.invitation-form .radio:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.invitation-form .radio input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--ink); }
.invitation-form .submit { width: 100%; min-height: 52px; border: 0; border-radius: 999px; color: #fff; background: var(--ink); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.invitation-form .submit:hover { background: #38383c; }
.invitation-form .submit:disabled { opacity: .5; cursor: wait; }
.invitation-form .note { margin-top: 12px; font-size: 15px; text-align: center; color: #5c5c62; }
.invitation-form .err { display: none; margin-top: 6px; font-size: 15px; color: #b42318; }
.invitation-form .err.show { display: block; }
.invitation-form .done { display: none; }
.invitation-form .done.show { display: block; }
.invitation-form .done h4 { font-size: 26px; margin-bottom: 10px; }
.invitation-form .done p { font-size: 17px; color: var(--ink-2); }
.store-disclosure { padding-bottom: 64px; }
.store-disclosure p { padding-top: 24px; border-top: 1px solid #e4e2dd; font-size: 14px; line-height: 1.6; color: #5c5c62; }

/* film theater */
.store-theater { border: 0; padding: 0; background: #000; color: #fff; width: min(1100px, calc(100% - 48px)); max-width: none; max-height: 90svh; border-radius: 16px; overflow: auto; }
.store-theater::backdrop { background: rgba(0, 0, 0, 0.85); }
.store-theater video { display: block; width: 100%; max-height: calc(90svh - 64px); }
.film-close { display: flex; align-items: center; gap: 14px; min-height: 44px; margin-left: auto; padding: 14px 20px; border: 0; background: transparent; color: #fff; font: 600 15px "Plus Jakarta Sans", system-ui, sans-serif; cursor: pointer; }
.store-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1000px) { .store-cs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .sw-invite-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 700px) {
  .store-page { font-size: 17px; }
  .sw-section { padding-block: 84px; }
  .sw-scene { padding: 96px 16px 28px; }
  .sw-open { padding-bottom: 48px; }
  .sw-scroll { display: none; }
  .sw-card, .sw-card.right, .sw-card.center { justify-self: stretch; max-width: none; padding: 22px 22px 24px; text-align: left; }
  .sw-card p:not(.sw-kicker) { font-size: 17px; }
  .sw-facts { grid-template-columns: 1fr 1fr; margin-bottom: 84px; }
  .sw-facts li:nth-child(3) { border-left: 0; }
  .sw-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sw-head > p:not(.store-eyebrow) { font-size: 18px; }
  .store-cs { gap: 10px; }
  .store-c { padding: 14px 16px; }
  .store-c b { font-size: 16px; }
  .store-c span { font-size: 14px; }
  .invitation-form .radios { grid-template-columns: 1fr; }
  .invitation-form { padding: 24px 20px; }
  .film-play { min-height: 52px; padding: 0 20px 0 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-ready .sw-scene:not(.in) .sw-bg img, .sw-bg img { transform: none; transition: none; }
  .sw-ready .sw-scene:not(.in) .sw-card, .sw-card { opacity: 1; transform: none; transition: none; }
  .sw-scroll::after { animation: none; }
  .film-preview img { transition: none; }
}
