/* Miami Promos — home (showroom racks first)
   Light base, ink type, Vice blue + teal accents, pink for primary buttons. The landing is a wall of chrome rails. */

/* Fallback faces with the web fonts' metrics (measured against Arial: Inter Tight 800 is 98.5% as wide as Arial Bold,
   Figtree 400 is 100.2% as wide as Arial), so text set in them keeps its size, baseline and line breaks when the real
   fonts swap in: no layout shift from the font load. */
@font-face { font-family: 'Inter Tight Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Roboto Bold'), local('Helvetica Neue Bold'); font-weight: 100 900; size-adjust: 98.5%; ascent-override: 97%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Roboto'), local('Helvetica Neue'); font-weight: 100 500; size-adjust: 100.2%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: 'Figtree Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Roboto Bold'), local('Helvetica Neue Bold'); font-weight: 600 900; size-adjust: 95%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --white: #FFFFFF;
  --ink: #121118;
  --ink-2: #1B1925;
  --muted: #5C5867;
  --line: #E6E3EC;
  --sea: #DCF3EE;
  --flamingo: #FFE3ED;
  --pink: #E0007A;
  --pink-dark: #B8006A;
  --blue: #29B6E8;
  --blue-dark: #1693C2;
  --teal: #14B8A6;
  --teal-dark: #0E9684;
  --sun: #FFB21E;
  --purple: #260C4E;
  --magenta: #B01C6C;
  --orange: #FF8040;
  --vice: linear-gradient(90deg, var(--blue), var(--teal));
  --sunset: linear-gradient(160deg, var(--purple) 0%, var(--magenta) 52%, var(--orange) 100%);
  --wall: #F4F2EE;
  --wall-2: #EAE7E1;
  --wall-line: rgba(18, 17, 24, .09);

  --font-display: 'Inter Tight', 'Inter Tight Fallback', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', 'Figtree Fallback', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --section: clamp(88px, 13vw, 176px);
  --radius: 20px;
  --head-h: 72px;
  --head-off: var(--head-h);   /* sticky things sit under the header; 0 while it is hidden */

  --fs-display-2: clamp(34px, 5vw, 80px);
  --fs-display-3: clamp(22px, 1.8vw, 28px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  color-scheme: only light;
}
html.head-hidden { --head-off: 0px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--white); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img, video, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); margin: 0; padding: 0; white-space: nowrap; }

/* Type */
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0; line-height: .94; }
.display em { font-style: normal; color: var(--blue-dark); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px; color: var(--muted); }
.eyebrow i { font-style: normal; color: var(--blue); }
.section-title { font-size: var(--fs-display-2); max-width: 12em; }
.section-sub { color: var(--muted); max-width: 56ch; font-size: clamp(17px, 1.2vw, 19px); margin-top: 22px; }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: 600 16px/1 var(--font-body); padding: 0 26px; height: 56px; border-radius: 999px; text-decoration: none; background: var(--pink); color: #fff; white-space: nowrap; transition: box-shadow .35s var(--ease-soft), background-color .35s, color .35s; isolation: isolate; }
.btn > span, .btn > .ico { position: relative; z-index: 1; }
.btn .ico { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }
.btn:hover { color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 22px 44px -16px rgba(224, 0, 122, .55), 0 0 0 6px rgba(41, 182, 232, .18); }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 70%); opacity: 0; transition: opacity .35s; }
.btn:hover::after { opacity: 1; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 24px 50px -16px rgba(41, 182, 232, .55), 0 0 0 6px rgba(255, 255, 255, .16); }
.btn-light::after { background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(41, 182, 232, .18), transparent 70%); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-md { height: 50px; padding: 0 24px; font-size: 15px; }

/* Header: logo, centred nav, phone + CTA on the right. Ink on light from the first pixel. */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--ink); transition: transform .6s var(--ease-out), background-color .4s, color .4s, box-shadow .4s; }
.site-head-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: var(--head-h); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.logo { display: block; height: 52px; flex: none; justify-self: start; }
.logo img { display: block; height: 100%; width: auto; filter: brightness(0); transition: filter .4s; }
.nav { display: flex; gap: 2px; justify-self: center; }
.nav a { position: relative; color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; justify-self: end; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.head-phone .ico { width: 18px; height: 18px; }
.head-phone:hover { color: var(--teal-dark); }
.head-cta { background: var(--pink); color: #fff; }
.site-head.is-solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-head.is-hidden { transform: translateY(-100%); }
.site-head.is-menu-open { color: #fff; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.site-head.is-menu-open .logo img { filter: none; }
.site-head.is-menu-open .head-cta { background: #fff; color: var(--ink); }
main > section, .racks { scroll-margin-top: var(--head-h); }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: #fff; overflow: hidden; }
.menu::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(40% 40% at 80% 20%, rgba(41, 182, 232, .5), transparent 70%), radial-gradient(40% 40% at 20% 90%, rgba(20, 184, 166, .45), transparent 70%); filter: blur(40px); }
.menu-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 100px var(--gutter) 40px; }
.menu-links { display: grid; gap: 4px; }
.menu-links a { color: #fff; text-decoration: none; font-size: clamp(36px, 9vw, 64px); line-height: 1; }
.menu-cta { margin-top: 28px; align-self: flex-start; }
.menu-foot { margin-top: 28px; color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.6; }
.menu-foot a { color: #fff; text-decoration: none; }
@media (max-width: 1240px) { .head-phone { display: none; } }
@media (max-width: 1000px) {
  :root { --head-h: 64px; }
  .site-head-inner { grid-template-columns: auto 1fr; }
  .logo { height: 40px; }
  .nav { display: none; }
  .head-right { gap: 8px; }
  .burger { display: block; }
}
@media (max-width: 420px) { .head-cta { display: none; } }

/* ===================== Intro: one line, one button, the live tile ===================== */
.intro { position: relative; background: #fff; padding-top: calc(var(--head-h) + clamp(14px, 2.6vh, 32px)); }
.intro-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title live" "text live"; align-items: end; column-gap: clamp(24px, 4vw, 72px); row-gap: 10px; padding-bottom: clamp(12px, 2vh, 24px); }
.intro-title { grid-area: title; align-self: end; font-size: clamp(24px, 2.55vw, 38px); line-height: .98; letter-spacing: -.005em; max-width: 26em; }
.intro-text { grid-area: text; }
.intro-lede { color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; max-width: 54ch; }
.intro-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 14px; }
.intro-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.intro-link span { display: inline-block; color: #1374A0; transition: transform .5s var(--ease-out); }
.intro-link:hover span { transform: translateY(3px); }
.live { grid-area: live; position: relative; display: block; width: clamp(220px, 21vw, 300px); aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #15121D; color: #fff; text-decoration: none; box-shadow: 0 24px 44px -22px rgba(18, 17, 24, .55); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); isolation: isolate; }
.live:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -22px rgba(18, 17, 24, .6); }
.live-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.live::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 16, .55), rgba(10, 8, 16, 0) 50%); pointer-events: none; }
.live-cta { position: absolute; z-index: 1; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px; border-radius: 999px; background: rgba(10, 8, 16, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 700 11.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; transition: background-color .3s; }
.live:hover .live-cta { background: rgba(224, 0, 122, .9); }
.live-cta .ico { width: 16px; height: 16px; stroke: none; }
@media (max-width: 1000px) {
  .intro-inner { column-gap: 20px; }
  .intro-title { font-size: clamp(22px, 3.2vw, 32px); }
}
@media (max-width: 720px) {
  .intro { padding-top: calc(var(--head-h) + 12px); }
  .intro-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "text live"; align-items: center; row-gap: 12px; padding-bottom: 8px; }
  .intro-title { font-size: clamp(22px, 6.4vw, 30px); max-width: none; }
  .intro-lede { font-size: 14px; max-width: 28ch; }
  .intro-ctas { margin-top: 10px; gap: 8px 14px; }
  .intro-ctas .btn-md { height: 44px; padding: 0 18px; font-size: 14px; }
  .intro-link { font-size: 13px; }
  .live { width: clamp(124px, 36vw, 160px); border-radius: 12px; }
  .live-cta { right: 8px; bottom: 8px; height: 28px; padding: 0 10px 0 6px; font-size: 10px; }
}

/* ===================== The racks: a continuous wall, one chrome rail per rack ===================== */
.racks { position: relative; background: linear-gradient(180deg, #fff 0, var(--wall) 140px, var(--wall) 85%, var(--wall-2) 100%); padding-bottom: clamp(36px, 6vw, 72px); isolation: isolate; }
/* The wall keeps a screen's worth of height until js/rack.js has filled it, so what follows never sits in the first
   viewport and then gets pushed down (that single push was almost all of the page's layout shift) */
html.has-js .racks:not(.is-built) .rk-wall { min-height: 100vh; }
.rk-noscript { padding-block: 40px; color: var(--muted); }

/* sticky index: one pill that scrolls sideways (swipe, drag, trackpad, or the wheel while the pointer is over it).
   The chips fade out at an edge only while there is more that way, and a small arrow appears over the fade. */
@property --fade-l { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fade-r { syntax: '<length>'; inherits: false; initial-value: 0px; }
.rk-nav { position: sticky; top: var(--head-off); z-index: 40; pointer-events: none; transition: top .6s var(--ease-out); }
.rk-nav-inner { position: relative; display: flex; align-items: center; padding-block: 8px; }
.rk-nav-bar { position: relative; max-width: 100%; min-width: 0; min-height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .74); border: 1px solid rgba(18, 17, 24, .07); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 12px 30px -20px rgba(18, 17, 24, .45); pointer-events: auto; overflow: hidden; }
.rk-nav-chips { --fade-l: 0px; --fade-r: 0px; display: flex; gap: 4px; padding: 4px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; -webkit-user-select: none; user-select: none; transition: --fade-l .3s, --fade-r .3s; mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent); }
.rk-nav-chips::-webkit-scrollbar { display: none; }
.rk-nav-bar.can-l .rk-nav-chips { --fade-l: 48px; }
.rk-nav-bar.can-r .rk-nav-chips { --fade-r: 48px; }
.rk-nav-bar.can-l .rk-nav-chips, .rk-nav-bar.can-r .rk-nav-chips { cursor: grab; }
.rk-nav-chips.is-dragging { cursor: grabbing; }
.rk-nav-chips.is-dragging .rk-chip { pointer-events: none; }
html.has-cursor .rk-nav-chips { cursor: none; }
.rk-nav-arrow { position: absolute; z-index: 3; top: 50%; width: 28px; height: 28px; margin-top: -14px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(18, 17, 24, .1); background: rgba(255, 255, 255, .94); color: var(--ink); cursor: pointer; box-shadow: 0 6px 14px -8px rgba(18, 17, 24, .5); transition: background-color .25s, transform .4s var(--ease-out); }
.rk-nav-arrow[hidden] { display: none; }
.rk-nav-arrow .ico { width: 14px; height: 14px; stroke-width: 2; }
.rk-nav-arrow--prev { left: 7px; }
.rk-nav-arrow--prev .ico { transform: rotate(180deg); }
.rk-nav-arrow--next { right: 7px; }
.rk-nav-arrow:hover { background: #fff; transform: scale(1.08); }
.rk-nav-arrow:active { transform: scale(.96); }
.rk-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; margin: 0; border: 0; border-radius: 999px; background: none; font: 600 13px/1 var(--font-body); color: var(--muted); text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .25s, background-color .35s var(--ease-soft); }
.rk-chip small { font-size: 11px; font-weight: 600; color: inherit; opacity: .85; }
.rk-chip:hover { color: var(--ink); }
.rk-chip.is-on { background: var(--ink); color: #fff; }
.rk-chip.is-on small { opacity: .85; }
.rk-chip:focus-visible { outline-offset: -2px; }
.rk-chip .rk-chev { width: 13px; height: 13px; margin: 0 -5px 0 -3px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .65; transition: transform .35s var(--ease-out), opacity .25s; }
.rk-chip[aria-expanded="true"] { background: rgba(18, 17, 24, .08); color: var(--ink); }
.rk-chip[aria-expanded="true"] .rk-chev { transform: rotate(180deg); opacity: 1; }
.rk-chip.is-on[aria-expanded="true"] { background: var(--ink); color: #fff; }

/* the dropdown under an "Apparel" or "Hats" chip: the mixed rack, then its categories */
.rk-menu { position: absolute; z-index: 45; top: calc(100% - 4px); left: var(--menu-x, var(--gutter)); min-width: 236px; max-width: calc(100% - 2 * var(--gutter)); padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(18, 17, 24, .08); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 26px 50px -24px rgba(18, 17, 24, .5), 0 2px 8px -4px rgba(18, 17, 24, .2); pointer-events: auto; transform-origin: 24px 0; }
.rk-menu[hidden] { display: none; }
.rk-menu.is-in { animation: rk-menu-in .32s var(--ease-out); }
@keyframes rk-menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.rk-menu-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 11px; color: var(--ink); text-decoration: none; font: 600 13.5px/1.2 var(--font-body); white-space: nowrap; transition: background-color .2s; }
.rk-menu-item small { font-size: 11px; font-weight: 600; color: var(--muted); }
.rk-menu-item:hover, .rk-menu-item:focus-visible { background: rgba(18, 17, 24, .06); outline: none; }
.rk-menu-item[aria-current="true"] { background: var(--ink); color: #fff; }
.rk-menu-item[aria-current="true"] small { color: rgba(255, 255, 255, .7); }
.rk-menu-head { display: flex; align-items: center; gap: 10px; margin: 4px 6px 2px; padding: 6px 6px 4px; border-top: 1px solid rgba(18, 17, 24, .08); font: 700 10.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* one rack row */
.rack { position: relative; padding-top: clamp(10px, 1.6vh, 22px); scroll-margin-top: calc(var(--head-h) + 52px); }
.rack + .rack, .rk-group + .rack, .rack + .rk-group, .rk-cats-panel > .rack:first-child { margin-top: clamp(12px, 3vh, 36px); }
.rk-group + .rk-group { margin-top: clamp(18px, 4vh, 48px); }

/* a group (Apparel, Hats): its mixed rack, then "Browse by category" revealing the category racks underneath */
.rk-cats-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: clamp(14px, 2.4vh, 24px); }
.rk-cats-toggle { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 13px; border-radius: 999px; border: 1px solid rgba(18, 17, 24, .1); background: rgba(255, 255, 255, .85); color: var(--ink); font: 600 14px/1 var(--font-body); cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background-color .3s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.rk-cats-toggle .rk-chev { width: 17px; height: 17px; fill: none; stroke: var(--blue-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
.rk-cats-toggle small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.rk-cats-toggle:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(18, 17, 24, .5); }
.rk-cats-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.rk-cats-toggle[aria-expanded="true"] small { color: rgba(255, 255, 255, .7); }
.rk-cats-toggle[aria-expanded="true"] .rk-chev { transform: rotate(180deg); stroke: var(--blue); }
.rk-cats-toggle .rk-x-open, .rk-cats-toggle[aria-expanded="true"] .rk-x-closed { display: none; }
.rk-cats-toggle[aria-expanded="true"] .rk-x-open { display: inline; }
.rk-cats-list { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; font: 500 13px/1.5 var(--font-body); color: var(--muted); }
.rk-cats-list a { color: inherit; text-decoration: none; padding: 2px 0; transition: color .25s; }
.rk-cats-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rk-cats-list a + a::before { content: "·"; margin: 0 8px; color: rgba(18, 17, 24, .3); }
.rk-cats-panel { position: relative; }
.rk-cats-panel[hidden] { display: none; }
.rk-cats-panel.is-animating { overflow: hidden; }
.rk-cats-panel::after { content: ""; display: block; height: 1px; margin: clamp(18px, 4vh, 48px) var(--gutter) 0; background: var(--wall-line); }
.rk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 2px; }
.rk-title { font-size: clamp(22px, 2.1vw, 30px); }
.rk-blurb { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 52ch; }
.rk-tools { display: flex; align-items: center; gap: 8px; flex: none; padding-bottom: 2px; }
.rk-count { margin-right: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.rk-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(18, 17, 24, .1); background: rgba(255, 255, 255, .85); color: var(--ink); cursor: pointer; transition: background-color .3s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.rk-btn .ico { width: 18px; height: 18px; }
.rk-btn--prev .ico { transform: rotate(180deg); }
.rk-btn:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(18, 17, 24, .5); }
.rk-btn:active { transform: translateY(0) scale(.96); }

.rk-stage { position: relative; height: var(--stage-h, 420px); overflow: hidden; }
.rk-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); }
/* the rail */
.rk-rail { position: absolute; z-index: 1; left: 0; right: 0; top: var(--rail-y); height: 9px; margin-top: -4.5px; border-radius: 5px; pointer-events: none; background: linear-gradient(180deg, #FFFFFF 0%, #E6E8EC 26%, #A1A6B0 50%, #C9CDD4 70%, #F8F9FA 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 7px 14px -5px rgba(18, 17, 24, .38), 0 24px 36px -20px rgba(18, 17, 24, .3); }
.rk-rail::after { content: ""; position: absolute; left: 0; right: 0; top: 1.5px; height: 1.2px; border-radius: 2px; background: rgba(255, 255, 255, .9); }
/* wall shadow under the rail: the rail sits an inch off the wall */
.rk-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 10px; border-radius: 50%; background: rgba(18, 17, 24, .09); filter: blur(6px); }
/* the hat wall: slatwall grooves and pegs */
.rk-slats { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 calc(var(--slat, 64px) - 7px), rgba(18, 17, 24, .075) calc(var(--slat, 64px) - 7px) calc(var(--slat, 64px) - 4px), rgba(18, 17, 24, .035) calc(var(--slat, 64px) - 4px) calc(var(--slat, 64px) - 2px), rgba(255, 255, 255, .7) calc(var(--slat, 64px) - 2px) var(--slat, 64px)); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35)); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35)); }

.rk-viewport { position: absolute; inset: 0; z-index: 2; overflow: hidden; touch-action: pan-y; cursor: grab; outline: none; }
.rk-viewport:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); }
.rack.is-dragging .rk-viewport { cursor: grabbing; }
.rk-track { position: absolute; left: 0; top: var(--track-top, 18px); height: 100%; width: 1px; will-change: transform; }
.rack.is-static .rk-viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: auto; }
.rack.is-static .rk-track { position: relative; height: 100%; }

/* a piece on the rail: the garment is a button, the label and colour dots sit under it */
.rk-item { position: absolute; left: 0; top: 0; display: block; color: inherit; text-align: center; will-change: transform; }
.rk-item.is-off { visibility: hidden; }
.rk-pick { position: absolute; left: 0; right: 0; top: 0; display: block; padding: 0; margin: 0; border: 0; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: pan-y; }
.rk-pick:focus-visible { outline: none; }
.rk-pick:focus-visible .rk-lift { outline: 3px solid var(--blue); outline-offset: 8px; border-radius: 10px; }
.rk-swing { display: block; position: absolute; inset: 0; transform-origin: var(--pivot-x, 50%) var(--pivot-y, 0px); will-change: transform; }
.rk-lift { display: block; position: absolute; inset: 0; transition: transform .7s var(--ease-out); }
.rk-pick:hover .rk-lift, .rk-pick:focus-visible .rk-lift { transform: translateY(-5px); }
.rk-hook { position: absolute; z-index: 1; left: 50%; top: 0; width: var(--hook-w, 38px); height: var(--hook-h, 57px); margin-left: calc(var(--hook-w, 38px) * -.5); filter: drop-shadow(0 1px 1px rgba(18, 17, 24, .3)); }
.rk-peg { position: absolute; z-index: 0; left: 50%; top: 0; width: var(--peg, 20px); height: var(--peg, 20px); margin-left: calc(var(--peg, 20px) * -.5); filter: drop-shadow(0 3px 3px rgba(18, 17, 24, .35)); }
.rk-img { position: absolute; z-index: 1; display: block; opacity: 0; max-width: none; transition: opacity .5s var(--ease-soft); filter: drop-shadow(0 18px 14px rgba(26, 20, 36, .17)) drop-shadow(0 2px 2px rgba(26, 20, 36, .08)); -webkit-user-select: none; user-select: none; pointer-events: none; }
.rk-item--hat .rk-img { filter: drop-shadow(0 12px 10px rgba(26, 20, 36, .22)) drop-shadow(0 2px 2px rgba(26, 20, 36, .1)); }
.rk-img.is-on { opacity: 1; }
.rk-item.is-taken .rk-img { opacity: 0; transition-duration: .15s; }
/* the label: brand · style on top, the name under it, then colour dots */
.rk-tag { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; justify-items: center; padding: 0 2px; pointer-events: none; }
.rk-tag-top { font: 700 10px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-tag-spec { font: 500 11px/1.2 var(--font-body); color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-tag-main { font: 600 12.5px/1.25 var(--font-body); color: var(--ink); max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-wrap: balance; }
.rk-dots { display: inline-flex; align-items: center; gap: 2px; margin-top: 2px; max-width: 100%; pointer-events: auto; }
.rk-dot { position: relative; flex: none; width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.rk-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--c, #999); box-shadow: inset 0 0 0 1px rgba(18, 17, 24, .14), 0 0 0 2px #fff; transition: transform .35s var(--ease-out), box-shadow .3s; }
.rk-dot:hover::before { transform: scale(1.12); }
.rk-dot.is-on::before { box-shadow: inset 0 0 0 1px rgba(18, 17, 24, .14), 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.rk-dot:focus-visible { outline: none; }
.rk-dot:focus-visible::before { box-shadow: inset 0 0 0 1px rgba(18, 17, 24, .14), 0 0 0 2px #fff, 0 0 0 3.5px var(--blue); }
.rk-dot-name { flex: 0 1 auto; min-width: 0; margin-left: 4px; font: 500 11px/1 var(--font-body); color: var(--muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-item.is-preview .rk-dot-name { color: var(--teal-dark); }
.rk-more { pointer-events: auto; margin-top: 1px; padding: 4px 6px; border: 0; background: none; font: 600 11px/1 var(--font-body); color: var(--teal-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20, 184, 166, .35); white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.rk-more:hover { text-decoration-color: currentColor; color: var(--ink); }
/* two-tone swatches (hats): a diagonal split */
.rk-dot[style*="--c2"]::before, .cu-sw[style*="--c2"]::before { background: linear-gradient(135deg, var(--c) 0 50%, var(--c2) 50% 100%); }
/* preview pieces: static, with a slow idle sway. The lean sits on the piece and the sway keyframes are plain values,
   so the animation runs on the compositor (keyframes built from custom properties would run on the main thread) */
.rk-item--mini { position: relative; flex: none; display: block; transform: rotate(var(--lean, 0deg)); transform-origin: var(--pivot-x, 50%) var(--pivot-y, 0px); }
.rk-item--mini .rk-swing { animation: rk-idle 6s ease-in-out infinite; }
@keyframes rk-idle { 0%, 100% { transform: rotate(-.8deg); } 50% { transform: rotate(.8deg); } }

/* collapsed rack: the preview strip is one big button */
.rk-expand { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px; border: 1px solid rgba(18, 17, 24, .1); background: rgba(255, 255, 255, .85); color: var(--ink); font: 600 14px/1 var(--font-body); cursor: pointer; white-space: nowrap; transition: background-color .3s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.rk-expand .ico { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.rk-expand:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(18, 17, 24, .5); }
.rk-expand:hover .ico { transform: translateX(3px); }
.rk-expand[aria-busy="true"] { opacity: .6; pointer-events: none; }
.rk-x-short { display: none; }
.rk-expand b { font-weight: 700; }
.rk-collapse { height: 40px; padding: 0 12px; border: 0; background: none; color: var(--muted); font: 600 13px/1 var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(18, 17, 24, .2); }
.rk-collapse:hover { color: var(--ink); text-decoration-color: currentColor; }
.rack.is-open .rk-expand, .rack.is-collapsed .rk-btn, .rack.is-collapsed .rk-collapse, .rack.is-collapsed .rk-stage { display: none; }
@media (min-width: 721px) { .rack.is-collapsed .rk-expand { display: none; } }
.rk-preview { position: relative; display: block; width: 100%; height: 160px; padding: 0; margin: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.rk-preview[hidden] { display: none; }
.rk-preview:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--blue); }
.rk-preview .rk-rail { top: var(--rail-y); }
.rk-preview .rk-slats { opacity: .7; }
.rk-preview-items { position: absolute; left: var(--gutter); top: var(--track-top, 10px); display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 28px); z-index: 2; }
.rk-preview-more { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(18, 17, 24, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 14px/1 var(--font-body); color: var(--ink); white-space: nowrap; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s; }
.rk-preview-more .ico { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.rk-preview:hover .rk-preview-more { background: #fff; transform: translateY(-50%) translateY(-1px); box-shadow: 0 12px 24px -14px rgba(18, 17, 24, .5); }
.rk-preview:hover .rk-preview-more .ico { transform: translateX(3px); }
.rk-preview:hover .rk-lift { transform: translateY(-3px); }
.rk-preview::after { content: ""; position: absolute; z-index: 2; right: 0; top: 0; bottom: 0; width: 34%; background: linear-gradient(90deg, rgba(244, 242, 238, 0), var(--wall) 70%); pointer-events: none; }
.rk-loadbar { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px; background: rgba(18, 17, 24, .08); border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.rk-loadbar i { display: block; height: 100%; width: 40%; background: var(--vice); animation: rk-load 1.2s var(--ease-soft) infinite; }
@keyframes rk-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.rack.is-loading .rk-loadbar { opacity: 1; }
.rack.is-failed .rk-expand { border-color: rgba(224, 0, 122, .5); }
@media (max-width: 720px) {
  .rk-expand { height: 36px; padding: 0 12px 0 14px; font-size: 13px; }
  .rk-x-long { display: none; }
  .rk-x-short { display: inline; }
  .rk-preview-more { display: none; }
  .rk-preview::after { width: 18%; }
  .rk-tag-top { font-size: 9px; }
  .rk-tag-main { font-size: 12px; }
}

/* swipe hint on touch screens, first rack only, until the first drag */
.rk-hint { position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); display: none; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid var(--wall-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; pointer-events: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.rk-hint i { font-style: normal; color: #1374A0; }
.rk-hint i:first-child { animation: rk-nudge-l 2.4s var(--ease-soft) infinite; }
.rk-hint i:last-child { animation: rk-nudge-r 2.4s var(--ease-soft) infinite; }
@keyframes rk-nudge-l { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
@keyframes rk-nudge-r { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (hover: none) and (pointer: coarse) { .rack--first .rk-hint { display: inline-flex; } }
.rack.has-dragged .rk-hint { opacity: 0; transform: translate(-50%, 8px); }

/* plain list for search engines and screen readers */
.rk-index { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); margin: 0; padding: 0; list-style: none; }

@media (max-width: 720px) {
  .rk-nav-inner { padding-block: 6px; }
  .rk-chip { height: 32px; padding: 0 12px; font-size: 12.5px; }
  .rk-nav-arrow { width: 24px; height: 24px; margin-top: -12px; }
  .rk-nav-arrow--prev { left: 5px; }
  .rk-nav-arrow--next { right: 5px; }
  .rk-nav-bar.can-l .rk-nav-chips { --fade-l: 36px; }
  .rk-nav-bar.can-r .rk-nav-chips { --fade-r: 36px; }
  .rk-menu { min-width: 200px; }
  .rk-cats-toggle { height: 36px; padding: 0 14px 0 11px; font-size: 13px; }
  .rk-cats-list { display: none; }
  .rk-head { align-items: center; }
  .rk-title { font-size: 20px; }
  .rk-blurb { display: none; }
  .rk-count { display: none; }
  .rk-btn { width: 36px; height: 36px; }
  .rack { scroll-margin-top: calc(var(--head-h) + 46px); }
}

/* ===================== Close-up: fixed overlay, always fits the viewport ===================== */
.cu { position: fixed; inset: 0; z-index: 80; color: var(--ink); opacity: 0; transition: opacity .45s var(--ease-soft); }
.cu[hidden] { display: none; }
.cu.is-in { opacity: 1; }
.cu-backdrop { position: absolute; inset: 0; background: rgba(244, 242, 238, .9); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); }
.cu-body { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); height: 100vh; height: 100dvh; max-width: var(--max); margin: 0 auto; }
.cu-close { position: absolute; z-index: 5; top: calc(env(safe-area-inset-top, 0px) + 18px); right: calc(env(safe-area-inset-right, 0px) + 18px); width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--wall-line); padding: 0; cursor: pointer; box-shadow: 0 10px 24px -14px rgba(18, 17, 24, .5); transition: transform .5s var(--ease-out), background-color .25s; }
.cu-close span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.cu-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.cu-close:hover { transform: rotate(90deg); background: var(--sea); }
.cu-stage { position: relative; min-height: 0; min-width: 0; }
.cu-box { position: absolute; left: clamp(64px, 7vw, 110px); right: clamp(40px, 4vw, 64px); top: calc(env(safe-area-inset-top, 0px) + clamp(56px, 9vh, 96px)); bottom: clamp(28px, 5vh, 56px); pointer-events: none; }
.cu-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); border: 1px solid var(--wall-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); cursor: pointer; transition: transform .5s var(--ease-out), background-color .25s; }
.cu-arrow .ico { width: 18px; height: 18px; }
.cu-arrow--prev { left: clamp(12px, 2vw, 32px); }
.cu-arrow--prev .ico { transform: rotate(180deg); }
.cu-arrow--next { right: clamp(12px, 2vw, 32px); }
.cu-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.cu-piece { position: absolute; left: var(--cu-x, 0px); top: var(--cu-y, 0px); width: var(--cu-w, 300px); height: var(--cu-h, 400px); }
.cu-hook { position: absolute; z-index: 1; left: 50%; top: 0; width: var(--cu-hook-w, 44px); height: var(--cu-hook-h, 66px); margin-left: calc(var(--cu-hook-w, 44px) * -.5); filter: drop-shadow(0 1px 1.5px rgba(18, 17, 24, .3)); opacity: 0; transition: opacity .4s var(--ease-soft); }
.cu-peg { position: absolute; z-index: 0; left: 50%; top: 0; width: var(--cu-peg, 26px); height: var(--cu-peg, 26px); margin-left: calc(var(--cu-peg, 26px) * -.5); filter: drop-shadow(0 4px 4px rgba(18, 17, 24, .35)); opacity: 0; transition: opacity .4s var(--ease-soft); }
.cu.is-in .cu-hook, .cu.is-in .cu-peg { opacity: 1; transition-delay: .35s; }
.cu-piece.is-hat .cu-hook, .cu-piece:not(.is-hat) .cu-peg { display: none; }
.cu-flip { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; will-change: transform; }
.cu-face { position: absolute; display: block; max-width: none; -webkit-backface-visibility: hidden; backface-visibility: hidden; filter: drop-shadow(0 30px 24px rgba(26, 20, 36, .2)) drop-shadow(0 3px 3px rgba(26, 20, 36, .08)); -webkit-user-select: none; user-select: none; pointer-events: none; }
.cu-face--back { transform: rotateY(180deg); }
.cu-flip.is-back { transform: perspective(1800px) rotateY(180deg); transition: transform 1s var(--ease-out); }
/* paper swing tag on a thread */
.cu-tag { position: absolute; z-index: 3; left: var(--tag-x, 60%); top: var(--tag-y, 20%); width: 96px; padding: 13px 10px 10px; background: #FFFEFB; border-radius: 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 2px rgba(18, 17, 24, .04), 0 18px 40px -16px rgba(18, 17, 24, .35); transform-origin: 50% -34px; text-align: center; transform: rotate(-6deg); animation: cu-swing 5.6s ease-in-out infinite; opacity: 0; transition: opacity .5s var(--ease-soft); }
.cu.is-in .cu-tag { opacity: 1; transition-delay: .5s; }
.cu-tag::before { content: ""; position: absolute; left: 50%; top: -36px; width: 1px; height: 36px; background: linear-gradient(180deg, rgba(18, 17, 24, .5), rgba(18, 17, 24, .25)); }
@keyframes cu-swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-2.5deg); } }
.cu-tag-hole { position: absolute; left: 50%; top: 6px; width: 6px; height: 6px; border-radius: 50%; transform: translateX(-50%); background: var(--wall); box-shadow: 0 0 0 1.5px rgba(18, 17, 24, .12) inset, 0 1px 0 #fff; }
.cu-tag-logo { width: 36px; height: auto; margin: 4px auto 4px; filter: brightness(0); opacity: .9; display: block; }
.cu-tag-title { margin: 0; font: 800 12px/.95 var(--font-display); text-transform: uppercase; text-wrap: balance; }
.cu-tag-note { display: none; }   /* the tag is logo + name; method and blank are listed beside the piece */
.cu-info { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 0; padding: calc(env(safe-area-inset-top, 0px) + clamp(72px, 10vh, 110px)) clamp(32px, 5vw, 88px) clamp(28px, 5vh, 56px) 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cu-info > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .9s var(--ease-out); }
.cu.is-in .cu-info > * { opacity: 1; transform: none; }
.cu.is-in .cu-info > :nth-child(1) { transition-delay: .2s; }
.cu.is-in .cu-info > :nth-child(2) { transition-delay: .26s; }
.cu.is-in .cu-info > :nth-child(3) { transition-delay: .32s; }
.cu.is-in .cu-info > :nth-child(4) { transition-delay: .38s; }
.cu.is-in .cu-info > :nth-child(5) { transition-delay: .44s; }
.cu.is-in .cu-info > :nth-child(6) { transition-delay: .5s; }
.cu.is-swapping .cu-info > * { opacity: 0 !important; transform: translateY(8px) !important; transition-duration: .22s, .22s; transition-delay: 0s !important; }
.cu.is-swapping .cu-tag { opacity: 0; transition-delay: 0s; transition-duration: .2s; }
.cu-kicker { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cu-name { font-size: clamp(26px, 2.8vw, 42px); line-height: .98; max-width: 16em; }
.cu-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 4px 0 0; font-size: 14.5px; line-height: 1.4; }
.cu-meta dt { color: var(--muted); font-weight: 500; }
.cu-meta dd { margin: 0; font-weight: 600; }
.cu-colors { display: grid; gap: 8px; margin-top: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(18, 17, 24, .06); transition: box-shadow .5s var(--ease-out), background-color .5s; }
.cu-colors[hidden] { display: none; }
.cu-colors.is-hot { background: #fff; box-shadow: 0 0 0 3px rgba(41, 182, 232, .35), 0 20px 40px -24px rgba(18, 17, 24, .4); }
.cu-colors-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cu-colors-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cu-color-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.cu-palette { display: flex; flex-wrap: wrap; gap: 4px 2px; }
.cu-sw { position: relative; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.cu-sw::before { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--c, #999); box-shadow: inset 0 0 0 1px rgba(18, 17, 24, .14), 0 0 0 2px #fff; transition: transform .35s var(--ease-out), box-shadow .3s; }
.cu-sw:hover::before { transform: scale(1.12); }
.cu-sw.is-on::before { box-shadow: inset 0 0 0 1px rgba(18, 17, 24, .14), 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.cu-sw:focus-visible { outline: none; }
.cu-sw:focus-visible::before { box-shadow: inset 0 0 0 1px rgba(18, 17, 24, .14), 0 0 0 2px #fff, 0 0 0 3.5px var(--blue); }
/* photographed colourways carry a tiny white mark; everything else is a live preview */
.cu-sw.is-photo::after, .cu-sw-key::before { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(18, 17, 24, .35); }
.cu-sw-key { position: relative; display: inline-block; width: 12px; height: 12px; margin: 0 6px -2px 0; border-radius: 50%; background: #9A9EA8; }
.cu-colors-foot { font-size: 12px; line-height: 1.45; color: var(--muted); }
.cu-badge { position: absolute; z-index: 4; left: 50%; bottom: clamp(10px, 2vh, 18px); transform: translateX(-50%); padding: 7px 11px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 10.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.cu-badge[hidden] { display: none; }
@media (max-width: 860px) { .cu-colors { padding: 10px 12px; } .cu-sw { width: 28px; height: 28px; } .cu-badge { bottom: 56px; } }
.cu-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cu-pills { display: inline-flex; padding: 4px; gap: 2px; background: #fff; border: 1px solid var(--wall-line); border-radius: 999px; }
.cu-pills[hidden] { display: none; }
.cu-pill { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 600 13px/1 var(--font-body); letter-spacing: .02em; color: var(--muted); cursor: pointer; transition: color .25s, background-color .35s; }
.cu-pill:hover { color: var(--ink); }
.cu-pill.is-on { background: var(--ink); color: #fff; }
.cu-pos { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.cu-steps { border-top: 1px solid var(--wall-line); border-bottom: 1px solid var(--wall-line); }
.cu-steps[hidden] { display: none; }
.cu-steps summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; cursor: pointer; list-style: none; font: 600 14px/1 var(--font-body); color: var(--ink); }
.cu-steps summary::-webkit-details-marker { display: none; }
.cu-steps summary::after { content: "+"; font: 400 20px/1 var(--font-body); color: var(--teal-dark); transition: transform .4s var(--ease-out); }
.cu-steps[open] summary::after { transform: rotate(45deg); }
.cu-steps ol { counter-reset: cu; display: grid; gap: 8px; padding: 0 0 14px; }
.cu-steps li { position: relative; padding-left: 30px; font-size: 13.5px; line-height: 1.45; color: var(--muted); counter-increment: cu; }
.cu-steps li::before { content: counter(cu, decimal-leading-zero); position: absolute; left: 0; top: 1px; font: 800 12px/1.4 var(--font-display); color: var(--blue-dark); letter-spacing: .04em; }
.cu-quote { align-self: center; margin-top: 4px; height: 52px; }
@media (max-width: 860px) {
  .cu-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 50fr) minmax(0, 50fr); }
  .cu-close { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; width: 42px; height: 42px; }
  .cu-box { left: 56px; right: 56px; top: calc(env(safe-area-inset-top, 0px) + 56px); bottom: 14px; }
  .cu-arrow { width: 40px; height: 40px; top: auto; bottom: 8px; transform: none; }
  .cu-arrow:hover { transform: scale(1.06); }
  .cu-arrow--prev { left: 12px; }
  .cu-arrow--next { right: 12px; }
  .cu-info { justify-content: flex-start; gap: 10px; padding: 8px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 20px); }
  .cu-name { font-size: clamp(22px, 6.2vw, 30px); }
  .cu-meta { font-size: 13.5px; gap: 4px 14px; }
  .cu-tag { width: 72px; padding: 11px 7px 7px; }
  .cu-tag::before { height: 24px; top: -24px; }
  .cu-tag-logo { width: 28px; margin: 3px auto 3px; }
  .cu-tag-title { font-size: 10px; }
  .cu-quote { height: 48px; font-size: 15px; }
}
@media (max-width: 860px) and (max-height: 560px) {
  .cu-body { grid-template-rows: minmax(0, 42fr) minmax(0, 58fr); }
}

/* Film: collage -> full bleed loop */
.film { position: relative; background: var(--ink); color: #fff; }
.film-pin { position: relative; overflow: hidden; }
.film-head { position: relative; z-index: 2; width: 100%; padding-top: clamp(72px, 10vh, 120px); text-align: center; }
.film-head .eyebrow { justify-content: center; color: rgba(255, 255, 255, .6); }
.film-title { font-size: clamp(34px, 4.6vw, 72px); margin: 0 auto; max-width: 14em; }
.film-title em { color: var(--blue); }
.film-card { position: absolute; overflow: hidden; border-radius: 14px; background: #2a2735; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.film-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-card--c img { object-fit: contain; background: #fff; padding: 8%; }
.film-main { position: absolute; inset: 0; transform: scale(.34); transform-origin: 50% 60%; overflow: hidden; border-radius: 24px; background: #000; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); will-change: transform; }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 16, .75), rgba(10, 8, 16, 0) 45%); pointer-events: none; }
.film-toggle { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; z-index: 1; }
.film-caption { position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(32px, 6vh, 64px); max-width: 36ch; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.4; color: rgba(255, 255, 255, .92); opacity: 0; }
@media (min-width: 900px) {
  .film { height: 320vh; }
  .film-pin { height: 100vh; }
  .film-head { position: absolute; left: 0; right: 0; top: 0; }
  .film-stage { position: absolute; inset: 0; }
  .film-card--a { left: 7vw; top: 22vh; width: 23vw; aspect-ratio: 4 / 3; }
  .film-card--b { right: 8vw; top: 16vh; width: 14vw; aspect-ratio: 3 / 4; }
  .film-card--c { left: 23vw; bottom: 9vh; width: 12vw; aspect-ratio: 1; }
}
@media (max-width: 899px) {
  .film-pin { padding-bottom: var(--section); }
  .film-head { padding-top: var(--section); }
  .film-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 36px var(--gutter) 0; }
  .film-card { position: relative; border-radius: 10px; aspect-ratio: 1; }
  .film-main { position: relative; inset: auto; aspect-ratio: 16 / 9; grid-column: 1 / -1; transform: none; border-radius: 14px; margin-top: 8px; }
  .film-caption { position: static; opacity: 1; padding: 28px var(--gutter) 0; max-width: 40ch; font-size: 17px; color: rgba(255, 255, 255, .78); }
}

/* Services */
.services { padding-block: var(--section); background: var(--white); position: relative; overflow: hidden; }
.services::before { content: ""; position: absolute; left: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, var(--sea), transparent 70%); opacity: .9; pointer-events: none; z-index: 0; }
.services > .wrap { position: relative; z-index: 1; }
.services .display em { color: var(--teal-dark); }
.svc-grid { position: relative; display: grid; gap: 14px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.4vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s; }
.svc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--vice); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .45s; pointer-events: none; }
.svc::after { content: ""; position: absolute; width: 260px; height: 260px; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(41, 182, 232, .22), rgba(20, 184, 166, .12) 55%, transparent 72%); opacity: 0; transition: opacity .45s; pointer-events: none; }
.svc:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(38, 12, 78, .35); border-color: transparent; }
.svc:hover::before, .svc:hover::after { opacity: 1; }
.svc > * { position: relative; z-index: 1; }
.svc-ico { width: 52px; height: 52px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: stroke .4s; }
.svc:hover .svc-ico { stroke: var(--blue-dark); }
.svc-n { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.svc h3 { font-size: var(--fs-display-3); font-weight: 800; line-height: 1; }
.svc p { color: var(--muted); font-size: 16px; line-height: 1.55; flex: 1; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.svc-link .ico { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.svc-link:hover { color: var(--teal-dark); }
.svc-link:hover .ico { transform: translateX(4px); }
@media (min-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(6, 1fr); }
  .svc { grid-column: span 2; }
  .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(5) { grid-column: span 2; }
}

/* How it works */
.how { position: relative; background: var(--sea); background: linear-gradient(180deg, #fff 0%, var(--sea) 100%); overflow: hidden; }
.how-pin { position: relative; display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 5vh, 64px); }
.how-head { width: 100%; }
.how-track { display: flex; }
.step { position: relative; display: flex; flex-direction: column; }
.step-n { position: absolute; font-size: clamp(120px, 14vw, 240px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(18, 17, 24, .22); letter-spacing: -.02em; pointer-events: none; transition: color .6s var(--ease-soft), -webkit-text-stroke-color .6s; }
.step.is-active .step-n { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.step h3 { font-size: clamp(24px, 2.2vw, 36px); font-weight: 800; line-height: 1; }
.step-k { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 13px/1 var(--font-body); margin-right: 12px; vertical-align: middle; transform: translateY(-3px); }
.step.is-active .step-k { background: var(--teal); }
.step p { color: var(--muted); max-width: 34ch; }
.how-progress { height: 1px; background: rgba(18, 17, 24, .12); margin-inline: var(--gutter); }
.how-progress i { display: block; height: 100%; background: var(--vice); transform: scaleX(0); transform-origin: left; }
@media (min-width: 900px) {
  .how { height: 100vh; }
  .how-pin { height: 100vh; }
  .how-track { gap: clamp(32px, 4vw, 72px); width: max-content; padding-left: var(--gutter); padding-right: var(--gutter); }
  .step { width: clamp(340px, 32vw, 520px); padding: calc(clamp(120px, 14vw, 240px) * .8 + 28px) 0 0 28px; border-left: 1px solid rgba(18, 17, 24, .14); gap: 14px; }
  .step-n { left: 20px; top: -6px; }
  .how-progress { margin-top: 0; }
}
@media (max-width: 899px) {
  .how { padding-block: var(--section); }
  .how-track { flex-direction: column; gap: 44px; padding-inline: var(--gutter); }
  .step { padding: 72px 0 0 0; gap: 10px; }
  .step-n { left: -2px; top: -14px; font-size: 96px; }
  .how-progress { display: none; }
}

/* CTA band */
.band { position: relative; padding-block: var(--section); background: var(--sunset); color: #fff; overflow: hidden; isolation: isolate; }
.band-glow { position: absolute; inset: -30%; z-index: 0; background: radial-gradient(30% 40% at 70% 30%, rgba(255, 178, 30, .55), transparent 70%), radial-gradient(30% 40% at 20% 80%, rgba(41, 182, 232, .35), transparent 70%); filter: blur(50px); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) rotate(0deg); } to { transform: translate3d(3%, 3%, 0) rotate(6deg); } }
.band-inner { position: relative; z-index: 1; display: grid; gap: 28px; justify-items: start; }
.band-title { font-size: clamp(40px, 6.6vw, 112px); max-width: 9em; }
.band-title em { color: #fff; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9); color: transparent; }
.band-sub { color: rgba(255, 255, 255, .8); font-size: clamp(17px, 1.3vw, 20px); max-width: 44ch; }

/* Footer */
.site-foot { background: var(--ink); color: #fff; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(56px, 7vw, 96px) 40px; }
.foot-logo { width: 96px; display: block; margin-bottom: 20px; }
.foot-brand p { color: rgba(255, 255, 255, .6); max-width: 32ch; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: border-color .3s, color .3s, background-color .3s; }
.foot-social a:hover { color: var(--ink); background: #fff; border-color: #fff; }
.foot-social .ico { width: 20px; height: 20px; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 8px; }
.foot-col a, .foot-col span, .foot-col address { color: rgba(255, 255, 255, .9); text-decoration: none; font-size: 15px; line-height: 1.6; }
.foot-col a:hover { color: var(--blue); }
.foot-big { padding-inline: var(--gutter); line-height: 0; }
.foot-big .display { display: block; font-size: clamp(44px, 11.4vw, 200px); line-height: .9; letter-spacing: -.01em; white-space: nowrap; color: transparent; background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .16)); -webkit-background-clip: text; background-clip: text; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.foot-legal a:hover { color: #fff; }
@media (max-width: 960px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
}

/* Custom cursor (desktop with a fine pointer only): a small dot; the stamp's triangle over anything clickable;
   a text pill for "Drag", "Pick up", "Flip", "Close". Never a big circle. */
.cursor { display: none; position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; will-change: transform; }
html.has-cursor { cursor: none; }
html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor .rk-viewport, html.has-cursor summary, html.has-cursor video { cursor: none; }
html.has-cursor .cursor { display: block; }
.cursor-dot { position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9); transition: transform .25s var(--ease-out), opacity .2s; }
.cursor-tri { position: absolute; left: 0; top: 0; width: 16px; height: 14px; margin: -5px 0 0 -8px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)); opacity: 0; transform: scale(.4); transform-origin: 50% 36%; transition: opacity .2s, transform .35s var(--ease-out); }
.cursor.is-hover .cursor-dot { transform: scale(0); opacity: 0; }
.cursor.is-hover .cursor-tri { opacity: 1; transform: scale(1); }
.cursor.is-down .cursor-tri { transform: scale(.8); }
.cursor-label { position: absolute; left: 14px; top: 12px; padding: 7px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateY(4px) scale(.92); transform-origin: 0 0; transition: opacity .2s, transform .3s var(--ease-out); }
.cursor.has-label .cursor-label { opacity: 1; transform: none; }

/* Reduced motion: everything visible and still (also forced with ?motion=off via html.reduce) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-glow, .cu-tag, .rk-hint i { animation: none !important; }
  .film-main { transform: scale(.72); }
  .film-caption { opacity: 1; }
  .step .step-n { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
  .how-progress i { transform: none; }
  .site-head, .btn, .svc, .nav a::after, .rk-nav, .rk-lift, .rk-cap, .rk-img, .cu, .cu-info > *, .cu-tag, .cu-hook, .cu-peg, .cu-flip, .live, .rk-btn, .cu-arrow, .cu-close, .rk-nav-chips, .rk-nav-arrow, .rk-chip, .rk-chip .rk-chev, .rk-cats-toggle, .rk-cats-toggle .rk-chev { transition-duration: .01s !important; transition-delay: 0s !important; }
  .rk-menu.is-in { animation: none; }
  @media (max-width: 899px) { .film-main { transform: none; } }
}
html.reduce .rk-menu.is-in { animation: none; }
/* Static layout (reduced motion, ?motion=off, or the motion libraries never loaded): no pinned sections */
html.reduce { scroll-behavior: auto; }
html.reduce .band-glow, html.reduce .cu-tag, html.reduce .rk-hint i { animation: none !important; }
html.reduce .film-main { transform: scale(.72); }
html.reduce .film-caption { opacity: 1; }
html.reduce .step .step-n { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
html.reduce .how-progress i { transform: none; }
@media (max-width: 899px) { html.reduce .film-main { transform: none; } }
@media (min-width: 900px) {
  html.reduce .film, html:not(.js) .film { height: auto; }
  html.reduce .film-pin, html:not(.js) .film-pin { height: auto; padding-bottom: var(--section); }
  html.reduce .film-head, html:not(.js) .film-head { position: relative; }
  html.reduce .film-stage, html:not(.js) .film-stage { position: relative; height: 72vh; margin-top: 40px; }
  html.reduce .film-main, html:not(.js) .film-main { transform: scale(.72); transform-origin: 50% 50%; }
  html.reduce .film-caption, html:not(.js) .film-caption { position: relative; left: auto; bottom: auto; margin: 28px var(--gutter) 0; opacity: 1; }
  html.reduce .how, html:not(.js) .how { height: auto; padding-block: var(--section); }
  html.reduce .how-pin, html:not(.js) .how-pin { height: auto; }
  html.reduce .how-track, html:not(.js) .how-track { width: auto; flex-wrap: wrap; row-gap: 72px; }
  html.reduce .how-progress, html:not(.js) .how-progress { display: none; }
}

/* Sound toggle (header): line-art boombox, off by default; the woofers thump while the song plays */
.sound-toggle { display: inline-grid; place-items: center; width: 54px; height: 40px; flex: none; padding: 0; border-radius: 999px; border: 1px solid rgba(18, 17, 24, .14); background: transparent; color: inherit; cursor: pointer; transition: color .25s, border-color .25s; }
.sound-toggle:hover { border-color: currentColor; }
.sound-toggle .snd-ico { width: 36px; height: 24px; overflow: visible; }
.sound-toggle .woof { transform-box: fill-box; transform-origin: center; }
.sound-toggle.is-on { color: var(--teal-dark, #0E8074); border-color: currentColor; }
.sound-toggle.is-on .woof { animation: woof .48s ease-in-out infinite; }
@keyframes woof { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .sound-toggle.is-on .woof { animation: none; } }

/* Live chat button (header): opens the Respond.io chat; falls back to the contact page */
.head-chat { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--teal, #14B8A6); color: #0A6B5F; background: rgba(20, 184, 166, .06); text-decoration: none; font: 800 12.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, color .2s; }
.head-chat:hover { background: var(--teal, #14B8A6); color: #fff; }
/* the ping is a ring scaling up on its own layer (transform + opacity only, so it never repaints the header) */
.chat-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex: none; }
.chat-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(34, 197, 94, .55); animation: chat-ping 2s ease-out infinite; will-change: transform, opacity; }
@keyframes chat-ping { 0% { transform: scale(1); opacity: 1; } 80%, 100% { transform: scale(3); opacity: 0; } }
.chat-short { display: none; }
@media (max-width: 1100px) { .chat-long { display: none; } .chat-short { display: inline; } }
@media (max-width: 560px) { .head-chat { padding: 0 12px; } .head-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .chat-dot::after { animation: none; opacity: 0; } }

/* The first rack paints as soon as its images decode (it's the page's largest element): no fade-in */
.rack--first .rk-img { transition: none; }

/* Shirt close-ups: the hang tag sits low on the stomach (clear of customer prints) on a short string */
.cu-piece.tag-low .cu-tag::before { top: -14px; height: 14px; }

/* Hats sit on the wall by themselves: no pegs (Chris, Nov 3) */
.rk-peg, .cu-peg { display: none; }

/* Hats turn through four angles on one face, so it needs no flip; the right view is the left photo mirrored */
.cu-face--alt { -webkit-backface-visibility: visible; backface-visibility: visible; }
.cu-face--alt[hidden], .cu-pill[hidden] { display: none; }
.cu-piece.can-turn { cursor: grab; touch-action: pan-y; }
.cu-piece.can-turn:active { cursor: grabbing; }
@media (max-width: 420px) { .cu-pill { padding: 0 12px; } }
