:root {
  --bg: #0c0806;
  --bg-2: #160f0b;
  --ink: #fff4e6;
  --muted: #a8968a;
  --faint: #33261e;
  --line: rgba(255, 232, 200, .09);
  --amber: #ffb21e;      /* yolk */
  --rose: #ff6a3d;       /* chili / sunrise */
  --iris: #e0a46a;       /* toasted garlic rice */
  --cream: #fff6e6;      /* egg white */
  --mint: #9be37a;       /* calamansi */
  --grad: linear-gradient(100deg, #ffd166, var(--amber) 30%, var(--rose) 75%, #d9466f);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1100px 620px at 50% 8%, #3a1d0e 0%, transparent 62%),
              radial-gradient(900px 600px at 100% 40%, #2a0f16 0%, transparent 55%),
              radial-gradient(800px 600px at 0% 70%, #22160c 0%, transparent 55%),
              var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.defs { position: absolute; }

/* ---------- background ---------- */
#field {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 35%, transparent 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header, main, footer { position: relative; z-index: 2; }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin: 0 auto; padding: 22px 24px;
}
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.top nav a { text-decoration: none; transition: color .2s; }
.top nav a:hover { color: var(--ink); }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px;
  border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 12px; color: var(--ink);
  background: rgba(255, 255, 255, .03);
}
.status i, .pill i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint); display: inline-block;
  box-shadow: 0 0 0 0 rgba(155, 227, 122, .6); animation: ping 2.4s infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(155,227,122,.55); } 70%,100% { box-shadow: 0 0 0 9px rgba(155,227,122,0); } }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- hero ---------- */
.hero { padding: clamp(64px, 14vh, 150px) 0 56px; text-align: center; position: relative; }
.sun {
  position: absolute; left: 50%; top: clamp(10px, 4vh, 60px); width: min(560px, 96vw); aspect-ratio: 1; transform: translateX(-50%);
  z-index: -1; pointer-events: none; opacity: 0; animation: dawn 2.4s .1s cubic-bezier(.2,.7,.2,1) forwards;
}
.sun::before {
  content: ""; position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 230, .10) 0%, rgba(255, 246, 230, .04) 45%, transparent 68%);
}
.yolk {
  position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffe7a3 0%, #ffbe2e 34%, #f58a00 70%, #c95a00 100%);
  box-shadow: 0 0 120px 30px rgba(255, 150, 20, .28), 0 0 300px 80px rgba(255, 90, 40, .14);
  opacity: .55; filter: blur(42px); animation: breathe 7s ease-in-out infinite;
}
@keyframes dawn { from { opacity: 0; transform: translate(-50%, 70px) scale(.92); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes breathe { 50% { transform: scale(1.07); opacity: .68; } }

.etym {
  display: grid; width: max-content; grid-template-columns: auto auto auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 2px;
  margin: 26px auto 0; font: 15px/1.3 var(--mono); color: var(--muted);
  opacity: 0; animation: rise .9s .65s cubic-bezier(.2,.7,.2,1) forwards;
}
.etym span { grid-row: 1; color: #f3e2d2; }
.etym span b { color: var(--amber); font-weight: 700; }
.etym em { grid-row: 2; font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #d9c3ae; opacity: .75; }
.etym .plus { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--rose); }
.etym span:first-child, .etym em:nth-of-type(1) { grid-column: 1; }
.etym span:nth-of-type(3), .etym em:nth-of-type(2) { grid-column: 3; }
.eyebrow {
  margin: 0 0 18px; font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: rise .9s .1s cubic-bezier(.2,.7,.2,1) forwards;
}
.word {
  margin: 0; line-height: .9; font-weight: 800; letter-spacing: -.065em;
  font-size: clamp(76px, 19vw, 220px);
  display: flex; justify-content: center; align-items: baseline;
}
.word .w {
  background: var(--grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate, rise 1.1s .2s cubic-bezier(.2,.7,.2,1) both;
  padding-right: .04em;
  filter: drop-shadow(0 10px 60px rgba(255, 140, 40, .3));
}
.word .tld {
  font: 500 clamp(20px, 4.2vw, 44px)/1 var(--mono); letter-spacing: 0; color: var(--muted);
  margin-left: .35em; opacity: 0; animation: rise .9s .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.caret {
  display: inline-block; width: .55em; height: 1em; margin-left: .12em; vertical-align: -.12em;
  background: var(--amber); animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

.lede {
  max-width: 640px; margin: 26px auto 0; text-wrap: balance; font-size: clamp(17px, 2.2vw, 21px); color: #e4d3c3;
  opacity: 0; animation: rise .9s .75s cubic-bezier(.2,.7,.2,1) forwards;
}
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; opacity: 0; animation: rise .9s .95s cubic-bezier(.2,.7,.2,1) forwards; }
.btn {
  display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #12090a; background: var(--grad); box-shadow: 0 10px 40px -10px rgba(255, 140, 40, .75); }
.btn.ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .07); }

/* ---------- cards ---------- */
.card {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
}
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 178, 30, .13), transparent 45%);
}
.spot:hover::before { opacity: 1; }

/* ---------- log ---------- */
.log { max-width: 760px; margin: 24px auto 0; opacity: 0; animation: rise 1s 1.15s cubic-bezier(.2,.7,.2,1) forwards; }
.log .bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  font: 12px var(--mono); color: var(--muted);
}
.log .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); display: inline-block; }
.log .bar i:nth-child(1) { background: #ff5f57; } .log .bar i:nth-child(2) { background: #febc2e; } .log .bar i:nth-child(3) { background: #28c840; }
.log .bar span { margin-left: 10px; }
.log pre {
  margin: 0; padding: 18px 20px 20px; min-height: 212px; font: 13.5px/1.75 var(--mono); color: #e8d9ca;
  white-space: pre-wrap; word-break: break-word;
}
.log .t { color: #7a6558; } .log .k { color: var(--amber); } .log .ok { color: var(--mint); } .log .v { color: #fff; } .log .c { color: var(--iris); }
.log .cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--amber); animation: blink 1.1s steps(1) infinite; }

/* ---------- sections ---------- */
section h2 {
  display: flex; align-items: center; gap: 14px; margin: 0 0 26px;
  font-size: clamp(26px, 4vw, 38px); letter-spacing: -.035em; font-weight: 750;
}
.num { font: 500 13px var(--mono); color: var(--amber); padding: 4px 9px; border: 1px solid rgba(255,178,30,.35); border-radius: 8px; letter-spacing: 0; }
.menu, .served { padding-top: 120px; }
.sub { margin: -10px 0 28px; max-width: 640px; color: var(--muted); }
.sub b { color: var(--amber); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plate { padding: 24px; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s; }
.plate:hover { transform: translateY(-4px) rotate(-.3deg); border-color: rgba(255, 210, 150, .2); }
.plate h3 { margin: 20px 0 8px; font-size: 30px; letter-spacing: -.04em; font-weight: 800; line-height: 1; }
.plate h3 .main { color: var(--cream); }
.plate h3 .si { color: #e0a46a; }
.plate h3 .lg { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plate p { margin: 0; color: var(--muted); font-size: 15px; }
.plate-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.host { font: 12.5px var(--mono); color: #d6c2b0; }
.sides { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
.sides li { font: 11.5px var(--mono); color: #cdb8a6; padding: 3px 9px; border-radius: 999px; background: rgba(255, 232, 200, .05); border: 1px solid var(--line); }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px;
  font: 600 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line);
}
.pill.live { color: var(--mint); background: rgba(155, 227, 122, .07); }
.pill.cooking { color: var(--amber); background: rgba(255, 178, 30, .08); }
.pill.cooking i { background: var(--amber); animation: simmer 1.6s ease-in-out infinite; box-shadow: none; }
@keyframes simmer { 50% { transform: translateY(-2px); opacity: .5; } }
.pill.next { color: #ff9a7a; background: rgba(255, 106, 61, .08); }
.pill.next i { background: var(--rose); animation: none; box-shadow: none; }
.special { border-style: dashed; background: transparent; }

/* ---------- path ---------- */
.hops {
  list-style: none; margin: 0; padding: 34px 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.hops::before {
  content: ""; position: absolute; left: calc(12.5% + 14px); right: calc(12.5% + 14px); top: 47px; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--rose), var(--iris)); opacity: .35; border-radius: 2px;
}
.hops::after {
  content: ""; position: absolute; top: 43px; left: calc(12.5% + 14px); width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 18px 4px rgba(255, 178, 30, .85);
  animation: packet 3.6s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes packet {
  0% { left: calc(12.5% + 14px); opacity: 0; } 8% { opacity: 1; }
  92% { opacity: 1; } 100% { left: calc(87.5% - 24px); opacity: 0; }
}
.hop { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 8px; position: relative; }
.hop .dot {
  width: 28px; height: 28px; border-radius: 50%; margin-bottom: 10px; position: relative; z-index: 1;
  background: var(--bg-2); border: 2px solid rgba(255, 255, 255, .18);
}
.hop .dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--grad); }
.hop strong { font-size: 15.5px; letter-spacing: -.01em; }
.hop small { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ---------- footer ---------- */
footer {
  max-width: 1120px; margin: 140px auto 0; padding: 28px 24px 44px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  color: var(--muted); font: 13px var(--mono); border-top: 1px solid var(--line);
}
.sep { opacity: .5; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.lost { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.lost .code { font: 800 clamp(96px, 24vw, 240px)/.9 var(--sans); letter-spacing: -.07em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost p { color: var(--muted); font-family: var(--mono); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .hops { grid-template-columns: 1fr; gap: 26px; padding: 28px 22px; }
  .hop { flex-direction: row; text-align: left; gap: 14px; align-items: center; flex-wrap: wrap; }
  .hop .dot { margin: 0; flex: none; }
  .hop small { flex-basis: 100%; padding-left: 42px; margin-top: -6px; }
  /* Phone: one segment per hop, from its dot centre to the next dot's centre (26px row gap),
     so the line stays aligned whatever the text height. The packet runs down each segment in turn. */
  .hops::before, .hops::after { display: none; }
  .hop:not(:last-child)::before {
    content: ""; position: absolute; left: 21px; top: 14px; width: 2px; height: calc(100% + 26px);
    background: linear-gradient(180deg, var(--amber), var(--rose)); opacity: .35; border-radius: 2px;
  }
  .hop:nth-child(2)::before { background: linear-gradient(180deg, var(--rose), #d9466f); }
  .hop:nth-child(3)::before { background: linear-gradient(180deg, #d9466f, var(--iris)); }
  .hop:not(:last-child)::after {
    content: ""; position: absolute; left: 17px; top: 9px; width: 10px; height: 10px; border-radius: 50%; opacity: 0;
    background: #fff; box-shadow: 0 0 18px 4px rgba(255, 178, 30, .85); z-index: 2;
    animation: packet-seg 3.6s cubic-bezier(.6,0,.4,1) infinite;
  }
  .hop:nth-child(2)::after { animation-delay: 1.2s; }
  .hop:nth-child(3)::after { animation-delay: 2.4s; }
  @keyframes packet-seg { 0% { top: 9px; opacity: 0; } 4% { opacity: 1; } 30% { opacity: 1; } 33.3%, 100% { top: calc(100% + 35px); opacity: 0; } }
  .menu, .served { padding-top: 88px; }
  .etym { column-gap: 12px; font-size: 14px; }
}
@media (max-width: 560px) {
  .top { padding: 16px; }
  .top nav a { display: none; }
  main { padding: 0 16px; }
  .log pre { font-size: 12.5px; padding: 16px; min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .hops::after, .hop::after { display: none; }
  html { scroll-behavior: auto; }
}
