/* ==========================================================================
   bean.ph rebuild demo
   Mobile-first. Calm neutrals with four pastels taken from the packs.
   Single light look by design: every surface and text colour is set explicitly.
   ========================================================================== */

:root {
  /* neutrals, warm */
  --oat: #F6F1EA;
  --cream: #FBF8F3;
  --white: #FFFFFF;
  --sand: #E8DFD2;
  --sand-deep: #D6C9B6;
  --ink: #2C2A27;
  --ink-soft: #6B655D;
  --ink-faint: #9A9389;

  /* pastels from the packs */
  --teal: #BFE6DF;
  --teal-mid: #6CC5B8;
  --teal-deep: #1E6F66;
  --butter: #F9E9A9;
  --butter-deep: #8A6A0A;
  --blue: #D3E3F3;
  --blue-deep: #2F5D8C;
  --lav: #E0D7F1;
  --lav-deep: #5B4694;
  --blush: #F6E1DA;

  --display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-0: .75rem;
  --fs-1: .875rem;
  --fs-2: 1rem;
  --fs-3: 1.125rem;
  --fs-4: 1.5rem;
  --fs-5: 2.125rem;

  --gutter: 20px;
  --r: 28px;
  --r-s: 16px;
  --line: 1px solid var(--sand);
  --shadow: 0 1px 2px rgba(44, 42, 39, .04), 0 18px 40px -24px rgba(44, 42, 39, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head-h: 58px;
  --tab-h: 64px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--oat); color: var(--ink); font-family: var(--body); font-size: var(--fs-2); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; line-height: 1.04; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 300; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 720px; }
.label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sec { padding-block: 64px; scroll-margin-top: var(--head-h); }
.sec-head { display: grid; gap: 14px; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(2.125rem, 9vw, 3.5rem); }
.sec-head p { color: var(--ink-soft); max-width: 54ch; }
.on-cream { background: var(--cream); }
.on-white { background: var(--white); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); font-weight: 500; font-size: var(--fs-1); text-decoration: none; transition: transform .3s var(--ease), background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: var(--fs-0); }
.btn svg { width: 16px; height: 16px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-1); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- announcement + header ---------- */
.note-bar { background: var(--teal); color: var(--teal-deep); font-size: var(--fs-0); text-align: center; padding: 9px var(--gutter); font-weight: 500; }
.note-bar a { font-weight: 700; }
.note-bar b { font-family: var(--mono); font-weight: 500; }
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(246, 241, 234, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: var(--line); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }
.logo { font-family: var(--body); font-weight: 700; font-size: 1.625rem; letter-spacing: .02em; text-decoration: none; color: var(--ink); line-height: 1; }
.logo i { font-style: normal; color: var(--teal-mid); }
.head-nav { display: none; gap: 26px; margin-left: 18px; font-size: var(--fs-1); }
.head-nav a { text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.head-nav a:hover { border-color: var(--ink); }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; text-decoration: none; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- full-screen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--cream); overflow-y: auto; padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.menu.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.menu-grid { display: grid; gap: 28px; max-width: 1120px; margin-inline: auto; }
.menu h3 { font-family: var(--mono); font-size: .6875rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.menu-big a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: var(--line); text-decoration: none; font-family: var(--display); font-size: 1.75rem; font-weight: 300; line-height: 1.1; }
.menu-big a small { font-family: var(--mono); font-size: .6875rem; color: var(--ink-soft); letter-spacing: .04em; white-space: nowrap; }
.menu-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-tile { display: grid; gap: 4px; align-content: end; min-height: 96px; padding: 14px; border-radius: var(--r-s); text-decoration: none; background: var(--c, var(--teal)); transition: transform .3s var(--ease); }
.menu-tile:hover { transform: translateY(-3px); }
.menu-tile b { font-weight: 500; line-height: 1.2; }
.menu-tile small { font-size: var(--fs-0); color: var(--ink-soft); }
.menu-list a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink-soft); }
.menu-list a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding-block: 34px 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 30px; }
.hero h1 { font-size: clamp(3.25rem, 17vw, 7rem); letter-spacing: -.035em; }
.hero h1 em { color: var(--teal-deep); }
.hero-sub { margin-top: 18px; font-size: var(--fs-3); color: var(--ink-soft); max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 26px; font-size: var(--fs-1); color: var(--ink-soft); }
.stars { display: inline-flex; gap: 2px; color: #E3B23C; }
.stars svg { width: 15px; height: 15px; }
.proof b { color: var(--ink); font-weight: 500; }
.hero-art { position: relative; }
.cloud-mask { position: relative; aspect-ratio: 1 / 1.02; max-width: 100%; border-radius: 46% 54% 48% 52% / 56% 50% 50% 44%; overflow: hidden; background: linear-gradient(180deg, var(--blue) 0%, var(--blush) 100%); }
.cloud-mask img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cloud-mask svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge { position: absolute; display: grid; place-items: center; text-align: center; border-radius: 50%; background: var(--butter); color: var(--ink); width: 104px; height: 104px; right: 2%; bottom: 4%; line-height: 1; box-shadow: var(--shadow); }
.badge b { font-family: var(--display); font-size: 2.25rem; font-weight: 400; display: block; }
.badge small { font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-top: 3px; }
.pack-float { position: absolute; left: -2%; top: 6%; width: 38%; max-width: 190px; filter: drop-shadow(0 18px 24px rgba(44, 42, 39, .18)); }

/* ---------- image slot with drawn fallback ---------- */
.ph { position: relative; margin: 0; overflow: hidden; background: var(--white); border-radius: var(--r-s); aspect-ratio: 1; }
.ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--white); transition: transform .6s var(--ease); }
.ph--cover img { object-fit: cover; }
a:hover > .ph img, .card:hover .ph img { transform: scale(1.04); }

/* ---------- credentials ---------- */
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--sand); border: var(--line); border-radius: var(--r); overflow: hidden; }
.cred { background: var(--cream); padding: 22px 18px; display: grid; gap: 10px; align-content: start; }
.cred svg { width: 30px; height: 30px; color: var(--teal-deep); }
.cred b { font-weight: 500; line-height: 1.25; }
.cred small { font-size: var(--fs-0); color: var(--ink-soft); line-height: 1.5; }

/* ---------- two ways ---------- */
.ways { display: grid; gap: 14px; }
.way { border-radius: var(--r); padding: 22px; display: grid; gap: 16px; background: var(--c); }
.way .ph { background: transparent; border-radius: var(--r-s); }
.way .ph img { background: transparent; mix-blend-mode: multiply; }
.way h3 { font-size: var(--fs-5); }
.way p { color: var(--ink-soft); font-size: var(--fs-1); }
.way dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: var(--fs-1); border-top: 1px solid rgba(44, 42, 39, .12); padding-top: 14px; }
.way dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.way dd { margin: 0; }

/* ---------- anatomy ---------- */
.anat { display: grid; gap: 22px; }
.anat-fig { position: relative; border-radius: var(--r); background: var(--white); padding: 18px; }
.anat-fig svg { width: 100%; height: auto; overflow: visible; }
.layer { cursor: pointer; transition: transform .5s var(--ease), opacity .4s; transform-box: fill-box; transform-origin: center; }
.anat-fig.has-pick .layer { opacity: .35; }
.anat-fig.has-pick .layer.is-on { opacity: 1; transform: translateY(-6px); }
.anat-list { display: grid; gap: 8px; }
.anat-item { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; text-align: left; padding: 16px; border-radius: var(--r-s); border: var(--line); background: var(--cream); transition: background .3s, border-color .3s; width: 100%; }
.anat-item i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: var(--fs-0); background: var(--c); }
.anat-item b { font-weight: 500; display: block; }
.anat-item small { display: block; color: var(--ink-soft); font-size: var(--fs-1); line-height: 1.5; margin-top: 2px; }
.anat-item.is-on { background: var(--white); border-color: var(--ink); }

/* ---------- guides ---------- */
.guide-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.guide-tabs::-webkit-scrollbar { display: none; }
.guide-tabs button { flex: none; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--sand-deep); background: transparent; font-size: var(--fs-1); color: var(--ink-soft); transition: all .3s var(--ease); }
.guide-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.guide { background: var(--white); border-radius: var(--r); padding: 24px 20px; display: grid; gap: 22px; }
.guide[hidden] { display: none; }
.guide h3 { font-size: var(--fs-5); }
.guide > p { color: var(--ink-soft); max-width: 56ch; }
.field { display: grid; gap: 8px; }
.field > label, .field > legend { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.read { display: flex; align-items: baseline; gap: 8px; }
.read strong { font-family: var(--display); font-weight: 300; font-size: 3.5rem; line-height: 1; letter-spacing: -.03em; }
.read span { color: var(--ink-soft); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--sand); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--sand); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; border-radius: 50%; background: var(--ink); border: 6px solid var(--white); box-shadow: 0 0 0 1px var(--ink), 0 6px 14px rgba(44, 42, 39, .25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 6px solid var(--white); box-shadow: 0 0 0 1px var(--ink), 0 6px 14px rgba(44, 42, 39, .25); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { flex: 1 1 auto; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--sand-deep); background: transparent; font-size: var(--fs-1); color: var(--ink-soft); transition: all .3s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.sizes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.sizes span { text-align: center; font-family: var(--mono); font-size: .6875rem; padding: 9px 0; border-radius: 10px; background: var(--oat); color: var(--ink-faint); transition: all .4s var(--ease); }
.sizes span.on { background: var(--c, var(--teal)); color: var(--ink); transform: translateY(-4px); }
.result { border-radius: var(--r-s); background: var(--c, var(--teal)); padding: 18px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; transition: background .4s; }
.result .ph { background: transparent; }
.result .ph img { background: transparent; mix-blend-mode: multiply; }
.result h4 { font-size: var(--fs-4); font-weight: 400; }
.result p { font-size: var(--fs-1); color: var(--ink-soft); margin-top: 4px; }
.result .btn { margin-top: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sand); border: var(--line); border-radius: var(--r-s); overflow: hidden; }
.stat { background: var(--cream); padding: 16px 12px; display: grid; gap: 4px; }
.stat strong { font-family: var(--display); font-weight: 300; font-size: 2rem; line-height: 1; letter-spacing: -.02em; }
.stat small { font-size: var(--fs-0); color: var(--ink-soft); line-height: 1.35; }
.table-scroll { overflow-x: auto; border: var(--line); border-radius: var(--r-s); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-1); min-width: 440px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: var(--line); }
th { font-family: var(--mono); font-size: .6875rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: var(--cream); }
tr:last-child td { border-bottom: 0; }
td.num { text-align: right; }
th.r { text-align: right; }
tr.is-on td { background: var(--c, var(--teal)); }
.pill { display: inline-block; font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--cream); margin-left: 6px; vertical-align: 2px; }
.signs { display: grid; gap: 8px; }
.sign { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 16px; border-radius: var(--r-s); background: var(--cream); border: var(--line); }
.sign svg { width: 26px; height: 26px; color: var(--teal-deep); margin-top: 2px; }
.sign b { font-weight: 500; display: block; }
.sign small { color: var(--ink-soft); font-size: var(--fs-1); line-height: 1.5; }
.fine { font-size: var(--fs-0); color: var(--ink-faint); line-height: 1.55; }

/* ---------- reviews ---------- */
.rating { display: grid; gap: 22px; }
.rating-big { font-family: var(--display); font-weight: 300; font-size: clamp(5rem, 26vw, 9rem); line-height: .86; letter-spacing: -.05em; }
.rating-big sup { font-size: .3em; vertical-align: top; position: relative; top: .5em; margin-left: 4px; color: var(--ink-soft); }
.rating p { color: var(--ink-soft); max-width: 40ch; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery .ph { border-radius: var(--r-s); aspect-ratio: 4 / 5; }
.gallery .ph:nth-child(2) { margin-top: 28px; }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { display: grid; gap: 10px; align-content: start; text-decoration: none; }
.card b { font-weight: 500; font-size: var(--fs-1); line-height: 1.3; display: block; }
.card small { color: var(--ink-soft); font-size: var(--fs-0); display: block; }
.card .price { font-family: var(--mono); font-size: var(--fs-1); }
.card .tagline { font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- milestones ---------- */
.miles { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.miles::-webkit-scrollbar { display: none; }
.mile { flex: none; width: 138px; scroll-snap-align: start; display: grid; gap: 10px; padding: 16px 14px; border-radius: var(--r-s); border: 1px solid transparent; background: var(--c); text-align: left; transition: transform .35s var(--ease), border-color .3s; }
.mile svg { width: 30px; height: 30px; }
.mile b { font-weight: 500; line-height: 1.2; font-size: var(--fs-1); }
.mile small { font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mile[aria-selected="true"] { border-color: var(--ink); transform: translateY(-4px); }
.mile-panel { margin-top: 18px; border-radius: var(--r); background: var(--white); padding: 22px 20px; display: grid; gap: 20px; }
.mile-panel h3 { font-size: var(--fs-5); }
.mile-panel p { color: var(--ink-soft); max-width: 54ch; }

/* ---------- club ---------- */
.club { background: var(--ink); color: var(--cream); border-radius: var(--r); padding: 30px 22px; display: grid; gap: 28px; }
.club .label { color: var(--teal); }
.club h2 { font-size: clamp(2.25rem, 10vw, 3.75rem); }
.club h2 em { color: var(--butter); }
.club p { color: #CFC8BD; }
.tiers { display: grid; gap: 10px; }
.tier { border-radius: var(--r-s); padding: 18px; background: var(--c); color: var(--ink); display: grid; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s; }
.tier.is-on { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--cream); }
.tier h3 { font-size: var(--fs-4); font-weight: 400; }
.tier .label { color: var(--ink-soft); }
.tier li { position: relative; padding-left: 20px; font-size: var(--fs-1); line-height: 1.45; }
.tier li + li { margin-top: 5px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); }
.club-calc { border-radius: var(--r-s); background: rgba(255, 255, 255, .06); padding: 20px; display: grid; gap: 18px; }
.club-calc .field > label { color: #A9A297; }
.club-calc .read strong { color: var(--cream); }
.club-calc .read span { color: #A9A297; }
.club-calc input[type="range"]::-webkit-slider-runnable-track { background: rgba(255, 255, 255, .2); }
.club-calc input[type="range"]::-moz-range-track { background: rgba(255, 255, 255, .2); }
.club-calc input[type="range"]::-webkit-slider-thumb { background: var(--butter); border-color: var(--ink); box-shadow: 0 0 0 1px var(--butter); }
.club-calc input[type="range"]::-moz-range-thumb { background: var(--butter); border-color: var(--ink); box-shadow: 0 0 0 1px var(--butter); }
.club-out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--r-s); overflow: hidden; }
.club-out div { background: var(--ink); padding: 14px 12px; display: grid; gap: 4px; }
.club-out strong { font-family: var(--display); font-weight: 300; font-size: 1.875rem; line-height: 1; color: var(--cream); }
.club-out small { font-size: var(--fs-0); color: #A9A297; line-height: 1.35; }
.meter { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--teal), var(--butter)); transition: width .6s var(--ease); }
.earn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.earn li { border-radius: var(--r-s); border: 1px solid rgba(255, 255, 255, .16); padding: 14px; display: grid; gap: 4px; }
.earn strong { font-family: var(--mono); font-weight: 400; color: var(--butter); font-size: var(--fs-1); }
.earn small { font-size: var(--fs-0); color: #CFC8BD; line-height: 1.4; }
.club .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.club .btn--line { background: transparent; color: var(--cream); }
.auto { display: grid; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 24px; }
.auto h3 { font-size: var(--fs-5); }
.auto .seg button { border-color: rgba(255, 255, 255, .3); color: #CFC8BD; }
.auto .seg button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }

/* ---------- wipes hunt ---------- */
.hunt { display: grid; gap: 14px; }
.hunt-call { border-radius: var(--r); background: var(--ink); color: var(--cream); padding: 28px 22px; display: grid; gap: 26px; }
.hunt-call .label { color: var(--butter); }
.hunt-call h3 { font-size: clamp(2.75rem, 13vw, 5rem); line-height: .96; letter-spacing: -.035em; margin-top: 10px; }
.hunt-call h3 em { font-style: italic; color: var(--butter); }
.hunt-call-big { font-size: var(--fs-3); color: #E4DDD2; margin-top: 14px; max-width: 30ch; }
.clock { margin-top: 22px; }
.clock-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; max-width: 340px; }
.clock-row span { border-radius: 14px; background: rgba(255, 255, 255, .08); padding: 12px 4px 10px; display: grid; justify-items: center; gap: 2px; }
.clock-row b { font-size: 1.75rem; font-weight: 400; line-height: 1; color: var(--cream); }
.clock-row small { font-family: var(--mono); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; color: #A9A297; }
.clock.last .clock-row span { background: var(--butter); }
.clock.last .clock-row b, .clock.last .clock-row small { color: var(--ink); }
.hunt-call-side { display: grid; gap: 14px; align-content: start; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 6px; align-items: end; }
.pod { border-radius: 16px 16px 8px 8px; padding: 14px 8px 12px; display: grid; gap: 4px; justify-items: center; text-align: center; background: var(--blue); color: var(--ink); min-height: 118px; align-content: start; }
.pod.p1 { background: var(--butter); min-height: 150px; }
.pod.p3 { background: var(--lav); min-height: 100px; }
.pod.open { background: transparent; border: 1px dashed rgba(255, 255, 255, .35); color: #CFC8BD; }
.pod-rank { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.pod b { font-weight: 500; font-size: var(--fs-1); line-height: 1.2; overflow-wrap: anywhere; }
.pod-win { font-size: var(--fs-0); line-height: 1.2; }
.pod-win i { font-style: normal; display: block; font-size: 1.625rem; line-height: 1; }
.pod .tagx { display: block; margin: 3px auto 0; width: max-content; }
.hunt-beat { font-size: var(--fs-1); color: var(--cream); }
.hunt-beat b { font-weight: 500; color: var(--butter); font-size: 1.125em; }
.live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border-radius: var(--r-s); overflow: hidden; }
.live li { background: var(--ink); padding: 12px 10px; display: grid; gap: 3px; }
.live b { font-size: 1.375rem; font-weight: 400; line-height: 1; color: var(--teal); }
.live span { font-size: .6875rem; color: #A9A297; line-height: 1.3; }
.hunt-call .fine { color: #8C857A; }

.hunt-cols { display: grid; gap: 14px; align-items: start; }
.hunt-main { display: grid; gap: 14px; }
.hunt-card { position: relative; border-radius: var(--r); background: var(--white); padding: 24px 20px; display: grid; gap: 12px; }
.hunt-card.win { background: var(--teal); }
.hunt-card h3 { font-size: var(--fs-5); }
.hunt-card > p { color: var(--ink-soft); font-size: var(--fs-1); max-width: 48ch; }
.hunt-card > p b { color: var(--ink); font-weight: 500; }
.hunt-form { display: grid; gap: 14px; margin-top: 4px; }
.hunt-form input[type="text"], .hunt-form input[type="tel"], .hunt-form select { width: 100%; min-height: 50px; padding: 10px 16px; border-radius: 14px; border: 1px solid rgba(44, 42, 39, .35); background: var(--white); color: var(--ink); font: inherit; }
.hunt-form .seg button { background: var(--white); }
.hunt-form .seg button[aria-pressed="true"] { background: var(--ink); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: var(--fs-0); line-height: 1.5; color: var(--ink); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.hunt-hero { position: relative; width: 92px; height: 92px; border-radius: 24px; background: var(--oat); display: grid; place-items: center; overflow: hidden; }
.hunt-hero svg { width: 40px; height: 40px; color: var(--teal-deep); }
.hunt-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hunt-err { color: #9A2A1B !important; font-weight: 500; }
.hunt-share { width: 100%; border-radius: 14px; border: 1px solid var(--sand-deep); padding: 10px 12px; font: inherit; font-size: var(--fs-1); color: var(--ink); background: var(--white); }
img.pack { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--white); }

.hunt-board { border-radius: var(--r); background: var(--white); padding: 16px; transition: background .5s, color .5s; }
.hunt-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.hunt-chip { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-0); font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--teal); color: var(--teal-deep); white-space: nowrap; }
.hunt-chip.dark { background: var(--ink); color: var(--cream); }
.hunt-chip .dots { display: inline-flex; gap: 3px; }
.hunt-chip .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(30, 111, 102, .25); }
.hunt-chip .dots i.on { background: var(--teal-deep); }
.hunt-time { font-size: 1.75rem; font-weight: 400; line-height: 1; }
.hunt-time.low { color: #C0392B; }
.hunt-town { position: relative; max-width: 440px; margin-inline: auto; }
.hunt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hunt-grid.off { opacity: .4; pointer-events: none; }
.spot { position: relative; aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 1px; padding: 0; border-radius: 16px; border: 1px solid var(--sand); background: var(--cream); color: var(--sand-deep); overflow: hidden; transition: transform .12s, background .25s, border-color .25s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.spot svg { width: 46%; height: 46%; }
.spot:not(:disabled):hover { border-color: var(--ink); color: var(--ink-soft); }
.spot:not(:disabled):active { transform: scale(.93); }
.spot.seen { cursor: default; color: var(--ink); border-color: transparent; }
.spot.seen svg { width: 24%; height: 24%; opacity: .7; }
.spot.seen b { font-family: var(--mono); font-weight: 500; font-size: 1.5rem; line-height: 1; }
.spot.hot { background: #F8C9BC; }
.spot.warm { background: var(--butter); }
.spot.cool { background: var(--blue); }
.spot.cold { background: var(--lav); }
.spot.found { background: var(--white); border-color: var(--teal-mid); box-shadow: 0 0 0 3px var(--teal); color: var(--teal-deep); }
.spot.was { background: var(--white); border: 1.5px dashed var(--ink-faint); color: var(--ink-faint); }
.spot.was img.pack { opacity: .55; }
.hunt-pop { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 16px; border-radius: 20px; background: rgba(251, 248, 243, .92); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1.5px solid var(--teal-mid); color: var(--ink); pointer-events: none; }
.hunt-pop-ic { position: relative; width: 104px; height: 104px; border-radius: 24px; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.hunt-pop-ic svg { width: 44px; height: 44px; color: var(--teal-deep); }
.hunt-pop b { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.05; }
.hunt-pop small { font-size: var(--fs-0); color: var(--ink-soft); }
.hunt-pop.miss { border-color: #E0A79B; }
.hunt-pop.miss .hunt-pop-ic svg { color: #9A2A1B; }
.hunt-pop.lvl { background: rgba(44, 42, 39, .94); border-color: var(--lav); color: var(--cream); }
.hunt-pop.lvl small { color: #CFC8BD; }
.hunt-pop.lvl .hunt-pop-ic { background: rgba(255, 255, 255, .1); }
.hunt-pop.lvl .hunt-pop-ic svg { color: var(--lav); }
.hunt-flash { text-align: center; margin-top: 12px; min-height: 1.6em; font-family: var(--display); font-size: var(--fs-3); color: var(--ink); }
/* level 2: lights off */
.hunt-board.lvl2 { background: var(--ink); color: var(--cream); }
.hunt-board.lvl2 .hunt-flash, .hunt-board.lvl2 .hunt-time { color: var(--cream); }
.hunt-board.lvl2 .hunt-chip { background: var(--lav); color: var(--lav-deep); }
.hunt-board.lvl2 .hunt-chip .dots i { background: rgba(91, 70, 148, .25); }
.hunt-board.lvl2 .hunt-chip .dots i.on { background: var(--lav-deep); }
.hunt-board.lvl2 .hunt-chip.dark { background: var(--cream); color: var(--ink); }
.hunt-board.lvl2 .spot:not(.seen):not(.found):not(.was) { background: #3A3733; border-color: #4A4641; color: #6B655D; }

.fame { border-radius: var(--r); background: var(--white); padding: 22px 20px; display: grid; gap: 18px; }
.fame h3 { font-size: var(--fs-5); margin-top: 6px; }
.fame-list { display: grid; gap: 6px; }
.fame-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 14px; background: var(--cream); border: 1px solid transparent; }
.fame-list li.prize { background: var(--butter); }
.fame-list li.prize:first-child { background: var(--teal); }
.fame-list li.you { border-color: var(--ink); }
.fame-list li.open { color: var(--ink-faint); background: transparent; border: 1px dashed var(--sand-deep); }
.fame-list li.open.prize { border-color: var(--butter-deep); color: var(--butter-deep); }
.fame-rank { font-size: var(--fs-1); color: var(--ink-soft); }
.fame-name { font-weight: 500; line-height: 1.25; }
.fame-name small { display: block; font-family: var(--mono); font-weight: 400; font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.fame-score { font-size: var(--fs-4); }
.fame-last ol { display: grid; gap: 1px; background: var(--sand); border: var(--line); border-radius: var(--r-s); overflow: hidden; margin-top: 8px; }
.fame-last li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; background: var(--cream); font-size: var(--fs-1); }
.fame-last li b { font-weight: 500; }
.fame-last li span:last-child { color: var(--ink-soft); }
.tagx { display: inline-block; font-family: var(--mono); font-size: .5625rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid currentColor; opacity: .7; margin-left: 8px; vertical-align: 3px; }
.tagx.you { background: var(--ink); border-color: var(--ink); color: var(--cream); opacity: 1; }
.fame-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; font-size: var(--fs-0); color: var(--ink-soft); border-top: var(--line); padding-top: 14px; }
.fame-foot b { color: var(--ink); font-weight: 500; }
.hunt-rules { border-radius: var(--r-s); border: var(--line); background: var(--cream); padding: 0 18px; }
.hunt-rules summary { padding: 16px 0; font-weight: 500; cursor: pointer; }
.hunt-rules ul { padding: 0 0 18px; display: grid; gap: 8px; }
.hunt-rules li { position: relative; padding-left: 18px; font-size: var(--fs-1); color: var(--ink-soft); }
.hunt-rules li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-mid); }
.hunt-rules li b { color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .hunt-pop { animation: popin .25s ease-out; }
  .spot.found { animation: found .4s var(--ease); }
  .clock.last .clock-row span:last-child { animation: beat 1s ease-in-out infinite; }
}
@keyframes popin { from { transform: scale(.8); opacity: 0; } }
@keyframes found { 50% { transform: scale(1.12) rotate(-3deg); } }
@keyframes beat { 50% { transform: scale(1.06); } }
@media (min-width: 860px) {
  .hunt-call { grid-template-columns: 1.1fr 1fr; padding: 48px; gap: 40px; align-items: center; }
  .hunt-cols { grid-template-columns: 1.1fr .9fr; gap: 18px; }
  .hunt-card, .fame { padding: 32px; }
}

/* ---------- gifting ---------- */
.gift-hero { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.gift-hero::-webkit-scrollbar { display: none; }
.gift-hero .gift-set { flex: none; width: 78%; scroll-snap-align: center; align-content: start; }
.gift-set { border-radius: var(--r); background: var(--c); padding: 20px; display: grid; gap: 14px; text-decoration: none; }
.gift-set .ph { background: transparent; }
.gift-set .ph img { background: transparent; mix-blend-mode: multiply; }
.gift-set h3 { font-size: var(--fs-4); font-weight: 400; }
.gift-set p { font-size: var(--fs-1); color: var(--ink-soft); }
.gift-set .price { font-family: var(--mono); }
.finder { margin-top: 26px; background: var(--white); border-radius: var(--r); padding: 22px 20px; display: grid; gap: 18px; }
.finder h3 { font-size: var(--fs-5); }

/* ---------- learn ---------- */
.reads { display: grid; gap: 1px; background: var(--sand); border-block: var(--line); }
.readcard { background: var(--oat); padding: 22px 0; display: grid; gap: 8px; text-decoration: none; }
.readcard h3 { font-size: var(--fs-4); font-weight: 400; transition: color .3s; }
.readcard:hover h3 { color: var(--teal-deep); }
.readcard p { font-size: var(--fs-1); color: var(--ink-soft); max-width: 60ch; }

/* ---------- where + footer ---------- */
.where { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.where a { border: var(--line); border-radius: var(--r-s); padding: 16px; text-decoration: none; background: var(--cream); display: grid; gap: 2px; transition: border-color .3s, transform .3s var(--ease); }
.where a:hover { border-color: var(--ink); transform: translateY(-2px); }
.where b { font-weight: 500; }
.where small { font-size: var(--fs-0); color: var(--ink-soft); }
.foot { background: var(--cream); border-top: var(--line); padding-block: 44px 30px; }
.foot-grid { display: grid; gap: 28px; }
.foot h4 { font-family: var(--mono); font-size: .6875rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.foot a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink-soft); font-size: var(--fs-1); }
.foot a:hover { color: var(--ink); }
.foot-note { margin-top: 30px; padding-top: 20px; border-top: var(--line); display: grid; gap: 8px; }

/* ---------- bottom tab bar (phones) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(251, 248, 243, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabbar a { min-height: var(--tab-h); display: grid; place-content: center; justify-items: center; gap: 4px; text-decoration: none; font-size: .625rem; letter-spacing: .04em; color: var(--ink-faint); transition: color .3s; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar a.is-on { color: var(--ink); }
.tabbar a.is-on svg { color: var(--teal-deep); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: .25; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .rv.in { opacity: 1; transform: none; }
  .drift { animation: drift 9s ease-in-out infinite; }
  .drift.d2 { animation-duration: 12s; animation-delay: -4s; }
  .bob { animation: bob 6s ease-in-out infinite; }
}
@keyframes drift { 50% { transform: translateX(14px); } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .sec { padding-block: 88px; }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .ways { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .anat { grid-template-columns: 1fr 1fr; align-items: center; }
  .guide { padding: 36px; }
  .guide-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .rating { grid-template-columns: 1fr 1fr; align-items: center; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .club { padding: 48px; }
  .club-top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
  .earn { grid-template-columns: repeat(4, 1fr); }
  .gift-hero { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .gift-hero .gift-set { width: auto; }
  .reads { grid-template-columns: repeat(3, 1fr); }
  .readcard { padding: 26px 22px; }
  .where { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .menu-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 44px; }
  .mile { width: 160px; }
  .mile-panel, .finder { padding: 36px; }
  .signs { grid-template-columns: 1fr 1fr; }
}

/* ---------- desktop ---------- */
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .head-nav { display: flex; }
  .hero { padding-block: 56px 88px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .creds { grid-template-columns: repeat(6, 1fr); }
  .miles { margin-inline: 0; padding-inline: 0; }
  .mile { flex: 1; width: auto; }
}

/* ---------- wipes hunt: how to play, above the start button ---------- */
.how { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-s); background: var(--oat); }
.how-steps { display: grid; gap: 10px; }
.how-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: var(--fs-1); line-height: 1.45; color: var(--ink-soft); }
.how-steps i { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-style: normal; font-size: var(--fs-0); }
.how-steps b { color: var(--ink); font-weight: 500; }
.how-key { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.how-key .spot { aspect-ratio: auto; padding: 10px 4px 8px; gap: 2px; border-radius: 14px; cursor: default; }
.how-key .spot svg { width: 18px; height: 18px; opacity: .7; }
.how-key .spot b { font-size: 1.25rem; }
.how-key .spot small { font-size: .6875rem; color: var(--ink-soft); }
.how .fine { color: var(--ink-soft); }

/* ---------- wipes hunt: 3, 2, 1 before the clock starts ---------- */
.hunt-pop.ready { background: rgba(44, 42, 39, .9); border-color: var(--butter); color: var(--cream); }
.hunt-pop.ready b { font-family: var(--display); font-weight: 300; font-size: 7rem; line-height: .9; color: var(--butter); }
.hunt-pop.ready small { color: #E4DDD2; font-size: var(--fs-1); }
.tabbar { transition: transform .3s var(--ease); }
.is-hunting .tabbar { transform: translateY(110%); }

/* ---------- wipes hunt: the score card, made to be screenshotted and posted ---------- */
.scorecard { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--teal); color: var(--ink); padding: 22px; display: grid; grid-template-rows: auto 1fr auto auto auto auto; gap: 4px; align-content: start; isolation: isolate; }
.scorecard.prize { background: var(--butter); }
.scorecard::before, .scorecard::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.scorecard::before { width: 70%; aspect-ratio: 1; left: -18%; bottom: -34%; box-shadow: 58vw 6vw 0 4vw rgba(255, 255, 255, .55); }
.scorecard::after { width: 34%; aspect-ratio: 1; right: -10%; top: -8%; }
.sc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sc-logo { font-weight: 700; font-size: 1.75rem; letter-spacing: .02em; line-height: 1; }
.sc-logo i { font-style: normal; color: var(--teal-deep); }
.sc-week { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; text-align: right; line-height: 1.5; }
.sc-name { align-self: end; font-weight: 500; font-size: var(--fs-3); overflow-wrap: anywhere; }
.sc-score { font-family: var(--display); font-weight: 300; font-size: clamp(8rem, 46vw, 13rem); line-height: .8; letter-spacing: -.05em; margin-left: -.04em; }
.sc-unit { font-size: var(--fs-2); margin-top: 8px; }
.sc-rank { justify-self: start; margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: var(--fs-1); font-weight: 500; }
.sc-foot { margin-top: 16px; display: grid; gap: 2px; }
.sc-foot b { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 1.875rem; line-height: 1.1; }
.sc-foot span { font-family: var(--mono); font-size: .6875rem; letter-spacing: .04em; }
.hunt-post { color: var(--ink) !important; }
@media (min-width: 860px) { .scorecard { max-width: 420px; } .sc-score { font-size: 13rem; } .scorecard::before { box-shadow: 300px 30px 0 20px rgba(255, 255, 255, .55); } }

/* ---------- bean match: memory tiles ---------- */
.tile { color: var(--teal-mid); background: var(--teal); border-color: transparent; }
.tile svg { width: 64%; height: 64%; color: #FFFFFF; opacity: .9; }
.tile.up { background: var(--white); border-color: var(--sand); color: var(--ink); padding: 4px 4px 3px; align-content: stretch; grid-template-rows: 1fr auto; gap: 2px; cursor: default; }
.tile.up.matched { border-color: var(--teal-mid); box-shadow: 0 0 0 3px var(--teal); }
.tile-face { position: relative; min-height: 0; border-radius: 10px; overflow: hidden; background: var(--t, var(--oat)); display: grid; place-items: center; width: 100%; height: 100%; }
.tile-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.tile-ph { font-family: var(--display); font-size: 1.75rem; font-weight: 300; color: var(--ink); }
.tile-name { font-size: .625rem; font-weight: 500; line-height: 1.15; text-align: center; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.scorecard.match { background: var(--lav); }
@media (prefers-reduced-motion: no-preference) {
  .tile.up { animation: flip .28s var(--ease); }
  .tile.up.matched { animation: found .4s var(--ease); }
}
@keyframes flip { from { transform: rotateY(90deg); } }
@media (min-width: 480px) { .tile-name { font-size: .75rem; } }

/* ---------- games: this week's prize game and the two game cards ---------- */
.week-game { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-s); background: var(--butter); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
.week-game:hover { transform: translateY(-3px); }
.week-game b { font-family: var(--display); font-weight: 300; font-size: 2.25rem; line-height: 1.05; }
.week-game span { font-size: var(--fs-1); }
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.game-card { display: grid; gap: 6px; align-content: start; justify-items: start; padding: 18px; border-radius: var(--r-s); background: var(--c); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
.game-card:hover { transform: translateY(-3px); }
.game-card .tagx { margin: 0; vertical-align: 0; }
.game-card b { font-family: var(--display); font-weight: 300; font-size: 1.75rem; line-height: 1.05; }
.game-card small { font-size: var(--fs-0); color: var(--ink-soft); line-height: 1.4; }

/* ---------- games: every player's rank ---------- */
.mine { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 16px; border-radius: var(--r-s); background: var(--teal); color: var(--ink); font-size: var(--fs-1); }
.mine b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.mine span { font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- games: my card, always there once you have played ---------- */
.mycard { border-radius: var(--r); background: var(--white); padding: 20px; display: grid; gap: 12px; margin-bottom: 14px; }
.mycard .scorecard { max-width: 360px; }
.mycard .hunt-post { font-size: var(--fs-1); color: var(--ink-soft); }
.mycard .hunt-post b { color: var(--ink); font-weight: 500; }

/* ---------- games: my card sits at the top, compact ---------- */
.mycard { margin-bottom: 0; }
.mycard .scorecard { max-width: none; aspect-ratio: auto; grid-template-rows: auto; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 2px; padding: 18px; align-items: center; }
.mycard .sc-top { grid-column: 1 / -1; margin-bottom: 6px; }
.mycard .sc-name { grid-column: 2; align-self: end; font-size: var(--fs-2); }
.mycard .sc-score { grid-column: 1; grid-row: 2 / span 3; font-size: 5.5rem; line-height: .85; }
.mycard .sc-unit { grid-column: 2; font-size: var(--fs-1); margin-top: 0; }
.mycard .sc-rank { grid-column: 2; margin-top: 6px; font-size: var(--fs-0); padding: 6px 12px; }
.mycard .sc-foot { display: none; }
.mycard .sc-foot b { font-size: 1.375rem; }
.findcard { border-radius: var(--r-s); background: var(--white); padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.findcard p { font-size: var(--fs-1); color: var(--ink-soft); }
.findcard p b { color: var(--ink); font-weight: 500; }
.findcard.open { display: grid; gap: 12px; justify-content: stretch; }
.findcard .hunt-form { margin-top: 0; }
.mycard .findcard { background: var(--oat); }
.find-link { font-size: var(--fs-0); }
.linkbtn { border: 0; background: transparent; padding: 4px 0; font-size: var(--fs-0); color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.mycard { padding: 16px; gap: 10px; }
.mycard .hunt-acts { flex-wrap: nowrap; gap: 6px; }
.mycard .hunt-acts .btn { flex: 1 1 0; min-height: 42px; padding: 8px 10px; font-size: var(--fs-0); text-align: center; }

/* ---------- practice games: Tape It and Stay Dry ---------- */
.hunt-cols.one { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; width: 100%; }
.scorecard.arcade { background: var(--cardbg, var(--teal)); }
.stage { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--oat); touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: pointer; }
.stage.tape { background: var(--cream); background-image: radial-gradient(circle at 20% 15%, var(--lav) 0 3px, transparent 4px), radial-gradient(circle at 80% 85%, var(--teal) 0 3px, transparent 4px); background-size: 46px 46px; }
.tape-svg { display: block; width: 100%; height: 100%; }
.verdict { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: grid; justify-items: center; gap: 0; padding: 10px 20px; border-radius: 18px; background: var(--ink); color: var(--cream); text-align: center; pointer-events: none; white-space: nowrap; }
.verdict b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.verdict small { font-family: var(--mono); font-size: var(--fs-0); letter-spacing: .06em; }
.verdict[hidden] { display: none; }
.verdict.perfect { background: var(--teal-deep); }
.verdict.perfect small { color: var(--butter); }
.verdict.miss { background: var(--white); color: var(--ink); border: 1.5px solid var(--sand); }
.verdict.miss small { color: var(--ink-soft); }
.stage.dry { background: linear-gradient(#2E3A55 0%, #54668C 38%, #D3E3F3 100%); cursor: grab; }
.dry-sky { position: absolute; inset: 0; pointer-events: none; }
.dry-moon { position: absolute; right: 9%; top: 11%; width: 12%; aspect-ratio: 1; border-radius: 50%; background: var(--butter); box-shadow: 0 0 0 8px rgba(249, 233, 169, .18); }
.dry-cloud { position: absolute; top: 5%; height: 9%; border-radius: 999px; background: #FFFFFF; opacity: .92; }
.dry-cloud::before, .dry-cloud::after { content: ""; position: absolute; bottom: 30%; border-radius: 50%; background: inherit; aspect-ratio: 1; }
.dry-cloud::before { left: 14%; width: 42%; }
.dry-cloud::after { right: 14%; width: 32%; }
.dry-cloud.c1 { left: 4%; width: 34%; top: 8%; }
.dry-cloud.c2 { left: 36%; width: 30%; top: 4%; opacity: .85; }
.dry-cloud.c3 { left: 60%; width: 24%; top: 19%; opacity: .7; height: 7%; }
.dry-meter { position: absolute; left: 12px; right: 12px; top: 10px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; pointer-events: none; z-index: 2; }
.dry-meter i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .28); transition: background .4s; }
.dry-meter i.on { background: var(--butter); }
.dry-drops { position: absolute; inset: 0; pointer-events: none; }
.drop { position: absolute; left: 0; top: 0; width: 18px; height: 24px; will-change: transform; }
.drop::before { content: ""; position: absolute; left: 1px; top: 6px; width: 16px; height: 16px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: #8FC3F0; box-shadow: inset -3px -3px 0 rgba(255, 255, 255, .55), 0 0 0 1.5px rgba(255, 255, 255, .7); }
.drop.gone { opacity: .35; }
.plus { position: absolute; transform: translate(-50%, -100%); font-family: var(--mono); font-weight: 500; font-size: var(--fs-1); color: var(--teal-deep); background: var(--white); border-radius: 999px; padding: 2px 8px; animation: plus .6s var(--ease) forwards; }
@keyframes plus { to { transform: translate(-50%, -260%); opacity: 0; } }
.dry-catch { position: absolute; left: 0; bottom: 8px; will-change: transform; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(44, 42, 39, .22)); }
.dry-catch svg { display: block; width: 100%; height: auto; }
.dry-catch.hit svg { animation: squish .22s var(--ease); }
@keyframes squish { 40% { transform: scale(1.06, .9); } }
@media (min-width: 900px) { .games { grid-template-columns: repeat(4, 1fr); } }
/* the big number sits clear of the name line above it */
.scorecard .sc-score { margin-top: .1em; }
.mycard .scorecard .sc-score { margin-top: 0; }

/* ---------- games that are locked: "Coming soon" ---------- */
.game-card.locked { position: relative; overflow: hidden; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .38) 0 10px, transparent 10px 20px); }
.game-card .tagx svg { width: 10px; height: 10px; margin-right: 4px; vertical-align: -1px; }
.game-card.locked b { opacity: .78; }
.game-card .peek { font-style: normal; font-size: var(--fs-0); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; margin-top: 2px; }
.games-note { display: flex; align-items: center; gap: 12px; margin: -4px 0 14px; padding: 12px 16px; border-radius: var(--r-s); background: var(--ink); color: #E4DDD2; font-size: var(--fs-0); line-height: 1.45; }
.games-note b { color: var(--butter); font-weight: 500; }
.soon-dots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: var(--fs-1); color: #E4DDD2; }
.soon-dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); flex: none; }
.soon-dots i.on { background: var(--teal-mid); border-color: var(--teal-mid); }
.soon-dots i.me { border-color: var(--butter); box-shadow: 0 0 0 3px rgba(249, 233, 169, .25); }
.soon-dots span { margin-left: 6px; }
.soon-dots b { color: var(--butter); font-weight: 500; }
.soon { border-radius: var(--r); background: var(--ink); color: var(--cream); padding: 16px; display: grid; gap: 22px; max-width: 980px; margin-inline: auto; }
.soon-peek { position: relative; border-radius: 20px; overflow: hidden; max-width: 440px; width: 100%; margin-inline: auto; background: var(--c); }
.soon-peek .stage { filter: blur(7px) saturate(.9); transform: scale(1.06); pointer-events: none; cursor: default; }
.soon-peek .drop { transform: none; }
.soon-peek .dry-catch { bottom: 8px; }
.soon-lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; background: rgba(44, 42, 39, .38); color: var(--cream); }
.soon-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--butter); color: var(--ink); display: grid; place-items: center; margin-bottom: 8px; box-shadow: 0 0 0 10px rgba(249, 233, 169, .22); }
.soon-ic svg { width: 34px; height: 34px; }
.soon-lock b { font-family: var(--display); font-weight: 300; font-size: 2.75rem; line-height: 1; }
.soon-lock small { font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.soon-copy { display: grid; gap: 16px; align-content: start; padding: 4px 6px 10px; }
.soon-copy .label { color: var(--butter); }
.soon-copy h3 { font-size: clamp(2.25rem, 10.5vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.soon-copy h3 em { font-style: italic; color: var(--butter); }
.soon-lines { display: grid; gap: 8px; font-size: var(--fs-2); color: #E4DDD2; }
.soon-lines li { padding-left: 18px; position: relative; }
.soon-lines li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-mid); }
.redact { display: inline-block; border-radius: 4px; background: var(--butter); color: transparent; user-select: none; -webkit-user-select: none; letter-spacing: -.02em; line-height: 1.1; padding: 0 2px; }
.soon-when { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-s); background: rgba(255, 255, 255, .08); }
.soon-when > b { font-family: var(--display); font-weight: 300; font-size: 2rem; line-height: 1.1; color: var(--cream); }
.soon-when > span { font-size: var(--fs-1); color: #CFC8BD; }
.soon-when .clock-row { margin-top: 4px; }
.live.two { grid-template-columns: 1fr 1fr; }
.live.one { grid-template-columns: 1fr; }
.soon-fine { font-size: var(--fs-0); color: #A9A297; margin-top: -8px; }
.soon .btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.soon .hunt-share { background: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  .soon-peek .stage { animation: peek 6s ease-in-out infinite; }
  .soon-ic { animation: lockpulse 2.4s ease-in-out infinite; }
}
@keyframes peek { 0%, 62%, 100% { filter: blur(7px) saturate(.9); } 74%, 86% { filter: blur(2.5px) saturate(1); } }
@keyframes lockpulse { 50% { box-shadow: 0 0 0 18px rgba(249, 233, 169, 0); } }
@media (min-width: 860px) { .soon { grid-template-columns: minmax(0, 440px) 1fr; padding: 24px; gap: 32px; align-items: center; } }

/* ---------- Wipes Hunt landing page (one game, one page) ---------- */
.lp-hero { padding-block: 36px 44px; }
.lp-hero-grid { display: grid; gap: 28px; align-items: center; }
.lp-hero h1 { font-size: clamp(3rem, 15vw, 6.25rem); letter-spacing: -.035em; line-height: .96; margin-top: 12px; }
.lp-hero h1 em { color: var(--teal-deep); }
.lp-lede { margin-top: 18px; font-size: var(--fs-3); color: var(--ink-soft); max-width: 40ch; }
.lp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; max-width: 520px; }
.lp-facts li { border-radius: var(--r-s); background: var(--white); padding: 14px 12px; display: grid; gap: 4px; align-content: start; }
.lp-facts b { font-family: var(--display); font-weight: 300; font-size: 2rem; line-height: 1; }
.lp-facts span { font-size: var(--fs-0); color: var(--ink-soft); line-height: 1.35; }
.lp-hero-art { position: relative; max-width: 420px; width: 100%; margin-inline: auto; aspect-ratio: 1; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.lp-pack { width: 78%; aspect-ratio: 1; border-radius: 28px; background: var(--white); overflow: hidden; display: grid; place-items: center; transform: rotate(-5deg); box-shadow: 0 18px 40px rgba(44, 42, 39, .14); }
.lp-pack img { width: 100%; height: 100%; object-fit: contain; }
.lp-badge { position: absolute; right: -2%; bottom: 6%; background: var(--butter); color: var(--ink); border-radius: 999px; padding: 14px 20px; font-size: var(--fs-1); line-height: 1.2; text-align: center; transform: rotate(6deg); display: grid; }
.lp-badge b { font-family: var(--display); font-weight: 400; font-size: 1.375rem; }
.hunt.solo { gap: 44px; }
.solo-sec { display: grid; gap: 14px; scroll-margin-top: calc(var(--head-h) + 12px); }
.solo-narrow { width: 100%; max-width: 720px; margin-inline: auto; }
.solo-head { display: grid; gap: 8px; margin-bottom: 4px; }
.solo-head h2 { font-size: clamp(2.125rem, 9vw, 3.25rem); }
.hunt.solo .how { background: var(--white); padding: 22px 20px; border-radius: var(--r); }
.hunt.solo .how > .label { display: none; }
.hunt.solo .mycard, .hunt.solo .findcard { margin-bottom: 0; }
@media (min-width: 860px) {
  .lp-hero { padding-block: 56px 64px; }
  .lp-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hunt.solo { gap: 64px; }
}
