/* Ramblin Roads Restaurants — site styles */
:root {
  --cream: #f7f1e3;
  --paper: #fffdf7;
  --sand: #efe6d0;
  --line: #ddd1b5;
  --ink: #1d1c18;
  --muted: #5b574b;
  --green: #2f5233;
  --green-2: #47704c;
  --green-ink: #e9f0e4;
  --red: #b13a28;
  --red-dark: #8f2e1f;
  --mustard: #e3b23c;
  --asphalt: #2b2a27;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 28, 24, .06), 0 8px 24px rgba(29, 28, 24, .08);
  --wrap: 1180px;
  --display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: .005em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.eyebrow {
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: .8em;
}
.lede { font-size: 1.25rem; color: var(--muted); max-width: 40em; }
.note { font-size: .95rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-family: var(--body); font-weight: 700; font-size: 1.02rem; line-height: 1;
  padding: .95em 1.4em; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-small { font-size: .92rem; padding: .7em 1.1em; }
.link-arrow { font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: .2em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 247, .96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.site-nav > ul > li > a { display: block; padding: 10px 12px; border-radius: 8px; }
.site-nav > ul > li > a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -3px 0 var(--mustard); border-radius: 0; }
.site-nav .nav-cta { color: #fff; }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle {
  background: none; border: 0; padding: 8px 6px; cursor: pointer; color: var(--ink); margin-left: -8px;
}
.sub-toggle span { display: block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 270px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 600; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--cream); color: var(--green); box-shadow: none; }
@media (hover: hover) and (min-width: 961px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
}
.has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { min-height: 70px; }
  .brand img { width: 118px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: #fff; border: 0;
    border-radius: 999px; padding: 10px 16px; font: 700 1rem var(--body); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 22px; box-shadow: var(--shadow);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { padding: 14px 4px; }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { padding: 14px 10px; margin: 0; }
  .sub { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--cream); margin-bottom: 10px; }
  .has-sub.open .sub { display: block; }
  .nav-cta { margin-top: 16px; }
}

/* Breadcrumbs */
.crumbs { padding-top: 18px; padding-bottom: 0; font-size: .92rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Road divider */
.road {
  height: 16px; background: var(--asphalt);
  background-image: repeating-linear-gradient(90deg, var(--mustard) 0 46px, transparent 46px 84px);
  background-size: 100% 3px; background-repeat: no-repeat; background-position: 0 50%;
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--sand); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.page-head { padding: 36px 0 44px; }
.page-head h1 { margin-bottom: .3em; }
.page-head .lede { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .section { padding: 56px 0; } }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.actions { margin-top: 1.6em; }

.framed { margin: 0; background: var(--paper); padding: 10px; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.framed img { border-radius: 8px; width: 100%; }
.framed figcaption { font-size: .9rem; color: var(--muted); padding: 10px 4px 2px; }
.framed.portrait { max-width: 420px; justify-self: center; }
.framed.wide { transform: none; margin-top: 28px; }

/* Hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1.8em; }
.hero-actions.center { justify-content: center; }
.meal-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.meal-strip li {
  font-family: var(--display); font-size: 1.05rem; color: var(--green); padding: 0 16px;
  border-left: 2px dashed var(--mustard);
}
.meal-strip li:first-child { padding-left: 0; border-left: 0; }
.hero-photo { margin: 0; position: relative; }
.hero-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px; background: var(--green); z-index: 0;
}
.hero-photo img { position: relative; z-index: 1; border-radius: 22px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .hero { padding: 28px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { margin-right: 18px; }
}

.welcome { background: var(--paper); text-align: center; }
.welcome p { color: var(--muted); }

/* Location cards */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.loc-grid.two { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.loc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.loc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.loc-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.loc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.loc-name { margin: 0 0 .35em; font-size: 1.4rem; }
.loc-name a { color: var(--ink); text-decoration: none; }
.loc-name a:hover { color: var(--red); }
.loc-addr { color: var(--muted); margin-bottom: .6em; }
.loc-actions { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-top: 10px; }

.open-status { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 600; margin: 0 0 .6em; color: var(--muted); }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9a958a; flex: none; }
.open-status.is-open { color: var(--green); }
.open-status.is-open::before { background: #3f9a4a; box-shadow: 0 0 0 4px rgba(63, 154, 74, .18); }

/* Reviews */
.reviews { background: var(--green); color: var(--green-ink); }
.reviews h2 { color: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 16px; position: relative; }
.review blockquote::before { content: "\201C"; font-family: var(--display); font-size: 3.4rem; line-height: .7; color: var(--mustard); display: block; margin-bottom: 6px; }
.review p { margin: 0; font-size: 1.06rem; }
.review figcaption { margin-top: auto; font-weight: 700; color: #fff; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 52px 0; }
.cta-inner { text-align: center; }
.cta-band h2 { color: #fff; }
.town-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.town-chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .4); color: #fff; text-decoration: none; font-weight: 700; }
.town-chips a:hover { background: #fff; color: var(--red); }

/* Menu */
.meals { display: grid; gap: 22px; }
.meal { background: var(--paper); border-left: 6px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; box-shadow: var(--shadow); }
.meal:nth-child(2) { border-left-color: var(--mustard); }
.meal:nth-child(3) { border-left-color: var(--red); }
.meal h2 { font-size: 1.7rem; margin-bottom: .3em; }
.meal p { margin: 0; color: var(--muted); }
.phone-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; text-align: left; }
.phone-grid li { background: var(--paper); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.phone-grid li a:first-child { font-weight: 700; color: var(--ink); text-decoration: none; }
.tel { font-weight: 700; white-space: nowrap; }
.tel.big { font-size: 1.3rem; }

/* Location page */
.loc-hero { padding: 24px 0 40px; }
.loc-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: stretch; }
.loc-hero-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px 30px 26px; box-shadow: var(--shadow); }
.info-card h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: .35em; }
.info-row { padding: 14px 0; border-top: 1px dashed var(--line); }
.info-h { font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.info-row p { margin: 0; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; white-space: nowrap; }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); aspect-ratio: 4 / 3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) {
  .loc-hero-grid { grid-template-columns: 1fr; }
  .info-card { padding: 24px 20px 20px; }
}

/* Hours table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours-table th, .hours-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table thead th { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
.hours-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) {
  .hours-table thead { display: none; }
  .hours-table tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .hours-table th, .hours-table td { display: block; padding: 2px 0; border: 0; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: var(--radius); padding: 22px; }
.contact-card h2 { font-size: 1.35rem; margin-bottom: .4em; }
.contact-card h2 a { color: var(--ink); text-decoration: none; }
.contact-card address { color: var(--muted); margin-bottom: .6em; }
.contact-card p { margin-bottom: .5em; }
.contact-links { display: flex; gap: 16px; font-weight: 600; }

.notfound { padding: 80px 0 100px; }

/* Footer */
.site-footer { background: var(--asphalt); color: #d9d4c6; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--mustard); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 36px; }
.footer-brand { font-family: var(--display); font-size: 1.7rem; color: #fff; margin-bottom: .3em; }
.footer-h { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--mustard); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-list a { text-decoration: none; }
.footer-list .tel { color: #d9d4c6; font-weight: 400; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Menu list */
.menu-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.menu-jump a { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); font-size: .95rem; }
.menu-jump a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.menu-section { padding-top: 24px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; align-items: start; }
.menu-block { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: var(--radius); padding: 26px 28px 18px; scroll-margin-top: 100px; }
.menu-block:nth-child(3n+2) { border-top-color: var(--mustard); }
.menu-block:nth-child(3n) { border-top-color: var(--red); }
.menu-block h2 { font-size: 1.65rem; margin-bottom: .55em; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(221, 209, 181, .55); }
.menu-list li:last-child { border-bottom: 0; }
.menu-list .item { font-weight: 600; }
.menu-list .dots { flex: 1; min-width: 20px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.menu-list .price { font-weight: 700; color: var(--red); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-note { margin-top: 24px; text-align: center; }
@media (max-width: 860px) { .menu-grid { grid-template-columns: 1fr; } .menu-block { padding: 22px 20px 12px; } }
