/* Asymmetry Studios · shared "Storybook" styles for every page. */
:root {
  --paper: #fdf3ee;   /* blush page */
  --card: #fffaf7;    /* boxes on the page */
  --mint: #c9e4d6;    /* bands and summaries */
  --peach: #ffd6c2;   /* pills, selected options */
  --coral: #e07a5f;   /* birds, accents */
  --ink: #3a2e4a;     /* plum text and outlines */
  --rust: #8a3b27;    /* hover */
  --muted: #6b5d72;
  --display: "Young Serif", Georgia, serif;
  /* Gaegu for words; digits come from a tiny Nunito subset because Gaegu's 1 reads like an I. */
  --hand: "AS Nums", "Gaegu", "Comic Sans MS", cursive;
}
/* Digits only (Nunito, SIL Open Font License), sized down to sit with Gaegu. */
@font-face { font-family: "AS Nums"; src: url("/nums-500.woff2") format("woff2"); font-weight: 400 600; size-adjust: 84%; unicode-range: U+0023-0024, U+0030-0039; font-display: swap; }
@font-face { font-family: "AS Nums"; src: url("/nums-700.woff2") format("woff2"); font-weight: 700 900; size-adjust: 84%; unicode-range: U+0023-0024, U+0030-0039; font-display: swap; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--hand); font-size: 21px; line-height: 1.25; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
p, ul, ol, figure { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--rust); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }

/* Header */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: clamp(48px, 7vw, 76px); height: auto; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; display: block; }
.brand span { font-family: var(--display); font-size: clamp(21px, 3vw, 32px); line-height: 1; white-space: nowrap; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 28px); align-items: center; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline wavy; }
.pill { background: var(--peach); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 18px; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.hdr-mobile { display: none; gap: 10px; }
.ib { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); display: grid; place-items: center; color: var(--ink); position: relative; text-decoration: none; padding: 0; cursor: pointer; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 15px; display: grid; place-items: center; border: 2px solid var(--ink); line-height: 1; }
.badge:empty { display: none; }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 50; background: var(--mint); display: flex; flex-direction: column; overflow-y: auto; }
.menu .hdr { padding-inline: 16px; }
.menu nav { padding: 12px 24px 0; display: flex; flex-direction: column; }
.menu .big { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 4px; border-bottom: 2px dashed var(--ink); text-decoration: none; font-family: var(--display); font-size: 30px; }
.menu .big span { font-family: var(--hand); }
.menu .subs { display: flex; flex-direction: column; padding: 6px 0 10px 18px; border-bottom: 2px dashed var(--ink); }
.menu .small { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-size: 22px; }
.menu .foot { margin-top: auto; padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 12px; text-align: center; font-size: 18px; }

/* Buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 6px 30px; border-radius: 999px; font-size: 24px; border: 0; cursor: pointer; text-align: center; }
.cta:hover { background: var(--rust); color: var(--paper); }
.cta:disabled, .cta[aria-disabled="true"] { opacity: .55; cursor: not-allowed; background: var(--ink); }
.ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; padding: 6px 30px; border-radius: 999px; font-size: 24px; cursor: pointer; }
.ghost:hover { background: var(--peach); color: var(--ink); }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; min-height: 44px; }
.step { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font-size: 26px; line-height: 1; cursor: pointer; padding: 0; }
.step:disabled { opacity: .4; cursor: default; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); display: grid; place-items: center; cursor: pointer; padding: 0; }
.arrow:hover { background: var(--peach); }
.arrow:disabled { opacity: .35; cursor: default; background: var(--paper); }

/* Product cards */
.thumb { aspect-ratio: 1; background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; display: grid; place-items: center; position: relative; color: var(--coral); }
.thumb > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb > svg { width: 42%; height: auto; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform .2s; }
.card:hover { transform: translateY(-4px) rotate(-1deg); color: var(--ink); }
.card .row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.card .name { font-weight: 700; line-height: 1.1; }
.card .price { white-space: nowrap; }
.card.out .thumb > * { opacity: .55; }
.tag { position: absolute; top: 10px; left: 10px; border-radius: 999px; padding: 0 12px; font-size: 18px; border: 2px solid var(--ink); background: var(--peach); opacity: 1 !important; }
.tag.dark { background: var(--ink); color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }

/* Bands */
.wave { height: 26px; margin-top: 48px; background: radial-gradient(circle at 14px -6px, transparent 14px, var(--mint) 15px) 0 0 / 28px 26px repeat-x; }
.band { background: var(--mint); padding: 20px 0 56px; }

/* Boxes and forms */
.box { border: 2px solid var(--ink); border-radius: 28px; padding: 28px; background: var(--card); display: flex; flex-direction: column; gap: 12px; }
.summary { background: var(--mint); border: 2px solid var(--ink); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.line { display: flex; justify-content: space-between; gap: 12px; }
.total { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; justify-content: space-between; font-size: 26px; font-weight: 700; }
.dash { border-top: 2px dashed var(--ink); }
.fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fld label { font-weight: 700; font-size: 19px; }
.fld input, .fld select, .fld textarea { font-size: 21px; min-height: 50px; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); width: 100%; }
.fld input::placeholder, .fld textarea::placeholder { color: #7a6b80; }
.fld textarea { resize: vertical; }
.notice { background: var(--peach); border: 2px solid var(--ink); border-radius: 16px; padding: 12px 16px; }
.small-print { font-size: 18px; }
.sandbox { background: var(--ink); color: var(--paper); text-align: center; font-size: 17px; padding: 4px 12px; }
.sandbox a { color: var(--paper); }

.footer { padding-block: 24px 40px; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer span:last-child { display: flex; gap: 24px; flex-wrap: wrap; }

.loading { opacity: .6; }
.skeleton .thumb { background: repeating-linear-gradient(45deg, var(--paper) 0 12px, #f7e7df 12px 24px); }

@media (max-width: 860px) {
  .nav, .hdr > .pill { display: none; }
  .hdr-mobile { display: flex; }
  .brand span { white-space: normal; max-width: 7ch; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  body { font-size: 20px; }
  .cta, .ghost { font-size: 22px; }
}
