/* PizUp - Frosinone. Palette read off the shopfront sign: near-black box, thin gold frame,
   red script lettering, terracotta brickwork, the cream of the paper a slice is served on. */

:root {
  --ink:        #17120F;
  --ink-soft:   #2C221C;
  --rosso:      #CE3A24;
  --rosso-dark: #A72C19;
  --oro:        #C8A24A;
  --terra:      #C2551F;
  --carta:      #F7F0E4;
  --carta-2:    #EFE4D2;
  --testo:      #2A211C;
  --muted:      #6C5B4E;
  --line:       rgba(23, 18, 15, .14);
  --shadow:     0 1px 2px rgba(23,18,15,.06), 0 8px 28px rgba(23,18,15,.08);
  --wrap:       1120px;
  --r:          14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--carta);
  color: var(--testo);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rosso-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--rosso);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--ink);
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--carta);
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 99;
}
.skip:focus { left: 0; top: 0; }

/* ---------- wordmark ---------- */

.mark {
  display: inline-flex; align-items: center; gap: .5ch;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 700; font-style: italic;
  letter-spacing: .01em;
  color: var(--rosso);
  text-decoration: none;
  font-size: 1.42rem;
}
.mark .dash { color: var(--oro); font-style: normal; font-weight: 400; }

/* ---------- header ---------- */

.topbar {
  background: var(--ink);
  border-bottom: 2px solid var(--oro);
}
.topbar .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0;
}
.topbar .mark { color: #F2C7BC; }
.topbar .tel {
  color: var(--carta); text-decoration: none;
  font-weight: 650; font-size: .98rem;
  border: 1px solid rgba(247,240,228,.32);
  padding: 8px 16px; border-radius: 999px;
  white-space: nowrap;
}
.topbar .tel:hover { background: rgba(247,240,228,.1); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--carta);
  overflow: hidden;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 52px;
  align-items: center;
  padding: 72px 0 76px;
}
.hero h1 {
  color: #FFF7EC;
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--rosso); font-style: italic; }
.hero p.lede {
  font-size: clamp(1.04rem, 2.1vw, 1.2rem);
  color: rgba(247,240,228,.86);
  margin: 0 0 26px;
  max-width: 46ch;
}
.hero .shot {
  border-radius: var(--r);
  border: 1px solid rgba(200,162,74,.4);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  aspect-ratio: 1000 / 862;
  object-fit: cover;
  width: 100%;
}

.stat-row {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 0 0 28px; padding: 0; list-style: none;
  color: rgba(247,240,228,.78); font-size: .95rem;
}
.stat-row li { display: flex; align-items: baseline; gap: .5ch; }
.stat-row b { color: var(--oro); font-size: 1.06rem; font-weight: 700; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6ch;
  font: inherit; font-weight: 650;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .16s ease, background-color .16s ease, color .16s ease;
}
.btn-primary { background: var(--rosso); color: #FFF7EC; }
.btn-primary:hover { background: var(--rosso-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(247,240,228,.4); color: var(--carta); }
.btn-ghost:hover { background: rgba(247,240,228,.1); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--carta); }
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-1px); }

/* ---------- sections ---------- */

section { padding: 68px 0; }
section.alt { background: var(--carta-2); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--terra);
  margin: 0 0 12px;
}
h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); margin-bottom: 14px; }
.sec-lede { max-width: 62ch; color: var(--muted); margin: 0 0 34px; }

/* story */

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.story .txt p { max-width: 52ch; }
.story figure { margin: 0; }
.story img { border-radius: var(--r); box-shadow: var(--shadow); }
.story figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* banco / what we sell */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; }
.card h3 { font-size: 1.16rem; margin-bottom: 7px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* quotes */

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
blockquote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--oro);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
blockquote p { margin: 0 0 14px; font-size: 1.02rem; }
blockquote cite { font-style: normal; font-size: .84rem; color: var(--muted); }
blockquote cite b { color: var(--testo); font-weight: 650; }

/* hours + contact */

.info { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }

.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 650; padding-bottom: 12px; }
.hours th, .hours td {
  text-align: left; padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  font-size: .97rem;
}
.hours th { font-weight: 600; color: var(--testo); width: 42%; }
.hours td { color: var(--muted); }
.hours tr.closed td { color: var(--terra); }
.note { font-size: .87rem; color: var(--muted); margin-top: 14px; }

.contact dl { margin: 0; }
.contact dt {
  text-transform: uppercase; letter-spacing: .13em;
  font-size: .7rem; font-weight: 700; color: var(--terra);
  margin-top: 20px;
}
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: 5px 0 0; font-size: 1.04rem; }
.contact dd a { font-weight: 650; }

/* footer */

footer {
  background: var(--ink);
  color: rgba(247,240,228,.72);
  padding: 46px 0 40px;
  border-top: 2px solid var(--oro);
  font-size: .92rem;
}
footer .row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
footer a { color: #F2C7BC; }
footer .fine { margin-top: 26px; font-size: .8rem; color: rgba(247,240,228,.5); max-width: 62ch; }

/* 404 */

.oops { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.oops h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 14px; }
.oops p { color: var(--muted); max-width: 44ch; margin: 0 auto 26px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 56px; }
  .story, .info { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  section { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .topbar .row { padding: 12px 0; }
  .topbar .tel { padding: 7px 13px; font-size: .88rem; }
  .mark { font-size: 1.24rem; }
  .cta-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}
