/* ==========================================================================
   Hero
   The plate is the hero, not the headline. A single large circular crop
   (the logo's ring motif at scale) with two real menu cards orbiting it.
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 96px);
  isolation: isolate;
}

/* Warm wash behind the art side — a single soft field, not a gradient party */
.hero__wash {
  position: absolute;
  z-index: -2;
  top: -22%;
  right: -14%;
  width: min(920px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 42%,
    rgba(255, 226, 241, 0.95) 0%,
    rgba(255, 243, 249, 0.72) 46%,
    rgba(255, 251, 248, 0) 70%
  );
}

/* Faint dot field — texture, not decoration for its own sake */
.hero__dots {
  position: absolute;
  z-index: -2;
  left: -60px;
  bottom: -40px;
  width: 320px;
  height: 260px;
  opacity: 0.5;
  background-image: radial-gradient(var(--kt-pink-200) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to top right, #000, transparent 72%);
  mask-image: linear-gradient(to top right, #000, transparent 72%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

/* ---- Text side ------------------------------------------------------ */

.hero__title {
  margin-top: 16px;
  font-size: clamp(2.35rem, 4.3vw, 3.55rem);
  line-height: 1.06;
}

.hero__rotate {
  display: inline-grid;
  color: var(--kt-pink);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
/* Every word shares one grid cell, so the slot is always as wide as the
   longest word: the headline never re-wraps as the words rotate. */
.hero__word {
  grid-area: 1 / 1;
  visibility: hidden;
}
.hero__word.is-on {
  visibility: visible;
}
.hero__q {
  color: var(--ink);
}
.hero__rotate.is-out {
  opacity: 0;
  transform: translateY(-10px) rotate(-2deg);
}

.hero__lede {
  margin-top: 18px;
}

/* Search — the primary action, sized like it matters */
.herosearch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 8px 8px 8px 50px;
  background: var(--surface);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-2);
  max-width: 520px;
  transition: border-color var(--t-fast) linear, box-shadow var(--t-mid) var(--ease-out);
}
.herosearch:focus-within {
  border-color: var(--kt-pink);
  box-shadow: var(--sh-2), 0 0 0 5px var(--kt-pink-50);
}
.herosearch__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  color: var(--ink-3);
  pointer-events: none;
}
.herosearch__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: none;
  font-size: 0.98rem;
  outline: none;
}
.herosearch__input::placeholder {
  color: var(--ink-4);
}
.herosearch__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.herosearch__go {
  flex: none;
  height: 46px;
}

/* Quick chips */
.hero__quick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero__quicklabel {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-3);
  margin-right: 4px;
}
.hero__quick .chip {
  height: 36px;
  font-size: 0.83rem;
}

/* Operational facts — real information, not invented statistics */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero__facticon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--kt-pink-50);
  color: var(--kt-pink);
  flex: none;
}

/* ---- Art side -------------------------------------------------------- */

.hero__art {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

.hero__halo {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: linear-gradient(150deg, #fff, var(--kt-pink-50));
  box-shadow: 0 30px 80px rgba(212, 23, 126, 0.14);
}

/* Dashed orbit ring — the logo badge, abstracted */
.hero__orbit {
  position: absolute;
  inset: -3%;
  border-radius: 50%;
  border: 1.5px dashed var(--kt-pink-200);
  animation: kt-spin 46s linear infinite;
}

.hero__plate {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 10px #fff, 0 24px 60px rgba(28, 16, 23, 0.16);
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 500ms var(--ease-out);
}
.hero__plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kt-plate-in 1s var(--ease-out) both;
}

/* Floating menu cards */
.herocard {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px 9px 9px;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-2);
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 500ms var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
  pointer-events: auto;
}
.herocard:hover {
  box-shadow: var(--sh-3);
}
/* Filled by script; until then (or if the dish is missing) show nothing
   rather than an empty pill that grows once its content arrives. */
.herocard:empty {
  visibility: hidden;
}
.herocard--a {
  left: -6%;
  top: 20%;
  animation: kt-float 7s ease-in-out infinite;
}
.herocard--b {
  right: -4%;
  bottom: 22%;
  animation: kt-float 8.5s ease-in-out infinite reverse;
}
.herocard__ring {
  width: 46px;
  height: 46px;
  flex: none;
}
.herocard__text {
  display: block;
  line-height: 1.25;
}
.herocard__text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.herocard__text em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--kt-pink);
}

/* Small info chips */
.herochip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--sh-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 500ms var(--ease-out);
}
.herochip--eta {
  right: 4%;
  top: 8%;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding: 12px 20px;
  animation: kt-float 9s ease-in-out infinite;
}
.herochip--eta strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.herochip--eta span {
  font-size: 0.72rem;
  color: var(--ink-3);
}
.herochip--live {
  left: 8%;
  bottom: 6%;
  /* --kt-plum is near-black, which vanished against the dark chip in dark
     mode. This token is plum in light and near-white in dark. */
  color: var(--ink-on-light-chip);
  animation: kt-float 7.6s ease-in-out infinite reverse;
}
.herochip__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(15, 164, 127, 0.5);
  animation: kt-pulse 2.2s ease-out infinite;
}
