:root {
  color-scheme: light;
  --color-background: #fdfbf6;
  --color-surface: #ffffff;
  --color-primary: #0f0f10;
  --color-accent: #c5a347;
  --color-accent-dark: #a37d1f;
  --color-muted: #525252;
  --color-border: rgba(15, 15, 16, 0.12);
  --shadow-soft: 0 18px 36px rgba(15, 15, 16, 0.1);
  --radius-lg: 20px;
  --radius-md: 12px;
  --transition-fast: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-primary);
  background-color: var(--color-background);
  line-height: 1.6;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-accent);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--color-accent);
  color: #fff;
  z-index: 999;
}

.container {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--narrow .container {
  width: min(780px, calc(100% - 2.5rem));
}

.section--narrow .container.contact {
  width: min(960px, calc(100% - 2.5rem));
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0 0 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(15, 15, 16, 0.2);
}

.button--secondary {
  background: none;
  border: 1px solid var(--color-accent-dark);
  color: var(--color-accent-dark);
}

.button--secondary:hover,
.button--secondary:focus {
  color: #fff;
  background: var(--color-accent-dark);
  box-shadow: none;
}

.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
}

.site-nav {
  position: relative;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.nav-toggle:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.nav-toggle__bar {
  display: block;
  width: 1.2rem;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle__label {
  position: absolute;
  left: -9999px;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  min-width: 15rem;
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  display: none;
}

.nav-links.is-open {
  display: block;
}

.nav-item + .nav-item {
  border-top: 1px solid var(--color-border);
}

.nav-link {
  display: block;
  padding: 0.85rem 1.5rem;
  color: var(--color-primary);
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  background-color: rgba(197, 163, 71, 0.16);
}

.nav-link.is-active {
  color: var(--color-accent);
}

.hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: radial-gradient(circle at top left, rgba(197, 163, 71, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(15, 15, 16, 0.08), transparent 55%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  margin: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  margin: 0;
  line-height: 1.1;
}

.hero-text {
  font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  max-width: 38ch;
  color: var(--color-muted);
}

.section-inner {
  display: grid;
  gap: 2rem;
}

.section-copy h2 {
  margin-top: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-link {
  font-weight: 600;
}

.producer-grid {
  display: grid;
  gap: 1.75rem;
}

.producer-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  /* Ensure inner content never visually bleeds beyond rounded corners */
  overflow: hidden;
}

.producer-card__inner {
  /* Make the whole card clickable area a column flexbox */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  color: inherit;
  align-items: center;
  text-align: center;
  height: 100%;
}

.producer-card__media {
  width: clamp(160px, 40vw, 220px);
  /* Take up remaining vertical space so the logo can center */
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.producer-card__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.producer-card__title {
  margin: 0;
  font-size: 1.4rem;
}

/* summary removed from card layout */

.producer-card__cta {
  font-weight: 600;
  color: var(--color-accent-dark);
}

/* Keep the text block anchored to the bottom of the card */
.producer-card__body {
  margin-top: auto;
}

.producer-card:hover,
.producer-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(15, 15, 16, 0.2);
}

.producer-detail {
  display: grid;
  gap: 2.5rem;
}

.producer-detail__body {
  background: var(--color-surface);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.producer-detail__region {
  margin-top: 0.25rem;
  font-weight: 500;
  color: var(--color-muted);
}

.producer-detail__summary {
  font-size: 1.05rem;
  color: var(--color-muted);
}

.producer-detail__sidebar {
  background: var(--color-surface);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.producer-detail__media {
  width: clamp(200px, 40vw, 260px);
  justify-self: center;
}

.markdown p {
  margin: 0 0 1.25rem;
}

.markdown ul {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.contact__grid {
  display: grid;
  gap: 1.5rem;
  justify-items: stretch;
  align-items: stretch;
}

.contact-card {
  width: min(100%, 420px);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: var(--color-surface);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.service-tiers__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.service-tiers__intro h1 {
  margin-bottom: 1rem;
}


.service-tiers__grid-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.service-tiers__grid {
  display: grid;
  gap: 1.5rem;
}

.service-tier-card {
  background: linear-gradient(180deg, rgba(197, 163, 71, 0.05), transparent);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(197, 163, 71, 0.2);
  display: grid;
  gap: 1rem;
}

.service-tier-card__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  margin: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 8rem;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(197, 163, 71, 0.3);
  background-color: rgba(197, 163, 71, 0.12);
}

.service-tier-card__title {
  margin: 0;
  font-size: 1.5rem;
}

.service-tier-card__comp {
  margin: 0;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.service-tier-card ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.service-tier-card li {
  line-height: 1.5;
}

.service-tiers__deliveries {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--color-primary);
  color: #fff;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
}

.service-tiers__deliveries h3 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .service-tiers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  max-width: 100%;
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font: inherit;
  resize: vertical;
  font-size: 0.95rem;
  line-height: 1.3;
}

.form-field select {
  resize: none;
  background-color: #fff;
  min-height: 2.7rem;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid rgba(197, 163, 71, 0.4);
  border-color: var(--color-accent);
}

.contact-form .button {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  align-self: flex-start;
}

.contact-form__links {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.contact-form__links a {
  color: var(--color-accent-dark);
}

.contact-form__noscript {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.contact-info {
  background: var(--color-surface);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
  text-align: center;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.contact-info__qr {
  width: min(100%, 320px);
  height: auto;
  justify-self: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
  }

  .contact-card {
    margin: 0;
    width: 100%;
    max-width: none;
  }
}

.site-footer {
  background-color: #000;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}

.site-footer .footer-mark {
  filter: invert(1);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--color-accent);
}

.footer-meta {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

body.age-gate-locked {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 15, 16, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.age-gate.is-active {
  display: flex;
}

.age-gate__card {
  width: min(540px, 100%);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: 0 25px 50px rgba(15, 15, 16, 0.3);
  display: grid;
  gap: 1rem;
}

.age-gate__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.age-gate__card h2 {
  margin: 0;
}

.age-gate__card p {
  margin: 0;
}

.age-gate__confirm {
  justify-self: center;
  min-width: 60%;
}

@media (min-width: 640px) {
  /* Keep cards stacked vertically at all widths so titles never overflow
     when displayed in a 3-up grid. */
  /* No grid columns needed; using flex column layout */

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

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

@media (min-width: 768px) {
  .header-inner {
    padding: 1.25rem 0;
  }

  .nav-links {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
    box-shadow: none;
    border: none;
    background: transparent;
    min-width: auto;
  }

  .nav-item + .nav-item {
    border: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav-link {
    padding: 0;
  }

  .section-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .producer-grid {
    /* Ensure each card has generous width to prevent title wrapping outside card
       while maintaining 3-up layout. min width ~320px */
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    grid-auto-flow: row;
  }

  .producer-detail {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}
