/* Little Christo's Pizza - site styles (v1) */

:root {
  --red: #B8322A;
  --red-dark: #97271F;
  --cream: #F6EBD7;
  --cream-deep: #EFDFC4;
  --yellow: #F2C94C;
  --ink: #231B17;
  --ink-soft: #4A3B34;
  --line: rgba(35, 27, 23, 0.16);
  --maxw: 1180px;
  --pad: clamp(18px, 4vw, 40px);
  --radius: 14px;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-display: "Shrikhand", Georgia, serif;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-normal-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-italic-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Shrikhand";
  src: url("fonts/shrikhand-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:not(.btn):hover { color: var(--red-dark); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h2 {
  font-family: var(--font-body);
  font-stretch: 76%;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: 0.005em;
}
h3 {
  font-stretch: 84%;
  font-weight: 700;
  font-size: 1.2rem;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 300;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-stretch: 88%;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #f7d678; color: var(--ink); }
.btn--ghost-cream { background: transparent; color: var(--cream); border-color: rgba(246, 235, 215, 0.7); }
.btn--ghost-cream:hover { border-color: var(--cream); color: #fff; }
.btn--ghost-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn--ghost-red:hover { background: var(--red); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: block; line-height: 0; flex: 0 0 auto; }
.brand img {
  height: 72px;
  width: auto;
  transition: height 0.25s ease;
}
.site-header.is-scrolled .brand img { height: 44px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 700;
  font-stretch: 85%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.main-nav .btn { margin-left: 6px; padding: 11px 22px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  font-stretch: 85%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* ---------- Checker strips ---------- */
.checker-rw {
  height: 18px;
  background: repeating-conic-gradient(#fff 0% 25%, var(--red) 0% 50%) 0 0 / 24px 24px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.checker-bwy {
  height: 18px;
  background:
    repeating-conic-gradient(from 45deg, var(--ink) 0% 25%, #fff 0% 50%) 0 0 / 24px 24px;
  position: relative;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.checker-bwy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 72px, var(--yellow) 72px 96px);
  mix-blend-mode: normal;
  opacity: 0.9;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--red);
  color: var(--cream);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(32px, 6vw, 72px);
}
.hero h1 { margin: 0 0 0.35em; }
.hero .h-heavy {
  display: block;
  font-family: var(--font-body);
  font-stretch: 72%;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7.2vw, 5rem);
  letter-spacing: 0.01em;
  color: #fff;
}
.hero .h-script {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.6vw, 4.6rem);
  color: var(--yellow);
  transform: rotate(-2deg);
  margin-top: 0.05em;
}
.hero p.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 34em;
  color: var(--cream);
}
.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 1.4em; }
.hero-photo {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: 10px 10px 0 rgba(35, 27, 23, 0.35);
}
.hero-photo img { width: 100%; height: auto; }

/* ---------- Sections ---------- */
section { padding: clamp(40px, 7vw, 84px) 0; }
.section-head { max-width: 46em; margin-bottom: 1.6em; }
.section-head p { font-size: 1.08rem; color: var(--ink-soft); }

/* Serve split */
.serve .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.serve-photo {
  margin-left: calc(-1 * var(--pad));
  border: 3px solid var(--ink);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  overflow: hidden;
  background: var(--cream-deep);
}
.serve-photo img { width: 100%; height: auto; }

/* History row */
.history { background: var(--cream-deep); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.history ol {
  list-style: none;
  margin: 2em 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 36px);
}
.history li {
  border-top: 4px solid var(--red);
  padding-top: 14px;
}
.history .year {
  display: block;
  font-family: var(--font-body);
  font-stretch: 74%;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--red);
}
.history p { margin: 0.35em 0 0; font-size: 0.98rem; color: var(--ink-soft); }

/* Deals rail */
.deals .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.rail-controls { display: flex; gap: 10px; margin-top: 1.2em; }
.rail-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease;
}
.rail-btn:hover { background: var(--yellow); }
.rail-btn:disabled { opacity: 0.35; cursor: default; background: var(--cream); }
.deal-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 260px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 18px;
  scrollbar-width: thin;
}
.deal-card {
  scroll-snap-align: start;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.deal-card .deal-no {
  font-family: var(--font-body);
  font-stretch: 74%;
  font-weight: 900;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--red);
}
.deal-card .deal-price {
  font-weight: 800;
  font-stretch: 84%;
  font-size: 1.15rem;
}
.deal-card p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.deal-card .deal-note { font-size: 0.88rem; color: var(--ink-soft); }

/* Dark band (gift cards) */
.giftband {
  background: var(--ink);
  color: var(--cream);
  position: relative;
}
.giftband h2 { color: var(--cream); }
.giftband .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.giftband p { color: rgba(246, 235, 215, 0.85); }
.gift-card-frame {
  background: var(--cream);
  border: 3px solid var(--yellow);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  max-width: 420px;
}
.gift-card-frame img { width: 100%; height: auto; }

/* Photo break */
.photo-break { padding: 0; }
.photo-break img { width: 100%; height: auto; display: block; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }

/* Box lid (signature) */
.boxlid {
  background:
    repeating-linear-gradient(0deg, rgba(35, 27, 23, 0.035) 0 3px, transparent 3px 7px),
    var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  text-align: center;
  padding: 0;
}
.boxlid .lid-inner { padding: clamp(36px, 6vw, 72px) var(--pad); }
.boxlid img.lockup { margin: 0 auto 18px; max-width: min(560px, 88%); height: auto; }
.boxlid .lid-call {
  display: inline-block;
  font-stretch: 78%;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--red);
  text-decoration: none;
  border-bottom: 4px solid var(--yellow);
  padding: 0 4px 2px;
}
.boxlid .lid-call:hover { color: var(--red-dark); }
.boxlid p { margin: 1em auto 0; max-width: 34em; color: var(--ink-soft); }

/* Placeholders */
.placeholder {
  border: 3px dashed var(--red);
  border-radius: var(--radius);
  background: rgba(184, 50, 42, 0.05);
  padding: 26px;
  color: var(--ink-soft);
}
.placeholder strong { display: block; color: var(--red); font-stretch: 84%; font-weight: 800; margin-bottom: 6px; }
.placeholder--light { border-color: var(--yellow); background: rgba(242, 201, 76, 0.08); color: rgba(246, 235, 215, 0.85); }
.placeholder--light strong { color: var(--yellow); }

/* Photo figures (never zoomed, frames hug the image) */
.photo-grid {
  display: grid;
  gap: clamp(14px, 2.5vw, 28px);
  align-items: start;
}
.photo-grid--2 { grid-template-columns: 1fr 1fr; }
.photo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.frame {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
}
.frame img { width: 100%; height: auto; }

/* ---------- Menu page ---------- */
.menu-note {
  background: var(--cream-deep);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 46em;
}
.menu-section { padding: clamp(32px, 5vw, 56px) 0; border-top: 2px solid var(--line); }
.menu-section:first-of-type { border-top: none; }
.size-cols {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 6px 22px;
  align-items: baseline;
}
.size-cols .col-head {
  font-weight: 800;
  font-stretch: 84%;
  font-size: 0.9rem;
  color: var(--red);
  text-align: right;
}
.menu-item { padding: 12px 0; border-bottom: 1px dashed var(--line); align-self: stretch; }
.menu-item .item-name { font-weight: 700; font-stretch: 88%; font-size: 1.05rem; }
.menu-item .item-desc { font-size: 0.94rem; color: var(--ink-soft); margin: 2px 0 0; }
.menu-item .price { font-weight: 700; text-align: right; white-space: nowrap; }
.menu-item .price small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.menu-list .price { font-weight: 700; white-space: nowrap; text-align: right; }
.menu-list .item-desc { display: block; font-size: 0.94rem; color: var(--ink-soft); margin: 2px 0 0; }
.size-cols > .price { border-bottom: 1px dashed var(--line); padding: 12px 0; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.size-cols > .col-head { border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.menu-photo { max-width: 560px; margin: 26px auto 0; }
.their-words {
  background: var(--red);
  color: var(--cream);
  text-align: center;
}
.their-words blockquote {
  margin: 0 auto;
  max-width: 40em;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--cream);
}
.their-words p { margin: 1em 0 0; color: rgba(246, 235, 215, 0.85); }

/* ---------- Story page ---------- */
.story-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px) 0;
  border-top: 2px solid var(--line);
}
.story-block:first-of-type { border-top: none; }
.story-block--flip .story-text { order: 2; }
.story-block--flip .story-photo { order: 1; }

/* ---------- Visit page ---------- */
.hours-table { border-collapse: collapse; width: 100%; max-width: 460px; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 9px 12px 9px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 400;
}
.hours-table th { font-weight: 700; font-stretch: 88%; }
.hours-table td:last-child { text-align: right; }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.faq details {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
  padding: 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-stretch: 88%;
  padding: 14px 18px;
  list-style-position: inside;
}
.faq details > div { padding: 0 18px 16px; color: var(--ink-soft); }
.map-frame {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
}
.map-frame iframe { display: block; width: 100%; height: 360px; border: 0; }

/* Forms */
.contact-form {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
}
.contact-form label { display: block; font-weight: 700; font-stretch: 88%; margin: 0 0 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  font: inherit;
  padding: 11px 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  margin-bottom: 16px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--red);
  color: var(--cream);
}
.site-footer a { color: var(--cream); }
.site-footer a:not(.btn):hover { color: var(--yellow); }
.footer-top { padding: clamp(36px, 6vw, 64px) 0 30px; }
.footer-logo { max-width: 260px; margin-bottom: 30px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 48px);
}
.footer-cols h3 {
  font-stretch: 76%;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--yellow);
  margin-bottom: 0.7em;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-cols p { margin: 0 0 8px; color: rgba(246, 235, 215, 0.85); font-size: 0.95rem; }
.footer-base {
  border-top: 1px solid rgba(246, 235, 215, 0.35);
  padding: 18px 0 22px;
  font-size: 0.9rem;
  color: rgba(246, 235, 215, 0.8);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.footer-base .credit a { color: rgba(246, 235, 215, 0.8); text-decoration: underline; }

/* Sticky call bar (phones) */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  background: var(--red);
  border-top: 2px solid var(--ink);
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
}
.call-bar a {
  display: block;
  text-align: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-stretch: 84%;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 13px;
  border-radius: 999px;
}

/* Utility pages */
.utility-main { padding: clamp(48px, 8vw, 96px) 0; text-align: center; }
.utility-main .h-script {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: var(--red);
}

/* Reveal motion (JS adds .reveal; CSS only styles the armed state) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .history ol { grid-template-columns: 1fr 1fr; }
  .deals .wrap, .serve .wrap, .giftband .wrap, .visit-grid, .story-block { grid-template-columns: 1fr; }
  .story-block--flip .story-text { order: 1; }
  .story-block--flip .story-photo { order: 2; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .photo-grid--3 { grid-template-columns: 1fr 1fr; }
  .serve-photo { margin-left: 0; border-left: 3px solid var(--ink); border-radius: var(--radius); }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--red); }
  .main-nav .btn { margin: 14px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .brand img { height: 54px; }
  .site-header.is-scrolled .brand img { height: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .call-bar { display: block; }
  body { padding-bottom: 64px; }
  .photo-grid--2, .photo-grid--3 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .size-cols { gap: 4px 12px; }
  .menu-item .price small { display: none; }
}
