/* MASSUNG — site styles.
   Mobile first (390px). Content caps at --max; colour bands run edge to edge.
   Depth comes from three shadow levels + gradients (tokens.css). Motion is added only when the visitor allows it. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--body); font: 400 1rem/1.55 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rex-600); outline-offset: 3px; }
.closing :focus-visible { outline-color: var(--sprout-300); }
::selection { background: var(--sage-100); color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 60; padding: 12px 18px; border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.display { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-width); font-style: var(--display-style); letter-spacing: var(--display-track); text-transform: uppercase; color: var(--ink); line-height: .9; }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.line { color: var(--sec); }
.note { margin-top: 24px; color: var(--sec); font-size: 14px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- T-rex mark ---------- */
.rex { display: block; filter: drop-shadow(0 1px 0 rgba(17, 17, 17, .22)) drop-shadow(0 5px 8px rgba(17, 17, 17, .16)); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--hair); view-transition-name: site-header; }
.site-header::after { content: ''; position: absolute; inset: 100% 0 auto; height: 20px; background: linear-gradient(rgba(17, 17, 17, .09), transparent); opacity: 0; pointer-events: none; }
.site-header.scrolled::after { opacity: 1; }
.bar { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; text-decoration: none; border-radius: var(--r-1); }
.nav { display: none; align-items: center; gap: 4px; }
.nav a, .menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--body); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.nav a[aria-current="page"], .menu a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.bar-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cta-short { display: none; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .07), inset 0 1px 0 #fff, var(--e1); cursor: pointer; }
.icon-btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--e2); opacity: 0; pointer-events: none; }
.menu-btn .i-shut { display: none; }
.site-header:has(.menu:popover-open) .menu-btn .i-open { display: none; }
.site-header:has(.menu:popover-open) .menu-btn .i-shut { display: block; }
.menu { position: fixed; inset: var(--header-h) 0 auto; width: 100%; max-width: none; margin: 0; padding: 8px var(--gutter) 20px; border: 0; border-bottom: 1px solid var(--hair); background: #fff; color: var(--ink); box-shadow: var(--e3); }
.menu:popover-open { display: grid; }
.menu::backdrop { background: rgba(17, 17, 17, .2); }
.menu a { min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--hair); color: var(--ink); font-size: 1.125rem; }
.menu a:last-child { border-bottom: 0; }

/* ---------- buttons: pill, gradient face, layered shadow ---------- */
.btn {
  --h: 48px;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 26px; border: 0; border-radius: var(--pill);
  background: var(--raised); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .09), inset 0 1px 0 #fff, var(--e1);
  font: 700 1rem/1 var(--font-body); font-stretch: 112%; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: var(--e2); opacity: 0; pointer-events: none; }
.btn.primary { background: linear-gradient(180deg, #303030 0%, #111 55%, #050505 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .3), var(--glow); }
.btn.primary::after { box-shadow: var(--glow-2); }
.btn.small { --h: 44px; padding: 0 20px; font-size: .9375rem; }
.btn.primary.small { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .3), var(--e1); }   /* the green glow is kept for the main action on a screen */
.btn.primary.small::after { box-shadow: var(--e2); }
.btn.block { width: 100%; }
.btn .ico { width: 18px; height: 18px; margin-right: -4px; }
.btn:active { filter: brightness(.94); }
.btn[aria-busy='true'] { cursor: progress; }
.btn[aria-busy='true'] .btn-label { visibility: hidden; }
.btn-spin { display: none; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.btn[aria-busy='true'] .btn-spin { display: block; }
.btn[aria-disabled='true']:not([aria-busy='true']) { cursor: not-allowed; background: var(--bone-2); color: var(--sec); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .06); }
.coming { font-size: 12px; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.text-link .ico { width: 18px; height: 18px; }

/* ---------- hero: the product stage ---------- */
/* ---------- home hero: full-bleed environment scene, copy on the dark side ---------- */
.hero2 { position: relative; display: grid; background: #010a03; color: #fff; isolation: isolate; }
.hero2-scene { position: relative; margin: 0; line-height: 0; }
.hero2-scene picture { display: block; height: 100%; }
.hero2-scene img { display: block; width: 100%; height: auto; }
.hero2-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, #010a03 100%); pointer-events: none; }
.hero2-text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 18px; width: 100%; max-width: 640px; margin-top: -40px; padding: 0 var(--gutter) clamp(44px, 9vw, 72px); container-type: inline-size; }
.hero2-text h1 { color: #fff; font-size: min(4.75rem, 9.4cqi); text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.lede-dark { max-width: 34ch; margin: 0; color: var(--moss-200); font-size: 1.125rem; }
.eyebrow { display: inline-flex; align-items: center; color: var(--sec); font-size: 13px; font-weight: 600; line-height: 1; }
.eyebrow.on-dark { padding: 8px 12px; border-radius: var(--pill); background: rgba(1, 10, 3, .72); box-shadow: inset 0 0 0 1px var(--hair-dark); color: var(--sprout-300); }
.text-link.on-dark { color: #fff; }
/* pre-launch: product images are black silhouettes with this label on the tub */
.feature-media, .g-main, .join-art { container-type: inline-size; }
.join-art { position: relative; }
.soon-tag { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); z-index: 1; color: #fff; font-size: clamp(1rem, 7.4cqi, 2.75rem); line-height: .9; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-width); font-style: var(--display-style); letter-spacing: var(--display-track); text-align: center; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.feature-media .soon-tag, .g-main .soon-tag, .join-art .soon-tag { font-size: clamp(.875rem, 5.4cqi, 2.5rem); }
.caption { color: var(--sec); font-size: 12px; text-align: center; }

/* ---------- product feature (home) + product page ---------- */
.feature { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.tone-bone50 { padding-block: var(--section); background: var(--bone-50); }
.feature-media.arch { display: none; width: 100%; aspect-ratio: 4 / 5; max-width: 520px; border-radius: var(--r-4); box-shadow: inset 0 0 0 1px var(--hair); }
.feature-media.arch img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media.arch .soon-tag { top: 60%; }

/* ---------- bento tiles: three shapes, three tones ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 280px; padding: clamp(24px, 3vw, 40px); overflow: hidden; border-radius: var(--r-4); color: var(--ink); text-decoration: none; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: var(--e2); opacity: 0; pointer-events: none; }
.tile h2 { margin-top: auto; font-size: var(--t-h3); }
.tile p { margin: 0; color: var(--sec); }
.tile .btn, .tile .text-link { margin-top: 10px; }
.tile-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--raised); box-shadow: inset 0 0 0 1px var(--hair), var(--e1); }
.tile-ico .ico { width: 24px; height: 24px; }
.tile-forest { background: var(--grain-light), var(--forest-stage); color: #fff; }
.tile-forest h2 { color: #fff; }
.tile-forest p { color: var(--moss-200); }
.tile-mark { position: absolute; right: -6%; top: 18%; z-index: -1; width: 88%; height: auto; aspect-ratio: 740 / 336; color: var(--sprout-300); opacity: .07; pointer-events: none; }
.tile-forest .tile-ico { background: rgba(1, 10, 3, .72); box-shadow: inset 0 0 0 1px var(--hair-dark); color: var(--sprout-300); }
.tile-sage { background: var(--sage-100); }
.tile-sage .text-link { color: var(--rex-700); }
.tile-bone { background: var(--grain), var(--bone-200); }
.btn.light { background: linear-gradient(180deg, #FFFFFF 0%, var(--bone-50) 100%); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -8px rgba(143, 209, 106, .45); }
.btn.light::after { box-shadow: 0 18px 38px -10px rgba(143, 209, 106, .6); }
.feature-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-4); background: var(--grain), var(--studio); }
.feature-media img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.feature-body { display: grid; justify-items: start; gap: 16px; }
.feature-body h2, .pdp-info h1 { font-size: var(--t-h2); }
.status { display: inline-flex; padding: 7px 12px; border-radius: var(--pill); background: var(--bone); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 440px; margin: 8px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.specs li { display: grid; gap: 2px; padding: 16px 0; }
.specs li + li { padding-left: 16px; border-left: 1px solid var(--hair); }
.specs b { color: var(--ink); font: 600 1.5rem/1 var(--font-data); font-stretch: 87.5%; letter-spacing: -.01em; }
.specs span { color: var(--sec); font-size: 13px; }
.pdp { padding-block: clamp(24px, 4vw, 56px) var(--section); scroll-margin-top: var(--header-h); }
.pdp-grid { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
.gallery { display: grid; gap: 12px; }
.g-main { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-4); background: var(--grain), var(--studio); }
.g-main img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.g-thumbs { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.js .g-thumbs { display: grid; }
.g-thumb { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-2); background: var(--stage); box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; }
.g-thumb img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.g-thumb[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.pdp-dark { background: #010a03; color: #fff; padding-block: clamp(32px, 5vw, 80px); }
.pdp-dark h1 { color: #fff; }
.pdp-dark .pdp-grid { align-items: center; }
.pdp-dark .pdp-info { position: static; }
.g-main.scene { aspect-ratio: 852 / 809; border-radius: var(--r-4); background: #010a03; }
.g-main.scene img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; justify-items: start; gap: 16px; }
.facts { width: 100%; max-width: 440px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.facts summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.facts summary::-webkit-details-marker { display: none; }
.facts summary::after { content: '+'; font-size: 1.375rem; font-weight: 400; }
.facts[open] summary::after { content: '\2212'; }
.sf { width: 100%; margin-bottom: 16px; padding: 10px 12px; border: 2px solid var(--ink); color: var(--ink); font-size: 14px; border-collapse: collapse; }
.sf caption { padding-bottom: 6px; text-align: left; font-size: 1.375rem; font-weight: 800; color: var(--ink); }
.sf th, .sf td { padding: 6px 10px; text-align: left; font-weight: 400; }
.sf .rule th, .sf .rule td { border-top: 6px solid var(--ink); }
.sf .head th { border-top: 6px solid var(--ink); font-weight: 700; font-size: 13px; }
.sf .num-col { text-align: right; font-family: var(--font-data); font-stretch: 87.5%; }
.sf tfoot td { border-top: 6px solid var(--ink); font-size: 13px; }

/* ---------- page head (inner pages) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 40px); }
.page-head .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section.tight { padding-top: 0; }
.band { background: var(--bone); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }

/* ---------- product cards ---------- */
.grid-products { display: grid; gap: 20px; }
.pcard { position: relative; display: grid; gap: 4px; padding: 8px; border-radius: var(--r-4); background: #fff; box-shadow: inset 0 0 0 1px var(--hair), var(--e1); scroll-margin-top: calc(var(--header-h) + 24px); }
.pcard::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--e3); opacity: 0; pointer-events: none; }
.pcard:target { box-shadow: 0 0 0 2px var(--ink), var(--e2); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-3); background: var(--stage); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6% 8% 4%; object-fit: contain; }
.chip { position: absolute; left: 14px; top: 14px; padding: 7px 12px; border-radius: var(--pill); background: #fff; box-shadow: inset 0 0 0 1px var(--hair), var(--e1); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1; }
.pcard-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 14px 14px 12px; }
.pcard-body h2, .pcard-body h3 { color: var(--ink); font-size: 1.125rem; font-weight: 600; line-height: 1.3; }

/* ---------- info cards (gyms) ---------- */
.grid-2 { display: grid; gap: 20px; }
.routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.route { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; min-height: 240px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-4); background: #fff; box-shadow: inset 0 0 0 1px var(--hair), var(--e2); }
.route-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: auto; border-radius: 50%; background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .07), inset 0 1px 0 #fff, var(--e2); }
.route-ico .ico { width: 24px; height: 24px; }
.route h2 { font-size: var(--t-h3); }
.route .btn { margin-top: 14px; }

/* ---------- waitlist sign-up band ---------- */
.closing { background: var(--grain-light), var(--forest-stage); color: #fff; }
.closing h2 { color: #fff; }
.closing .fine { color: var(--moss-200); }
.closing .fine a { color: #fff; }
.closing .mini-msg { color: var(--error-200); }
.closing .wrap { padding-block: var(--section); }
.signup { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 20px; max-width: 760px; margin-inline: auto; text-align: center; }
.mini { display: flex; align-items: center; width: 100%; max-width: 520px; padding: 6px; border-radius: var(--pill); background: #fff; box-shadow: inset 0 0 0 1px var(--hair), var(--e2); }
.mini:focus-within { box-shadow: inset 0 0 0 2px var(--ink), var(--e2); }
.mini input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 18px; border: 0; background: none; color: var(--ink); font-size: 1rem; outline: none; }
.mini input::placeholder { color: var(--sec); }
.mini .btn { flex: none; }
.mini-msg { color: var(--error); font-size: 14px; }
.mini-msg:empty { display: none; }
.fine { color: var(--sec); font-size: 13px; }
.fine a { color: var(--ink); }

/* ---------- waitlist page ---------- */
.join { background: var(--grain), var(--studio); }
.join-grid { display: grid; gap: 32px; align-items: center; padding-block: clamp(24px, 5vw, 72px) var(--section); }
.join-art { display: none; }
.formcard { width: 100%; max-width: 600px; margin-inline: auto; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-4); background: #fff; box-shadow: inset 0 0 0 1px var(--hair), var(--e3); }
.formcard h1 { margin-bottom: 28px; font-size: var(--t-h2); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field > legend { padding: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--field); border-radius: var(--r-1); background: #fff; color: var(--ink); font-size: 1rem; box-shadow: inset 0 1px 2px rgba(17, 17, 17, .05); }
.input:hover { border-color: var(--ink-2); }
.input:focus { border-color: var(--ink); }
.input[aria-invalid='true'] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.err { color: var(--error); font-size: 13px; }
.seg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg { position: relative; display: block; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--field); border-radius: var(--r-1); background: #fff; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.seg input:checked + span { border-color: var(--rex-600); background: var(--sage-100); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--rex-600); outline-offset: 3px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; color: var(--ink); font-size: .9375rem; font-weight: 500; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--rex-600); }
.check input[aria-invalid='true'] { outline: 2px solid var(--error); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { color: var(--error); font-size: 14px; }
.msg.info { color: var(--sec); }
.msg:empty, #turnstile-slot:empty { display: none; }
.success { display: grid; justify-items: start; gap: 18px; outline: none; }
.success-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(180deg, #43A024, var(--rex-600)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), var(--glow); }
.success-mark .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.success p { color: var(--ink); font-size: var(--t-h3); line-height: .95; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-width); font-style: var(--display-style); letter-spacing: var(--display-track); text-transform: uppercase; }

/* ---------- survey ---------- */
.poll-page .wrap { padding-block: clamp(24px, 5vw, 72px) var(--section); }
.pollcard { max-width: 760px; }
.poll-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 16px; }
.poll-top h1 { margin: 0; font-size: var(--t-h2); }
.step-label { color: var(--sec); font-size: 14px; font-weight: 600; }
.progress { height: 6px; margin-bottom: 32px; overflow: hidden; border-radius: var(--pill); background: var(--bone-2); }
.progress span { display: block; width: 33.34%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rex-700), var(--rex-600)); }
.step-title { margin: 0 0 12px; color: var(--ink); font-size: var(--t-h3); line-height: .95; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-width); font-style: var(--display-style); letter-spacing: var(--display-track); text-transform: uppercase; outline: none; }
.lede { max-width: 62ch; margin: 0 0 28px; color: var(--body); }
.q { display: grid; gap: 12px; min-width: 0; margin: 0 0 36px; padding: 0; border: 0; }
.q legend { padding: 0; margin-bottom: 4px; color: var(--ink); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.q:focus { outline: none; }
.hint { margin: -4px 0 0; color: var(--sec); font-size: 14px; }
.hint .count { color: var(--ink); font-weight: 600; }
.opts { display: grid; gap: 8px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px 10px 14px; border: 1px solid var(--field); border-radius: var(--r-1); background: #fff; color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.3; }
.opt span::before { content: ''; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--field); border-radius: 50%; background: #fff; }
.opt.multi span::before { border-radius: 6px; }
.opt input:checked + span { border-color: var(--rex-600); background: var(--sage-100); box-shadow: inset 0 0 0 1px var(--rex-600); }
.opt input:checked + span::before { border-color: var(--rex-600); background: var(--rex-600) center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.opt input:focus-visible + span { outline: 2px solid var(--rex-600); outline-offset: 3px; }
.opt input:disabled { cursor: not-allowed; }
.opt input:disabled + span { opacity: .45; }
.input.other { margin-top: 2px; }
.input.other[hidden] { display: none; }
.scale-key { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 0; color: var(--sec); font-size: 13px; }
.scale-key b { color: var(--ink); }
.rates { display: grid; }
.rate { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--hair); }
.rate-name { margin: 0; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.num { position: relative; display: block; }
.num input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.num span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--field); border-radius: var(--r-1); background: #fff; color: var(--ink); font-size: 1rem; font-weight: 600; }
.num input:checked + span { border-color: var(--rex-600); background: var(--rex-600); color: #fff; }
.num input:focus-visible + span { outline: 2px solid var(--rex-600); outline-offset: 3px; }
.opt-note { color: var(--sec); font-weight: 400; }
textarea.input { height: auto; min-height: 96px; padding: 14px 16px; line-height: 1.45; resize: vertical; }
.select { padding-right: 44px; background: #fff center right 14px / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366615A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); -webkit-appearance: none; appearance: none; cursor: pointer; }
.consents { gap: 2px; }
.check.long { align-items: flex-start; padding-block: 8px; }
.check.long input { margin-top: 2px; }
.check.long span { font-size: .875rem; font-weight: 400; line-height: 1.4; color: var(--body); }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.step-nav .btn { min-width: 120px; }
.step-nav #next-btn, .step-nav #submit-btn { margin-left: auto; }
.pform .fine { margin-top: 20px; }
.q[aria-invalid='true'] legend { color: var(--error); }
.code-block { display: grid; gap: 8px; width: 100%; }
.code-label { color: var(--sec); font-size: 13px; font-weight: 600;  }
.code { display: block; padding: 18px 20px; border-radius: var(--r-3); background: var(--raised); box-shadow: inset 0 0 0 1px var(--hair), var(--e2); color: var(--ink); font: 500 clamp(1.75rem, 8vw, 2.75rem)/1 var(--font-data); font-stretch: 87.5%; letter-spacing: .02em; text-align: center; user-select: all; -webkit-user-select: all; }

.thanks-dialog { width: min(480px, calc(100% - 24px)); max-height: 92dvh; margin: auto; padding: 0; border: 0; border-radius: var(--r-4); background: #fff; color: var(--body); box-shadow: 0 0 0 1px var(--hair), var(--e3); overflow: auto; }
.thanks-dialog::backdrop { background: rgba(17, 17, 17, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.thanks-body { display: grid; justify-items: start; gap: 18px; padding: clamp(24px, 5vw, 40px); }
.thanks-body .step-title { margin: 0; font-size: var(--t-h2); }
.thanks-body .actions .btn { flex: 1 1 auto; }

/* ---------- legal / utility ---------- */
.legal { max-width: 720px; padding-block: clamp(40px, 6vw, 72px) var(--section); }
.legal h1 { margin-bottom: 12px; font-size: var(--t-h2); }
.legal h2 { margin: 40px 0 10px; color: var(--ink); font-size: 1.625rem; line-height: 1; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-width); font-style: var(--display-style); letter-spacing: var(--display-track); text-transform: uppercase; }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 8px; padding-left: 20px; list-style: disc; }
.legal a { color: var(--ink); }
.notfound { padding-block: clamp(64px, 12vw, 160px); }
.notfound .actions { margin-top: 32px; }

/* ---------- footer ---------- */
.site-footer { background: var(--grain), var(--bone-100); }
.site-footer .wrap { display: grid; gap: 28px; padding-block: 56px 72px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.foot-brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; }
.foot-brand .rex { width: 52px; height: 24px; }
.wordmark { font-size: 1.375rem; line-height: 1; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none; text-underline-offset: 5px; }
.legal-row { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid var(--hair); }
.site-footer small { display: block; max-width: 86ch; color: var(--sec); font-size: 13px; line-height: 1.5; }

/* ---------- MASSUNG wordmark animation (header logo) ---------- */
.mu { position: relative; display: inline-block; width: 80px; height: 36px; }
.mu-word { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 100%; font-style: var(--display-style); font-size: 20px; color: var(--ink); line-height: 1; letter-spacing: -.01em; white-space: nowrap; opacity: 0; pointer-events: none; }
.mu-word span { display: inline-block; flex: none; }
.mu-rex { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- hover (mouse / trackpad only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after, .icon-btn:hover::after, .pcard:hover::after { opacity: 1; }
  .btn.primary:hover { filter: brightness(1.18); }
  .site-footer nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
}

/* ---------- motion (only when allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  html { scroll-behavior: smooth; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: var(--ease); }
  .site-header::after, .btn::after, .icon-btn::after, .pcard::after { transition: opacity .25s var(--ease); }
  .btn, .icon-btn { transition: transform .2s var(--ease), filter .2s var(--ease); }
  .btn .ico, .text-link .ico { transition: transform .2s var(--ease); }
  .btn:active, .icon-btn:active { transform: scale(.97); transition-duration: .06s; }
  .pcard { transition: transform .35s var(--ease); }
  .pcard-media img { transition: transform .6s var(--ease); }
  @media (hover: hover) and (pointer: fine) {
    .btn:hover, .icon-btn:hover { transform: translateY(-1px); }
    .btn:hover:active, .icon-btn:hover:active { transform: scale(.97); }
    .btn:hover .ico, .text-link:hover .ico { transform: translateX(3px); }
    .tile { transition: transform .3s var(--ease); }
    .tile:hover { transform: translateY(-4px); }
    .tile::after { transition: opacity .3s var(--ease); }
    .tile:hover::after { opacity: 1; }
    .tile:hover .ico { transform: none; }
    .pcard:hover { transform: translateY(-4px); }
    .pcard:hover .pcard-media img { transform: scale(1.04); }
  }
  .js [data-rise] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js [data-rise].in { opacity: 1; transform: none; }
  .btn[aria-busy='true'] .btn-spin { animation: spin .7s linear infinite; }
  .thanks-dialog { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .25s var(--ease), transform .25s var(--ease), overlay .25s allow-discrete, display .25s allow-discrete; }
  .thanks-dialog[open] { opacity: 1; transform: none; }
  @starting-style { .thanks-dialog[open] { opacity: 0; transform: translateY(12px) scale(.98); } }
  .thanks-dialog::backdrop { transition: opacity .25s var(--ease); }
  @starting-style { .thanks-dialog[open]::backdrop { opacity: 0; } }
  .progress span { transition: width .35s var(--ease); }
}
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- small phones ---------- */
@media (max-width: 599px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .pcard-body .btn { width: 100%; }
}

/* ---------- tablet and up ---------- */
@media (min-width: 760px) {
  .nav { display: flex; }
  .menu-btn, .menu { display: none !important; }
}
@media (min-width: 700px) {
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts .input.other { grid-column: 1 / -1; }
  .grid-products, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .form .full { grid-column: 1 / -1; }
  .legal-row { grid-template-columns: auto 1fr; gap: 48px; }
  .route { min-height: 300px; }
}
@media (min-width: 900px) {
  .mu { width: 96px; height: 44px; }
  .mu-word { font-size: 24px; }
}
@media (min-width: 900px) {
  .feature, .pdp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero2 { min-height: min(calc(100svh - var(--header-h)), 860px); align-items: center; }
  .hero2-scene { position: absolute; inset: 0; }
  .hero2-scene img { height: 100%; object-fit: cover; object-position: 78% 50%; }
  .hero2-scene::after { background: linear-gradient(to right, rgba(1, 10, 3, .55), transparent 55%); }
  .hero2-text { margin: 0; padding: clamp(56px, 8vw, 112px) var(--gutter); max-width: none; width: min(calc(var(--max, 1200px)), 100%); margin-inline: auto; }
  .hero2-text > * { max-width: 560px; }
  .hero2-text h1 { font-size: min(5.25rem, 7.6vw); max-width: 8.5em; }
  .arch-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-items: center; }
  .feature-media.arch { display: block; }
  .bento { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .tile { min-height: 420px; }
  .pdp-info { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (min-width: 1000px) {
  .join-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; }
  .join-art { display: grid; place-items: center; }
  .join-art img { width: 100%; max-width: 560px; max-height: 70dvh; object-fit: contain; }
  .formcard { margin-inline: 0; }
}


/* ---------- store: cards, product buy row, cart drawer ---------- */
.grid3 { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.card { display: grid; gap: 16px; align-content: start; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-4); background: var(--grain), var(--studio); container-type: inline-size; box-shadow: inset 0 0 0 1px var(--hair); }
.card-media { background: #010a03; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media .soon-tag { font-size: clamp(.875rem, 6cqi, 2rem); top: 62%; }
.card-body { display: grid; justify-items: start; gap: 4px; }
.card-name { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.card-name a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.card-var, .card-price { margin: 0; color: var(--sec); font-size: .9375rem; }
.card-price { margin-bottom: 12px; color: var(--ink); font-weight: 600; }
html:not(.js) [data-add], .buy:not(.on) { display: none; }
.buy.on { display: flex; align-items: end; flex-wrap: wrap; gap: 10px 12px; }
.qty-l { flex-basis: 100%; color: var(--moss-200); font-size: 13px; font-weight: 600; }
.qty { width: 84px; height: 56px; padding: 0 14px; border: 0; border-radius: var(--pill); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--hair-dark); color: #fff; font: inherit; font-size: 1.0625rem; text-align: center; }
.p-price { margin: 0; color: #fff; font-size: 1.5rem; font-weight: 700; }
.back { font-size: .9375rem; }
.cart-btn { margin-right: 2px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--rex-600); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.cart-count[hidden] { display: none; }
.cart { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: var(--e3); }
.cart[open] { display: flex; flex-direction: column; animation: cart-in .28s cubic-bezier(.2, .8, .2, 1); }
.cart::backdrop { background: rgba(1, 10, 3, .55); }
@keyframes cart-in { from { transform: translateX(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cart[open] { animation: none; } }
.cart-open { overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--hair); }
.cart-title { margin: 0; font-size: 1.25rem; }
.cart-body { flex: 1; overflow: auto; padding: 8px 20px; }
.cart-empty { color: var(--sec); }
.cart-lines { margin: 0; padding: 0; list-style: none; }
.cart-line { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.cart-info { display: grid; gap: 4px; justify-items: start; }
.cart-var { color: var(--sec); font-size: .875rem; }
.cart-price { display: grid; justify-items: end; align-content: space-between; font-weight: 600; }
.cart-rm { padding: 8px 0; border: 0; background: none; color: var(--sec); font: inherit; font-size: .875rem; text-decoration: underline; cursor: pointer; }
.stepper { display: inline-flex; align-items: center; margin-top: 6px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--hair); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.stepper button:disabled { color: var(--sec); cursor: not-allowed; }
.stepper .q { min-width: 28px; line-height: 44px; text-align: center; font-weight: 600; }
.cart-foot { display: grid; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--hair); background: var(--bone-50); }
.cart-sub { display: flex; justify-content: space-between; font-size: 1.0625rem; }
.cart-note, .cart-msg { margin: 0; color: var(--sec); font-size: .875rem; }
.cart-msg:empty { display: none; }
@media (min-width: 700px) { .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.join-art img { border-radius: var(--r-4); }

/* ---------- gym band + T-rex stage ---------- */
.gymband { position: relative; background: #010a03; color: #fff; isolation: isolate; }
.gymband-scene { position: relative; margin: 0; line-height: 0; }
.gymband-scene img { display: block; width: 100%; height: auto; }
.gymband-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, #010a03 100%); pointer-events: none; }
.gymband-text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 14px; margin-top: -28px; padding: 0 var(--gutter) clamp(40px, 8vw, 64px); }
.gymband-text h2 { color: #fff; margin: 0; }
.gymband-text .lede-dark { margin: 0; }
@media (min-width: 700px) {
  .gymband { display: grid; align-items: center; min-height: clamp(380px, 38vw, 560px); }
  .gymband-scene { position: absolute; inset: 0; }
  .gymband-scene img { height: 100%; object-fit: cover; object-position: 70% 50%; }
  .gymband-scene::after { background: none; }
  .gymband-text { margin: 0 auto; width: min(100% - var(--gutter) * 2, var(--max)); padding: 56px 0; }
}
.rexstage { background: #010a03; overflow: hidden; }
.rex-fig { margin: 0; line-height: 0; transition: transform .25s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.rex-fig img { display: block; width: min(100%, 1400px); height: auto; margin-inline: auto; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
