/* =========================================================
   PEREVAL — EDITORIAL ROADSIDE INN
   ========================================================= */
:root {
  --bg: #f7f1e6;
  --surface: #fffdf8;
  --surface-2: #f2e9da;
  --ink: #211c17;
  --muted: #6f6357;
  --line: rgba(33, 28, 23, 0.14);
  --line-soft: rgba(33, 28, 23, 0.08);
  --accent: #a94d2a;
  --accent-2: #c56a3d;
  --brass: #c79b4b;
  --olive: #4d5f4b;
  --dark: #1a1713;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(38, 28, 20, 0.12);
  --shadow-soft: 0 8px 26px rgba(38, 28, 20, 0.08);
  --radius: 6px;
  --radius-lg: 12px;
  --maxw: 1220px;
  --header-h: 78px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ---------- Progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120; background: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  color: var(--white);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-header.scrolled {
  background: rgba(247,241,230,.96); color: var(--ink);
  border-bottom-color: var(--line); box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 30px; }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark { display: grid; place-items: center; color: currentColor; transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: .2px; }
.logo-sub { font-size: 9px; letter-spacing: 2.8px; text-transform: uppercase; opacity: .65; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav a {
  font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 4px; opacity: .86;
  transition: opacity .25s, background .25s, color .25s;
}
.nav a:hover { opacity: 1; background: rgba(255,255,255,.1); }
.site-header.scrolled .nav a:hover { background: rgba(169,77,42,.08); color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-phone {
  font-size: 14px; font-weight: 700; padding: 11px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px;
  transition: background .25s, border-color .25s, color .25s;
}
.header-phone:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.site-header.scrolled .header-phone { border-color: var(--line); }
.site-header.scrolled .header-phone:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.burger { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid currentColor; border-radius: 4px; }
.burger span { width: 19px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; font-size: 14px; font-weight: 700; letter-spacing: .1px; border-radius: 4px;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(169,77,42,.26); }
.btn-accent:hover { background: var(--accent-2); box-shadow: 0 14px 30px rgba(169,77,42,.34); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { border: 1px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: min(880px, 100svh); display: flex; align-items: flex-end;
  padding: 170px 0 96px; color: var(--white); background: var(--dark); overflow: hidden;
}
.hero-media { position: absolute; inset: -6% 0 -6% 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; will-change: transform; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,13,11,.94) 0%, rgba(16,13,11,.82) 38%, rgba(16,13,11,.35) 75%, rgba(16,13,11,.5) 100%),
    linear-gradient(0deg, rgba(16,13,11,.88) 0%, transparent 55%);
}
.hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.hero-content { max-width: 780px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.8px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero-eyebrow { color: #e4b98b; }
.hero-title {
  font-family: var(--display); font-weight: 600; font-size: clamp(82px, 13vw, 172px);
  line-height: .82; letter-spacing: -3px; margin: 0 0 22px;
}
.hero-title .char { display: inline-block; opacity: 0; transform: translateY(60px); animation: charUp .9s var(--ease-out) forwards; }
@keyframes charUp { to { opacity: 1; transform: none; } }
.hero-slogan { font-size: 12px; font-weight: 700; letter-spacing: 3.2px; margin: 0 0 24px; color: #f0dbbd; text-transform: uppercase; }
.hero-slogan i { color: var(--brass); font-style: normal; margin: 0 7px; }
.hero-lead { max-width: 590px; font-size: 18px; line-height: 1.75; color: rgba(255,255,255,.82); margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; padding-bottom: 8px; flex: 0 0 auto; }
.rating-badge { border: 1px solid rgba(255,255,255,.28); padding: 16px 20px; text-align: right; border-radius: 4px; backdrop-filter: blur(5px); }
.rating-badge strong { display: block; font-family: var(--display); font-size: 40px; line-height: 1; color: #f3d3a4; }
.rating-badge span { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; opacity: .75; }
.hero-place { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; opacity: .68; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; opacity: .75;
}
.cue-line { width: 1px; height: 36px; background: linear-gradient(#fff, transparent); animation: cuePulse 2s ease-in-out infinite; }
@keyframes cuePulse { 50% { transform: scaleY(.55); transform-origin: top; opacity: .5; } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head h2, .about h2, .grill h2, .visit h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -1px; margin: 0 0 18px;
}
.section-sub { color: var(--muted); font-size: 16.5px; margin: 0; max-width: 580px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 88px; align-items: center; }
.lead { font-size: 18px; line-height: 1.78; color: var(--muted); margin: 0 0 38px; }
.about-points { display: flex; flex-direction: column; }
.point { display: flex; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.point:last-child { border-bottom: 1px solid var(--line); }
.point-num { font-family: var(--display); font-size: 22px; color: var(--accent); line-height: 1; padding-top: 4px; }
.point h3 { font-family: var(--display); font-size: 24px; margin: 0 0 2px; font-weight: 600; }
.point p { margin: 0; font-size: 14.5px; color: var(--muted); }
.about-visual { position: relative; min-height: 560px; }
.img-tall { position: absolute; top: 0; left: 0; width: 72%; height: 84%; overflow: hidden; border-radius: var(--radius); }
.img-tall img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.img-small {
  position: absolute; right: 0; bottom: 42px; width: 52%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius);
  border: 8px solid var(--bg); box-shadow: var(--shadow);
}
.img-small img { width: 100%; height: 100%; object-fit: cover; }
.visual-caption {
  position: absolute; left: 0; bottom: 0; font-family: var(--display); font-size: 20px; font-style: italic; color: var(--muted);
}

/* ---------- Menu ---------- */
.menu-section { background: var(--surface-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.menu-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tab-btn {
  position: relative; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--muted); border-radius: 3px;
  transition: color .25s, background .25s;
}
.tab-btn:hover { color: var(--accent); background: rgba(169,77,42,.06); }
.tab-btn.active { color: #fff; background: var(--accent); }
.search-box { position: relative; min-width: 240px; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.search-box input {
  width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--line); border-radius: 3px;
  background: var(--surface); color: var(--ink); font-size: 13.5px; outline: none;
}
.search-box input:focus { border-color: var(--accent); }
.menu-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 44px 36px; box-shadow: var(--shadow-soft); }
.menu-group { padding-top: 34px; }
.menu-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.menu-group-head h3 { font-family: var(--display); font-size: 30px; font-weight: 600; margin: 0; }
.menu-group-count { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.menu-group-items { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 54px; }
.menu-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.menu-item-name { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.15; }
.mr-unit { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: .3px; color: var(--muted); margin-left: 7px; white-space: nowrap; }
.menu-item-desc { grid-column: 1; font-size: 12.8px; line-height: 1.55; color: var(--muted); }
.menu-item-price { grid-column: 2; grid-row: 1 / span 2; font-size: 15px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.menu-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.menu-note { margin: 20px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- Grill ---------- */
.grill { background: var(--dark); color: var(--white); padding: 110px 0; overflow: hidden; }
.grill-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 88px; align-items: center; }
.grill-visual { position: relative; }
.grill-visual img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius); filter: saturate(.98) contrast(1.04); }
.grill-stamp {
  position: absolute; right: 18px; bottom: 28px; width: 116px; height: 116px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-content: center; text-align: center;
  font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; line-height: 1.5; transform: rotate(9deg); box-shadow: var(--shadow);
}
.grill-stamp b { font-family: var(--display); font-size: 23px; letter-spacing: 0; text-transform: none; }
.grill-copy .eyebrow { color: #e4b98b; }
.grill-copy h2 { max-width: 620px; }
.grill-copy > p { color: rgba(255,255,255,.72); font-size: 17px; max-width: 560px; margin: 0 0 30px; }
.grill-list { list-style: none; padding: 0; margin: 0 0 34px; max-width: 580px; }
.grill-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.grill-list li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.grill-list em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.5); }
.grill-list b { color: #f0c691; white-space: nowrap; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: 1.12fr .94fr .94fr; gap: 18px; }
.review-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 32px 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-featured { background: var(--surface-2); }
.quote { font-family: var(--display); font-size: 74px; line-height: .55; color: var(--accent); height: 34px; }
.stars { color: var(--brass); font-size: 13px; letter-spacing: 3px; }
.review-card p { font-size: 15.5px; line-height: 1.72; color: #4f443a; margin: 0; flex: 1; }
.author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: #fff; font-weight: 700; font-size: 14px; }
.author strong { display: block; font-size: 14px; }
.author small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 30px; align-items: stretch; }
.visit-copy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 44px; }
.visit-copy h2 { font-size: clamp(40px, 4.6vw, 60px); }
.visit-details { margin: 30px 0; }
.detail { padding: 16px 0; border-top: 1px solid var(--line); }
.detail:last-child { border-bottom: 1px solid var(--line); }
.detail-label { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.detail-value { font-size: 15px; font-weight: 600; }
.phone-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phone-link { font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--accent); line-height: 1; }
.phone-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-copy { font-size: 11.5px; font-weight: 700; padding: 7px 11px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); }
.btn-copy:hover { border-color: var(--accent); color: var(--accent); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-card { position: relative; min-height: 520px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.map-card iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; filter: grayscale(.1); }
.map-tag { position: absolute; left: 18px; bottom: 18px; background: var(--surface); padding: 9px 16px; border-radius: 3px; font-size: 12px; font-weight: 700; box-shadow: var(--shadow-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 64px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr .8fr .9fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.logo-light { color: #fff; }
.footer-slogan { margin: 18px 0 0; font-size: 11px; letter-spacing: 3px; color: #d9a66f; font-weight: 700; }
.footer-col h4 { font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; color: rgba(255,255,255,.42); margin: 0 0 14px; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; padding: 5px 0; transition: color .25s, transform .25s; }
.footer-col a:hover { color: #e7b77f; transform: translateX(3px); }
.footer-bottom { padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.4); }

/* ---------- FAB ---------- */
.fab-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; background: var(--accent); color: #fff;
  box-shadow: 0 12px 30px rgba(169,77,42,.4); transition: transform .25s var(--ease), background .25s;
}
.fab-call:hover { transform: scale(1.08); background: var(--accent-2); }

/* ---------- Reveal / ripple ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); transform: scale(0); animation: rippleAnim .65s ease-out forwards; pointer-events: none; }
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 12.5px; }
  .about-grid, .grill-grid { gap: 54px; }
  .menu-group-items { column-gap: 34px; }
  .menu-panel { padding: 8px 30px 30px; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .review-featured { grid-column: span 2; }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--surface); color: var(--ink); padding: 12px 24px 22px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 8px; font-size: 15px; }
  .burger { display: flex; }
  .header-phone { display: none; }
  .hero { min-height: 760px; padding: 150px 0 100px; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-aside { flex-direction: row; align-items: center; gap: 18px; }
  .rating-badge { text-align: left; padding: 10px 14px; }
  .rating-badge strong { font-size: 28px; }
  .scroll-cue { display: none; }
  .about-grid, .grill-grid, .visit-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 460px; max-width: 600px; }
  .grill-visual img { aspect-ratio: 16 / 10; }
  .grill-stamp { right: 18px; bottom: -24px; }
  .map-card, .map-card iframe { min-height: 420px; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 76px 0; }
  .hero { min-height: 700px; padding: 136px 0 80px; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-lead { font-size: 16.5px; }
  .hero-slogan { font-size: 10.5px; letter-spacing: 2px; }
  .hero-actions .btn { width: 100%; }
  .hero-aside { flex-direction: column; align-items: flex-start; gap: 10px; }
  .about-visual { min-height: 380px; }
  .img-small { bottom: 30px; }
  .visual-caption { font-size: 17px; }
  .menu-toolbar { flex-direction: column; align-items: stretch; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; border: 1px solid var(--line); }
  .search-box { min-width: 0; }
  .menu-panel { padding: 4px 20px 26px; }
  .menu-group-items { grid-template-columns: 1fr; }
  .menu-group-head h3 { font-size: 26px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-featured { grid-column: span 1; }
  .visit-copy { padding: 34px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .phone-link { font-size: 30px; }
}
