:root {
    /* Palette */
    --navy:        oklch(0.26 0.045 264);
    --navy-deep:   oklch(0.20 0.040 264);
    --navy-soft:   oklch(0.33 0.045 264);
    --gold:        oklch(0.80 0.105 86);
    --gold-bright: oklch(0.86 0.115 90);
    --gold-deep:   oklch(0.66 0.105 78);
    --cream:       oklch(0.95 0.018 86);
    --cream-dim:   oklch(0.86 0.020 86);

    --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --sans:  "Mulish", system-ui, -apple-system, sans-serif;
  }

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

  html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--navy-deep);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    cursor: default;
  }

  #root { width: 100vw; height: 100vh; }

  /* ---------- Kiosk stage ---------- */
  .kiosk {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
      radial-gradient(120% 80% at 50% 18%, var(--navy-soft) 0%, var(--navy) 42%, var(--navy-deep) 100%);
    color: var(--cream);
  }

  /* faint gold glow behind the headline */
  .kiosk::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 38%;
    width: min(120vw, 1400px);
    height: min(120vw, 1400px);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, oklch(0.80 0.105 86 / 0.16) 0%, transparent 62%);
    pointer-events: none;
  }

  /* subtle hairline texture frame so it reads as an appliance */
  .frame-rule {
    position: absolute;
    inset: clamp(20px, 2.4vmin, 40px);
    border: 1px solid oklch(0.80 0.105 86 / 0.22);
    border-radius: 0;
    pointer-events: none;
  }

  /* ---------- Header: casino co-brand ---------- */
  .topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(18px, 3.4vmin, 60px) clamp(40px, 6vmin, 96px) 0;
  }

  .casino-logo {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .casino-mark {
    width: clamp(54px, 7vmin, 78px);
    height: clamp(54px, 7vmin, 78px);
    border-radius: 0;
    border: 1.5px solid oklch(0.80 0.105 86 / 0.55);
    background:
      repeating-linear-gradient(45deg, oklch(0.80 0.105 86 / 0.10) 0 6px, transparent 6px 12px);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .casino-mark span {
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 0.14em;
    color: var(--gold);
    opacity: 0.8;
  }
  .casino-text { line-height: 1; }
  .casino-text .name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(24px, 2.9vmin, 38px);
    color: var(--cream);
    letter-spacing: 0.01em;
  }
  .casino-text .loc {
    font-family: var(--sans);
    font-weight: 600;
    font-size: clamp(11px, 1.3vmin, 14px);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 7px;
  }

  .reward-tag {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(11px, 1.3vmin, 14px);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cream-dim);
    border: 1px solid oklch(0.80 0.105 86 / 0.35);
    border-radius: 0;
    padding: 12px 22px;
  }

  /* ---------- Center hero ---------- */
  .hero {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 clamp(32px, 7vw, 160px);
    gap: clamp(8px, 1.8vmin, 36px);
  }

  .eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(13px, 1.6vmin, 19px);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .eyebrow::before,
  .eyebrow::after {
    content: "";
    width: clamp(28px, 5vmin, 64px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-deep));
  }
  .eyebrow::after { background: linear-gradient(90deg, var(--gold-deep), transparent); }

  .headline {
    font-family: var(--serif);
    font-weight: 800;
    font-size: clamp(48px, 8.8vmin, 132px);
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--cream);
    text-wrap: balance;
    max-width: 15ch;
  }
  .headline em {
    font-style: normal;
    color: var(--gold-bright);
  }

  .subtext {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(20px, 2.7vmin, 36px);
    line-height: 1.35;
    color: var(--cream-dim);
    max-width: 24ch;
  }

  /* ---------- Start button ---------- */
  .start-wrap {
    margin-top: clamp(8px, 1.6vmin, 26px);
  }
  .start-btn {
    position: relative;
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(24px, 3vmin, 40px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-deep);
    background: var(--gold);
    border: none;
    border-radius: 0;
    padding: clamp(22px, 3.0vmin, 42px) clamp(78px, 11vw, 180px);
    min-height: 96px;
    cursor: pointer;
    box-shadow: 0 14px 34px -16px oklch(0 0 0 / 0.45);
    transition: transform 120ms ease, filter 120ms ease;
    display: inline-flex;
    align-items: center;
    gap: 20px;
  }
  .start-btn:hover { filter: brightness(1.04); }
  .start-btn:active {
    transform: translateY(2px);
    box-shadow: 0 6px 18px -14px oklch(0 0 0 / 0.5);
  }
  .start-btn .arrow {
    font-size: 0.92em;
    transform: translateY(1px);
  }
  /* (calm — no attract pulse; restrained like nike.com) */

  /* ---------- Footer: GPS brand ---------- */
  .footer {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-bottom: clamp(12px, 2.6vmin, 50px);
    padding-top: clamp(2px, 1.0vmin, 16px);
  }
  .footer .by {
    font-family: var(--sans);
    font-weight: 600;
    font-size: clamp(11px, 1.2vmin, 13px);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: oklch(0.86 0.020 86 / 0.6);
  }
  .gps-logo-img {
    height: clamp(36px, 4.8vmin, 60px);
    width: auto;
    display: block;
  }

  /* entrance */
  @media (prefers-reduced-motion: no-preference) {
    .anim { opacity: 0; transform: translateY(18px); animation: rise 0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
    .d1 { animation-delay: 0.05s; }
    .d2 { animation-delay: 0.18s; }
    .d3 { animation-delay: 0.31s; }
    .d4 { animation-delay: 0.46s; }
    .d5 { animation-delay: 0.62s; }
    @keyframes rise { to { opacity: 1; transform: none; } }
    /* footer sits flush at the bottom edge — fade only, never translate it down */
    .fade { opacity: 0; animation: fadein 0.9s ease 0.62s forwards; }
    @keyframes fadein { to { opacity: 1; } }
  }

  /* ============================================================
     SCREEN 2 — Shoe Gallery
     ============================================================ */
  .gallery {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(120% 70% at 50% 0%, var(--navy-soft) 0%, var(--navy) 46%, var(--navy-deep) 100%);
    color: var(--cream);
    overflow: hidden;
  }

  /* --- sticky header --- */
  .gal-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, 3.2vmin, 44px) clamp(34px, 4.5vmin, 72px) clamp(18px, 2.4vmin, 32px);
    border-bottom: 1px solid oklch(0.80 0.105 86 / 0.18);
    background: oklch(0.20 0.040 264 / 0.55);
    backdrop-filter: blur(6px);
    z-index: 5;
  }
  .gal-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(15px, 1.7vmin, 20px);
    letter-spacing: 0.04em;
    color: var(--cream-dim);
    background: oklch(0.33 0.045 264 / 0.6);
    border: 1px solid oklch(0.80 0.105 86 / 0.28);
    border-radius: 0;
    padding: 14px 26px 14px 20px;
    min-height: 56px;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease;
  }
  .gal-back:hover { background: oklch(0.33 0.045 264 / 0.95); color: var(--cream); }
  .gal-back:active { transform: translateY(1px); }
  .gal-back .a { font-size: 1.2em; color: var(--gold); }

  .gal-title {
    font-family: var(--serif);
    font-weight: 800;
    font-size: clamp(30px, 4.4vmin, 60px);
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--cream);
    text-align: center;
    flex: 1;
  }

  .gift-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(13px, 1.5vmin, 17px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy-deep);
    background: var(--gold);
    border-radius: 0;
    padding: 14px 24px;
    min-height: 56px;
    box-shadow: none;
    white-space: nowrap;
  }
  .gift-badge .dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--navy-deep);
    box-shadow: 0 0 0 4px oklch(0.20 0.040 264 / 0.25);
  }

  /* --- scroll area --- */
  .gal-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: clamp(24px, 3.4vmin, 52px) clamp(34px, 4.5vmin, 72px) clamp(34px, 4.5vmin, 72px);
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 4vmin, 60px);
  }
  .gal-scroll::-webkit-scrollbar { width: 12px; }
  .gal-scroll::-webkit-scrollbar-thumb { background: oklch(0.80 0.105 86 / 0.3); border-radius: 0; }

  /* --- section shells --- */
  .sec-head {
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
  }
  .sec-eyebrow {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(13px, 1.5vmin, 18px);
    letter-spacing: 0.26em;
    text-transform: uppercase;
  }
  .sec-title {
    font-family: var(--serif);
    font-weight: 800;
    font-size: clamp(28px, 3.9vmin, 52px);
    line-height: 1.0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--cream);
  }
  .sec-sub {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(16px, 1.9vmin, 24px);
    color: var(--cream-dim);
  }

  /* EXPRESS section — dominant */
  .sec-express {
    position: relative;
    background:
      linear-gradient(180deg, oklch(0.80 0.105 86 / 0.10), oklch(0.80 0.105 86 / 0.03));
    border: 1.5px solid oklch(0.80 0.105 86 / 0.40);
    border-radius: 0;
    padding: clamp(26px, 3.4vmin, 48px);
  }
  .sec-express .reco {
    position: absolute;
    top: 0; left: clamp(28px, 3.4vmin, 48px);
    transform: translateY(-50%);
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(12px, 1.4vmin, 16px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy-deep);
    background: var(--gold-bright);
    border-radius: 0;
    padding: 9px 22px;
    box-shadow: 0 6px 18px -6px oklch(0.80 0.105 86 / 0.7);
  }
  .sec-express .sec-eyebrow { color: var(--gold); }
  .sec-express .sec-head { margin-bottom: clamp(20px, 2.6vmin, 36px); }

  /* CUSTOM section — secondary */
  .sec-custom { padding: 0 clamp(4px, 1vmin, 12px); }
  .sec-custom .sec-eyebrow { color: var(--cream-dim); opacity: 0.7; }
  .sec-custom .sec-title { font-size: clamp(24px, 3.1vmin, 40px); color: var(--cream-dim); }
  .sec-custom .sec-head { margin-bottom: clamp(18px, 2.2vmin, 30px); }

  /* --- card grid --- */
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.6vmin, 40px);
  }

  /* EXPRESS cards — bright cream, big */
  .card {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease;
  }
  .card-x {
    background: var(--cream);
    color: var(--navy-deep);
    box-shadow: 0 24px 50px -22px oklch(0 0 0 / 0.85);
  }
  .card-x:hover { transform: translateY(-4px); }

  .shoe-img {
    position: relative;
    width: 100%;
    background:
      repeating-linear-gradient(-45deg, oklch(0.30 0.04 264 / 0.10) 0 10px, transparent 10px 20px),
      oklch(0.88 0.012 264);
    display: grid;
    place-items: center;
  }
  .card-x .shoe-img { aspect-ratio: 16 / 10; }
  .shoe-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .shoe-img .ph {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: clamp(11px, 1.2vmin, 14px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: oklch(0.45 0.03 264 / 0.75);
    border: 1px dashed oklch(0.45 0.03 264 / 0.4);
    border-radius: 0;
    padding: 8px 14px;
  }

  .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(20px, 2.4vmin, 32px);
    gap: clamp(10px, 1.3vmin, 16px);
  }
  .shoe-name {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(20px, 2.3vmin, 30px);
    line-height: 1.12;
    letter-spacing: -0.01em;
  }
  .shoe-name .ed {
    display: block;
    font-weight: 600;
    font-size: 0.62em;
    color: var(--gold-deep);
    letter-spacing: 0.02em;
    margin-top: 3px;
  }
  .shoe-price {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(24px, 2.9vmin, 38px);
    color: var(--navy);
  }
  .ready-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(13px, 1.5vmin, 17px);
    color: oklch(0.46 0.10 150);
    background: oklch(0.92 0.06 150);
    border-radius: 0;
    padding: 9px 16px;
  }
  .ready-badge .chk {
    display: grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: oklch(0.55 0.12 150); color: #fff;
    font-size: 13px; font-weight: 900;
  }

  .card-btn {
    margin-top: auto;
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    cursor: pointer;
    width: 100%;
    transition: transform 130ms ease, filter 130ms ease, background 130ms ease;
  }
  .card-btn.btn-primary {
    font-size: clamp(18px, 2.1vmin, 26px);
    color: var(--cta-text);
    background: var(--cta);
    padding: clamp(18px, 2.2vmin, 28px);
    min-height: 68px;
    box-shadow: 0 12px 28px -12px oklch(0 0 0 / 0.5);
  }
  .card-btn.btn-primary:hover { filter: brightness(1.12); }
  .card-btn.btn-primary:active { transform: translateY(2px); }

  /* CUSTOM cards — dark, recede */
  .card-c {
    background: oklch(0.31 0.045 264);
    color: var(--cream);
    border: 1px solid oklch(0.80 0.105 86 / 0.18);
  }
  .card-c:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px oklch(0.12 0.04 264 / 0.9); }
  .card-c .shoe-img {
    aspect-ratio: 16 / 9;
    background:
      repeating-linear-gradient(-45deg, oklch(0.80 0.105 86 / 0.06) 0 10px, transparent 10px 20px),
      oklch(0.26 0.045 264);
  }
  .card-c .shoe-img .ph { color: oklch(0.86 0.02 86 / 0.6); border-color: oklch(0.80 0.105 86 / 0.3); }
  .card-c .card-body { padding: clamp(18px, 2vmin, 26px); gap: clamp(8px, 1vmin, 12px); }
  .card-c .shoe-name { font-size: clamp(18px, 2vmin, 26px); }
  .card-c .shoe-price { color: var(--gold); font-size: clamp(19px, 2.2vmin, 28px); }
  .btn-ghost {
    font-size: clamp(16px, 1.9vmin, 22px);
    color: var(--gold);
    background: transparent;
    border: 2px solid oklch(0.80 0.105 86 / 0.55);
    padding: clamp(15px, 1.8vmin, 22px);
    min-height: 60px;
  }
  .btn-ghost:hover { background: oklch(0.80 0.105 86 / 0.12); color: var(--gold-bright); }
  .btn-ghost:active { transform: translateY(2px); }

  /* gallery entrance */
  @media (prefers-reduced-motion: no-preference) {
    .pop { opacity: 0; transform: translateY(16px); animation: rise 0.6s cubic-bezier(0.22,1,0.36,1) forwards; }
    .p1 { animation-delay: 0.04s; }
    .p2 { animation-delay: 0.10s; }
    .p3 { animation-delay: 0.16s; }
    .p4 { animation-delay: 0.26s; }
    .p5 { animation-delay: 0.32s; }
    .p6 { animation-delay: 0.38s; }
  }

  /* ---- approved-shoes grid (staff selection) ---- */
  .approved-head { margin-bottom: clamp(6px, 1.4vmin, 18px); }
  .approved-grid { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 1100px) { .approved-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px)  { .approved-grid { grid-template-columns: 1fr; } }
  .model-card {
    width: 100%; text-align: left; border: none; font: inherit; cursor: pointer;
    padding: 0;
  }
  .model-card:hover { transform: translateY(-4px); }
  .model-cta {
    margin-top: auto;
    font-family: var(--sans); font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.03em; font-size: clamp(14px, 1.7vmin, 19px);
    color: var(--gold-deep); display: flex; align-items: center; gap: 8px;
  }
  .model-cta span { font-size: 1.25em; }

  /* ---- ChooseStyle: customize hero + premades ---- */
  .customize-hero {
    width: 100%; text-align: left; cursor: pointer; border: none; font: inherit;
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
    background: var(--gold);
    color: var(--navy-deep); border-radius: 0;
    padding: clamp(26px, 3.6vmin, 50px);
    box-shadow: 0 16px 40px -20px oklch(0 0 0 / 0.4);
    transition: filter 120ms ease, transform 120ms ease;
  }
  .customize-hero:hover { filter: brightness(1.04); }
  .customize-hero:active { transform: translateY(2px); }
  .ch-left { min-width: 260px; }
  .ch-eyebrow {
    font-family: var(--sans); font-weight: 800; font-size: clamp(13px, 1.5vmin, 18px);
    letter-spacing: 0.22em; text-transform: uppercase; color: oklch(0.30 0.05 264 / 0.7);
  }
  .ch-title {
    font-family: var(--serif); font-weight: 800; line-height: 0.96;
    letter-spacing: -0.015em; text-transform: uppercase;
    font-size: clamp(36px, 5.2vmin, 72px); margin-top: 8px;
  }
  .ch-sub {
    font-family: var(--sans); font-weight: 600; font-size: clamp(16px, 2vmin, 25px);
    margin-top: 12px; color: oklch(0.26 0.05 264 / 0.85); max-width: 30ch;
  }
  .ch-cta {
    flex-shrink: 0;
    font-family: var(--sans); font-weight: 800; font-size: clamp(18px, 2.2vmin, 30px);
    text-transform: uppercase; letter-spacing: 0.04em;
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--navy-deep); color: var(--gold-bright);
    border-radius: 0; padding: clamp(18px, 2.2vmin, 28px) clamp(30px, 3.6vmin, 50px);
    white-space: nowrap; min-height: 72px;
  }
  .ch-cta span { font-size: 1.1em; }

  .style-or {
    display: flex; align-items: center; gap: 20px;
    color: var(--cream-dim); font-family: var(--sans); font-weight: 800;
    font-size: clamp(14px, 1.6vmin, 20px); letter-spacing: 0.16em; text-transform: uppercase;
  }
  .style-or::before, .style-or::after {
    content: ""; flex: 1; height: 1px; background: oklch(0.80 0.105 86 / 0.25);
  }

  .premade-grid { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 760px) { .premade-grid { grid-template-columns: 1fr; } }
  .pm-swatches {
    position: absolute; bottom: clamp(10px, 1.6vmin, 18px); left: 50%; transform: translateX(-50%);
    display: flex; gap: 9px;
  }
  .pm-swatches span {
    width: clamp(22px, 2.8vmin, 32px); height: clamp(22px, 2.8vmin, 32px); border-radius: 50%;
    box-shadow: 0 0 0 2px #fff, 0 2px 6px oklch(0.2 0.04 264 / 0.35);
  }

  /* ============================================================
     SCREEN 3 — Gift Card Reveal
     ============================================================ */
  .reveal {
    position: relative;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    color: var(--cream);
    background:
      radial-gradient(110% 70% at 50% 8%, var(--navy-soft) 0%, var(--navy) 48%, var(--navy-deep) 100%);
    overflow: hidden;
  }
  .reveal::before {
    content: "";
    position: absolute; left: 50%; top: 42%;
    width: min(110vw, 1300px); height: min(110vw, 1300px);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, oklch(0.80 0.105 86 / 0.18) 0%, transparent 60%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) { .reveal::before { animation: none; } }
  @keyframes glowPulse { 0%,100%{opacity:.7} 50%{opacity:1} }

  .rev-top {
    position: relative; z-index: 3; flex-shrink: 0;
    display: flex; align-items: center;
    padding: clamp(20px, 2.8vmin, 40px) clamp(34px, 4.5vmin, 72px) 0;
  }

  .rev-scroll {
    position: relative; z-index: 2;
    flex: 1; overflow-y: auto;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: clamp(8px, 1.6vmin, 24px) clamp(28px, 5vw, 96px) clamp(28px, 4vmin, 56px);
    gap: clamp(16px, 2.2vmin, 30px);
  }
  .rev-scroll::-webkit-scrollbar { width: 12px; }
  .rev-scroll::-webkit-scrollbar-thumb { background: oklch(0.80 0.105 86 / 0.3); border-radius: 0; }

  .celebrate-tag {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(13px, 1.6vmin, 19px);
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold);
  }
  .celebrate-tag::before, .celebrate-tag::after {
    content: "✦"; color: var(--gold-deep); font-size: 0.9em;
  }

  .rev-headline {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(38px, 6.4vmin, 86px);
    line-height: 0.96; letter-spacing: -0.015em; text-transform: uppercase;
    color: var(--cream);
    text-wrap: balance; max-width: 14ch;
  }
  .rev-match {
    font-family: var(--sans); font-weight: 500;
    font-size: clamp(17px, 2.1vmin, 27px);
    color: var(--cream-dim); max-width: 32ch;
  }
  .rev-match b { color: var(--gold-bright); font-weight: 800; }

  /* ---- the gift card ---- */
  .gc-wrap { perspective: 1400px; }
  .giftcard {
    position: relative;
    width: clamp(272px, 33vmin, 372px);
    aspect-ratio: 0.66 / 1;
    border-radius: 2px;
    padding: clamp(26px, 4vmin, 42px) clamp(22px, 3vmin, 32px) clamp(14px, 1.8vmin, 22px);
    display: flex; flex-direction: column;
    text-align: left;
    color: #111;
    background: #fcfcfb;
    border: 1px solid #e6e6e2;
    box-shadow:
      0 44px 86px -30px oklch(0.10 0.03 264 / 0.92),
      0 1px 0 rgba(255,255,255,0.8) inset;
    overflow: hidden;
  }
  .giftcard::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,0.0) 47%, rgba(0,0,0,0.05) 50%, rgba(255,255,255,0.0) 53%, transparent 66%);
    transform: translateX(-30%);
    animation: sheen 5s ease-in-out 0.8s infinite;
    pointer-events: none;
  }
  @media (prefers-reduced-motion: reduce) { .giftcard::after { animation: none; opacity: .3; } }
  @keyframes sheen { 0%{transform:translateX(-60%)} 18%,100%{transform:translateX(60%)} }

  /* die-cut hang tab */
  .gc-hang {
    position: absolute; top: clamp(13px, 1.8vmin, 20px); left: 50%; transform: translateX(-50%);
    width: clamp(64px, 8.4vmin, 104px); height: clamp(18px, 2.3vmin, 28px);
    border: 1.5px solid #d6d6d1; border-radius: 0;
    background: #f3f3f0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
  }

  /* label, top-left (replaces the dollar value — kiosk shows no prices) */
  .gc-tagline {
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(12px, 1.5vmin, 17px); line-height: 1;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: #111;
    margin-top: clamp(2px, 0.6vmin, 8px);
  }

  /* central brand mark (placeholder wordmark — drop licensed art here) */
  .gc-center { flex: 1; display: grid; place-items: center; padding: clamp(8px, 1.6vmin, 18px) 0; }
  .gc-mark {
    font-family: var(--sans); font-style: italic; font-weight: 900;
    font-size: clamp(52px, 10vmin, 116px); line-height: 0.9;
    letter-spacing: -0.05em; color: #111;
  }

  /* sub-mark stack, bottom-right */
  .gc-submarks {
    align-self: flex-end;
    display: flex; flex-direction: column; align-items: flex-end; gap: clamp(5px, 0.8vmin, 9px);
    margin-bottom: clamp(8px, 1.4vmin, 16px);
  }
  .gc-tile {
    width: clamp(16px, 2.1vmin, 24px); height: clamp(16px, 2.1vmin, 24px);
    border-radius: 0; background: #efefec;
    box-shadow: inset 0 0 0 1px #dcdcd7;
  }
  .gc-word {
    font-family: var(--sans); font-style: italic; font-weight: 900;
    font-size: clamp(13px, 1.6vmin, 19px); letter-spacing: -0.03em; color: #111;
  }

  /* digital additions: what it's for + masked code */
  .gc-meta {
    font-family: var(--sans); font-weight: 600;
    font-size: clamp(11px, 1.3vmin, 14px); line-height: 1.4; color: #6a6a66;
    border-top: 1px solid #ececea; padding-top: clamp(8px, 1.2vmin, 12px);
  }
  .gc-meta b { color: #111; font-weight: 800; }
  .gc-code {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-weight: 600; letter-spacing: 0.04em; color: #111; white-space: nowrap;
  }
  .gc-fine {
    font-family: var(--sans); font-weight: 500;
    font-size: clamp(8.5px, 1vmin, 11px); line-height: 1.35; color: #8a8a86;
    text-align: center; margin-top: clamp(8px, 1.2vmin, 14px);
  }

  .rev-micro {
    font-family: var(--sans); font-weight: 500;
    font-size: clamp(15px, 1.7vmin, 21px); color: var(--cream-dim);
    max-width: 36ch;
  }

  /* ---- 3-step strip ---- */
  .steps {
    display: flex; align-items: stretch; justify-content: center;
    gap: clamp(8px, 1.4vmin, 20px);
    flex-wrap: wrap;
    width: 100%; max-width: 920px;
  }
  .step {
    flex: 1 1 0; min-width: 200px;
    display: flex; align-items: center; gap: 16px;
    text-align: left;
    background: oklch(0.31 0.045 264 / 0.55);
    border: 1px solid oklch(0.80 0.105 86 / 0.18);
    border-radius: 0;
    padding: clamp(14px, 1.8vmin, 22px) clamp(16px, 2vmin, 26px);
  }
  .step-num {
    flex-shrink: 0;
    width: clamp(40px, 4.6vmin, 56px); height: clamp(40px, 4.6vmin, 56px);
    border-radius: 0; display: grid; place-items: center;
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(20px, 2.4vmin, 30px);
    color: var(--navy-deep);
    background: var(--gold);
  }
  .step-label {
    font-family: var(--sans); font-weight: 700;
    font-size: clamp(15px, 1.8vmin, 22px); line-height: 1.18;
    color: var(--cream);
  }

  .rev-continue {
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(22px, 2.8vmin, 38px);
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--navy-deep);
    background: var(--gold);
    border: none; border-radius: 0;
    padding: clamp(20px, 2.6vmin, 34px) clamp(70px, 10vw, 150px);
    min-height: 84px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 18px;
    box-shadow: 0 14px 34px -16px oklch(0 0 0 / 0.4);
    transition: filter 120ms ease, transform 120ms ease;
  }
  .rev-continue:hover { filter: brightness(1.04); }
  .rev-continue:active { transform: translateY(2px); box-shadow: 0 6px 16px -14px oklch(0 0 0 / 0.45); }

  .rev-reassure {
    font-family: var(--sans); font-weight: 600;
    font-size: clamp(14px, 1.6vmin, 19px);
    color: oklch(0.86 0.02 86 / 0.75);
    display: inline-flex; align-items: center; gap: 10px;
  }
  .rev-reassure .lock { color: var(--gold); }

  @media (prefers-reduced-motion: no-preference) {
    .gc-pop { opacity: 0; transform: translateY(26px) scale(0.92) rotateX(8deg); animation: cardIn 0.8s cubic-bezier(0.22,1.2,0.36,1) 0.15s forwards; }
    @keyframes cardIn { to { opacity: 1; transform: none; } }
  }

  /* ============================================================
     SCREEN 4 — Design / Checkout with persistent code bar
     ============================================================ */
  .dc {
    position: relative;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    background: var(--navy-deep);
    overflow: hidden;
  }

  /* ---- persistent GPS code bar (pinned, never scrolls) ---- */
  .codebar {
    flex-shrink: 0;
    position: relative; z-index: 20;
    display: flex; align-items: center; gap: clamp(16px, 2.4vmin, 36px);
    flex-wrap: wrap;
    padding: clamp(14px, 1.9vmin, 24px) clamp(20px, 3vmin, 48px);
    background: linear-gradient(180deg, var(--navy-soft), var(--navy));
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 14px 30px -12px oklch(0.08 0.03 264 / 0.8);
    color: var(--cream);
  }
  .cb-brand {
    display: flex; align-items: center; gap: 14px;
    flex: 1 1 240px; min-width: 220px;
  }
  .cb-mark {
    font-family: var(--serif); font-weight: 700;
    font-size: clamp(18px, 2vmin, 26px);
    color: var(--cream); letter-spacing: 0.04em;
    border: 1.5px solid oklch(0.80 0.105 86 / 0.55);
    border-radius: 0; padding: 4px 11px;
    background: repeating-linear-gradient(45deg, oklch(0.80 0.105 86 / 0.08) 0 6px, transparent 6px 12px);
  }
  .cb-mark b { color: var(--gold); }
  .cb-label {
    font-family: var(--sans); line-height: 1.2;
  }
  .cb-label .t {
    font-weight: 800; font-size: clamp(14px, 1.7vmin, 21px); color: var(--cream);
    display: block; line-height: 1.15;
  }
  .cb-label .s {
    display: block;
    font-weight: 600; font-size: clamp(11px, 1.3vmin, 14px);
    letter-spacing: 0.04em; color: var(--gold); margin-top: 3px;
  }

  .cb-card {
    display: flex; align-items: center; gap: clamp(14px, 2vmin, 28px);
    background: oklch(0.20 0.04 264 / 0.6);
    border: 1px solid oklch(0.80 0.105 86 / 0.3);
    border-radius: 0;
    padding: clamp(10px, 1.4vmin, 16px) clamp(16px, 2vmin, 26px);
  }
  .cb-value {
    font-family: var(--serif); font-weight: 700;
    font-size: clamp(28px, 3.4vmin, 46px); line-height: 1;
    color: var(--gold-bright);
  }
  .cb-value .vl {
    display: block; font-family: var(--sans); font-weight: 700;
    font-size: clamp(9px, 1.1vmin, 12px); letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--cream-dim); margin-bottom: 3px;
  }
  .cb-code {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-weight: 600; font-size: clamp(15px, 1.9vmin, 24px);
    letter-spacing: 0.06em; color: var(--cream); white-space: nowrap;
  }
  .cb-status {
    font-family: var(--sans); font-weight: 700;
    font-size: clamp(11px, 1.3vmin, 14px);
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px; border-radius: 0; margin-top: 5px;
    white-space: nowrap;
  }
  .cb-status.unlocked { color: var(--gold); background: oklch(0.80 0.105 86 / 0.12); }
  .cb-status.locked   { color: oklch(0.62 0.13 150); background: oklch(0.92 0.06 150 / 0.16); }

  .cb-copy {
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(16px, 2vmin, 24px);
    letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--navy-deep);
    background: var(--gold);
    border: none; border-radius: 0;
    padding: clamp(14px, 1.9vmin, 22px) clamp(24px, 3vmin, 44px);
    min-height: 60px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 12px;
    box-shadow: none;
    transition: filter 120ms ease, transform 120ms ease;
  }
  .cb-copy:hover { filter: brightness(1.05); }
  .cb-copy:active { transform: translateY(2px); }
  .cb-copy.done { background: oklch(0.55 0.12 150); color: #fff; }

  /* ---- the Nike-style mock (the "site beneath") ---- */
  .nikemock {
    flex: 1; display: flex; flex-direction: column;
    background: oklch(0.96 0.004 264);
    overflow: hidden;
  }
  .nikebar {
    flex-shrink: 0;
    display: flex; align-items: center; gap: 18px;
    padding: 14px clamp(20px, 3vmin, 48px);
    background: #fff;
    border-bottom: 1px solid oklch(0.88 0.005 264);
  }
  .nike-logo {
    font-family: var(--sans); font-weight: 900; font-style: italic;
    font-size: clamp(18px, 2.2vmin, 26px); letter-spacing: -0.02em;
    color: #111; border: 2px dashed oklch(0.62 0.02 264); border-radius: 0;
    padding: 4px 14px;
  }
  .nike-demo-tag {
    font-family: ui-monospace, Menlo, monospace;
    font-size: clamp(10px, 1.2vmin, 13px); letter-spacing: 0.1em;
    color: oklch(0.5 0.02 264); text-transform: uppercase;
    border: 1px solid oklch(0.78 0.01 264); border-radius: 0; padding: 5px 10px;
  }
  .nike-nav { margin-left: auto; display: flex; gap: 10px; }
  .nike-nav .pill {
    width: clamp(48px, 7vmin, 80px); height: 14px; border-radius: 0;
    background: oklch(0.9 0.005 264);
  }

  .nikebody {
    flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: clamp(22px, 3vmin, 44px) clamp(20px, 3.5vmin, 60px) clamp(30px, 4vmin, 60px);
    color: oklch(0.22 0.02 264);
  }
  .nikebody::-webkit-scrollbar { width: 12px; }
  .nikebody::-webkit-scrollbar-thumb { background: oklch(0.82 0.01 264); border-radius: 0; }

  .nb-eyebrow {
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(12px, 1.4vmin, 16px); letter-spacing: 0.18em;
    text-transform: uppercase; color: oklch(0.55 0.02 264);
  }
  .nb-title {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(26px, 3.4vmin, 46px); line-height: 1.0;
    color: #111; margin: 6px 0 clamp(18px, 2.4vmin, 30px);
    letter-spacing: -0.02em; text-transform: uppercase;
  }

  /* customizer / review layout */
  .cz {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(22px, 3vmin, 48px);
    align-items: start;
  }
  @media (max-width: 860px) { .cz { grid-template-columns: 1fr; } }

  .cz-preview {
    position: relative;
    background:
      repeating-linear-gradient(-45deg, oklch(0.5 0.02 264 / 0.07) 0 12px, transparent 12px 24px),
      oklch(0.93 0.006 264);
    border: 1px solid oklch(0.86 0.006 264);
    border-radius: 0;
    aspect-ratio: 4 / 3;
    display: grid; place-items: center;
    overflow: hidden;
  }
  .cz-preview .ph {
    font-family: ui-monospace, Menlo, monospace;
    font-size: clamp(11px, 1.3vmin, 15px); letter-spacing: 0.1em;
    text-transform: uppercase; color: oklch(0.5 0.02 264 / 0.8);
    border: 1px dashed oklch(0.5 0.02 264 / 0.45); border-radius: 0;
    padding: 10px 16px; text-align: center;
  }
  .cz-preview .preview-text {
    position: absolute; bottom: clamp(14px, 2vmin, 24px);
    left: 50%; transform: translateX(-50%);
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(15px, 1.9vmin, 24px); letter-spacing: 0.16em;
    color: #111; background: oklch(0.86 0.115 90); padding: 6px 16px; border-radius: 0;
    text-transform: uppercase; white-space: nowrap; max-width: 90%; overflow: hidden;
  }

  .cz-controls { display: flex; flex-direction: column; gap: clamp(16px, 2vmin, 26px); }
  .swatch-group .sg-label {
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(14px, 1.6vmin, 19px); color: #111; margin-bottom: 10px;
    display: flex; align-items: baseline; gap: 10px;
  }
  .swatch-group .sg-label .sel {
    font-weight: 600; font-size: 0.82em; color: oklch(0.5 0.02 264);
  }
  .swatches { display: flex; gap: 12px; flex-wrap: wrap; }
  .swatch {
    width: clamp(44px, 5vmin, 56px); height: clamp(44px, 5vmin, 56px);
    border-radius: 50%; cursor: pointer; padding: 0; border: none;
    box-shadow: inset 0 0 0 1px oklch(0.5 0.02 264 / 0.25);
    position: relative; transition: transform 120ms ease;
  }
  .swatch:hover { transform: scale(1.08); }
  .swatch[aria-pressed="true"] {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold-deep);
  }

  .cz-text label {
    display: block; font-family: var(--sans); font-weight: 800;
    font-size: clamp(14px, 1.6vmin, 19px); color: #111; margin-bottom: 10px;
  }
  .cz-text input {
    width: 100%; font-family: var(--sans); font-weight: 700;
    font-size: clamp(17px, 2vmin, 24px); letter-spacing: 0.08em;
    color: #111; background: #fff;
    border: 2px solid oklch(0.82 0.01 264); border-radius: 0;
    padding: clamp(14px, 1.7vmin, 20px) 18px; text-transform: uppercase;
  }
  .cz-text input:focus { outline: none; border-color: var(--gold-deep); }
  .cz-text .hint { font-family: var(--sans); font-weight: 600; font-size: 14px; color: oklch(0.55 0.02 264); margin-top: 8px; }

  /* express review */
  .rv-row { display: flex; gap: clamp(22px, 3vmin, 44px); align-items: center; flex-wrap: wrap; }
  .rv-info { flex: 1 1 280px; min-width: 260px; }
  .rv-name { font-family: var(--sans); font-weight: 800; font-size: clamp(24px, 3vmin, 40px); color: #111; }
  .rv-ed { font-family: var(--sans); font-weight: 600; font-size: clamp(15px, 1.7vmin, 20px); color: oklch(0.5 0.02 264); margin-top: 4px; }
  .rv-price { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 3vmin, 40px); color: #111; margin-top: 16px; }
  .rv-ready { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
    font-family: var(--sans); font-weight: 700; font-size: clamp(14px, 1.6vmin, 18px);
    color: oklch(0.42 0.1 150); background: oklch(0.92 0.06 150); padding: 9px 16px; border-radius: 0; }
  .rv-ready .chk { display:grid; place-items:center; width:22px;height:22px;border-radius:50%;background:oklch(0.55 0.12 150);color:#fff;font-size:13px;font-weight:900; }
  .size-label { font-family: var(--sans); font-weight: 800; font-size: clamp(14px, 1.6vmin, 19px); color:#111; margin: 22px 0 10px; }
  .size-pills { display: flex; gap: 10px; flex-wrap: wrap; }
  .size-pill {
    min-width: 56px; min-height: 52px; padding: 0 14px;
    font-family: var(--sans); font-weight: 800; font-size: clamp(15px, 1.7vmin, 20px);
    color: #111; background: #fff; border: 2px solid oklch(0.82 0.01 264);
    border-radius: 0; cursor: pointer; transition: all 120ms ease;
  }
  .size-pill:hover { border-color: oklch(0.6 0.02 264); }
  .size-pill[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }

  /* primary checkout button (Nike-side) */
  .nike-checkout {
    margin-top: clamp(26px, 3.4vmin, 44px);
    width: 100%;
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(19px, 2.3vmin, 28px); letter-spacing: 0.02em;
    color: #fff; background: #111;
    border: none; border-radius: 0;
    padding: clamp(20px, 2.5vmin, 30px); min-height: 72px; cursor: pointer;
    transition: background 130ms ease, transform 130ms ease;
  }
  .nike-checkout:hover { background: #000; }
  .nike-checkout:active { transform: translateY(2px); }

  /* mock checkout panel */
  .co-panel {
    margin-top: clamp(24px, 3vmin, 40px);
    border: 1px solid oklch(0.86 0.006 264); border-radius: 0;
    background: #fff; padding: clamp(22px, 3vmin, 38px);
  }
  .co-h { font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 2.6vmin, 34px); color:#111; text-transform: uppercase; letter-spacing: -0.01em; }
  .co-summary { display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    border-bottom: 1px solid oklch(0.9 0.005 264); padding: 18px 0; font-family: var(--sans); }
  .co-summary .l { font-weight: 700; font-size: clamp(15px,1.8vmin,21px); color:#222; }
  .co-summary .r { font-weight: 800; font-size: clamp(15px,1.8vmin,21px); color:#111; }
  .co-field-label { font-family: var(--sans); font-weight: 800; font-size: clamp(15px,1.7vmin,20px); color:#111; margin: 20px 0 10px; }
  .co-field-row { display:flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .co-input {
    flex: 1 1 280px; font-family: ui-monospace, Menlo, monospace; font-weight: 600;
    font-size: clamp(15px, 1.8vmin, 22px); letter-spacing: 0.06em; color:#111;
    background: oklch(0.97 0.003 264); border: 2px dashed oklch(0.78 0.01 264);
    border-radius: 0; padding: clamp(14px,1.6vmin,18px) 16px;
  }
  .co-input.filled { background: oklch(0.95 0.05 150); border-style: solid; border-color: oklch(0.6 0.12 150); color:#111; }
  .co-hint {
    font-family: var(--sans); font-weight: 700; font-size: clamp(13px, 1.5vmin, 17px);
    color: var(--gold-deep); margin-top: 12px; display:inline-flex; align-items:center; gap:8px;
  }
  .co-pay {
    margin-top: 22px; width: 100%;
    font-family: var(--sans); font-weight: 800; font-size: clamp(18px,2.2vmin,26px);
    color: #fff; background: oklch(0.42 0.1 150); border: none; border-radius: 0;
    padding: clamp(18px,2.2vmin,26px); min-height: 66px; cursor: pointer; transition: all 130ms ease;
  }
  .co-pay:disabled { background: oklch(0.84 0.01 264); color: oklch(0.6 0.01 264); cursor: not-allowed; }
  .co-pay:not(:disabled):hover { filter: brightness(1.05); }

  .co-placed {
    text-align: center; padding: clamp(20px, 3vmin, 40px) 0 6px;
  }
  .co-placed .big {
    font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.6vmin, 48px);
    text-transform: uppercase; letter-spacing: -0.01em;
    color: oklch(0.42 0.12 150);
  }
  .co-placed .sm { font-family: var(--sans); font-weight: 600; font-size: clamp(15px,1.8vmin,21px); color:#444; margin-top: 8px; }

  /* demo note card */
  .demo-note {
    margin-top: clamp(26px, 3.4vmin, 44px);
    display: flex; gap: 16px; align-items: flex-start;
    background: oklch(0.20 0.04 264); color: var(--cream);
    border: 1px dashed oklch(0.80 0.105 86 / 0.5); border-radius: 0;
    padding: clamp(18px, 2.2vmin, 28px);
  }
  .demo-note .tag {
    flex-shrink: 0;
    font-family: ui-monospace, Menlo, monospace; font-weight: 700;
    font-size: clamp(10px, 1.2vmin, 13px); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--navy-deep); background: var(--gold-bright);
    border-radius: 0; padding: 6px 10px;
  }
  .demo-note p {
    font-family: var(--sans); font-weight: 500; line-height: 1.45;
    font-size: clamp(14px, 1.6vmin, 19px); color: var(--cream-dim);
  }

  /* finished button */
  .dc-finish {
    margin-top: clamp(20px, 2.6vmin, 34px);
    width: 100%;
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(17px, 2vmin, 24px); letter-spacing: 0.04em;
    color: var(--cream); background: oklch(0.31 0.045 264);
    border: 2px solid oklch(0.80 0.105 86 / 0.4); border-radius: 0;
    padding: clamp(16px, 2vmin, 24px); min-height: 64px; cursor: pointer;
    transition: all 130ms ease;
  }
  .dc-finish:hover { background: oklch(0.36 0.045 264); border-color: var(--gold); }
  .dc-finish.primary { background: var(--gold); color: var(--navy-deep); border: none; }

  /* ---- confirm modal ---- */
  .modal-overlay {
    position: absolute; inset: 0; z-index: 50;
    background: oklch(0.12 0.03 264 / 0.74);
    backdrop-filter: blur(4px);
    display: grid; place-items: center;
    padding: 24px;
    animation: fadeOverlay 0.2s ease;
  }
  @keyframes fadeOverlay { from { opacity: 0; } to { opacity: 1; } }
  .modal {
    width: min(560px, 92%);
    background: var(--cream); color: var(--navy-deep);
    border-radius: 0; padding: clamp(28px, 3.6vmin, 48px);
    text-align: center;
    box-shadow: 0 40px 90px -30px oklch(0.08 0.03 264 / 0.9);
    animation: popModal 0.28s cubic-bezier(0.22,1.2,0.36,1);
  }
  @keyframes popModal { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: none; } }
  .modal .m-icon {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
    display: grid; place-items: center; font-size: 30px;
    background: oklch(0.80 0.105 86 / 0.2); color: var(--gold-deep);
  }
  .modal h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3.2vmin, 40px); line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em; }
  .modal p { font-family: var(--sans); font-weight: 500; font-size: clamp(16px, 1.9vmin, 22px); color: oklch(0.4 0.03 264); margin-top: 12px; }
  .modal-actions { display: flex; flex-direction: column; gap: 14px; margin-top: clamp(24px, 3vmin, 36px); }
  .m-yes {
    font-family: var(--sans); font-weight: 800; font-size: clamp(18px, 2.1vmin, 26px);
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--navy-deep); background: var(--gold);
    border: none; border-radius: 0; padding: clamp(18px, 2.2vmin, 26px); min-height: 68px; cursor: pointer;
  }
  .m-yes:active { transform: translateY(2px); }
  .m-back {
    font-family: var(--sans); font-weight: 800; font-size: clamp(16px, 1.9vmin, 22px);
    color: var(--navy); background: transparent; border: 2px solid oklch(0.3 0.04 264 / 0.3);
    border-radius: 0; padding: clamp(14px, 1.8vmin, 22px); min-height: 60px; cursor: pointer;
  }
  .m-back:hover { background: oklch(0.3 0.04 264 / 0.06); }

  /* transient toast */
  .toast {
    position: absolute; left: 50%; bottom: clamp(24px, 4vmin, 48px);
    transform: translateX(-50%); z-index: 60;
    font-family: var(--sans); font-weight: 700; font-size: clamp(15px, 1.7vmin, 20px);
    color: var(--cream); background: oklch(0.24 0.04 264);
    border: 1px solid oklch(0.80 0.105 86 / 0.4); border-radius: 0;
    padding: 14px 26px; box-shadow: 0 16px 40px -16px oklch(0.08 0.03 264 / 0.8);
    display: inline-flex; align-items: center; gap: 10px;
    animation: toastIn 0.3s ease;
  }
  .toast .d { color: var(--gold); }
  @keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

  /* ============================================================
     SCREEN 5 — Thank You
     ============================================================ */
  .thanks {
    position: relative; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--cream);
    background: radial-gradient(120% 80% at 50% 30%, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
    overflow: hidden; padding: clamp(28px, 5vw, 100px);
    gap: clamp(18px, 2.6vmin, 36px);
  }
  .thanks::before {
    content: ""; position: absolute; left: 50%; top: 42%;
    width: min(120vw, 1300px); height: min(120vw, 1300px); transform: translate(-50%, -50%);
    background: radial-gradient(circle, oklch(0.80 0.105 86 / 0.18) 0%, transparent 60%);
    pointer-events: none;
  }
  .thanks > * { position: relative; z-index: 2; }
  .ty-cobrand {
    display: inline-flex; align-items: center; gap: 14px;
    margin-bottom: clamp(4px, 1vmin, 14px);
  }
  .ty-cobrand .casino-mark { width: clamp(46px, 5.6vmin, 64px); height: clamp(46px, 5.6vmin, 64px); }
  .ty-casino {
    text-align: left; font-family: var(--serif); font-weight: 600;
    font-size: clamp(20px, 2.4vmin, 30px); color: var(--cream); line-height: 1;
  }
  .ty-casino span {
    display: block; font-family: var(--sans); font-weight: 600;
    font-size: clamp(10px, 1.2vmin, 13px); letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold); margin-top: 6px;
  }
  .thanks .seal {
    width: clamp(84px, 11vmin, 132px); height: clamp(84px, 11vmin, 132px);
    border-radius: 50%; display: grid; place-items: center;
    font-size: clamp(40px, 5.4vmin, 64px); color: var(--navy-deep);
    background: var(--gold);
    box-shadow: 0 20px 50px -16px oklch(0.80 0.105 86 / 0.6);
  }
  .thanks h1 {
    font-family: var(--serif); font-weight: 800; font-size: clamp(44px, 7.4vmin, 100px);
    line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase;
    color: var(--cream); text-wrap: balance; max-width: 14ch;
  }
  .thanks .sub {
    font-family: var(--sans); font-weight: 500; font-size: clamp(18px, 2.3vmin, 30px);
    color: var(--cream-dim); max-width: 30ch;
  }
  .thanks .done-btn {
    margin-top: clamp(8px, 1.6vmin, 22px);
    font-family: var(--sans); font-weight: 800; font-size: clamp(20px, 2.6vmin, 34px);
    letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy-deep);
    background: var(--gold);
    border: none; border-radius: 0; padding: clamp(20px, 2.6vmin, 32px) clamp(60px, 9vw, 130px);
    min-height: 84px; cursor: pointer; box-shadow: 0 14px 34px -16px oklch(0 0 0 / 0.4);
    transition: filter 120ms ease, transform 120ms ease;
  }
  .thanks .done-btn:hover { filter: brightness(1.04); }
  .thanks .done-btn:active { transform: translateY(3px); }
  .thanks .reset-note {
    font-family: var(--sans); font-weight: 600; font-size: clamp(13px, 1.4vmin, 16px);
    color: oklch(0.86 0.02 86 / 0.55); letter-spacing: 0.02em;
  }

  /* ============================================================
     Footer wordmark (replaces the missing gps-logo.png)
     ============================================================ */
  .gps-wordmark {
    font-family: var(--serif); font-size: clamp(18px, 2.4vmin, 30px);
    letter-spacing: 0.02em; color: var(--cream-dim); font-weight: 600;
  }
  .gps-wordmark b { color: var(--gold); font-weight: 800; margin-right: 6px; letter-spacing: 0.06em; }

  /* ============================================================
     Check-in (intake) screen
     ============================================================ */
  .intake-screen .topbar { justify-content: space-between; }
  .intake-main {
    position: relative; z-index: 2; flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 0 clamp(24px, 6vw, 120px); gap: clamp(8px, 1.6vmin, 22px);
  }
  .intake-eyebrow {
    font-family: var(--sans); font-weight: 700; font-size: clamp(12px, 1.5vmin, 18px);
    letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold);
  }
  .intake-title {
    font-family: var(--serif); font-weight: 800; font-size: clamp(36px, 6vmin, 84px);
    line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; color: var(--cream);
  }
  .intake-card {
    width: min(620px, 92vw); margin-top: clamp(10px, 2vmin, 26px);
    display: flex; flex-direction: column; gap: clamp(14px, 1.8vmin, 22px);
    background: oklch(0.26 0.045 264 / 0.55);
    border: 1px solid oklch(0.80 0.105 86 / 0.30);
    padding: clamp(22px, 3vmin, 40px); text-align: left;
  }
  .ik-field { display: flex; flex-direction: column; gap: 8px; }
  .ik-field > span {
    font-family: var(--sans); font-weight: 800; font-size: clamp(12px, 1.3vmin, 15px);
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim);
  }
  .ik-field input {
    font-family: var(--sans); font-size: clamp(18px, 2vmin, 24px); font-weight: 600;
    color: var(--cream); background: oklch(0.20 0.040 264 / 0.85);
    border: 1.5px solid oklch(0.80 0.105 86 / 0.30); border-radius: 0;
    padding: clamp(13px, 1.6vmin, 18px) 16px; width: 100%;
  }
  .ik-field input:focus { outline: none; border-color: var(--gold); }
  .ik-field input::placeholder { color: oklch(0.86 0.02 86 / 0.4); }
  .ik-row { display: flex; gap: clamp(14px, 1.8vmin, 22px); }
  .ik-row > .ik-field { flex: 1; }
  .ik-seg { display: flex; gap: 10px; }
  .ik-seg-btn {
    flex: 1; font-family: var(--sans); font-weight: 800; font-size: clamp(16px, 1.8vmin, 21px);
    color: var(--cream-dim); background: oklch(0.20 0.040 264 / 0.85);
    border: 1.5px solid oklch(0.80 0.105 86 / 0.30); border-radius: 0;
    padding: clamp(12px, 1.5vmin, 17px) 0; cursor: pointer; transition: all 120ms ease;
  }
  .ik-seg-btn.on { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
  .ik-err { color: #ffb4a4; font-family: var(--sans); font-weight: 700; font-size: 15px; }
  .ik-submit {
    margin-top: 4px; font-family: var(--sans); font-weight: 800; font-size: clamp(18px, 2.2vmin, 26px);
    letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy-deep); background: var(--gold);
    border: none; border-radius: 0; padding: clamp(16px, 2vmin, 24px) 0; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    transition: filter 120ms ease, transform 120ms ease;
  }
  .ik-submit:hover { filter: brightness(1.04); }
  .ik-submit:active { transform: translateY(2px); }

  /* ============================================================
     Browser-fallback design screen (no kiosk shell)
     ============================================================ */
  .db-steps {
    max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px;
    color: var(--cream);
  }
  .db-steps ol { font-family: var(--sans); font-size: clamp(16px, 1.9vmin, 21px); line-height: 1.7; padding-left: 22px; color: var(--cream-dim); }
  .db-steps ol b { color: var(--cream); }
  .db-open, .db-save {
    font-family: var(--sans); font-weight: 800; font-size: clamp(16px, 1.9vmin, 22px);
    text-transform: uppercase; letter-spacing: 0.04em; text-align: center;
    background: var(--gold); color: var(--navy-deep); border: none; border-radius: 0;
    padding: 16px 24px; cursor: pointer; text-decoration: none; display: inline-block;
  }
  .db-save:disabled { filter: grayscale(.5) opacity(.55); cursor: default; }
  .db-paste {
    font-family: var(--sans); font-size: clamp(16px, 1.9vmin, 22px); color: var(--cream);
    background: oklch(0.20 0.040 264 / 0.85); border: 1.5px solid oklch(0.80 0.105 86 / 0.30);
    padding: 16px; width: 100%; border-radius: 0;
  }
  .db-paste:focus { outline: none; border-color: var(--gold); }

  /* Converse (prebuilt-only) empty state on the Choose Style screen */
  .style-empty {
    margin-top: clamp(18px, 3vmin, 36px); text-align: center;
    font-family: var(--sans); font-weight: 600; font-size: clamp(16px, 1.9vmin, 22px);
    color: var(--cream-dim);
    border: 1px dashed oklch(0.80 0.105 86 / 0.35); padding: clamp(20px, 3vmin, 40px);
  }
