/* Din's Factory — shared base for the homepage design options.
   Charter 2026: #BB2B35 red · #141111 ink · #FFFFFF white.
   Fonts: Luncher / Norris / Highway are not installed here, so Google stand-ins are used
   (Anton ≈ Luncher, Big Shoulders Display ≈ Norris, Yellowtail ≈ Highway). Swap via the vars. */
/* Fonts, hosted with the site (no request to Google). Stand-ins until the charter fonts arrive. */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(fonts/big-shoulders-display-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(fonts/big-shoulders-display-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Yellowtail'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/yellowtail-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Yellowtail'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/yellowtail-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --red: #BB2B35;
  --red-deep: #8C1F28;   /* logo drop-shadow tone seen on charter p1 */
  --ink: #141111;
  --white: #FFFFFF;

  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;            /* Luncher stand-in */
  --f-cond: "Big Shoulders Display", "Anton", Impact, sans-serif;      /* Norris stand-in */
  --f-script: "Yellowtail", "Brush Script MT", cursive;                /* Highway stand-in */
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--white); background: var(--red); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Brand marks (masks, so they take currentColor) ---------- */
.logo, .logo-dins, .df {
  display: block;
  background: currentColor;
  -webkit-mask: url(brand/logo.svg) center / contain no-repeat;
          mask: url(brand/logo.svg) center / contain no-repeat;
  aspect-ratio: 508 / 214;
}
.logo-dins { -webkit-mask-image: url(brand/logo-dins.svg); mask-image: url(brand/logo-dins.svg); aspect-ratio: 508 / 210; }
.df { -webkit-mask-image: url(brand/df.svg); mask-image: url(brand/df.svg); aspect-ratio: 268 / 214; }
/* Charter p1: the logo sits on a hard, darker-red offset shadow. Put this on a WRAPPER of the mask. */
.logo-shadow { filter: drop-shadow(var(--sh, .05em) var(--sh, .05em) 0 var(--red-deep)); }

/* Line icons from the old site (white line art) used as masks: style="--i:url(/assets/icons/burger.png)" */
.ico { display: block; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* Charter bracket arcs — the "( ORIGINAL … FOOD )" curved strokes */
.arc { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; }

/* Checkerboard strip (jersey back, charter p7) */
.checker {
  --c: var(--red); --s: 14px;
  height: calc(var(--s) * 2);
  background:
    conic-gradient(var(--c) 25%, transparent 0 50%, var(--c) 0 75%, transparent 0) 0 0 / calc(var(--s) * 2) calc(var(--s) * 2);
}

/* ---------- The button: « Ticket » — notched order ticket, perforated stub with the arrow.
   The stub tilts away (tears) on hover. No shadow, no lift. Built by base.js from data-label. ---------- */
.cta {
  --bg: var(--white); --fg: var(--red); --notch: 9px; --stub: 64px; --hole: 1.5px; --pitch: 7.5px;
  display: inline-flex; height: 60px; color: var(--fg);
  font: 400 25px/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
}
.cta > span { position: relative; display: grid; place-items: center; background: var(--bg); color: var(--fg); }
/* Perforation = real holes cut through the ticket (see-through), half on each side of the tear:
   round holes at rest, a scalloped edge on both pieces when the stub rips on hover.
   Each piece's mask = its outer notch INTERSECTED with a column of half-circles on the tear edge. */
.cta__main { flex: 1 1 auto; padding: 0 22px 0 30px; border-radius: 10px 0 0 10px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 97%, #000 100%),
                radial-gradient(circle var(--hole) at 100% 50%, #0000 88%, #000 100%) 0 0 / 100% var(--pitch) repeat-y;
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle var(--notch) at 0 50%, #0000 97%, #000 100%),
        radial-gradient(circle var(--hole) at 100% 50%, #0000 88%, #000 100%) 0 0 / 100% var(--pitch) repeat-y;
  mask-composite: intersect; }
/* stub: tears UP from its top-left corner, so it never drops onto a button below */
.cta__stub { flex: none; width: var(--stub); border-radius: 0 10px 10px 0; transform-origin: 0 0; transition: rotate .5s var(--ease); will-change: rotate;
  -webkit-mask: radial-gradient(circle var(--notch) at 100% 50%, #0000 97%, #000 100%),
                radial-gradient(circle var(--hole) at 0 50%, #0000 88%, #000 100%) 0 0 / 100% var(--pitch) repeat-y;
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle var(--notch) at 100% 50%, #0000 97%, #000 100%),
        radial-gradient(circle var(--hole) at 0 50%, #0000 88%, #000 100%) 0 0 / 100% var(--pitch) repeat-y;
  mask-composite: intersect; }
.cta__stub svg { width: 22px; height: 22px; transition: transform .45s var(--ease); will-change: transform; backface-visibility: hidden; }
.cta:hover .cta__stub, .cta:focus-visible .cta__stub { rotate: -6deg; }
.cta:hover .cta__stub svg, .cta:focus-visible .cta__stub svg { transform: translateX(4px) rotate(6deg); }
.cta:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 10px; }
.cta--ink { --bg: var(--ink); --fg: var(--white); }
.cta--red { --bg: var(--red); --fg: var(--white); }
.cta--sm { --notch: 6px; --stub: 42px; --hole: 1.1px; --pitch: 6px; height: 42px; font-size: 18px; }
.cta--sm .cta__main { padding: 0 12px 0 20px; }
.cta--sm .cta__stub svg { width: 17px; height: 17px; }

/* Secondary: same rectangle, same height, outlined (pairs with the ticket) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 28px; border-radius: 10px; border: 2px solid currentColor; font: 400 25px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.pill:hover { background: var(--white); color: var(--red); border-color: var(--white); }
.pill svg { width: 20px; height: 20px; }

/* Two buttons side by side always share one width (the wider one); stacked full width on phones */
.btn-pair { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; }
.btn-pair > * { width: 100%; }
@media (max-width: 640px) { .btn-pair { grid-auto-flow: row; width: 100%; } }


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