/* ============================================================
   Speedi Check — brand red & white (blue as a light accent)
   Fraunces (serif) · Pacifico (brush-script logo) · Karla (body).
   Warm, clean, family gas-station-deli. Mascoutah, IL since 1974.
   ============================================================ */

:root {
  --red:        #c8202e;
  --red-deep:   #9c1520;
  --red-soft:   #e0574f;
  --cream:      #fbf6ee;
  --cream-2:    #f5ecdd;
  --paper:      #ffffff;
  --ink:        #26201c;
  --ink-soft:   #6f6459;
  --blue:       #3f78b5;   /* accent only */
  --line:       #e7ddca;
  --shadow:     40,22,16;

  --f-serif:  'Fraunces', Georgia, 'Times New Roman', serif;
  --f-script: 'Yellowtail', 'Segoe Script', cursive;
  --f-sans:   'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-logo:   'Pacifico', 'Brush Script MT', cursive;

  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-sans);
  font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--cream);
}
img { max-width: 100%; }
a { color: var(--red-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.4rem; }
.center { text-align: center; }
[id] { scroll-margin-top: 78px; }

.eyebrow { font-family: var(--f-script); color: var(--red); font-size: 1.7rem; line-height: 1; margin: 0 0 .2rem; }
.h-serif {
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.05; color: var(--ink); margin: .1rem 0 1.4rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--f-sans); font-weight: 700;
  font-size: .98rem; letter-spacing: .3px; white-space: nowrap;
  padding: .66rem 1.35rem; border-radius: 999px; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.btn:hover { text-decoration: none; }
.btn-order { background: var(--red); color: #fff; box-shadow: 0 4px 12px rgba(200,32,46,.28); }
.btn-order:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(200,32,46,.38); background: var(--red-deep); }
.btn-lg { font-size: 1.1rem; padding: .85rem 2rem; }
.btn-ghost { background: transparent; color: var(--red-deep); border: 2px solid var(--red); }
.btn-ghost:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 1.4rem;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--red);
}
.brand { display: flex; align-items: baseline; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-logo { font-family: var(--f-logo); font-size: 1.95rem; color: var(--red); line-height: 1; padding-top: .12rem; }
.site-nav { display: flex; align-items: center; gap: 1.3rem; }
.site-nav > a:not(.btn) { font-weight: 700; color: var(--ink); font-size: .96rem; }
.site-nav > a:not(.btn):hover { color: var(--red); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; text-align: center; color: #fff;
  padding: clamp(3.2rem,7vw,5.5rem) 1.4rem clamp(3.4rem,7vw,5rem);
  background: radial-gradient(120% 130% at 50% -10%, var(--red-soft) 0%, var(--red) 42%, var(--red-deep) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px;
  background: var(--cream);
  -webkit-mask: radial-gradient(24px at 24px 46px, transparent 98%, #000) repeat-x;
  mask: radial-gradient(24px at 24px 46px, transparent 98%, #000) repeat-x;
  -webkit-mask-size: 48px 46px; mask-size: 48px 46px;
}
.hero-inner { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; }
.hero-eyebrow { font-family: var(--f-script); font-size: clamp(1.5rem,3.6vw,2.2rem); color: #ffdede; margin: 0; }
.hero-title { margin: -.15rem 0 0; line-height: .95; }
.hero-title .wordmark {
  display: block; font-family: var(--f-logo);
  font-size: clamp(3.2rem,13vw,7rem); color: #fff;
  text-shadow: 0 3px 0 rgba(0,0,0,.15), 0 8px 26px rgba(0,0,0,.28);
}
.hero-swoosh { display: block; width: min(360px, 72%); height: 20px; margin: -.2rem auto .3rem; color: #fff; opacity: .95; }
.hero-tag { font-family: var(--f-serif); font-size: clamp(1.05rem,2.6vw,1.5rem); color: #fff; margin: .3rem 0 1.7rem; }
.hero-tag em { color: #ffe0e0; font-style: italic; }
.hero .btn-order { background: #fff; color: var(--red-deep); }
.hero .btn-order:hover { background: #ffecec; color: var(--red-deep); }

/* ---------- info card (Hours + Find Us) ---------- */
.info { padding: 0 1.4rem; margin-top: -2.6rem; position: relative; z-index: 5; }
.info-card {
  max-width: 900px; margin: 0 auto; background: var(--paper);
  border-radius: 18px; padding: 1.9rem clamp(1.4rem,4vw,3rem);
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1.7rem; align-items: center;
  border-top: 5px solid var(--red);
  box-shadow: 0 18px 40px rgba(var(--shadow),.16);
}
.info-sep { width: 1px; align-self: stretch; background: var(--line); }
.info-col { text-align: center; }
.info-h { font-family: var(--f-serif); font-weight: 900; color: var(--red); font-size: 1.35rem; margin: 0 0 .7rem; }
.info-col .hours { list-style: none; margin: 0; padding: 0; }
.info-col .hours li { padding: .18rem 0; font-size: 1.02rem; }
.info-col .addr { margin: 0 0 .2rem; font-size: 1.05rem; }
.info-col .phone { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 700; }
.info-col .phone a { color: var(--red-deep); }

/* ---------- today's special ---------- */
.today { padding: clamp(2.8rem,6vw,4.5rem) 0 clamp(1.5rem,4vw,3rem); }
.special-cards { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; }
.special-card {
  width: 320px; max-width: 100%; background: var(--paper);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  text-align: left; box-shadow: 0 10px 26px rgba(var(--shadow),.12);
  transition: transform .16s ease, box-shadow .16s ease;
}
.special-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(var(--shadow),.18); }
.sc-media img { width: 100%; height: 205px; object-fit: cover; display: block; }
.sc-body { padding: 1.1rem 1.3rem 1.4rem; }
.sc-name { font-family: var(--f-serif); font-weight: 900; font-size: 1.4rem; color: var(--ink); margin: 0 0 .35rem; }
.sc-desc { margin: 0 0 .8rem; color: var(--ink-soft); font-size: .98rem; }
.sc-price { font-family: var(--f-serif); font-weight: 900; font-size: 1.5rem; color: var(--red); margin: 0 0 1rem; }
.no-special { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- this month (plan-ahead calendar) ---------- */
.month { padding: clamp(2.5rem,6vw,4.5rem) 0; background: var(--cream-2); }
.month-sub { color: var(--ink-soft); margin: -0.8rem 0 1.8rem; }
.cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; text-align: left; }
.cal-day {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 6px 16px rgba(var(--shadow),.08); display: flex; flex-direction: column;
}
.cal-day.is-today { border-color: var(--blue); box-shadow: 0 8px 22px rgba(63,120,181,.28); }
.cal-date { display: flex; align-items: baseline; gap: .5rem; background: var(--red); color: #fff; padding: .55rem .9rem; }
.cal-day.is-today .cal-date { background: var(--blue); }
.cal-dow { font-family: var(--f-serif); font-weight: 900; font-size: 1.05rem; }
.cal-md { font-size: .9rem; opacity: .92; }
.cal-today { margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: rgba(255,255,255,.25); padding: .1rem .5rem; border-radius: 999px; }
.cal-items { padding: .5rem .9rem .8rem; display: flex; flex-direction: column; gap: .5rem; }
.cal-item { display: flex; align-items: center; gap: .6rem; }
.cal-item img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex: none; }
.ci-name { flex: 1; font-weight: 600; font-size: .96rem; line-height: 1.2; }
.ci-price { font-family: var(--f-serif); font-weight: 900; color: var(--red); }
.month-cta { margin-top: 1.6rem; }

/* ---------- fuel sign ---------- */
.fuel { padding: clamp(2.5rem,6vw,4rem) 1.4rem; }
.fuel-sign {
  max-width: 860px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  border: 3px solid #fff; border-radius: 18px; padding: 1.6rem 1.4rem 1.2rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.2), 0 14px 30px rgba(200,32,46,.24);
}
.fs-title { font-family: var(--f-serif); font-weight: 900; color: #fff; font-size: clamp(1.3rem,3vw,1.8rem); margin: 0 0 1.1rem; }
.grades { display: flex; flex-wrap: wrap; justify-content: center; }
.grade { flex: 1 1 130px; min-width: 120px; padding: .4rem; border-right: 1px solid rgba(255,255,255,.28); }
.grade:last-child { border-right: none; }
.g-name { display: block; color: #ffdcdc; font-weight: 700; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: .25rem; }
.g-price { display: block; font-family: var(--f-serif); font-weight: 900; font-size: clamp(1.7rem,5vw,2.4rem); color: #fff; }
.as-of { color: #ffcccc; font-size: .82rem; font-style: italic; margin: .9rem 0 0; }

/* ---------- story ---------- */
.story { padding: clamp(2.8rem,6vw,5rem) 1.4rem; }
.story-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem,4vw,3.2rem); align-items: center; }
.story-text .h-serif { margin-top: .1rem; color: var(--red-deep); }
.story-copy { font-size: 1.08rem; color: var(--ink); margin: 0 0 1.1rem; }
.story-photo {
  min-height: 320px; border-radius: 16px; background-size: cover; background-position: center;
  box-shadow: 0 16px 36px rgba(var(--shadow),.22); border: 8px solid #fff; outline: 1px solid var(--line);
  transform: rotate(-1.2deg);
}
.story-photo-empty {
  display: grid; place-items: center; border: none; outline: none; transform: none;
  background: radial-gradient(120% 120% at 30% 20%, var(--red-soft), var(--red-deep));
}
.sp-emblem { text-align: center; color: #fff; line-height: 1.1; }
.sp-emblem em { display: block; font-style: normal; font-family: var(--f-sans); font-weight: 700; letter-spacing: 4px; font-size: 1rem; color: #ffdede; }
.sp-emblem b { display: block; font-family: var(--f-serif); font-weight: 900; font-size: 4rem; }
.sp-emblem span { display: block; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; opacity: .85; }

/* ---------- footer ---------- */
.site-footer { background: var(--red-deep); color: #fff; text-align: center; padding: 2.6rem 1.4rem; }
.foot-script { font-family: var(--f-script); color: #ffe0e0; font-size: 2.1rem; margin-bottom: .5rem; }
.foot-line { font-size: .98rem; opacity: .95; }
.foot-line a { color: #fff; text-decoration: underline; }
.foot-copy { margin-top: .9rem; font-size: .82rem; color: #f0b7b7; letter-spacing: .5px; }

/* ---------- entrance + reveal ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-eyebrow, .hero-title, .hero-swoosh, .hero-tag, .hero .btn-order { opacity: 0; animation: riseIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-eyebrow { animation-delay: .05s; }
.hero-title { animation-delay: .16s; }
.hero-swoosh { animation-delay: .3s; }
.hero-tag { animation-delay: .4s; }
.hero .btn-order { animation-delay: .52s; }
.js-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { min-height: 220px; order: -1; }
  .info-card { grid-template-columns: 1fr; gap: 1.2rem; }
  .info-sep { display: none; }
  .site-nav { gap: .8rem; }
  .site-nav > a:not(.btn) { font-size: .88rem; }
}
@media (max-width: 460px) {
  body { font-size: 17px; }
  .grade { border-right: none; border-bottom: 1px solid rgba(255,255,255,.22); flex-basis: 45%; }
  .site-nav > a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  .hero-eyebrow, .hero-title, .hero-swoosh, .hero-tag, .hero .btn-order, .js-reveal { opacity: 1; transform: none; }
}
