/* CRAV’D launch edition. Standalone: no restaurant-site CSS required. */
@font-face {
  font-family: 'Chunky Heart';
  src: url('assets/fonts/CHUNKYHEARTSOLID.woff2') format('woff2'), url('assets/fonts/CHUNKYHEARTSOLID.otf') format('opentype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --yellow: #ffc600;
  --brown: #502c1d;
  --cream: #ffc600;
  --frame-inset: 12px;
  --frame-band: 44px;
  --frame-radius: 66px;
  --display: 'Chunky Heart', Arial, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--yellow); color: var(--brown); }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--brown); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { color: var(--yellow); background: var(--brown); }
.launch-page { min-width: 280px; isolation: isolate; }
/* One solid band, one closed path. The four sides share the same moving tokens. */
.ticker-frame {
  position: fixed;
  z-index: 5;
  top: max(var(--frame-inset), var(--safe-top));
  right: max(var(--frame-inset), var(--safe-right));
  bottom: max(var(--frame-inset), var(--safe-bottom));
  left: max(var(--frame-inset), var(--safe-left));
  border: var(--frame-band) solid var(--brown);
  border-radius: var(--frame-radius);
  pointer-events: none;
  color: var(--yellow);
  contain: layout;
}
.frame-track { position: absolute; inset: calc(-1 * var(--frame-band)); overflow: visible; }
.frame-token {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 19px;
  width: max-content;
  color: var(--yellow);
  font: 400 16px/1 var(--display);
  letter-spacing: .035em;
  white-space: nowrap;
  offset-anchor: 50% 50%;
  offset-rotate: auto;
  animation: frame-orbit var(--orbit-duration, 90s) linear infinite;
  animation-delay: var(--orbit-delay, 0s);
}
.frame-chicken { display: block; width: 24px; height: 27px; flex: 0 0 auto; object-fit: contain; }
.frame-measure { position: absolute; visibility: hidden; pointer-events: none; width: max-content; }
.frame-measure .frame-token { position: static; animation: none; offset-path: none; }
@keyframes frame-orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.frame-static { position: absolute; inset: calc(-1 * var(--frame-band)); overflow: hidden; border-radius: var(--frame-radius); }
.frame-static > span { position: absolute; display: block; font: 400 15px/1 var(--display); letter-spacing: .055em; white-space: nowrap; }
.static-top { top: 14px; left: 55px; }
.static-bottom { bottom: 14px; right: 55px; transform: rotate(180deg); }
.static-right { top: 60px; right: 14px; writing-mode: vertical-rl; }
.static-left { bottom: 60px; left: 14px; writing-mode: vertical-rl; transform: rotate(180deg); }
.frame-is-ready .frame-static { visibility: hidden; }

.launch-shell {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(max(var(--frame-inset), var(--safe-top)) + var(--frame-band) + 26px) calc(max(var(--frame-inset), var(--safe-right)) + var(--frame-band) + 34px) calc(max(var(--frame-inset), var(--safe-bottom)) + var(--frame-band) + 24px) calc(max(var(--frame-inset), var(--safe-left)) + var(--frame-band) + 34px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.launch-masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.launch-masthead p { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.5; }
.launch-masthead p:last-child { text-align: right; }
.launch-center { display: flex; flex: 1 0 auto; flex-direction: column; align-items: center; justify-content: center; padding: 34px 0 28px; text-align: center; }
.launch-eyebrow { margin: 0 0 18px; font-size: 10px; font-weight: 700; letter-spacing: .22em; line-height: 1.5; }
.logo-drop { width: min(78vw, 860px); max-width: 100%; position: relative; transform-origin: 50% 95%; }
.launch-logo { display: block; width: 100%; height: auto; }
.stamp-impact { margin-top: 12px; padding: 12px 8px 16px; max-width: 100%; transform-origin: 50% 50%; }
.launch-stamp { display: inline-flex; flex-direction: column; align-items: stretch; border: 3px solid var(--brown); padding: 7px; transform: rotate(-5deg); box-shadow: 4px 4px 0 var(--brown); }
.launch-stamp h1 { margin: 0; padding: 9px 24px 10px; font: 400 clamp(28px, 4.2vw, 56px)/1.04 var(--display); letter-spacing: .01em; white-space: nowrap; }
.launch-season { margin: 0; padding: 9px 18px 8px; font: 400 clamp(20px, 2.3vw, 29px)/1.1 var(--display); letter-spacing: .09em; background: var(--brown); color: var(--yellow); }
.launch-season span { margin-left: 9px; font-variant-numeric: tabular-nums; }
.launch-signoff { margin: 22px 0 0; font-size: 14px; line-height: 1.5; letter-spacing: .01em; }
.launch-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.launch-footer-line { margin: 0; font-size: 9px; font-weight: 700; letter-spacing: .15em; line-height: 1.5; }
.launch-footer .social-links { display: flex; align-items: center; gap: 5px; }
.launch-footer .social-links a { width: 40px; height: 40px; border: 0; border-radius: 0; }
.launch-footer .social-links a:hover { background: transparent; color: var(--brown); opacity: .65; }
.launch-footer .social-icon { width: 16px; height: 16px; background: none; -webkit-mask: none; mask: none; fill: currentColor; }
.motion-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.motion-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 0; border: 0; border-radius: 0; color: var(--brown); background: transparent; font-size: 10px; cursor: pointer; white-space: nowrap; }
.motion-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.control-divider { width: 1px; height: 13px; background: currentColor; opacity: .35; }
.pause-symbol { position: relative; width: 9px; height: 10px; border-left: 2px solid; border-right: 2px solid; }
.motion-is-paused .pause-symbol { border: 0; border-left: 8px solid; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.replay-symbol { position: relative; width: 11px; height: 11px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; transform: rotate(-35deg); }
.replay-symbol::after { content: ""; position: absolute; right: -2px; top: -2px; width: 0; height: 0; border-left: 4px solid currentColor; border-top: 3px solid transparent; border-bottom: 3px solid transparent; transform: rotate(40deg); }
/* Static by default: script enables the intro only after the actual logo is ready. */
.intro-is-playing .logo-drop { animation: logo-arrival 1.05s both cubic-bezier(.2,.7,.25,1); }
.intro-is-playing .stamp-impact { animation: stamp-arrival .5s 1.05s both cubic-bezier(.12,.8,.28,1); }
.intro-is-playing .launch-signoff { animation: line-arrival .4s 1.4s both ease-out; }
@keyframes logo-arrival {
  0% { transform: translateY(-105vh) rotate(-10deg) scale(.93); }
  65% { transform: translateY(7px) rotate(2deg) scale(1.03,.94); }
  82% { transform: translateY(-9px) rotate(-1deg) scale(.99,1.015); }
  100% { transform: translateY(0) rotate(0) scale(1); }
}
@keyframes stamp-arrival {
  0% { opacity: 0; transform: scale(1.75) rotate(9deg); }
  52% { opacity: 1; transform: scale(.96) rotate(-1deg); }
  75% { transform: scale(1.025) rotate(.5deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes line-arrival { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.motion-is-paused .frame-token,
.motion-is-paused .logo-drop,
.motion-is-paused .stamp-impact,
.motion-is-paused .launch-signoff { animation-play-state: paused; }

@media (min-width: 1500px) { .logo-drop { width: min(68vw, 1000px); } }
@media (max-width: 1000px) {
  .launch-footer { grid-template-columns: 1fr auto; }
  .launch-footer-line { grid-column: 1; }
  .launch-footer .social-links { grid-column: 2; grid-row: 1; }
  .motion-controls { grid-column: 1 / -1; justify-content: center; }
  .launch-footer { row-gap: 1px; }
}
@media (max-width: 600px) {
  :root { --frame-inset: 8px; --frame-band: 30px; --frame-radius: 52px; }
  .launch-shell { padding: calc(max(var(--frame-inset), var(--safe-top)) + var(--frame-band) + 21px) calc(max(var(--frame-inset), var(--safe-right)) + var(--frame-band) + 17px) calc(max(var(--frame-inset), var(--safe-bottom)) + var(--frame-band) + 12px) calc(max(var(--frame-inset), var(--safe-left)) + var(--frame-band) + 17px); }
  .frame-token { font-size: 12px; gap: 13px; }
  .frame-chicken { width: 17px; height: 20px; }
  .frame-static > span { font-size: 11px; }
  .static-top { top: 9px; left: 33px; }
  .static-bottom { bottom: 9px; right: 33px; }
  .static-right { top: 35px; right: 9px; }
  .static-left { bottom: 35px; left: 9px; }
  .launch-masthead { justify-content: center; }
  .launch-masthead p { font-size: 8px; letter-spacing: .13em; }
  .launch-masthead p:last-child { display: none; }
  .launch-center { padding: 36px 0 28px; }
  .launch-eyebrow { max-width: 23ch; margin-bottom: 24px; font-size: 9px; line-height: 1.7; letter-spacing: .15em; }
  .logo-drop { width: 100%; }
  .stamp-impact { margin-top: 27px; padding: 8px 7px 15px; }
  .launch-stamp { padding: 5px; border-width: 2px; box-shadow: 3px 3px 0 var(--brown); }
  .launch-stamp h1 { padding: 8px 12px 9px; font-size: clamp(23px, 6.8vw, 37px); }
  .launch-season { padding: 8px 12px 7px; font-size: clamp(17px, 4.5vw, 23px); letter-spacing: .065em; }
  .launch-season span { margin-left: 5px; }
  .launch-signoff { max-width: 22ch; margin-top: 23px; font-size: 12px; line-height: 1.65; }
  .launch-footer { display: flex; flex-direction: column; gap: 6px; }
  .launch-footer-line { font-size: 8px; letter-spacing: .12em; }
  .launch-footer .social-links { gap: 9px; }
  .launch-footer .social-links a { width: 40px; height: 40px; }
  .motion-controls { gap: 17px; }
  .motion-button { min-height: 36px; font-size: 9px; }
}
@media (max-height: 700px) and (min-width: 601px) {
  .launch-center { padding: 20px 0 12px; }
  .logo-drop { width: min(59vw, 560px); }
  .launch-eyebrow { margin-bottom: 8px; }
  .launch-stamp h1 { font-size: 34px; padding-block: 5px; }
  .launch-season { font-size: 19px; padding-block: 6px; }
  .launch-signoff { margin-top: 10px; font-size: 12px; }
  .stamp-impact { margin-top: 0; }
}
@media (max-height: 600px) and (max-width: 600px) {
  .launch-center { padding: 25px 0; }
  .launch-eyebrow { margin-bottom: 16px; }
  .stamp-impact { margin-top: 18px; }
  .launch-shell { padding-bottom: calc(max(var(--frame-inset), var(--safe-bottom)) + var(--frame-band) + 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .launch-page:not(.motion-is-enabled), .launch-page:not(.motion-is-enabled) *, .launch-page:not(.motion-is-enabled) *::before, .launch-page:not(.motion-is-enabled) *::after { animation: none !important; transition: none !important; }
  .launch-page:not(.motion-is-enabled) .frame-track { visibility: hidden; }
  .launch-page:not(.motion-is-enabled) .frame-is-ready .frame-static { visibility: visible; }
  .launch-page:not(.motion-is-enabled) .logo-drop, .launch-page:not(.motion-is-enabled) .stamp-impact, .launch-page:not(.motion-is-enabled) .launch-signoff { opacity: 1; transform: none; }
}
