/* ============================================================
   KIVØ — monochrome liquid chrome, safety-pin details
   ============================================================ */

:root {
  --ink: #0b0b0b;
  --ink-2: #141414;
  --ink-3: #1d1d1d;
  --paper: #f2f1ee;
  --paper-2: #e7e6e2;
  --white: #ffffff;
  --muted: #8d8d8d;
  --muted-dark: #5d5d5d;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.12);

  /* liquid chrome — for text/fills on dark backgrounds */
  --chrome: linear-gradient(180deg, #ffffff 0%, #e2e2e2 24%, #9b9b9b 46%, #4d4d4d 52%, #b8b8b8 66%, #ffffff 86%, #cfcfcf 100%);
  /* glossy black — for text on light backgrounds */
  --chrome-dark: linear-gradient(180deg, #6a6a6a 0%, #1a1a1a 38%, #000000 52%, #3c3c3c 74%, #0d0d0d 100%);

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --radius: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid #cfcfcf; outline-offset: 3px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.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 {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* ---------- type helpers ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0 0 12px;
}
.eyebrow--light { color: var(--muted); }

.display {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .92;
  font-size: clamp(44px, 9vw, 120px);
  margin: 0;
  color: var(--ink);
}
.display--light { color: var(--white); }

.chrome,
.chrome-dark {
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chrome { background-image: var(--chrome); }
.chrome-dark { background-image: var(--chrome-dark); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--chrome {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 45%, #a8a8a8 52%, #efefef 100%);
  border-color: #000;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.25);
}
.btn--chrome:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.18), 0 10px 30px rgba(255,255,255,.12);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  background: transparent;
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

.btn--block { width: 100%; }

.btn--dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: transparent; color: var(--ink); }

/* ---------- announcement bar ---------- */

.announce {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
}
.announce__track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 9px var(--gutter);
  text-align: center;
}
@media (max-width: 640px) {
  .announce__track span:nth-child(n+2) { display: none; }
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 var(--gutter);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header__logo img {
  height: 40px;
  width: auto;
}

.nav { display: flex; gap: 32px; }
.nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cfcfcf;
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--chrome);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; }

.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 8px 0 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .2s, background-color .2s;
}
.bag-btn:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: var(--radius);
  background: var(--chrome);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
}
.bag-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 22px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .bag-btn span:first-child { display: none; }
  .bag-btn { padding: 0 6px; }
  .header__logo img { height: 34px; }
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100svh - 104px);
  padding: 72px var(--gutter) 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 45% at 50% 46%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(30% 20% at 50% 50%, rgba(255,255,255,.06), transparent 70%);
}
.hero__glow::after {
  /* film grain */
  content: "";
  position: absolute; inset: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 clamp(28px, 5vw, 48px);
  padding: 0;
}
.hero__tags li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #cfcfcf;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero__logo {
  margin: 0;
  width: min(980px, 100%);
  transition: transform .4s var(--ease);
}
.hero__float { position: relative; display: block; animation: float 7s ease-in-out infinite; }
.hero__logo img {
  width: 100%;
  height: auto;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-10px) rotate(.6deg); }
}

.hero__line {
  margin: clamp(24px, 4vw, 40px) 0 32px;
  max-width: 34ch;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  color: #d6d6d6;
}
.br-md { display: none; }
@media (min-width: 720px) { .br-md { display: inline; } }

.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 72px;
  color: #9a9a9a;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center;
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 6px; }
}

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

.marquee {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  overflow: hidden;
  padding: 14px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(22px, 3.2vw, 38px);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee__track svg { width: 84px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

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

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* ---------- shop ---------- */

.shop {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.filters button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.25);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filters button { display: inline-flex; align-items: center; gap: 8px; }
.filters button:hover { border-color: #000; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.35); display: inline-block; }
.dot--white { background: #fff; }
.dot--black { background: #111; }
.dot--cream { background: #ebe4cf; }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.10); }

.card__stage {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
}
.card__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.card:hover .card__stage img { transform: scale(1.04); }

.card__pin {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 64px;
  color: #1a1a1a;
  transform: rotate(-14deg);
  opacity: .85;
}
.card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.card__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 20px; flex: 1; border-top: 1px solid var(--line-dark); }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card__price { font-family: var(--mono); font-size: 15px; font-weight: 700; }
.card__meta { margin: -8px 0 0; font-size: 13px; color: var(--muted-dark); }

.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes button {
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.2);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.sizes button:hover { border-color: #000; }
.sizes button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes.shake { animation: shake .4s; }
@keyframes shake {
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.card__add {
  margin-top: auto;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.card__add:hover { background: transparent; color: var(--ink); }

/* ---------- about ---------- */

.about {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  background:
    radial-gradient(50% 40% at 85% 10%, rgba(255,255,255,.06), transparent 70%),
    var(--ink);
}
.manifesto {
  margin: 0 0 clamp(56px, 8vw, 96px);
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(36px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -0.02em;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.pillars article { background: var(--ink-2); padding: clamp(24px, 3vw, 36px); }
.pillars__no { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .14em; }
.pillars h3 {
  margin: 18px 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 115%;
  font-variation-settings: "wdth" 115;
  text-transform: uppercase;
  font-size: 22px;
}
.pillars p { margin: 0; color: #b4b4b4; max-width: 38ch; }

/* ---------- custom tee builder ---------- */

.custom {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.custom__intro { margin: 18px 0 0; max-width: 46ch; color: var(--muted-dark); font-size: 17px; }

.builder {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } }

.builder__stage {
  position: sticky;
  top: 88px;
  border-radius: 22px;
  border: 1px solid var(--line-dark);
  background: radial-gradient(70% 60% at 50% 40%, #ffffff 0%, #efeeea 70%, #e4e3de 100%);
  padding: 20px;
}
@media (max-width: 900px) { .builder__stage { position: relative; top: 0; } }
.builder__views { display: flex; gap: 6px; justify-content: center; margin-bottom: 8px; }
.builder__views button {
  min-height: 36px; padding: 0 18px; border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.25); background: transparent;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.builder__views button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tee { width: min(100%, 520px); margin: 0 auto; filter: drop-shadow(0 22px 22px rgba(0,0,0,.16)); }
.tee text { user-select: none; }

.builder__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 32px);
}
.builder__controls fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.builder__controls legend {
  padding: 0; margin-bottom: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.builder__controls legend small { font-weight: 400; color: var(--muted-dark); letter-spacing: .06em; text-transform: none; }

.field {
  width: 100%; height: 50px; padding: 0 16px;
  border-radius: 14px; border: 1px solid rgba(0,0,0,.25);
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
  margin-bottom: 10px;
}
.field:focus { outline: 2px solid var(--ink); outline-offset: 1px; }

.swatches, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch, .chip { position: relative; cursor: pointer; }
.swatch input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.swatch {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 8px;
  border-radius: var(--radius); border: 1px solid rgba(0,0,0,.2);
  font-size: 14px;
}
.swatch span { width: 28px; height: 28px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.3); }
.swatch:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip span {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 16px;
  border-radius: var(--radius); border: 1px solid rgba(0,0,0,.2);
  font-size: 14px;
}
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.swatch:has(input:focus-visible), .chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.f-brush { font-family: "Permanent Marker", var(--body); }
.f-mono { font-family: var(--mono); }

.upload {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 16px;
  border-radius: 14px; border: 1px dashed rgba(0,0,0,.35);
  font-size: 14px; color: var(--muted-dark); cursor: pointer; text-align: center;
  transition: border-color .2s, background-color .2s;
}
.upload:hover { border-color: var(--ink); background: #fafafa; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.link-btn { margin-top: 8px; padding: 0; border: 0; background: none; font-size: 13px; text-decoration: underline; color: var(--muted-dark); }

.builder__buy {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px; border-top: 1px solid var(--line-dark);
}
.builder__price { font-family: var(--mono); font-size: 22px; font-weight: 700; }
.builder__note { margin: 0; font-size: 13px; color: var(--muted-dark); }

/* ---------- photo zoom ---------- */

.zoom {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(255,255,255,.97);
  animation: fade .2s both;
  cursor: zoom-out;
}
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom__close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.25); background: #fff; color: var(--ink); font-size: 16px;
}

/* ---------- drop list ---------- */

.list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(80px, 12vw, 150px) var(--gutter);
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(255,255,255,.08), transparent 70%),
    var(--ink);
}
.list__pin { width: 140px; color: #bdbdbd; margin-bottom: 32px; }
.list .display { font-size: clamp(36px, 7vw, 88px); max-width: 14ch; }
.list > p { color: #b4b4b4; margin: 20px 0 32px; max-width: 46ch; }

.signup {
  display: flex;
  gap: 8px;
  width: min(520px, 100%);
  padding: 6px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.25);
  background: var(--ink-2);
}
.signup input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  outline: none;
}
.signup input::placeholder { color: #777; }
.signup:focus-within { border-color: #fff; }
.signup__done { font-family: var(--mono); font-size: 13px; color: #e6e6e6; margin-top: 16px; }

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

.footer {
  padding: 64px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.footer__logo { width: min(420px, 80%); height: auto; margin-bottom: 48px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__cols h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__cols a { display: block; padding: 5px 0; color: #dcdcdc; transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__legal { margin: 24px 0 0; font-size: 13px; color: var(--muted); }

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

.overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  animation: fade .25s both;
}
@keyframes fade { from { opacity: 0; } }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 70;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .4s var(--ease), visibility .4s;
}
.drawer.open { transform: none; visibility: visible; }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-dark);
}
.drawer__head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: 22px;
}
.drawer__close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.2); background: transparent;
}
.drawer__close:hover { border-color: #000; }
.drawer__items { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.drawer__empty { padding: 32px 24px; margin: 0; color: var(--muted-dark); flex: 1; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line-dark); background: var(--white); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.drawer__total span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.drawer__total strong { font-family: var(--mono); font-size: 20px; }
.drawer__note { margin: 12px 0 0; font-size: 13px; color: var(--muted-dark); text-align: center; }
.drawer .btn--chrome { border-color: var(--ink); }

.line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}
.line__thumb {
  width: 72px; height: 72px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 40%, #fff, #e3e3df);
}
.line__thumb { overflow: hidden; background: #fff; border: 1px solid var(--line-dark); }
.line__thumb img { width: 100%; height: 100%; object-fit: contain; }
.line__thumb svg { width: 80%; }
.line__custom { margin: 0 0 8px; font-size: 12px; color: var(--muted-dark); }
.line__name { margin: 0; font-weight: 700; text-transform: uppercase; font-size: 14px; }
.line__size { margin: 2px 0 8px; font-family: var(--mono); font-size: 12px; color: var(--muted-dark); }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(0,0,0,.2); border-radius: var(--radius); }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-family: var(--mono); font-size: 13px; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line__price { font-family: var(--mono); font-weight: 700; }
.line__remove {
  border: 0; background: transparent; padding: 0;
  font-size: 12px; color: var(--muted-dark); text-decoration: underline;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #000;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: opacity .25s, transform .3s var(--ease);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- checkout (inside the bag drawer) ---------- */

.drawer__step { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer__step[hidden] { display: none; }
.drawer__head { gap: 12px; }
.drawer__head h2 { margin-right: auto; }
.drawer__back {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.2); background: transparent; font-size: 18px;
}
.drawer__note a { color: var(--ink); }
.drawer__sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted-dark); margin-bottom: 4px; }
.drawer__sum[hidden] { display: none; }

.checkout__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.ck-lbl {
  display: block; margin: 16px 0 6px; padding: 0;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.ck-lbl small { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted-dark); }
.ck-in {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(0,0,0,.25); background: #fff; color: var(--ink);
  font: inherit; font-size: 16px;
}
textarea.ck-in { resize: vertical; }
select.ck-in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.ck-in:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.ck-in[aria-invalid="true"] { border-color: #b3261e; }
.ck-help { margin: 6px 0 0; font-size: 13px; color: var(--muted-dark); }
.ck-method { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck-method legend { grid-column: 1 / -1; }
.ck-opt { position: relative; cursor: pointer; }
.ck-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ck-opt span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,.2); background: #fff;
}
.ck-opt small { font-size: 12px; color: var(--muted-dark); }
.ck-opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ck-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.ck-err { min-height: 0; margin: 0 0 10px; color: #b3261e; font-size: 14px; }
.ck-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { align-items: center; justify-content: center; text-align: center; padding: 32px 28px; gap: 6px; }
.done__pin { width: 120px; color: var(--ink); margin-bottom: 8px; }
.done h3 {
  margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: 30px;
}
.done p { margin: 0 0 8px; color: #333; max-width: 32ch; }
.done__total { font-size: 18px; }
.done .btn { margin-top: 18px; }

/* sold-out cards */
.card--soldout .card__stage img { opacity: .45; filter: grayscale(1); }
.card--soldout .card__add { background: transparent; color: var(--muted-dark); border-color: rgba(0,0,0,.2); cursor: not-allowed; }
.card__badge--out { background: #b3261e; }
.line__warn { margin: 0 0 6px; font-size: 12px; color: #b3261e; }

/* ============================================================
   MOTION — everything below only kicks in when JS adds .motion
   to <html> (it doesn't when the visitor prefers reduced motion)
   ============================================================ */

/* scroll progress, a chrome hairline under the header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: var(--chrome);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}

/* hero intro + chrome light sweeping across the logo */
.motion .hero__tags { animation: intro 1s var(--ease) .1s both; }
.motion .hero__logo { animation: introFade 1.4s var(--ease) .25s both; }
.motion .hero__line { animation: intro 1s var(--ease) .55s both; }
.motion .hero__cta  { animation: intro 1s var(--ease) .7s both; }
.motion .hero__scroll { animation: introFade 1s ease 1.2s both, nudge 2.4s ease-in-out 2.2s infinite; }
@keyframes intro { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
@keyframes introFade { from { opacity: 0; filter: blur(12px); } }

.hero__sheen {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(assets/kivo-logo-chrome.png) center / 100% 100% no-repeat;
  mask: url(assets/kivo-logo-chrome.png) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 49%, rgba(255,255,255,.25) 53%, transparent 62%);
  background-size: 300% 100%;
  background-position: 150% 0;
  opacity: 0;
}
.motion .hero__sheen { opacity: 1; animation: sheen 5.5s ease-in-out 1.6s infinite; }
@keyframes sheen {
  0% { background-position: 150% 0; }
  40%, 100% { background-position: -50% 0; }
}

/* reveal on scroll */
.motion [data-reveal]:not(.in) { opacity: 0; }
.motion [data-reveal].in { animation: reveal .95s var(--ease) var(--d, 0ms) backwards; }
@keyframes reveal { from { opacity: 0; transform: translateY(34px); } }
.motion .card[data-reveal].in { animation-name: revealCard; }
@keyframes revealCard { from { opacity: 0; transform: translateY(48px) scale(.97) rotate(-.6deg); } }

/* headlines rise word by word out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em 0 .12em; margin: -.08em 0 -.12em; }
.wi { display: inline-block; }
.motion [data-split]:not(.in) .wi { transform: translateY(110%); }
.motion [data-split].in .wi { animation: wordUp 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes wordUp { from { transform: translateY(110%) rotate(4deg); } }

/* product cards: 3D tilt, glare that follows the pointer, a swinging pin */
.grid { perspective: 1400px; }
.card { will-change: transform; }
.card.tilting { transition: transform .12s linear, box-shadow .35s var(--ease); box-shadow: 0 26px 50px rgba(0,0,0,.14); }
.card__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.75), rgba(255,255,255,0) 42%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .35s;
}
.card:hover .card__stage::after { opacity: 1; }
.card__pin { transform-origin: 10% 55%; }
.motion .card:hover .card__pin { animation: swing 1.1s var(--ease); }
@keyframes swing {
  0% { transform: rotate(-14deg); }
  25% { transform: rotate(6deg); }
  50% { transform: rotate(-24deg); }
  72% { transform: rotate(-8deg); }
  100% { transform: rotate(-14deg); }
}

/* tee flying into the bag */
.fly {
  position: fixed; z-index: 95; pointer-events: none;
  object-fit: contain; background: #fff; border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.bag-btn.catch { animation: catch .5s var(--ease); }
@keyframes catch { 40% { transform: scale(1.12) rotate(-4deg); } }

/* custom tee flips between front and back */
.tee { transform-style: preserve-3d; backface-visibility: hidden; }

/* chrome buttons lean toward the pointer */
.magnet { transition: transform .25s var(--ease); }

/* the marquee is driven by scroll speed in JS */
.motion .marquee__track { animation: none; }

/* ---------- printed receipt ---------- */

.receipt-stage {
  position: fixed; inset: 0; z-index: 85;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(24px + env(safe-area-inset-top)) 16px 40px;
  overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(60% 40% at 50% 0%, rgba(255,255,255,.1), transparent 70%), rgba(6,6,6,.95);
  backdrop-filter: blur(6px);
  animation: fade .3s both;
}
.receipt-stage[hidden] { display: none; }

.printer {
  position: relative; z-index: 2; flex: none;
  width: min(400px, 94vw); height: 66px;
  border-radius: 20px 20px 12px 12px;
  background: linear-gradient(180deg, #4a4a4a 0%, #1b1b1b 45%, #070707 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.6), 0 22px 40px rgba(0,0,0,.7);
}
.printer__brand {
  position: absolute; top: 12px; left: 22px;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-size: 13px; letter-spacing: .12em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.printer__led {
  position: absolute; top: 15px; right: 22px; width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84; box-shadow: 0 0 10px #3ddc84;
}
.receipt-stage.printing .printer__led { animation: blink .3s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.printer__slot {
  position: absolute; left: 7%; right: 7%; bottom: 11px; height: 9px; border-radius: 6px;
  background: #000; box-shadow: inset 0 3px 5px rgba(0,0,0,1), 0 1px 0 rgba(255,255,255,.14);
}

.receipt-feed {
  position: relative; z-index: 1; flex: none;
  width: min(330px, 84vw); margin-top: -16px;
  perspective: 1100px;
  clip-path: inset(0 -60px -400px -60px);   /* hide the paper only above the slot */
}
.receipt-stage.printing .receipt-feed { animation: jitter .09s steps(2) infinite; }
@keyframes jitter { 50% { transform: translateX(.6px); } }

.receipt {
  position: relative;
  padding: 30px 22px 30px;
  color: #161616;
  font-family: var(--mono); font-size: 12px; line-height: 1.55; letter-spacing: .02em;
  background:
    linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,0) 46px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px),
    #f6f4ee;
  box-shadow: 0 34px 60px rgba(0,0,0,.55);
  transform-origin: top center;
  transform: translateY(-101%);
  margin-bottom: 14px;
}
.receipt::after {           /* torn, zig-zag bottom edge */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
  background: conic-gradient(from -45deg at bottom, #f6f4ee 90deg, transparent 0) 0 0 / 16px 100%;
}
.receipt-stage.printing .receipt { animation: printOut 2.9s steps(24, end) forwards; }
.receipt-stage.printed .receipt {
  transform: translateY(0) rotateX(var(--rx, 5deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s var(--ease);
  animation: settle 1s var(--ease);
}
@keyframes printOut { from { transform: translateY(-101%); } to { transform: translateY(0); } }
@keyframes settle {
  0% { transform: translateY(0) rotateX(0); }
  35% { transform: translateY(8px) rotateX(16deg); }
  100% { transform: translateY(0) rotateX(5deg); }
}

.receipt__logo { width: 70%; height: auto; margin: 0 auto 8px; filter: invert(1) contrast(1.2); opacity: .92; }
.receipt [hidden] { display: none; }
.receipt__center { text-align: center; margin: 0; }
.receipt__small { font-size: 10.5px; color: #555; letter-spacing: .08em; }
.receipt__code {
  margin: 6px 0 2px; text-align: center;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-size: 30px; letter-spacing: .02em;
}
.receipt__rule { border-top: 1.5px dashed #9a9a9a; margin: 14px 0; }
.receipt__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.receipt__items li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.receipt__items b { font-weight: 700; text-transform: uppercase; }
.receipt__items small { grid-column: 1 / -1; color: #666; font-size: 10.5px; }
.receipt__row { display: flex; justify-content: space-between; gap: 12px; }
.receipt__row span:last-child { text-align: right; }
.receipt__total { margin-top: 6px; font-size: 18px; font-weight: 700; }
.receipt__pay { margin-top: 8px; padding: 6px; border: 1.5px solid #161616; font-weight: 700; letter-spacing: .14em; }
.receipt__note { margin: 8px 0 0; text-align: center; }
.receipt__barcode { display: block; width: 100%; height: 48px; margin: 18px 0 6px; }
.receipt__thanks { margin-top: 10px; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 20px; letter-spacing: .04em; }
.receipt__pin { width: 76px; margin: 6px auto 6px; color: #161616; }

.receipt { pointer-events: none; }   /* the paper is just for looking at */
.receipt-actions {
  position: relative; z-index: 3;      /* always above the tilted paper */
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 44px;
  opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) .3s, transform .6s var(--ease) .3s;
}
.receipt-stage.printed .receipt-actions { opacity: 1; transform: none; }

@media print {
  body > *:not(.receipt-stage) { display: none !important; }
  .receipt-stage { position: static; background: none; padding: 0; backdrop-filter: none; }
  .printer, .receipt-actions { display: none !important; }
  .receipt-feed { clip-path: none; margin: 0 auto; }
  .receipt { transform: none !important; animation: none !important; box-shadow: none; }
}
.builder__stage { perspective: 1000px; }

/* ---------- hero: light + cursor that follow the mouse (top of the page only) ---------- */

.hero__light { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.motion .hero__light { opacity: 1; }
.hl { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.hl--a {
  width: 760px; height: 760px; margin: -380px 0 0 -380px;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, rgba(255,255,255,.06) 32%, rgba(255,255,255,0) 68%);
}
.hl--b {
  width: 300px; height: 300px; margin: -150px 0 0 -150px;
  background: radial-gradient(circle, rgba(235,235,235,.26) 0%, rgba(160,160,160,.08) 45%, rgba(0,0,0,0) 70%);
  mix-blend-mode: screen;
}

.hero-cur, .hero-ring {
  position: absolute; top: 0; left: 0; z-index: 5; pointer-events: none;
  border-radius: 50%; opacity: 0; transition: opacity .3s;
}
.hero-cur { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.hero-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255,255,255,.6);
  transition: width .3s cubic-bezier(.2,.9,.3,1.3), height .3s cubic-bezier(.2,.9,.3,1.3),
              margin .3s cubic-bezier(.2,.9,.3,1.3), opacity .3s, border-color .3s, background-color .3s;
}
.hero-ring.big {
  width: 78px; height: 78px; margin: -39px 0 0 -39px;
  border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.06);
}
@media (hover: hover) and (pointer: fine) {
  .hero.cursor-on, .hero.cursor-on a, .hero.cursor-on button { cursor: none; }
  .hero.cursor-on .hero-cur, .hero.cursor-on .hero-ring { opacity: 1; }
}
