/* Landmark v2: one design system. Navy + white do the work, gold is only for actions and highlights,
   brand colours appear as small dots/stripes, never as big blocks. */
:root {
  --navy-900: #0B1A33;
  --navy-800: #0F2240;
  --navy-700: #16305A;
  --navy-600: #24477E;
  --gold: #F5B400;
  --gold-600: #D99A00;
  --gold-50: #FFF7DC;
  --ink: #0F1B2D;
  --muted: #566376;
  --line: #E3E8F0;
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --green: #1E7B45;
  --green-50: #E6F4EC;
  --sunoco: #FFD100;
  --mobil: #E4002B;
  --exxon: #D41F26;
  --chevron: #1F6FC5;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 2px 8px rgba(15, 27, 45, .05);
  --shadow-md: 0 10px 30px rgba(15, 34, 64, .10);
  --shadow-lg: 0 22px 50px rgba(15, 34, 64, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: 1; margin: 0; color: var(--navy-800); }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: 24px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; z-index: 100; }
.skip:focus { left: 12px; }
main { display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px rgba(245, 180, 0, .3); }
.btn-gold:hover { background: #FFC21A; color: var(--ink); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--navy-700); }
.btn-outline:hover { border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 26, 51, .94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: stretch; gap: 4px; }
.nav-item { display: flex; align-items: stretch; }
.nav .nav-top { display: flex; align-items: center; position: relative; padding: 0 14px; color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
.nav .nav-top::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 3px; border-radius: 3px; background: var(--gold); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav-item:hover .nav-top::after, .nav-item.is-open .nav-top::after, .nav-item:focus-within .nav-top::after { transform: scaleX(1); }
.nav .cta { align-self: center; margin-left: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.nav .cta:hover { background: #FFC21A; transform: translateY(-1px); color: var(--ink); }

/* Mega dropdown: white panel; the page behind dims and blurs */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--surface); border-top: 3px solid var(--gold); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.nav-item.is-closed .mega { opacity: 0; visibility: hidden; }
.mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(11, 26, 51, .32); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); pointer-events: none; }
.site-header .mega .wrap.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 20px; min-height: 0; padding: 22px 0 26px; }
.nav .mega a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .15s; }
.nav .mega a b { display: block; font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; color: var(--navy-800); }
.nav .mega a span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.nav .mega a:hover, .nav .mega a:focus-visible { background: var(--bg); }
.nav .mega a:hover b { color: var(--navy-600); }
.nav .mega a.mega-all b { color: var(--gold-600); }

/* ---------- Hero (home) ---------- */
.hero { padding: 20px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; padding: 56px 48px; border-radius: 32px; color: #fff; background: radial-gradient(60% 80% at 100% 0%, rgba(245, 180, 0, .18), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(36, 71, 126, .55), transparent 60%), var(--navy-800); box-shadow: var(--shadow-lg); }
.hero-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pill { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.hero h1 { color: #fff; font-size: clamp(54px, 7vw, 96px); line-height: .9; }
.hero p { font-size: 19px; color: #CFD9E8; max-width: 480px; }
.hero-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-store { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; min-height: 132px; padding: 20px; border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-md); transition: transform .2s var(--ease), box-shadow .2s; }
.hero-store::before { content: ""; position: absolute; top: 20px; left: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand, var(--gold)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand, var(--gold)) 22%, transparent); }
.hero-store > div { padding-top: 24px; }
.hero-store .city { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-store .brand { font-family: var(--head); font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; color: var(--navy-800); }
.hero-store .addr { font-size: 14px; color: var(--muted); }
.hero-store .go { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--navy-700); font-weight: 700; transition: background-color .2s, color .2s; }
.bg-sunoco { --brand: var(--sunoco); } .bg-mobil { --brand: var(--mobil); } .bg-exxon { --brand: var(--exxon); } .bg-chevron { --brand: var(--chevron); }

/* ---------- Sections ---------- */
.section { padding-top: 88px; }
.promos { padding-top: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head > span { color: var(--muted); font-size: 15px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* Quick links */
.quick { padding-top: 22px; }
.grid-tiles { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.tile svg { width: 26px; height: 26px; flex: none; }
.tile svg * { stroke: var(--navy-700); }
.tile-row { flex: 1; display: flex; justify-content: space-between; align-items: center; font-family: var(--head); font-weight: 800; font-size: 21px; text-transform: uppercase; color: var(--navy-800); }

/* ---------- Deals carousel ---------- */
.carousel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-md); }
.slides { display: flex; transition: transform .6s var(--ease); }
.slide { flex: 0 0 100%; margin: 0; }
.slide img { width: 100%; height: auto; aspect-ratio: 8 / 3; object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy-800); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-md); transition: opacity .2s, background-color .2s; }
.car-btn:hover { background: #fff; }
.car-btn.prev { left: 14px; } .car-btn.next { right: 14px; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 2px; }
.dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .25s var(--ease), background-color .25s; }
.dots button[aria-current="true"]::before { width: 24px; background: var(--gold); }
@media (any-hover: hover) { .carousel .car-btn { opacity: 0; } .carousel:hover .car-btn, .carousel:focus-within .car-btn { opacity: 1; } }

/* ---------- Fuel ---------- */
.grid-fuel { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; align-items: stretch; }
.board { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.board-link { text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.board-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 6px 10px; padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.board-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--brand, var(--gold)); }
.board-head .brand, .board-head h2 { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--navy-800); }
.board-head small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.board-more { font-size: 14px; font-weight: 700; color: var(--navy-600); white-space: nowrap; }
.grade { display: flex; align-items: center; gap: 12px; padding: 10px 20px; }
.grade + .grade { border-top: 1px solid #EEF2F7; }
.grade .code { flex: none; width: 48px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #EEF2F8; color: var(--navy-700); font-family: var(--head); font-weight: 800; font-size: 20px; }
.grade .code.special { background: var(--gold-50); color: #8A6300; }
.grade .code.diesel { background: var(--green-50); color: var(--green); }
.grade .name { display: flex; flex-direction: column; }
.grade .name b { font-size: 17px; }
.grade .name span { font-size: 14px; color: var(--muted); }

/* ---------- Inside the store ---------- */
.offer { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.offer-head { display: flex; align-items: center; gap: 12px; }
.offer-head svg { width: 30px; height: 30px; flex: none; padding: 7px; box-sizing: content-box; border-radius: 12px; background: var(--bg); }
.offer-head svg * { stroke: var(--navy-700); }
.offer-head h3 { font-size: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 15px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.chip.hot { background: var(--gold-50); border-color: #F6DE95; color: #5F4500; }
.chip.dark { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* ---------- Store finder ---------- */
.store-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.store-card iframe, .map-frame { display: block; width: 100%; height: 240px; border: 0; background: #E6EBF2; }
.store-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; }
.store-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.store-title h3 { font-size: 26px; }
.store-body p { color: var(--muted); }
.tag { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--navy-700); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.tag-sunoco { --brand: var(--sunoco); } .tag-mobil { --brand: var(--mobil); } .tag-exxon { --brand: var(--exxon); } .tag-chevron { --brand: var(--chevron); }

/* ---------- FAQ accordion ---------- */
.faq-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 12px; align-items: start; }
.qa { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 17px; color: var(--navy-800); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--navy-700); font-size: 20px; font-weight: 600; transition: transform .25s var(--ease), background-color .2s; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--ink); }
.qa p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- About + reviews ---------- */
.about { padding: 36px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.about h2 { margin-bottom: 14px; }
.about p { font-size: 18px; color: #36435A; max-width: 880px; }
#about + #review { padding-top: 18px; }
.review-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 36px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(60% 120% at 100% 0%, rgba(245, 180, 0, .16), transparent 60%), var(--navy-800); box-shadow: var(--shadow-md); }
.review-band.review-stack { flex-direction: column; align-items: flex-start; }
.review-band h2 { color: #fff; }
.review-band p { margin-top: 6px; color: #CFD9E8; }
.stars { display: flex; gap: 4px; margin-bottom: 10px; }

/* ---------- Store pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.store-photo { position: relative; margin: 18px 0 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-lg); }
.store-photo img { width: 100%; aspect-ratio: 20 / 9; object-fit: cover; }
.store-photo figcaption { position: absolute; inset: auto 0 0 0; padding: 90px 32px 28px; background: linear-gradient(to top, rgba(11, 26, 51, .88), rgba(11, 26, 51, .4) 55%, transparent); }
.store-photo h1 { color: #fff; font-size: clamp(36px, 4.6vw, 60px); text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.store-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; padding-top: 24px; }
.store-hero-text { display: flex; flex-direction: column; gap: 14px; justify-content: center; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.store-hero-text h1 { font-size: clamp(38px, 4.6vw, 58px); }
.store-addr { font-size: 19px; color: var(--muted); }
.store-hours-line { font-weight: 700; color: var(--navy-800); }
.store-hero .map-frame, .store-hero .map-ph { height: 100%; min-height: 300px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.split .board .grade { padding: 14px 22px; }
.split .board .grade .code { width: 58px; height: 48px; font-size: 23px; }
.split .board .board-head { padding: 22px 22px 18px; }
.split .board-head h2 { font-size: 34px; }
.board-mobil, .board-exxon, .board-chevron, .board { --brand: var(--gold); }
.board-head.bg-sunoco, .board-head.bg-mobil, .board-head.bg-exxon, .board-head.bg-chevron { color: inherit; }
.side { display: flex; flex-direction: column; gap: 16px; }
.side-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); }
.side-card h2 { font-size: 26px; }
.side-promo { transition: transform .2s var(--ease), box-shadow .2s; }
.side-promo .more { font-weight: 700; color: var(--navy-600); }
.mini-rotator { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-900); }
.mini-rotator img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.mini-rotator img.is-active { opacity: 1; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.hours dt { font-weight: 700; } .hours dd { margin: 0; text-align: right; color: var(--muted); }
.contact { color: var(--muted); }
.contact-phone { display: inline-block; margin-bottom: 4px; font-weight: 800; font-size: 22px; text-decoration: none; color: var(--navy-800); }
.other-store { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }
.other-store .label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.loc-list { display: flex; flex-direction: column; }
.loc-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.loc-list a:first-child { border-top: 0; }
.loc-list a b { font-weight: 700; }
.loc-list a span { font-weight: 700; color: var(--navy-600); white-space: nowrap; }
.loc-list a:hover b { color: var(--navy-600); }

/* JJB photo gallery */
.store-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; margin-bottom: 22px; aspect-ratio: 2.25 / 1; }
.store-gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-sm); }
.store-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.store-gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 26, 51, .78); color: #fff; font-weight: 700; font-size: 14px; }
.store-gallery .g-taco { grid-row: 1 / 3; }
.store-gallery .g-coffee { grid-column: 2 / 4; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 96px; background: var(--navy-900); color: #B9C5D6; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; padding: 56px 0 32px; }
.site-footer .col { display: flex; flex-direction: column; gap: 9px; }
.site-footer .col img { align-self: flex-start; height: 60px; width: auto; margin-bottom: 4px; }
.site-footer strong { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { color: #D7E0EC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { padding: 18px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8EA0B8; }

/* ---------- Hover lift (computers only) ---------- */
@media (any-hover: hover) {
  .hero-store:hover, .tile:hover, .board-link:hover, .side-promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .hero-store:hover .go { background: var(--gold); color: var(--ink); }
  .tile:hover { border-color: #CBD5E3; }
  .carousel { transition: transform .25s var(--ease), box-shadow .25s; }
  .carousel:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  .store-gallery figure:hover img { transform: scale(1.04); }
}

/* Scroll fade is driven per frame by carousel.js; only hover/shadow animate here */
.reveal, .reveal.is-visible { transition: transform .25s var(--ease), box-shadow .25s !important; transition-delay: 0ms !important; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 40px 32px; }
  .grid-tiles { grid-template-columns: repeat(2, 1fr); }
  .store-hero, .split { grid-template-columns: 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 8px; position: relative; }
  .site-header .logo img { height: 44px; }
  .nav { width: 100%; justify-content: space-between; gap: 0; }
  .nav-item { flex: 1 1 0; }
  .nav .nav-top { width: 100%; justify-content: center; padding: 12px 2px; font-size: 15px; white-space: nowrap; }
  .nav .nav-top::after { left: 10px; right: 10px; bottom: 6px; }
  .nav .cta { position: absolute; top: 12px; right: 0; margin: 0; padding: 8px 16px; min-height: 40px; font-size: 15px; }
  .site-header .mega .wrap.mega-grid { display: block; column-count: 2; column-gap: 8px; max-height: 70vh; overflow-y: auto; padding: 12px 0 16px; }
  .nav .mega a { break-inside: avoid; padding: 8px 10px; }
  .nav .mega a b { font-size: 19px; }
  .nav .mega a span { font-size: 12px; }
  .hero { padding-top: 12px; }
  .hero .wrap { width: calc(100% - 24px); padding: 30px 22px; border-radius: 26px; gap: 22px; }
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 17px; }
  .hero-stores { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-store { min-height: 118px; padding: 16px; }
  .hero-store::before { top: 16px; left: 16px; }
  .hero-store .brand { font-size: 26px; }
  .hero-store .addr, .hero-store .go { display: none; }
  .grid-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 14px; }
  .tile-row { font-size: 18px; }
  .section { padding-top: 64px; }
  .promos { padding-top: 56px; }
  .slide img { aspect-ratio: 1 / 1; }
  .carousel { padding-bottom: 58px; }
  .car-btn { top: auto; bottom: 8px; transform: none; width: 42px; height: 42px; }
  .dots { bottom: 15px; }
  .grid-fuel .board { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
  .grid-fuel .board > :not(.grade) { grid-column: 1 / -1; }
  .grid-fuel .grade { padding: 10px 14px; }
  .grid-fuel .grade + .grade { border-top: 0; }
  .board-head .brand { font-size: 26px; }
  .offer { padding: 20px; }
  .about, .review-band, .other-store { padding: 26px 22px; }
  .store-photo { border-radius: 18px; }
  .store-photo img { aspect-ratio: 16 / 11; }
  .store-photo figcaption { padding: 60px 18px 18px; }
  .store-photo h1 { font-size: 32px; }
  .store-hero-text { padding: 22px; }
  .store-gallery { display: flex; aspect-ratio: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px 22px; padding: 0 16px 6px; scrollbar-width: none; }
  .store-gallery::-webkit-scrollbar { display: none; }
  .store-gallery figure { flex: 0 0 80%; height: 240px; scroll-snap-align: start; }
}
@media (max-width: 380px) { .nav .nav-top { font-size: 14px; } .hero h1 { font-size: 46px; } }
/* Inside the store (home): 5 cards → the Winnie truck-stop card fills the last two columns, no empty gap */
@media (min-width: 1001px) { #inside .grid-3 { grid-template-columns: repeat(3, 1fr); } #inside .grid-3 > .offer:nth-child(5):last-child { grid-column: span 2; } }
/* Hero store cards: all four exactly the same size, names lined up, arrow pinned bottom-right */
.hero-stores { grid-auto-rows: 1fr; }
.hero-store { flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 150px; }
.hero-store > div { padding-top: 22px; padding-right: 40px; }
.hero-store .city { font-family: var(--head); font-size: 14px; letter-spacing: .06em; white-space: nowrap; }
.hero-store .go { position: absolute; right: 16px; bottom: 16px; }
@media (max-width: 760px) { .hero-store { min-height: 112px; } .hero-store > div { padding-right: 0; } .hero-store .city { font-size: 12.5px; letter-spacing: .03em; } }
/* Store pages: fuel card and deals card the same height, fuel rows spread evenly */
@media (min-width: 1001px) { .split { align-items: stretch; } .split > .board .grade { flex: 1; } .side-promo { height: 100%; } }
/* What's-inside shortcuts: title + short line underneath */
.tile-row small { display: block; margin-top: 2px; font-family: var(--body); font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
@media (max-width: 760px) { .tile-row small { font-size: 12px; } }
@media (max-width: 760px) {
  .tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 14px 16px; }
  .tile-row > span[aria-hidden] { display: none; }
  .tile-row { font-size: 19px; line-height: 1.05; }
}
/* Deals sit closer to the top section */
#deals { padding-top: 40px; }
@media (max-width: 760px) { #deals { padding-top: 32px; } }
/* ---------- One spacing scale for every section ---------- */
.section, .promos { padding-top: 64px; }
#deals { padding-top: 36px; }
#review { padding-top: 16px; }
.section-head { margin-bottom: 20px; }
.site-footer { margin-top: 72px; }
.store-hero + .section, .store-photo + .store-hero + .section { padding-top: 56px; }
.split { padding-top: 56px; }
@media (max-width: 760px) {
  .section, .promos { padding-top: 48px; }
  #deals { padding-top: 28px; }
  #review { padding-top: 12px; }
  .section-head { margin-bottom: 16px; }
  .site-footer { margin-top: 56px; }
  .store-hero + .section, .split { padding-top: 44px; }
}
/* Store pages: every section 56px apart */
.crumbs ~ .section { padding-top: 56px; }
@media (max-width: 760px) { .crumbs ~ .section { padding-top: 44px; } }
/* Store pages: compact address card, wider map, both exactly the same height */
@media (min-width: 1001px) {
  .store-hero { grid-template-columns: 2fr 3fr; align-items: stretch; gap: 20px; }
  .store-hero-text { padding: 26px 28px; gap: 10px; }
  .store-hero-text h1 { font-size: clamp(34px, 3.6vw, 48px); }
  .store-hero .map-frame, .store-hero .map-ph { min-height: 230px; height: 100%; }
}
@media (max-width: 1000px) { .store-hero .map-frame, .store-hero .map-ph { min-height: 240px; height: 240px; } }
@media (max-width: 760px) { .store-hero-text .btn-row { flex-wrap: nowrap; gap: 8px; } .store-hero-text .btn { padding: 10px 14px; font-size: 15px; min-height: 46px; flex: 1 1 auto; white-space: nowrap; } }
@media (max-width: 360px) { .store-hero-text .btn { font-size: 14px; padding: 10px 10px; } }
.store-gallery .g-coffee img { object-position: center 20%; }

/* "Open 24 hours" on the 24-hour stores: same font and size as the store name; top-left of the photo (FM 365), top of the card (Winnie) */
.open-top { margin: 0; font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: 1; color: var(--gold, #F5B400); }
.store-photo .open-top { position: absolute; top: 28px; left: 32px; z-index: 1; font-size: clamp(36px, 4.6vw, 60px); text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.store-photo:has(.open-top)::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 45%; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(11, 26, 51, .55), transparent); }
.store-hero-text .open-top { font-size: clamp(38px, 4.6vw, 58px); color: #C98F00; }
@media (min-width: 1001px) { .store-hero-text .open-top { font-size: clamp(34px, 3.6vw, 48px); } }
@media (max-width: 640px) { .store-photo .open-top { top: 18px; left: 18px; font-size: 32px; } }
