:root {
  --ink: #1c1b18;
  --muted: #6b6259;
  --paper: #fbfaf6;
  --card: #ffffff;
  --line: #ddd5c8;
  --basalt: #25292a;
  --wine: #7a1f2b;
  --sea: #2f6f7f;
  --leaf: #5d7c52;
  --gold: #b78b49;
  --clay: #b4634a;
  --mist: #eef3f1;
  --shadow: 0 18px 55px rgba(28, 24, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.age-lock {
  overflow: hidden;
}

body.modal-lock {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(183, 139, 73, 0.75);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  line-height: 1.6;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(27, 26, 24, 0.68);
  backdrop-filter: blur(10px);
}

.age-gate.visible {
  display: flex;
}

.age-box {
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.age-box h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.age-box p:not(.eyebrow) {
  color: var(--muted);
}

.age-actions,
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(222, 215, 204, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.35rem;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  color: var(--wine);
}

.top-nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.top-nav a,
.header-action,
.primary-link,
.secondary-link,
.ghost-link,
.filter-button,
.clear-button,
.add-button,
.offer-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.top-nav a {
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.top-nav a:hover,
.header-action:hover,
.secondary-link:hover,
.ghost-link:hover,
.filter-button:hover,
.clear-button:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.header-action {
  padding: 0 16px;
  border-color: var(--line);
  background: var(--card);
  font-weight: 720;
}

.hero-section {
  min-height: min(610px, calc(100svh - 118px));
  display: flex;
  align-items: flex-end;
  padding: clamp(88px, 12vw, 150px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 78px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 19, 17, 0.86) 0%, rgba(20, 19, 17, 0.66) 46%, rgba(20, 19, 17, 0.22) 100%),
    url("assets/marketing/09-guest-dinner.webp") center center / cover no-repeat;
}

.hero-copy {
  width: min(100%, 980px);
}

.hero-copy p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.13rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-section .eyebrow {
  color: #d7c192;
}

.primary-link,
.secondary-link,
.ghost-link,
.add-button,
.offer-button {
  padding: 0 18px;
  font-weight: 720;
}

.primary-link {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.hero-section .primary-link {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.primary-link:hover,
.add-button:hover,
.offer-button:hover {
  transform: translateY(-1px);
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.secondary-link {
  background: var(--card);
  border-color: var(--line);
}

.hero-section .secondary-link {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.ghost-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.16);
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.promise-strip div {
  min-height: 116px;
  padding: 24px clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.promise-strip div:last-child {
  border-right: 0;
}

.promise-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1;
}

.promise-strip span {
  color: var(--muted);
}

.guest-section,
.offers-section,
.catalog-section,
.terceira-section,
.order-section,
.experience-section {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 56px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head > p,
.guest-section p,
.offer-card p,
.experience-copy p,
.anchor-panel p,
.order-copy p,
.story-grid p,
.wine-card p,
.microcopy {
  color: var(--muted);
}

.path-grid,
.offer-grid,
.story-grid {
  display: grid;
  gap: 16px;
}

.path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.path-grid article,
.offer-card,
.story-grid article {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.path-grid span,
.story-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--sea);
  font-weight: 780;
}

.path-image,
.offer-image,
.experience-image,
.order-image,
.territory-gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.path-image {
  aspect-ratio: 64 / 41;
  margin: -22px -22px 18px;
  width: calc(100% + 44px);
  border-bottom: 1px solid var(--line);
}

.offers-section {
  background: #f3eee7;
  border-top: 1px solid #e4d9cb;
  border-bottom: 1px solid #e4d9cb;
}

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

.offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.offer-image {
  aspect-ratio: 64 / 41;
  margin: -22px -22px 20px;
  width: calc(100% + 44px);
  border-bottom: 1px solid var(--line);
}

.offer-card.featured {
  border-color: rgba(122, 31, 43, 0.36);
  box-shadow: var(--shadow);
}

.offer-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.offer-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.offer-card li {
  padding-left: 18px;
  position: relative;
}

.offer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.offer-button {
  width: 100%;
  margin-top: auto;
  background: var(--basalt);
  color: #fff;
}

.offer-button.selected {
  background: var(--wine);
  border-color: var(--wine);
}

.experience-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: var(--basalt);
  color: #fff;
}

.experience-copy {
  max-width: 780px;
}

.experience-copy p,
.anchor-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.experience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.experience-image {
  aspect-ratio: 64 / 41;
  margin: 22px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.experience-list span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.anchor-panel,
.order-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.anchor-panel {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.anchor-panel .primary-link {
  margin-top: 8px;
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-button,
.clear-button {
  padding: 0 13px;
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
}

.filter-button.active {
  background: var(--basalt);
  border-color: var(--basalt);
  color: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wine-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.wine-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #f8f5ef;
}

.wine-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.wine-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
}

.pill.strong {
  color: var(--wine);
  border-color: rgba(122, 31, 43, 0.28);
  background: rgba(122, 31, 43, 0.06);
  font-weight: 760;
}

.best-for {
  display: block;
  margin-bottom: 10px;
  color: var(--sea);
  font-size: 0.82rem;
  font-weight: 760;
}

.wine-card h3 {
  min-height: 52px;
  margin-bottom: 8px;
}

.wine-card p {
  flex: 1;
  margin-bottom: 16px;
  font-size: 0.94rem;
}

.add-button {
  width: 100%;
  margin-top: auto;
  background: var(--basalt);
  color: #fff;
}

.empty-catalog {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.terceira-section {
  background: var(--mist);
  border-top: 1px solid #d5dfdb;
  border-bottom: 1px solid #d5dfdb;
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.story-grid article {
  border-color: #d5dfdb;
}

.territory-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
  margin-top: 16px;
}

.territory-gallery img {
  aspect-ratio: 16 / 9;
  border: 1px solid #d5dfdb;
  border-radius: 8px;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(22px, 5vw, 76px);
  align-items: start;
}

.order-copy {
  max-width: 760px;
}

.order-note {
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: #fff;
  color: var(--muted);
}

.order-image {
  aspect-ratio: 64 / 41;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-note strong {
  color: var(--ink);
}

.order-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.order-panel-head h3 {
  margin: 0;
}

.selected-offer {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--sea);
  font-weight: 720;
}

.selection-list {
  display: grid;
  gap: 8px;
  min-height: 68px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.selection-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.selection-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.selection-list li button {
  flex: 0 0 auto;
}

.selection-list button {
  border: 0;
  background: transparent;
  color: var(--wine);
  cursor: pointer;
}

.empty-selection {
  color: var(--muted);
}

.microcopy {
  margin: 12px 0 0;
  font-size: 0.85rem;
}

.full {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(27, 26, 24, 0.68);
  backdrop-filter: blur(10px);
}

.contact-modal[hidden] {
  display: none;
}

.contact-box {
  position: relative;
  width: min(100%, 500px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.contact-box p:not(.eyebrow) {
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 1180px) {
  .top-nav a {
    padding: 0 10px;
  }

  .path-grid,
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 980px) {
  .site-header,
  .section-head,
  .experience-section,
  .order-section {
    grid-template-columns: 1fr;
  }

  .top-nav {
    justify-self: stretch;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .top-nav a {
    flex: 1 1 auto;
    min-width: max-content;
  }

  .header-action {
    display: none;
  }

  .offer-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .promise-strip,
  .path-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 0.98;
  }

  .hero-section {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 30px;
    background:
      linear-gradient(180deg, rgba(20, 19, 17, 0.86) 0%, rgba(20, 19, 17, 0.7) 100%),
      url("assets/marketing/09-guest-dinner.webp") center center / cover no-repeat;
  }

  .site-header {
    gap: 10px;
  }

  .top-nav a {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 0;
    padding: 0 8px;
    font-size: 0.86rem;
  }

  .top-nav a:nth-child(1),
  .top-nav a:nth-child(4) {
    display: none;
  }

  .promise-strip,
  .path-grid,
  .catalog-grid,
  .territory-gallery {
    grid-template-columns: 1fr;
  }

  .toolbar {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }

  .wine-card h3 {
    min-height: auto;
  }
}
