/* Royal Hot Chicken — royalhotchicken.com
   White pages for reading in beach sun; Atlantic navy for the frame;
   Mild yellow and Ghost red are the only loud colors. */
:root {
  --ocean: #0f2a3d;
  --ocean-2: #163a54;
  --ink: #12202b;
  --muted: #55606a;
  --paper: #ffffff;
  --line: #e4e7ea;
  --mild: #ffd166;
  --ghost: #c1121f;
  --fry: #ff5a1f;
  --display: "Bungee", "Arial Black", Impact, sans-serif;
  --body: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 68rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--fry); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }

/* Top bar */
.bar { background: var(--ocean); color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 1.05rem; text-decoration: none; letter-spacing: .02em; }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Hero */
.hero { background: var(--ocean); color: #fff; padding-block: 3.5rem 0; overflow: hidden; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 6.5rem); line-height: .95; margin: 0 0 1rem;
  color: var(--fry);
}
.hero p.lede { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 36rem; margin: 0 0 2rem; color: #dfe7ee; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn {
  display: inline-block; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; background: var(--fry); color: #fff; border: 2px solid var(--fry);
}
.btn.ghosted { background: transparent; border-color: #fff; color: #fff; }

/* The one memorable thing: the two-chicken split */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: 2.5rem 1.25rem 2.75rem; }
.split .mild { background: var(--mild); color: var(--ink); }
.split .ghost { background: var(--ghost); color: #fff; }
.split h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 .5rem; line-height: 1; }
.split p { margin: 0; max-width: 26rem; font-size: 1.1rem; }
.split .inner { max-width: calc(var(--wrap) / 2); }
.split .mild .inner { margin-left: auto; padding-right: 1rem; }
.split .ghost .inner { padding-left: 1rem; }
@media (max-width: 40rem) { .split { grid-template-columns: 1fr; } .split .inner { margin: 0 !important; padding: 0 !important; } }

/* Sections */
section.block { padding-block: 3.5rem; border-bottom: 1px solid var(--line); }
section.block h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 1rem; color: var(--ocean); }
section.block p { max-width: 40rem; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2.5rem; }
.fine { color: var(--muted); font-size: .95rem; }

/* Menu rows (used on home + QR menu) */
.menu-sec { margin-bottom: 2.5rem; scroll-margin-top: 4.5rem; }
.menu-sec h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--ocean); margin: 0 0 .5rem; }
.row { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.row .name { font-weight: 600; }
.row .price { font-weight: 700; font-variant-numeric: tabular-nums; }
.row .desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; margin-top: -.15rem; }
.menu-sec .note { color: var(--muted); font-size: .95rem; margin: .6rem 0 0; }

/* QR menu page */
.menu-top { background: var(--ocean); color: #fff; padding-block: 1.75rem 1.25rem; }
.menu-top h1 { font-family: var(--display); font-weight: 400; color: var(--fry); font-size: clamp(1.6rem, 7vw, 3rem); margin: 0; line-height: 1; }
.menu-top p { margin: .4rem 0 0; color: #dfe7ee; }
.chips { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.chips .wrap { display: flex; gap: .5rem; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.chips a { flex: none; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--ocean); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ocean); }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.5rem 0 2rem; }
.pick div { border-radius: 14px; padding: 1rem; }
.pick .mild { background: var(--mild); }
.pick .ghost { background: var(--ghost); color: #fff; }
.pick b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; display: block; line-height: 1.1; }
.pick span { font-size: .95rem; }
.notice { background: #f4f6f8; border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 2rem; font-size: .97rem; }
.notice p { margin: .2rem 0; }

/* Supernova */
.nova { background: radial-gradient(120% 90% at 80% 0%, #3a0a12 0%, var(--ocean) 55%); color: #fff; padding-block: 3.5rem; }
.nova h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 8vw, 5rem); line-height: .95; margin: 0 0 1rem; color: #fff; }
.nova p { color: #dfe7ee; max-width: 38rem; font-size: 1.15rem; }
ol.rules { padding-left: 1.3rem; max-width: 40rem; }
ol.rules li { margin-bottom: .6rem; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; }
.wall figure { margin: 0; }
.wall img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; }
.wall figcaption { font-weight: 600; margin-top: .4rem; }
.empty { border: 2px dashed var(--line); border-radius: 14px; padding: 2rem; text-align: center; color: var(--muted); }

/* Footer */
footer { background: var(--ocean); color: #dfe7ee; padding-block: 2.5rem; font-size: .95rem; }
footer .wrap { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
footer b { color: #fff; display: block; margin-bottom: .3rem; }
footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .split > div { animation: rise .6s ease-out both; }
  .split .ghost { animation-delay: .12s; }
  @keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Signup form */
form.signup { display: grid; gap: .75rem; max-width: 28rem; }
form.signup label { display: grid; gap: .25rem; font-weight: 600; font-size: .95rem; }
form.signup input:not([type=checkbox]) { font: inherit; padding: .7rem .8rem; border: 1.5px solid #b9c2ca; border-radius: 10px; }
form.signup input:focus-visible { outline: 3px solid var(--fry); outline-offset: 1px; }
form.signup .consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .88rem; }
form.signup .consent input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; flex: none; }
form.signup .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
form.signup .status { margin: 0; font-weight: 600; min-height: 1.2em; }

/* Grand opening ribbon */
.ribbon { background: var(--mild); color: var(--ink); font-size: .98rem; }
.ribbon .wrap { padding-block: .6rem; }
.ribbon a { font-weight: 700; }

/* Text pages */
.prose { padding-block: 2.5rem 3.5rem; }
.prose p, .prose h2, .prose h3 { max-width: 44rem; }
.pagetitle { font-family: var(--display); font-weight: 400; color: var(--ocean); font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; margin: 0 0 1.25rem; }
.prose h2 { font-family: var(--display); font-weight: 400; color: var(--ocean); font-size: 1.5rem; margin: 2rem 0 .5rem; }
.prose h3 { font-size: 1.05rem; margin: 1.25rem 0 .2rem; }
.prose h3 + p { margin-top: 0; }
.tablewrap { overflow-x: auto; margin: 1rem 0; }
table.allergens { border-collapse: collapse; min-width: 44rem; font-size: .95rem; }
table.allergens caption { text-align: left; font-weight: 700; padding-bottom: .5rem; }
table.allergens th, table.allergens td { border-bottom: 1px solid var(--line); padding: .55rem .6rem; text-align: left; vertical-align: top; }
table.allergens thead th { background: var(--ocean); color: #fff; font-weight: 600; }
table.allergens tbody th { font-weight: 600; }
.nova h2 { color: #fff; }
.deal { background: var(--mild); border-radius: 12px; padding: .8rem 1rem; }

/* How we make it */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 2.5rem; }
.facts h3 { font-size: 1.15rem; margin: 0 0 .25rem; color: var(--ocean); }
.facts p { margin: 0; }
.how { background: #fff8e6; border-bottom: 0; }
.how h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); max-width: 22ch; }
.join { background: var(--mild); border-bottom: 0; }
.join h2 { color: var(--ink); font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.join .fine, .join form.signup .consent { color: #3d3a2e; }
