/* Krafties: index reel. Dark, poster-like, one accent per product. */
:root {
  --bg: #08080a;
  --ink: #f2f0ea;
  --ink-2: #a8a69e;
  --mute: #8e8c85;
  --line: #222226;
  --ghost: #5a5852;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.muted { color: var(--mute); }

/* header */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { flex: 0 0 auto; }
.top nav { display: flex; gap: 24px; flex-wrap: wrap; }
.top nav a { text-decoration: none; padding: 6px 0; }
.top nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* hero */
.hero { padding: 70px 0 50px; border-bottom: 1px solid var(--line); }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 88%; font-size: clamp(52px, 11vw, 160px); line-height: .86; letter-spacing: -0.04em; text-transform: uppercase; }
.hero h1 span { display: block; opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 span + span { animation-delay: .12s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 36px; align-items: flex-end; }
.hero-foot p { margin: 0; font-size: 19px; color: var(--ink-2); max-width: 540px; }

/* index reel */
.reel { padding: 40px 0 90px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.reel-list { flex: 999 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.reel-row { border-bottom: 1px solid var(--line); }
.reel-link { display: flex; align-items: baseline; gap: 22px; padding: 14px 0; text-decoration: none; cursor: pointer; }
/* Coming-soon products with no URL render as a button: strip native button chrome so it matches the link rows. */
button.reel-link { width: 100%; background: none; border: 0; margin: 0; font: inherit; color: inherit; text-align: left; -webkit-appearance: none; appearance: none; }
/* Launch countdown on coming-soon rows; filled by site.js, hidden once empty. */
.reel-timer { margin-left: auto; align-self: center; white-space: nowrap; color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: .04em; transition: color .3s; }
.reel-timer:empty { display: none; }
.reel-timer::before { content: "\25CF"; margin-right: 8px; color: #e8b04a; animation: blink 1.6s steps(1) infinite; }
.reel-row.on .reel-timer, .reel-link:hover .reel-timer { color: var(--ink); }
.reel-no { min-width: 30px; color: var(--ghost); transition: color .3s; }
.reel-name { font-family: var(--display); font-weight: 800; font-stretch: 90%; white-space: nowrap; font-size: clamp(30px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--ghost); transition: color .3s, -webkit-text-stroke-color .3s, letter-spacing .4s; }
.reel-row.on .reel-name, .reel-link:hover .reel-name, .reel-link:focus-visible .reel-name { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.reel-row.on .reel-no { color: var(--ink); }
.reel-link:hover .reel-name { letter-spacing: -0.02em; }
.reel-inline { display: none; }

.panel { flex: 1 1 380px; min-width: 0; position: sticky; top: 24px; }
.card { border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 22px; min-height: 540px; background: var(--c-bg); color: var(--c-ink); transition: background .45s, color .45s; }
.card.swap { animation: cardIn .55s cubic-bezier(.2,.7,.2,1); }
@keyframes cardIn { from { opacity: .2; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.card-top { display: flex; justify-content: space-between; gap: 12px; }
.card-art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.card-art svg { width: 150px; height: 150px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.card h2 { margin: 0; font-family: var(--display); font-size: 40px; line-height: 1; letter-spacing: -0.04em; }
.card p { margin: 0; font-size: 17px; }
.card-cta { display: inline-flex; align-items: center; gap: 8px; border-top: 1px solid var(--c-rule); padding-top: 14px; text-decoration: none; }
.card-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* principles + about */
.band { padding: 80px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.band h2 { margin: 0; font-family: var(--display); font-size: 40px; line-height: 1.05; letter-spacing: -0.035em; }
.principle b { display: block; font-size: 19px; margin: 8px 0 6px; }
.principle p { margin: 0; color: var(--ink-2); }
.about-text { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.03em; grid-column: span 2; }
.about-text a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* footer */
.foot { padding: 70px 0 48px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 36px; }
.foot-cta { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7.5vw, 96px); line-height: .95; letter-spacing: -0.045em; text-transform: uppercase; text-decoration: none; word-break: break-word; }
.foot-cta:hover { color: #fff; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { text-decoration: underline; }

/* small pages */
.page { padding: 60px 0 90px; max-width: 760px; }
.page h1 { font-family: var(--display); font-size: clamp(36px, 6vw, 72px); line-height: .95; letter-spacing: -0.045em; margin: 0 0 24px; text-transform: uppercase; }
.page p { color: var(--ink-2); }


/* legal + simple pages */
.legal-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 0 0; }
.legal-tabs a { text-decoration: none; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); transition: color .2s, border-color .2s, background .2s; }
.legal-tabs a:hover { color: var(--ink); border-color: var(--ghost); }
.legal-tabs a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.legal-hero { padding: 54px 0 44px; }
.legal-hero .hero-foot p { font-size: 18px; }
.legal-dates { display: flex; gap: 28px; margin: 0; }
.legal-dates div { display: flex; flex-direction: column; gap: 4px; }
.legal-dates dt { color: var(--mute); }
.legal-dates dd { margin: 0; color: var(--ink); }
.legal-short { padding: 40px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.legal-short h2 { margin: 0; font-size: 12px; font-weight: 400; }
.legal-short ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.legal-short li { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; transition: border-color .3s, transform .3s; }
.legal-short li:hover { border-color: var(--ghost); transform: translateY(-2px); }
.legal-short b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; line-height: 1.05; }
.legal-short span { color: var(--ink-2); font-size: 15px; }
.legal { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding: 56px 0 90px; }
.legal-toc { flex: 1 1 240px; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.legal-toc li { border-bottom: 1px solid var(--line); }
.legal-toc a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; text-decoration: none; color: var(--ink-2); font-size: 15px; transition: color .2s, padding .3s; }
.legal-toc a .mono { color: var(--ghost); }
.legal-toc a:hover { color: var(--ink); padding-left: 6px; }
.legal-body { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.legal-body section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { display: flex; gap: 16px; align-items: baseline; margin: 0 0 16px; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.05; letter-spacing: -0.035em; }
.legal-body h2 .mono { color: var(--ghost); font-weight: 400; }
.legal-body h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 600; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p { margin: 0 0 12px; }
.legal-body ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.legal-body li { position: relative; padding: 6px 0 6px 26px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 1px; background: var(--ghost); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.legal-body .caps { font-size: 15px; letter-spacing: .01em; }
.legal-contact dl { margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.legal-contact dl div { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.legal-contact dt { color: var(--mute); }
.legal-contact dd { margin: 0; }
.simple-hero { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.pill-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; transition: transform .3s; }
.pill-cta:hover { transform: translateY(-2px); }
@media (max-width: 900px) {
  .legal { gap: 32px; padding-top: 36px; }
  .legal-toc { position: static; }
  .legal-dates { gap: 20px; }
  .legal-short li { min-height: 0; }
}

/* phones and tablets: the list carries everything, no side panel */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .panel { display: none; }
  .reel-name { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
  .reel-no { color: var(--ink-2); }
  .reel-name { font-size: clamp(26px, 8.6vw, 48px); white-space: normal; }
  .reel-link { gap: 14px; }
  .reel-inline { padding-left: 44px; }
  .reel-link { flex-wrap: wrap; row-gap: 6px; }
  .reel-inline { display: block; width: 100%; padding-left: 52px; color: var(--ink-2); font-size: 16px; }
  .reel-inline .mono { display: block; margin-top: 4px; color: var(--mute); }
  .reel-timer { margin-left: 0; width: 100%; padding-left: 52px; color: var(--ink); }
  .about-text { grid-column: auto; }
  .top nav { gap: 18px; }
}

/* product sheet: opens on click, the card big and alive on one side, the details on the other */
html.sheet-open { overflow: hidden; }
.sheet { border: 0; padding: 0; margin: auto; background: transparent; color: var(--ink); width: min(980px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); overflow: visible; }
.sheet::backdrop { background: rgba(8, 8, 10, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet.in { animation: sheetIn .5s cubic-bezier(.2,.7,.2,1); }
.sheet.in::backdrop { animation: fadeIn .35s ease-out; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); background: #111114; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; max-height: calc(100dvh - 48px); }
.sheet-card { border-radius: 0; min-height: 560px; position: relative; overflow: hidden; transition: transform .25s ease-out, background .45s, color .45s; transform-style: preserve-3d; will-change: transform; }
.sheet-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.16), transparent 55%); }
.sheet.in .sheet-card .card-art svg { animation: popIn .8s cubic-bezier(.2,.9,.25,1.2) both, float 6s ease-in-out .8s infinite; }
@keyframes popIn { from { opacity: 0; transform: scale(.6) rotate(-14deg); } to { opacity: 1; transform: none; } }
.sheet-card .card-art { position: relative; min-height: 280px; }
.sheet-card .card-art svg { width: 210px; height: 210px; position: relative; }
.halo { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px solid var(--c-rule); animation: halo 7s ease-in-out infinite; }
.halo::before, .halo::after { content: ""; position: absolute; inset: 34px; border-radius: 50%; border: 1px dashed var(--c-rule); animation: spin 38s linear infinite; }
.halo::after { inset: -34px; border-style: solid; opacity: .5; animation-duration: 60s; animation-direction: reverse; }
@keyframes halo { 0%, 100% { transform: scale(.96); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.sheet-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--c-rule); padding-top: 14px; }
.sheet-card-foot b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.sheet-info { position: relative; padding: 40px 38px 34px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.sheet-info h2 { margin: 0; padding-right: 48px; font-family: var(--display); font-weight: 900; font-stretch: 90%; font-size: clamp(34px, 3.7vw, 52px); line-height: .92; overflow-wrap: anywhere; letter-spacing: -0.045em; text-transform: uppercase; }
.sheet-line { margin: 0; color: var(--ink-2); font-size: 18px; }
.sheet-timer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--mute); }
.sheet-timer[hidden] { display: none; }
.sheet-timer b { color: var(--ink); font-weight: 500; font-size: 20px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.sheet-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sheet-facts li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.sheet-facts li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 2px; border-radius: 2px; background: var(--ink-2); background: color-mix(in oklab, var(--c-bg) 55%, white); }
.sheet.in .sheet-facts li { animation: rise .55s cubic-bezier(.2,.7,.2,1) both; }
.sheet-cta { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
.sheet-cta[aria-disabled="true"] { background: transparent; color: var(--ink-2); border: 1px solid var(--line); cursor: default; transform: none; }
.sheet-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, transform .3s; }
.sheet-close:hover { background: var(--line); transform: rotate(90deg); }
@media (max-width: 760px) {
  .sheet { width: 100vw; max-height: 94dvh; margin: auto 0 0; }
  .sheet.in { animation-name: sheetUp; }
  @keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
  .sheet-inner { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; max-height: 94dvh; overflow-y: auto; border-bottom: 0; }
  .sheet-card { min-height: 0; padding: 22px; gap: 14px; }
  .sheet-card .card-top { padding-right: 52px; flex-wrap: wrap; row-gap: 4px; }
  .sheet-card .card-art { min-height: 190px; }
  .sheet-card .card-art svg { width: 130px; height: 130px; }
  .halo { width: 200px; height: 200px; }
  .sheet-info { overflow: visible; padding: 26px 22px 30px; }
  .sheet-close { top: 14px; right: 14px; border-color: var(--c-rule); color: var(--c-ink); background: rgba(0,0,0,.18); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 span { opacity: 1; transform: none; }
}

/* the mark: four tiles fly in and lock, then two trade places every few seconds */
.mark rect,.mark circle{transform-box:fill-box;transform-origin:center}
.mark .t1{animation:markIn1 .6s .05s cubic-bezier(.2,.9,.3,1.3) both}
.mark .t2{animation:markIn2 .6s .17s cubic-bezier(.2,.9,.3,1.3) both,markSwap2 6s 1.6s ease-in-out infinite}
.mark .t3{animation:markIn3 .6s .29s cubic-bezier(.2,.9,.3,1.3) both,markSwap3 6s 1.6s ease-in-out infinite}
.mark .t4{animation:markIn4 .7s .45s cubic-bezier(.2,.9,.3,1.6) both}
@keyframes markIn1{from{opacity:0;transform:translate(-10px,-10px) rotate(-90deg)}to{opacity:1;transform:none}}
@keyframes markIn2{from{opacity:0;transform:translate(10px,-10px) rotate(90deg)}to{opacity:1;transform:none}}
@keyframes markIn3{from{opacity:0;transform:translate(-10px,10px) rotate(90deg)}to{opacity:1;transform:none}}
@keyframes markIn4{from{opacity:0;transform:scale(0)}to{opacity:1;transform:none}}
@keyframes markSwap2{0%,62%{transform:none}74%,88%{transform:translate(-19px,19px) rotate(-90deg)}100%{transform:rotate(-180deg)}}
@keyframes markSwap3{0%,62%{transform:none}74%,88%{transform:translate(19px,-19px) rotate(90deg)}100%{transform:rotate(180deg)}}
@media (prefers-reduced-motion: reduce){.mark *{animation:none!important}}
