/* ==========================================================================
   CHULBULI — v2
   Mobile first. Space instead of lines. Fewer, longer, better-eased moves.
   ========================================================================== */

:root {
  --paper:      #F5F0E8;
  --paper-warm: #EBE1D3;
  --ink:        #201205;
  --ink-soft:   #7A6752;
  --rust:       #A74D0C;
  --olive:      #464D31;
  --hair:       rgba(32,18,5,.10);

  --display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad: 18px;
  --head: 62px;
  --rail: 1680px;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
}
@media (min-width: 760px)  { :root { --pad: 40px; --head: 84px; } }
@media (min-width: 1200px) { :root { --pad: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--rail); margin-inline: auto; padding-inline: var(--pad); }
.bleed { margin-inline: calc(var(--pad) * -1); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 14px; top: -70px; z-index: 300;
  background: var(--ink); color: var(--paper); padding: 11px 18px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ------------------------------------------------------------- typography */

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }

.d1 { font-size: clamp(1.15rem, 3.3vw, 2.3rem); line-height: 1.06; }
.d2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.1; }
.d3 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.15; }

.lede { font-size: clamp(.98rem, 2.2vw, 1.08rem); line-height: 1.6; max-width: 46ch; color: var(--ink-soft); margin: 0; }
.eyebrow { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }

/* ------------------------------------------------------------------ header */

.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .45s var(--ease-soft), backdrop-filter .45s var(--ease-soft);
}
.masthead[data-stuck="true"] {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
}
.masthead__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 62px;
}
@media (min-width: 760px) { .masthead__inner { height: 84px; } }

.brand { justify-self: center; grid-column: 2; }
.brand img { width: 108px; transition: filter .45s var(--ease-soft); }
@media (min-width: 760px) { .brand img { width: 132px; } }

.nav { grid-column: 1; display: none; gap: 32px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a { font-size: 1.3rem; font-weight: 500; opacity: .78; transition: opacity .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }

.masthead__right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 16px; }

.bag-btn { display: flex; align-items: center; gap: 7px; font-size: 1.25rem; font-weight: 500; padding: 8px 2px; }
.bag-btn__count {
  min-width: 18px; height: 18px; border-radius: 999px; background: var(--rust); color: #fff;
  display: grid; place-items: center; font-size: .64rem; font-weight: 600;
  transform: scale(0); transition: transform .4s var(--ease);
}
.bag-btn__count[data-has="true"] { transform: scale(1); }

.menu-toggle { width: 26px; height: 26px; position: relative; }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { position: absolute; left: 1px; right: 1px; height: 1.3px; background: currentColor; transition: transform .38s var(--ease); }
.menu-toggle span:nth-child(1) { top: 10px; }
.menu-toggle span:nth-child(2) { top: 16px; }
body[data-menu="open"] .menu-toggle span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body[data-menu="open"] .menu-toggle span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.masthead[data-over="dark"]:not([data-stuck="true"]) { color: #fff; }
.masthead[data-over="dark"]:not([data-stuck="true"]) .brand img { filter: brightness(0) invert(1); }

.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0); pointer-events: none;
  transition: clip-path .72s var(--ease);
}
body[data-menu="open"] .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu a {
  font-family: var(--display); font-size: clamp(2.6rem, 13vw, 4.4rem); line-height: 1.12;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
body[data-menu="open"] .menu a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 70ms + 180ms); }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: .92rem;
  transition: background .4s var(--ease), color .4s var(--ease), transform .25s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { background: var(--rust); box-shadow: 0 10px 24px -12px rgba(167,77,12,.55); }
.btn:active { transform: scale(.97); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--rust); color: #fff; box-shadow: 0 10px 24px -12px rgba(167,77,12,.5); }
.btn--quiet { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--quiet:hover { background: color-mix(in srgb, currentColor 14%, transparent); box-shadow: inset 0 0 0 1px currentColor; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); font-size: .95em; }
.btn:hover .btn__arrow { transform: translateX(5px); }

.tlink { font-size: .86rem; position: relative; padding-bottom: 2px; }
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform .5s var(--ease);
}
.tlink:hover::after { transform: scaleX(0); }

/* ----------------------------------------------------------------- reveals */

[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s var(--ease-soft), transform 1s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal][data-shown="true"] { opacity: 1; transform: none; }

.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: translateY(104%); transition: transform 1.1s var(--ease); transition-delay: var(--delay, 0ms); }
.mask[data-shown="true"] > span { transform: none; }

/* -------------------------------------------------------------------- hero */

.hero { position: relative; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero--short { height: 62svh; min-height: 420px; }
.hero--crew .hero__media img { object-position: 50% 22%; }
.hero--crew .hero__media::after { background: linear-gradient(180deg, rgba(20,11,3,.5) 0%, rgba(20,11,3,.05) 34%, rgba(20,11,3,.15) 50%, rgba(20,11,3,.86) 100%); }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.06);
  will-change: transform;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,11,3,.46) 0%, rgba(20,11,3,0) 30%, rgba(20,11,3,.08) 48%, rgba(20,11,3,.72) 100%);
}
.hero__body { position: relative; z-index: 2; color: #fff; width: 100%; padding-bottom: clamp(26px, 6vh, 64px); }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,.88); margin-top: 18px; }
.hero .btn { margin-top: 26px; }

/* ------------------------------------------------------------------ section */

.sec { padding-block: clamp(24px, 4vw, 56px); }
.sec--sm { padding-block: clamp(18px, 3vw, 36px); }
.pt-head { padding-top: calc(var(--head) + clamp(12px, 3vw, 32px)); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(14px, 3vw, 28px); }
.sec--first { padding-top: clamp(14px, 2.5vw, 28px); }

/* ----------------------------------------------------------------- product */

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 10px; }
@media (min-width: 720px)  { .grid { grid-template-columns: repeat(3, 1fr); gap: 46px 16px; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 60px 18px; } }

.card { display: block; }
.card__media { position: relative; overflow: hidden; background: var(--paper-warm); aspect-ratio: 4 / 5; border-radius: 4px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease-soft), opacity .7s var(--ease-soft); }
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img { transform: scale(1.06); }
  .card:hover .card__media img + img { opacity: 1; }
}
.card__tag {
  position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--paper);
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px;
}
.card__body { padding-top: 12px; }
.card__name { font-family: var(--display); font-size: clamp(1.15rem, 4.4vw, 1.4rem); line-height: 1.16; font-weight: 400; }
.card__price { font-size: .82rem; color: var(--ink-soft); margin-top: 3px; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 66vw; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--pad); scroll-padding-inline: var(--pad);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
@media (min-width: 720px)  { .rail { grid-auto-columns: 30vw; gap: 16px; } }
@media (min-width: 1180px) { .rail { grid-auto-columns: 21vw; } }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ----------------------------------------------------------------- filters */

.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 10px 17px; border-radius: 999px; font-size: .82rem; white-space: nowrap;
  background: var(--paper-warm); color: var(--ink-soft);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter-group + .filter-group { margin-top: 14px; }
.filter-group__label { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; padding-inline: var(--pad); }

/* -------------------------------------------------------------------- panels */

.panel-olive { background: var(--olive); color: var(--paper); }
.panel-ink { background: var(--ink); color: var(--paper); }
.panel-olive h2, .panel-ink h2, .panel-olive h3, .panel-ink h3 { color: var(--paper); }
.panel-olive .lede, .panel-ink .lede { color: rgba(245,240,232,.74); }
.panel-olive .eyebrow, .panel-ink .eyebrow { color: rgba(245,240,232,.54); }

.split { display: grid; gap: clamp(26px, 6vw, 72px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }

.figure { overflow: hidden; border-radius: 4px; }
.figure img { width: 100%; transition: transform 1.8s var(--ease-soft); }
@media (hover: hover) { .figure:hover img { transform: scale(1.05); } }

/* -------------------------------------------------------------- doodle panel */

.doodle-panel { position: relative; overflow: hidden; }
.doodle-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: url(../img/doodle-order.svg); background-repeat: no-repeat; background-position: center;
  background-size: min(1200px, 150%) auto; pointer-events: none;
}
.doodle-panel > * { position: relative; z-index: 1; }

/* --------------------------------------------------------- unified filters */

.filter-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 6px 28px;
}
.filter-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px; font-size: .88rem;
  background: var(--paper-warm); color: var(--ink);
  transition: background .3s var(--ease);
}
.filter-btn:hover { background: var(--hair); }
.filter-btn__dot {
  min-width: 18px; height: 18px; border-radius: 999px; background: var(--rust); color: #fff;
  display: grid; place-items: center; font-size: .64rem; font-weight: 600;
  transform: scale(0); transition: transform .35s var(--ease);
}
.filter-btn__dot[data-has="true"] { transform: scale(1); }

.filter-drawer .drawer__list { padding-top: 10px; }
.filter-drawer .filter-group + .filter-group { margin-top: 20px; }
.filter-drawer .filters { padding-inline: 0; overflow: visible; flex-wrap: wrap; }
.filter-drawer .filter-group__label { padding-inline: 0; }

/* ---------------------------------------------------------- about: abstract */

.blob { position: absolute; z-index: 0; pointer-events: none; display: none; }
.blob svg { display: block; width: 100%; height: 100%; }
@media (min-width: 900px) { .blob { display: block; } }
.blob-host { position: relative; overflow: hidden; }

.duo-offset {
  display: grid; gap: 20px; position: relative;
}
@media (min-width: 780px) {
  .duo-offset { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 32px; }
  .duo-offset .figure:first-child { margin-bottom: 8%; }
  .duo-offset .figure:last-child { margin-top: 14%; }
}

.wave-divider { display: block; width: 100%; height: clamp(40px, 8vw, 90px); margin-top: -1px; }
.wave-divider--olive-to-paper path { fill: var(--paper); }
.wave-divider--paper-to-olive path { fill: var(--olive); }

/* -------------------------------------------------------------------- pdp */

.pdp { display: grid; gap: 0; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 4vw, 80px); align-items: start; } }

.pdp__gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.pdp__gallery::-webkit-scrollbar { display: none; }
.pdp__gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; scroll-snap-align: center; background: var(--paper-warm); }
@media (min-width: 900px) {
  .pdp__gallery { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
  .pdp__gallery.bleed { margin-inline: 0; }
  .pdp__gallery img:first-child { grid-column: 1 / -1; }
}

.dots { display: flex; gap: 6px; justify-content: center; padding-top: 14px; }
@media (min-width: 900px) { .dots { display: none; } }
.dots i { width: 5px; height: 5px; border-radius: 999px; background: var(--hair); transition: background .35s var(--ease), transform .35s var(--ease); }
.dots i[data-on="true"] { background: var(--ink); transform: scale(1.4); }

.pdp__info { padding-top: 26px; }
@media (min-width: 900px) { .pdp__info { position: sticky; top: 108px; padding-top: 0; } }
.pdp__price { font-size: 1.15rem; color: var(--ink-soft); margin: 10px 0 0; }

.spec { display: grid; grid-template-columns: max-content 1fr; gap: 9px 24px; font-size: .88rem; margin: 26px 0 0; }
.spec dt { color: var(--ink-soft); }
.spec dd { margin: 0; }

.size-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.size-chip {
  min-width: 56px; min-height: 48px; padding: 0 14px; border-radius: 999px;
  background: var(--paper-warm); color: var(--ink-soft); font-size: .86rem;
  display: grid; place-items: center; transition: background .3s var(--ease), color .3s var(--ease);
}
.size-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.table th, .table td { text-align: left; padding: 11px 0; }
.table thead th { font-weight: 400; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.table tbody tr + tr td { box-shadow: inset 0 1px 0 var(--hair); }

details.acc { box-shadow: inset 0 1px 0 var(--hair); }
details.acc summary { cursor: pointer; padding-block: 19px; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--ease); }
details.acc[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details.acc > div { padding-bottom: 24px; }

.notice { background: var(--paper-warm); padding: 15px 17px; font-size: .86rem; margin-top: 22px; }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px);
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 12px; align-items: center;
  transform: translateY(102%); transition: transform .5s var(--ease);
  box-shadow: 0 -1px 0 var(--hair);
}
.buybar[data-on="true"] { transform: none; }
@media (min-width: 900px) { .buybar { display: none; } }
.buybar .btn { flex: 1; }

/* ------------------------------------------------------------------ drawer */

.scrim { position: fixed; inset: 0; z-index: 110; background: rgba(20,11,3,.38); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; z-index: 120; background: var(--paper); display: flex; flex-direction: column;
  left: 0; right: 0; bottom: 0; max-height: 88svh; border-radius: 18px 18px 0 0;
  transform: translateY(101%); transition: transform .58s var(--ease);
}
@media (min-width: 720px) { .drawer { left: auto; top: 0; width: 420px; max-height: none; border-radius: 0; transform: translateX(101%); } }
.drawer[data-open="true"] { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--pad) 14px; }
.drawer__list { flex: 1; overflow-y: auto; padding: 0 var(--pad); -webkit-overflow-scrolling: touch; }
.drawer__foot { padding: 16px var(--pad) calc(22px + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 var(--hair); }

.bag-item { display: grid; grid-template-columns: 58px 1fr max-content; gap: 14px; align-items: center; padding-block: 15px; box-shadow: inset 0 -1px 0 var(--hair); }
.bag-item img { width: 58px; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
.bag-item__name { font-family: var(--display); font-size: 1.1rem; line-height: 1.15; }
.bag-item__meta { font-size: .76rem; color: var(--ink-soft); }
.bag-item__remove { font-size: .72rem; color: var(--ink-soft); }
.bag-item__remove:hover { color: var(--rust); }

.empty { padding: 40px 0 56px; color: var(--ink-soft); font-size: .92rem; }

.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 130;
  transform: translate(-50%, 160%); background: var(--ink); color: var(--paper);
  padding: 12px 22px; border-radius: 999px; font-size: .84rem;
  transition: transform .5s var(--ease);
}
.toast[data-open="true"] { transform: translate(-50%, 0); }

/* ----------------------------------------------------------------- marquee */

.marquee { overflow: hidden; padding-block: 16px; background: var(--paper-warm); }
.marquee__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee__track span { font-family: var(--display); font-size: clamp(1.3rem, 5vw, 2.1rem); color: var(--ink-soft); padding-inline: 26px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ footer */

.footer { background: var(--ink); color: var(--paper); padding-block: clamp(48px, 10vw, 92px) 28px; }
.footer a { color: rgba(245,240,232,.74); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__mark { width: 136px; filter: brightness(0) invert(1); opacity: .9; }
.footer h3 { font-size: .98rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .88rem; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 20px; box-shadow: inset 0 1px 0 rgba(245,240,232,.14); font-size: .74rem; color: rgba(245,240,232,.55); }

/* ------------------------------------------------------- page transitions */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .3s var(--ease-soft) both; }
::view-transition-new(root) { animation: vtIn .44s var(--ease-soft) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

body { transition: opacity .26s var(--ease-soft); }
body[data-leaving="true"] { opacity: 0; }

/* ----------------------------------------------------------------- cursor */

.cursor {
  position: fixed; top: 0; left: 0; z-index: 140; pointer-events: none;
  width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  transform: translate3d(var(--x,-200px), var(--y,-200px), 0);
  scale: 0; opacity: 0; transition: scale .4s var(--ease), opacity .3s linear;
}
.cursor[data-on="true"] { scale: 1; opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .mask > span { transform: none; }
  .cursor { display: none; }
}
