@charset "UTF-8";
/* Gia Nails — bold, cinematic, booklet-inspired.
   Type: Archivo (wide + heavy, close to the GIA NAILS wordmark).
   Palette: beige paper, light browns, baby blue. No cards, no boxes. */
:root {
  /* Gia palette: baby blue (main), light brown (secondary), white, brown text */
  --cream: #FFFFFF;      /* page background: white */
  --sand: #EAF3FA;       /* soft baby-blue surface */
  --taupe: #B08A68;      /* light brown — secondary */
  --brown: #8B6A50;
  --brown-deep: #5A4232;
  --blue: #A9CDE6;       /* baby blue — main */
  --blue-press: #93BEDD;
  --blue-soft: #E6F1F9;
  --blue-deep: #3F6F92;
  --ink: #33241B;        /* dark brown text */
  --muted: #86735F;
  --line: #D7E6F1;
  --danger: #A85E4A;

  --font: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --gutter: 20px;
  --tabbar-h: 58px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--cream); color: var(--ink);
  font: 400 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
img { display: block; }

/* The wide, heavy display style that echoes the logo */
.bold, .display, .section-title, .navrow b, .stamp-count b, .voucher .big, .scene h2, .huge {
  font-family: var(--font); font-weight: 600; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -.015em;
}

.app { max-width: 520px; margin: 0 auto; min-height: 100dvh; }
.view { padding: 0 var(--gutter) calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 48px); outline: none; }
.view.cinema { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
.fade-in { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ───────── Masthead ───────── */
.mast { padding-top: calc(env(safe-area-inset-top) + 22px); }
.mast a { display: block; }
.mast-logo { width: 100%; height: auto; }
.mast-sub {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-bottom: 12px; border-bottom: 3px solid var(--ink);
  font: 600 12px/1.2 var(--font); font-stretch: 120%; letter-spacing: .16em; text-transform: uppercase;
}
.mast-sub span:last-child { color: var(--muted); }

/* ───────── Type ───────── */
.label { font: 600 12px/1.3 var(--font); font-stretch: 115%; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.section { margin-top: 40px; }
.section-title { font-size: 14px; line-height: .95; margin-bottom: 8px; }
.section-note { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.display { font-size: 14px; line-height: .9; overflow-wrap: break-word; }
.display em { font-style: normal; color: var(--brown); }
.lead { font-size: 14px; line-height: 1.35; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.rule { border: 0; border-top: 3px solid var(--ink); margin: 34px 0 0; }
.center { text-align: center; }

/* ───────── Buttons & links ───────── */
.btn {
  appearance: none; border: 0; border-radius: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 60px; padding: 0 22px;
  background: var(--blue); color: var(--ink); text-decoration: none;
  font: 600 14px/1 var(--font); font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase;
  transition: background .2s, opacity .2s, transform .1s;
}
.btn::after { content: '→'; font-size: 14px; }
.btn.plain::after { content: none; }
.btn.plain { justify-content: center; }
.btn:active { transform: scale(.99); background: var(--blue-press); }
.btn.brown { background: var(--taupe); color: #fff; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 3px solid var(--ink); }
.btn.blue { background: var(--blue); color: var(--ink); }
.btn.cream { background: var(--cream); color: var(--ink); }
.textlink {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 600 12px/1 var(--font); font-stretch: 115%; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; color: var(--ink);
}
.textlink.danger { color: var(--danger); }
.back { display: inline-block; margin-top: 18px; color: var(--muted); }

/* ───────── Forms ───────── */
.field { display: block; margin-top: 26px; }
.field .label { display: block; margin-bottom: 4px; }
.input {
  width: 100%; height: 52px; padding: 0; border: 0; border-radius: 0;
  border-bottom: 3px solid var(--ink); background: transparent; outline: none;
  font: 600 14px/1 var(--font);
}
.input::placeholder { color: #A8998B; font-weight: 400; }
.input:focus { border-bottom-color: var(--blue-deep); }
select.input { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2333241B' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 4px center; }

/* ───────── Stamps ───────── */
.stamp-count { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.stamp-count b { font-size: 96px; line-height: .85; }
.stamp-count span { font: 600 32px/1 var(--font); color: var(--muted); }
.stamps { display: flex; justify-content: space-between; margin-top: 22px; }
.stamp {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid var(--ink); color: var(--ink); font: 600 14px/1 var(--font);
}
.stamp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stamp.filled { background: var(--blue); color: var(--ink); animation: pop .35s ease both; }
.stamp.reward { background: var(--blue); }
.stamp.reward.filled { background: var(--blue); }
.stamp.reward { background: #fff; border-style: dashed; }
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.08); } 100% { transform: none; } }

/* ───────── Menu ───────── */
.menu-item {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: baseline;
  width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter));
  padding: 14px var(--gutter); background: none; border: 0; text-align: left; cursor: pointer; transition: background .15s;
}
.menu-item .name { font: 600 14px/1.15 var(--font); font-stretch: 112%; }
.menu-item .price { font: 600 14px/1.15 var(--font); font-stretch: 112%; white-space: nowrap; }
.menu-item .desc { grid-column: 1 / -1; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.menu-item .name::before {
  content: ''; display: inline-block; width: 0; height: 11px; border-radius: 50%; background: var(--brown-deep);
  vertical-align: 1px; transition: width .15s, margin .15s;
}
.menu-item.selected { background: var(--blue); }
.menu-item.selected .desc { color: var(--ink); }
.menu-item.selected .name::before { width: 11px; margin-right: 10px; }
.menu-item.compact { padding-top: 11px; padding-bottom: 11px; }
.menu-item.compact .name { font-weight: 600; font-stretch: 105%; font-size: 14px; }
.menu-item.compact .price { font-size: 14px; }

/* ───────── Booking: big tap boxes ───────── */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tiles.one { grid-template-columns: 1fr; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  min-height: 92px; padding: 14px; text-align: left; cursor: pointer;
  background: var(--cream); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 14px;
  transition: background .15s, color .15s, transform .1s;
}
.tile:active { transform: scale(.97); }
.tile b { font: 600 14px/1.1 var(--font); font-stretch: 115%; text-transform: uppercase; }
.tile > span { font-size: 12px; color: var(--muted); }
.tile.cat { background: var(--sand); border-color: var(--sand); }
.tile.cat.open { background: var(--taupe); border-color: var(--taupe); color: #fff; }
.tile.cat.open > span { color: #F6ECE2; }
.tile .count {
  position: absolute; top: 10px; right: 10px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px;
  display: grid; place-items: center; background: var(--brown-deep); color: var(--cream); font: 600 12px/1 var(--font); font-style: normal;
}
.tile.svc .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: inherit; }
.tile.svc .price { font: 600 14px/1.1 var(--font); font-stretch: 112%; color: inherit; white-space: nowrap; }
.tiles:not(.one) .tile.svc .top { flex-direction: column; gap: 6px; }
.tiles:not(.one) .tile.svc b { font-size: 14px; }
.tile.svc .desc { font-size: 14px; line-height: 1.4; color: var(--muted); }
.tile.svc .meta { font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile.svc.selected { background: var(--blue); border-color: var(--ink); color: var(--ink); }
.tile.svc.selected .desc, .tile.svc.selected .meta { color: var(--ink); }

/* Guest counter */
.stepper {
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 8px;
  margin-top: 14px; padding: 12px; border: 2.5px solid var(--ink); border-radius: 14px;
}
.stepper button {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); color: var(--ink); font: 600 14px/1 var(--font);
}
.stepper button:disabled { opacity: .25; cursor: not-allowed; }
.stepper div { text-align: center; }
.stepper div b { display: block; font: 600 14px/1 var(--font); font-stretch: 125%; }
.stepper div .label { color: var(--ink); }

/* Day, time & technician boxes */
.days { display: flex; gap: 8px; overflow-x: auto; margin: 14px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 0;
  background: var(--cream); border: 2.5px solid var(--ink); border-radius: 14px; cursor: pointer;
}
.day small { font: 600 10px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day b { font: 600 24px/1 var(--font); font-stretch: 115%; }
.day.selected { background: var(--blue); color: var(--ink); }
.day.selected small { color: var(--ink); }
.day:disabled { opacity: .3; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.slot {
  min-height: 52px; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 12px; cursor: pointer;
  font: 600 14px/1 var(--font); transition: background .15s;
}
.slot.selected { background: var(--blue); color: var(--ink); }
.slot:disabled { border-color: var(--line); color: #B9AA9C; font-weight: 600; text-decoration: line-through; cursor: not-allowed; }
.techs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tech {
  min-height: 48px; padding: 0 20px; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 12px; cursor: pointer;
  font: 600 14px/1 var(--font); font-stretch: 112%; text-transform: uppercase;
}
.tech.selected { background: var(--blue); color: var(--ink); }

/* Member portal: big boxed fields */
.box-field { display: block; margin-top: 16px; }
.box-field .label { display: block; margin: 0 0 6px 2px; color: var(--ink); }
.box-input {
  width: 100%; height: 62px; padding: 0 18px; border: 2.5px solid var(--ink); border-radius: 14px;
  background: #fff; outline: none; font: 600 14px/1 var(--font);
}
.box-input::placeholder { color: #A8998B; font-weight: 400; }
.box-input:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 4px var(--blue); }
.form-error { min-height: 20px; margin-top: 10px; color: var(--danger); font-weight: 600; font-size: 14px; }
.perks div { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.perks div:first-child { border-top: 3px solid var(--ink); }
.perks b { font: 600 14px/1 var(--font); font-stretch: 125%; color: var(--blue-deep); }
.perks span { font-weight: 600; }
.steps { display: flex; gap: 6px; margin-top: 18px; }
.steps i { flex: 1; height: 3px; background: var(--line); }
.steps i.on { background: var(--ink); }

.line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.line:first-child { border-top: 3px solid var(--ink); }
.line .muted { font-weight: 400; font-size: 14px; }
.line.total { border-bottom: 3px solid var(--ink); font: 600 14px/1.2 var(--font); font-stretch: 120%; text-transform: uppercase; }

/* ───────── QR & wallet ───────── */
.qr { display: grid; place-items: center; margin-top: 26px; }
.qr img, .qr canvas { width: 240px !important; height: 240px !important; image-rendering: pixelated; }
.member-id { margin-top: 14px; font: 600 14px/1 var(--font); font-stretch: 125%; letter-spacing: .2em; text-align: center; }
.wallet { display: grid; gap: 10px; margin-top: 24px; }
.wallet button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; border: 0; border-radius: 10px; background: #000; color: #fff; cursor: pointer;
  font: 600 14px/1 -apple-system, 'Segoe UI', system-ui, sans-serif;
}
.wallet svg { width: 22px; height: 22px; }

/* ───────── Gia member card (credit-card style) ───────── */
.gcard, .vcard {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 1.586; padding: 5.2% 5.6%;
  border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; text-align: left;
  container-type: inline-size;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.55), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(176,138,104,.22), transparent 60%),
    linear-gradient(135deg, #D4E7F5 0%, #A9CDE6 52%, #8DB9DA 100%);
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(51,36,27,.08), 0 16px 30px -12px rgba(63,111,146,.6), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
/* card units: cqw needs a sized ancestor, so size the inner pieces off the card itself */
.gcard > *, .vcard > * { position: relative; z-index: 1; }
.gcard:active, .vcard:active { transform: scale(.985); }
.gc-sheen { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, transparent 60%);
  background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { background-position: 120% 0; } 100% { background-position: -40% 0; } }
.gc-top { display: flex; justify-content: space-between; align-items: center; }
.gc-logo, .vc-logo { height: 9cqw; width: auto; }
.vc-logo { filter: brightness(0) invert(1); }
.gc-tier { display: inline-flex; align-items: center; gap: 1.6cqw; font: 800 2.9cqw/1 var(--font); font-stretch: 120%; letter-spacing: .22em; text-transform: uppercase; opacity: .92; }
.gc-tier i { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--taupe); }
.gc-mid { display: flex; align-items: center; gap: 3cqw; margin-top: -1cqw; }
.gc-chip {
  width: 11.5cqw; height: 8.6cqw; border-radius: 1.8cqw;
  background:
    linear-gradient(90deg, transparent 32%, rgba(90,66,50,.35) 32% 34%, transparent 34% 66%, rgba(90,66,50,.35) 66% 68%, transparent 68%),
    linear-gradient(0deg, transparent 45%, rgba(90,66,50,.35) 45% 55%, transparent 55%),
    linear-gradient(135deg, #D9BC9C, #B08A68);
  box-shadow: inset 0 0 0 1px rgba(90,66,50,.3);
}
.gc-wave { width: 6cqw; height: 6cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .75; }
.gc-stamps { display: flex; align-items: center; gap: 2cqw; }
.gc-stamps i {
  width: 6.4cqw; height: 6.4cqw; border-radius: 50%; display: grid; place-items: center;
  border: .5cqw solid rgba(51,36,27,.4); background: rgba(255,255,255,.35);
}
.gc-stamps i.on { background: var(--taupe); border-color: var(--taupe); box-shadow: 0 0 0 .5cqw rgba(255,255,255,.45); }
.gc-stamps i.gift { border-style: dashed; border-color: var(--brown); color: var(--brown); background: #fff; }
.gc-stamps i.gift.on { background: var(--taupe); color: #fff; border-style: solid; }
.gc-stamps i svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gc-stamps b { margin-left: 1.4cqw; font: 900 3.4cqw/1 var(--font); font-stretch: 120%; opacity: .9; }
.gc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 4cqw; }
.gc-who { display: flex; flex-direction: column; gap: 1.2cqw; min-width: 0; }
.gc-label { font: 700 2.5cqw/1 var(--font); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.gc-name { font: 900 5cqw/1.05 var(--font); font-stretch: 118%; text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.gc-id { font: 600 2.9cqw/1 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .14em; opacity: .8; }
.gc-qr { flex: 0 0 auto; width: 23cqw; height: 23cqw; padding: 1.6cqw; border-radius: 2.6cqw; background: #fff; display: grid; place-items: center; }
.gc-qr img, .gc-qr canvas { width: 100% !important; height: 100% !important; image-rendering: pixelated; }

/* Voucher cards: baby-blue version of the same card */
.vstack { display: grid; gap: 14px; margin-top: 14px; }
.vcard {
  color: #fff;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.28), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(169,205,230,.35), transparent 60%),
    linear-gradient(135deg, #C9A586 0%, #B08A68 50%, #8B6A50 100%);
  box-shadow: 0 1px 1px rgba(51,36,27,.08), 0 16px 28px -12px rgba(90,66,50,.6), inset 0 1px 0 rgba(255,255,255,.3);
}
.vcard .gc-tier i { background: var(--blue); }
.vc-amount { font: 900 15cqw/.9 var(--font); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.02em; }
.vc-tap { font: 900 3.2cqw/1 var(--font); font-stretch: 118%; text-transform: uppercase; white-space: nowrap; }

.progress-line { height: 6px; margin-top: 12px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-line i { display: block; height: 100%; background: var(--taupe); border-radius: 3px; }
a.linkline { text-decoration: none; }

/* ───────── Voucher ───────── */
.voucher {
  display: block; width: calc(100% + 2 * var(--gutter)); margin: 18px calc(-1 * var(--gutter)) 0;
  padding: 26px var(--gutter); background: var(--blue); border: 0; text-align: left; cursor: pointer;
}
.voucher .big { display: block; font-size: 14px; line-height: .88; margin: 10px 0 8px; }
.voucher .label { color: var(--ink); }
.voucher-used { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; }

/* ═════════ HOME: cinematic scroll ═════════
   Each .scene is taller than the screen; its .stage sticks while JS
   writes scroll progress (0 → 1) into --p. */
.scene { position: relative; margin: 0 calc(-1 * var(--gutter)); --p: 0; }
.stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top) + 22px) var(--gutter) calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 22px);
}
.huge { font-size: clamp(40px, 12vw, 64px); line-height: .88; }
.kicker { font: 600 12px/1.2 var(--font); font-stretch: 120%; letter-spacing: .16em; text-transform: uppercase; }

/* 1 — Logo */
.s-hero { height: 220svh; background: var(--cream); }
.s-hero .stage { justify-content: center; }
.s-hero .top { position: absolute; top: calc(env(safe-area-inset-top) + 22px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; }
.s-hero .hero-logo {
  width: 100%; height: auto; position: relative; z-index: 2;
  transform: translateY(calc(var(--p) * -14svh)) scale(calc(1 + var(--p) * .55));
}
.s-hero .tagline { margin-top: 26px; position: relative; z-index: 2; opacity: calc(1 - var(--p) * 3); }
.s-hero .scroll-hint { position: absolute; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 24px); left: 0; right: 0; text-align: center; opacity: calc(1 - var(--p) * 5); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 6px; } }
.s-hero .flood {
  position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: var(--blue); z-index: 1;
  transform: scale(calc(clamp(0, (var(--p) - .35) / .6, 1) * 70));
}

/* 2 — The pour */
.s-pour { height: 320svh; background: var(--blue); }
.s-pour .art { flex: 1; min-height: 0; display: grid; place-items: center; }
.s-pour svg { width: 100%; height: 100%; max-height: 64svh; overflow: visible; }
.s-pour .copy { transform: translateX(calc((1 - clamp(0, var(--p) * 2.2, 1)) * -110%)); }
.s-pour .copy .kicker { margin-top: 10px; }
#cap { transform-box: fill-box; transform-origin: center;
  transform: translate(calc(clamp(0, var(--p) * 6, 1) * 120px), calc(clamp(0, var(--p) * 6, 1) * -160px)) rotate(calc(clamp(0, var(--p) * 6, 1) * 200deg));
  opacity: calc(1 - clamp(0, (var(--p) - .1) * 10, 1)); }
#bottle { transform-origin: 250px 170px; transform: rotate(calc(clamp(0, (var(--p) - .08) / .22, 1) * 150deg)); }
#stream { transform-box: fill-box; transform-origin: top;
  transform: scaleY(calc(clamp(0, (var(--p) - .28) / .1, 1) - clamp(0, (var(--p) - .82) / .08, 1))); }
#fill { transform-box: fill-box; transform-origin: bottom;
  transform: scaleY(calc(clamp(0, (var(--p) - .34) / .45, 1))); }
#shine { opacity: clamp(0, (var(--p) - .8) * 6, 1); }

/* 3+4 — Stamps flow straight into the menu, one continuous scene.
   --x: 0 → 1 cross-fades stamps (taupe) into the menu (cream). */
.s-loyal { height: 520svh; }
.s-loyal .stage {
  --x: clamp(0, (var(--p) - .44) / .14, 1);
  --m: clamp(0, (var(--p) - .46) / .54, 1);
  padding: 0;
  background: color-mix(in srgb, var(--cream) calc(var(--x) * 100%), var(--taupe));
}
.s-loyal .layer {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 22px) var(--gutter) calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 22px);
}
.s-loyal .stage[data-phase="a"] .menu-layer, .s-loyal .stage[data-phase="b"] .stamp-layer { pointer-events: none; }

/* Drifting dots for depth */
.s-loyal .dot { position: absolute; border-radius: 50%; z-index: 0;
  transform: translateY(calc(var(--p) * var(--speed) * -1px)) rotate(calc(var(--p) * 360deg)); }

/* Stamp layer */
.stamp-layer { justify-content: space-between; z-index: 2; opacity: calc(1 - var(--x)); transform: translateY(calc(var(--x) * -12svh)); }
.stamp-layer .count { font-size: clamp(120px, 44vw, 210px); line-height: .8; display: inline-block; transform-origin: left bottom; }
.stamp-layer .count small { font-size: .35em; color: var(--cream); }
.stamp-layer .count.bump { animation: bump .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.12) rotate(-3deg); } }
.punch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 340px; width: 100%; align-self: center; }
.st { display: block; aspect-ratio: 1; font-style: normal;
  /* scatter away as the menu takes over */
  transform: translate(calc(var(--x) * var(--ex)), calc(var(--x) * var(--ey))) rotate(calc(var(--x) * var(--er))); }
.st span {
  /* each stamp slams down in turn: big, spinning, from off-target */
  --t: clamp(0, (var(--p) - .03 - var(--i) * .05) / .06, 1);
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  border: 4px solid var(--ink); background: var(--taupe);
  font: 600 24px/1 var(--font); font-stretch: 125%;
  opacity: var(--t);
  transform: translate(calc((1 - var(--t)) * var(--dx)), calc((1 - var(--t)) * var(--dy)))
             rotate(calc((1 - var(--t)) * var(--r) + var(--tilt)))
             scale(calc(1 + (1 - var(--t)) * 1.8));
  box-shadow: 0 calc((1 - var(--t)) * 30px) calc((1 - var(--t)) * 40px) rgba(28, 23, 20, .25);
}
.st.on span { background: var(--blue); color: var(--ink); }
.st.on span::after { /* ink ring that splashes out on landing */
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid #fff;
  opacity: calc(clamp(0, (var(--t) - .9) * 10, 1) * (1 - clamp(0, (var(--p) - .06 - var(--i) * .05) / .05, 1)));
  transform: scale(calc(1 + clamp(0, (var(--p) - .06 - var(--i) * .05) / .05, 1) * .6));
}
.st span { position: relative; }
.st.gift span { background: #fff; animation: wiggle 1.4s ease-in-out infinite; }
.st.gift.on span { background: var(--blue); }
.st svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes wiggle { 0%, 60%, 100% { rotate: 0deg; } 70% { rotate: -10deg; } 80% { rotate: 9deg; } 90% { rotate: -5deg; } }
.stamp-layer .headline {
  --h: clamp(0, (var(--p) - .3) / .08, 1);
  opacity: var(--h); transform: translateY(calc((1 - var(--h)) * 70px));
}
.reward-ready { display: block; margin: 0 calc(-1 * var(--gutter)); padding: 14px var(--gutter); background: var(--blue); text-decoration: none; }

/* Menu layer */
.menu-layer { justify-content: center; z-index: 1; opacity: clamp(0, (var(--p) - .47) / .08, 1); }
.menu-kicker { margin-bottom: 14px; opacity: clamp(0, var(--m) * 8, 1); }
.menu-list { border-top: 3px solid var(--ink); }
.mrow {
  /* each row rises in turn as you scroll */
  --e: clamp(0, (var(--m) - var(--j) * .065) / .1, 1);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 15px var(--gutter);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); cursor: pointer; text-align: left;
  opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 46px));
  transition: background .25s ease;
}
.mrow b { font: 900 clamp(24px, 7.6vw, 38px)/1 var(--font); white-space: nowrap; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.015em;
  transition: transform .25s ease; }
.mrow span { font: 600 14px/1 var(--font); font-stretch: 112%; text-transform: uppercase; white-space: nowrap; color: var(--muted); transition: color .25s; }
.mrow.active { background: var(--blue); }
.mrow.active b { transform: translateX(8px); }
.mrow.active span { color: var(--ink); }
.mrow.active span::after { content: ' →'; }
.menu-layer .from { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 24px); display: flex; justify-content: space-between; align-items: end; }

/* 5 — Spin your next visit (fun booking) */
.s-spin { height: 300svh; }
.s-spin .stage { background: var(--blue); justify-content: space-between; gap: 18px;
  --t1: clamp(0, (var(--p) - .06) / .2, 1);
  --t2: clamp(0, (var(--p) - .12) / .24, 1);
  --t3: clamp(0, (var(--p) - .18) / .28, 1);
  --land: clamp(0, (var(--t3) - .97) * 33, 1);
}
.s-spin .intro { transform: rotate(calc(-4deg + var(--p) * 4deg)); transform-origin: left; }
.machine { border: 4px solid var(--ink); border-radius: 22px; background: var(--cream); padding: 14px; position: relative;
  box-shadow: 8px 8px 0 var(--ink); }
.reels { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; }
.reel { --h: 68px; height: var(--h); overflow: hidden; border: 3px solid var(--ink); border-radius: 12px; background: #fff; position: relative; }
.reel::before, .reel::after { content: ''; position: absolute; left: 0; right: 0; height: 16px; z-index: 1; pointer-events: none; }
.reel::before { top: 0; background: linear-gradient(#fff, transparent); }
.reel::after { bottom: 0; background: linear-gradient(transparent, #fff); }
.strip { transform: translateY(calc(var(--k) * (2 - var(--k)) * var(--n) * var(--h) * -1)); }
.strip b { display: grid; place-items: center; height: var(--h); padding: 0 4px; text-align: center;
  font: 600 14px/1.05 var(--font); font-stretch: 112%; text-transform: uppercase; }
.reel:nth-child(1) .strip { --k: var(--t1); }
.reel:nth-child(2) .strip { --k: var(--t2); }
.reel:nth-child(3) .strip { --k: var(--t3); }
.reel-labels { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; margin-top: 8px; text-align: center; }
.machine .lever { position: absolute; right: -26px; top: 6px; width: 14px; height: 70px; border-radius: 7px; background: var(--ink);
  transform-origin: bottom; transform: rotate(calc(var(--t1) * 40deg - (var(--t1) * var(--t1)) * 40deg)); }
.machine .lever::before { content: ''; position: absolute; left: 50%; top: -14px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--brown-deep); }
.date-stamp {
  position: absolute; right: 8px; top: -34px; padding: 8px 14px; border: 4px solid var(--brown-deep); border-radius: 10px;
  color: var(--brown-deep); background: var(--cream); font: 600 18px/1 var(--font); font-stretch: 125%; text-transform: uppercase;
  opacity: var(--land); transform: rotate(-9deg) scale(calc(2.2 - var(--land) * 1.2));
}
.s-spin .actions { display: grid; gap: 10px; opacity: calc(.35 + var(--land) * .65); }
.s-spin .actions .btn { box-shadow: 5px 5px 0 var(--ink); }
.s-spin .spin-again { justify-self: center; }

/* 5 — Book */
.s-book { min-height: 100svh; margin: 0 calc(-1 * var(--gutter)); background: var(--brown); color: var(--cream); padding: 60px var(--gutter) 40px; }
.s-book .huge { color: var(--cream); }
.s-book .muted { color: #E2D3C4; }
.s-book a { color: var(--cream); }
.s-book .rule { border-color: var(--cream); }
.s-book .staff-link { color: #E2D3C4; }

/* ───────── Tab bar ───────── */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; margin: 0 auto; max-width: 520px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--cream); border-top: 3px solid var(--ink);
}
.tabbar a {
  position: relative; display: grid; place-items: center; text-decoration: none;
  font: 600 10px/1 var(--font); font-stretch: 108%; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.tabbar a.active { color: var(--ink); font-weight: 600; }
.tabbar a.active::after { content: ''; position: absolute; bottom: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-deep); }

/* Floating booking total */
.cartbar {
  position: fixed; left: 0; right: 0; margin: 0 auto; max-width: 520px; z-index: 7;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 14px var(--gutter); border: 0; border-radius: 0; cursor: pointer; text-align: left;
  background: var(--blue); color: var(--ink); border-top: 3px solid var(--ink); animation: fade .2s ease both;
}
.cartbar[hidden] { display: none; }
.cartbar b { display: block; font: 600 14px/1.2 var(--font); font-stretch: 118%; text-transform: uppercase; }
.cartbar small { font-size: 12px; opacity: .8; }
.cartbar .go { font: 600 14px/1 var(--font); font-stretch: 125%; text-transform: uppercase; white-space: nowrap; }
.cartbar:disabled { cursor: not-allowed; }
.cartbar:disabled .go { opacity: .4; }

/* ───────── Sheet & toast ───────── */
.sheet { position: fixed; inset: 0; z-index: 20; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(28, 23, 20, .45); animation: fade .2s ease both; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 520px; max-height: 92dvh; overflow: auto;
  background: var(--cream); border-top: 3px solid var(--ink);
  padding: 28px var(--gutter) calc(env(safe-area-inset-bottom) + 24px);
  animation: up .3s cubic-bezier(.2,.8,.2,1) both;
}
.sheet-panel #sheet-body > * + * { margin-top: 16px; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 18px);
  transform: translate(-50%, 20px); max-width: calc(100% - 40px);
  background: var(--ink); color: var(--cream); padding: 13px 20px;
  font: 600 14px/1.3 var(--font); font-stretch: 112%; text-transform: uppercase; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 30;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Staff */
.scanner { position: relative; overflow: hidden; background: var(--brown-deep); aspect-ratio: 1; margin-top: 20px; }
.scanner video { width: 100%; height: 100%; object-fit: cover; }
.scanner .frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); }
.inline-form { display: flex; gap: 12px; align-items: flex-end; }
.inline-form .input { flex: 1; }
.inline-form .btn { width: auto; min-height: 52px; }
.pin { letter-spacing: .5em; text-align: center; }
.staff-link { display: block; margin-top: 40px; text-align: center; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   THEME — minimal · liminal brand-book look
   All caps, thin wide type, hairlines, square corners, lots of air,
   faint window-light on the page. The GIA NAILS logo stays the one
   heavy thing on every page. Layout above is unchanged.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --blue: #BFD8EA;
  --blue-press: #A9CBE3;
  --sand: #F1F6FA;
  --line: rgba(51, 36, 27, .12);
  --hair: rgba(51, 36, 27, .38);
  --muted: #8C7B6D;
}
body {
  font: 400 12px/1.7 var(--font); font-stretch: 105%;
  letter-spacing: .07em; text-transform: uppercase; background: #fff;
}
button, input, select, textarea { text-transform: inherit; letter-spacing: inherit; }
body::before { /* faint window light, like sun through a doorway */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(55% 38% at 88% 6%, rgba(191, 216, 234, .38), transparent 70%),
    radial-gradient(45% 30% at 6% 96%, rgba(176, 138, 104, .07), transparent 70%);
}
.app { position: relative; z-index: 1; }

/* Type: thin, wide, quiet */
.bold, .display, .section-title, .navrow b, .stamp-count b, .voucher .big, .scene h2, .huge {
  font-weight: 400; letter-spacing: .03em;
}
.display { font-size: 14px; line-height: 1.08; }
.display em { color: var(--taupe); }
.huge { font-size: clamp(30px, 9.6vw, 50px); line-height: 1.04; }
.lead { font-size: 12px; font-weight: 400; line-height: 1.75; letter-spacing: .08em; }
.small { font-size: 12px; letter-spacing: .09em; }
.label, .kicker { font-weight: 400; font-size: 10px; letter-spacing: .3em; }
.section { margin-top: 60px; }
.view { counter-reset: sec; }
.section-title { font-size: 12px; font-weight: 400; letter-spacing: .3em; margin-bottom: 14px; }
.section-title::before { counter-increment: sec; content: counter(sec, decimal-leading-zero) "\2003"; color: var(--muted); }
.section-note { font-size: 12px; letter-spacing: .09em; }
.rule { border-top: 1px solid var(--hair); }
.folio { margin-top: 72px; text-align: center; font-size: 10px; letter-spacing: .34em; color: var(--muted); }

/* Brand-book header */
.mast-meta { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 10px; letter-spacing: .3em; color: var(--muted); }
.mast-sub { margin-top: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); font-weight: 400; font-size: 10px; letter-spacing: .3em; }

/* Buttons & links */
.btn { min-height: 56px; border-radius: 0; font-weight: 400; font-size: 12px; font-stretch: 110%; letter-spacing: .3em; }
.btn::after { font-weight: 400; font-size: 14px; }
.btn.ghost { border: 1px solid var(--hair); }
.textlink { font-weight: 400; font-size: 10px; letter-spacing: .26em; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Forms */
.input { border-bottom: 1px solid var(--hair); font-weight: 400; font-size: 14px; }
.box-input { height: 56px; border: 1px solid var(--hair); border-radius: 0; font-weight: 400; font-size: 14px; letter-spacing: .12em; }
.box-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-error { font-weight: 400; font-size: 12px; }

/* Booking boxes */
.tile { border: 1px solid var(--hair); border-radius: 0; min-height: 100px; padding: 16px; gap: 12px; }
.tile b { font-weight: 400; font-size: 12px; letter-spacing: .2em; font-stretch: 110%; }
.tile > span { font-size: 10px; letter-spacing: .16em; }
.tile.cat { background: var(--sand); border-color: transparent; }
.tile.cat.open { background: var(--taupe); border-color: var(--taupe); color: #fff; }
.tile .count { border-radius: 0; min-width: 22px; height: 22px; font-weight: 400; font-size: 10px; background: var(--ink); color: #fff; }
.tile.svc .price { font-weight: 400; font-size: 12px; letter-spacing: .12em; }
.tile.svc .desc { font-size: 12px; line-height: 1.65; letter-spacing: .07em; }
.tile.svc .meta { font-weight: 400; font-size: 10px; letter-spacing: .26em; }
.tile.svc.selected { background: var(--blue); border-color: var(--blue); }
.tiles:not(.one) .tile.svc b { font-size: 12px; }
.stepper { border: 1px solid var(--hair); border-radius: 0; }
.stepper button { width: 48px; height: 48px; border-radius: 0; font-weight: 400; font-size: 14px; }
.stepper div b { font-weight: 400; font-size: 14px; }
.day { border: 1px solid var(--hair); border-radius: 0; }
.day b { font-weight: 400; font-size: 24px; }
.day small { font-weight: 400; font-size: 10px; letter-spacing: .2em; }
.day.selected { background: var(--blue); border-color: var(--blue); }
.slot { border: 1px solid var(--hair); border-radius: 0; font-weight: 400; font-size: 12px; letter-spacing: .12em; }
.slot.selected { background: var(--blue); border-color: var(--blue); }
.slot:disabled { border-color: var(--line); }
.tech { border: 1px solid var(--hair); border-radius: 0; font-weight: 400; font-size: 12px; letter-spacing: .22em; }
.tech.selected { background: var(--blue); border-color: var(--blue); }
.steps i { height: 1px; }

/* Lists & lines */
.line { padding: 15px 0; font-weight: 400; border-bottom: 1px solid var(--line); }
.line:first-child { border-top: 1px solid var(--hair); }
.line .muted { font-size: 12px; }
.line.total { border-bottom: 1px solid var(--hair); font-weight: 400; font-size: 14px; letter-spacing: .22em; }
.perks div:first-child { border-top: 1px solid var(--hair); }
.perks b { font-weight: 400; font-size: 12px; color: var(--taupe); }
.perks span { font-weight: 400; }
.stamp { border-width: 1px; font-weight: 400; }
.member-id { font-weight: 400; font-size: 12px; letter-spacing: .34em; }

/* Cards: same shape, quieter type */
.gcard, .vcard { border-radius: 14px; }
.gc-tier { font-weight: 400; letter-spacing: .32em; }
.gc-label { font-weight: 400; }
.gc-name { font-weight: 400; font-size: 4.4cqw; letter-spacing: .18em; text-shadow: none; }
.gc-stamps b { font-weight: 400; }
.vc-amount { font-weight: 400; letter-spacing: .02em; }

/* Member card: solid pastel baby blue, black text, six rounded-square stamps across */
.gcard {
  background: var(--blue); color: #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 32px -20px rgba(63, 111, 146, .6);
  gap: 3cqw;
}
.gcard .gc-logo { filter: none; }
.gcard .gc-tier { opacity: 1; }
.gcard .gc-stamps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.6cqw; width: 100%; }
.gcard .gc-stamps i {
  width: auto; height: auto; aspect-ratio: 1; border-radius: 22%;
  display: grid; place-items: center; font: 400 4.2cqw/1 var(--font); font-style: normal;
  border: .45cqw solid #000; background: transparent; color: #000; box-shadow: none;
}
.gcard .gc-stamps i.on { background: #000; border-color: #000; color: var(--blue); }
.gcard .gc-stamps i.gift { border-style: dashed; background: rgba(255, 255, 255, .45); color: #000; }
.gcard .gc-stamps i.gift.on { border-style: solid; background: #000; color: var(--blue); }
.gcard .gc-stamps svg { width: 46%; height: 46%; stroke-width: 1.6; }
.gcard .gc-label, .gcard .gc-id { opacity: .65; }
.gcard .gc-name { color: #000; }
.gc-count { font: 200 10cqw/1 var(--font); font-stretch: 125%; color: #000; }
.gc-count small { font-size: .4em; font-weight: 400; margin-left: .3cqw; }

/* ── All text black ── */
:root {
  --ink: #000;
  --muted: #000;
  --danger: #000;
  --tile: #D8E9F6;      /* pastel baby blue tap box */
  --tile-on: #C9A586;   /* light brown when picked */
}
.s-book, .s-book .huge, .s-book a, .s-book .muted, .s-book .staff-link { color: #000; }
.s-book .rule { border-color: rgba(0, 0, 0, .4); }
.vcard { color: #000; }
.vc-logo { filter: none; }
.gcard .gc-label, .gcard .gc-id { opacity: 1; }
.stamp-layer .count small { color: #000; }
.date-stamp { color: #000; border-color: #000; }
.btn.brown { color: #000; }
.toast { background: var(--blue); color: #000; }
.input::placeholder, .box-input::placeholder { color: rgba(0, 0, 0, .38); }
.slot:disabled { color: rgba(0, 0, 0, .3); }

/* ── Tap boxes: pastel baby blue, light brown when picked ── */
.tile { background: var(--tile); border: 1px solid transparent; color: #000; text-decoration: none; transition: background .15s, transform .1s; }
.tile > span { color: #000; }
.tile.cat { background: var(--blue); }
.tile.cat.open, .tile.svc.selected, .tile.amt.selected { background: var(--tile-on); border-color: var(--tile-on); color: #000; }
.tile.cat.open > span { color: #000; }
.tile.svc.selected .desc, .tile.svc.selected .meta { color: #000; }
.tile.svc .desc, .tile.svc .meta { color: #000; }
.tile .count { background: #000; color: var(--blue); }
.stepper { background: var(--tile); border-color: transparent; }
.stepper button { background: #fff; color: #000; }
.day, .slot, .tech { background: var(--tile); border-color: transparent; color: #000; }
.day small { color: #000; }
.day.selected, .slot.selected, .tech.selected { background: var(--tile-on); border-color: var(--tile-on); color: #000; }
.day.selected small { color: #000; }
.slot:disabled { background: transparent; border: 1px dashed rgba(0, 0, 0, .18); }
.box-input { background: #fff; }

/* Quick-action boxes */
.tile.act { min-height: 92px; justify-content: space-between; cursor: pointer; }
.tile.act > span { font-size: 10px; letter-spacing: .26em; }
.tile.act b { font-weight: 400; font-size: 14px; letter-spacing: .08em; }
.tile.act:nth-child(4n+2), .tile.act:nth-child(4n+3) { background: var(--blue); }
.tile.act.quiet { background: transparent; border: 1px solid rgba(0, 0, 0, .3); }

/* Points */
.pts-hero { margin-top: 22px; padding: 26px 22px 22px; background: var(--blue); display: grid; gap: 10px; }
.pts-hero .label { color: #000; }
.pts-num { font: 200 clamp(56px, 19vw, 88px)/.9 var(--font); font-stretch: 125%; letter-spacing: -.01em; color: #000; }
.pts-num small { font-size: 14px; font-weight: 400; letter-spacing: .26em; margin-left: 10px; }
.pts-bar { height: 4px; background: rgba(255, 255, 255, .7); }
.pts-bar i { display: block; height: 100%; background: #000; }
.tile.reward { min-height: 140px; }
.tile.reward b { font-weight: 400; font-size: 12px; }
.tile.reward .cost { font: 400 14px/1 var(--font); font-stretch: 120%; letter-spacing: .04em; opacity: 1; margin-top: auto; }
.tile.reward .meta { font-size: 10px; letter-spacing: .24em; }
.tile.reward.ready { background: var(--blue); }
.tile.reward.ready .meta { opacity: 1; font-weight: 600; }
.tile.reward.locked { background: transparent; border: 1px dashed rgba(0, 0, 0, .28); }
.tile.earn { min-height: 92px; }
.tile.earn b { font-weight: 400; font-size: 14px; letter-spacing: .06em; }
.tile.earn:nth-child(odd) { background: var(--tile); }
.tile.earn:nth-child(even) { background: var(--tile-on); }

/* Voucher card: white top, solid light-brown band at the bottom, black text */
.vcard {
  background: #fff; color: #000;
  border: 1px solid var(--taupe);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 30px -20px rgba(90, 66, 50, .55);
}
.vcard .gc-sheen { display: none; }
.vcard .gc-tier i { background: var(--taupe); }
.vcard .vc-band {
  /* the band's color spreads out to the card's edges; the card clips it */
  padding-top: 3.6cqw; align-items: center;
  background: var(--taupe);
  box-shadow: 0 0 0 60px var(--taupe);
  clip-path: inset(0 -80px -80px -80px);
}

/* Home: the menu as its own slide */
.s-menu { height: 220svh; }
.s-menu .stage {
  --m: clamp(0, .12 + var(--p) / .45, 1);
  justify-content: center; background: #fff;
}
.s-menu .menu-cta { margin-top: 26px; opacity: clamp(0, (var(--m) - .45) * 4, 1); }

/* Apple Wallet pass preview (mirrors wallet/apple/pass.json) */
.wp-stage { margin: 0 calc(-1 * var(--gutter)); padding: 22px var(--gutter); background: #000; }
.wpass {
  max-width: 360px; margin: 0 auto; background: #fff; color: #000; border-radius: 12px; overflow: hidden;
  text-transform: uppercase; letter-spacing: 0; font: 400 12px/1.3 -apple-system, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
}
.wp-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 12px; }
.wp-logo { height: 28px; width: auto; }
.wp-program { font-size: 24px; font-weight: 400; }
.wp-strip { display: block; width: 100%; height: auto; }
.wp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 16px 0; }
.wp-fields span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.wp-fields b { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.wp-qr { display: grid; place-items: center; padding: 34px 0 26px; }
.wp-qr img, .wp-qr canvas { width: 150px !important; height: 150px !important; image-rendering: pixelated; }

/* Pressed state: every button and tap box goes a darker blue while held */
:root { --blue-press: #8DB8DA; }
.btn:active, .btn.brown:active, .btn.cream:active, .btn.ghost:active,
.tile:active, .tile.cat.open:active, .tile.svc.selected:active, .tile.reward.locked:active, .tile.act.quiet:active,
.day:active, .slot:active, .tech:active, .stepper button:active,
.cartbar:active, .mrow:active, .textlink:active, .gcard:active, .vcard:active, .wallet button:active {
  background: var(--blue-press); border-color: var(--blue-press); color: #000;
}
.slot:disabled:active, .day:disabled:active, .btn:disabled:active { background: transparent; }
.btn:disabled:active { background: var(--blue); }
.tiles.amounts { grid-template-columns: repeat(3, 1fr); }
.tile.amt { min-height: 62px; align-items: center; justify-content: center; }
.tile.amt b { font-weight: 400; font-size: 14px; }
.vc-amount.long { font-size: 8.5cqw; line-height: 1; }
.vcard .gc-label, .vcard .gc-id, .gc-tier, .gc-stamps b, .cartbar small { opacity: 1; }
.vc-tap { font-weight: 400; font-size: 2.6cqw; letter-spacing: .22em; }

/* Bars, sheets, toasts */
.tabbar { border-top: 1px solid var(--hair); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tabbar a { font-weight: 400; font-size: 10px; font-stretch: 105%; letter-spacing: .16em; }
.tabbar a.active { font-weight: 600; }
.tabbar a.active::after { width: 16px; height: 1px; border-radius: 0; bottom: 14px; background: var(--ink); }
.cartbar { border-top: 1px solid var(--hair); }
.cartbar b { font-weight: 400; font-size: 12px; letter-spacing: .14em; }
.cartbar small { font-size: 10px; letter-spacing: .14em; }
.cartbar .go { font-weight: 400; font-size: 12px; letter-spacing: .26em; }
.sheet-panel { border-top: 1px solid var(--hair); }
.sheet-backdrop { background: rgba(51, 36, 27, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.toast { font-weight: 400; font-size: 12px; letter-spacing: .22em; }

/* Home scenes */
.s-hero .stage {
  background:
    radial-gradient(60% 42% at calc(70% - var(--p) * 40%) 28%, rgba(191, 216, 234, .5), transparent 70%),
    linear-gradient(180deg, #fff 0%, #F5F9FC 100%);
}
.stamp-layer .count, .stamp-layer .count small { font-weight: 400; }
.st span { border-width: 1px; font-weight: 400; font-size: 18px; background: transparent; border-color: var(--ink); }
.st.on span { background: var(--blue); border-color: var(--blue); }
.st.gift span { background: rgba(255, 255, 255, .7); }
.st.gift.on span { background: var(--blue); }
.menu-list { border-top: 1px solid var(--hair); }
.mrow { padding: 18px var(--gutter); border-bottom: 1px solid var(--hair); }
.mrow b { font-weight: 400; font-size: clamp(20px, 6.4vw, 30px); letter-spacing: .06em; }
.mrow span { font-weight: 400; font-size: 10px; letter-spacing: .22em; }
.s-pour svg rect, .s-pour svg path { stroke-width: 2.5px; }
.s-pour svg #shine { stroke-width: 4px; }
.machine { border: 1px solid var(--hair); border-radius: 0; box-shadow: 0 30px 60px -30px rgba(51, 36, 27, .35); }
.reel { border: 1px solid var(--hair); border-radius: 0; }
.strip b { font-weight: 400; font-size: 12px; letter-spacing: .14em; }
.date-stamp { border-width: 1px; border-radius: 0; font-weight: 400; font-size: 12px; letter-spacing: .26em; }
.s-spin .actions .btn { box-shadow: none; }
.machine .lever { width: 2px; }
.machine .lever::before { width: 14px; height: 14px; margin-left: -7px; top: -8px; }
.s-book .rule { border-top-width: 1px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene { height: auto !important; }
  .scene .stage { position: relative; height: auto; min-height: 100svh; }
  .scene { --p: 1 !important; }
  .s-hero .flood { display: none; }
  .s-hero { --p: 0 !important; }
}

/* ═══════════════════════════════════════════════════════════════
   NO GOLD / NO YELLOW (owner, 2026-11-13)
   • Picked boxes use a deeper baby blue + thin black outline.
   • Every remaining brown is a cool mocha with no yellow in it.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --tile-on: #8DB8DA;     /* picked box: deeper baby blue */
  --blue-press: #6FA3CB;  /* while pressed: darker still */
  --taupe: #9C8579;       /* light brown → cool mocha */
  --brown: #8C766B;       /* brown band → cool mocha */
}
.tile.cat.open, .tile.svc.selected, .tile.amt.selected,
.day.selected, .slot.selected, .tech.selected {
  background: var(--tile-on); border-color: #000; color: #000;
}
.tile.cat.open > span, .day.selected small,
.tile.svc.selected .desc, .tile.svc.selected .meta { color: #000; }
.tile.earn:nth-child(even) { background: var(--blue); }
body::before {
  background:
    radial-gradient(55% 38% at 88% 6%, rgba(191, 216, 234, .38), transparent 70%),
    radial-gradient(45% 30% at 6% 96%, rgba(191, 216, 234, .18), transparent 70%);
}
.vcard { box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 30px -20px rgba(60, 50, 46, .45); }
/* Home footer: social links, text only */
.socials { display: grid; gap: 4px; margin-top: 8px; }
.s-book a.social { color: #000; font-size: 12px; line-height: 1.75; letter-spacing: .08em; text-decoration: none; justify-self: start; }
.s-book a.social:active { opacity: .6; }
/* Voucher card: solid dark brown, white logo + white text (owner, 2026-11-13) */
.vcard {
  background: #3B2D28; color: #fff; border: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 18px 30px -18px rgba(40, 28, 24, .6);
}
.vcard .vc-logo { filter: brightness(0) invert(1); }
.vcard .gc-tier, .vcard .vc-amount, .vcard .gc-label, .vcard .gc-id, .vcard .vc-tap { color: #fff; }
.vcard .gc-tier i { background: #fff; }
.vcard .vc-band {
  background: transparent; box-shadow: none; clip-path: none;
  border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 3.6cqw;
}
/* ═══════════════════════════════════════════════════════════════
   HOME: three rounded color panels on a white page (owner, 2026-11-13)
   1 dark brown (logo + pour) · 2 pastel baby blue (menu) · 3 beige (footer)
   Each panel slides up over the bottom of the one before it.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --hp-brown: #3B2D28;
  --hp-blue: #CDE2F1;
  --hp-beige: #ECE6DE;
  --hp-radius: 30px;
  --hp-inset: 8px;      /* white negative space at the sides */
  --hp-overlap: 44px;   /* how far each panel covers the one above */
}
.view.cinema { padding-top: 8px; }
.hp {
  position: relative;
  margin: 0 calc(-1 * var(--gutter) + var(--hp-inset));
  border-radius: var(--hp-radius);
}
.hp + .hp {
  margin-top: calc(-1 * var(--hp-overlap));
  box-shadow: 0 -14px 30px -18px rgba(0, 0, 0, .35);
}
.hp-1 { z-index: 1; background: var(--hp-brown); color: #fff; }
.hp-2 { z-index: 2; background: var(--hp-blue); }
.hp-3 { z-index: 3; background: var(--hp-beige); }
/* scenes now sit inside the panels instead of spanning the page */
.hp .scene, .hp .s-book { margin: 0; }
.hp .scene, .hp .s-hero, .hp .s-pour, .hp .s-menu,
.hp .stage, .hp .s-hero .stage, .hp .s-pour .stage, .hp .s-menu .stage, .hp .s-book { background: transparent; }
.hp .stage { padding-left: calc(var(--gutter) - var(--hp-inset)); padding-right: calc(var(--gutter) - var(--hp-inset)); }
.hp-3 .s-book { padding: 70px calc(var(--gutter) - var(--hp-inset)) 40px; }

/* Panel 1 — dark brown: white logo, white text, no blue flood */
.hp-1 .hero-logo { filter: brightness(0) invert(1); }
.hp-1 .kicker, .hp-1 .huge, .hp-1 .s-hero .top { color: #fff; }
.hp-1 .s-hero .flood { display: none; }
/* polish illustration redrawn for the dark background */
.hp-1 .s-pour svg [stroke="#33241B"] { stroke: #fff; }
.hp-1 .s-pour svg [fill="#FFFFFF"] { fill: #4A3A34; }
.hp-1 .s-pour svg [fill="#5C4637"] { fill: var(--hp-blue); }
.hp-1 .s-pour svg #cap { fill: #fff; }
.hp-1 .s-pour svg text { fill: #fff; }
.hp-1 .s-pour svg #shine { stroke: #fff; }

/* Panel 2 — pastel baby blue menu: white highlight, dark CTA */
.hp-2 .mrow.active { background: #fff; }
.hp-2 .menu-cta { background: var(--hp-brown); color: #fff; }

/* Panel 3 — beige footer: everything black */
.hp-3, .hp-3 .huge, .hp-3 a, .hp-3 .muted, .hp-3 .staff-link { color: #000; }
.hp-3 .rule { border-color: rgba(0, 0, 0, .3); }
/* Home only: GIA (left edge) · NAILS (right edge), fixed at the vertical middle while scrolling.
   Type comes from .kicker, same as WELCOME / DEERFIELD. */
.home-brand {
  position: fixed; z-index: 5; top: 0; bottom: 0; left: 0; right: 0; margin: 0 auto; max-width: 520px;
  pointer-events: none; color: #000; transition: color .25s ease;
}
.home-brand.on-dark { color: #fff; }
.home-brand span { position: absolute; top: 50%; white-space: nowrap; }
.home-brand span:first-child { left: 14px; transform: translate(-50%, -50%) rotate(-90deg); }
.home-brand span:last-child { right: 14px; transform: translate(50%, -50%) rotate(90deg); }/* more side room on Home so the edge labels never touch the content */
.hp .stage { padding-left: calc(var(--gutter) - var(--hp-inset) + 14px); padding-right: calc(var(--gutter) - var(--hp-inset) + 14px); }
.hp-3 .s-book { padding-left: calc(var(--gutter) - var(--hp-inset) + 14px); padding-right: calc(var(--gutter) - var(--hp-inset) + 14px); }
.hp .s-hero .top { left: calc(var(--gutter) + 14px - var(--hp-inset)); right: calc(var(--gutter) + 14px - var(--hp-inset)); }
.home-brand span:first-child { left: 16px; }
.home-brand span:last-child { right: 16px; }/* GIA · NAILS: horizontal, at the vertical middle of each side */
.home-brand span:first-child { left: 16px; transform: translateY(-50%); }
.home-brand span:last-child { right: 16px; transform: translateY(-50%); }/* GIA · NAILS: a little above middle, lined up with WELCOME / DEERFIELD */
.home-brand span { top: 40%; }
.home-brand span:first-child { left: calc(var(--gutter) + 14px); }
.home-brand span:last-child { right: calc(var(--gutter) + 14px); }/* GIA · NAILS: just under WELCOME / DEERFIELD */
.home-brand span { top: calc(env(safe-area-inset-top, 0px) + 64px); transform: none; }
/* Pages other than Home: no big logo; the small brand row links home */
.mast-meta a { color: inherit; text-decoration: none; }

/* Home footer: legal row (Équipe left, Privacy · Terms right) + copyright */
.legal {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, .25);
  font-size: 10px; letter-spacing: .26em;
}
.legal span { display: flex; gap: 18px; }
.hp-3 .legal a { color: #000; text-decoration: none; }
.hp-3 .legal a:active { opacity: .6; }
.copyright { margin-top: 14px; font-size: 10px; letter-spacing: .2em; color: #000; }

/* Privacy & Terms pages */
.legal-copy p { margin-top: 10px; font-size: 12px; line-height: 1.75; letter-spacing: .05em; max-width: 62ch; }
/* Bottom tab bar: solid white, rounded top corners, soft shadow, no divider line */
.tabbar {
  background: #fff; border-top: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .08), 0 -1px 4px rgba(0, 0, 0, .04);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* Home panels: full width, same as the bottom tab bar */
:root { --hp-inset: 0px; }
/* Footer panel: square bottom corners */
.hp-3 { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }/* beige footer runs down behind the tab bar, no white strip */
.view.cinema { padding-bottom: 0; }
.hp-3 .s-book { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 40px); }
/* ALIGNMENT: Home uses the same side edge (--gutter) as every other page */
.hp .stage { padding-left: var(--gutter); padding-right: var(--gutter); }
.hp-3 .s-book { padding-left: var(--gutter); padding-right: var(--gutter); }
.hp .s-hero .top { left: var(--gutter); right: var(--gutter); }
.home-brand span:first-child { left: var(--gutter); }
.home-brand span:last-child { right: var(--gutter); }
/* Brown panel: square top corners, starts at the very top */
.hp-1 { border-top-left-radius: 0; border-top-right-radius: 0; }
.view.cinema { padding-top: 0; }