:root {
  --stone: #f7f1ea;
  --wine: #5c2430;
  --ink: #24181c;
  --cream: #fffaf6;
  --line: #e4d8cf;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: "Albert Sans", sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--wine); }
h1, h2, h3 { font-family: "Petrona", serif; font-weight: 600; line-height: 1.12; margin: 0 0 0.7rem; }

.mast {
  text-align: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 1rem 0.4rem;
  position: sticky;
  top: 0;
  z-index: 20;
}
.logo {
  color: var(--wine);
  text-decoration: none;
  font-family: "Petrona", serif;
  font-size: 1.7rem;
  font-weight: 600;
}
.tag { margin: 0.15rem 0 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; }
.nav-btn {
  display: inline-block;
  margin-bottom: 0.8rem;
  background: var(--wine);
  color: var(--cream);
  border: 0;
  padding: 0.5rem 0.95rem;
  font: inherit;
  cursor: pointer;
}
nav { display: none; }
nav.is-open { display: flex; flex-direction: column; padding-bottom: 0.8rem; }
nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}
nav a[aria-current="page"] { color: var(--wine); font-weight: 700; }

.center { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0; text-align: center; }
.center p { text-align: left; }
.center h1 { font-size: 2.6rem; }
.center h2 { font-size: 2rem; }

.wine { background: var(--wine); color: #f8ece8; }
.wine a { color: #f3d7c4; }
.wine .center { padding: 2.8rem 0; }

.frame { margin: 0; }
.frame img { width: 100%; height: 460px; object-fit: cover; }
.frame figcaption {
  width: min(760px, calc(100% - 2rem));
  margin: 0.6rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: #6a534c;
}

.list { text-align: left; margin: 0; padding: 0; list-style: none; }
.list li {
  padding: 0.85rem 0 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--wine);
}

.form { display: grid; gap: 0.7rem; text-align: left; }
label { font-size: 0.88rem; font-weight: 600; }
input, textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem;
  border: 1px solid #d5c4ba;
  background: white;
  color: var(--ink);
}
button[type="submit"], #modal-close {
  justify-self: start;
  background: var(--wine);
  color: white;
  border: 0;
  font: inherit;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
}
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0;
  background: rgba(36, 24, 28, 0.5);
  display: grid; place-items: center;
  z-index: 40;
  padding: 1rem;
}
.modal__card { background: var(--cream); padding: 1.4rem; width: min(420px, 100%); text-align: left; }
.modal__card h2 { font-size: 1.6rem; }

.foot { background: #3d1822; color: #f6e8e4; padding: 1.6rem 0 1.8rem; }
.foot a { color: white; }
.foot-in, .copy { width: min(760px, calc(100% - 2rem)); margin: 0 auto; text-align: center; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; }
.copy { margin-top: 1rem; font-size: 0.92rem; }

@media (min-width: 861px) {
  .nav-btn { display: none; }
  nav { display: flex; flex-direction: row; justify-content: center; gap: 1.4rem; padding-bottom: 0.9rem; }
  nav a { border: 0; padding: 0.2rem 0 0.7rem; }
  nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--wine); }
}
