/* ==========================================================
   Wroclaw Table & Glass — shared stylesheet
   Edit colours and fonts here to restyle the whole site.
   ========================================================== */

:root {
  --plum:      #3B1A28;
  --plum-soft: #5C2C40;
  --gold:      #C08A3E;
  --gold-soft: #E4C28A;
  --cream:     #FBF7F1;
  --paper:     #FFFFFF;
  --ink:       #23181C;
  --ink-soft:  #6B5B60;
  --line:      #E6DBD0;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --radius: 4px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class] { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

a { color: inherit; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.lede { font-size: 1.18rem; color: var(--ink-soft); }

/* ---------- header / nav ---------- */
.site-header {
  background: var(--plum);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(228,194,138,.25);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-size: 1.28rem;
  text-decoration: none;
  letter-spacing: .01em;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.brand span { color: var(--gold-soft); }

.nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(251,247,241,.8);
  padding: .35rem 0;
  border-bottom: 1.5px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav a:hover { color: var(--cream); }
.nav a[aria-current="page"] { color: var(--gold-soft); border-bottom-color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--plum) 0%, var(--plum-soft) 100%);
  color: var(--cream);
  padding: 5.5rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); margin: 1rem 0 1.1rem; }
.hero p { color: rgba(251,247,241,.78); font-size: 1.13rem; max-width: 46ch; margin-inline: auto; }

.hero-actions { margin-top: 2.2rem; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- page head (inner pages) ---------- */
.page-head {
  background: var(--plum);
  color: var(--cream);
  padding: 3.6rem 0 3.2rem;
  border-bottom: 3px solid var(--gold);
}
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: .7rem 0 .8rem; }
.page-head p { color: rgba(251,247,241,.75); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1.5px solid var(--gold);
  transition: background .18s, color .18s;
}
.btn--solid { background: var(--gold); color: var(--plum); }
.btn--solid:hover { background: var(--gold-soft); }
.btn--ghost { color: var(--gold-soft); }
.btn--ghost:hover { background: var(--gold); color: var(--plum); }

/* ---------- sections ---------- */
section { padding: 4.2rem 0; }
.section-head { margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: .5rem 0 .6rem; }
.section-head p { color: var(--ink-soft); max-width: 62ch; }

.alt { background: var(--paper); border-block: 1px solid var(--line); }

/* ---------- filter bar ---------- */
.filters {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  padding: 1.6rem 0 0;
}
.filter-btn {
  font: inherit;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .5rem 1.05rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn.is-active { background: var(--plum); border-color: var(--plum); color: var(--cream); }

/* ---------- cards ---------- */
.grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(59,26,40,.4); }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.card h3 { font-size: 1.35rem; }
.card .meta {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: .3rem;
}
.card p { color: var(--ink-soft); font-size: .96rem; }

.score {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--plum);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .35rem .7rem;
  line-height: 1.1;
}
.score small { display: block; font-size: .58rem; letter-spacing: .12em; color: var(--ink-soft); font-family: var(--sans); }

.card-facts {
  border-top: 1px solid var(--line);
  padding-top: .9rem;
  margin-top: auto;
  display: grid;
  gap: .35rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.card-facts div { display: flex; gap: .5rem; }
.card-facts strong {
  color: var(--ink);
  font-weight: 600;
  min-width: 74px;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-top: .12rem;
}

/* ---------- long-form review ---------- */
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2.6rem 2.1rem;
  margin-bottom: 1.6rem;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.3rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.review-head h3 { font-size: 1.85rem; }
.review-body p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.02rem; }
.review-body p:last-child { margin-bottom: 0; }
.review-body strong { color: var(--ink); font-weight: 600; }

.verdict {
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--plum);
  line-height: 1.5;
}

.stars {
  flex-shrink: 0;
  text-align: right;
  line-height: 1.2;
}
.stars b {
  display: block;
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: .12em;
  font-weight: 400;
}
.stars small {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.dim { color: var(--line); }

.review .card-facts { margin-top: 1.6rem; }

/* ---------- michelin / not-yet-visited ---------- */
.badge {
  display: inline-block;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--plum);
  color: var(--gold-soft);
  white-space: nowrap;
}
.badge--star { background: var(--gold); color: var(--plum); }
.badge--rec  { background: var(--cream); color: var(--ink-soft); border: 1px solid var(--line); }

.unrated {
  flex-shrink: 0;
  text-align: right;
  line-height: 1.2;
}
.unrated b { display: block; font-size: 1.35rem; color: var(--line); letter-spacing: .12em; font-weight: 400; }
.unrated small {
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.notice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.4rem;
}
.notice p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.notice strong { color: var(--ink); }

.tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---------- featured / pull quote ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  color: var(--plum);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}
.feature cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- numbered list ---------- */
.steps { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { border-top: 2px solid var(--gold); padding-top: 1rem; }
.step span {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
}
.step h4 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- prose ---------- */
.prose p { margin-bottom: 1.15rem; color: var(--ink-soft); }
.prose h2 { margin: 2.4rem 0 .9rem; font-size: 1.6rem; }
.prose h3 { margin: 1.8rem 0 .6rem; font-size: 1.2rem; }
.prose ul { margin: 0 0 1.15rem 1.15rem; color: var(--ink-soft); }
.prose li { margin-bottom: .45rem; }
.prose strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--plum);
  color: rgba(251,247,241,.72);
  padding: 3rem 0 2.2rem;
  font-size: .9rem;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(228,194,138,.2);
}
.site-footer h4 {
  color: var(--gold-soft);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--sans);
  margin-bottom: .9rem;
}
.site-footer a { color: rgba(251,247,241,.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer li { margin-bottom: .45rem; }
.footer-bottom { padding-top: 1.6rem; font-size: .8rem; color: rgba(251,247,241,.5); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .site-header .wrap { min-height: auto; padding-block: .9rem; }
  .nav { gap: 1.1rem; }
  .review { padding: 1.8rem 1.5rem 1.6rem; }
  .review-head h3 { font-size: 1.5rem; }
  section { padding: 3.2rem 0; }
  .hero { padding: 4rem 0 3.6rem; }
}
