/* Osteria della Sera — warm, expressive */

:root {
  --cream: #f6ecd7;
  --cream-2: #eee2c8;
  --paper: #fffaf0;
  --wine: #6b1a1d;
  --wine-2: #8a2a2e;
  --wine-ink: #4a1215;
  --ink: #28201b;
  --ink-soft: #4a3f34;
  --muted: #8a7d6c;
  --olive: #6e6a3a;
  --amber: #c98a2b;
  --amber-2: #a96f1a;

  --font-display: "Playfair Display", "Iowan Old Style", "Palatino", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;

  --max: 1200px;
  --measure: 640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--wine); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,236,215,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107,26,29,.12);
  padding: 14px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: .01em;
  color: var(--wine);
}
.nav ul { list-style: none; display: flex; gap: 32px; font-size: .92rem; font-weight: 500; }
.nav ul a { color: var(--ink-soft); }
.nav ul a:hover { color: var(--wine); }
.nav .reserve {
  padding: 10px 20px;
  background: var(--wine);
  color: var(--paper);
  font-weight: 600;
  letter-spacing: .02em;
  font-size: .92rem;
  transition: background .2s;
}
.nav .reserve:hover { background: var(--wine-2); color: var(--paper); }

@media (max-width: 820px) { .nav ul { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: background .2s, color .2s, transform .15s;
  cursor: pointer;
  border: 0;
}
.btn.primary { background: var(--wine); color: var(--cream); }
.btn.primary:hover { background: var(--wine-2); color: var(--paper); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--wine); border: 1.5px solid var(--wine); padding: 12.5px 26px; }
.btn.ghost:hover { background: var(--wine); color: var(--paper); }
.btn.light { background: var(--cream); color: var(--wine); }
.btn.light:hover { background: var(--paper); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-style: italic; }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: 1.4rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber-2);
  font-weight: 600;
  display: inline-block;
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
}

.handwritten {
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--amber-2);
  line-height: 1;
}

/* Amber rule */
.amber-rule {
  width: 48px; height: 1.5px;
  background: var(--amber);
  display: block;
  margin-bottom: 20px;
}
.centered .amber-rule { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid rgba(107,26,29,.2);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center;
  filter: brightness(.55) saturate(.9);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,32,27,.3) 0%, rgba(40,32,27,0) 40%, rgba(40,32,27,.75) 100%);
}
.hero .wrap {
  position: relative; z-index: 2;
  padding-top: 160px; padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.hero .eyebrow { color: var(--amber); margin-bottom: 24px; }
.hero h1 {
  max-width: 16ch;
  color: var(--cream);
  line-height: 1;
}
.hero .lede {
  color: rgba(246,236,215,.9);
  margin-top: 28px;
  font-style: italic;
}
.hero .actions {
  margin-top: 40px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero .card {
  background: var(--wine);
  color: var(--cream);
  padding: 28px 32px;
  max-width: 320px;
  border-top: 2px solid var(--amber);
}
.hero .card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 10px;
  color: var(--amber);
}
.hero .card p { font-size: .92rem; line-height: 1.55; }
.hero .card dl {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: .88rem;
}
.hero .card dt { color: var(--amber); font-weight: 500; }
.hero .card dd { color: var(--cream); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 60px; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }

.head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.head h2 { margin-top: 18px; font-style: italic; }
.head p { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- This week dishes ---------- */
.dishes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.dish {
  background: var(--paper);
  padding: 28px;
  position: relative;
  border: 1px solid rgba(107,26,29,.1);
  display: flex; flex-direction: column;
}
.dish img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 24px;
}
.dish .tag {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--amber-2);
  margin-bottom: 6px;
}
.dish h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.dish p { color: var(--ink-soft); font-size: .95rem; flex-grow: 1; margin-bottom: 18px; }
.dish .meta {
  display: flex; justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(107,26,29,.15);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--wine);
}
.dish .meta .price { font-weight: 500; }
@media (max-width: 820px) { .dishes { grid-template-columns: 1fr; } }

/* ---------- Story band ---------- */
.story {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: center;
  padding: 110px 0;
  background: var(--cream-2);
  position: relative;
}
.story .image {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-image: url("https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1200&q=80");
}
.story .text h2 { font-style: italic; margin: 18px 0 24px; }
.story .text p { color: var(--ink-soft); max-width: 50ch; margin-bottom: 1.1rem; }
.story .text p.sign {
  font-family: var(--font-hand);
  color: var(--wine);
  font-size: 1.7rem;
  margin-top: 16px;
}
@media (max-width: 820px) { .story { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Visit card ---------- */
.visit {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--wine);
  color: var(--cream);
}
.visit .info { padding: 72px 56px; }
.visit .info .eyebrow { color: var(--amber); }
.visit .info h2 { color: var(--cream); font-style: italic; margin-top: 18px; }
.visit .info dl {
  margin-top: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 32px;
  font-size: .98rem;
}
.visit .info dt { font-family: var(--font-display); font-style: italic; color: var(--amber); }
.visit .info dd { color: var(--cream); }
.visit .info p { margin-top: 28px; color: rgba(246,236,215,.82); max-width: 42ch; }
.visit .map {
  background-image:
    linear-gradient(135deg, rgba(107,26,29,.65) 0%, rgba(40,32,27,.45) 100%),
    url("https://images.unsplash.com/photo-1534237710431-e2fc698436d0?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 400px;
}
.visit .map .pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--cream);
  color: var(--wine);
  padding: 14px 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .98rem;
  letter-spacing: .01em;
  border-top: 2px solid var(--amber);
  white-space: nowrap;
}
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } .visit .info { padding: 48px 28px; } }

/* ---------- CTA band ---------- */
.cta {
  text-align: center;
  padding: 120px 28px;
  background: var(--cream);
  border-top: 1px solid rgba(107,26,29,.15);
  border-bottom: 1px solid rgba(107,26,29,.15);
}
.cta .amber-rule { margin: 0 auto 24px; }
.cta h2 { font-style: italic; margin-bottom: 24px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 32px; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 36px;
}
footer .grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,236,215,.15);
}
footer .brand { color: var(--amber); }
footer p { margin-top: 12px; font-size: .92rem; color: rgba(246,236,215,.7); max-width: 36ch; }
footer h5 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--amber);
  margin-bottom: 14px;
}
footer ul { list-style: none; display: grid; gap: 6px; font-size: .92rem; color: rgba(246,236,215,.8); }
footer ul a:hover { color: var(--amber); }
footer .base {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: rgba(246,236,215,.55);
}
@media (max-width: 820px) { footer .grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Menu page ---------- */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { max-width: 22ch; margin: 0 auto; }
.page-hero p { color: var(--ink-soft); max-width: 48ch; margin: 28px auto 0; font-style: italic; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; }

.menu-block { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.menu-section { padding: 60px 0; border-bottom: 1px solid rgba(107,26,29,.15); }
.menu-section:last-child { border-bottom: 0; }
.menu-section h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--wine);
}
.menu-section .amber-rule { margin-bottom: 32px; }
.menu-section .intro {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 44em;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(107,26,29,.2);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--ink);
}
.menu-item p { color: var(--ink-soft); font-size: .95rem; }
.menu-item .price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--wine);
  white-space: nowrap;
  align-self: start;
  padding-top: 6px;
}

.menu-note {
  background: var(--paper);
  border-top: 2px solid var(--amber);
  padding: 28px 32px;
  margin-top: 48px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Reserve page ---------- */
.reserve-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px;
  align-items: start;
  padding: 60px 0 100px;
}
form.reserve {
  display: grid; gap: 22px;
}
form.reserve label {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--wine);
  font-size: 1rem;
  display: block;
  margin-bottom: 8px;
}
form.reserve input, form.reserve select, form.reserve textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  background: var(--paper);
  border: 1.5px solid rgba(107,26,29,.2);
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color .2s;
}
form.reserve input:focus, form.reserve select:focus, form.reserve textarea:focus { border-color: var(--wine); }
form.reserve .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
form.reserve textarea { resize: vertical; min-height: 100px; }
form.reserve .slot-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
form.reserve .slot {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--paper);
  border: 1.5px solid rgba(107,26,29,.2);
  cursor: pointer;
  transition: all .15s;
  font-size: .92rem;
}
form.reserve .slot:hover { border-color: var(--wine); color: var(--wine); }
form.reserve .slot.on { background: var(--wine); color: var(--cream); border-color: var(--wine); }
form.reserve button[type=submit] {
  justify-self: start;
  margin-top: 10px;
  padding: 16px 32px;
  background: var(--wine);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
form.reserve button[type=submit]:hover { background: var(--wine-2); }
.reserve-aside {
  padding: 36px 40px;
  background: var(--paper);
  border-top: 2px solid var(--amber);
}
.reserve-aside h3 { font-family: var(--font-display); font-style: italic; color: var(--wine); margin-bottom: 12px; font-size: 1.6rem; }
.reserve-aside dl {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  font-size: .95rem;
}
.reserve-aside dt {
  font-family: var(--font-display); font-style: italic; color: var(--wine);
}
.reserve-aside dd { color: var(--ink-soft); }
.reserve-aside .phone {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--wine);
  font-style: italic;
}
.form-status {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--amber-2);
  font-size: 1rem;
}
@media (max-width: 820px) { .reserve-grid { grid-template-columns: 1fr; gap: 48px; padding: 40px 0 60px; } form.reserve .row { grid-template-columns: 1fr; } }

/* ---------- Story page ---------- */
.story-hero {
  padding: 90px 0;
  text-align: center;
}
.story-body { max-width: 640px; margin: 0 auto; padding: 0 28px; }
.story-body .prose p { margin-bottom: 1.3rem; color: var(--ink-soft); }
.story-body .prose p.first::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4.4rem;
  line-height: .9;
  float: left;
  margin-right: 12px;
  color: var(--wine);
}
.story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 60px auto;
  max-width: var(--max);
  padding: 0 28px;
}
.story-images img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Seal graphic */
.seal {
  width: 110px; height: 110px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}
.seal::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(201,138,43,.5);
  border-radius: 50%;
}
.seal span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .88rem;
  line-height: 1.2;
  color: var(--amber);
  padding: 0 8px;
}

/* -------- Mitchcreates credit -------- */
.built-by {
  text-align: center;
  padding: 18px 20px;
  font-size: 12px;
  letter-spacing: .04em;
  opacity: .55;
  font-weight: 500;
}
.built-by a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .2s ease;
}
.built-by a:hover { opacity: 1; }
.built-by .heart {
  color: #e25454;
  font-size: 13px;
  display: inline-block;
  transform: translateY(1px);
  margin: 0 2px;
}
