/* ————————————————————————————————————————
   NEIL'S KETO CAFE — retro diner, cream & espresso
   ———————————————————————————————————————— */

:root {
  --bg: #F6EFDF;
  --card: #FFFBF2;
  --line: #E3D7BC;
  --espresso: #3B2A1E;
  --muted: #7C6F5F;
  --mint: #2FA98C;
  --ketchup: #D14837;
  --display: "Alfa Slab One", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(85% 55% at 50% -8%, #F1E5CB, transparent 60%),
    var(--bg);
  color: var(--espresso);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--mint); color: #fff; }

a { color: var(--ketchup); }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--espresso);
}

.wordmark {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.03em;
  color: var(--espresso);
  text-decoration: none;
}

.wordmark span { color: var(--ketchup); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 13.5px;
  font-weight: 700;
}

.site-header nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-header nav a:hover { color: var(--espresso); }

/* hero */

.hero {
  position: relative;
  padding: clamp(76px, 12vh, 140px) var(--gutter) clamp(76px, 12vh, 130px);
  overflow: hidden;
}

.diner-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--mint) 0 40px,
    var(--bg) 40px 56px,
    var(--ketchup) 56px 96px,
    var(--bg) 96px 112px
  );
  opacity: 0.85;
}

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  max-width: 14ch;
}

.hero h1 em { font-style: normal; color: var(--ketchup); }

.lede {
  max-width: 58ch;
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-family: var(--display);
  font-size: 15px;
  color: var(--bg);
  background: var(--espresso);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  box-shadow: 0 10px 26px rgba(59, 42, 30, 0.28);
  transition: transform 0.15s, background 0.2s;
}

.hero-cta:hover { background: var(--ketchup); transform: translateY(-2px); }

/* sections */

.section {
  padding: clamp(58px, 9vh, 106px) var(--gutter);
  border-top: 1px solid var(--line);
}

.section-head { max-width: 800px; margin-bottom: clamp(26px, 4vh, 42px); }

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4.8vw, 50px);
  margin-bottom: 10px;
}

.section-head p { color: var(--muted); max-width: 58ch; }

/* menu board */

.menu-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.board-col {
  background: var(--card);
  border: 2px solid var(--espresso);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 5px 5px 0 var(--espresso);
}

.board-col h3 {
  font-family: var(--display);
  font-size: 19px;
  margin-bottom: 14px;
  color: var(--mint);
}

.board-col ul { list-style: none; }

.board-col li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  display: grid;
  gap: 2px;
}

.board-col li:last-child { border-bottom: none; }

.board-col strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  color: var(--espresso);
}

.board-col span { color: var(--muted); font-size: 14px; }

/* rules */

.rules { list-style: none; max-width: 740px; }

.rules li {
  padding: 15px 4px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
}

.rules li:first-child { border-top: 1px dashed var(--line); }

.rules strong { color: var(--espresso); font-family: var(--display); font-weight: 400; }

/* visiting */

.visit-card {
  max-width: 760px;
  background: var(--card);
  border: 2px solid var(--espresso);
  border-radius: 18px;
  padding: clamp(26px, 5vw, 44px);
  box-shadow: 6px 6px 0 var(--espresso);
}

.visit-card h2 {
  font-family: var(--display);
  font-size: clamp(26px, 4.4vw, 42px);
  margin-bottom: 18px;
}

.visit-facts { display: grid; gap: 12px; margin-bottom: 20px; }

.visit-facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
}

.visit-facts dt {
  flex: 0 0 120px;
  font-family: var(--display);
  font-size: 14px;
  color: var(--ketchup);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visit-facts dd { color: var(--muted); font-size: 15.5px; }

.honest {
  font-size: 14.5px;
  color: var(--muted);
  background: var(--bg);
  border-left: 4px solid var(--mint);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
}

/* footer */

.site-footer {
  padding: 36px var(--gutter) 50px;
  border-top: 3px solid var(--espresso);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links span { color: var(--muted); }
.footer-links a { text-decoration: none; color: var(--ketchup); }
.footer-links a:hover { color: var(--espresso); }

.site-footer > p { color: var(--muted); font-size: 13px; }

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-cta:hover { transform: none; }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
  .visit-facts dt { flex-basis: 100%; }
}
