/* Biztek Media — shared tokens & components */

:root {
  --cream: #F4EEE3;
  --cream-deep: #EAE1D1;
  --paper: #FBF8F2;
  --ink: #17130F;
  --ink-soft: #3B342C;
  --muted: #6F665B;
  --orange: #FF5212;
  --burnt: #D2380A;
  --ember: #9E2A07;
  --line: rgba(23, 19, 15, 0.14);
  --line-strong: rgba(23, 19, 15, 0.28);

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --hard: 5px 5px 0 var(--ink);
  --hard-lg: 8px 8px 0 var(--ink);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
::selection { background: var(--orange); color: var(--ink); }

/* Paper grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--cream); padding: 8px 14px; z-index: 10000;
}
.skip:focus { left: 8px; }

/* ---------- brand */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 36px; height: 36px; }
.wordmark {
  font-weight: 900; font-stretch: 125%;
  letter-spacing: -.01em; font-size: 18px; line-height: 1;
}
.wordmark span { font-weight: 300; margin-left: 4px; letter-spacing: .08em; }
.brand--light { color: var(--cream); }

/* ---------- buttons */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 18px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-weight: 800; font-stretch: 112%;
  font-size: 15px; letter-spacing: .01em; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-lg { padding: 15px 24px; font-size: 17px; border-radius: 12px; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); }
.btn-ink { --bg: var(--ink); --fg: var(--cream); box-shadow: 3px 3px 0 var(--orange); }
.btn-ink:hover { box-shadow: 5px 5px 0 var(--orange); }
.btn-orange { --bg: var(--orange); --fg: var(--ink); }
.btn-cream { --bg: var(--cream); --fg: var(--ink); }
.btn-ghost { --bg: transparent; box-shadow: none; }
.btn-ghost:hover { --bg: var(--paper); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- labels */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ember);
}
.kicker::before { content: ''; width: 10px; height: 10px; background: var(--orange); transform: rotate(25deg); }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- receipt (landing example + studio quote) */
.receipt {
  --notch: 10px;
  position: relative;
  background: var(--paper);
  padding: 26px 22px 22px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  /* zig-zag tear on top and bottom edges */
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--notch) * 2) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--notch) * 2) 51% repeat-x;
          mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--notch) * 2) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--notch) * 2) 51% repeat-x;
}
/* masks clip filters, so the shadow lives on a wrapper */
.receipt-shadow { filter: drop-shadow(0 0 1px rgba(23, 19, 15, .35)) drop-shadow(0 14px 22px rgba(23, 19, 15, .14)); }
.receipt-title {
  margin: 0 0 2px; text-align: center;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px;
}
.receipt-sub { margin: 0 0 12px; text-align: center; color: var(--muted); font-size: 11px; }
.receipt hr { border: 0; border-top: 1.5px dashed var(--line-strong); margin: 12px 0; }
.r-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.r-row + .r-row { margin-top: 6px; }
.r-row .r-label { font-weight: 700; }
.r-row .r-detail { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.r-row .r-amt { white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-row.is-neg .r-amt { color: var(--ember); }
.r-total { font-size: 18px; font-weight: 700; }
.r-total .r-amt { font-size: 22px; }
.r-meta { color: var(--muted); font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
