/* San Matteo — terracotta, olive, cream */
:root {
  --cream: #f6eee0;
  --cream-2: #efe3cd;
  --paper: #fbf6ec;
  --terra: #b04a26;
  --terra-dark: #8c3517;
  --olive: #5a5f2c;
  --olive-dark: #3f4320;
  --brown: #2d1f15;
  --text: #3a2c22;
  --muted: #6e5d4f;
  --line: #dccbb0;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Lora", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--body); font-size: 1.05rem; line-height: 1.75; overflow-x: hidden;
  background-image: radial-gradient(rgba(140, 53, 23, .045) 1px, transparent 1px); background-size: 6px 6px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-dark); }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--brown); font-weight: 600; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin: .1em 0 .35em; }
h1 em, h2 em { color: var(--terra); font-style: italic; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1.6em 0 .4em; }
h3 { font-size: 1.5rem; margin: .8em 0 .3em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 6px; background: var(--brown); color: #fff; padding: 8px 12px; z-index: 99; }
.skip-link:focus { left: 6px; }
.eyebrow { font-family: var(--body); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--olive); font-weight: 600; margin: 0 0 .4em; }
.lede { font-size: 1.15rem; color: var(--muted); font-style: italic; max-width: 560px; }

.topbar { background: var(--olive-dark); color: #efe8d2; font-size: .82rem; text-align: center; padding: 7px 0; letter-spacing: .04em; }
.topbar a { color: #fff; }
.site-header { background: var(--paper); border-bottom: 3px double var(--line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 84px; gap: 16px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 2.1rem; color: var(--terra); letter-spacing: .02em; }
.brand-sub { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--olive); margin-top: 6px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a { font-family: var(--display); font-size: 1.22rem; font-weight: 600; color: var(--brown); text-decoration: none; padding: 4px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--terra); box-shadow: inset 0 -2px 0 var(--terra); }
.nav-toggle { display: none; font: inherit; background: var(--terra); color: #fff; border: 0; padding: 8px 16px; border-radius: 3px; cursor: pointer; }

.btn { display: inline-block; background: var(--terra); color: #fff; text-decoration: none; padding: 13px 26px; font-family: var(--body); font-weight: 600; font-size: .95rem; letter-spacing: .06em; border: 2px solid var(--terra); border-radius: 3px; cursor: pointer; }
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: #fff; }
.btn-line { background: transparent; color: var(--terra-dark); }
.btn-line:hover { background: var(--terra); color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--terra); padding-bottom: 1px; }
.link::after { content: " \2192"; }

.arch { border-radius: 999px 999px 6px 6px; overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(45, 31, 21, .45); }
.arch img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

.hero { padding: 70px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-art { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.stamp { position: absolute; left: -36px; bottom: 40px; width: 120px; height: 120px; border-radius: 50%; background: var(--olive); color: #f4ecd5; display: grid; place-items: center; text-align: center; font-family: var(--display); font-style: italic; font-size: 1.2rem; transform: rotate(-12deg); border: 2px dashed #c6c39a; outline: 6px solid var(--olive); }
.ribbon { background: var(--terra); color: #fbeee2; text-align: center; padding: 14px 0; font-family: var(--display); font-size: 1.3rem; font-style: italic; letter-spacing: .04em; }
.ribbon p { margin: 0; }

.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; padding-top: 90px; padding-bottom: 90px; align-items: start; }
.intro h2 { margin-top: 0; }
.intro-fig { margin: 40px 0 0; }
.intro-fig img { border-radius: 4px; border: 6px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
figcaption { font-style: italic; color: var(--muted); font-size: .9rem; margin-top: 8px; }

.dishes { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.dishes h2 { margin-top: 0; }
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 40px 0; }
.dish-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 50%; border: 5px solid var(--cream); box-shadow: 0 0 0 1px var(--line); }
.dish-grid h3 { text-align: center; font-size: 1.45rem; margin-top: .8em; }
.dish-grid p { font-size: .95rem; color: var(--muted); text-align: center; }

.feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.feature h2 { margin-top: 0; }
.feature .arch { max-width: 420px; }
.quote-band { background: var(--olive-dark); color: #f2ead3; padding: 70px 0; text-align: center; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem); font-style: italic; margin: 0 0 .3em; color: #fff; }
.quote-band footer { font-size: .95rem; color: #d7cfa8; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 80px; padding-bottom: 90px; }
.three-col > div { border-top: 3px solid var(--terra); padding-top: 14px; }

/* inner */
.phero { padding: 60px 0 40px; border-bottom: 1px solid var(--line); }
.phero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: center; }
.phero .arch { max-width: 300px; justify-self: end; width: 100%; }
.article { max-width: 780px; padding-top: 40px; padding-bottom: 70px; }
.article > h2:first-child { margin-top: .6em; }
.page-plain { padding-top: 70px; }
.wide { margin: 2em 0; }
.wide img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-radius: 4px; border: 6px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.beliefs, .event-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.5em 0; }
.beliefs > div, .event-cards > div { background: var(--paper); border: 1px solid var(--line); padding: 20px; border-radius: 4px; }
.beliefs h3, .event-cards h3 { margin-top: 0; font-size: 1.35rem; }
.beliefs p, .event-cards p { font-size: .94rem; margin: 0; }
.cta-line { margin-top: 2em; }

.menu-jump { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 26px; padding-bottom: 6px; justify-content: center; }
.menu-jump a { font-family: var(--display); font-size: 1.2rem; font-weight: 600; text-decoration: none; color: var(--olive-dark); }
.menu-jump a:hover { color: var(--terra); }
.menu { max-width: 860px; padding-bottom: 70px; }
.menu-sec { padding-top: 20px; scroll-margin-top: 110px; }
.menu-sec h2 { text-align: center; margin-bottom: .1em; }
.menu-sec h2::after { content: "\2766"; display: block; font-size: 1.2rem; color: var(--terra); margin-top: 4px; }
.sec-note { text-align: center; font-style: italic; color: var(--muted); }
.sub { font-size: 1.3rem; color: var(--olive); margin-top: 1.2em; }
.items { list-style: none; padding: 0; margin: 0; }
.items li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.item-head { display: flex; align-items: baseline; gap: 10px; }
.item-head h3 { margin: 0; font-size: 1.35rem; }
.dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-5px); min-width: 20px; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--terra); }
.items p { margin: 2px 0 0; font-size: .95rem; color: var(--muted); }
.menu-fig { margin: 40px 0 10px; }
.menu-fig img { aspect-ratio: 21 / 9; object-fit: cover; width: 100%; border-radius: 4px; }
.small-print { font-size: .85rem; color: var(--muted); font-style: italic; margin-top: 2em; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { text-align: left; padding: 10px 6px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.hours th { font-weight: 600; color: var(--brown); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--terra); padding: 30px; margin-top: 40px; align-self: start; border-radius: 4px; }
.form-card h2 { margin-top: 0; }
.form { display: grid; gap: 4px; }
.form label { font-weight: 600; font-size: .9rem; margin-top: 10px; color: var(--brown); }
.form input, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid #c9b595; background: #fff; border-radius: 3px; width: 100%; color: var(--text); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form button { margin-top: 16px; justify-self: start; }

.site-footer { background: var(--brown); color: #dccdb6; padding: 64px 0 26px; font-size: .95rem; }
.site-footer a { color: #f3d9c6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 36px; }
.footer-brand { font-family: var(--display); font-size: 2rem; color: #fff; margin: 0 0 .2em; font-weight: 700; }
.site-footer h2 { font-family: var(--body); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: #d79a7a; margin: 0 0 .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #4a3828; margin-top: 44px; padding-top: 20px; font-size: .85rem; }
.footer-base p { margin: 0; }

@media (max-width: 1000px) {
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 3px double var(--line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 6px 22px 16px; }
  .site-nav a { display: block; padding: 10px 0; border-bottom: 1px dashed var(--line); }
  .hero-grid, .intro, .feature, .phero-grid, .contact-grid, .three-col, .beliefs, .event-cards { grid-template-columns: 1fr; gap: 36px; }
  .phero .arch { justify-self: start; max-width: 220px; }
  .stamp { left: -6px; width: 96px; height: 96px; font-size: 1rem; }
  .hero, .intro, .feature, .three-col { padding-top: 50px; padding-bottom: 50px; }
}
@media (max-width: 520px) {
  .dish-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.7rem; }
  .brand-sub { letter-spacing: .18em; }
  .form .row { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .topbar { font-size: .74rem; }
}
