/* ==========================================================================
   TILLY'S BAR · GRILL · PIZZA — brand tokens and components
   Matched to the painted-sign logo: heavy poster caps with a hard drop
   shadow, gray secondary lettering, red hairline frame, red arrow flourishes.
   Change colors here and nowhere else.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600&family=Playfair+Display:wght@400;500&family=Inter:wght@400;500&display=swap');

:root {
  /* Core palette ------------------------------------------------------- */
  --black:     #0B0B0C;   /* sign ground */
  --ash:       #1C1D1F;   /* second surface */
  --ash-2:     #2A2B2E;   /* third surface */
  --red:       #E01B24;   /* sign red — matches the logo frame */
  --red-deep:  #A50F17;
  --white:     #FFFFFF;

  /* Gray is now a real brand color — the logo's BAR · GRILL · PIZZA ----- */
  --gray:      #9C9C9C;   /* secondary lettering */
  --gray-dark: #6A6A6C;   /* drop shadow under the display type */

  --hairline:  #3A3B3F;
  --muted:     #9C9C9C;
  --muted-dim: #6A6A6C;
  --red-wash:  rgba(224,27,36,.10);
  --green:     #3FA34D;
  --amber:     #E0A020;

  /* Type --------------------------------------------------------------- */
  --poster: 'Anton', 'Haettenschweiler', 'Arial Narrow', sans-serif;
  --display:'Oswald', 'Arial Narrow', sans-serif;
  --serif:  'Playfair Display', Georgia, serif;
  --body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --track: .18em;
  --shell: 1180px;
  --gut:   clamp(20px,5vw,56px);
  --r:     2px;
}

*,*::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-duration:.01ms !important; transition-duration:.01ms !important; }
}

body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(56px,8vw,112px) 0; }
.section--ash { background: var(--ash); }

/* ==========================================================================
   THE SIGN FRAME — the logo's red border, reusable
   ========================================================================== */
.sign {
  position: relative;
  background: var(--black);
  border: 2px solid var(--red);
  padding: clamp(24px,4vw,52px);
}
.sign::after {
  content: '';
  position: absolute; inset: 5px;
  border: 1px solid rgba(224,27,36,.35);
  pointer-events: none;
}
.sign--flat { border-width: 1px; }
.sign--flat::after { display: none; }

/* Red arrow flourishes — the ones flanking BAR · GRILL · PIZZA ---------- */
.arrows { display: flex; align-items: center; gap: 16px; }
.arrows::before, .arrows::after {
  content: ''; flex: 1; height: 0; min-width: 30px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.arrows::before { border-right: 58px solid var(--red); }
.arrows::after  { border-left: 58px solid var(--red); }
.arrows > * { flex: none; }

/* ==========================================================================
   TYPE
   ========================================================================== */
.eyebrow {
  font-family: var(--display); font-size: 12px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--red);
  margin: 0 0 16px; display: flex; align-items: center; gap: 11px;
}
.eyebrow::before { content:''; width:8px; height:8px; background:var(--red); transform:rotate(45deg); flex:none; }
.eyebrow--plain::before { display: none; }

h1, h2 {
  font-family: var(--poster);
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 18px;
  text-shadow: 4px 4px 0 var(--gray-dark);
}
h1 { font-size: clamp(42px,7.5vw,84px); line-height:.96; }
h2 { font-size: clamp(30px,4.4vw,52px); line-height:1.0; text-shadow: 3px 3px 0 var(--gray-dark); }
.section--ash h1, .section--ash h2 { text-shadow: 3px 3px 0 #000; }
h1.flat, h2.flat { text-shadow: none; }

h3, h4 { font-family: var(--display); font-weight: 500; margin: 0 0 14px; }
h3 { font-size: 19px; letter-spacing:.06em; text-transform: uppercase; }
h4 { font-size: 13px; letter-spacing: var(--track); text-transform: uppercase; color: var(--red); }

/* Gray secondary lettering — the logo's BAR · GRILL · PIZZA ------------- */
.subline {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(13px,1.7vw,17px);
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gray); margin: 0;
}

.lede { font-size: clamp(16px,1.8vw,19px); color: var(--muted); max-width: 62ch; margin: 0 0 28px; }
p { margin: 0 0 16px; }
.dim { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted-dim); line-height: 1.55; }
.price { color: var(--red); font-variant-numeric: tabular-nums; }

.rule { display:flex; align-items:center; gap:15px; margin:32px 0; }
.rule::before,.rule::after { content:''; height:1px; background:var(--red); opacity:.5; flex:1; }
.rule i { width:10px; height:10px; background:var(--red); transform:rotate(45deg); flex:none; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family: var(--display); font-size:13px; font-weight:500;
  letter-spacing: var(--track); text-transform: uppercase;
  padding: 15px 28px; border:1px solid transparent; border-radius: var(--r);
  cursor:pointer; text-decoration:none;
  transition: background .18s, color .18s, border-color .18s;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--gray-dark); }
.btn--ghost:hover { border-color: var(--white); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: #E4E4E6; }
.btn--sm { padding: 10px 16px; font-size: 11px; }
.btn[disabled] { opacity:.4; cursor:not-allowed; }
.btn-row { display:flex; flex-wrap:wrap; gap:11px; }

/* ==========================================================================
   SURFACES
   ========================================================================== */
.card { background: var(--ash); border:1px solid var(--hairline); border-radius: var(--r); padding: 26px; }
.section--ash .card { background: var(--black); }
.card--red { border-color: var(--red); }
.grid { display:grid; gap:18px; }
.grid--2 { grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); }

.dlist { list-style:none; padding:0; margin:0; }
.dlist li { position:relative; padding-left:23px; margin-bottom:12px; color:var(--muted); }
.dlist li::before { content:''; position:absolute; left:0; top:.62em; width:7px; height:7px; background:var(--red); transform:rotate(45deg); }
.dlist strong { color: var(--white); font-weight:500; }

.badge {
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--display); font-size:11px; font-weight:500;
  letter-spacing: var(--track); text-transform:uppercase;
  padding:5px 11px; border:1px solid var(--hairline); border-radius:100px; color:var(--muted);
}
.badge--red { border-color:var(--red); color:var(--red); background:var(--red-wash); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position:sticky; top:0; z-index:50; background:rgba(11,11,12,.96);
  backdrop-filter: blur(8px); border-bottom:2px solid var(--red);
}
.nav-in { display:flex; align-items:center; justify-content:space-between;
  gap:clamp(20px,5vw,64px); padding:12px 0; }
.nav-logo { flex:none; display:block; line-height:0; }
.nav-logo img { height:42px; width:auto; max-width:none; display:block; }
.nav-links { display:flex; align-items:center; gap:26px; flex-wrap:wrap;
  justify-content:flex-end; min-width:0; }
.nav-links a {
  font-family: var(--display); font-size:13px; font-weight:500;
  letter-spacing:var(--track); text-transform:uppercase; color:var(--gray); text-decoration:none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color:var(--white); }
@media (max-width:820px) {
  .nav-links { gap:16px; }
  .nav-links .hide-sm { display:none; }
  .nav-logo img { height:34px; }
}

/* ==========================================================================
   FORMS
   ========================================================================== */
label { display:block; font-family:var(--display); font-size:12px; font-weight:500;
  letter-spacing:var(--track); text-transform:uppercase; color:var(--gray); margin-bottom:7px; }
input,select,textarea {
  width:100%; font-family:var(--body); font-size:15px; color:var(--white);
  background:var(--black); border:1px solid var(--hairline); border-radius:var(--r); padding:12px 13px;
}
.card input, .card select, .card textarea { background: var(--black); }
.section--ash .card input, .section--ash .card select, .section--ash .card textarea { background: var(--ash); }
input:focus,select:focus,textarea:focus { border-color:var(--red); outline:none; }
::placeholder { color: var(--muted-dim); }
.field { margin-bottom:18px; }
.field-error { color:var(--red); font-size:13px; margin-top:5px; display:none; }
.field.is-invalid .field-error { display:block; }
.field.is-invalid input,.field.is-invalid select { border-color:var(--red); }

/* ==========================================================================
   MENU LISTINGS  (menu.html, order.html, table.html)
   ========================================================================== */
.mgroup { margin-bottom: 40px; }
.mgroup-head {
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  padding-bottom:9px; border-bottom:2px solid var(--red); margin-bottom:6px;
}
.mgroup-head h3 { margin:0; font-family:var(--poster); font-size:22px; letter-spacing:.03em;
  color:var(--white); text-transform:uppercase; text-shadow:2px 2px 0 var(--gray-dark); }
.mrow { display:flex; align-items:flex-start; justify-content:space-between; gap:18px;
  padding:13px 0; border-bottom:1px solid var(--hairline); }
.mrow.has-qty { border-left:2px solid var(--red); padding-left:13px; }
.minfo { min-width:0; }
.mname { font-family:var(--display); font-size:17px; font-weight:500;
  letter-spacing:.04em; text-transform:uppercase; }
.mdesc { font-size:13.5px; color:var(--muted); margin:2px 0 0; }
.mprice { font-family:var(--display); font-size:17px; font-weight:500; color:var(--red);
  white-space:nowrap; font-variant-numeric:tabular-nums; }

.stepper { display:flex; align-items:center; gap:3px; flex:none; }
.step { width:34px; height:34px; background:var(--ash-2); color:var(--white);
  border:1px solid var(--hairline); border-radius:var(--r); font-size:17px; line-height:1; cursor:pointer; }
.step:hover { background:#35363A; }
.step-count { min-width:28px; text-align:center; font-variant-numeric:tabular-nums; font-size:15px; }

.cline { display:grid; grid-template-columns:32px 1fr auto; gap:9px; padding:9px 0;
  font-size:15px; border-bottom:1px solid var(--hairline); }
.cline-sub { grid-column:2 / -1; font-size:12.5px; color:var(--muted); margin-top:2px; }
.cqty { color:var(--red); font-variant-numeric:tabular-nums; }
.camt { font-variant-numeric:tabular-nums; }
.crm { grid-column:2 / -1; background:none; border:none; color:var(--muted-dim);
  font-size:12px; padding:2px 0; cursor:pointer; text-align:left; }
.crm:hover { color:var(--red); }
.tot { display:flex; justify-content:space-between; padding:6px 0; font-size:15px;
  color:var(--muted); font-variant-numeric:tabular-nums; }
.tot--grand { color:var(--white); font-family:var(--display); font-size:21px; font-weight:500;
  border-top:1px solid var(--hairline); margin-top:7px; padding-top:13px; }

.modal { position:fixed; inset:0; z-index:200; background:rgba(0,0,0,.85);
  display:flex; align-items:flex-end; justify-content:center; padding:0; }
@media (min-width:720px) { .modal { align-items:center; padding:24px; } }
.modal[hidden] { display:none; }
.modal-box { background:var(--ash); border:2px solid var(--red); border-radius:var(--r);
  width:100%; max-width:520px; max-height:88vh; overflow-y:auto; padding:26px; }
.opt { display:flex; align-items:center; gap:11px; padding:9px 0; cursor:pointer; }
.opt input { width:auto; margin:0; accent-color:var(--red); flex:none; }
.opt span { font-size:15px; }
.opt .opt-price { margin-left:auto; color:var(--red); font-size:14px; font-variant-numeric:tabular-nums; }
.opt-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:0 18px; }

/* ==========================================================================
   THE DIAMOND CLUB — serif lockup, matching the sign
   ========================================================================== */
.dc-lock {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px,5vw,48px);
  letter-spacing: .14em; text-transform: uppercase;
  margin: 18px 0 8px; text-shadow: none;
}
.dc-sub {
  font-family: var(--display); font-size: 11px; font-weight: 400;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gray-dark); margin: 0;
}
.dc-dia { width:26px; height:26px; background:var(--red); transform:rotate(45deg); margin:0 auto; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
