/* ===== Warka — design system ===== */
:root {
  --parchment: #f3ece0;
  --parchment-deep: #ece1cf;
  --card: #fbf7ee;
  --ink: #43382a;
  --ink-soft: #6b5c48;
  --terracotta: #b0432a;
  --terracotta-deep: #8f341f;
  --olive: #6b7d43;
  --gold: #c99a3f;
  --line: #cdbfa6;
  --shadow: 0 10px 30px rgba(67, 56, 42, 0.10);
  --serif-display: "Cormorant Garamond", Georgia, serif;
  --serif-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --maxw: 960px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(201, 154, 63, 0.06), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(107, 125, 67, 0.06), transparent 45%);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-deep); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(243, 236, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--serif-display);
  font-size: 1.7rem; font-weight: 600; color: var(--ink);
  letter-spacing: 0.02em;
}
.nav__brand:hover { color: var(--ink); }
.nav__mark { display: block; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  color: var(--ink-soft); font-size: 1.05rem; letter-spacing: 0.03em;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s, color .2s;
}
.nav__links a:hover { color: var(--terracotta); border-color: var(--gold); }
.nav__cta {
  color: var(--terracotta) !important; font-variant: small-caps; letter-spacing: 0.08em;
}

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); display: block; transition: .25s; }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--parchment-deep); border-bottom: 1px solid var(--line);
  position: sticky; top: 57px; z-index: 19;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.9rem 1.5rem; color: var(--ink); border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ===== Decorative rule ===== */
.rule {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin: 0.9rem auto 1.4rem; max-width: 220px;
}
.rule::before, .rule::after {
  content: ""; height: 1px; flex: 1; background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.rule__diamond { color: var(--gold); font-size: 0.7rem; padding: 0 0.7rem; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: clamp(2.5rem, 8vw, 5.5rem) 1.5rem clamp(2rem, 6vw, 4rem);
}
.hero__inner { max-width: 640px; margin: 0 auto; }
.hero__tree { margin: 0 auto 0.5rem; width: clamp(150px, 34vw, 220px); height: auto; }
.hero__title {
  font-family: var(--serif-display);
  font-weight: 600; font-size: clamp(4rem, 16vw, 8rem);
  line-height: 0.95; margin: 0; color: var(--ink); letter-spacing: 0.01em;
}
.hero__tagline {
  font-style: italic; font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--ink-soft); margin: 0 0 2rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--serif-body); font-size: 1.05rem; letter-spacing: 0.06em;
  font-variant: small-caps; text-transform: lowercase;
  padding: 0.7rem 1.6rem; border-radius: 2px; cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--terracotta); color: #fdf6ea; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--terracotta-deep); color: #fdf6ea; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--terracotta); }

/* ===== Sections ===== */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem;
  text-align: center;
}
.section__title {
  font-family: var(--serif-display);
  font-weight: 500; font-size: clamp(2rem, 6vw, 3rem);
  color: var(--terracotta); margin: 0; letter-spacing: 0.02em;
}
.section__lead {
  max-width: 620px; margin: 0 auto 2rem; color: var(--ink-soft); font-size: 1.15rem;
}

/* ===== Story ===== */
.story__body { max-width: 620px; margin: 0 auto; }
.story__body p {
  font-size: clamp(1.2rem, 3.2vw, 1.55rem); font-style: italic;
  line-height: 1.7; color: var(--ink); margin: 0 0 1rem;
}

/* ===== Menu ===== */
.menu__group { margin-top: 2.6rem; }
.menu__heading {
  font-family: var(--serif-display); font-weight: 600;
  font-size: 1.7rem; color: var(--olive); margin: 0 0 1.4rem;
  font-variant: small-caps; letter-spacing: 0.08em;
}
.menu__list {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 760px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem;
  text-align: left;
}
.dish {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 4px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow);
}
.dish__name {
  font-family: var(--serif-display); font-weight: 600; font-size: 1.4rem;
  margin: 0 0 0.3rem; color: var(--ink);
}
.dish__desc { margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; }

/* ===== Gallery ===== */
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery__item {
  margin: 0; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card);
}
.gallery__item img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.04); }

/* ===== Bookings ===== */
.bookings__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Subscribe ===== */
.subscribe { background: var(--parchment-deep); max-width: none; }
.subscribe > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.subscribe__form {
  display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap;
  max-width: 520px; margin: 0 auto;
}
.subscribe__form input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  padding: 0.7rem 1rem; font-family: var(--serif-body); font-size: 1.05rem;
  border: 1px solid var(--line); border-radius: 2px; background: var(--card); color: var(--ink);
}
.subscribe__form input[type="email"]:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 154, 63, 0.2);
}
.subscribe__note { min-height: 1.4rem; margin: 1rem 0 0; color: var(--olive); font-style: italic; }

/* ===== Footer ===== */
.footer {
  text-align: center; padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
}
.footer__mark { margin: 0 auto 0.75rem; opacity: 0.85; }
.footer__handle { font-size: 1.1rem; margin: 0 0 0.4rem; }
.footer__handle a { color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.footer__handle a:hover { color: var(--terracotta); }
.footer__meta { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .menu__list { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  body { font-size: 18px; }
  .gallery__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .gallery__item:hover img { transform: none; }
}
