:root {
  --bg: #f2eee4;
  --card: #f7f4eb;
  --text: #2f2a24;
  --muted: #6b645a;
  --olive: #8b8650;
  --olive-dark: #6f6a3e;
  --line: #ddd4c3;
  --shadow: 0 18px 45px rgba(30, 22, 10, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Lora", serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 20%, #f8f6ef 0%, #f2eee4 38%, #ece6d8 100%);
  padding: 20px 12px;
}

.site {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid #e4ddcf;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  padding: 16px 16px 16px 120px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 235, 0.95);
}

.brand-link {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  color: #413a31;
  font-size: 0.95rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.nav a {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 1px;
  background: var(--olive-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  background: #ece2ca;
  color: #302a22;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main {
  display: grid;
  gap: 16px;
  padding: 20px 16px 28px;
}

.eyebrow {
  color: var(--muted);
  margin-bottom: 4px;
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 0.95;
}

.story-row {
  display: grid;
  gap: 12px;
}

.story-row.reverse .story-media {
  order: 1;
}

.story-row.reverse .story-text {
  order: 2;
}

.story-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  border: 1px solid #d6c8ab;
}

.story-media-sabrina img {
  object-position: 50% 14%;
}

.story-text {
  border: 1px solid #d8cab0;
  border-radius: 12px;
  padding: 14px;
  background: #fbf7ef;
  align-self: stretch;
}

.story-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 5.4vw, 2.6rem);
  line-height: 1;
  margin-bottom: 10px;
}

.story-text p {
  color: #4a4338;
  line-height: 1.65;
}

.story-text .territorio-highlight {
  display: block;
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 4px solid var(--olive-dark);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(139, 134, 80, 0.2) 0%, rgba(139, 134, 80, 0.06) 70%, rgba(139, 134, 80, 0) 100%);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2f2a24;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (min-width: 860px) {
  .topbar {
    justify-content: flex-end;
    padding: 20px 30px 20px 148px;
  }

  .brand-link {
    left: 30px;
  }

  .brand-logo {
    height: 64px;
  }

  .nav {
    justify-content: flex-end;
    width: auto;
    min-width: auto;
    overflow: visible;
    padding-bottom: 0;
    margin: 0 0 0 auto;
  }

  .main {
    padding: 28px 34px 36px;
    gap: 22px;
  }

  .story-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }

  .story-row.reverse .story-text {
    order: 1;
  }

  .story-row.reverse .story-media {
    order: 2;
  }

  .story-media img {
    height: 420px;
  }

  .story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
  }
}
