/* Mobile Exhibit 1 (Fable): "The page is the phone."
   Everything is scoped under .ex1. Phone chrome exists only at 900px and up. */

.ex1 {
  --cream: #fbf6ee;
  --paper: #f3eadc;
  --plum: #3a1336;
  --plum-mid: #5b2552;
  --plum-deep: #260a23;
  --gold: #e5be5e;
  --gold-deep: #d4a843;
  --brass: #8a6412;
  --ink: #2a1226;
  --display: "Glaze Display", "Fraunces", Georgia, serif;
  --ui: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
  position: relative;
  overflow-x: clip;
  background: var(--plum-deep);
  color: var(--ink);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
.ex1 *, .ex1 *::before, .ex1 *::after { box-sizing: border-box; }
/* Resets sit in :where() so every component rule below outranks them. */
:where(.ex1) :where(h2, h3, h4, p, ol, ul, figure) { margin: 0; padding: 0; }
:where(.ex1) :where(button) {
  margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
:where(.ex1) :where(a) { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:where(.ex1) :where(img) { display: block; max-width: 100%; }
.ex1 :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ex1 .ex1-screen :focus-visible { outline-color: var(--plum-mid); }
.ex1-ic {
  flex: none; width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.ex1-orbit { display: none; }

@media (max-width: 899.98px) { .ex1 .ex1-d { display: none !important; } }
@media (min-width: 900px) { .ex1 .ex1-m { display: none !important; } }

/* ---------- Photo crown (phone widths) ---------- */
.ex1-intro { position: relative; }
.ex1-crown {
  position: relative;
  height: clamp(290px, 84vw, 460px);
  overflow: hidden;
  overflow: clip;
  background: #1d0719;
}
.ex1-reel { position: absolute; inset: 0; animation: ex1-zoom 22s ease-in-out infinite alternate; }
.ex1-reel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.4s ease;
}
.ex1-reel img.is-on { opacity: 1; }
.ex1-crown::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,10,35,.38) 0%, rgba(38,10,35,0) 24%, rgba(38,10,35,.18) 46%, rgba(38,10,35,.84) 80%, #260a23 100%);
}
.ex1-seal {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(229,190,94,.7), 0 10px 22px rgba(0,0,0,.35);
}
.ex1-intro-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 20px 50px; }
.ex1 h2 {
  max-width: 9.5em;
  font-family: var(--display); font-weight: 450;
  font-size: clamp(2.1rem, 10.4vw, 3.1rem); line-height: 1; letter-spacing: -.03em;
  color: var(--cream); text-wrap: balance;
}

/* ---------- The surface ---------- */
.ex1-phonewrap { max-width: 640px; margin: 0 auto; }
.ex1-screen {
  position: relative; z-index: 1;
  margin-top: -28px;
  border-radius: 28px 28px 0 0;
  background: var(--cream);
}
.ex1-bar { display: flex; align-items: center; gap: 12px; padding: 22px 16px 16px 18px; }
.ex1-titles { flex: 1; min-width: 0; }
.ex1-titles.is-in > * { animation: ex1-rise .55s var(--ease) both; }
.ex1-title {
  font-family: var(--display); font-weight: 500;
  font-size: 1.8rem; line-height: 1.05; letter-spacing: -.025em; color: var(--plum);
}
.ex1-note { margin-top: 4px; font-size: .86rem; line-height: 1.3; color: rgba(58,19,54,.7); }
.ex1-order {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px;
  background: var(--plum); color: var(--cream);
  font-size: .9rem; font-weight: 650;
  box-shadow: inset 0 0 0 1px rgba(229,190,94,.4), 0 10px 20px -10px rgba(58,19,54,.6);
}
.ex1-order .ex1-ic { width: 18px; height: 18px; color: var(--gold); }

.ex1-panel { display: none; padding: 0 14px 28px; }
.ex1-panel.is-active { display: block; animation: ex1-rise .7s var(--ease) both; }

.ex1-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  font-size: .95rem; font-weight: 650; text-align: center;
  transition: transform .2s ease, box-shadow .25s ease, background-color .25s ease;
}
.ex1-btn:active { transform: scale(.98); }
.ex1-btn .ex1-ic { width: 18px; height: 18px; }
.ex1-btn-plum { background: var(--plum); color: var(--cream); }
.ex1-btn-ghost { background: var(--cream); color: var(--plum); box-shadow: inset 0 0 0 1px rgba(58,19,54,.18); }
.ex1-btn-gold { background: linear-gradient(180deg, #f1d27c, #d9ae45); color: var(--plum); box-shadow: 0 12px 24px -12px rgba(229,190,94,.7); }
.ex1-btn-line { color: var(--cream); box-shadow: inset 0 0 0 1px rgba(251,246,238,.55); }
.ex1-label {
  display: flex; align-items: center; gap: 7px;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass);
}
.ex1-label .ex1-ic { width: 16px; height: 16px; }

/* Home */
.ex1-hero {
  padding: 24px 22px 54px; border-radius: 26px; text-align: center; color: var(--cream);
  background: radial-gradient(120% 95% at 50% 0%, #6d2e62 0%, #3a1336 58%, #2c0d29 100%);
  box-shadow: inset 0 0 0 1px rgba(229,190,94,.2);
}
.ex1-date { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.ex1-hero h4 {
  margin-top: 10px;
  font-family: var(--display); font-weight: 450;
  font-size: 1.95rem; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance;
}
.ex1-hero h4 + p { margin-top: 10px; font-size: .93rem; line-height: 1.45; color: rgba(251,246,238,.84); text-wrap: balance; }
.ex1-ordercard {
  position: relative; display: grid; gap: 10px;
  margin: -32px 10px 0; padding: 18px 16px 16px; border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(58,19,54,.06), 0 20px 40px -20px rgba(58,19,54,.4);
}
.ex1-empty { padding: 2px 6px 6px; font-size: 1.02rem; font-weight: 600; line-height: 1.35; text-align: center; color: var(--ink); text-wrap: balance; }
.ex1-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 4px; margin-top: 26px; }
.ex1-app {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: .76rem; font-weight: 500; color: var(--plum);
}
.ex1-app i {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: var(--cream);
  background: linear-gradient(160deg, #6d2e62, #3a1336);
  box-shadow: inset 0 0 0 1px rgba(229,190,94,.45), 0 10px 18px -10px rgba(58,19,54,.6);
  transition: transform .25s var(--ease);
}
.ex1-app:active i { transform: scale(.94); }
.ex1-app .ex1-ic { width: 24px; height: 24px; }
.ex1-roll { margin-top: 30px; }
.ex1-rollgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.ex1-rollgrid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--paper); }
.ex1-rollgrid img:first-child { grid-column: span 2; grid-row: span 2; height: 100%; border-radius: 20px; }

/* Feed */
.ex1-feed { columns: 2; column-gap: 10px; }
.ex1-feed figure { break-inside: avoid; margin-bottom: 10px; border-radius: 18px; overflow: hidden; overflow: clip; background: var(--paper); }
.ex1-feed img { width: 100%; aspect-ratio: var(--ar, 4/5); object-fit: cover; }
.ex1-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.ex1-door {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
  min-height: 96px; padding: 14px; border-radius: 18px; color: var(--cream);
  background: linear-gradient(160deg, #5b2552, #3a1336);
  box-shadow: inset 0 0 0 1px rgba(229,190,94,.22);
}
.ex1-door b { font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.015em; }
.ex1-door span { font-size: .82rem; color: rgba(251,246,238,.78); }
.ex1-door .ex1-ic { position: absolute; top: 12px; right: 12px; color: var(--gold); }

/* Answers */
.ex1-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 94%; }
.ex1-msg img { flex: none; width: 30px; height: 30px; border-radius: 50%; }
.ex1-msg p {
  padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: #fff;
  font-size: .94rem; line-height: 1.5; color: var(--ink);
  box-shadow: 0 1px 0 rgba(58,19,54,.06), 0 12px 24px -16px rgba(58,19,54,.4);
}
.ex1-qas { display: grid; gap: 8px; margin-top: 14px; }
.ex1-q {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 48px; padding: 10px 12px 10px 16px; border-radius: 16px;
  text-align: left; font-size: .94rem; font-weight: 600; line-height: 1.3; color: var(--plum);
  box-shadow: inset 0 0 0 1px rgba(58,19,54,.16);
  transition: background-color .25s ease, color .25s ease;
}
.ex1-q .ex1-ic { color: var(--brass); transition: transform .3s var(--ease); }
.ex1-qa.is-open .ex1-q {
  width: auto; max-width: 88%; margin-left: auto;
  border-radius: 18px 18px 6px 18px; background: var(--plum); color: var(--cream); box-shadow: none;
}
.ex1-qa.is-open .ex1-q .ex1-ic { transform: rotate(45deg); color: var(--gold); }
.ex1-a { display: none; margin-top: 8px; }
.ex1-qa.is-open .ex1-a { display: flex; animation: ex1-rise .5s var(--ease) both; }
.ex1-allq { display: none; }

/* Weekly */
.ex1-wkphoto { aspect-ratio: 16/11; border-radius: 22px; overflow: hidden; overflow: clip; background: var(--paper); }
.ex1-wkphoto img { width: 100%; height: 100%; object-fit: cover; }
.ex1-price {
  margin-top: 20px;
  font-family: var(--display); font-weight: 500; font-size: 3.2rem; line-height: 1; letter-spacing: -.035em; color: var(--plum);
}
.ex1-price span { margin-left: 8px; font-family: var(--ui); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: rgba(58,19,54,.7); }
.ex1-sub { margin-top: 8px; font-size: 1.02rem; line-height: 1.45; }
.ex1-facts { list-style: none; margin: 16px 0 18px; border-top: 1px solid rgba(58,19,54,.12); }
.ex1-facts li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid rgba(58,19,54,.12); font-size: .93rem; line-height: 1.45; }
.ex1-facts li::before { content: ""; position: absolute; left: 4px; top: 1.32em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); }
.ex1-fine { margin-top: 12px; font-size: .82rem; line-height: 1.4; text-align: center; color: rgba(58,19,54,.68); }

/* Buffalo */
.ex1-map {
  position: relative; aspect-ratio: 16/10; border-radius: 22px; overflow: hidden; overflow: clip;
  background:
    linear-gradient(115deg, transparent 45.6%, rgba(255,255,255,.8) 46%, rgba(255,255,255,.8) 48.4%, transparent 48.8%),
    linear-gradient(28deg, transparent 57.6%, rgba(255,255,255,.62) 58%, rgba(255,255,255,.62) 59.6%, transparent 60%),
    repeating-linear-gradient(25deg, transparent 0 33px, rgba(58,19,54,.07) 33px 34.5px),
    repeating-linear-gradient(115deg, transparent 0 41px, rgba(58,19,54,.07) 41px 42.5px),
    radial-gradient(90% 90% at 30% 20%, #f2e6d2, #e5d3b6);
}
.ex1-area {
  position: absolute; left: 50%; top: 43%; width: 42%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(229,190,94,.5), rgba(229,190,94,.18) 70%);
  box-shadow: 0 0 0 1.5px rgba(160,116,26,.85);
}
.ex1-area::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(160,116,26,.6);
  animation: ex1-pulse 3.6s ease-out infinite;
}
.ex1-area::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 3px #fff;
}
.ex1-map figcaption {
  position: absolute; left: 12px; bottom: 12px; display: grid; gap: 1px;
  padding: 8px 12px; border-radius: 12px; background: rgba(251,246,238,.94);
  font-size: .74rem; line-height: 1.3; color: rgba(42,18,38,.76);
  box-shadow: 0 8px 18px -10px rgba(58,19,54,.5);
}
.ex1-map figcaption b { font-size: .86rem; font-weight: 700; color: var(--plum); }
.ex1-curb {
  margin-top: 20px;
  font-family: var(--display); font-weight: 450; font-size: 1.6rem; line-height: 1.12; letter-spacing: -.02em;
  color: var(--plum); text-wrap: balance;
}
.ex1-detail { margin-top: 10px; font-size: .93rem; line-height: 1.5; color: rgba(42,18,38,.82); }
.ex1-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

/* The close of the page */
.ex1-end {
  display: grid; justify-items: center; gap: 12px;
  margin-top: 6px; padding: 34px 20px calc(104px + env(safe-area-inset-bottom, 0px));
  border-radius: 28px 28px 0 0; text-align: center; color: var(--cream);
  background: radial-gradient(120% 100% at 50% 0%, #5b2552, #2c0d29 72%);
}
.ex1-end img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(229,190,94,.7); }
.ex1-end p { font-size: .9rem; color: rgba(251,246,238,.82); }
.ex1-endrow { display: grid; gap: 10px; width: 100%; max-width: 340px; margin-top: 6px; }

/* Tab bar: pinned to the page, not to a device */
.ex1-tabs {
  position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 5;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: 64px; margin: -74px 10px 10px; padding: 6px; border-radius: 24px;
  background: rgba(38,10,35,.92);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(229,190,94,.34), 0 18px 36px -12px rgba(20,4,18,.65);
}
.ex1-tabs::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: calc((100% - 12px) / 5);
  border-radius: 18px; background: linear-gradient(180deg, #f1d27c, #d9ae45);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .45s cubic-bezier(.3, .9, .3, 1);
}
.ex1-tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 18px; font-size: .66rem; font-weight: 600; letter-spacing: .01em;
  color: rgba(251,246,238,.74); transition: color .3s ease;
}
.ex1-tab[aria-selected="true"] { color: var(--plum); }
.ex1-tab .ex1-ic { width: 22px; height: 22px; }

@keyframes ex1-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes ex1-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ex1-pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes ex1-bob { from { transform: translateY(-5px) rotate(var(--tilt, 0deg)); } to { transform: translateY(6px) rotate(var(--tilt, 0deg)); } }

.ex1.is-resting *, .ex1.is-resting *::before { animation-play-state: paused !important; }

/* ====================== Desktop: the jewel ====================== */
@media (min-width: 900px) {
  .ex1 { background: #1f081d; }
  .ex1-room {
    position: relative; isolation: isolate; container-type: inline-size;
    display: grid; align-items: center; min-height: 880px;
    overflow: hidden; overflow: clip;
    background:
      radial-gradient(58% 46% at 50% 44%, rgba(150,66,128,.62), rgba(110,44,96,.22) 55%, transparent 78%),
      radial-gradient(44% 60% at 8% 4%, rgba(128,52,112,.5), transparent 70%),
      radial-gradient(40% 55% at 96% 12%, rgba(104,38,92,.42), transparent 72%),
      linear-gradient(180deg, #2b0c28 0%, #3a1336 44%, #2a0c26 78%, #1c0619 100%);
  }
  .ex1-light {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(30% 11% at 50% 93%, rgba(255,241,208,.5), rgba(245,214,140,.2) 52%, transparent 78%),
      radial-gradient(60% 26% at 50% 103%, rgba(229,190,94,.36), transparent 72%),
      linear-gradient(180deg, rgba(14,3,13,.3), transparent 22%, transparent 74%, rgba(14,3,13,.42));
  }
  .ex1-light::after {
    content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  }

  /* Orbit */
  .ex1-orbit {
    display: block; position: absolute; inset: -31px 0 31px; z-index: 1; pointer-events: none;
    --rx: min(640px, calc(50cqw - 66px)); --ry: 296px; --lap: 150s;
  }
  .ex1-rings {
    position: absolute; left: 50%; top: 50%; overflow: visible;
    width: calc(var(--rx) * 2); height: calc(var(--ry) * 2); transform: translate(-50%, -50%);
  }
  .ex1-ring { fill: none; vector-effect: non-scaling-stroke; }
  .ex1-ring-main { stroke: url(#ex1-ring-a); stroke-width: 1.1; }
  .ex1-ring-soft { stroke: rgba(229,190,94,.2); stroke-width: 1; }
  .ex1-ring-dash { stroke: rgba(243,217,140,.24); stroke-width: 1; stroke-dasharray: 1 7; stroke-linecap: round; }
  .ex1-coin { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); }
  .ex1-coin > span { display: block; width: 100%; height: 100%; animation: ex1-bob 9s ease-in-out infinite alternate; }
  .ex1-coin:nth-of-type(2n) > span { animation-duration: 11s; animation-delay: -4s; }
  .ex1-coin:nth-of-type(3n) > span { animation-duration: 13s; animation-delay: -7s; }
  .ex1-coin-coin > span {
    padding: 4px; border-radius: 50%;
    background: linear-gradient(145deg, #f8e6ad, #b88a2c 52%, #f1d27c);
    box-shadow: 0 22px 34px -14px rgba(8,2,8,.8), 0 0 0 1px rgba(38,10,35,.45), 0 0 34px rgba(229,190,94,.16);
  }
  .ex1-coin-coin img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
  .ex1-coin-card { height: calc(var(--s) * 1.2); }
  .ex1-coin-card > span {
    padding: 6px 6px 20px; border-radius: 4px; background: #f8f1e5;
    box-shadow: 0 22px 34px -14px rgba(8,2,8,.8), 0 0 0 1px rgba(38,10,35,.2);
  }
  .ex1-coin-card img { width: 100%; height: 100%; border-radius: 2px; object-fit: cover; }
  .ex1-coin:nth-of-type(1) { --x: 5%; --y: 9%; }
  .ex1-coin:nth-of-type(2) { --x: 21%; --y: 5%; }
  .ex1-coin:nth-of-type(3) { --x: 4.5%; --y: 73%; }
  .ex1-coin:nth-of-type(4) { --x: 24%; --y: 82%; }
  .ex1-coin:nth-of-type(5) { --x: 86%; --y: 8%; }
  .ex1-coin:nth-of-type(6) { --x: 71%; --y: 4%; }
  .ex1-coin:nth-of-type(7) { --x: 87%; --y: 75%; }

  /* Layout */
  .ex1-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
    gap: 32px; width: 100%; padding: 44px 32px 40px;
  }
  .ex1-intro { justify-self: end; max-width: 300px; padding-bottom: 62px; text-align: right; }
  .ex1-intro-copy { position: static; padding: 0; }
  .ex1-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
  .ex1 h2 { max-width: none; margin-top: 14px; font-size: clamp(2rem, 3.2cqw, 2.9rem); line-height: 1.02; }
  .ex1-lede { margin-top: 14px; font-size: 1rem; line-height: 1.5; color: rgba(251,246,238,.76); }
  .ex1-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-top: 24px; }
  .ex1-cta .ex1-btn { min-height: 46px; padding: 0 22px; }
  .ex1-cta .ex1-btn-line:hover { background: rgba(251,246,238,.08); }
  .ex1-cta .ex1-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(229,190,94,.85); }
  .ex1-hours { margin-top: 18px; font-size: .8rem; letter-spacing: .03em; color: rgba(251,246,238,.56); }

  .ex1-phonewrap { display: grid; justify-items: center; gap: 18px; max-width: none; margin: 0; }
  .ex1-device {
    position: relative; width: 348px; padding: 10px; border-radius: 58px;
    background: linear-gradient(145deg, #7a465c 0%, #2c0f24 22%, #170512 55%, #2c0f24 80%, #6a3a4e 100%);
    box-shadow:
      0 0 0 1px rgba(243,217,140,.75),
      0 0 0 3px #1a0714,
      0 0 0 4px rgba(229,190,94,.3),
      inset 0 0 0 1.5px rgba(255,255,255,.08),
      0 60px 90px -34px rgba(4,0,4,.85),
      0 30px 50px -22px rgba(20,4,18,.7),
      0 0 140px rgba(229,190,94,.2);
  }
  .ex1-device::after {
    content: ""; position: absolute; left: 6%; right: 6%; bottom: -42px; height: 56px; z-index: -1;
    background: radial-gradient(closest-side, rgba(10,2,9,.62), transparent);
    filter: blur(5px);
  }
  .ex1-hw::before, .ex1-hw::after { content: ""; position: absolute; width: 3px; background: linear-gradient(90deg, #5a3046, #2a0f20); }
  .ex1-hw::before { left: -5px; top: 164px; height: 46px; border-radius: 2px 0 0 2px; box-shadow: 0 60px 0 0 #3d1c30; }
  .ex1-hw::after { right: -5px; top: 196px; height: 74px; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #5a3046, #2a0f20); }

  .ex1-screen {
    display: flex; flex-direction: column; min-height: 690px; margin-top: 0;
    border-radius: 48px; overflow: hidden; overflow: clip;
  }
  .ex1-status {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: 46px; padding: 8px 26px 0; color: var(--ink);
  }
  .ex1-clock { font-size: .86rem; font-weight: 650; letter-spacing: -.01em; }
  .ex1-island { width: 96px; height: 28px; border-radius: 999px; background: #0d040b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
  .ex1-glyphs { justify-self: end; }
  .ex1-glyphs svg { display: block; width: 46px; height: 14px; }
  .ex1-bar {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3px 6px;
    padding: 6px 12px 12px;
  }
  .ex1-site {
    grid-area: 1 / 1; justify-self: start; display: inline-flex; align-items: center; gap: 1px;
    min-height: 36px; padding: 0 11px 0 5px; border-radius: 999px;
    font-size: .76rem; font-weight: 600; color: var(--plum);
    background: #fff; box-shadow: inset 0 0 0 1px rgba(58,19,54,.12);
  }
  .ex1-site .ex1-ic { width: 16px; height: 16px; }
  .ex1-titles { display: contents; }
  .ex1-title { grid-area: 1 / 2; font-size: 1.16rem; text-align: center; white-space: nowrap; }
  .ex1-note { grid-area: 2 / 1 / 3 / -1; margin-top: 0; font-size: .7rem; line-height: 1.25; text-align: center; }
  .ex1-order { grid-area: 1 / 3; justify-self: end; min-height: 36px; padding: 0 12px 0 9px; font-size: .76rem; }
  .ex1-order .ex1-ic { width: 15px; height: 15px; }

  .ex1-panels { flex: 1; display: grid; }
  .ex1-panel, .ex1-panel.is-active { display: block; animation: none; }
  .ex1-panel {
    grid-area: 1 / 1; padding: 0 14px 14px;
    visibility: hidden; opacity: 0; transform: translateY(10px);
    transition: opacity .4s ease, transform .6s var(--ease), visibility 0s linear .4s;
  }
  .ex1-panel.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

  .ex1-btn { min-height: 42px; font-size: .86rem; }
  .ex1-hero { margin: 0 -14px; padding: 16px 20px 42px; border-radius: 0 0 30px 30px; box-shadow: none; }
  .ex1-date { font-size: .6rem; }
  .ex1-hero h4 { margin-top: 8px; font-size: 1.5rem; }
  .ex1-hero h4 + p { margin-top: 8px; font-size: .8rem; }
  .ex1-ordercard { gap: 8px; margin: -28px 0 0; padding: 14px 14px 13px; border-radius: 20px; }
  .ex1-label { font-size: .6rem; }
  .ex1-empty { padding: 0 2px 4px; font-size: .9rem; }
  .ex1-apps { gap: 12px 2px; margin-top: 18px; }
  .ex1-app { gap: 5px; font-size: .68rem; }
  .ex1-app i { width: 46px; height: 46px; border-radius: 15px; }
  .ex1-app:hover i { transform: translateY(-2px); }
  .ex1-app .ex1-ic { width: 21px; height: 21px; }

  .ex1-feed { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ex1-feed figure { margin: 0; border-radius: 16px; }
  .ex1-feed figure:nth-child(n+5) { display: none; }
  .ex1-feed img { aspect-ratio: 4/5; }
  .ex1-doors { gap: 8px; margin-top: 8px; }
  .ex1-door { min-height: 78px; padding: 11px 12px; border-radius: 16px; transition: transform .25s var(--ease); }
  .ex1-door:hover { transform: translateY(-2px); }
  .ex1-door b { font-size: 1.02rem; }
  .ex1-door span { font-size: .72rem; }
  .ex1-door .ex1-ic { top: 9px; right: 9px; width: 17px; height: 17px; }

  .ex1-msg img { width: 26px; height: 26px; }
  .ex1-msg p { padding: 10px 12px; font-size: .8rem; line-height: 1.45; }
  .ex1-qas { gap: 6px; margin-top: 10px; }
  .ex1-q { min-height: 40px; padding: 7px 10px 7px 13px; border-radius: 14px; font-size: .8rem; }
  .ex1-q:hover { background: rgba(58,19,54,.05); }
  .ex1-q .ex1-ic { width: 17px; height: 17px; }
  .ex1-chat.is-asking .ex1-hi, .ex1-chat.is-asking .ex1-qa:not(.is-open) { display: none; }
  .ex1-chat.is-asking .ex1-qas { margin-top: 2px; }
  .ex1-chat.is-asking .ex1-allq {
    display: inline-flex; align-items: center; gap: 4px; min-height: 40px; margin-top: 10px; padding: 0 14px 0 8px;
    border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--plum);
    box-shadow: inset 0 0 0 1px rgba(58,19,54,.18);
  }
  .ex1-allq .ex1-ic { width: 16px; height: 16px; }

  .ex1-wkphoto { aspect-ratio: 16/9.5; border-radius: 18px; }
  .ex1-price { margin-top: 14px; font-size: 2.5rem; }
  .ex1-price span { font-size: .82rem; }
  .ex1-sub { margin-top: 5px; font-size: .86rem; }
  .ex1-facts { margin: 11px 0 13px; }
  .ex1-facts li { padding: 8px 0 8px 20px; font-size: .78rem; }
  .ex1-facts li::before { width: 6px; height: 6px; }

  .ex1-map { aspect-ratio: 16/12.5; border-radius: 18px; }
  .ex1-map figcaption { left: 9px; bottom: 9px; padding: 6px 10px; font-size: .64rem; }
  .ex1-map figcaption b { font-size: .76rem; }
  .ex1-curb { margin-top: 16px; font-size: 1.32rem; }
  .ex1-detail { margin-top: 8px; font-size: .8rem; }
  .ex1-pair { gap: 8px; margin-top: 14px; }

  .ex1-tabs {
    position: relative; bottom: auto; height: 68px; margin: 0; padding: 6px 10px 14px; border-radius: 0;
    background: rgba(251,246,238,.96); -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: inset 0 1px 0 rgba(58,19,54,.09);
  }
  .ex1-tabs::before {
    left: 10px; bottom: 14px; width: calc((100% - 20px) / 5); border-radius: 15px;
    background: #f3e3b6; box-shadow: inset 0 0 0 1px rgba(212,168,67,.5);
  }
  .ex1-tabs::after {
    content: ""; position: absolute; left: 50%; bottom: 5px; width: 104px; height: 4px; margin-left: -52px;
    border-radius: 4px; background: rgba(42,18,38,.82);
  }
  .ex1-tab { gap: 2px; font-size: .6rem; color: rgba(58,19,54,.56); }
  .ex1-tab:hover { color: var(--plum); }
  .ex1-tab .ex1-ic { width: 20px; height: 20px; }

  .ex1-pager { display: flex; align-items: center; gap: 14px; }
  .ex1-arrow {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cream);
    background: rgba(31,8,29,.55); box-shadow: inset 0 0 0 1px rgba(229,190,94,.45);
    transition: background-color .25s ease, transform .25s var(--ease);
  }
  .ex1-arrow:hover { background: rgba(229,190,94,.2); transform: scale(1.05); }
  .ex1-count { min-width: 64px; text-align: center; font-size: .76rem; font-weight: 600; letter-spacing: .16em; font-variant-numeric: tabular-nums; color: rgba(251,246,238,.82); }

  /* Index */
  .ex1-index { justify-self: start; width: 100%; max-width: 300px; padding-bottom: 62px; }
  .ex1-index ol { position: relative; display: grid; grid-auto-rows: 1fr; list-style: none; margin-top: 18px; padding-left: 20px; }
  .ex1-index ol::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(229,190,94,.24); }
  .ex1-index ol::after {
    content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 20%; border-radius: 3px;
    background: linear-gradient(180deg, #f6e2a4, #d4a843); box-shadow: 0 0 14px rgba(229,190,94,.8);
    transform: translateY(calc(var(--i, 0) * 100%)); transition: transform .5s cubic-bezier(.3, .9, .3, 1);
  }
  .ex1-index li { display: grid; }
  .ex1-index button {
    display: grid; grid-template-columns: auto 1fr; align-content: center; align-items: baseline; column-gap: 12px;
    width: 100%; padding: 11px 8px 12px 0; text-align: left;
  }
  .ex1-n { font-size: .7rem; font-weight: 600; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: rgba(229,190,94,.75); transition: color .3s ease; }
  .ex1-l { font-family: var(--display); font-weight: 450; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; color: rgba(251,246,238,.62); transition: color .3s ease; }
  .ex1-s { grid-column: 2; margin-top: 3px; font-size: .84rem; line-height: 1.35; color: rgba(251,246,238,.46); transition: color .3s ease; }
  .ex1-index button:hover .ex1-l, .ex1-index button[aria-current] .ex1-l { color: var(--cream); }
  .ex1-index button[aria-current] .ex1-n { color: var(--gold); }
  .ex1-index button[aria-current] .ex1-s { color: rgba(251,246,238,.8); }
}

@media (min-width: 900px) and (max-width: 1279.98px) {
  .ex1-coin:nth-of-type(2), .ex1-coin:nth-of-type(4), .ex1-coin:nth-of-type(6) { display: none; }
  .ex1-intro, .ex1-index { max-width: 280px; }
}
@media (min-width: 900px) and (max-width: 1099.98px) {
  .ex1-intro, .ex1-index { max-width: 230px; }
  .ex1-l { font-size: 1.3rem; }
  .ex1-s { font-size: .78rem; }
}

@media (min-width: 1280px) {
  .ex1-grid {
    --gap: clamp(40px, calc(8cqw - 62px), 56px);
    --col: min(320px, calc(min(640px, 50cqw - 66px) - 252px - var(--gap)));
    grid-template-columns: var(--col) auto var(--col); justify-content: center; gap: var(--gap);
    padding-left: 0; padding-right: 0;
  }
  .ex1-intro, .ex1-index { max-width: none; }
}
@media (min-width: 1280px) and (max-width: 1399.98px) {
  .ex1-index ol { padding-left: 16px; }
  .ex1-index button { column-gap: 10px; }
  .ex1-s { font-size: .78rem; }
  .ex1-hours { font-size: .76rem; }
}

/* The lap: one slow, even circuit around the whole composition. Photos pass
   behind the device and clear both text columns. */
@media (min-width: 1280px) and (prefers-reduced-motion: no-preference) {
  .ex1 .ex1-coin {
    left: 50%; top: 50%; margin: calc(var(--s) * -.5) 0 0 calc(var(--s) * -.5);
    animation: ex1-orbit var(--lap) linear infinite; animation-delay: calc(var(--p) * var(--lap) * -1);
  }
  .ex1 .ex1-coin-card { margin-top: calc(var(--s) * -.6); }
  .ex1 .ex1-coin > span { animation: none; transform: rotate(var(--tilt, 0deg)); }
  @keyframes ex1-orbit{
    0%{transform:translate(calc(var(--rx)*1.0000),calc(var(--ry)*0.0000))}
    2.083%{transform:translate(calc(var(--rx)*0.9997),calc(var(--ry)*0.2379))}
    4.167%{transform:translate(calc(var(--rx)*0.9928),calc(var(--ry)*0.4752))}
    6.25%{transform:translate(calc(var(--rx)*0.9553),calc(var(--ry)*0.6966))}
    8.333%{transform:translate(calc(var(--rx)*0.8718),calc(var(--ry)*0.8478))}
    10.417%{transform:translate(calc(var(--rx)*0.7682),calc(var(--ry)*0.9262))}
    12.5%{transform:translate(calc(var(--rx)*0.6598),calc(var(--ry)*0.9659))}
    14.583%{transform:translate(calc(var(--rx)*0.5501),calc(var(--ry)*0.9857))}
    16.667%{transform:translate(calc(var(--rx)*0.4402),calc(var(--ry)*0.9950))}
    18.75%{transform:translate(calc(var(--rx)*0.3301),calc(var(--ry)*0.9987))}
    20.833%{transform:translate(calc(var(--rx)*0.2201),calc(var(--ry)*0.9998))}
    22.917%{transform:translate(calc(var(--rx)*0.1100),calc(var(--ry)*1.0000))}
    25%{transform:translate(calc(var(--rx)*0.0000),calc(var(--ry)*1.0000))}
    27.083%{transform:translate(calc(var(--rx)*-0.1100),calc(var(--ry)*1.0000))}
    29.167%{transform:translate(calc(var(--rx)*-0.2201),calc(var(--ry)*0.9998))}
    31.25%{transform:translate(calc(var(--rx)*-0.3301),calc(var(--ry)*0.9987))}
    33.333%{transform:translate(calc(var(--rx)*-0.4402),calc(var(--ry)*0.9950))}
    35.417%{transform:translate(calc(var(--rx)*-0.5501),calc(var(--ry)*0.9857))}
    37.5%{transform:translate(calc(var(--rx)*-0.6598),calc(var(--ry)*0.9659))}
    39.583%{transform:translate(calc(var(--rx)*-0.7682),calc(var(--ry)*0.9262))}
    41.667%{transform:translate(calc(var(--rx)*-0.8718),calc(var(--ry)*0.8478))}
    43.75%{transform:translate(calc(var(--rx)*-0.9553),calc(var(--ry)*0.6966))}
    45.833%{transform:translate(calc(var(--rx)*-0.9928),calc(var(--ry)*0.4752))}
    47.917%{transform:translate(calc(var(--rx)*-0.9997),calc(var(--ry)*0.2379))}
    50%{transform:translate(calc(var(--rx)*-1.0000),calc(var(--ry)*0.0000))}
    52.083%{transform:translate(calc(var(--rx)*-0.9997),calc(var(--ry)*-0.2379))}
    54.167%{transform:translate(calc(var(--rx)*-0.9928),calc(var(--ry)*-0.4752))}
    56.25%{transform:translate(calc(var(--rx)*-0.9553),calc(var(--ry)*-0.6966))}
    58.333%{transform:translate(calc(var(--rx)*-0.8718),calc(var(--ry)*-0.8478))}
    60.417%{transform:translate(calc(var(--rx)*-0.7682),calc(var(--ry)*-0.9262))}
    62.5%{transform:translate(calc(var(--rx)*-0.6598),calc(var(--ry)*-0.9659))}
    64.583%{transform:translate(calc(var(--rx)*-0.5501),calc(var(--ry)*-0.9857))}
    66.667%{transform:translate(calc(var(--rx)*-0.4402),calc(var(--ry)*-0.9950))}
    68.75%{transform:translate(calc(var(--rx)*-0.3301),calc(var(--ry)*-0.9987))}
    70.833%{transform:translate(calc(var(--rx)*-0.2201),calc(var(--ry)*-0.9998))}
    72.917%{transform:translate(calc(var(--rx)*-0.1100),calc(var(--ry)*-1.0000))}
    75%{transform:translate(calc(var(--rx)*-0.0000),calc(var(--ry)*-1.0000))}
    77.083%{transform:translate(calc(var(--rx)*0.1100),calc(var(--ry)*-1.0000))}
    79.167%{transform:translate(calc(var(--rx)*0.2201),calc(var(--ry)*-0.9998))}
    81.25%{transform:translate(calc(var(--rx)*0.3301),calc(var(--ry)*-0.9987))}
    83.333%{transform:translate(calc(var(--rx)*0.4402),calc(var(--ry)*-0.9950))}
    85.417%{transform:translate(calc(var(--rx)*0.5501),calc(var(--ry)*-0.9857))}
    87.5%{transform:translate(calc(var(--rx)*0.6598),calc(var(--ry)*-0.9659))}
    89.583%{transform:translate(calc(var(--rx)*0.7682),calc(var(--ry)*-0.9262))}
    91.667%{transform:translate(calc(var(--rx)*0.8718),calc(var(--ry)*-0.8478))}
    93.75%{transform:translate(calc(var(--rx)*0.9553),calc(var(--ry)*-0.6966))}
    95.833%{transform:translate(calc(var(--rx)*0.9928),calc(var(--ry)*-0.4752))}
    97.917%{transform:translate(calc(var(--rx)*0.9997),calc(var(--ry)*-0.2379))}
    100%{transform:translate(calc(var(--rx)*1.0000),calc(var(--ry)*-0.0000))}
  }
}

@media (prefers-reduced-motion: reduce) {
  .ex1-reel, .ex1-titles.is-in > *, .ex1-panel.is-active, .ex1-qa.is-open .ex1-a, .ex1-area::before, .ex1-coin > span { animation: none !important; }
  .ex1-coin > span { transform: rotate(var(--tilt, 0deg)); }
  .ex1-reel img, .ex1-panel, .ex1-tabs::before, .ex1-index ol::after, .ex1-btn, .ex1-app i { transition-duration: .01s !important; }
  .ex1-area::before { opacity: 0; }
}
