/* Direction C: Leather. The icon, life size: an orange leather tile you can play with. */
@font-face { font-family: 'Bricolage'; src: url('fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: block; }
@font-face { font-family: 'JB Mono'; src: url('fonts/jbmono.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }
:root {
  --orange: #d9541e;
  --cream: #f2e4c8;
  --ink-c: #231f1b;
  --bg: #f7f3ee;
  --ink: #231f1b;
  --muted: #6b6057;
  --line: rgba(35, 31, 27, 0.12);
  --card: #fffdf9;
  --soft: rgba(35, 31, 27, 0.06);
  --sh: 90, 40, 10;
  --nope: #231f1b;
  --nope-ink: #f2e4c8;
  --display: 'Bricolage', -apple-system, 'SF Pro Display', system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JB Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
[data-theme='dark'] {
  --bg: #15110e;
  --ink: #f2e9dc;
  --muted: #ad9f8f;
  --line: rgba(242, 228, 200, 0.12);
  --card: #221d18;
  --soft: rgba(242, 228, 200, 0.07);
  --sh: 0, 0, 0;
  --nope: #1e1914;
  --nope-ink: #f2e4c8;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.leather :focus-visible { outline-color: var(--cream); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.t-dark { display: none; }
[data-theme='dark'] .t-dark { display: block; }
[data-theme='dark'] .t-light { display: none; }
.preview .cap { filter: blur(12px); }
.cap-frame { overflow: hidden; }

/* ---------- nav (cream on leather) ---------- */
.nav {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 12px; padding: 22px clamp(28px, 4vw, 52px);
  color: var(--cream);
  transition: transform 0.5s cubic-bezier(0.2, 0.85, 0.25, 1), opacity 0.4s, background-color 0.3s, color 0.3s;
}
.nav.solid { background: color-mix(in srgb, var(--bg) 84%, transparent); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.away { transform: translateY(-105%); opacity: 0; transition: transform 0.7s cubic-bezier(0.55, 0, 0.3, 1), opacity 0.45s 0.15s; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -0.02em; margin-right: auto; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 230, 200, 0.4); }
.nav-get { font: 700 15px/1 var(--display); text-decoration: none; padding: 11px 16px; border-radius: 999px; background: rgba(255, 240, 220, 0.16); }
.nav.solid .nav-get { background: var(--soft); }
.theme { width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255, 240, 220, 0.16); color: inherit; display: grid; place-items: center; cursor: pointer; }
.nav.solid .theme { background: var(--soft); }
.theme svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme .moon { display: none; }
[data-theme='dark'] .theme .sun { display: none; }
[data-theme='dark'] .theme .moon { display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 18px;
  font: 700 17px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; user-select: none;
  transition: transform 0.18s cubic-bezier(0.2, 0.85, 0.25, 1);
}
.btn .soon { font: 500 12px/1 var(--mono); opacity: 0.7; }
.btn.cream { background: var(--cream); color: #231f1b; box-shadow: inset 0 -3px 0 rgba(150, 100, 50, 0.25), 0 10px 20px -12px rgba(80, 20, 0, 0.6); }
.btn.ghost { color: var(--cream); box-shadow: inset 0 0 0 2px rgba(255, 236, 214, 0.55); }
.btn[aria-disabled='true'] { cursor: default; }
@media (hover: hover) { .btn[href]:hover { transform: translateY(-2px); } }
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }

/* ---------- hero: a leather tile, inset like the icon ---------- */
.hero {
  margin: 10px;
  min-height: calc(100svh - 20px);
  border-radius: clamp(32px, 5vw, 72px);
  color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px 16px 70px; text-align: center; overflow: hidden;
}
[data-theme='dark'] .hero, [data-theme='dark'] .get {
  box-shadow: inset 0 1px 0 rgba(255, 214, 180, 0.4), inset 0 0 220px rgba(20, 6, 0, 0.45);
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 196, 142, 0.18), rgba(255, 196, 142, 0) 60%), linear-gradient(#c9501d, #b94616 55%, #a33d12);
}
.board { position: relative; font-size: clamp(64px, 15vw, 230px); }
.board .flap-window { --win-pad: 0.055em; --win-r: 0.11em; box-shadow: inset 0 0.03em 0.08em rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 200, 160, 0.4), 0 0.2em 0.3em -0.2em rgba(80, 20, 0, 0.6); }
.board .flaps { --flap-glyph: 1em; }
.board .flap:last-child { cursor: grab; touch-action: none; }
.board .flap:last-child:active { cursor: grabbing; }
.hint { position: absolute; right: 0.1em; bottom: -1.5em; margin: 0; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; color: rgba(255, 236, 214, 0.75); }
.hint::before { content: '\2191\00a0'; }
.hero-copy { margin-top: clamp(40px, 7vh, 80px); }
h1 { font: 800 clamp(48px, 7.4vw, 112px) / 0.92 var(--display); font-stretch: 85%; letter-spacing: -0.035em; margin: 0; text-wrap: balance; text-shadow: 0 2px 0 rgba(110, 30, 0, 0.25); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 238, 218, 0.88); margin: 18px auto 30px; max-width: 28em; text-wrap: balance; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- toy ---------- */
.toy { max-width: 1120px; margin: 0 auto; padding: clamp(90px, 12vw, 160px) clamp(16px, 4vw, 40px) clamp(60px, 8vw, 100px); }
.toy-head { text-align: center; margin-bottom: 48px; }
h2 { font: 800 clamp(38px, 5vw, 72px) / 0.95 var(--display); font-stretch: 85%; letter-spacing: -0.03em; margin: 0 0 16px; text-wrap: balance; }
.toy-head p { color: var(--muted); margin: 0; }
.toy-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.acct {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 14px 14px 14px 16px; border-radius: 22px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -24px rgba(var(--sh), 0.7);
  touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none;
}
.acct.drag { cursor: grabbing; z-index: 3; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -24px rgba(var(--sh), 0.75); }
.acct.slide { transition: transform 0.22s cubic-bezier(0.2, 0.85, 0.25, 1); }
.acct .n { font-size: 34px; padding: 0.05em; border-radius: 0.14em; background: linear-gradient(#4a1a03, #8e3807); --flap-w: 0.62em; --flap-glyph: 0.82em; }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.who b { font: 700 20px/1.2 var(--display); display: flex; align-items: center; gap: 8px; }
.who b::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.who small { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moves { display: flex; gap: 4px; }
.moves button { width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--soft); color: var(--ink); font-size: 17px; cursor: pointer; }
.moves button:active { transform: scale(0.94); }
.acct:first-child .up, .acct:last-child .down { opacity: 0.3; pointer-events: none; }
.link-card { border-radius: 28px; padding: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(var(--sh), 0.7); }
.link-card p { margin: 0; }
.from { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.bar { margin: 14px 0 22px !important; font: 400 14px/44px var(--mono); padding: 0 16px; border-radius: 14px; background: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lands { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font: 700 20px/1 var(--display); }
.lands .lab { font-size: 32px; padding: 0.05em; border-radius: 0.14em; background: linear-gradient(#4a1a03, #8e3807); --flap-w: 0.6em; --flap-gap: 0.04em; --flap-glyph: 0.68em; }
.toy-note { margin-top: 22px !important; font-size: 14px; color: var(--muted); }

/* ---------- the real thing: captures as stickers ---------- */
.real { max-width: 1120px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 40px) 40px; }
.duo { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(50px, 8vw, 100px) 0; }
.duo.rev .sticker { order: 2; }
.duo-text p { color: var(--muted); margin: 0 0 12px; max-width: 30em; }
.duo-text .small { font-size: 15px; }
.sticker {
  position: relative; margin: 0 auto; width: min(330px, 80vw);
  padding: 10px; border-radius: 30px; background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 4px rgba(var(--sh), 0.12), 0 40px 60px -36px rgba(var(--sh), 0.6);
  transform: rotate(var(--rot));
  transition: rotate 0.4s cubic-bezier(0.2, 0.85, 0.25, 1);
}
[data-theme='dark'] .sticker { background: #2b241e; box-shadow: 0 0 0 1px rgba(242, 228, 200, 0.12), 0 1px 0 rgba(255, 220, 180, 0.18) inset, 0 50px 70px -36px rgba(0, 0, 0, 0.95); }
.s1 { --rot: -5deg; }
.s2 { --rot: 4deg; width: min(300px, 74vw); }
.sticker .cap-frame { border-radius: 21px; }
.tag {
  position: absolute; top: -16px; right: -18px; transform: rotate(7deg);
  font: 800 16px/1 var(--display); color: var(--cream); background: var(--orange);
  padding: 11px 15px; border-radius: 14px; box-shadow: 0 0 0 3px #fff, 0 10px 18px -8px rgba(var(--sh), 0.6);
}
[data-theme='dark'] .tag { box-shadow: 0 0 0 3px #2b241e, 0 10px 18px -8px rgba(0, 0, 0, 0.8); }
.s2 .tag { right: auto; left: -20px; transform: rotate(-6deg); }
@media (hover: hover) { .sticker:hover { rotate: calc(var(--rot) * -0.6); } }

/* ---------- video ---------- */
.watch { max-width: 1120px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px) clamp(80px, 10vw, 140px); text-align: center; }
.screen { margin-top: 30px; padding: 12px; border-radius: 30px; background: linear-gradient(#de5d22, #c84a16); box-shadow: inset 0 1px 0 rgba(255, 214, 180, 0.65), 0 40px 70px -40px rgba(var(--sh), 0.7); overflow: hidden; }
.screen video { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #c84a16; object-fit: cover; }

/* ---------- privacy ---------- */
.nope { margin: 0 10px; border-radius: clamp(32px, 5vw, 72px); background: var(--nope); color: var(--nope-ink); padding: clamp(80px, 12vw, 160px) clamp(20px, 6vw, 90px); }
[data-theme='dark'] .nope { box-shadow: inset 0 1px 0 rgba(255, 220, 180, 0.1), 0 0 0 1px rgba(242, 228, 200, 0.06); }
.nope .big { font: 800 clamp(48px, 8vw, 128px) / 0.92 var(--display); font-stretch: 85%; letter-spacing: -0.035em; margin: 0 0 40px; }
.nope .big span { display: block; }
.nope .big .o { color: #f07a42; }
.nope p:last-child { max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); color: rgba(242, 228, 200, 0.75); margin: 0; }

/* ---------- get ---------- */
.get { margin: 10px; border-radius: clamp(32px, 5vw, 72px); color: var(--cream); text-align: center; padding: clamp(80px, 11vw, 150px) 16px; }
.get .flap-window.small { font-size: clamp(54px, 8vw, 100px); --win-pad: 0.06em; --win-r: 0.12em; margin-bottom: 30px; }
.get h2 { color: var(--cream); }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.foot { text-align: center; padding: 36px 16px 48px; color: var(--muted); font-size: 15px; }
.foot p { margin: 4px auto; max-width: 40em; }
.foot .fine { font-size: 13px; }

/* ---------- reveals ---------- */
.motion .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.42s ease-out, transform 0.42s cubic-bezier(0.2, 0.85, 0.25, 1); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .rv.now { transition: none; }

@media (max-width: 860px) {
  .toy-body, .duo { grid-template-columns: minmax(0, 1fr); }
  .duo.rev .sticker { order: 0; }
  .duo { gap: 48px; }
}
@media (max-width: 480px) {
  .nav { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 96px; }
  .acct { gap: 12px; padding: 12px; }
  .acct .n { font-size: 26px; }
  .who b { font-size: 17px; }
  .moves button { width: 34px; height: 34px; }
  .lands .lab { font-size: 26px; }
  .btn { padding: 0 18px; }
}

/* keep tilted and dropped objects from widening the page on phones (clip keeps sticky working) */
main, footer { overflow-x: clip; }
