/* ArtyCraftCow
   Layout idea: a maker's gallery wall. Big, confident type that plays with scale
   ("Little" small, "Big" huge), work pinned up with handwritten tags, and deep
   bottle-green bands that frame the pieces like a gallery would. */

:root {
  --paper: #f7f3ec;
  --paper-2: #efe7da;
  --ink: #15363a;
  --ink-soft: #4a5e60;
  --moss: #123a3d;
  --moss-2: #1c4b4f;
  --berry: #b0155a;
  --berry-dark: #870d43;
  --ginger: #d9662b;
  --mustard: #e9b341;
  --teal: #2a7c78;
  --line: #d9cfbf;
  --white: #fffdf9;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5rem);
  --step-5: clamp(3.4rem, 2rem + 7.5vw, 8.6rem);

  --radius: 6px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--berry); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--berry-dark); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 64px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(56px, 8vw, 120px); }
.band { background: var(--moss); color: var(--paper); }
.band a:not(.btn):not(.coll) { color: var(--mustard); }
.band a:not(.btn):not(.coll):hover { color: var(--white); }

.eyebrow { font-family: var(--f-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.band .eyebrow { color: #b9cdc8; }
.hand { font-family: var(--f-hand); font-weight: 600; letter-spacing: 0; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; }
.prose { max-width: 62ch; display: grid; gap: 1.1em; }
.prose p { font-size: var(--step-0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--f-body); font-weight: 600; font-size: var(--step-0);
  padding: 0.85em 1.4em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--white); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); background: var(--berry); border-color: var(--berry); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.band .btn { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.band .btn:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.band .btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 58px; height: 58px; flex: none; border-radius: 50%; box-shadow: 0 4px 14px -6px rgba(21,54,58,.5); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(-14deg) scale(1.06); }
.brand-word { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1; }
.brand-word b { color: var(--berry); font-weight: 800; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--berry); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font: 600 0.95rem var(--f-body); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--ink); color: var(--white); }
.icon-btn svg { width: 20px; height: 20px; }
.basket-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--berry); color: var(--white); font-size: .78rem; font-variant-numeric: tabular-nums; padding: 0 6px; }
.menu-toggle { border: 0; padding: 8px; }
.menu-toggle:hover { background: var(--paper-2); color: var(--ink); }
@media (min-width: 960px) { .nav { display: block; } .menu-toggle { display: none; } }

.mobile-nav { border-top: 1px solid var(--line); padding-block: 8px 20px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-nav a { display: block; padding: 12px 0; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.6rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--berry); }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

/* Placeholder images: clearly marked until real photos arrive */
.ph { position: relative; margin: 0; background: var(--paper-2); overflow: hidden; border-radius: var(--radius); }
.ph img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 5; }
.ph[data-ph]::after {
  content: "Placeholder · photo to come"; position: absolute; left: 10px; top: 10px;
  font: 600 0.68rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
  background: var(--white); color: var(--ink); padding: 6px 8px; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0,0,0,.08); transform: rotate(-2deg);
}

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero h1 { display: grid; gap: 0.1em; }
.hero .h-little { font-size: var(--step-3); font-weight: 400; font-style: italic; letter-spacing: -0.01em; color: var(--ink-soft); }
.hero .h-big { font-size: clamp(2.9rem, 0.9rem + 6.2vw, 6.2rem); font-weight: 900; line-height: 0.88; letter-spacing: -0.03em; }
.hero .h-big em { font-style: italic; font-weight: 800; color: var(--berry); display: block; position: relative; width: fit-content; white-space: nowrap; }
.hero .lede { margin-top: clamp(20px, 3vw, 32px); }
.hero .btn-row { margin-top: 28px; }
.hero-tag { margin-top: 22px; display: inline-flex; gap: 10px; align-items: center; font-size: var(--step--1); color: var(--ink-soft); }
.hero-tag::before { content: ""; width: 34px; height: 2px; background: var(--ginger); }

.wall { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1 / 1.2; }
.pin { position: absolute; width: 50%; background: var(--white); padding: 10px 10px 44px; box-shadow: 0 18px 40px -18px rgba(16,51,47,.45), 0 2px 0 rgba(0,0,0,.05); border-radius: 3px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pin .ph { border-radius: 2px; }
.pin .ph img { aspect-ratio: 1 / 1; }
.pin .ph[data-ph]::after { content: "Placeholder"; font-size: .58rem; padding: 4px 6px; left: 6px; top: 6px; }
.pin figcaption { position: absolute; left: 12px; right: 12px; bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-hand); font-size: clamp(1rem, 3.2vw, 1.35rem); line-height: 1.1; color: var(--ink); }
.pin:nth-child(1) { left: 0; top: 2%; transform: rotate(-5deg); z-index: 2; }
.pin:nth-child(2) { right: 0; top: 8%; transform: rotate(4deg); z-index: 1; }
.pin:nth-child(3) { left: 25%; top: 50%; transform: rotate(-1.5deg); z-index: 3; }
.pin:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.tape { position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: color-mix(in srgb, var(--mustard) 70%, transparent); transform: rotate(-3deg); }

/* Marquee */
.ribbon { background: var(--berry); color: var(--white); overflow: hidden; border-block: 2px solid var(--ink); }
.ribbon-track { display: flex; gap: 2.5rem; padding-block: 14px; width: max-content; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-weight: 700; will-change: transform; font-size: var(--step-1); white-space: nowrap; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.ribbon-track span::after { content: "✺"; color: var(--mustard); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Section headings */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: var(--step-4); max-width: 14ch; }
.sec-head p { max-width: 40ch; color: var(--ink-soft); }
.band .sec-head p { color: #cfdcd8; }

/* Product cards */
.grid-products { display: grid; gap: 28px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid-products { gap: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }
@media (max-width: 719px) { .card .desc, .card dl { display: none; } .card h3 { font-size: 1.05rem; } .card-meta { flex-direction: column; gap: 2px; } .card .btn { font-size: .85rem; padding: .6em 1em; } .card .ph[data-ph]::after { content: "Placeholder"; font-size: .58rem; } }
.card { display: flex; flex-direction: column; gap: 12px; position: relative; }
.card .ph { transition: transform .3s ease; }
.card:hover .ph { transform: rotate(-1.2deg); }
.card-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card h3 { font-size: var(--step-1); letter-spacing: -0.01em; font-weight: 700; }
.card h3 a { color: inherit; text-decoration: none; }
.price { font-family: var(--f-body); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.edition { font-family: var(--f-hand); font-size: 1.3rem; color: var(--berry); line-height: 1; }
.card .desc { font-size: .95rem; color: var(--ink-soft); }
.card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: .85rem; color: var(--ink-soft); }
.card dt { font-weight: 600; color: var(--ink); }
.card dd { margin: 0; }
.card .btn { align-self: flex-start; margin-top: auto; padding: .65em 1.15em; font-size: .95rem; }
.badge-sold { position: absolute; right: 10px; top: 10px; z-index: 2; background: var(--ink); color: var(--white); font: 600 .72rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 3px; transform: rotate(3deg); }
.band .card .desc, .band .card dl { color: #cfdcd8; }
.band .card dt { color: var(--paper); }

/* Collections */
.collections { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.band .coll, .coll { position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.band .coll:hover, .coll:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 6px 8px 0 var(--ink); color: var(--ink); }
.coll .ph { border-radius: 0; }
.coll .ph img { aspect-ratio: 1 / 1; }
.coll-body { padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; }
.coll h3 { font-size: var(--step-1); }
.coll p { font-size: .92rem; color: var(--ink-soft); }
.coll .count { font-family: var(--f-hand); font-size: 1.25rem; color: var(--berry); }

/* Maker split */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 0.9fr 1.1fr; } .split--rev { grid-template-columns: 1.1fr 0.9fr; } .split--rev > :first-child { order: 2; } }
.quote { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-size: var(--step-3); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.quote::before { content: "“"; display: block; font-size: 2.2em; line-height: .6; color: var(--ginger); }
.signoff { font-family: var(--f-hand); font-size: 2rem; color: var(--berry); }
.band .signoff { color: var(--mustard); }
.portrait { max-width: 460px; justify-self: center; width: 100%; transform: rotate(-2deg); background: var(--white); padding: 12px 12px 52px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); position: relative; }
.portrait figcaption { position: absolute; left: 16px; bottom: 10px; font-family: var(--f-hand); font-size: 1.5rem; color: var(--ink); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 26px 24px 28px; border-radius: var(--radius); background: var(--white); border: 2px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.band .steps li { background: var(--moss-2); border-color: #3c6a62; }
.steps li::before { content: counter(step); font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-size: 3.4rem; font-weight: 900; line-height: .9; color: var(--ginger); }
.steps h3 { font-size: var(--step-1); }
.steps p { font-size: .97rem; }

/* Strip of behind-the-scenes */
.strip { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip figure { margin: 0; display: grid; gap: 8px; }
.strip .ph img { aspect-ratio: 1 / 1; }
.strip figcaption { font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.1; }

/* Page intro */
.page-intro { padding-block: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 48px); }
.page-intro h1 { font-size: var(--step-5); font-weight: 900; letter-spacing: -0.03em; line-height: .92; }
.page-intro h1 em { font-style: italic; font-weight: 800; color: var(--berry); }
.page-intro .lede { margin-top: 22px; max-width: 46ch; }
.crumbs { font-size: var(--step--1); margin-bottom: 18px; color: var(--ink-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* Shop */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); z-index: 10; padding-block: 12px; background: var(--paper); }
.chip { font: 600 .92rem var(--f-body); padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.chip[aria-pressed="true"], .chip:hover { background: var(--ink); color: var(--white); }
.shop-coll { padding-block: clamp(28px, 4vw, 48px); border-top: 2px solid var(--ink); scroll-margin-top: 140px; }
.shop-coll:first-of-type { border-top: 0; }
.shop-coll-head { display: grid; gap: 6px; margin-bottom: 24px; }
@media (min-width: 760px) { .shop-coll-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.shop-coll-head h2 { font-size: var(--step-3); }
.shop-coll-head p { color: var(--ink-soft); max-width: 44ch; }
.note { font-size: .9rem; color: var(--ink-soft); background: var(--paper-2); border-left: 4px solid var(--mustard); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Basket drawer */
.drawer { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: end; }
.drawer[hidden] { display: none !important; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(16,51,47,.55); border: 0; padding: 0; cursor: pointer; }
.drawer-panel { position: relative; width: min(440px, 100%); height: 100%; background: var(--paper); display: grid; grid-template-rows: auto 1fr auto; box-shadow: -20px 0 60px rgba(0,0,0,.25); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); animation: slidein .28s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 2px solid var(--ink); }
.drawer-head h2 { font-size: var(--step-2); }
.drawer-body { overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 24px; border-top: 2px solid var(--ink); display: grid; gap: 12px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding-block: 14px; border-bottom: 1px dashed var(--line); align-items: center; }
.line-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 3px; }
.line-item h3 { font-size: 1rem; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid var(--ink); background: none; cursor: pointer; font-weight: 700; color: var(--ink); }
.qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.link-btn { background: none; border: 0; padding: 0; color: var(--berry); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }
.totals { display: flex; justify-content: space-between; font-weight: 600; font-variant-numeric: tabular-nums; }
.empty { padding-block: 40px; text-align: center; color: var(--ink-soft); display: grid; gap: 14px; justify-items: center; }
.empty .hand { font-size: 1.8rem; color: var(--ink); }
.secure { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--ink-soft); justify-content: center; }
.secure svg { width: 16px; height: 16px; }

/* Forms */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--mustard); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--berry); }
.req { color: var(--berry); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--berry); flex: none; }
.drop { border: 2px dashed var(--ink); border-radius: var(--radius); background: var(--white); padding: 28px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop.is-over { background: color-mix(in srgb, var(--mustard) 25%, var(--white)); border-color: var(--berry); }
.drop svg { width: 40px; height: 40px; color: var(--berry); }
.drop strong { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.25rem; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.files li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; font-size: .9rem; }
.files img, .files .file-ico { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; background: var(--paper-2); display: grid; place-items: center; font-size: .7rem; font-weight: 700; }
.files .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status[data-state="ok"] { background: #dcefe3; color: #12452a; }
.form-status[data-state="error"] { background: #f8dde6; color: var(--berry-dark); }
.form-status[data-state="info"] { background: var(--paper-2); color: var(--ink); }
.form-card { background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: clamp(20px, 4vw, 40px); box-shadow: 8px 10px 0 var(--moss); }
.form-card .field input, .form-card .field select, .form-card .field textarea, .form-card .drop { background: var(--paper); }

/* Commission ideas */
.ideas { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.idea { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.idea .ph img { aspect-ratio: 1; }
.idea .ph[data-ph]::after { content: "Placeholder"; font-size: .56rem; padding: 4px 5px; left: 4px; top: 4px; }
.idea h3 { font-size: 1.15rem; margin-bottom: 4px; }
.idea p { font-size: .9rem; color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; padding: 20px 0; font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6em; line-height: .7; color: var(--berry); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; max-width: 64ch; color: var(--ink-soft); }

/* Journal / behind the scenes */
.journal { columns: 1; column-gap: 22px; }
@media (min-width: 640px) { .journal { columns: 2; } }
@media (min-width: 1000px) { .journal { columns: 3; } }
.journal figure { break-inside: avoid; margin: 0 0 22px; background: var(--white); padding: 10px 10px 16px; border-radius: 3px; box-shadow: 0 12px 30px -18px rgba(16,51,47,.5); }
.journal figure:nth-child(3n+1) { transform: rotate(-.8deg); }
.journal figure:nth-child(3n+2) { transform: rotate(.7deg); }
.journal figcaption { padding: 12px 6px 0; display: grid; gap: 4px; }
.journal figcaption .hand { font-size: 1.5rem; line-height: 1.1; }
.journal figcaption p { font-size: .92rem; color: var(--ink-soft); }
.journal .tall img { aspect-ratio: 3 / 4; }
.journal .square img { aspect-ratio: 1; }
.journal .wide img { aspect-ratio: 4 / 3; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; gap: 4px; padding: 18px 0 18px 26px; border-left: 2px solid var(--ginger); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ginger); }
.band .timeline li::before { background: var(--moss); }
.timeline h3 { font-size: var(--step-1); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { font-family: var(--f-hand); font-size: 1.4rem; padding: 4px 14px; border: 2px solid currentColor; border-radius: 999px; }
.tags li:nth-child(odd) { transform: rotate(-2deg); }
.tags li:nth-child(even) { transform: rotate(1.5deg); }

/* Contact */
.contact-list { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; gap: 2px; }
.contact-list .k { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.contact-list .v { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: var(--step-2); font-weight: 700; word-break: break-word; }

/* CTA band */
.cta { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta { grid-template-columns: 1.4fr 1fr; } }
.cta h2 { font-size: var(--step-4); }

/* Footer */
.site-footer { background: var(--ink); color: #d8e1de; padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); }
.site-footer a { color: #f1ece4; text-decoration: none; }
.site-footer a:hover { color: var(--mustard); }
.foot-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.foot-big { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: var(--step-4); font-weight: 900; letter-spacing: -0.02em; line-height: .9; color: var(--paper); grid-column: 1 / -1; }
.foot-big em { font-style: italic; color: var(--mustard); }
.site-footer h2 { font-family: var(--f-body); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #95a9a4; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid #33504b; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: #95a9a4; }

/* Reveal: visible at rest; only nudges in when JS adds the class */
.js .reveal { transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.js .reveal.pre { transform: translateY(18px); opacity: .001; }

.split--top { align-items: start; }

/* ===== Round two: more play ===== */

/* Ribbons: two crossing tapes, driven by scroll speed in JS */
.ribbons { position: relative; height: clamp(120px, 14vw, 170px); overflow: hidden; margin-block: -10px; }
.ribbons .ribbon { position: absolute; left: -5%; right: -5%; top: 50%; }
.ribbons .ribbon:first-child { transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.ribbons .ribbon:last-child { transform: translateY(-50%) rotate(2.5deg); background: var(--mustard); color: var(--ink); }
.ribbons .ribbon:last-child .ribbon-track span::after { color: var(--berry); }
.ribbon-track { animation: ribbon 38s linear infinite; }
.js .ribbon-track { animation: none; }

/* Hero stage: her logo as the centrepiece with pinned work around it */
.stage { position: relative; width: 100%; max-width: 620px; justify-self: center; aspect-ratio: 1 / 1.02; touch-action: pan-y; }
.badge { position: absolute; left: 50%; top: 50%; width: 64%; translate: -50% -50%; z-index: 4; filter: drop-shadow(0 26px 34px rgba(21,54,58,.35)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.badge img { width: 100%; height: auto; border-radius: 50%; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(2deg); } }
.stage .pin { width: 31%; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; }
.stage .pin.is-dragging { cursor: grabbing; z-index: 20 !important; box-shadow: 0 30px 50px -20px rgba(21,54,58,.6); }
.stage .pin img { pointer-events: none; -webkit-user-drag: none; }
.stage .pin:nth-child(1) { left: -3%; top: -2%; transform: rotate(-9deg); z-index: 5; }
.stage .pin:nth-child(2) { right: -3%; top: 2%; left: auto; transform: rotate(8deg); z-index: 5; }
.stage .pin:nth-child(3) { left: -4%; top: auto; bottom: -9%; transform: rotate(5deg); z-index: 6; }
.stage .pin:hover { transform: none; }
.stage .pin figcaption { font-size: clamp(.95rem, 2.6vw, 1.25rem); }
.stage-hint { position: absolute; right: 0; bottom: 2%; z-index: 7; font-family: var(--f-hand); font-size: 1.35rem; color: var(--berry); transform: rotate(-6deg); display: flex; align-items: center; gap: 6px; pointer-events: none; }
.stage-hint svg { width: 44px; height: 32px; }
.splat { position: absolute; pointer-events: none; z-index: 1; }

/* Wobbly letters */
.wob { display: inline-block; transition: transform .35s cubic-bezier(.3,1.8,.5,1), color .2s; transform-origin: 50% 80%; }
.wob:hover { transform: translateY(-.12em) rotate(-8deg) scale(1.12); color: var(--ginger); }
.wob.sp { width: .25em; }
.js .h-big .wob { animation: dropin .7s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i) * 35ms + 120ms); }
@keyframes dropin { from { transform: translateY(-.5em) rotate(-10deg); opacity: 0; } }

/* Brush stroke under a word, drawn in */
.stroke { position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em; width: 104%; overflow: visible; z-index: -1; }
.stroke path { fill: none; stroke: var(--mustard); stroke-width: 18; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .stroke path { stroke-dashoffset: 1; animation: draw 1s .9s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Paint highlight behind words in quotes */
.hl { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--mustard) 75%, transparent) 58% 92%, transparent 92%); background-repeat: no-repeat; background-size: 100% 100%; transition: background-size 1s cubic-bezier(.6,0,.2,1); }
.js .hl.pre-hl { background-size: 0% 100%; }
.band .hl { background-image: linear-gradient(transparent 58%, color-mix(in srgb, var(--berry) 85%, transparent) 58% 92%, transparent 92%); }

/* Click anywhere: paint splats */
#paint { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* Drippy band edges */
.drip { display: block; width: 100%; height: clamp(28px, 4vw, 56px); color: var(--moss); margin-bottom: -1px; }
.drip--bottom { transform: scaleY(-1) scaleX(-1); margin-top: -1px; margin-bottom: 0; }
.drip path { fill: currentColor; }
.band + .drip--bottom, .drip--bottom { color: var(--moss); }

/* Card tilt */
.card .ph { transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease; will-change: transform; }
.card .ph::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 45%); opacity: 0; transition: opacity .25s; }
.card:hover .ph::before { opacity: 1; }
.card:hover .ph { box-shadow: 0 24px 40px -22px rgba(21,54,58,.6); }
.card .ph:active { transform: scale(.98); }
@keyframes bump { 40% { transform: scale(1.3) rotate(-8deg); } }
.basket-count.bump { animation: bump .45s cubic-bezier(.3,1.8,.5,1); }
.fly { position: fixed; z-index: 95; width: 18px; height: 18px; border-radius: 50%; background: var(--berry); pointer-events: none; transition: transform .7s cubic-bezier(.5,-0.3,.6,1), opacity .7s; }

/* Collections: pinned at jaunty angles, straighten on hover */
.collections .coll:nth-child(odd) { transform: rotate(-1.6deg); }
.collections .coll:nth-child(even) { transform: rotate(1.4deg) translateY(10px); }
.collections .coll:hover { transform: rotate(0) translateY(-6px) scale(1.02); }

/* Gentle rise on scroll (only for things below the fold at load) */
.js .rise { transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s; }
.js .rise.pre { transform: translateY(28px); opacity: 0; }

/* Character mixer */
.mixer { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .mixer { grid-template-columns: 1fr 1fr; } }
.mixer-canvas { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; background: var(--paper); border-radius: 50%; border: 3px solid var(--paper); box-shadow: inset 0 0 0 10px var(--moss), 0 30px 60px -30px rgba(0,0,0,.6); overflow: hidden; }
.mixer-canvas svg { width: 100%; height: 100%; }
.mixer-canvas .tag { position: absolute; left: 50%; bottom: 9%; translate: -50% 0; background: var(--white); color: var(--ink); font-family: var(--f-hand); font-size: clamp(1.3rem, 3vw, 1.8rem); padding: 2px 18px 4px; border-radius: 4px; transform: rotate(-4deg); box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); white-space: nowrap; max-width: 80%; overflow: hidden; text-overflow: ellipsis; }
.mixer-canvas svg g { transition: transform .45s cubic-bezier(.3,1.6,.5,1); transform-origin: 50% 60%; }
.mixer-canvas.boing svg > g { animation: boing .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes boing { 30% { transform: scale(1.06, .94); } 60% { transform: scale(.97, 1.04); } }
.mixer-controls { display: grid; gap: 22px; }
.mixer-controls fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.mixer-controls legend { font-weight: 600; margin-bottom: 8px; font-size: .95rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 2px solid currentColor; font-weight: 600; font-size: .92rem; cursor: pointer; transition: transform .2s; }
.opt input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.opt input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.opt span:hover { transform: translateY(-2px); }
.swatch { width: 38px; height: 38px; padding: 0 !important; border-radius: 50% !important; border: 3px solid var(--paper) !important; background: var(--c); box-shadow: 0 0 0 2px var(--moss); }
.opt input:checked + .swatch { box-shadow: 0 0 0 3px var(--mustard), 0 0 0 6px var(--moss); transform: scale(1.12); background: var(--c) !important; }
.mixer-controls .field input { background: var(--paper); }
.mixer-controls .field label { color: var(--paper); }
.has-drip { position: relative; }
.has-drip > .drip { position: absolute; top: -1px; left: 0; right: 0; color: var(--paper); margin: 0; z-index: 1; }
.site-footer.has-drip { padding-top: calc(64px + 3vw); }
.foot-top { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 36px; }
.foot-logo { width: clamp(110px, 14vw, 160px); height: auto; border-radius: 50%; transform: rotate(-8deg); transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
.foot-logo:hover { transform: rotate(350deg) scale(1.05); }
.hero .h-big em { isolation: isolate; }
.mixer-controls .btn { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.mixer-controls .btn:hover { background: var(--white); border-color: var(--white); }
.band .opt span:not(.swatch) { color: var(--paper); }
.band .opt input:checked + span:not(.swatch) { color: var(--ink); }
