/* Ember Lane. Plain CSS, mobile first, no build step. */
:root {
  --ox: #3B0D14;
  --ox2: #2A080E;
  --cream: #F6E8D0;
  --cream2: #EBD6B3;
  --ember: #F0642B;
  --mustard: #F2B544;
  --ink: #240A0E;
  --muted-d: #DCC6A6;   /* muted text on oxblood */
  --muted-l: #6A3A3C;   /* muted text on cream */
  --display: "Shrikhand", Georgia, serif;
  --text: "Karla", "Trebuchet MS", Verdana, sans-serif;
  --gutter: clamp(18px, 5vw, 56px);
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ox); color: var(--cream); font-family: var(--text); font-size: 1.125rem; line-height: 1.55; overflow-x: hidden; padding-bottom: 76px; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(3.1rem, 14vw, 8.4rem); line-height: .92; }
h2 { font-size: clamp(2.2rem, 7.5vw, 4.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: 60ch; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { color: var(--mustard); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.on-cream :focus-visible { outline-color: var(--ox); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--mustard); color: var(--ink); padding: 12px 18px; z-index: 50; font-weight: 700; }
.skip:focus { left: 0; }
.kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--mustard); margin: 0 0 12px; }
.on-cream .kicker { color: var(--ox); }
.on-cream { background: var(--cream); color: var(--ink); }
.on-ember { background: var(--ember); color: var(--ink); }
.on-ember .kicker { color: var(--ink); }
.on-cream a:hover, .on-ember a:hover { color: var(--ox); }
.muted { color: var(--muted-d); }
.on-cream .muted { color: var(--muted-l); }

/* header */
.head { background: var(--ox); position: relative; z-index: 20; border-bottom: 2px solid var(--cream); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.7rem; color: var(--cream); line-height: 1; }
.brand svg { width: 34px; height: 40px; }
.menu-btn { font: inherit; font-weight: 700; background: transparent; color: var(--cream); border: 2px solid var(--cream); padding: 8px 16px; min-height: 44px; cursor: pointer; border-radius: 999px; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ox2); padding: 8px var(--gutter) 24px; border-bottom: 2px solid var(--cream); }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 14px 0; font-family: var(--display); font-size: 1.8rem; text-decoration: none; border-bottom: 1px dashed rgba(246,232,208,.35); }
.nav a[aria-current="page"] { color: var(--mustard); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1.05rem; background: var(--ember); color: var(--ink); border: 2px solid var(--ink); padding: 13px 26px; min-height: 52px; border-radius: 999px; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { color: var(--ink); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--mustard); }
.btn.cream { background: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 var(--ember); }
.btn.cream:hover { background: var(--mustard); box-shadow: 2px 2px 0 var(--ember); }
.btn.line { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.btn.line:hover { background: var(--cream); color: var(--ink); transform: none; }
.on-cream .btn.line:hover { background: var(--ink); color: var(--cream); }
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gutter) 12px; background: var(--ox2); border-top: 2px solid var(--cream); }
.cta-bar .btn { box-shadow: none; padding: 10px 12px; min-height: 52px; }

/* hero */
.hero { padding: 40px 0 0; position: relative; overflow: hidden; }
.hero h1 .ember { color: var(--ember); display: inline-block; transform: rotate(-3deg); }
.hero .sub { font-size: 1.25rem; max-width: 30ch; margin: 24px 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .art { margin: 32px auto -4px; max-width: 520px; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--cream); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: .95rem; margin-bottom: 22px; }
.open-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--mustard); display: block; }

.section { padding: 56px 0; position: relative; }
.squig { display: block; width: 100%; height: 22px; }

/* info cards */
.info { display: grid; gap: 20px; }
.card { border: 2px solid var(--ink); border-radius: 22px 22px 22px 6px; padding: 24px; background: var(--cream); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.on-cream .card { background: #FFF6E4; }
.card h3 { margin-bottom: 12px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 2px dotted rgba(36,10,14,.35); }
.hours li:last-child { border-bottom: 0; }
.hours b { font-weight: 700; }

/* dishes */
.dishes { display: grid; gap: 28px; list-style: none; margin: 0; padding: 0; }
.dish { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.dish svg { width: 96px; height: 96px; }
.dish h3 { margin-bottom: 4px; font-size: 1.6rem; }
.dish p { margin: 0; }
.price { font-weight: 700; }

/* menu */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.tab { font: inherit; font-weight: 700; font-size: 1.05rem; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 10px 20px; min-height: 48px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.tab:hover { background: var(--mustard); color: var(--ink); }
.panel[hidden] { display: none; }
.panel h2 { font-size: clamp(2rem, 6vw, 3rem); }
.panel .when { font-weight: 700; margin-bottom: 20px; }
.items { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; }
.item { padding: 16px 0; border-bottom: 2px dotted rgba(36,10,14,.4); display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; }
.item h3 { font-family: var(--text); font-weight: 700; font-size: 1.2rem; margin: 0; line-height: 1.25; }
.item p { grid-column: 1; margin: 0; color: var(--muted-l); font-size: 1rem; }
.item .price { grid-column: 2; grid-row: 1; font-size: 1.2rem; }
.tags { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 6px; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; border: 2px solid var(--ink); border-radius: 6px; padding: 1px 7px; color: var(--ink); background: var(--cream2); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 28px; padding: 14px 18px; border: 2px dashed var(--ink); border-radius: 14px; font-size: .95rem; }
.legend span b { margin-right: 6px; }
.sub-h { font-family: var(--display); font-size: 1.6rem; margin: 28px 0 4px; color: var(--ox); }

/* forms */
.form { display: grid; gap: 20px; max-width: 640px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #FFF9EE; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; min-height: 52px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.field .err { color: #8E1B12; font-weight: 700; font-size: .95rem; margin: 6px 0 0; }
.field [aria-invalid="true"] { border-color: #8E1B12; background: #FFEFE8; }
.row2 { display: grid; gap: 20px; }
.hint { font-size: .92rem; color: var(--muted-l); margin: 6px 0 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amount input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amount span { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.9rem; min-height: 72px; border: 2px solid var(--ink); border-radius: 16px; background: #FFF9EE; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.amount input:checked + span { background: var(--ember); }
.amount input:focus-visible + span { outline: 3px solid var(--ox); outline-offset: 3px; }
.amount { position: relative; }
.confirm { border: 2px solid var(--ink); border-radius: 22px; background: #FFF6E4; padding: 28px; max-width: 640px; box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.confirm dl { margin: 18px 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.confirm dt { font-weight: 700; }
.confirm dd { margin: 0; }
.voucher-card { border: 2px solid var(--ink); border-radius: 18px; background: var(--ember); padding: 22px; transform: rotate(-1.5deg); max-width: 380px; box-shadow: 6px 6px 0 var(--ink); color: var(--ink); margin: 0 0 24px; }
.voucher-card .amt { font-family: var(--display); font-size: 3.6rem; line-height: 1; }
.note { font-size: .88rem; }

/* footer */
.foot { background: var(--ox2); border-top: 2px solid var(--cream); padding: 40px 0 28px; }
.foot .grid { display: grid; gap: 24px; }
.foot p { margin: 0 0 4px; color: var(--muted-d); font-size: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot h2 { font-size: 1.5rem; }

@media (min-width: 760px) {
  body { padding-bottom: 0; font-size: 1.2rem; }
  .cta-bar { display: none; }
  .menu-btn { display: none; }
  .nav { display: block; position: static; background: transparent; padding: 0; border: 0; }
  .nav ul { display: flex; gap: 26px; align-items: center; }
  .nav a { font-family: var(--text); font-weight: 700; font-size: 1rem; padding: 8px 0; border: 0; border-bottom: 3px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ember); color: var(--cream); }
  .hero { padding-top: 72px; }
  .hero .grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
  .hero .art { margin: 0 0 -4px; }
  .info { grid-template-columns: repeat(3, 1fr); }
  .dishes { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
  .dish { grid-template-columns: 130px 1fr; }
  .dish svg { width: 130px; height: 130px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .amounts { grid-template-columns: repeat(4, 1fr); }
  .foot .grid { grid-template-columns: 2fr 1fr 1fr; }
  .section { padding: 88px 0; }
  .split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .flame { transform-origin: 50% 100%; animation: flick 2.4s ease-in-out infinite; }
  @keyframes flick { 0%,100% { transform: scaleY(1) rotate(0); } 50% { transform: scaleY(1.05) rotate(-1.5deg); } }
}
