/* Avalon Diner — retro diner palette from the logo (red) and printed menu (teal). */
:root {
  --red: #c8102e;
  --red-dark: #9e0c24;
  --teal: #13685e;
  --teal-dark: #0d4a43;
  --cream: #f4ecd8;
  --cream-2: #fbf7ec;
  --ink: #1d1b19;
  --muted: #6b625a;
  --line: #e2d6bb;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgb(29 27 25 / 0.12);
  --display: 'Righteous', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 1.0625rem; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2, .display { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 96px) 0; position: relative; }
.cream { background: var(--cream); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.5em; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; font-family: var(--body); }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); color: var(--ink); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 120px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a, .sub-toggle { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav > ul > li > a[aria-current], .sub-toggle.is-active { color: var(--red); }
.site-nav a:hover, .sub-toggle:hover { color: var(--red); }
.site-nav .btn-dark { color: #fff; }
.has-sub { position: relative; }
.sub-toggle { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; display: inline-flex; gap: .35em; align-items: center; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 14px); left: -16px; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: none; }
.sub a { display: block; padding: 8px 12px; border-radius: 8px; }
.sub a:hover, .sub a[aria-current] { background: var(--cream); }
.has-sub.open .sub { display: block; }
@media (hover: hover) and (min-width: 901px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
  .has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
}
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s; margin: auto; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -8px; }
.bars::after { top: 8px; }
.nav-toggle[aria-expanded='true'] .bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-inner { min-height: 68px; }
  .brand img { width: 86px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; background: #fff; padding: 16px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - 68px); overflow-y: auto; display: none; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a, .sub-toggle { display: flex; width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .sub { position: static; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; background: #1d1b19; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgb(20 14 10 / .82) 0%, rgb(20 14 10 / .45) 55%, rgb(20 14 10 / .15) 100%), linear-gradient(0deg, rgb(20 14 10 / .55), transparent 50%); }
.hero-content { position: relative; z-index: 2; padding: 120px 0 clamp(56px, 9vw, 110px); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); margin-bottom: .25em; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; margin-bottom: 1em; color: #ffd5a3; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; opacity: .95; }
.lede-dark { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.center.lede-dark { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.checker { height: 22px; background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 22px 22px; }

/* Page hero */
.page-hero { background: var(--teal); color: #fff; padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0; position: relative; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero.with-video { background: var(--ink); min-height: 340px; display: grid; align-items: end; }

/* Section titles */
.section-title { text-align: center; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--red); margin-bottom: 1.2em; }
.section-title.light { color: #fff; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: 160px 160px var(--radius) var(--radius); padding: 16px 16px 8px; box-shadow: var(--shadow); }
.card picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 150px 150px 12px 12px; }
.card-body { padding: 18px 8px 8px; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--red); margin-bottom: .1em; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--teal); }
@media (max-width: 600px) {
  .card { border-radius: var(--radius); }
  .card picture img { aspect-ratio: 4 / 3; border-radius: 12px; }
}
.card p:last-child { font-size: .95rem; color: var(--muted); }

/* Video reels */
.reels { background: var(--teal-dark); color: #fff; }
.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 800px) { .reel-grid { grid-template-columns: 1fr; } }
.reel { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #000; }
.reel video { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { color: #fff; position: absolute; z-index: 1; inset: auto 0 0 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgb(0 0 0 / .8)); display: grid; gap: 4px; }
.reel strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.reel span { font-size: .95rem; opacity: .9; }
@media (max-width: 800px) { .reel { aspect-ratio: 16 / 10; } }

/* Story */
.banner img { width: 100%; aspect-ratio: 1200 / 420; object-fit: cover; border-radius: var(--radius); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 48px; }
.split .display { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 8px; } }
.link-arrow { font-weight: 700; }
.link-arrow::after { content: ' →'; }

/* Reviews */
.reviews { color: var(--ink); overflow: hidden; }
.reviews-bg, .reviews-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reviews::before { content: ''; position: absolute; inset: 0; background: rgb(19 104 94 / .55); z-index: 1; }
.reviews .wrap { position: relative; z-index: 2; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review { margin: 0; background: var(--cream-2); border-radius: var(--radius); padding: 32px 28px; text-align: center; box-shadow: var(--shadow); }
.review svg { width: 34px; color: var(--red); margin: 0 auto 16px; }
.review p { font-size: 1rem; }
.stars { color: #e0a100; letter-spacing: .15em; }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.loc-card picture img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.loc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.loc-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.loc-body h3 a { color: var(--ink); text-decoration: none; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }
.icon-line { display: flex; gap: 12px; align-items: flex-start; }
.icon-line svg { width: 20px; flex: none; margin-top: 3px; color: var(--teal); }
.icon-line a { color: var(--ink); }
.hours { margin: 0 0 1em; display: grid; gap: 2px; }
.hours div { display: flex; flex-wrap: wrap; gap: 0 .5em; }
.hours dt { font-weight: 700; }
.hours dt::after { content: ':'; }
.hours dd { margin: 0; }

.loc-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.loc-detail h2 { font-size: 1.4rem; color: var(--red); margin-top: 1.2em; }
@media (max-width: 900px) { .loc-detail { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.map iframe { width: 100%; height: 460px; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.disclaimer { margin-top: 48px; background: var(--cream); border-left: 6px solid var(--red); padding: 28px 32px; border-radius: 12px; }
.disclaimer h2 { font-size: 1.5rem; color: var(--red); }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.prose { font-size: 1.1rem; }
.dropcap::first-letter { font-family: var(--display); float: left; font-size: 4.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--red); }
.about-media { display: grid; gap: 28px; }
.about-media figure { margin: 0; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-media figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.timeline ol { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 14px; }
.timeline li { background: #fff; border-radius: 12px; padding: 16px 20px; display: grid; grid-template-columns: 80px 1fr; gap: 16px; box-shadow: 0 2px 10px rgb(0 0 0 / .05); }
.timeline strong { font-family: var(--display); font-weight: 400; color: var(--red); font-size: 1.3rem; }

/* Menu */
.menu-tabs { position: sticky; top: 84px; z-index: 40; background: var(--ink); }
@media (max-width: 900px) { .menu-tabs { top: 68px; } }
.menu-tabs .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.menu-tabs a { color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 999px; white-space: nowrap; font-weight: 700; font-size: .92rem; }
.menu-tabs a:hover, .menu-tabs a.active { background: var(--red); color: #fff; }
.menu-page { background: var(--cream-2); }
.menu-group { scroll-margin-top: 150px; margin-bottom: 72px; }
.menu-group-title { text-align: center; font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; background: var(--red); border-radius: 999px; padding: .25em 1em; width: fit-content; margin: 0 auto .6em; }
.menu-columns { columns: 2 420px; column-gap: 48px; margin-top: 32px; }
.menu-section { break-inside: avoid; margin-bottom: 40px; scroll-margin-top: 150px; }
.menu-section h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
.menu-note { font-size: .92rem; color: var(--muted); font-style: italic; }
.menu-note.center { max-width: 46em; margin-inline: auto; }
.items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.item h4 { font-size: 1.02rem; font-weight: 700; color: var(--red); margin: 0; text-transform: uppercase; letter-spacing: .02em; }
.item-head { display: flex; align-items: baseline; gap: 8px; }
.dots { flex: 1; border-bottom: 2px dotted #c9bda1; transform: translateY(-4px); min-width: 16px; }
.price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item p { margin: 2px 0 0; font-size: .95rem; color: #4a433c; }
.item.featured { background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 12px 14px; }
.raw { color: var(--red); margin-left: 2px; }
.blue-plates .plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 1000px) { .blue-plates .plates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blue-plates .plates { grid-template-columns: 1fr; } }
.plate { background: #fff; border: 3px solid var(--teal); border-radius: var(--radius); padding: 22px; }
.plate h3 { color: var(--red); font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.entrees { list-style: none; margin: 0 0 12px; padding: 0; font-weight: 700; text-transform: uppercase; font-size: .9rem; display: grid; gap: 4px; }
.sides-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); font-weight: 700; margin: 0 0 4px; }
.sides { list-style: none; margin: 0; padding: 0; columns: 2; font-size: .92rem; }
.plate.weekend { background: var(--teal); color: #fff; }
.plate.weekend h3 { color: #fff; }
.plate.weekend .item h4, .plate.weekend .item p, .plate.weekend .menu-note { color: #fff; }
.plate.weekend .dots { border-color: rgb(255 255 255 / .4); }
.advisory { font-size: .9rem; color: var(--muted); text-align: center; }
.printed { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.printed p { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.contact-form input, .contact-form textarea, .contact-form select { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid #cfc3a8; border-radius: 10px; background: #fff; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgb(19 104 94 / .2); }
.contact-form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--red); }
.contact-locs { display: grid; gap: 24px; align-content: start; background: var(--cream); padding: 28px; border-radius: var(--radius); }
.contact-locs h2 { font-size: 1.3rem; margin: 0 0 .3em; }
.contact-locs h2 a { color: var(--ink); text-decoration: none; }
.contact-locs p { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #e9e2d2; padding: 56px 0 24px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--display); font-size: 1.8rem; color: #fff; margin: 0; }
.script { color: #ff8a8a; font-style: italic; }
.footer-loc h2 { font-family: var(--body); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-loc h2 a { text-decoration: none; }
.footer-loc p { margin: 0 0 .5em; }
.social { display: flex; gap: 12px; }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / .1); }
.social a:hover { background: var(--red); }
.social svg { width: 20px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgb(255 255 255 / .15); margin-top: 40px; padding-top: 20px; font-size: .9rem; }
.footer-base p { margin: 0; }
