/* Shared brand layer for every product-page design. Each design owns its own layout and palette;
   this file only carries the type pair, the pack-label card and a few tokens.
   Fonts: <link href="https://fonts.googleapis.com/css2?family=Archivo:wght@400..700&family=Krona+One&display=swap" rel="stylesheet"> */
:root {
  /* Krona One = closest free match to the wide grotesk on Raku's pack labels; Archivo = body */
  --f-label: "Krona One", "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  /* the pack's own silver label */
  --label-bg: #d5d7da;
  --label-ink: #141517;
  --label-muted: #4b4e53;
  /* neutral silver scale — Raku is silver/metallic, never brown */
  --s-050: #f3f4f5;
  --s-100: #e6e8ea;
  --s-200: #d5d7da;
  --s-300: #bfc3c7;
  --s-400: #9a9fa5;
  --s-500: #7b8087;
  --s-600: #5a5e64;
  --s-700: #3a3d42;
  --s-800: #222428;
  --s-900: #141517;
  --s-950: #0e0f11;
  --gutter: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* micro label: Krona One, tracked uppercase */
.label { font-family: var(--f-label); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0; }

/* the info card IS the pack label: silver sticker, black header bar, ruled spec rows, 楽 + R badges.
   Re-theme per design with --label-bg / --label-ink / --label-muted. */
.lc { background: var(--label-bg); color: var(--label-ink); border-radius: 7px; padding: 6px 6px 0; }
.lc-head { display: flex; justify-content: space-between; gap: 10px; background: var(--label-ink); color: var(--label-bg); border-radius: 4px; padding: 9px 10px 8px; font-family: var(--f-label); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.lc-body { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 4px 6px 0; }
.lc-rows { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.lc-rows div { padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--label-ink) 32%, transparent); min-width: 0; }
.lc-rows .wide { grid-column: 1 / -1; }
.lc-rows dt { font-family: var(--f-label); font-size: 7.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label-muted); }
.lc-rows dd { margin: 3px 0 0; font-family: var(--f-label); font-size: 9.5px; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.lc-badges { display: grid; gap: 8px; align-content: start; padding-top: 9px; }
.lc-badges img { width: 34px; height: auto; display: block; opacity: .9; }
.lc-foot { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 9px 6px 11px; font-family: var(--f-label); font-size: 11px; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.01em; }

/* price: number + small raised currency, tabular */
.rk-price { font-family: var(--f-label); font-weight: 400; letter-spacing: -0.01em; line-height: 1; font-variant-numeric: tabular-nums; }
.rk-price .cur { font-size: .42em; letter-spacing: 0.1em; margin-left: .45em; vertical-align: .55em; }

/* film grain: puts 3D and the product photos "in the same camera". Add class="rk-grain" to <body>. */
.rk-grain::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: var(--grain, .08); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* R monogram as a tintable mask: <i class="rk-mono"></i> */
.rk-mono { display: inline-block; width: 30px; height: 28px; background: currentColor; -webkit-mask: url(/raku-monogram-r.svg) center / contain no-repeat; mask: url(/raku-monogram-r.svg) center / contain no-repeat; }

/* the design number link back to the gallery (/v/) — place it in your header */
.rk-design { font-family: var(--f-label); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: inherit; opacity: .7; white-space: nowrap; }
.rk-design:hover { opacity: 1; }
