/* Midnight Smokehouse. Fonts self-hosted, subset Latin + Spanish: Big Shoulders Display Black 900 (display, OFL 1.1), Besley (text, OFL 1.1). */
@font-face { font-family: "Big Shoulders Display"; src: url(f/bigshoulders-900.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Besley"; src: url(f/besley-var.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Besley"; src: url(f/besley-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --smoke: #0b0b0c; --char: #151416; --char2: #1d1b1e; --chrome: #e4e0da; --steel: #b4aea6;
  --ember: #e0662a; --ember-hi: #f08a4a; --maroon: #6b1f2a;
  --disp: "Big Shoulders Display", "Arial Narrow", Impact, "Franklin Gothic Medium", sans-serif; --body: "Besley", "Rockwell", Georgia, serif; --num: "Big Shoulders Display", "Arial Narrow", Impact, "Franklin Gothic Medium", sans-serif;
  --ease: cubic-bezier(.2,.7,.1,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--smoke); color: var(--chrome); font: 400 1.125rem/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--disp); font-weight: 900; margin: 0; line-height: 1; letter-spacing: .01em; }
h2 { font-size: clamp(2.9rem, 7.2vw, 5.5rem); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember-hi); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--ember); color: var(--smoke); padding: .6rem 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.6rem;
  background: var(--ember); color: #0b0b0c; font: 700 1.05rem/1 var(--body); letter-spacing: .02em; text-decoration: none;
  border: 2px solid var(--ember); border-radius: 2px; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.btn:hover { background: var(--ember-hi); border-color: var(--ember-hi); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--chrome); border-color: var(--chrome); }
.btn-ghost:hover { background: var(--chrome); color: var(--smoke); border-color: var(--chrome); }
.btn-big { width: 100%; min-height: 58px; font-size: 1.15rem; }

/* header */
.top { position: absolute; z-index: 20; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 1rem clamp(1rem, 3vw, 2.5rem); }
.brand img { height: clamp(78px, 11vw, 120px); width: auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.7)); }
.nav { display: flex; gap: clamp(.6rem, 2vw, 1.6rem); align-items: center; font-weight: 700; font-size: 1rem; }
.nav > a:not(.btn) { text-decoration: none; text-shadow: 0 1px 10px #000; display: inline-flex; align-items: center; min-height: 44px; }
.nav > a:not(.btn):hover { color: var(--ember-hi); }
.lang { font: 700 1rem var(--body); background: rgba(11,11,12,.55); color: var(--chrome); border: 1px solid rgba(228,224,218,.6); padding: .5rem .8rem; border-radius: 2px; cursor: pointer; min-height: 44px; }
.lang:hover { border-color: var(--ember-hi); color: var(--ember-hi); }
@media (max-width: 700px) { .nav > a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #120b08; }
.hero-stage { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.hero-stage picture { display: block; width: 100%; height: 100%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform-origin: 62% 45%; }
.hero.go .hero-img { animation: push 9s var(--ease) forwards; }
.still .hero-img { animation-play-state: paused !important; }
.still .cue { animation: none !important; }
@keyframes push { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 22%, rgba(11,11,12,0) 42%, rgba(11,11,12,.78) 70%, rgba(11,11,12,.96) 100%);
  opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--smoke); pointer-events: none; opacity: 1; transition: opacity .7s ease; }
.hero.go::after { opacity: 0; }
.hero-copy { position: absolute; z-index: 4; left: clamp(1.25rem, 5vw, 4rem); right: clamp(1.25rem, 5vw, 4rem); bottom: clamp(5rem, 11vh, 7rem); max-width: 40rem; }
.hero h1 { font-size: clamp(2.6rem, 10.3vw, 5.6rem); text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.hero h1 > span { display: block; }
.hero h1 .l2 { font-family: var(--body); font-weight: 700; font-size: clamp(1.15rem, 3.6vw, 1.6rem); line-height: 1.35; color: var(--chrome); margin-top: 1rem; letter-spacing: .01em; }
.hero .w { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.hero.go .w { opacity: 1; transform: none; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.hero-btns .hero-btn { margin-top: 0; }
.hero-btns .btn-ghost { background: rgba(11,11,12,.55); }
.hero-alert { margin: 1rem 0 0; font-size: 1rem; line-height: 1.45; color: var(--chrome); text-shadow: 0 1px 10px #000; }
.hero-alert a { color: var(--ember-hi); font-weight: 700; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .1rem; margin: -.55rem 0; }
.still-btn { position: absolute; z-index: 5; right: clamp(1rem, 3vw, 2.5rem); bottom: 1rem; font: 700 .85rem var(--body); color: var(--chrome); background: rgba(11,11,12,.6); border: 1px solid rgba(228,224,218,.5); border-radius: 2px; padding: .45rem .8rem; min-height: 44px; min-width: 44px; cursor: pointer; }
.still-btn:hover { border-color: var(--ember-hi); color: var(--ember-hi); }
.hero-btn { margin-top: 1.6rem; opacity: 0; transform: translateY(10px); transition: opacity .6s 1.6s, transform .6s 1.6s var(--ease), background .25s; }
.hero.go .hero-btn { opacity: 1; transform: none; }
.cue { position: absolute; z-index: 4; left: 50%; bottom: 1.2rem; width: 2px; height: 46px; background: linear-gradient(var(--ember), transparent); transform-origin: top; transform: scaleY(0); }
.hero.go .cue { animation: cue 2.4s 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* hero image: a made photo of sliced brisket (round 4), always shown at or below its real detail */
.hero-motto { margin: .75rem 0 0; font: italic 400 1rem/1.35 var(--body); color: var(--ember-hi); letter-spacing: .02em; text-shadow: 0 1px 10px #000; opacity: 0; transition: opacity .8s .2s var(--ease); }
.hero.go .hero-motto { opacity: 1; }
@media (max-width: 899px) {
  .hero { background: #0b0a0a; }
  .hero-stage { inset: 0 0 auto 0; height: 49%; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); }
  .hero-img { object-position: 50% 100%; transform-origin: 50% 60%; }
  .hero-copy { bottom: 4.25rem; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11,11,12,.6) 0%, rgba(11,11,12,0) 16%, rgba(11,11,12,0) 100%); }
}
/* desktop: copy on the left, the photo floats on the right and dissolves into the dark */
@media (min-width: 900px) {
  .hero { background: #0b0a0a; }
  .hero-stage { inset: 50% 0 auto auto; width: 72vw; height: auto; aspect-ratio: 1672 / 941; max-height: 100%; transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); mask-composite: intersect; }
  .hero-img { object-position: 100% 50%; transform-origin: 72% 55%; }
  .hero-scrim { background: linear-gradient(90deg, rgba(11,11,12,.7) 0%, rgba(11,11,12,.35) 34%, rgba(11,11,12,0) 50%), linear-gradient(180deg, rgba(11,11,12,.5), rgba(11,11,12,0) 22%, rgba(11,11,12,0) 80%, rgba(11,11,12,.6)); }
}
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero-copy { top: 50%; bottom: auto; transform: translateY(-38%); max-width: min(46vw, 40rem); }
}

/* sticky */
.sticky.btn { color: #0b0b0c; }
.sticky { position: fixed; z-index: 30; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); box-shadow: 0 10px 30px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.sticky.on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 600px) { .sticky { left: 1rem; right: 1rem; } }

/* reveals */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.rv-l { transform: translateX(-60px); } .rv.rv-r { transform: translateX(60px); }
.rv.in { opacity: 1; transform: none; }

/* menu */
.menu { padding: clamp(4.5rem, 10vw, 8rem) 0; background: radial-gradient(120% 80% at 85% 10%, #2a1510 0%, var(--smoke) 55%); }
.menu-grid { display: grid; gap: 3rem; align-items: center; }
.board h2 { margin-bottom: 2rem; }
.item { border-top: 1px solid rgba(228,224,218,.25); padding: 1.4rem 0; }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.item h3 { font-size: clamp(1.9rem, 4.1vw, 2.75rem); }
.price { font: 900 clamp(3.8rem, 9.6vw, 6.5rem)/.9 var(--num); color: var(--ember-hi); white-space: nowrap; }
.price b { font-weight: 900; font-variant-numeric: tabular-nums; }
.price small { font: 700 .95rem var(--body); color: var(--steel); margin-left: .35rem; }
.item p { margin: .6rem 0 0; color: var(--steel); max-width: 34rem; }
.note { margin: 1.2rem 0 1.6rem; font-weight: 700; color: var(--chrome); }
.menu-card { margin: 0; border: 10px solid #1e1c1f; outline: 2px solid rgba(228,224,218,.5); box-shadow: 22px 22px 0 var(--maroon), 0 30px 80px rgba(0,0,0,.7); max-width: 560px; justify-self: center; }
.menu-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } .menu { padding-top: clamp(4rem, 6vw, 5.5rem); } }
main { overflow-x: clip; }
.item-head { flex-wrap: wrap; }
h1, h2, h3, .q, .hero .w { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 320px) {
  h2 { font-size: 2.4rem; } .price { font-size: 3.1rem; } .item h3 { font-size: 1.7rem; }
  .hero h1 { font-size: 2.05rem; } .step { gap: .5rem; } .st { width: 44px; height: 44px; }
  .brand img { height: 56px; } .nav { gap: .4rem; } .nav .btn-sm { padding: .4rem .6rem; }
  .wrap { width: calc(100% - 1.5rem); } .frame::before { inset: 10px -10px -10px 10px; }
}

/* dish scenes */
.scene { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.scene-b { background: linear-gradient(180deg, var(--smoke), #140e0c); }
.scene-m { background: #120f0d; }
.scene-t { background: linear-gradient(180deg, #120f0d, var(--smoke)); }
.scene-grid { display: grid; gap: 2.2rem; align-items: center; }
.frame { margin: 0; position: relative; justify-self: center; width: 100%; }
.frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--ember); z-index: -1; transform: scale(.0); transform-origin: 0 0; transition: transform 1.1s .25s var(--ease); }
.frame.in::before { transform: none; }
.frame::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--chrome); clip-path: inset(0 100% 100% 0); transition: clip-path 1.2s .35s var(--ease); }
.frame.in::after { clip-path: inset(0 0 0 0); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall { max-width: 520px; aspect-ratio: 4 / 5; }
.frame-tall img { object-position: 50% 50%; }
.frame-sq { max-width: 640px; aspect-ratio: 1 / 1; }
.frame-sq img { object-position: 60% 50%; }
.frame-mac { max-width: 600px; aspect-ratio: 4 / 5; }
.frame-card { max-width: 380px; aspect-ratio: 1 / 1; }
.scene-copy { max-width: 32rem; }
.num { font: 900 1.2rem var(--num); letter-spacing: .26em; color: var(--ember-hi); display: block; margin-bottom: .8rem; }
.scene-copy p { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.5; margin: 1rem 0 1.8rem; }
@media (min-width: 900px) {
  .scene-grid { grid-template-columns: 1.15fr 1fr; gap: 5rem; }
  .scene-grid.rev { grid-template-columns: 1fr 1.15fr; }
  .scene-t .scene-grid { grid-template-columns: 1fr 1.1fr; }
}
@media (max-width: 899px) { .scene-grid.rev .scene-copy { order: 2; } .frame { width: calc(100% - 18px); justify-self: start; } }

/* customers */
.says { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--char); border-block: 1px solid rgba(228,224,218,.12); }
.who { font: 700 1.1rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-hi); margin: 1.4rem 0 2rem; }
.quotes { display: grid; gap: 1.4rem; }
.quotes blockquote { margin: 0; padding: 1.8rem 1.6rem; background: var(--char2); border-left: 4px solid var(--ember); }
.quotes blockquote:nth-child(2) { transition-delay: .15s; } .quotes blockquote:nth-child(3) { transition-delay: .3s; }
.on { margin: 0 0 .7rem; font-weight: 700; color: var(--steel); font-size: 1rem; }
.q { margin: 0; font: italic 400 clamp(1.35rem, 2.4vw, 1.75rem)/1.4 var(--body); color: var(--chrome); }
.tr { margin: .9rem 0 0; font-size: 1rem; font-style: italic; color: var(--steel); }
.tr em { font-style: italic; font-weight: 700; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* story */
.story { padding: clamp(4.5rem, 10vw, 8rem) 0; background: radial-gradient(90% 70% at 15% 40%, #2b1216 0%, var(--smoke) 60%); }
.story-grid { display: grid; gap: 2.6rem; align-items: center; }
.portrait { margin: 0; max-width: min(300px, 72vw); width: 100%; justify-self: center; padding: 10px; background: #1d1b1e; box-shadow: 0 30px 80px rgba(0,0,0,.7); outline: 2px solid rgba(228,224,218,.35); outline-offset: 10px; }
.portrait img { width: 100%; height: auto; }
.wipe img { clip-path: inset(0 0 100% 0); filter: blur(6px) brightness(1.4); transition: clip-path 1.4s .2s var(--ease), filter 1.6s .2s var(--ease); }
.wipe.in img { clip-path: inset(0 0 0 0); filter: none; }
.story-copy h2 { margin-bottom: 1.6rem; }
.story-copy p { font-size: clamp(1.2rem, 2.1vw, 1.4rem); line-height: 1.6; margin: 0 0 1.3rem; max-width: 36rem; }
.story-copy p:nth-of-type(2) { transition-delay: .12s; } .story-copy p:nth-of-type(3) { transition-delay: .24s; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 360px 1fr; gap: 5rem; } }

/* dream */
.dream { padding: clamp(4.5rem, 10vw, 8rem) 0; background: linear-gradient(180deg, var(--smoke), #1a0d08 70%, var(--smoke)); }
.dream-grid { display: grid; gap: 2.5rem; align-items: center; }
.dream-copy p { font: 400 clamp(1.35rem, 2.6vw, 1.85rem)/1.45 var(--body); margin: 1.4rem 0 0; }
.truck { width: 100%; max-width: 620px; color: var(--chrome); justify-self: center; overflow: visible; }
.truck .dr { stroke-dasharray: 1; stroke-dashoffset: 1; }
.truck.in .dr { stroke-dashoffset: 0; }
.truck-word { font: 900 20px var(--disp); fill: var(--chrome); letter-spacing: .08em; opacity: .9; }
.truck.lit { color: var(--ember-hi); filter: drop-shadow(0 0 14px rgba(224,102,42,.55)); transition: color 1s, filter 1s; }
@media (min-width: 900px) { .dream-grid { grid-template-columns: 1fr 1.1fr; } }

/* order */
.order { padding: clamp(4.5rem, 10vw, 8rem) 0; background: radial-gradient(100% 60% at 50% 0%, #2a1510 0%, var(--smoke) 60%); }
.order-wrap { max-width: 640px; }
.sub { font-size: 1.2rem; margin: 1rem 0 2rem; }
form .row { margin-bottom: 1.3rem; }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label, .lbl { display: block; font-weight: 700; margin-bottom: .4rem; }
.step { display: flex; align-items: center; gap: .9rem; }
.st { width: 52px; height: 52px; flex: none; font: 700 1.6rem/1 var(--body); color: var(--smoke); background: var(--ember); border: 2px solid var(--ember); border-radius: 2px; cursor: pointer; }
.st:hover:not(:disabled) { background: var(--ember-hi); border-color: var(--ember-hi); }
.st:disabled { background: transparent; color: #8a847c; border-color: #5b5650; cursor: default; }
.step output { min-width: 2.2ch; text-align: center; font: 700 2.2rem/1 var(--body); font-variant-numeric: lining-nums tabular-nums; color: var(--chrome); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(228,224,218,.25); padding-top: 1rem; margin: 1.6rem 0 .6rem; font-weight: 700; font-size: 1.2rem; }
.total b { font: 700 clamp(2.4rem, 8vw, 3.1rem)/1 var(--body); font-variant-numeric: lining-nums; color: var(--ember-hi); }
.summary { color: var(--steel); margin: 0 0 1.4rem; overflow-wrap: anywhere; }
.order-btns { display: grid; gap: .8rem; }
.order-btns .btn { white-space: normal; text-align: center; }
.copied { min-height: 1.5em; margin: .8rem 0 0; color: var(--chrome); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
input, select, textarea { width: 100%; font: 400 1.125rem var(--body); color: var(--chrome); background: #18161a; border: 2px solid #5b5650; border-radius: 2px; padding: .8rem .9rem; min-height: 52px; }
input:focus, select:focus, textarea:focus { border-color: var(--ember-hi); outline: none; box-shadow: 0 0 0 3px rgba(240,138,74,.35); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #ff8a7a; }
.hint { margin: .35rem 0 0; font-size: .95rem; color: var(--steel); }
.err { margin: .35rem 0 0; color: #ffa194; font-weight: 700; font-size: 1rem; min-height: 0; }
.err:empty { display: none; }
.done { padding: 2rem; background: var(--char2); border-left: 5px solid var(--ember); }
.done-h { font: 900 2.65rem/1 var(--disp); margin: 0 0 .8rem; }
.done p { margin: .4rem 0; }
.done:focus { outline: none; }

/* footer */
.foot { text-align: center; padding: 4rem 1.25rem 7rem; background: #070708; border-top: 1px solid rgba(228,224,218,.12); }
.foot img { width: 120px; height: auto; margin: 0 auto 1rem; }
.foot-name { font: 900 2.15rem var(--disp); margin: 0; }
.motto { font: italic 400 1.15rem var(--body); color: var(--ember-hi); }
.btn { max-width: 100%; text-align: center; }
.foot p { margin: .4rem 0; }
.foot-row { display: flex; gap: 1rem; justify-content: center; align-items: center; margin-top: 1.4rem !important; flex-wrap: wrap; }

/* reduced motion: static frames, everything visible at once */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .rv.rv-l, .rv.rv-r { opacity: 1; transform: none; }
  .wipe img { clip-path: none; filter: none; }
  .frame::before { transform: none; } .frame::after { clip-path: none; }
  .hero::after { opacity: 0; } .hero .w, .hero-btn, .hero-motto { opacity: 1; transform: none; }
  .still-btn { display: none; }
  .truck .dr { stroke-dashoffset: 0; }
}

/* embers (atmosphere.js) */
.atmosphere-canvas { z-index: 2 !important; mix-blend-mode: screen; }
.dream { position: relative; isolation: isolate; overflow: hidden; } .dream > .wrap { position: relative; z-index: 3; }
.hero { isolation: isolate; }

