:root{
  --bg:#F6F1E8;
  --surface:#FFFFFF;
  --text:#1F1F1F;
  --muted:#6B6B6B;
  --wine:#5A0B1A;
  --wine2:#7B1324;
  --gold:#C9A23F;
  --border:#E7DFD5;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,0.08);

  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

img{max-width:100%;height:auto}
a{color:inherit}

.container{
  width:min(var(--max), calc(100% - 2*20px));
  margin-inline:auto;
}

.h1,.h2,.h3{
  font-family:"Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing:0.2px;
  line-height:1.15;
  margin:0 0 10px 0;
}
.h1{font-size:clamp(32px, 4.5vw, 52px)}
.h2{font-size:clamp(24px, 3.2vw, 36px)}
.h3{font-size:clamp(18px, 2.2vw, 22px)}

.subtle{
  margin:0;
  color:var(--muted);
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:color-mix(in srgb, var(--bg) 86%, white 14%);
  border-bottom:1px solid var(--border);
  backdrop-filter:saturate(140%) blur(10px);
}
.site-header__inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 0;
}
.brand{
  font-family:"Playfair Display", Georgia, "Times New Roman", serif;
  font-weight:700;
  text-decoration:none;
  color:var(--text);
  white-space:nowrap;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-inline:auto;
  justify-content:center;
}
.nav__link{
  text-decoration:none;
  color:var(--muted);
  padding:9px 12px;
  border-radius:999px;
  border:1px solid transparent;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.nav__link:hover{
  color:var(--text);
  border-color:var(--border);
  background:rgba(255,255,255,0.65);
}
.nav__link.is-active{
  color:var(--wine);
  background:rgba(90,11,26,0.06);
  border-color:rgba(90,11,26,0.18);
}

.site-main{padding:28px 0 40px}
.stack{display:flex;flex-direction:column;gap:16px}
.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
@media (min-width: 880px){
  .grid--2{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(3,1fr)}
}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.card--soft{
  background:color-mix(in srgb, var(--surface) 92%, var(--bg) 8%);
}
.eyebrow{
  margin:0 0 8px 0;
  color:var(--muted);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:12px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  padding:10px 14px;
  font-weight:600;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
}
.button--primary{
  background:var(--wine);
  color:white;
}
.button--primary:hover{background:var(--wine2)}
.button--ghost{
  background:transparent;
  border-color:var(--border);
  color:var(--muted);
}
.button--ghost:hover{
  background:rgba(255,255,255,0.65);
  color:var(--text);
}

.form{display:flex;flex-direction:column;gap:12px}
.field{display:flex;flex-direction:column;gap:6px}
.label{font-weight:600}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:white;
  outline:none;
}
.input:focus{
  border-color:rgba(90,11,26,0.45);
  box-shadow:0 0 0 4px rgba(90,11,26,0.10);
}

.alert{
  margin:0;
  color:var(--wine);
  background:rgba(90,11,26,0.06);
  border:1px solid rgba(90,11,26,0.18);
  padding:10px 12px;
  border-radius:12px;
}

.hint{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.link{
  color:var(--gold);
  text-decoration:none;
  font-weight:600;
}
.link:hover{text-decoration:underline}

.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0 24px;
}
.site-footer__text{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* Auth page (index) */
.auth{
  min-height:100%;
  display:grid;
  place-items:center;
  padding:22px 0;
}
.auth__inner{
  width:min(520px, calc(100% - 2*20px));
  display:flex;
  flex-direction:column;
  gap:16px;
}
.auth__brand{text-align:center}
.auth__card{padding:18px}

/* Menu layout */
.menu{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.menu__category{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.menu__category-title{
  margin:0;
  font-family:"Playfair Display", Georgia, "Times New Roman", serif;
  font-size:18px;
}
.menu__note{margin:0;color:var(--muted);font-size:13px}
.menu__list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.menu__item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,0.7);
}
.menu__item-title{font-weight:600}
.menu__item-sub{color:var(--muted);font-size:13px;margin-top:2px}
.menu__price{
  white-space:nowrap;
  font-weight:700;
  color:var(--wine);
}

