/* GINKO LAB Shop — "focus lock", in the GINKO LAB colours: white, black, and red.
   Products sit on a white studio sweep, the text is black, and red (#cf142b, the GINKO LAB
   accent) means "ready": the focus brackets, the in-stock light, and the order button.
   Motion is camera motion: the brackets lock onto the hero product, pictures open like a shutter
   as they scroll in, and a product's picture carries over from the list to its page. */

@font-face { font-family: "Prompt"; font-weight: 600; font-display: swap; src: url(/assets/fonts/gm-prompt-thai-600.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Prompt"; font-weight: 700; font-display: swap; src: url(/assets/fonts/gm-prompt-thai-700.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Prompt"; font-weight: 600; font-display: swap; src: url(/assets/fonts/gm-prompt-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+0E3F; }
@font-face { font-family: "Prompt"; font-weight: 700; font-display: swap; src: url(/assets/fonts/gm-prompt-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+0E3F; }

:root {
  --paper: #ffffff;
  --sweep-top: #ffffff;  /* the backdrop behind a product, lit from above */
  --sweep-low: #e9e9ea;
  --ink: #000000;
  --graphite: #5c5c60;   /* secondary text */
  --rule: #d6d6d8;
  --af: #cf142b;         /* GINKO LAB red: brackets, the in-stock light */
  --go: #cf142b;         /* the order button */
  --go-hover: #e5483b;
  --amber: #8a8a8f;      /* pre-order: a quiet grey ring */
  --display: "Prompt", "Sukhumvit Set", "Noto Sans Thai", system-ui, sans-serif;
  --text: "Sukhumvit Set", "Noto Sans Thai", "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--text); }
body:has(.buybar) { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--af); outline-offset: 3px; border-radius: 4px; }
main { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 20px; }
.block { margin-top: clamp(48px, 8vw, 96px); }
.empty { color: var(--graphite); padding: 48px 0; }
s { color: var(--graphite); font-weight: 400; font-size: .7em; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  padding: 12px var(--gutter); background: rgb(255 255 255 / .82); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, padding .3s; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.logo b { color: var(--af); }
.logo-mark { width: 22px; height: 16px; position: relative; border-radius: 2px;
  background: linear-gradient(var(--ink), var(--ink)) 0 0 / 6px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 0 / 2px 6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 0 / 6px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 0 / 2px 6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 6px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 100% / 2px 6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 6px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 100% / 2px 6px no-repeat; }
.logo-mark::after { content: ""; position: absolute; inset: 5px 8px; border-radius: 50%; background: var(--af); }
.nav { display: flex; gap: 4px; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
.nav a { text-decoration: none; padding: 6px 14px; border-radius: 999px; color: var(--graphite); white-space: nowrap; font-size: .95rem; }
.nav a[aria-current] { color: #fff; background: var(--ink); }
.search { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
.search input { width: 100%; max-width: 300px; padding: 9px 16px; border-radius: 999px; border: 1px solid transparent; background: #f2f2f3; color: var(--ink); font: inherit; font-size: .95rem; }
.search input:focus { border-color: var(--ink); outline: none; }
.top-chat { text-decoration: none; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; white-space: nowrap; }
@media (min-width: 900px) { .nav { order: 0; width: auto; } }
@media (max-width: 599px) { .search { visibility: hidden; } }
.find { display: flex; } .find input { width: 100%; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--rule); background: #fff; font: inherit; color: var(--ink); }
.find input:focus { outline: none; border-color: var(--ink); }

/* The focus brackets */
.af { position: absolute; inset: 9%; pointer-events: none; }
.af i { position: absolute; width: 14%; aspect-ratio: 1; border: 0 solid var(--rule); transition: border-color .25s, inset .25s; }
.af i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.af i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.af i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.af i:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

/* Hero: the featured product, and the one animation of the page */
.hero { display: grid; gap: clamp(20px, 4vw, 56px); margin-top: clamp(16px, 3vw, 36px); align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr 1fr; } }
.hero-shot { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--sweep-top), var(--sweep-low)); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot .af { inset: 12%; }
.hero-shot .af i { border-width: 3px 0 0 3px; animation: lock .9s cubic-bezier(.2, .7, .2, 1) .35s both; }
.hero-shot .af i:nth-child(2) { border-width: 3px 3px 0 0; }
.hero-shot .af i:nth-child(3) { border-width: 0 0 3px 3px; }
.hero-shot .af i:nth-child(4) { border-width: 0 3px 3px 0; }
@keyframes lock {
  0% { border-color: rgb(0 0 0 / .55); transform: scale(1.9); opacity: 0; }
  55% { border-color: rgb(0 0 0 / .55); transform: scale(1); opacity: 1; }
  70% { border-color: var(--af); transform: scale(.92); }
  100% { border-color: var(--af); transform: scale(1); }
}
.hero-shot .af i:nth-child(1) { transform-origin: 100% 100%; } .hero-shot .af i:nth-child(2) { transform-origin: 0 100%; }
.hero-shot .af i:nth-child(3) { transform-origin: 100% 0; } .hero-shot .af i:nth-child(4) { transform-origin: 0 0; }
.hero h1 { font-size: clamp(2.6rem, 8.5vw, 5.6rem); line-height: 1; letter-spacing: -0.03em; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--graphite); max-width: 34em; margin: 18px 0 0; }
.hero-price { margin: 22px 0 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-price .price { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-empty { padding: clamp(40px, 8vw, 96px) 0; } .hero-empty h1 { max-width: 14em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  text-decoration: none; font-weight: 600; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-go { background: var(--go); border-color: var(--go); color: #fff; }
.btn-go:hover { background: var(--go-hover); border-color: var(--go-hover); }

/* Categories as two big words */
.bigcats { display: grid; margin-top: clamp(48px, 8vw, 96px); border-top: 1.5px solid var(--ink); }
@media (min-width: 700px) { .bigcats { grid-template-columns: 1fr 1fr; } .bigcats a + a { border-left: 1.5px solid var(--ink); padding-left: 24px; } }
.bigcats a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 8vw, 4.6rem); letter-spacing: -0.03em;
  padding: 14px 0 18px; border-bottom: 1.5px solid var(--ink); line-height: 1.1; }

.bigcats sup, .page-title sup { font-size: .32em; font-weight: 600; color: var(--graphite); margin-left: .35em; letter-spacing: 0; vertical-align: super; }

/* Product grid: pictures on the sweep, no boxes */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.shot { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--sweep-top), var(--sweep-low)); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.shot .af i { border-color: transparent; }
.card:hover .shot .af i, .card:focus-visible .shot .af i { border-color: var(--af); }
.card:hover .shot img { transform: scale(1.03); }
.card.sold .shot img { filter: grayscale(1); opacity: .5; }
.noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--graphite); font-size: .85rem; }
.card-text { display: flex; flex-direction: column; gap: 4px; }
.card-text h3 { font-family: var(--text); font-weight: 600; font-size: 1rem; line-height: 1.4; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin: 0; } .card-meta .price { font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--graphite); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--af); box-shadow: 0 0 0 3px rgb(207 20 43 / .16); animation: rec 2.4s ease-in-out infinite; }
@keyframes rec { 50% { box-shadow: 0 0 0 5px rgb(207 20 43 / 0); } }
.status-preorder::before { background: transparent; border: 1.5px solid var(--ink); box-shadow: none; animation: none; }
.status-sold_out::before { background: var(--rule); box-shadow: none; animation: none; }

/* List page */
.page-title { font-size: clamp(2.4rem, 8vw, 4.4rem); letter-spacing: -0.03em; }
.filters { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 34px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chip { white-space: nowrap; text-decoration: none; padding: 7px 15px; border-radius: 999px; font-size: .9rem; color: var(--graphite); border: 1px solid var(--rule); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:hover:not([aria-current]) { border-color: var(--ink); color: var(--ink); }

/* Product page */
.crumbs { margin-top: 20px; font-size: .88rem; color: var(--graphite); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.product { display: grid; gap: 28px; margin-top: 16px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; } .gallery { position: sticky; top: 84px; } }
.viewer { position: relative; border-radius: 10px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--sweep-top), var(--sweep-low)); }
.viewer .af { z-index: 1; } .viewer .af i { border-color: rgb(0 0 0 / .35); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides > * { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; }
.slides .noimg { position: static; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; flex: 0 0 64px; }
.thumbs button[aria-current] { border-color: var(--af); }
.thumbs img { width: 64px; height: 64px; object-fit: cover; }
.brand { color: var(--graphite); text-decoration: none; font-weight: 600; }
.info h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -0.025em; margin: 4px 0 14px; line-height: 1.05; }
.info-price { margin: 0 0 8px; } .info-price .price { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.stock { color: var(--graphite); margin: 4px 0 0; font-size: .92rem; }
.summary { font-size: 1.1rem; margin: 18px 0 0; max-width: 34em; }
.buy { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 8px; }
.hint { color: var(--graphite); font-size: .85rem; margin: 0; }
.info h2 { font-size: 1.15rem; font-family: var(--text); font-weight: 700; letter-spacing: 0; margin: 36px 0 8px; }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { color: var(--graphite); font-weight: 400; width: 38%; padding-right: 14px; }
.desc { max-width: 38em; }

/* Chat buttons (product page and footer) */
.chat { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 600;
  border: 1.5px solid var(--rule); background: #fff; }
.chat:hover { border-color: var(--ink); }
.btn:active, .chat:active, .top-chat:active { transform: scale(.97); }
.chat svg { width: 22px; height: 22px; flex: none; }
.chat.primary { background: var(--go); border-color: var(--go); color: #fff; }
.chat.primary:hover { background: var(--go-hover); border-color: var(--go-hover); }
.chat-line:not(.primary) svg { color: #06c755; } .chat-facebook:not(.primary) svg { color: #0a7cff; }

/* The order bar on phones */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .97); backdrop-filter: blur(14px); border-top: 1px solid var(--rule); }
.buybar p { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.buybar b { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.buybar s { display: none; }
.buybar .btn { min-height: 48px; }
@media (min-width: 900px) { .buybar { display: none; } body:has(.buybar) { padding-bottom: 0; } }

.notfound { padding: 80px 0; } .notfound h1 { font-size: clamp(2.2rem, 7vw, 4rem); } .notfound p { color: var(--graphite); }
.button { display: inline-flex; min-height: 48px; align-items: center; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }

/* Footer: the black side of the studio */
.foot { background: var(--ink); color: #cfcfd2; padding: 48px var(--gutter) calc(40px + env(safe-area-inset-bottom)); display: grid; gap: 28px; }
.foot > * { max-width: 1280px; }
.foot p { margin: 4px 0; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; }
.foot a { color: #fff; }
.foot-chat { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-chat .chat { background: transparent; color: #fff; border-color: rgb(255 255 255 / .25); min-height: 44px; font-size: .92rem; }
.foot-chat .chat.primary { background: var(--go); border-color: var(--go); }
.foot-small { color: #8b8b90; font-size: .85rem; }
@media (min-width: 900px) { .foot { grid-template-columns: 1fr auto; padding-left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); } .foot-small { grid-column: 1 / -1; } }


/* ---------- Stage (home) ---------- */
/* A centred headline over an arc of floating products. Photos shot on white melt into the page
   (multiply); cut-outs with transparent backgrounds float freely. */
main:has(> .stage) { max-width: none; padding: 0 0 64px; }
main:has(> .stage) > :not(.stage, .spot) { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
main:has(> .stage) > .bigcats { margin-left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); margin-right: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); padding: 0; }
.stage { position: relative; text-align: center; padding: clamp(36px, 7vw, 88px) var(--gutter) 0; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 88%, rgb(207 20 43 / .10), transparent 70%), radial-gradient(90% 70% at 50% 0%, #fff, #f3f3f4); }
.stage-title { font-size: clamp(2.7rem, 9.5vw, 7.4rem); line-height: .98; letter-spacing: -0.04em; display: flex; flex-direction: column; align-items: center; }
.stage-title .line { display: block; overflow: hidden; padding: .14em .04em .1em; margin: -.14em 0 -.1em; }
.stage-title .line-red { color: var(--af); }
.stage-sub { color: var(--graphite); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 32em; margin: 18px auto 0; }
.arc { --rx: 0deg; --ry: 0deg; position: relative; height: clamp(300px, 40vw, 540px); margin: clamp(10px, 3vw, 30px) auto 0; max-width: 1280px;
  perspective: 1400px; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease); touch-action: pan-y; }
.arc-item { --x: 0; --y: 0%; --s: 1; --z: 5; --o: 1; position: absolute; left: 50%; bottom: 13%; width: clamp(170px, 32vw, 450px); text-decoration: none;
  transform: translateX(-50%) translateX(calc(var(--x) * 1%)) translateY(var(--y)) scale(var(--s)); transform-origin: 50% 100%;
  z-index: var(--z); opacity: var(--o); transition: transform .9s var(--ease), opacity .6s, filter .6s; }
.arc-item[data-pos="1"] { --x: 92; --y: -12%; --s: .58; --z: 4; }
.arc-item[data-pos="-1"] { --x: -92; --y: -12%; --s: .58; --z: 4; }
.arc-item[data-pos="2"] { --x: 158; --y: -26%; --s: .4; --z: 3; --o: .9; }
.arc-item[data-pos="-2"] { --x: -158; --y: -26%; --s: .4; --z: 3; --o: .9; }
.arc-item[data-pos="3"], .arc-item[data-pos="-3"] { --s: .3; --o: 0; --z: 1; pointer-events: none; }
.arc-item:not([data-pos="0"]) { filter: saturate(.85); cursor: pointer; }
.arc-float { display: block; animation: bob 6s ease-in-out infinite alternate; }
.arc-item:nth-child(2) .arc-float { animation-delay: -1.5s; } .arc-item:nth-child(3) .arc-float { animation-delay: -3s; }
.arc-item:nth-child(4) .arc-float { animation-delay: -4.5s; } .arc-item:nth-child(5) .arc-float { animation-delay: -2.2s; }
@keyframes bob { from { transform: translateY(0) rotate(-1.2deg); } to { transform: translateY(-4%) rotate(1.2deg); } }
.arc-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); mask-image: radial-gradient(closest-side, #000 82%, transparent);
  filter: drop-shadow(0 30px 30px rgb(0 0 0 / .12)); }
.arc-label { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); white-space: nowrap; display: flex; gap: 10px; align-items: baseline;
  font-size: clamp(.95rem, 1.6vw, 1.1rem); opacity: 0; transition: opacity .4s .3s; }
.arc-label b { font-weight: 600; } .arc-label .price { font-family: var(--display); font-weight: 700; } .arc-label s { display: none; }
.arc-item[data-pos="0"] .arc-label { opacity: 1; }
.arc-floor { position: absolute; left: 50%; bottom: 10%; width: min(70%, 760px); height: 40px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / .16), transparent); filter: blur(6px); pointer-events: none; }
.arc-hint { color: var(--graphite); font-size: .85rem; margin: 18px 0 0; min-height: 1.2em; }
.stage-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 22px 0 clamp(40px, 6vw, 72px); }

/* ---------- Spotlight ---------- */
.spot { max-width: 1280px; margin: clamp(48px, 8vw, 110px) auto 0; padding: 0 var(--gutter); text-align: center; }
.spot-head h2 { font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -0.03em; margin: 0; }
.spot-head p { color: var(--graphite); max-width: 30em; margin: 12px auto 0; }
.spot-stage { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; margin-top: 24px; }
@media (min-width: 900px) { .spot-stage { grid-template-columns: 1fr minmax(320px, 1.2fr) 1fr; gap: 0; } }
.spot-shot { position: relative; display: block; text-decoration: none; }
.spot-shot img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent);
  filter: drop-shadow(0 40px 40px rgb(0 0 0 / .14)); }
.spot-tap { position: absolute; left: 50%; top: 8%; transform: translateX(-50%); font-size: .78rem; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; white-space: nowrap; }
.spot-tap::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--af); margin-right: 7px; vertical-align: 1px; animation: rec 2.4s ease-in-out infinite; }
.spot-side { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(18px, 4vw, 56px); }
.callout { display: flex; flex-direction: column; gap: 2px; text-align: left; position: relative; }
.callout b { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.callout span { color: var(--graphite); font-size: .92rem; }
@media (min-width: 900px) {
  .callout-l { text-align: right; padding-right: 84px; } .callout-r { padding-left: 84px; }
  .callout::after { content: ""; position: absolute; top: .8em; width: 70px; height: 1px; background: var(--ink); transform-origin: var(--from) 50%; }
  .callout::before { content: ""; position: absolute; top: calc(.8em - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--af); }
  .callout-l::after { right: 6px; --from: 0%; } .callout-l::before { right: 0; }
  .callout-r::after { left: 6px; --from: 100%; } .callout-r::before { left: 0; }
  .spot-side:first-child .callout:nth-child(2) { margin-right: 10%; } .spot-side:last-child .callout:nth-child(2) { margin-left: 10%; }
}
@media (max-width: 899px) { .spot-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .spot-stage > .spot-side:first-child { order: 2; } .spot-shot { order: 1; } .spot-stage > .spot-side:last-child { order: 3; }
  .callout { border-top: 1.5px solid var(--ink); padding-top: 8px; } }
.spot-price { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 18px 0 0; }
.spot-price .price { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Motion ---------- */

/* Big category words: a red bar wipes in under the word you point at. */
.bigcats a { position: relative; overflow: hidden; transition: color .35s var(--ease); }
.bigcats a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 4px; background: var(--af);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.bigcats a:hover::after, .bigcats a:focus-visible::after { transform: scaleX(1); }

/* The hero headline rises line by line behind a mask, after the brackets start to lock. */
.hero h1, .hero .lead, .hero-price, .hero-actions { animation: rise .9s var(--ease) both; }
.hero h1 { animation-delay: .15s; } .hero .lead { animation-delay: .3s; } .hero-price { animation-delay: .42s; } .hero-actions { animation-delay: .54s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }

/* Scroll-driven, where the browser has it: the header tightens, the hero picture drifts, and
   each product picture opens like a shutter as it scrolls in. */
@supports (animation-timeline: scroll()) {
  .top { animation: tighten linear both; animation-timeline: scroll(); animation-range: 0 120px; }
  @keyframes tighten { to { padding-top: 8px; padding-bottom: 8px; border-bottom-color: rgb(0 0 0 / .08); } }
  .hero-shot img { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes drift { to { transform: scale(1.08) translateY(4%); } }
  .shot img, .viewer + .thumbs img { animation: shutter linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes shutter { from { clip-path: inset(50% 50% 50% 50% round 40%); transform: scale(1.15); } to { clip-path: inset(0 0 0 0 round 0); transform: scale(1); } }
  .card-text { animation: settle linear both; animation-timeline: view(); animation-range: entry 10% entry 80%; }
  @keyframes settle { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .bigcats a { animation: slidein linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes slidein { from { opacity: 0; transform: translateX(-6%); } to { opacity: 1; transform: none; } }
}


/* Stage: the headline lines rise, products drop in one after another. */
.stage-title .line > *, .stage-title .line { animation: rise 1s var(--ease) both; }
.stage-title .line-red { animation-delay: .12s; }
.stage-sub { animation: rise 1s var(--ease) .25s both; }
.arc-item { animation: arrive 1.1s var(--ease) backwards; }
.arc-item[data-pos="0"] { animation-delay: .35s; } .arc-item[data-pos="1"], .arc-item[data-pos="-1"] { animation-delay: .5s; }
.arc-item[data-pos="2"], .arc-item[data-pos="-2"] { animation-delay: .62s; }
@keyframes arrive { from { opacity: 0; translate: 0 18%; } to { opacity: var(--o); translate: 0 0; } }
.stage-cta { animation: rise 1s var(--ease) .7s both; }
@supports (animation-timeline: scroll()) {
  .spot-shot img { animation: turn linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  @keyframes turn { from { transform: rotate(-8deg) scale(.86) translateY(8%); opacity: .3; } to { transform: none; opacity: 1; } }
  .callout { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .callout::after { animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .stage-title { animation: lift linear both; animation-timeline: scroll(); animation-range: 0 60vh; }
  @keyframes lift { to { transform: translateY(-18%) scale(.94); opacity: .2; } }
}

/* From a list to a product, the picture moves into place (shop.js names each picture). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-shot .af i { border-color: var(--af); opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
