/* =========================================================
   C&H Cafeteria — Design System
   A homestyle Southern cafeteria: steam-table lines,
   order tickets, cornbread gold & brick red.
   ========================================================= */

:root{
  --brick:        #A2281F;
  --brick-dark:   #711C16;
  --brick-light:  #C6483C;
  --gold:         #D9A441;
  --gold-light:   #F1C874;
  --pine:         #3B4F35;
  --pine-dark:    #263420;
  --pine-light:   #5E7757;
  --paper:        #FBF9F4;
  --paper-2:      #F1EADA;
  --ink:          #2A2420;
  --ink-soft:     #5B5148;
  --line:         #E4DBC8;
  --white:        #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", "Courier New", monospace;

  --radius: 10px;
  --shadow-card: 0 10px 30px -14px rgba(42,36,32,0.28);
  --shadow-soft: 0 4px 14px -6px rgba(42,36,32,0.18);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--brick); text-decoration:none; }
a:hover{ color:var(--brick-dark); }
ul{ margin:0; padding:0; }
li{ list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--ink);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.1rem,4.6vw,3.4rem); font-weight:700; }
h2{ font-size:clamp(1.7rem,3.2vw,2.4rem); }
h3{ font-size:1.35rem; }
p{ margin:0 0 1em; color:var(--ink-soft); }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }

:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono);
  font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--brick); font-weight:600; margin-bottom:.9em;
}
.eyebrow::before{
  content:""; width:22px; height:2px; background:var(--gold);
  display:inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:.95rem;
  padding:13px 26px; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary{ background:var(--brick); color:var(--white); box-shadow:var(--shadow-soft); }
.btn-primary:hover{ background:var(--brick-dark); color:var(--white); transform:translateY(-2px); }
.btn-outline{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-outline:hover{ background:var(--ink); color:var(--white); transform:translateY(-2px); }
.btn-gold{ background:var(--gold); color:var(--pine-dark); box-shadow:var(--shadow-soft); }
.btn-gold:hover{ background:var(--gold-light); color:var(--pine-dark); transform:translateY(-2px); }
.btn-sm{ padding:9px 18px; font-size:.85rem; }

/* ============ HEADER ============ */
.topbar{
  background:var(--pine-dark); color:#EFE9D8; font-family:var(--font-mono);
  font-size:.8rem; letter-spacing:.02em;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:6px; }
.topbar a{ color:#F1C874; }
.topbar .phones{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar .phones span{ color:#C9C1AC; margin-right:5px; }

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,249,244,.96); backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:48px; width:auto; }
.brand-text{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--brick); line-height:1.1; }
.brand-text small{ display:block; font-family:var(--font-mono); font-weight:400; font-size:.62rem; letter-spacing:.08em; color:var(--ink-soft); text-transform:uppercase; margin-top:3px; }

.main-nav ul{ display:flex; gap:2px; align-items:center; }
.main-nav a{
  color:var(--ink); font-weight:600; font-size:.92rem; padding:10px 14px;
  border-radius:999px; display:block; transition:background .15s, color .15s;
}
.main-nav a:hover, .main-nav a.active{ background:var(--brick); color:var(--white); }
.nav-cta{ margin-left:8px; }

.nav-toggle{ display:none; background:none; border:2px solid var(--ink); border-radius:8px; padding:8px 10px; cursor:pointer; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:4px 0; }

@media (max-width:980px){
  .nav-toggle{ display:block; }
  .main-nav{
    position:fixed; inset:0 0 0 auto; width:min(320px,86vw); height:100vh;
    background:var(--paper); box-shadow:-14px 0 40px rgba(0,0,0,.25);
    transform:translateX(100%); transition:transform .25s ease; padding:90px 26px 26px;
    overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav ul{ flex-direction:column; align-items:stretch; gap:4px; }
  .main-nav a{ padding:13px 16px; }
  .nav-cta{ margin-left:0; margin-top:14px; display:block; text-align:center; }
}

/* ============ HERO ============ */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(160deg,var(--pine-dark) 0%, var(--pine) 62%, var(--brick-dark) 130%);
  color:var(--white);
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;
  padding:76px 0 70px;
}
.hero h1{ color:var(--white); }
.hero h1 em{ font-style:italic; color:var(--gold-light); }
.hero .lede{ color:#E9E2CC; font-size:1.12rem; max-width:52ch; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:26px; }
.hero-stats{ display:flex; gap:28px; margin-top:38px; flex-wrap:wrap; }
.hero-stats div{ font-family:var(--font-mono); }
.hero-stats strong{ display:block; font-family:var(--font-display); font-size:1.6rem; color:var(--gold-light); }
.hero-stats span{ font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:#C9C1AC; }

.hero-art{ position:relative; }
.hero-art .tray{
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
}
.hero-art img{
  border-radius:14px; object-fit:cover; width:100%; height:100%;
  box-shadow:0 22px 44px -18px rgba(0,0,0,.55); border:4px solid rgba(255,255,255,.14);
}
.hero-art .tall{ grid-row:span 2; height:100%; aspect-ratio:.8; }
.hero-art .short{ aspect-ratio:1.3; }
.hero-badge{
  position:absolute; bottom:-18px; left:-18px; background:var(--gold);
  color:var(--pine-dark); font-family:var(--font-mono); font-weight:700;
  padding:14px 18px; border-radius:12px; font-size:.85rem; box-shadow:var(--shadow-card);
  transform:rotate(-4deg); line-height:1.3;
}

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; padding-top:44px; }
  .hero-art{ order:-1; }
  .hero-badge{ display:none; }
}

/* Simple sub-page header (no big hero) */
.page-head{
  background:linear-gradient(160deg,var(--pine-dark), var(--pine));
  color:var(--white); padding:56px 0 50px;
}
.page-head h1{ color:var(--white); margin-bottom:.3em; }
.page-head p{ color:#E4DDC7; max-width:64ch; font-size:1.05rem; }
.crumbs{ font-family:var(--font-mono); font-size:.78rem; color:var(--gold-light); margin-bottom:14px; letter-spacing:.04em; }
.crumbs a{ color:var(--gold-light); }

/* ============ SECTIONS ============ */
section{ padding:74px 0; }
.section-tight{ padding:50px 0; }
.section-alt{ background:var(--paper-2); }
.section-ink{ background:var(--pine-dark); color:#EFE9D8; }
.section-ink h2, .section-ink h3{ color:var(--white); }
.section-ink p{ color:#C9C1AC; }
.section-head{ max-width:64ch; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Feature / info cards */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:900px){ .grid-3{ grid-template-columns:1fr; } .grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px; box-shadow:var(--shadow-soft); transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card); }
.card .num{ font-family:var(--font-mono); color:var(--gold); font-weight:700; font-size:.8rem; letter-spacing:.08em; }
.card h3{ margin-top:8px; }
.card img{ border-radius:8px; margin-bottom:16px; aspect-ratio:16/10; object-fit:cover; }
.card .btn{ margin-top:10px; }

/* Value list */
.value-list{ display:grid; grid-template-columns:1fr 1fr; gap:20px 34px; margin-top:10px; }
@media (max-width:700px){ .value-list{ grid-template-columns:1fr; } }
.value-list li{ display:flex; gap:14px; align-items:flex-start; }
.value-list .mark{
  flex:none; width:34px; height:34px; border-radius:50%; background:var(--gold);
  color:var(--pine-dark); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-weight:700; font-size:.85rem;
}
.value-list h4{ font-family:var(--font-body); font-weight:700; margin:0 0 4px; font-size:1rem; }
.value-list p{ margin:0; font-size:.95rem; }

/* Split content-with-image */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:30px; } }
.split img{ border-radius:14px; box-shadow:var(--shadow-card); }
.split.reverse .img-col{ order:2; }
@media (max-width:900px){ .split.reverse .img-col{ order:0; } }

/* ---------- Order-ticket testimonials ---------- */
.ticket-strip{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
@media (max-width:980px){ .ticket-strip{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .ticket-strip{ grid-template-columns:1fr; } }
.ticket{
  background:var(--white); position:relative; padding:26px 22px 20px;
  border-radius:4px;
  box-shadow:var(--shadow-soft);
  font-family:var(--font-mono); font-size:.9rem; color:var(--ink);
  clip-path: polygon(0% 0%,100% 0%,100% 92%,92% 100%,84% 92%,76% 100%,68% 92%,60% 100%,52% 92%,44% 100%,36% 92%,28% 100%,20% 92%,12% 100%,4% 92%,0% 100%);
  padding-bottom:34px;
}
.ticket::before{
  content:""; position:absolute; top:-9px; left:22px; width:16px; height:16px;
  background:var(--gold); border-radius:50%; box-shadow:0 3px 6px rgba(0,0,0,.25);
}
.ticket .quote{ display:block; margin-bottom:14px; color:var(--ink); }
.ticket .who{ color:var(--brick); font-weight:700; }

/* ---------- Gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:900px){ .gallery{ grid-template-columns:repeat(2,1fr); } }
.gallery figure{ margin:0; border-radius:12px; overflow:hidden; position:relative; box-shadow:var(--shadow-soft); }
.gallery img{ width:100%; height:100%; object-fit:cover; aspect-ratio:1/1; transition:transform .3s ease; }
.gallery a:hover img{ transform:scale(1.06); }
.gallery figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:10px 12px;
  background:linear-gradient(0deg,rgba(0,0,0,.72),transparent);
  color:#fff; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.03em;
}

/* ---------- Locations ---------- */
.locations{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:900px){ .locations{ grid-template-columns:1fr; } }
.location-card{
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--line); box-shadow:var(--shadow-soft);
}
.location-card .map{ height:230px; width:100%; border:0; display:block; filter:grayscale(.15) contrast(1.05); }
.location-card .body{ padding:26px; }
.location-card h3{ color:var(--brick); margin-bottom:2px; }
.loc-table{ width:100%; border-collapse:collapse; margin:16px 0; font-size:.92rem; }
.loc-table td{ padding:6px 0; border-top:1px dashed var(--line); vertical-align:top; }
.loc-table td:first-child{ color:var(--ink-soft); font-family:var(--font-mono); font-size:.78rem; width:42%; text-transform:uppercase; letter-spacing:.03em; }
.loc-table tr:first-child td{ border-top:none; }

/* ---------- Menu boards (daily-menu / specialties) ---------- */
.board-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:900px){ .board-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .board-grid{ grid-template-columns:1fr; } }
.board-btn{
  display:block; background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 18px; text-align:center; box-shadow:var(--shadow-soft); transition:all .15s ease;
}
.board-btn:hover{ background:var(--brick); color:#fff; transform:translateY(-3px); box-shadow:var(--shadow-card); }
.board-btn:hover .board-loc, .board-btn:hover .board-meal{ color:#fff; }
.board-loc{ display:block; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:6px; }
.board-meal{ font-family:var(--font-display); font-weight:700; font-size:1.2rem; color:var(--ink); }

.dish-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
@media (max-width:760px){ .dish-grid{ grid-template-columns:1fr; } }
.dish{
  display:flex; gap:16px; padding:20px; background:var(--white); border-radius:var(--radius);
  border:1px solid var(--line); box-shadow:var(--shadow-soft);
}
.dish .price-tag{
  flex:none; width:46px; height:46px; border-radius:50%; background:var(--pine);
  color:var(--gold-light); font-family:var(--font-mono); font-size:.7rem; font-weight:700;
  display:flex; align-items:center; justify-content:center; text-align:center; line-height:1.1;
}
.dish h4{ margin:0 0 4px; font-family:var(--font-display); font-size:1.08rem; }
.dish p{ margin:0; font-size:.92rem; }

/* ---------- FAQ accordion ---------- */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:0; padding:22px 4px;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  cursor:pointer; font-family:var(--font-display); font-weight:600; font-size:1.08rem; color:var(--ink);
}
.faq-q .plus{ flex:none; font-family:var(--font-mono); font-size:1.3rem; color:var(--brick); transition:transform .2s; }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p{ padding:0 4px 22px; margin:0; }

/* ---------- Blog ---------- */
.post-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:900px){ .post-grid{ grid-template-columns:1fr; } }
.post-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-soft); display:flex; flex-direction:column; transition:transform .18s; }
.post-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card); }
.post-card .tag{ font-family:var(--font-mono); font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color:var(--brick); font-weight:700; }
.post-card .body{ padding:22px; display:flex; flex-direction:column; gap:8px; flex:1; }
.post-card img{ aspect-ratio:16/10; object-fit:cover; }
.post-card .btn{ margin-top:auto; align-self:flex-start; }
.post-hero{ aspect-ratio:21/9; object-fit:cover; border-radius:14px; box-shadow:var(--shadow-card); margin-bottom:36px; }
.post-meta{ font-family:var(--font-mono); font-size:.78rem; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px; }
.prose{ max-width:74ch; margin:0 auto; }
.prose p{ font-size:1.05rem; }
.post-cta{ background:var(--paper-2); border:1px dashed var(--brick); border-radius:var(--radius); padding:26px; margin-top:30px; }

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; }
.field.full{ grid-column:1/-1; }
label{ font-family:var(--font-mono); font-size:.74rem; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); }
input,select,textarea{
  font-family:var(--font-body); font-size:.98rem; padding:12px 14px; border-radius:8px;
  border:1.5px solid var(--line); background:var(--white); color:var(--ink);
}
input:focus,select:focus,textarea:focus{ border-color:var(--brick); outline:none; }
textarea{ resize:vertical; min-height:120px; }
fieldset{ border:1.5px solid var(--line); border-radius:10px; padding:16px 18px; }
legend{ font-family:var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--brick); padding:0 6px; }
.radio-row{ display:flex; gap:22px; align-items:center; }
.radio-row label{ display:flex; align-items:center; gap:6px; text-transform:none; font-family:var(--font-body); font-size:.92rem; color:var(--ink); }
.radio-row input{ width:auto; padding:0; }
.form-note{ font-size:.85rem; color:var(--ink-soft); }
.consent-box{ background:var(--paper-2); border-radius:8px; padding:16px; font-size:.85rem; max-height:170px; overflow-y:auto; border:1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--brick); color:#fff; border-radius:20px; padding:48px;
  display:flex; justify-content:space-between; align-items:center; gap:26px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; margin-bottom:4px; }
.cta-band p{ color:#F4DCC9; margin:0; }
.cta-band .actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- Badges row (review platforms) ---------- */
.badge-row{ display:flex; gap:28px; align-items:center; flex-wrap:wrap; margin-top:26px; }
.badge-row img{ height:34px; width:auto; opacity:.85; }

/* ============ FOOTER ============ */
.site-footer{ background:var(--pine-dark); color:#D9D2BC; padding-top:60px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; padding-bottom:40px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer h4{ color:var(--gold-light); font-family:var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.site-footer a{ color:#D9D2BC; }
.site-footer a:hover{ color:var(--gold-light); }
.site-footer li{ margin-bottom:9px; font-size:.92rem; }
.footer-about p{ color:#B8B096; font-size:.92rem; max-width:34ch; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding:20px 0; font-size:.8rem; color:#a79f86; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:#a79f86; }

/* ---------- Price list (menu items) ---------- */
.price-list{ display:grid; grid-template-columns:1fr 1fr; gap:6px 28px; margin:0; }
@media (max-width:640px){ .price-list{ grid-template-columns:1fr; } }
.price-list li{
  display:flex; justify-content:space-between; gap:14px; align-items:baseline;
  padding:9px 0; border-bottom:1px dashed var(--line); font-size:.96rem;
}
.price-list li span:first-child{ color:var(--ink); }
.price-list li span:last-child{ font-family:var(--font-mono); color:var(--brick); font-weight:700; white-space:nowrap; }
.price-list.compact li{ padding:6px 0; }
.menu-cat-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.menu-cat-head h3{ margin:0; }

.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.small{ font-size:.85rem; }
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--brick); color:#fff; padding:10px 16px; z-index:999;
}
.skip-link:focus{ left:10px; top:10px; }
