/* PERP PAY landing. Plain CSS, no build step. */
:root {
  --ink: #000;
  --paper: #fff;
  --grey: #b8b8b8;
  --rule: rgba(0, 0, 0, .9);
  --pad: 10px;
  --h1: clamp(34px, 4.445vw, 64px);
  --h2: clamp(28px, 2.5vw, 36px);
  --sans: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* category accents: one bold colour per category, shared with /app/style.css */
  --food: #ff5a1f;
  --gaming: #2b50ff;
  --streaming: #3ddc84;
  --shopping: #ff2d55;
  --travel: #22b8ff;
  --prepaid: #ffd400;
}
.c-food      { --acc: var(--food);      --acc-ink: #000; }
.c-gaming    { --acc: var(--gaming);    --acc-ink: #fff; }
.c-streaming { --acc: var(--streaming); --acc-ink: #000; }
.c-shopping  { --acc: var(--shopping);  --acc-ink: #fff; }
.c-travel    { --acc: var(--travel);    --acc-ink: #000; }
.c-prepaid   { --acc: var(--prepaid);   --acc-ink: #000; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
ul { list-style: none; }

/* type */
.m {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -.6px;
  text-transform: uppercase;
}
.h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--h1);
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--h2);
  line-height: .8;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
a.m:hover, .nav a:hover, .foot a:hover { color: #8a8a8a; }

/* preloader: CSS-only fade so it can never hang */
.pre {
  position: fixed; inset: 0; z-index: 100;
  background: #000; color: #fff;
  display: grid; place-items: center;
  pointer-events: none;
  animation: preOut .45s ease 1.2s forwards;
}
.pre-dim { color: #5a5a5a; }
@keyframes preOut { to { opacity: 0; visibility: hidden; } }

/* 1. header */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: grid;
  grid-template-columns: 50% 1fr auto;
  align-items: start;
  padding: var(--pad);
}
.brand {
  font-size: 40px; line-height: .85; letter-spacing: -.05em;
  text-transform: uppercase; font-weight: 500;
}
.nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 28px; }
.nav-col { display: flex; flex-direction: column; }
.nav-col span { margin-left: 2px; }
.clock { display: flex; flex-direction: column; text-align: right; }
.menu-btn { display: none; cursor: pointer; }

/* 2. hero */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
}
.stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  perspective: 2200px;
}
.stage { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.stage a { cursor: inherit; }
.stage.grabbing { cursor: grabbing; }
/* static fallback; landing.js drives this transform (drag + inertia + idle spin) */
.fan {
  position: relative; width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotateX(-16deg) rotateY(24deg) rotateZ(10deg);
  will-change: transform;
}
.card {
  position: absolute; left: 0; top: -181px;
  width: 314px; height: 363px;
  transform-origin: 0 50%;
  transform: rotateY(calc(var(--i) * 30deg));
  outline: 1px solid rgba(0, 0, 0, .07);
  -webkit-user-drag: none;
}
.side { position: absolute; top: 50%; transform: translateY(-50%); }
.side-l { left: var(--pad); }
.side-r { right: var(--pad); }
.hero-bio { position: absolute; left: var(--pad); bottom: var(--pad); max-width: 330px; }
.scroll { position: absolute; left: 50%; bottom: var(--pad); transform: translateX(-50%); white-space: nowrap; }

/* section heads */
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 42px;
}
.sec-head sup { vertical-align: top; position: relative; top: 2px; margin-left: 3px; letter-spacing: -.6px; }

/* 3. shop */
.latest { padding: 52px var(--pad) 100px; }
.grid5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 10px; row-gap: 56px;
  align-items: end;
}
.work { display: flex; flex-direction: column; }
.work .plate, .work .ph { display: block; width: 100%; }
/* hover: a category plate floods with its category colour; brand plates keep the brand's own colours */
.work .plate { transition: background-color .25s, color .25s; }
.work:hover .plate.cat { --pp: var(--acc); --pi: var(--acc-ink); --pd: var(--acc-ink); }
.work .ph img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.work:hover .ph img { transform: scale(1.035); }
.cap { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; white-space: nowrap; }
.chip { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--acc, #000); vertical-align: 1px; }
/* photo tiles carry a thin colour bar between image and caption */
.look .ph { border-bottom: 4px solid var(--acc); }


/* 4. how it works */
.svc { padding: 0 var(--pad) 100px; }
.svc .sec-head { margin-bottom: 64px; }
.svc-row {
  display: grid; grid-template-columns: 50% 50%;
  border-top: 1px solid var(--rule);
  padding: 12px 0;
}
.svc-row:last-child { border-bottom: 1px solid var(--rule); }
.svc-l { display: flex; flex-direction: column; justify-content: space-between; padding-right: 10px; min-height: 200px; }
.svc-foot { display: flex; justify-content: space-between; gap: 10px; }
.tg button { cursor: pointer; color: var(--grey); text-transform: uppercase; letter-spacing: -.6px; }
.tg button.on { color: var(--ink); }
.svc-r { position: relative; height: 200px; overflow: hidden; padding-left: 5px; }
.strip { display: flex; gap: 5px; height: 100%; }
.strip .plate, .strip .ph { flex: none; width: 160px; height: 200px; }
.strip .plate.w { width: 320px; }
.desc { display: none; max-width: 540px; font-size: 16px; }
.svc-row.txt .strip { display: none; }
.svc-row.txt .desc { display: block; }

/* label rows + splits */
.lbl-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 50% 50%; }

/* 5. statement */
.stmt { padding: 96px var(--pad) 120px; }
.stmt-text { max-width: 1420px; }
.stmt-text.rv .w { color: #c4c4c4; transition: color .25s; }
.stmt-text.rv .w.on, .stmt-text.rv .lead .w { color: var(--ink); }

/* 6. showcase */
/* base (no JS / reduced motion): statement, then a full black panel */
.show { position: relative; }
.show-sticky { position: relative; }
.show-panel {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  background: #000; color: #fff;
  overflow: hidden;
}
/* enhanced: statement stays put while the panel grows over it */
html.js .show { height: 420vh; }
html.js .show-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html.js .show-sticky .stmt { position: absolute; left: 0; right: 0; top: 0; }
html.js .show-panel { position: absolute; inset: 0; height: auto; min-height: 0; clip-path: inset(62% 0% 0% 50%); }
.room { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 50%; opacity: .4; }
html.js .room { opacity: 1; }
.cam {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform-style: preserve-3d;
  transform: scale3d(var(--s, 1), var(--s, 1), var(--s, 1)) translateZ(var(--z, 380px));
}
.wall {
  position: absolute; left: 0; top: 0;
  background: #070707;
  outline: 1px solid #222;
  overflow: hidden;
}
.w-back { width: 900px; height: 520px; margin: -260px 0 0 -450px; transform: translateZ(-1000px); padding: 18px; }
.w-left, .w-right { width: 1000px; height: 520px; margin: -260px 0 0 -500px; padding: 60px; }
.w-left { transform: translateX(-450px) translateZ(-500px) rotateY(90deg); display: flex; gap: 30px; align-items: center; }
.w-right { transform: translateX(450px) translateZ(-500px) rotateY(-90deg); }
.w-floor, .w-ceil {
  width: 900px; height: 1000px; margin: -500px 0 0 -450px;
  background: #050505 repeating-linear-gradient(0deg, transparent 0 99px, #1a1a1a 99px 100px);
}
.w-floor { transform: translateY(260px) translateZ(-500px) rotateX(90deg); }
.w-ceil { transform: translateY(-260px) translateZ(-500px) rotateX(-90deg); }
.w-left > * { flex: 1; height: 300px; min-width: 0; }
.w-left > :nth-child(2) { height: 380px; }
.w-right p.m { color: #8a8a8a; margin-bottom: 24px; }
.wr-txt { font-size: 38px; line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; max-width: 560px; }
.wr-pl { position: absolute; right: 60px; bottom: 60px; width: 260px; height: 190px; }
.wb-top, .wb-bot { position: absolute; left: 18px; right: 18px; display: flex; justify-content: space-between; color: #9a9a9a; font-size: 10px; }
.wb-top { top: 14px; }
.wb-bot { bottom: 14px; }
.wb-menu { position: absolute; left: 60px; top: 50%; transform: translateY(-50%); }
.wb-menu li { font-size: 44px; line-height: .92; letter-spacing: -.04em; text-transform: uppercase; }
.wb-menu sup { font-size: 9px; vertical-align: top; margin-left: 3px; color: #9a9a9a; }
.wb-pl { position: absolute; }
/* hung on one centre line, like a gallery wall */
.wb-pl.a { right: 220px; top: 185px; width: 190px; height: 150px; }
.wb-pl.b { right: 440px; top: 190px; width: 110px; height: 140px; }
.wb-pl.c { right: 70px; top: 195px; width: 120px; height: 130px; }
.wall .plate, .wall .ph { outline: 1px solid #262626; }
.sc-word { position: absolute; top: 50%; margin-top: calc(var(--h1) * -.5); color: #fff; z-index: 2; white-space: nowrap; }
.sc-l { right: 50%; }
.sc-r { left: 50%; }
.sc-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad);
  display: flex; justify-content: space-between; color: #bdbdbd; z-index: 2;
}

/* 7. stats + 8. faq rows */
.stats, .faq { padding: 96px var(--pad) 100px; }
.rows { margin-top: 24px; }
.srow {
  display: grid; grid-template-columns: 50% 1fr auto; align-items: center;
  min-height: 52px; padding: 10px 0;
  border-top: 1px solid var(--rule);
}
.srow:last-child { border-bottom: 1px solid var(--rule); }
.srow b { font-weight: 500; }
.stats-note { margin: 20px 0 0 50%; max-width: 560px; color: #8a8a8a; }
/* the one full-bleed colour band: the numbers sit on gaming blue */
.stats { --rule: rgba(255, 255, 255, .85); background: var(--gaming); color: #fff; }
.stats .stats-note { color: rgba(255, 255, 255, .72); }

.q { border-top: 1px solid var(--rule); }
.q:last-child { border-bottom: 1px solid var(--rule); }
.q summary {
  display: grid; grid-template-columns: 50% 1fr 20% 14px; align-items: center;
  min-height: 60px; cursor: pointer; list-style: none;
}
.q summary::-webkit-details-marker { display: none; }
.q summary:hover .qt { color: #8a8a8a; }
.qc { color: #8a8a8a; }
.arr { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid currentColor; justify-self: end; transition: transform .25s; }
.q[open] .arr { transform: rotate(180deg); }
.qa { padding: 0 0 24px 50%; }
.qa p { max-width: 520px; }

/* 9. pull quote */
.quote {
  background: #000; color: #fff;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 96px var(--pad);
  text-align: center;
}
.quote-in { display: flex; flex-direction: column; align-items: center; }
.q-pl { display: block; width: 48px; height: 60px; margin: 40px 0 32px; }
.quote blockquote { font-size: 20px; line-height: 1.35; letter-spacing: -.02em; max-width: 620px; }
.q-who { margin-top: 32px; }
.q-who span { color: #8a8a8a; }

/* 10. cta */
.cta { padding: 96px var(--pad) 100px; }
.cta-p { max-width: 360px; margin-top: 24px; }
.cta-go { display: inline-block; margin-top: 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 56px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f.full, .form-foot { grid-column: 1 / -1; }
.f input, .f select, .f textarea {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  padding: 6px 0 10px;
  font-size: 14px;
  outline: none;
  appearance: none; -webkit-appearance: none;
  resize: vertical;
}
.f select { cursor: pointer; color: #8a8a8a; }
.f input:focus, .f select:focus, .f textarea:focus { border-bottom-color: #000; }
.f ::placeholder { color: #a8a8a8; }
.form-foot { display: flex; gap: 20px; align-items: center; }
.form-foot button { cursor: pointer; }
.form-msg { color: #8a8a8a; }

/* 11. image marquee */
.mq { overflow: hidden; padding: 0 0 96px; }
.mq-track { display: flex; width: max-content; animation: mq 70s linear infinite; }
.mq-set { display: flex; align-items: flex-start; gap: 10px; padding-right: 10px; }
.mq-set .plate { flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }

/* 12. footer */
.foot { padding: 0 var(--pad) var(--pad); overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 50% 25% 25%; }
.foot-cols div { display: flex; flex-direction: column; }
.foot-r { text-align: right; }
.dim { color: #8a8a8a; }
.giant {
  font-weight: 500;
  font-size: 36vw;
  line-height: .73;
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 48px 0 18px -.045em;
}
.foot-bot { display: grid; grid-template-columns: 50% 1fr 1fr auto; gap: 10px; }

/* plates: one visual language for every image on the page.
   Flat cards, one centred mark, a mono label in the corner. */
.plate {
  --pp: #f4f3ef; --pi: #000; --pd: #8d8c87;
  display: block; overflow: hidden;
  container-type: size;
  background: var(--pp); color: var(--pi);
}
:where(.plate) { position: relative; } /* zero specificity: .card / .wb-pl keep their own positioning */
.pl-black { --pp: #000; --pi: #f4f3ef; --pd: #7c7c79; }
.pl-grey { --pp: #e3e2dc; --pd: #7f7e79; }
.pl-acc { --pp: var(--acc); --pi: var(--acc-ink); --pd: var(--acc-ink); }
.pl-acc .pl-lab, .pl-acc .pl-no { opacity: .8; }
/* single-brand plate on the brand's own signature colour (--bp), mark in --bpi */
.pb { --pp: var(--bp); --pi: var(--bpi); --pd: var(--bpi); }
.pb .pl-lab, .pb .pl-no { opacity: .82; }

/* photos: one campaign grade for every picture (contrast up, a touch warm,
   fine grain), paper underneath while they load, mono label in white */
.ph {
  display: block; overflow: hidden; isolation: isolate;
  container-type: size;
  background: #e9e7e1; color: #fff;
}
:where(.ph) { position: relative; }
.ph img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 35%;
  filter: contrast(1.08) saturate(1.06) sepia(.07);
  -webkit-user-drag: none; user-select: none;
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .58), rgba(0, 0, 0, .18) 30%, rgba(0, 0, 0, 0) 48%);
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph .ph-lab, .ph .pl-no {
  position: absolute; left: max(8px, 4.2cqw); z-index: 2;
  font-size: 9px; line-height: 1.3; letter-spacing: -.04em;
  color: rgba(255, 255, 255, .82); white-space: nowrap; pointer-events: none;
}
.ph .ph-lab { bottom: max(10px, 4.6cqw); display: flex; flex-direction: column; }
.ph .pl-no { top: max(8px, 4.2cqw); }
.ph .pl-t { color: #fff; }
.card.ph .ph-lab, .card.ph .pl-no { font-size: clamp(6.5px, 3.1cqw, 10px); }
.mq .ph .ph-lab { font-size: 10px; }
.card.ph { border-bottom: 5px solid var(--acc); }
/* the product, printed on the photo like a campaign: brand mark in the upper
   right, sized as a share of the photo width (--mw, in % of width) */
.ph .ph-mk {
  position: absolute; z-index: 2; top: max(10px, 6cqw); right: max(10px, 6cqw);
  width: calc(var(--mw, 20) * 1cqw); height: auto; overflow: visible;
  color: #fff; pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, .22));
}
.ph .ph-mk.dk { color: #000; filter: none; }
.ph .ph-mk.l { right: auto; left: max(10px, 6cqw); }
/* lower right, sitting just above the three-line caption so neither covers the other */
.ph .ph-mk.br { top: auto; bottom: calc(max(10px, 4.6cqw) + 50px); }
/* a gift-card code chip on the one photo without a brand */
.ph .ph-code {
  position: absolute; z-index: 2; top: max(8px, 6cqw); right: max(8px, 6cqw);
  padding: 3px 5px 2px; background: #fff; color: #000;
  font-size: 9px; line-height: 1.3; letter-spacing: 0; white-space: nowrap; pointer-events: none;
}
.pl-c { position: absolute; left: 0; right: 0; top: 0; bottom: 14%; display: grid; place-items: center; }
.mk { display: block; flex: none; width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); overflow: visible; }
.tk {
  display: block; font-weight: 500; font-size: calc(var(--f) * var(--u)); line-height: 1;
  letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap;
}
.el {
  position: relative; display: block; flex: none;
  width: calc(1.7 * var(--u)); height: calc(1.7 * var(--u));
  border: 1px solid currentColor;
  container-type: size;
}
.el i { position: absolute; font-style: normal; font-family: var(--mono); font-size: max(6px, 8.5cqw); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.el-n { left: 9cqw; top: 9cqw; }
.el-m { right: 9cqw; top: 9cqw; }
.el-nm { left: 0; right: 0; bottom: 10cqw; text-align: center; }
.el-s { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-54%); text-align: center; font-weight: 500; font-size: 44cqw; line-height: 1; letter-spacing: -.05em; }
@container (max-width: 50px) { .el i { display: none; } .el-s { font-size: 50cqw; } }
.pl-lab, .pl-no {
  position: absolute; left: max(8px, 4.2cqw);
  font-size: 9px; line-height: 1.3; letter-spacing: -.04em;
  color: var(--pd); white-space: nowrap; pointer-events: none;
}
.pl-lab { bottom: max(8px, 4.2cqw); display: flex; flex-direction: column; }
.pl-no { top: max(8px, 4.2cqw); }
.pl-t { color: var(--pi); }
.card .pl-lab, .card .pl-no { font-size: clamp(6.5px, 3.1cqw, 10px); }
.mq .pl-lab { font-size: 10px; }
.bk-lab { right: max(8px, 4.2cqw); white-space: normal; }
.bk-g { position: absolute; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; }
.bk-c { display: grid; place-items: center; }
.dr { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dr path, .dr .ln { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: square; stroke-linejoin: miter; }
.dr .d { stroke: var(--pd); stroke-width: 1; }
.dr .ds { stroke-dasharray: 3 3; }
.dr circle { fill: currentColor; stroke: none; }
.dr circle.ln { fill: none; stroke: currentColor; }
.dr circle.ho { fill: var(--pp); stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dr text { fill: var(--pd); font-family: var(--mono); font-size: 9px; letter-spacing: -.4px; text-transform: uppercase; }
.dr text.cd { fill: currentColor; font-size: 12px; letter-spacing: 0; }

/* responsive */
@media (max-width: 1100px) {
  .card { width: 250px; height: 290px; top: -145px; }
}
@media (max-width: 809px) {
  /* header: compact wordmark + a menu that opens the links in normal flow */
  .top { position: relative; grid-template-columns: 1fr auto; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid rgba(0, 0, 0, .12); }
  .brand { font-size: 28px; display: flex; align-items: center; min-height: 52px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0 0 16px; font-size: 13px; }
  .clock { display: none; }
  .nav { display: none; grid-column: 1 / -1; grid-template-columns: 1fr; padding-bottom: 6px; }
  .top.open .nav { display: grid; }
  .nav-col { display: contents; }
  .nav a { display: flex; align-items: center; min-height: 48px; font-size: 13px; border-top: 1px solid rgba(0, 0, 0, .12); }
  /* hero: fills the small viewport under the header; labels sit above and below the fan */
  .hero { height: calc(100vh - 53px); height: calc(100svh - 53px); min-height: 540px; }
  .card { --cw: min(168px, 44vw); width: var(--cw); height: calc(var(--cw) * 1.157); top: calc(var(--cw) * -.578); }
  .card .pl-lab, .card .pl-no, .card.ph .ph-lab, .card.ph .pl-no { font-size: 11px; }
  .side { top: 14px; transform: none; }
  .hero-bio { max-width: none; right: var(--pad); bottom: 52px; }
  .scroll { display: inline-flex; align-items: center; min-height: 44px; bottom: 2px; }
  /* tap targets */
  .sec-head > a.m, .cta-go, .form-foot button, .foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .sec-head { align-items: center; }
  .tg button { min-height: 44px; padding: 0 4px; }
  .svc-foot { align-items: center; flex-wrap: wrap; gap: 0 10px; }
  .tg { white-space: nowrap; }
  .ph .ph-mk.br { bottom: calc(max(10px, 4.6cqw) + 54px); }
  .grid5 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .grid5 > :nth-child(15) { display: none; } /* odd one out on two columns */
  .grid5 .ph-lab, .grid5 .pl-lab, .bk-lab { font-size: 11px; }
  .bk-lab:not(:has(.pl-t)) { display: none; } /* the caption under the tile names the category */
  .cap { flex-direction: column; gap: 2px; white-space: normal; }
  .svc .sec-head { margin-bottom: 32px; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-l { min-height: 0; gap: 12px; padding: 0 0 12px; }
  /* how it works: the strip scrolls sideways instead of being cut off */
  .svc-r { height: auto; padding-left: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--pad) * -1); }
  .svc-r::-webkit-scrollbar { display: none; }
  .strip { height: 188px; width: max-content; padding-right: var(--pad); }
  .strip .plate, .strip .ph { width: 150px; height: 188px; scroll-snap-align: start; }
  .strip .plate.w { width: 300px; }
  .strip .pl-lab, .strip .ph-lab, .strip .ph-code { font-size: 11px; }
  .svc-row.txt .svc-r { height: auto; overflow: visible; margin-right: 0; }
  .split { grid-template-columns: 1fr; }
  .split > div:empty { display: none; }
  .stmt { padding: 64px var(--pad) 80px; }
  .stats, .faq, .cta { padding: 64px var(--pad) 64px; }
  .srow { grid-template-columns: 44px 1fr; row-gap: 6px; }
  .srow > span:last-child { grid-column: 2; }
  .stats-note { margin-left: 0; }
  .q summary { grid-template-columns: 44px 1fr 14px; padding: 12px 0; }
  .qc { display: none; }
  .qa { padding: 0 0 20px 44px; }
  .qa p { font-size: 16px; }
  .form { grid-template-columns: 1fr; }
  .f, .f.full { grid-column: 1 / -1; }
  .f input, .f select, .f textarea { font-size: 16px; min-height: 44px; } /* 16px: no iOS focus zoom */
  .mq-track { zoom: .6; }
  .mq .ph-lab, .mq .pl-lab { font-size: 18.5px; } /* 11px after the .6 zoom */
  .mq { padding-bottom: 56px; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .foot-r { text-align: left; }
  .foot-bot { grid-template-columns: 1fr 1fr; align-items: center; }
  .lbl-row { margin-bottom: 24px; }
  .quote { min-height: 80vh; min-height: 80svh; }
  .h1 { overflow-wrap: normal; hyphens: manual; }
}

/* phones: the pinned statement + 3D room fall back to a static layout */
@media (max-width: 599px) {
  .show-panel { height: auto; min-height: 0; padding: 40px var(--pad) 28px; clip-path: none !important; }
  .room { position: relative; inset: auto; perspective: none; opacity: 1 !important; }
  .cam { position: static; width: auto; height: auto; transform: none; }
  .wall { display: none; }
  .w-back {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: relative; width: auto; height: auto; margin: 0; padding: 16px; transform: none;
  }
  .wb-top, .wb-bot { position: static; grid-column: 1 / -1; font-size: 11px; }
  .wb-menu { position: static; transform: none; grid-column: 1 / -1; margin: 18px 0 10px; }
  .wb-menu li { font-size: 34px; }
  .wb-pl { position: relative; width: auto !important; height: auto !important; inset: auto !important; aspect-ratio: 1; }
  .wb-pl.a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .w-back .ph-lab, .w-back .pl-lab { font-size: 11px; }
  .sc-word { position: static; display: inline; margin: 0; transform: none !important; }
  .sc-l + .sc-r { display: inline; }
  .show-panel > .sc-l { display: inline-block; margin-top: 28px; }
  .show-panel > .sc-r { display: inline-block; }
  .sc-foot { position: static; margin-top: 28px; }
}

/* reduced motion: content stays, motion stops */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pre { display: none; }
  .mq-track { animation: none; }
  .mq { overflow-x: auto; }
  .stmt-text.rv .w { color: var(--ink); }
  .work .ph img, .work .plate { transition: none; }
  .work:hover .ph img { transform: none; }
}

.ca { font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
.ca span { margin-left: 4px; }
.foot-r .ca { align-self: flex-end; }
@media (max-width: 760px) { .foot-r .ca { align-self: flex-start; } }
@media (max-width: 760px) {
  .nav .ca { display: flex; align-items: center; min-height: 48px; width: 100%; font-size: 13px; border-top: 1px solid rgba(0, 0, 0, .12); }
  .foot .ca { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 4b. token: $PERPPAY cashback flywheel. One accent (gaming blue) for what the fees buy. */
.tok { --tacc: var(--gaming); padding: 96px var(--pad) 100px; border-top: 1px solid var(--rule); }
.tok .split { margin-bottom: 56px; }
.tok-grid { display: grid; grid-template-columns: 50% 50%; align-items: start; }
.tok-fig { padding-right: 10px; }
.fw-pl { width: 100%; max-width: 640px; aspect-ratio: 520 / 500; }
.fw-pl .pl-lab, .fw-pl .pl-no { font-size: 11px; }
.dr.fw text { font-size: 10px; }
.dr.fw text.t { fill: var(--pi); }
.dr.fw text.fw-c { fill: var(--pi); font-family: var(--sans); font-weight: 500; font-size: 30px; letter-spacing: -1.4px; }
.dr.fw .fw-n { fill: var(--pi); }
.dr.fw .fw-n.acc { fill: var(--tacc); }
.dr.fw .fw-run { fill: none; stroke: var(--tacc); stroke-width: 3; stroke-dasharray: 9 91; vector-effect: non-scaling-stroke; animation: fwRun 14s linear infinite; }
@keyframes fwRun { to { stroke-dashoffset: -100; } }
.fw-list { display: none; }
.tok-r { padding-left: 0; }
.tok-lead { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; max-width: 560px; }
.fs { margin-top: 48px; }
.fs-h, .tok-sub { display: flex; justify-content: space-between; gap: 10px; }
.fs-h { padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.fs-bar { display: flex; height: 56px; margin-top: 12px; }
.fs-s { display: flex; align-items: flex-end; min-width: 0; padding: 6px 8px; }
.fs-s .m { white-space: nowrap; }
.s-cb { background: var(--ink); color: var(--paper); }
.s-dr { background: var(--tacc); color: #fff; }
.s-op { background: #e3e2dc; color: var(--ink); }
.fs-leg { margin-top: 12px; }
.fs-leg li { display: grid; grid-template-columns: 18px 150px 1fr; align-items: baseline; padding: 9px 0; border-top: 1px solid rgba(0, 0, 0, .14); }
.fs-leg li:last-child { border-bottom: 1px solid rgba(0, 0, 0, .14); }
.fs-leg b { font-weight: 400; }
.fs-leg li > span:last-child { color: #8a8a8a; }
.sq { display: inline-block; width: 9px; height: 9px; background: var(--sq, var(--ink)); }
.fs-leg .sq { outline: 1px solid rgba(0, 0, 0, .2); outline-offset: -1px; }
.trow .sq { margin-right: 8px; vertical-align: 0; }
.tok-tiers { margin-top: 96px; }
.tok-sub { margin-bottom: 0; }
.tok-tiers .rows { margin-top: 14px; }
.tok-note { margin: 20px 0 0 50%; max-width: 560px; color: #8a8a8a; }
.tok-ex { margin-top: 96px; padding: 14px 20px 16px; container-type: normal; }
.ex-top, .ex-cap { display: flex; justify-content: space-between; gap: 10px; color: #7c7c79; }
.ex-top { margin-bottom: 72px; }
.ex-cap { margin-top: 72px; }
.ex-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1.4fr auto 1fr; align-items: end; gap: 0 16px; }
.ex-c { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ex-c b { font-weight: 500; font-size: var(--h1); line-height: .9; letter-spacing: -.045em; }
.ex-c .m { color: #9a9a96; }
.ex-hi .m { color: var(--pi); }
.ex-hi .m::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--tacc); vertical-align: 0; }
.ex-ar { font-style: normal; font-family: var(--sans); color: #7c7c79; font-size: 22px; line-height: 1; margin-bottom: 34px; }
.tok-big { margin-top: 72px; font-size: clamp(28px, 3.1vw, 46px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; max-width: 680px; }
.tok-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 0 36px; margin-top: 56px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tok-cta a:first-child { color: var(--tacc); }
.tok-cta a:first-child:hover { color: var(--ink); }
.tok-cta-n { margin-left: auto; color: #8a8a8a; }

@media (max-width: 1100px) {
  /* one column: the lead first, then the loop, then the split */
  .tok-grid { display: flex; flex-direction: column; align-items: stretch; }
  .tok-r { display: contents; }
  .tok-lead { order: -1; margin-bottom: 40px; }
  .tok-fig { padding-right: 0; }
  .fw-pl { max-width: 600px; }
  .ex-row { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .ex-ar { display: none; }
}
@media (max-width: 809px) {
  .tok { padding: 64px var(--pad); }
  .tok .split { margin-bottom: 36px; }
  .tok-lead { font-size: 18px; }
  .tok-tiers, .tok-ex { margin-top: 64px; }
  .tok-big { margin-top: 56px; }
  .ex-top { margin-bottom: 44px; }
  .ex-cap { margin-top: 44px; }
  .ex-row { align-items: start; }
  .tok-note { margin-left: 0; }
  .fs-leg li { grid-template-columns: 18px 1fr; row-gap: 2px; }
  .fs-leg li > span:last-child { grid-column: 2; }
  .trow { grid-template-columns: 1fr auto; row-gap: 6px; }
  .trow > span:last-child { grid-column: 1 / -1; }
  .trow b { grid-column: 2; grid-row: 1; }
  .tok-cta { gap: 0 24px; }
  .tok-cta a, .tok-cta .ca { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 13px; }
  .tok-cta-n { margin-left: 0; flex-basis: 100%; padding: 4px 0 6px; }
}
@media (max-width: 599px) {
  /* phones: the loop becomes a vertical list, readable at any width */
  .fw-pl { display: none; }
  .fw-list { display: block; counter-reset: none; border-top: 1px solid var(--rule); }
  .fw-list li { display: grid; grid-template-columns: 44px 1fr; align-items: center; min-height: 48px; border-bottom: 1px solid rgba(0, 0, 0, .14); font-size: 13px; position: relative; }
  .fw-list li > span:first-child { color: #8a8a8a; }
  .fw-list li { padding-right: 24px; }
  .fw-list li:not(.fw-back)::after { content: "\2193"; position: absolute; right: 2px; font-family: var(--sans); font-size: 15px; color: #8a8a8a; }
  .fw-list li.acc > span:last-child { color: var(--tacc); }
  .fw-list li.acc > span:last-child::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--tacc); }
  .fw-list .fw-back { color: #8a8a8a; border-bottom-color: var(--rule); }
  .fw-list .fw-back > span:first-child { font-family: var(--sans); font-size: 16px; }
  .fs-bar { height: 48px; }
  .fs-h { flex-direction: column; gap: 2px; }
  .tok-sub { flex-direction: column; gap: 2px; }
  .tok-ex { padding: 12px 14px 14px; }
  .ex-cap { flex-direction: column; }
  .ex-row { gap: 28px 12px; }
  .ex-c b { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .dr.fw .fw-run { animation: none; stroke-dasharray: 9 91; stroke-dashoffset: -12; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .cap { flex-direction: column; gap: 2px; white-space: normal; }
}
