/* AM2PM: burger-joint poster. Colours from the real sign: mustard neon letters, pink neon script, black steel; green from the courtyard plants.
   Neubrutalism rules: hard 3px borders, offset shadows, no blur, square corners. */
:root {
  --mustard: #ffc629;
  --pink: #ff3d8b;
  --green: #0e5a3c;
  --ink: #141311;
  --white: #fff;
  --pale: #fff4d6;
  --muted: #4b4840;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --hdr: 64px;
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; accent-color: var(--pink); }
body { margin: 0; background: var(--white); color: var(--ink); font: 500 1.05rem/1.55 var(--body); padding-bottom: 60px; overflow-x: clip; }
html:lang(ko) body { font-family: 'Noto Sans KR', var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h2 { font: 400 clamp(2.5rem, 7.5vw, 5rem)/1.26 var(--display); text-transform: uppercase; margin-bottom: .4em; text-wrap: balance; }
html:lang(ko) h2 { font-family: 'Noto Sans KR', var(--body); font-weight: 600; font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin-bottom: .3em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.small { font-size: .95rem; }
.lead { font-size: 1.15rem; max-width: 60ch; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.sprite { position: absolute; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: var(--white); padding: 10px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.demo-bar { margin: 0; padding: 7px 16px; text-align: center; font-size: .85rem; font-weight: 600; background: var(--ink); color: var(--white); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .6em 1.2em; border: var(--line); box-shadow: 4px 4px 0 var(--ink); font: 700 1.05rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .1s, box-shadow .1s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-ghost { background: var(--white); color: var(--ink); }
.btn-light { background: var(--mustard); color: var(--ink); }
.btn-sm { min-height: 44px; padding: .4em 1em; font-size: 1rem; box-shadow: none; }
.sec-ink .btn { border-color: var(--white); box-shadow: 4px 4px 0 var(--pink); }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }
.link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.hdr { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: var(--hdr); }
.brand { display: inline-flex; align-items: center; min-height: 44px; font: 400 1.7rem/1 var(--display); letter-spacing: .02em; text-decoration: none; margin: 0; }
.nav { display: none; gap: 20px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; font-weight: 600; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.lang { position: relative; margin-left: auto; font-size: 1rem; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: var(--line); background: var(--white); font-weight: 700; cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ic:first-child { width: 18px; height: 18px; }
.lang summary .ic:last-child { width: 14px; height: 14px; }
.lang[open] summary .ic:last-child { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 168px; margin: 0; padding: 4px; list-style: none; background: var(--white); border: var(--line); box-shadow: var(--shadow); }
.lang a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px; text-decoration: none; }
.lang a:hover { background: var(--mustard); }
.lang a[aria-current] { background: var(--ink); color: var(--white); font-weight: 700; }
.lang a .ic { width: 16px; height: 16px; }
.hdr-cta { display: none; }

/* hero: the burger is the poster */
.hero { background: var(--mustard); border-bottom: var(--line); overflow: hidden; }
.hero-grid { display: grid; gap: 34px; padding: 30px 0 46px; }
h1 { margin: 0 0 .35em; }
.sign { display: block; font: 400 clamp(5rem, 29vw, 13.5rem)/.98 var(--display); letter-spacing: .005em; transform-origin: 50% 100%; }
.sign-sub { display: inline-block; padding: 4px 10px; background: var(--ink); color: var(--mustard); font: 400 clamp(1.15rem, 4.8vw, 2rem)/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.hero-lead { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.1rem 0; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: .45em; min-height: 32px; }
.st-lamp { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }
.is-open .st-lamp { background: var(--green); }
.hero-burger { position: relative; margin: 0 8px 14px 0; }
.hero-burger img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 62%; border: var(--line); box-shadow: 10px 10px 0 var(--ink); background: var(--white); }
.stk { position: absolute; display: inline-flex; align-items: center; gap: .35em; padding: 8px 12px; border: var(--line); font-weight: 700; text-decoration: none; }
.stk-rate { top: -12px; left: -6px; min-height: 48px; background: var(--white); transform: rotate(-4deg); }
.stk-rate .ic { color: var(--pink); }
.stk-rate b { margin-right: .3em; }
.stk-rate span { font-weight: 500; font-size: .9rem; }
.stk-price { right: -6px; bottom: 24px; background: var(--pink); font: 400 1.5rem/1.1 var(--display); transform: rotate(4deg); }
html:lang(ko) .stk-price { font-family: 'Noto Sans KR', var(--body); font-weight: 700; font-size: 1.1rem; }
.marquee { overflow: hidden; background: var(--ink); color: var(--mustard); border-top: var(--line); }
.marquee-track { display: flex; width: max-content; }
.marquee span { padding: 10px 22px; font: 400 1.35rem/1.2 var(--display); text-transform: uppercase; white-space: nowrap; }
html:lang(ko) .marquee span { font-family: 'Noto Sans KR', var(--body); font-weight: 600; font-size: 1.05rem; }
.marquee span::after { content: "*"; margin-left: 22px; color: var(--pink); }

.sec { padding: clamp(52px, 8vw, 96px) 0; border-bottom: var(--line); }
.sec-pink { background: var(--pink); }
.sec-green { background: var(--green); color: var(--white); }
.sec-mustard { background: var(--mustard); }
.sec-pale { background: var(--pale); }
.sec-ink { background: var(--ink); color: var(--white); }

/* builder */
.builder { display: grid; gap: 24px; margin-top: 22px; }
.stage { position: relative; padding: 26px 18px 16px; background: var(--white); border: var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.stack { width: min(240px, 72%); display: flex; flex-direction: column; align-items: center; }
.stack-extras { width: 100%; display: flex; flex-direction: column-reverse; align-items: center; }
.ly { display: block; width: 100%; height: 22px; margin-top: -3px; border: var(--line); }
.bun-top { height: 62px; background: #f2a93b; border-radius: 120px 120px 6px 6px / 90px 90px 6px 6px; }
.bun-bot { height: 34px; background: #f2a93b; border-radius: 6px 6px 40px 40px; }
.ly.cheese { height: 14px; width: 106%; background: var(--mustard); }
.ly.patty { height: 26px; background: #5b3218; border-radius: 12px; }
.ly.patty.kind-chicken { background: #d98b3a; }
.ly.patty.kind-pork { background: #a4522c; }
.ly.onion { height: 12px; width: 96%; background: #c98a4b; }
.ly.egg { height: 16px; background: var(--white); border-radius: 12px; }
.ly.bacon { height: 13px; width: 108%; background: repeating-linear-gradient(90deg, #b5342a 0 16px, #f0a78e 16px 24px); }
.total { margin: 16px 0 0; font-weight: 600; font-size: 1.1rem; text-align: center; }
.total output { font: 400 2.1rem/1.1 var(--display); display: block; }
html:lang(ko) .total output { font-family: 'Noto Sans KR', var(--body); font-weight: 700; font-size: 1.5rem; }
.stage.has-fries::after { content: "+ FRIES"; position: absolute; top: 12px; right: 10px; padding: 3px 8px; background: var(--mustard); border: 2px solid var(--ink); font-weight: 700; font-size: .9rem; transform: rotate(5deg); }
.builder fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.builder legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 1.15rem; }
.opt-grid { display: grid; gap: 8px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; background: var(--white); border: var(--line); font-weight: 600; line-height: 1.25; }
.opt b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt input:checked + span { background: var(--ink); color: var(--white); }
.opt input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }

/* menu */
.mjump { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px; margin-bottom: 18px; position: sticky; top: var(--hdr); z-index: 5; background: var(--white); scrollbar-width: none; }
.mjump::-webkit-scrollbar { display: none; }
.mjump a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border: var(--line); text-decoration: none; font-weight: 700; white-space: nowrap; }
.mjump a[aria-current] { background: var(--mustard); }
.msheets { display: grid; gap: 16px; }
.msheet { background: var(--white); border: var(--line); box-shadow: var(--shadow); scroll-margin-top: 140px; }
.msheet summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 16px; cursor: pointer; }
.msheet summary::-webkit-details-marker { display: none; }
.msheet[open] summary { border-bottom: var(--line); background: var(--mustard); }
.mtitle { font: 400 1.6rem/1.2 var(--display); text-transform: uppercase; }
html:lang(ko) .mtitle { font-family: 'Noto Sans KR', var(--body); font-weight: 700; font-size: 1.3rem; }
.mcount { margin-left: auto; font-size: .95rem; }
.msheet[open] summary .ic { transform: rotate(180deg); }
.msheet-body { padding: 8px 16px 18px; }
.mart { width: min(100%, 480px); height: auto; margin: 6px auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(2.1) brightness(1.22); }
.msheet ul { list-style: none; margin: 0; padding: 0; }
.mitem { padding: 10px 0; border-top: 2px solid var(--ink); break-inside: avoid; }
.mrow { display: flex; align-items: baseline; gap: 8px; }
.mname { font-weight: 700; line-height: 1.3; }
.mdots { flex: 1; min-width: 12px; }
.mprice { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mdesc { margin: 1px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.4; }
.mextra { margin: 10px 0 0; padding-top: 10px; border-top: var(--line); font-weight: 600; }

/* tap list */
.sec-green .lead { color: var(--pale); }
.bento { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; color: var(--ink); }
.tap { position: relative; padding: 14px; border: var(--line); box-shadow: 4px 4px 0 var(--ink); min-height: 158px; display: flex; flex-direction: column; }
.tap-0 { background: var(--mustard); }
.tap-1 { background: var(--pale); }
.tap-2 { background: #ffe08a; }
.tap-3 { background: var(--pink); }
.tap-no { font: 400 2.2rem/1 var(--display); margin-bottom: 6px; }
.tap p { margin: 0; }
.tap .tap-price { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; }
.bcard { grid-column: 1 / -1; display: grid; grid-template-rows: auto 1fr; background: var(--white); border: var(--line); box-shadow: 4px 4px 0 var(--ink); }
.bcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: var(--line); }
.bcard .bart { aspect-ratio: auto; object-fit: contain; padding: 16px; filter: grayscale(1) contrast(2.1) brightness(1.22); }
.bcard div { padding: 12px 14px; }
.bcard p { margin: 0 0 .3em; }

/* day and night */
.hl-note { padding: 10px 12px; background: var(--white); border: var(--line); max-width: 56ch; }
.about-grid { display: grid; gap: 26px; }
.svc-grid { display: grid; gap: 12px; margin-top: 18px; }
.svc { padding: 14px; background: var(--white); border: var(--line); }
.svc p { margin-bottom: .3em; }
.fade-pair { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); border: var(--line); box-shadow: 10px 10px 0 var(--ink); margin-right: 10px; }
.fade-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 0; }
.fade-pair .fade-top { object-position: 60% 45%; clip-path: inset(0 100% 0 0); }

.gal figure { margin: 0; overflow: hidden; border: var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.rev { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 26px 0 0; }
.rev .ic { color: var(--pink); }
.rev b { font: 400 2.4rem/1 var(--display); }
.rev .btn .ic { color: inherit; }

.visit-grid { display: grid; gap: 26px; }
.visit-grid h3 { margin-top: 1.1rem; }
.hours { width: 100%; max-width: 460px; border-collapse: collapse; }
.hours th, .hours td { padding: 8px 0; text-align: left; font-weight: 500; border-bottom: 2px solid var(--ink); }
.hours td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
address { font-style: normal; font-size: 1.15rem; font-weight: 600; }
.map { min-height: 320px; border: var(--line); box-shadow: var(--shadow); background: var(--white); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

.book-grid { display: grid; gap: 20px; }
.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: clamp(16px, 3vw, 28px); background: var(--mustard); color: var(--ink); border: 3px solid var(--white); box-shadow: 8px 8px 0 var(--pink); }
.sec-ink .book-form .btn { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.f { grid-column: 1 / -1; display: grid; gap: 4px; }
.f-half { grid-column: span 1; }
.f label { font-weight: 700; }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--white); border: var(--line); border-radius: 0; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
.f [aria-invalid="true"] { border-color: #b00020; }
.f .err { color: #8a0018; font-size: .9rem; font-weight: 700; }
.f-msg { grid-column: 1 / -1; margin: 0; font-weight: 700; }
.f-msg:empty { display: none; }
.f-send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.f-send .btn { flex: 1 1 170px; }

.faq details { border: var(--line); margin-bottom: 10px; background: var(--white); }
.faq summary { position: relative; list-style: none; min-height: 48px; padding: 12px 40px 12px 14px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 6px; font: 400 1.7rem/1.4 var(--display); }
.faq details[open] summary { background: var(--mustard); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 12px 14px; }

.ftr { padding: 44px 0 26px; background: var(--ink); color: var(--white); }
.ftr-in { display: grid; gap: 20px; }
.ftr .brand { font-size: 3rem; color: var(--mustard); margin-bottom: .2em; }
.ftr a { display: inline-flex; align-items: center; min-height: 44px; }
.soc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .4em; }
.soc span { padding: 2px 10px; border: 2px dashed var(--white); }
.copy { margin: 22px auto 0; font-size: .9rem; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: var(--white); border-top: var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 8px 2px; text-decoration: none; font-size: .8rem; font-weight: 700; text-align: center; }
.mbar .ic { width: 22px; height: 22px; }
.mbar .mbar-main { background: var(--mustard); border-left: var(--line); }

@media (max-width: 899px) {
  html { scroll-padding-bottom: 72px; }
  .book-direct { display: none; }
  /* the burger and the total stay in view while choosing */
  .stage { position: sticky; top: 70px; z-index: 4; flex-direction: row; justify-content: center; gap: 22px; padding: 10px 12px; }
  .stack { width: 124px; zoom: .62; flex: none; }
  .total { margin: 0; text-align: left; }
  .stage.has-fries::after { top: 6px; right: 6px; }
}
@media (max-width: 340px) { .f-half { grid-column: 1 / -1; } }
@media (min-width: 760px) {
  .ftr-in { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .opt-grid-2 { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .bcard { grid-column: span 2; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mbar { display: none; }
  .nav { display: flex; }
  .lang { margin-left: 0; }
  .hdr-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 46px 0 64px; }
  .sign { font-size: clamp(11rem, 19vw, 17rem); }
  .builder { grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
  .stage { position: sticky; top: 92px; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .msheet-body ul { columns: 2; column-gap: 40px; }
  .msheet-body { padding: 8px 26px 22px; }
  .msheet summary { padding: 8px 26px; }
  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .visit-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .book-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .sign { animation: smash .62s cubic-bezier(.3, 1.3, .5, 1) both; }
  .marquee-track { animation: slide 34s linear infinite paused; }
  .marquee-track.on { animation-play-state: running; }
  .drop { animation: drop .28s cubic-bezier(.3, 1.5, .5, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
/* the letters land and get pressed flat, then spring back */
@keyframes smash {
  0% { transform: translateY(-60%) scaleY(1.15); opacity: 0; }
  55% { transform: translateY(0) scale(1.05, .68); opacity: 1; }
  100% { transform: none; }
}
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes drop { from { transform: translateY(-48px); opacity: 0; } }
