:root {
  --bg: #f5f2ed;
  --paper: #fffdf9;
  --text: #1d1a17;
  --muted: #69615a;
  --line: #ddd4c9;
  --accent: #7d2d2d;
  --accent-2: #b36f32;
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 100% -100%, #e6d7c6 0%, transparent 70%),
    radial-gradient(900px 400px at -10% 0%, #f0e2d5 0%, transparent 60%),
    var(--bg);
  line-height: 1.55;
}

.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  height: 34px;
  width: auto;
}

.nav-links, .lang-switch {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav a, .lang-switch a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover, .lang-switch a:hover { color: var(--text); }

main { padding: 3.5rem 0 4rem; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  font-size: 0.76rem;
  margin-bottom: 0.8rem;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", serif;
}

h1 { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 1rem; }

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(140deg, #fffdfa 0%, #f2ebe2 100%);
  padding: 1.25rem;
}

.photo {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mosaic .photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 1rem;
}

.card h3 { font-size: 1.22rem; margin-bottom: 0.45rem; }
.card p { margin: 0; color: var(--muted); }

.button, button {
  display: inline-block;
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 0.66rem 1rem;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}
.button:hover, button:hover { background: #f1ede7; }

.section { margin-top: 2.8rem; }

.wine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wine {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 1rem;
}

.wine figure {
  margin: 0 0 0.75rem;
}

.wine .label-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.3rem;
}

.label-missing {
  width: 100%;
  min-height: 320px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #f8f4ee;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.product-layout > div {
  min-width: 0;
  padding-left: 0.5rem;
}

.product-layout p {
  overflow-wrap: anywhere;
}

.product-label {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.6rem;
}

.product-label img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wine a {
  color: var(--text);
  text-decoration: none;
}

.wine p {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1rem;
}

form {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 1rem;
  max-width: 720px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input, textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem;
  margin-bottom: 0.9rem;
  background: #fff;
}

textarea { min-height: 160px; resize: vertical; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inline {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-inline a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inline a:hover {
  color: var(--text);
}

.hp {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .wine-grid { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .product-layout > div { padding-left: 0; }
  .nav { flex-wrap: wrap; padding: 0.8rem 0; }
  .footer-inline { gap: 0.55rem; }
}

.mosaic .photo-bottom {
  object-position: center bottom;
}
