:root {
  --wine: #8f1727;
  --wine-dark: #2a0d12;
  --ink: #151313;
  --muted: #66605c;
  --paper: #fffdf9;
  --line: #ded8d2;
  --leaf: #405f3a;
  --gold: #b68b45;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.brand img {
  width: 116px;
  max-height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.22));
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

nav a,
.header-action,
.text-link {
  text-decoration: none;
  font-weight: 700;
}

.header-action {
  border: 1px solid var(--wine);
  color: var(--wine);
  padding: 10px 16px;
  border-radius: var(--radius);
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--wine);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  padding: 132px clamp(20px, 7vw, 96px) 74px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-aurelius-vinice.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 7, 8, .82) 0%, rgba(18, 7, 8, .48) 42%, rgba(18, 7, 8, .15) 100%),
    linear-gradient(0deg, rgba(18, 7, 8, .48), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(100%, 1040px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f5d48d;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  margin-bottom: 18px;
}

.eyebrow.dark { color: var(--wine); }

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

h1 {
  font-size: clamp(3.2rem, 7.2vw, 7rem);
  line-height: .92;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.hero h1 span {
  display: block;
}

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

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

.lead {
  max-width: 640px;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
  margin-left: auto;
  margin-right: auto;
}

.button,
.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  color: white;
  background: var(--wine);
}

.secondary {
  color: white;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.38);
}

.secondary.light {
  border-color: rgba(255,255,255,.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 32px;
  min-width: 190px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.4);
}

.hero-note span {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
}

.hero-note strong {
  font-size: 1.35rem;
}

section {
  padding: clamp(60px, 9vw, 112px) clamp(20px, 7vw, 96px);
  scroll-margin-top: 92px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: clamp(38px, 6vw, 70px);
  padding-bottom: 0;
  background: var(--paper);
}

.quick-links a,
.quick-link {
  display: grid;
  place-content: center;
  gap: 10px;
  min-height: 154px;
  padding: 24px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.quick-links strong {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.quick-links small {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

.disabled-card {
  opacity: .82;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.section-image img {
  width: 100%;
  border-radius: var(--radius);
}

.section-copy p,
.section-heading p,
.story-band p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.text-link {
  color: var(--wine);
  border-bottom: 2px solid var(--wine);
  padding-bottom: 3px;
}

.disabled-link {
  color: var(--wine);
  font-weight: 800;
  opacity: .72;
  cursor: default;
}

.wine-preview,
.news-section {
  background: #f7f4ef;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.centered-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 10px 15px;
  font-weight: 800;
  cursor: pointer;
}

.filter.active {
  background: var(--wine-dark);
  color: white;
  border-color: var(--wine-dark);
}

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

.wine-card,
.news-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.wine-card img,
.news-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.wine-card > div,
.news-grid article > div {
  padding: 18px;
}

.wine-type,
.price,
.news-grid p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 8px;
}

.card-button {
  width: 100%;
  margin-top: 12px;
  color: white;
  background: var(--wine);
}

.story-band {
  color: white;
  background: var(--wine-dark);
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.story-band h2 {
  margin-bottom: 0;
}

.story-band p {
  color: rgba(255,255,255,.82);
  margin-bottom: 0;
}

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

.news-grid a,
.news-grid .disabled-link {
  color: var(--wine);
  font-weight: 800;
  text-decoration: none;
}

.social-feed {
  background: var(--paper);
}

.social-embed {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.social-card {
  width: min(100%, 500px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: white;
}

.social-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .9rem;
}

.social-card h3 {
  margin-bottom: 10px;
}

.social-card a {
  color: var(--wine);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.social-embed iframe {
  width: min(100%, 500px);
  min-height: 620px;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  background: white;
}

.inquiry-form {
  max-width: none;
}

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

label,
legend {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 12px;
  font: inherit;
  background: white;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 11px 12px;
}

fieldset {
  margin: 22px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

fieldset label,
.consent {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
}

fieldset input,
.consent input {
  width: auto;
  margin-top: 3px;
}

.consent {
  margin-top: 14px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.35;
}

.submit {
  margin-top: 22px;
}

.form-status {
  margin-top: 14px;
  color: var(--leaf);
  font-weight: 800;
}

.contact {
  background: white;
  display: grid;
  gap: 28px;
}

.contact h2 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1.02;
}

.contact-heading {
  margin-bottom: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

dl {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

dt {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 800;
}

dd {
  margin: 5px 0 0;
  font-size: 1.2rem;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fbfaf7;
}

.contact-panel h3,
.contact-form h3 {
  margin-bottom: 22px;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fbfaf7;
}

.contact-form label + label {
  display: block;
  margin-top: 14px;
}

.contact-form .form-grid {
  grid-template-columns: 1fr;
}

.contact-form > label {
  display: block;
  margin-top: 12px;
}

.contact-form button {
  margin-top: 14px;
}

.outline {
  color: var(--wine);
  background: white;
  border: 1px solid var(--wine);
}

.map-preview {
  min-height: 470px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background: #f7f4ef;
  box-shadow: 0 18px 45px rgba(42, 13, 18, .07);
}

.map-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px clamp(20px, 7vw, 96px);
  color: white;
  background: var(--ink);
  border-top: 1px solid var(--line);
}

footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer img {
  width: 92px;
  background: white;
  padding: 8px;
  border-radius: var(--radius);
}

footer p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

footer .footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,.72);
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    display: contents;
  }

  .header-action {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .nav-toggle {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  nav.nav-open {
    display: flex;
  }

  nav a {
    padding: 8px 0;
    width: 100%;
  }

  .split-section,
  .contact,
  .story-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .wine-grid,
  .news-grid,
  .form-grid,
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-note {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    gap: 12px;
  }

  .header-action {
    padding: 9px 11px;
  }

  .brand img {
    width: 92px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 154px;
  }

  .wine-grid,
  .news-grid,
  .form-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .social-embed iframe {
    min-height: 560px;
  }

  fieldset {
    display: grid;
  }

  footer {
    display: grid;
  }
}

footer .footer-link {
  color: rgba(255,255,255,.85);
  font-size: 14px;
}

footer .footer-link:hover {
  color: white;
}

.consent a {
  color: var(--wine);
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

footer button.footer-link {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

/* Embeds blocked until consent */
.consent-placeholder {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  background: #f7f4ef;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.consent-placeholder p {
  max-width: 420px;
  margin: 0;
  line-height: 1.6;
}

.consent-placeholder a {
  color: var(--wine);
  font-size: .9rem;
}

.social-embed .consent-placeholder {
  width: min(100%, 500px);
  min-height: 320px;
}

.map-preview .consent-placeholder {
  position: absolute;
  inset: 0;
  border: 0;
}

/* Age + cookie gate */
.gate-open,
.gate-open body {
  overflow: hidden;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(42, 13, 18, .72);
  backdrop-filter: blur(6px);
}

.gate[hidden] {
  display: none;
}

.gate-box {
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 28px 28px;
  text-align: center;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.gate-box > img {
  display: block;
  width: 76px;
  margin: 0 auto 12px;
}

.gate-box h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.gate-box p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.gate-box p a {
  color: var(--wine);
}

.gate-actions {
  display: grid;
  gap: 10px;
}

.gate-actions .button {
  width: 100%;
}

.button.outline {
  color: var(--wine);
  background: white;
  border: 1px solid var(--wine);
}

.button.text {
  min-height: 0;
  padding: 6px;
  color: var(--muted);
  background: none;
  font-weight: 600;
  text-decoration: underline;
}

.gate-settings {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  text-align: left;
}

.gate-settings[hidden] {
  display: none;
}

.gate-option {
  display: grid;
  font-weight: 400;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.gate-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--wine);
}

.gate-option strong {
  font-size: .95rem;
}

.gate-option small {
  grid-column: 2;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
}

.gate [hidden],
.consent-placeholder[hidden] {
  display: none !important;
}

.gate-box p.gate-age {
  color: var(--ink);
  font-weight: 700;
}

.gate-underage {
  margin-top: 14px;
  border: 0;
  padding: 4px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .85rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Honeypot field for spam bots, hidden from people */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status.is-error {
  color: var(--wine);
}

.submit:disabled {
  opacity: .6;
  cursor: wait;
}
