/* Hallmark · genre: atmospheric · theme: custom (taste-skill direction: dark-room) · posture: restrained · surface: one graphite room, food lit inside it · hero: full-bleed burger photo, name pulled to opposite corners · nav: three text links top right · footer: plain credits on graphite · signature: a burger smashed on the griddle as you scroll · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: E, the hero photo is stock until Brew Krew sends their own; the smash scene carries what only a smash-burger truck does */

:root {
  --ground: #18191b;
  --surface: #222427;
  --ink: #eff0f1;
  --muted: #9c9ea3;
  --accent: #ff4a1f;
  --on-accent: #18191b;
  --beef: #7a3f26;
  --beef-dark: #4b2416;
  --cheese: #f2b632;
  --steel: #3a3d42;
  --press: #c9ccd1;
  --scrim: rgb(12 12 13 / 0.85);
  --scrim-soft: rgb(12 12 13 / 0.45);
  --scrim-phone: rgb(12 12 13 / 0.5);
  --display: "Imbue", "Didot", Georgia, serif;
  --text: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(3rem, 1.6rem + 5.4vw, 7rem);
  --step-hero: clamp(8.75rem, 4rem + 13vw, 15rem);
  --margin: max(clamp(16px, 2.2vw, 32px), calc((100vw - 1520px) / 2));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin: 0; font-optical-sizing: auto; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.22em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: var(--margin); top: -5rem; z-index: 20; background: var(--ink); color: var(--ground); padding: 0.75rem 1rem; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus-visible { width: auto; height: auto; clip-path: none; top: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 1.5rem;
  background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: 1.125rem; text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-color: var(--ink); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; overflow: clip; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--margin);
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* taste-skill-ignore: neutral scrim over the hero photo so the name and sentence read */
  background: linear-gradient(to bottom, var(--scrim), transparent 38%, transparent 62%, var(--scrim)), var(--scrim-soft); /* taste-skill-ignore */
}
.hero__nav { position: absolute; top: var(--margin); right: var(--margin); display: flex; gap: 1.5rem; font-size: 0.9375rem; z-index: 2; }
.hero__nav a { text-decoration: none; }
.hero__nav a:hover { text-decoration: underline; }
.hero__h { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--margin); margin: 0; pointer-events: none; }
.hero__h .line { display: block; width: fit-content; max-width: 100%; overflow: clip; font-size: var(--step-hero); line-height: 1.08; padding-block: 0.02em 0.06em; }
.line > span { display: block; }
.line--one { grid-row: 1; margin-top: calc(var(--margin) + 52px); }
.line--two { grid-row: 3; justify-self: end; margin-bottom: 8px; }
.hero__mid { position: relative; z-index: 2; grid-row: 2; align-self: center; margin-left: 30vw; max-width: 44ch; }
.hero__mid p { font-size: var(--step-lead); line-height: 1.4; }
.js .line > span { animation: rise 380ms var(--ease-out) both; }
.js .line--two > span { animation-delay: 60ms; }
.js .hero__mid { animation: fade 300ms 150ms var(--ease-out) both; }
@keyframes rise { from { clip-path: inset(0 0 100% 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Signature: the smash */
.smash { position: relative; }
.smash__pin {
  min-height: min(100svh, 56rem); padding-block: clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center;
  gap: clamp(2rem, 5vw, 5rem); padding: 0 var(--margin);
}
.smash h2 { font-size: var(--step-head); margin-bottom: 2rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; max-width: 34ch; }
.steps li { font-size: var(--step-lead); line-height: 1.35; color: var(--ink); }
.steps strong { font-weight: 500; color: var(--accent); }
.grill { width: 100%; max-height: 70svh; }
.grill__top { fill: var(--steel); }
.patty { fill: var(--beef); }
.patty-wrap { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(2.4, 0.3); }
.lace { fill: var(--beef-dark); }
.cheese { fill: var(--cheese); transform-box: fill-box; transform-origin: 50% 0%; }
.press { fill: var(--press); transform: translateY(-170px); }
.motion .smash .press { animation: press 2.6s var(--ease-out) both paused; }
.motion .smash .patty-wrap { animation: flatten 2.6s ease-in both paused; }
.motion .smash .lace { animation: fry 2.6s ease both paused; }
.motion .smash .cheese { animation: melt 2.6s ease both paused; }
.motion .smash.go :is(.press, .patty-wrap, .lace, .cheese) { animation-play-state: running; }
@keyframes press { 0%, 12% { transform: translateY(-150px); } 35%, 50% { transform: translateY(0); } 70%, 100% { transform: translateY(-170px); } }
@keyframes flatten { 0%, 26% { transform: scale(1, 1); } 40%, 100% { transform: scale(2.4, 0.3); } }
@keyframes fry { 0%, 48% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes melt { 0%, 74% { opacity: 0; transform: scaleY(0.6); } 90%, 100% { opacity: 1; transform: scaleY(1); } }

/* Menu */
.menu {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(5rem, 10vw, 9rem) var(--margin); align-items: start;
}
.menu__photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.menu h2 { font-size: var(--step-head); margin-bottom: 1.5rem; }
.menu__text > p { max-width: 40ch; }
.dishes { margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.dishes dt { font-family: var(--display); text-transform: uppercase; font-size: 2.25rem; line-height: 1; }
.dishes dd { margin: 0.25rem 0 0; color: var(--muted); }
.menu__side { grid-column: 2; width: 70%; aspect-ratio: 3 / 2; object-fit: cover; margin-top: -2rem; }

/* Find */
.find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(4rem, 8vw, 7rem) var(--margin); }
.find h2 { font-size: var(--step-head); margin-bottom: 1.5rem; }
.find__text p { max-width: 40ch; }
.find__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.arrow-link { font-weight: 500; }
.arrow-link::after { content: " →"; display: inline-block; transition: transform 160ms var(--ease-out); }
.arrow-link:hover::after { transform: translateX(4px); }

/* Catering */
.catering { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding: clamp(4rem, 8vw, 7rem) var(--margin); }
.catering__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.catering h2 { font-size: var(--step-head); margin-bottom: 1.5rem; }
.catering__text p { max-width: 40ch; }
.catering__side { width: 75%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 2rem; }

/* Recognition */
.nod { padding: clamp(4rem, 8vw, 7rem) var(--margin); text-align: center; }
.nod h2 { font-size: var(--step-head); margin-bottom: 1.5rem; }
.nod p { max-width: 40ch; margin: 0 auto; font-size: var(--step-lead); line-height: 1.4; }

/* Book */
.book { background: var(--surface); padding: clamp(4rem, 8vw, 7rem) var(--margin); }
.book h2 { font-size: var(--step-head); margin-bottom: 2.5rem; }
.book__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.book h3 { font-size: 2.25rem; margin-bottom: 1rem; }
.book__cols p { max-width: 40ch; }
.book__cols a[href^="tel"] { font-size: var(--step-lead); font-weight: 500; }

.foot { padding: 3rem var(--margin); color: var(--muted); }
.credits { font-size: var(--step-small); max-width: 68ch; }

@media (max-width: 900px) {
  .menu, .find, .catering, .smash__pin { grid-template-columns: minmax(0, 1fr); }
  .menu__side { grid-column: 1; width: 60%; margin-top: 0; }
  .find__photo { order: -1; }
  .smash__pin { align-content: center; gap: 1.5rem; }
  .grill { max-height: 40svh; }
}
@media (max-width: 640px) {
  .hero__nav { display: none; }
  .hero__h .line { font-size: 38vw; }
  .hero::before { background: linear-gradient(to bottom, var(--scrim), transparent 30%, transparent 70%, var(--scrim)), var(--scrim-phone); } /* taste-skill-ignore */
  .line--one { margin-top: 24px; }
  .line--two { margin-bottom: 20px; }
  .hero__mid { margin-left: 0; align-self: center; }
  .hero__mid p { font-size: 1.125rem; }
  .smash h2 { margin-bottom: 1rem; }
  .steps { gap: 0.6rem; }
  .steps li { font-size: var(--step-body); }
  .book__cols { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .nod { text-align: left; }
  .nod p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .line > span, .js .hero__mid { animation: none; }
  .btn, .arrow-link::after { transition: none; }
}

/* QA round 2 */
.hero__nav { top: calc(var(--margin) - 10px); gap: 0.5rem 1rem; }
.hero__nav a, .foot a, .book__cols a:not(.btn), .arrow-link { display: inline-flex; align-items: center; min-height: 44px; }
.hero__nav a { padding-inline: 0.35rem; }
.credits ul { list-style: none; margin: 0; padding: 0; }
.credits p { margin-bottom: 0.25rem; }
.credits a { display: inline-block; padding-block: 0.7rem; }

/* QA round 3 */
h1, h2, h3, p, a, li, dt, dd { overflow-wrap: anywhere; }
.credits a { min-width: 44px; text-align: center; }
/* QA round 4: hero name flows in the hero grid so it never covers the sentence or spills into the next section */
.hero__h { display: contents; }
.hero__h .line { position: relative; z-index: 1; pointer-events: none; }
.hero__mid { padding-block: 1.5rem; }
