
:root {
  /* TOPS brand palette — gold on black, matching the existing logo */
  --gold: #E8B23A;
  --gold-bright: #F5C84A;
  --gold-dark: #B88823;
  --black: #0A0A0A;
  --black-soft: #1A1A1A;
  --grey-900: #2D2D2D;
  --grey-700: #4A4A4A;
  --grey-500: #777;
  --grey-300: #C0C0C0;
  --grey-100: #EEE;
  --cream: #FBF6EE;
  --white: #fff;
  /* Aliases so existing rules don't break */
  --red: var(--gold);
  --red-dark: var(--gold-dark);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--grey-900); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.site-header .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 900; }
.logo-mark { background: var(--red); color: var(--white); width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; font-size: 22px; font-weight: 900; letter-spacing: -1px; }
.logo-text { font-size: 18px; line-height: 1; letter-spacing: 1px; }
.logo-text small { font-size: 10px; font-weight: 500; opacity: .7; letter-spacing: 1.5px; }
.primary-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.primary-nav a { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; opacity: .9; transition: opacity .15s; }
.primary-nav a:hover { opacity: 1; color: var(--gold); }
.order-cta { background: var(--gold); color: var(--black); text-decoration: none; padding: 10px 18px; border-radius: 6px; font-weight: 700; font-size: 15px; transition: background .15s; }
.order-cta:hover { background: var(--gold-bright); }
.order-cta .cta-label { opacity: .75; font-weight: 500; }
.logo img { display: block; height: 56px; width: auto; max-width: 140px; }

/* Hero */
.hero { background: var(--black); color: var(--white); padding: 90px 0 70px; position: relative; overflow: hidden; }
.hero.has-bg { background-size: cover; background-position: center; }
.hero.has-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.72) 50%, rgba(10,10,10,.55) 100%); z-index: 1; }
.hero.has-bg .wrap { position: relative; z-index: 2; }
.hero::after { content: ""; position: absolute; right: -100px; top: -50px; width: 400px; height: 400px; background: radial-gradient(circle, var(--gold) 0%, transparent 70%); opacity: .15; z-index: 1; }
.hero-home { padding: 130px 0 110px; }
.hero-page { padding: 80px 0 60px; }
.eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; font-weight: 900; letter-spacing: -1px; margin-bottom: 20px; max-width: 800px; }
.hero .lede { font-size: 19px; opacity: .9; max-width: 720px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 6px; text-decoration: none; font-weight: 700; transition: all .15s; font-size: 15px; }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-1px); color: var(--black); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--black); }
.text-link { color: var(--gold-dark); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Sections */
section { padding: 60px 0; }
section.features, section.signature, section.story, section.reviews, section.visit, section.prose { padding: 60px 24px; }
h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 900; letter-spacing: -.5px; margin-bottom: 14px; line-height: 1.15; }
h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.section-intro { color: var(--grey-700); font-size: 17px; max-width: 680px; margin-bottom: 28px; }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; padding-top: 50px; padding-bottom: 50px; }
.feature { background: var(--white); padding: 30px 26px; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.feature-icon { font-size: 38px; display: block; margin-bottom: 14px; }
.feature h3 { color: var(--black); margin-bottom: 8px; }
.feature p { color: var(--grey-700); font-size: 15px; }

/* Pizza grid */
.signature { background: var(--white); }
.pizza-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 16px; }
.pizza-grid.small { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pizza-card { display: block; background: var(--cream); border: 2px solid transparent; border-radius: 8px; text-decoration: none; color: var(--grey-900); transition: all .15s; overflow: hidden; }
.pizza-card:not(.has-img) { padding: 24px 22px; }
.pizza-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(232, 178, 58, .15); }
.pizza-card h3 { color: var(--black); margin-bottom: 6px; }
.pizza-card-img { width: 100%; height: 160px; background-size: cover; background-position: center; background-color: var(--grey-100); }
.pizza-card-body { padding: 18px 22px 22px; }
.pizza-card .ingredients { font-size: 14px; color: var(--grey-700); margin-bottom: 8px; }
.pizza-card .neighborhood { font-size: 12px; color: var(--grey-500); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Story */
.story { background: var(--cream); }
.story p { max-width: 760px; font-size: 17px; color: var(--grey-700); margin-bottom: 16px; }

/* Reviews */
.reviews { background: var(--white); }
.rating-summary { color: var(--gold-dark); font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.review { background: var(--cream); padding: 24px; border-radius: 8px; border-left: 4px solid var(--gold); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review p { font-style: italic; font-size: 16px; margin-bottom: 0; color: var(--grey-900); }
.review cite { font-style: normal; font-size: 14px; color: var(--black); font-weight: 700; }
.review cite span { color: var(--grey-500); font-weight: 500; margin-left: 4px; }

/* Visit */
.visit { text-align: center; background: var(--black); color: var(--white); }
.visit h2 { color: var(--white); }
.visit p { margin-bottom: 14px; opacity: .85; }
.visit .btn-secondary { margin-top: 12px; }

/* Prose */
.prose { background: var(--white); }
.prose .wrap { max-width: 760px; }
.prose .lede { font-size: 19px; color: var(--grey-700); margin-bottom: 30px; line-height: 1.5; }
.prose h2 { margin-top: 36px; margin-bottom: 14px; }
.prose h3 { margin-top: 28px; }
.prose p { margin-bottom: 16px; font-size: 16px; color: var(--grey-700); line-height: 1.65; }
.prose ul { margin-bottom: 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; color: var(--grey-700); }
.prose a { color: var(--gold-dark); }
.prose a:hover { color: var(--black); }
.prose .btn { color: var(--black); }
.prose .btn-secondary { color: var(--white); }
.text-small { font-size: 13px; color: var(--grey-500); }
.grid-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; list-style: none; padding-left: 0; }
.grid-list li { padding-left: 0; }

/* Inline figure inside prose section */
.prose-figure { margin: 24px 0; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.prose-figure img { display: block; width: 100%; height: auto; }

/* Ingredients list */
.ingredients-list { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ingredients-list li { background: var(--cream); color: var(--grey-900); padding: 6px 14px; border-radius: 100px; font-size: 14px; font-weight: 600; border: 1px solid var(--grey-100); }

/* Size list (replaces price table — prices vary per pizza) */
.size-list { list-style: none; padding: 0; max-width: 480px; margin-bottom: 14px; }
.size-list li { padding: 10px 14px; background: var(--cream); border-radius: 6px; margin-bottom: 8px; font-size: 15px; }
.size-list li strong { color: var(--black); margin-right: 8px; }

/* Service area map */
.map-embed { margin: 24px 0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Hours list — tight, scannable */
.hours { list-style: none; padding: 0; max-width: 380px; }
.hours li { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14px; line-height: 1.35; }
.hours li span:first-child { font-weight: 600; }
.hours li span:last-child { color: var(--grey-700); font-variant-numeric: tabular-nums; }

/* Third party order links */
.thirdparty { list-style: none; padding: 0; font-size: 14px; }
.thirdparty li { margin-bottom: 6px; }
.thirdparty.inline { display: flex; flex-wrap: wrap; gap: 14px; padding-left: 0; }
.thirdparty.inline li { background: var(--cream); padding: 8px 16px; border-radius: 100px; border: 1px solid var(--grey-100); }
.thirdparty a { color: var(--gold-dark); text-decoration: none; font-weight: 600; }
.thirdparty a:hover { color: var(--black); text-decoration: underline; }

.neighborhoods { list-style: none; padding: 0; font-size: 14px; columns: 2; column-gap: 16px; }
.neighborhoods li { margin-bottom: 4px; color: var(--grey-300); }
.neighborhoods em { color: var(--gold); font-style: normal; font-size: 13px; }

/* Footer */
.site-footer { background: var(--black); color: var(--grey-300); padding-top: 50px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 30px; }
.footer-grid h3 { color: var(--white); margin-bottom: 14px; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.footer-grid p { font-size: 14px; margin-bottom: 10px; }
.footer-grid a { color: var(--gold); text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.subfooter { border-top: 1px solid var(--grey-700); padding: 18px 24px; text-align: center; font-size: 13px; color: var(--grey-500); }

/* Responsive tweaks */
@media (max-width: 720px) {
  .site-header .nav { padding: 12px 16px; }
  .primary-nav { width: 100%; justify-content: center; padding-top: 6px; gap: 14px; }
  .primary-nav a { font-size: 14px; }
  .order-cta { font-size: 14px; padding: 8px 14px; }
  .hero { padding: 60px 0 50px; }
  .hero-home { padding: 70px 0 60px; }
  .neighborhoods { columns: 1; }
}
