/*--------------------------------------------------------------
# CSS Variables — Light Luxury Palette
--------------------------------------------------------------*/
:root {
  --cream:        #FBF8F3;
  --cream-dark:   #F2EBE0;
  --cream-mid:    #E8DDD0;
  --ink:          #1C110A;
  --ink-mid:      #3A2518;
  --ink-light:    #6B4F3A;
  --gold:         #C09A45;
  --gold-light:   #D4B46A;
  --gold-dark:    #7A5C1E; /* WCAG AA ≥4.5:1 on cream */
  --wine:         #5C1A2A;
  --wine-mid:     #7A2535;
  --header-bg:    rgba(251, 248, 243, 0.97);
  --footer-bg:    #1A0F08;
  --footer-top:   #1F1309;
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
}

/*--------------------------------------------------------------
# Base
# Fonts: Cormorant Garamond (serif) + DM Sans (sans) — preloaded in HTML
--------------------------------------------------------------*/
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

img {
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.35s ease;
}
a:hover, a:active, a:focus {
  color: var(--wine);
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 28px;
  color: var(--ink-mid);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 20px;
  padding: 0;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 36px 0;
}

.main-page { margin-top: 70px; }

/*--------------------------------------------------------------
# Scroll animations (IntersectionObserver — no WOW.js required)
# NOTE: content-visibility:auto must NOT be applied to .wow
# elements — it prevents IO from computing intersection.
--------------------------------------------------------------*/
.wow {
  visibility: hidden;
  opacity: 0;
  transform: translateY(22px);
}
.wow.animated {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wow, .wow.animated {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}

/*--------------------------------------------------------------
# Accessibility utility
--------------------------------------------------------------*/
/* Screen-reader only — hides visually but remains accessible to crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*--------------------------------------------------------------
# Inline SVG icons (replaces Font Awesome)
--------------------------------------------------------------*/
/* Small inline icons: calendar, location, phone, envelope */
.icon-inline {
  width: 11px;
  height: 11px;
  vertical-align: middle;
  margin-right: 5px;
  flex-shrink: 0;
}

/* Social icons: Facebook, Instagram */
.icon-social {
  width: 26px;
  height: 26px;
  display: block;
  transition: opacity 0.25s ease;
}
.social-links a:hover .icon-social { opacity: 0.75; }

/* Mobile nav toggle — hamburger / close SVG swap via body class */
#mobile-nav-toggle .icon-bars  { display: block; }
#mobile-nav-toggle .icon-close { display: none;  }
body.mobile-nav-active #mobile-nav-toggle .icon-bars  { display: none;  }
body.mobile-nav-active #mobile-nav-toggle .icon-close { display: block; }

#mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.site-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 36px;
  margin: 10px;
  line-height: 1;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: var(--gold-dark) !important;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.site-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.site-btn:hover             { color: var(--cream) !important; }
.site-btn:hover::before     { transform: scaleX(1); }

.subscription-btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 28px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: var(--cream);
  cursor: pointer;
  outline: none;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.subscription-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
}


/*--------------------------------------------------------------
# Section Headers
--------------------------------------------------------------*/
.section-header {
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 24px;
}
.section-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 24px);
  width: 48px;
  height: 1px;
  background: var(--gold);
}
.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% + 28px);
  width: 8px;
  height: 1px;
  background: var(--gold-light);
}
.section-header h2 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.section-header p {
  text-align: center;
  padding: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-light);
  letter-spacing: 0.02em;
}
.section-with-bg { background-color: var(--cream-dark); }

/* Agenda session time labels (replaces h4 for correct heading hierarchy) */
.session-time {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 36px 0 6px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 120px;
  padding: 0;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(192, 154, 69, 0.22);
  box-shadow: 0 2px 20px rgba(28, 17, 10, 0.06);
  transition: all 0.5s;
}
#header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#header .header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header-nav {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(192, 154, 69, 0.18);
}
.ticket-buttons {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Keep the top ticket CTA visually active at all times */
.ticket-buttons .site-btn,
#mobile-nav .mobile-tickets .site-btn {
  background: var(--gold);
  color: var(--cream) !important;
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(122, 92, 30, 0.18);
}
.ticket-buttons .site-btn::before,
#mobile-nav .mobile-tickets .site-btn::before {
  transform: scaleX(1);
}
.ticket-buttons .site-btn:hover,
#mobile-nav .mobile-tickets .site-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
}
.ticket-buttons .site-btn:hover::before,
#mobile-nav .mobile-tickets .site-btn:hover::before {
  background: var(--wine);
}

/*--------------------------------------------------------------
# Logo
--------------------------------------------------------------*/
#logo {
  flex: 0 0 auto;
  margin-right: auto;
  text-align: left;
}
#logo h1 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
}
#logo h1 span          { color: var(--gold); }
#logo h1 a,
#logo h1 a:hover       { color: var(--ink); }
#logo img              { max-height: 40px; margin: 0; padding: 0; }

#logo .logo-text,
#footer .logo-text {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  line-height: 1;
  display: inline-block;
  margin: 0; padding: 0;
}
#header.header-scrolled #logo .logo-text,
#header.header-fixed   #logo .logo-text { color: var(--gold); }
#footer .logo-text                       { color: var(--gold-light); }

/*--------------------------------------------------------------
# Header Event Info (date + location)
--------------------------------------------------------------*/
.header-event-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  text-align: right;
}
.header-event-date,
.header-event-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  white-space: nowrap;
}
.header-event-date i,
.header-event-location i { color: var(--gold); font-size: 10px; flex-shrink: 0; }

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
#nav-menu-container {
  display: flex;
  justify-content: center;
}
.nav-menu {
  display: flex;
  justify-content: center;
  margin: 0; padding: 0;
}
.nav-menu ul {
  position: absolute;
  top: 100%; left: 0;
  z-index: 99;
}
.nav-menu ul ul        { top: 0; left: 100%; }
.nav-menu li {
  position: relative;
  white-space: nowrap;
  list-style: none;
}
.nav-menu > li         { margin: 0 10px; }
.nav-menu ul li        { min-width: 180px; }
.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul { display: block; }

.nav-menu > li:not(:last-child)::after {
  content: '·';
  color: rgba(192, 154, 69, 0.4);
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
}
.nav-menu a {
  display: inline-block;
  padding: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  outline: none;
  margin: 0 !important;
  line-height: normal !important;
  position: relative;
  transition: color 0.3s ease;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 8px; right: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-menu a:hover::after,
.nav-menu .menu-active a::after { transform: scaleX(1); }
.nav-menu a:hover,
.nav-menu .menu-active a        { color: var(--gold-dark) !important; }

/*--------------------------------------------------------------
# Mobile Nav
--------------------------------------------------------------*/
#mobile-nav-toggle {
  position: fixed;
  top: 10px; right: 15px;
  z-index: 1002;
  width: 44px; height: 44px;
  padding: 11px;
  background: none;
  border: 0;
  outline: none;
  cursor: pointer;
  color: var(--ink-mid);
  display: none; /* shown only at mobile breakpoint via media query */
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

#mobile-nav {
  position: fixed;
  top: 80px; left: -260px;
  bottom: 0;
  z-index: 1001;
  width: 260px;
  background: var(--cream);
  border-right: 1px solid rgba(192, 154, 69, 0.18);
  box-shadow: 4px 0 20px rgba(28, 17, 10, 0.08);
  overflow-y: auto;
  transition: left 0.4s ease;
}
#mobile-nav ul {
  padding: 10px 0 0;
  margin: 0;
  list-style: none;
}
#mobile-nav ul li       { padding: 0; }
#mobile-nav ul li li    { padding-left: 30px; }
#mobile-nav ul li a {
  display: block;
  width: 100%;
  padding: 15px 22px 15px 20px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 154, 69, 0.1);
  touch-action: manipulation;
  position: relative;
  transition: color 0.25s, padding-left 0.25s;
}
#mobile-nav ul li a:hover { color: var(--gold-dark); padding-left: 26px; }

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0; top: 0;
  z-index: 99;
  padding: 15px 15px 15px 0;
  cursor: pointer;
  color: var(--ink-mid);
  touch-action: manipulation;
}
#mobile-nav ul .menu-has-children i.fa-chevron-up { color: var(--gold); }
#mobile-nav ul .menu-item-active                   { color: var(--gold); }

#mobile-nav .mobile-tickets {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 20px;
  margin-top: 15px;
}
#mobile-nav .mobile-tickets a.site-btn,
#mobile-nav .mobile-tickets button.site-btn {
  width: 80%;
  text-align: center;
  margin: 5px 0;
}

body.mobile-nav-active               { overflow: hidden; }
body.mobile-nav-active #mobile-nav   { left: 0; }
body.mobile-nav-active #mobile-nav-toggle { color: var(--ink); }

/*--------------------------------------------------------------
# Intro / Hero
--------------------------------------------------------------*/
#intro {
  width: 100%;
  height: calc(100vh - 120px);
  min-height: 620px;
  margin-top: 120px;
  background-color: var(--cream);
  background-image: url(../img/cab-franc-masters-logo-2026.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  overflow: hidden;
  position: relative;
}
#intro::after {
  display: none;
  content: none;
}
#intro .intro-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-bottom: 64px;
}
#intro h1 {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream);
}
#intro h1 span { color: var(--gold-light); }
#intro h2.intro-date {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
}
#intro p {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(251, 248, 243, 0.88);
}

/* Play button */
#intro .play-btn {
  display: block;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: radial-gradient(var(--gold) 50%, rgba(192, 154, 69, 0.12) 52%);
  position: relative;
  overflow: hidden;
}
#intro .play-btn::before {
  content: '';
  position: absolute;
  top: -15%; left: -15%;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(192, 154, 69, 0.4);
  background: rgba(192, 154, 69, 0);
  animation: pulsate-btn 2s forwards infinite steps;
  opacity: 1;
}
#intro .play-btn::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--cream);
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
#intro .play-btn:hover::after {
  border-left-color: var(--gold);
  transform: scale(20);
}
#intro .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0; height: 0;
  border: none;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}
@keyframes pulsate-btn {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1);   opacity: 0; }
}

/*--------------------------------------------------------------
# Agenda
--------------------------------------------------------------*/
#agenda {
  padding: 90px 0 60px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
#agenda .container {
  display: flex;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
#agenda .row        { display: flex; justify-content: center; width: 100%; }
#agenda h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
#agenda h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--wine);
  margin-bottom: 12px;
}
#agenda p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-mid);
  margin-bottom: 0;
}
#agenda p b {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
#agenda .col-lg-6 {
  width: 100%;
  max-width: 100%;
  padding: 20px;
  text-align: left;
}
#agenda .col-lg-6 p              { margin-bottom: 22px; }
#agenda .col-lg-6 p:last-child   { margin-bottom: 28px; }
#agenda .col-lg-12               { text-align: center; padding: 20px; }
#agenda .site-btn                { margin-top: 15px; }
#agenda a                        { color: var(--gold-dark); }
#agenda a:hover                  { color: var(--wine); }

/* Session separator */
#agenda .col-lg-8 > h4 {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid rgba(192, 154, 69, 0.2);
}
#agenda .col-lg-8 > h4:first-of-type {
  margin-top: 0; padding-top: 0; border-top: none;
}

/* Ticket pricing box */
#agenda .col-lg-12[style*="border"] {
  border-color: rgba(192, 154, 69, 0.25) !important;
  background: var(--cream-dark);
  margin-top: 50px !important;
}
#agenda .col-lg-12[style*="border"] h4 {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
#agenda .col-lg-12[style*="border"] p b { color: var(--wine); font-size: 16px; }

/*--------------------------------------------------------------
# Subscribe
--------------------------------------------------------------*/
#subscribe {
  padding: 90px 60px;
  background: var(--cream-dark);
  border-top: 1px solid rgba(192, 154, 69, 0.2);
  border-bottom: 1px solid rgba(192, 154, 69, 0.2);
  overflow: hidden;
  position: relative;
}
#subscribe .container { position: relative; z-index: 1; }
#subscribe p          { color: var(--ink-light); }
#subscribe input {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(192, 154, 69, 0.4);
  outline: none;
  margin: 0;
  padding: 11px 22px;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
}
#subscribe input::placeholder { color: var(--ink-light); opacity: 0.6; }

/*--------------------------------------------------------------
# Wineries & Sponsors — shared logo-card styles
--------------------------------------------------------------*/
#wineries,
#sponsors {
  padding: 90px 0;
  background: var(--cream);
}
/* Only wineries is safe for content-visibility (no .wow class) */
#wineries {
  content-visibility: auto;
  contain-intrinsic-size: 0 900px;
}
#wineries .section-header { margin-bottom: 40px; }

#wineries .logo-item,
#sponsors .logo-item {
  height: 96px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(192, 154, 69, 0.15);
  border-radius: 0;
  position: relative;
  transition: all 0.35s ease;
}
#wineries .logo-item { margin-bottom: 30px; }
#sponsors .logo-item { margin-bottom: 10px; }

#wineries .logo-item a,
#sponsors .logo-item a {
  display: flex;
  width: 100%; height: 100%;
  padding: 8px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}
#wineries .logo-item:hover,
#sponsors .logo-item:hover {
  box-shadow: 0 8px 32px rgba(192, 154, 69, 0.14);
  transform: translateY(-4px);
  border-color: rgba(192, 154, 69, 0.4);
}
#wineries .logo-item img,
#sponsors .logo-item img {
  max-width: 86%; max-height: 86%;
  object-fit: contain;
  filter: grayscale(15%);
  transition: transform 0.35s ease, filter 0.35s ease;
}
#wineries .logo-item:hover img,
#sponsors .logo-item:hover img { transform: scale(1.02); filter: grayscale(0%); }

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
#gallery {
  padding: 90px 60px;
  overflow: hidden;
  background: var(--cream-dark);
}
/* Pagination dots */
#gallery .splide__pagination {
  position: static;
  margin-top: 24px;
  bottom: auto;
}
#gallery .splide__pagination__page {
  display: inline-block;
  margin: 0 5px;
  width: 10px; height: 10px;
  border-radius: 0;
  border: none;
  background: rgba(192, 154, 69, 0.2);
  opacity: 1;
  transition: background 0.3s;
}
#gallery .splide__pagination__page.is-active {
  background: var(--gold);
  transform: none;
}
/* Slides */
#gallery .splide__slide {
  border-left: 2px solid var(--cream-dark);
  border-right: 2px solid var(--cream-dark);
}
#gallery .splide__slide.is-active {
  border-color: var(--gold);
  border-width: 3px;
  box-sizing: content-box;
  background: var(--cream-dark);
  z-index: 1;
}
#gallery .splide__slide a   { display: block; overflow: hidden; }
#gallery .splide__slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
#gallery .splide__slide.is-active img { transform: scale(1.03); }

/* Arrow buttons */
#gallery .splide__arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(251, 248, 243, 0.92);
  border: 1px solid var(--gold-dark);
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 1px 4px rgba(28, 17, 10, 0.12);
  transition: background 0.25s, border-color 0.25s;
}
#gallery .splide__arrow--prev { left:  0.75rem; }
#gallery .splide__arrow--next { right: 0.75rem; }
/* splide-core.min.css omits the prev-arrow flip — add it back */
#gallery .splide__arrow--prev svg { transform: scaleX(-1); }
#gallery .splide__arrow--prev:hover svg,
#gallery .splide__arrow--prev:focus-visible svg { transform: scaleX(-1); fill: var(--cream); }
#gallery .splide__arrow:hover,
#gallery .splide__arrow:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  outline: none;
}
#gallery .splide__arrow svg {
  width: 14px; height: 14px;
  fill: var(--gold-dark);
  transition: fill 0.25s;
}
#gallery .splide__arrow:hover svg,
#gallery .splide__arrow:focus-visible svg { fill: var(--cream); }

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/
#cfm-map { position: relative; }
#cfm-map .text-center { padding: 24px 0 40px; background: var(--cream); }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--footer-bg);
  padding: 0 0 25px;
  color: rgba(251, 248, 243, 0.55);
  font-size: 13px;
  font-family: var(--sans);
}
#footer .footer-top {
  background: var(--footer-top);
  padding: 70px 0 40px;
  border-bottom: 1px solid rgba(192, 154, 69, 0.12);
}

/* Footer headings */
#footer .footer-top h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(192, 154, 69, 0.2);
  padding-bottom: 12px;
  margin: 0 0 18px;
  line-height: 1;
}
/* footer-info h4 sits inline, no border */
#footer .footer-top .footer-info h4 { border: 0; padding-bottom: 0; }

#footer .footer-top .footer-info h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin: 0 0 18px;
  padding: 2px 0;
  line-height: 1;
}
#footer .footer-top .footer-info img { height: 40px; margin-bottom: 10px; }

/* Footer text */
#footer .footer-top .footer-info p,
#footer .footer-top address,
#footer .footer-top p a {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(251, 248, 243, 0.6);
  font-style: normal;
  margin-bottom: 0;
}
#footer .footer-top .contact-info a { color: rgba(251, 248, 243, 0.6); transition: color 0.3s; }
#footer .footer-top .contact-info a:hover,
#footer .footer-top p a:hover        { color: var(--gold-light); }

/* Footer ticket button */
#footer .site-btn             { color: var(--gold-light) !important; border-color: var(--gold-light); }
#footer .site-btn:hover       { color: var(--cream) !important; border-color: var(--gold); }

/* Social icons */
#footer .footer-top .social-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
#footer .footer-top .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  font-size: 15px;
  background: rgba(192, 154, 69, 0.08);
  color: rgba(251, 248, 243, 0.55);
  border: 1px solid rgba(192, 154, 69, 0.18);
  border-radius: 0;
  transition: all 0.3s ease;
}
#footer .footer-top .social-links a:hover {
  background: var(--gold);
  color: var(--cream);
  border-color: var(--gold);
}

/* Footer nav links */
#footer .footer-top .footer-links              { margin-bottom: 30px; }
#footer .footer-top .footer-links ul           { list-style: none; padding: 0; margin: 0; }
#footer .footer-top .footer-links ul i         { padding-right: 5px; color: var(--gold-light); font-size: 16px; }
#footer .footer-top .footer-links ul li        { border-bottom: 1px solid rgba(192, 154, 69, 0.08); padding: 10px 0; }
#footer .footer-top .footer-links ul li:first-child { padding-top: 0; }
#footer .footer-top .footer-links ul a         { color: rgba(251, 248, 243, 0.6); }
#footer .footer-top .footer-links ul a:hover   { color: var(--gold-light); }

/* Copyright */
#footer .copyright {
  text-align: center;
  padding-top: 30px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(251, 248, 243, 0.3);
}
#footer .copyright a        { color: rgba(192, 154, 69, 0.5); }
#footer .copyright a:hover  { color: var(--gold-light); }
#footer .credits            { text-align: center; font-size: 12px; color: rgba(251, 248, 243, 0.2); }

/*--------------------------------------------------------------
# Eventbrite checkout widget — z-index safety net
Our fixed header/mobile-nav previously used z-index 99996-99999,
which could sit above the Eventbrite modal overlay and block its
close (X) button from receiving clicks. Header/nav are now capped
at 1000-1002; this rule forces Eventbrite's own injected modal
markup above that regardless of whatever z-index their script sets.
--------------------------------------------------------------*/
[id^="eventbrite-widget-container"],
.eventbrite-widget-modal-container,
.eventbrite-widget-modal-overlay,
.eventbrite-widget-modal-close,
.eventbrite-widget-modal-content {
  z-index: 2147483647 !important;
}

/*--------------------------------------------------------------
# Form Messages
--------------------------------------------------------------*/
#form-message {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 0;
  padding: 8px 16px;
}
.form-success { background: rgba(192, 154, 69, 0.1); color: var(--gold-dark); }
.form-error   { background: rgba(92, 26, 42, 0.08);  color: var(--wine-mid); }

/*--------------------------------------------------------------
# Sticky Buy Button
--------------------------------------------------------------*/
#sticky-button {
  position: fixed;
  top: 5px; right: 15px;
  z-index: 9999;
}
#sticky-button .site-btn { padding: 10px 22px; line-height: 1; }

/*--------------------------------------------------------------
# Featured image block
--------------------------------------------------------------*/
.featured-img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
  display: block;
}

/*--------------------------------------------------------------
# reCAPTCHA — hide floating badge
--------------------------------------------------------------*/
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.recaptcha-notice {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(58, 37, 24, 0.4);
  text-align: center;
  width: 100%;
}
.recaptcha-notice a             { color: rgba(58, 37, 24, 0.5); text-decoration: underline; }
.recaptcha-notice a:hover       { color: var(--gold-dark); }

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (min-width: 767px) {
  #subscribe input { min-width: 380px; }
}

@media (max-width: 1199px) {
  #header .container { max-width: 100%; }
  .nav-menu a        { padding: 8px 4px; }
}

@media (max-width: 991px) {
  /* Header collapses to 80px, desktop nav hidden */
  #header,
  #header.header-scrolled,
  #header.header-fixed {
    height: 80px;
    box-shadow: 0 2px 12px rgba(28, 17, 10, 0.08);
  }
  #header .ticket-buttons { display: none; }
  #header .header-event-info,
  .header-event-info { display: none; }
  #nav-menu-container { display: none; }

  /* Mobile toggle visible */
  #mobile-nav-toggle {
    display: flex !important;
    top: 15px; right: 10px;
  }

  /* Intro */
  #intro .intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
  }
  #intro h1 { font-size: 36px; }
  #intro h2.intro-date { font-size: 16px; }
  #intro p  { font-size: 15px; }

  /* Featured */
  .row.d-flex   { flex-direction: column; }
  .featured-img { max-width: 60%; margin-bottom: 20px; }
  .col-lg-7     { text-align: center; }
}

@media (max-width: 768px) {
  /* Section headers */
  .section-header h2 { font-size: 26px; letter-spacing: 0.1em; }

  /* Intro */
  #intro {
    height: calc(100vh - 80px) !important;
    min-height: 420px;
    margin-top: 80px;
    background-position: center center;
    background-size: contain;
  }

  /* Logo */
  #logo .logo-text   { font-size: 14px; }
  #footer .logo-text { font-size: 20px; }

  /* Logo cards */
  #wineries .logo-item,
  #sponsors .logo-item         { height: 82px; }
  #wineries .logo-item img,
  #sponsors .logo-item img     { max-width: 78%; max-height: 78%; }

  /* Sections */
  #subscribe { padding: 60px 20px; }
  #gallery   { padding: 60px 10px; }

  /* Subscribe form */
  #subscription-form .form-row .col-auto { margin-bottom: 10px; }
  #subscription-form .form-control       { width: 100%; }

  /* Touch targets — WCAG 2.5.5 minimum 44×44px interactive area */
  #mobile-nav a {
    display: block;
    padding: 14px 20px;
    min-height: 44px;
  }
  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }
  .contact-info a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
  }

}

@media (max-width: 575px) {
  /* Logo cards */
  #wineries .logo-item,
  #sponsors .logo-item         { height: 74px; margin-bottom: 20px; }
  #wineries .logo-item img     { max-width: 74%; max-height: 74%; }
  #sponsors .logo-item img     { max-width: 78%; max-height: 78%; }

  /* Subscribe form stacks vertically */
  #subscription-form .form-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  #subscription-form .col-auto {
    width: 100%;
    max-width: 320px;
    padding: 0;
  }
  #subscription-form .form-control,
  #subscription-form .subscription-btn { width: 100%; border-radius: 0; }
}

/*--------------------------------------------------------------
# Session leader byline (presenter credit under session title)
--------------------------------------------------------------*/
.session-leader {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink-light);
  font-style: italic;
  margin: -2px 0 18px !important;
}

/*--------------------------------------------------------------
# Sponsor winery badge
--------------------------------------------------------------*/
.sponsor-winery {
  border: 2px solid rgba(192, 154, 69, 0.62) !important;
  background: linear-gradient(145deg, rgba(192, 154, 69, 0.12) 0%, #fff 55%) !important;
}
.sponsor-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  background: rgba(192, 154, 69, 0.22);
  border: 1px solid rgba(122, 92, 30, 0.42);
  padding: 4px 7px;
  line-height: 1.5;
  z-index: 2;
  white-space: nowrap;
}

/*--------------------------------------------------------------
# Event Partners subsection (non-winery sponsors: Riedel, Travel Paso)
--------------------------------------------------------------*/
.event-partners {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid rgba(192, 154, 69, 0.15);
  text-align: center;
}
.event-partners-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 24px;
}
.partner-logo-item {
  height: 96px !important;
  margin-bottom: 0 !important;
}

/*--------------------------------------------------------------
# Winery Highlight / Partner section
--------------------------------------------------------------*/
#winery-highlight {
  padding: 90px 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
#winery-highlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(192, 154, 69, 0.35), transparent);
}
#winery-highlight .section-header h2 { color: var(--cream); }
#winery-highlight .section-header p  { color: rgba(251, 248, 243, 0.65); }
#winery-highlight .section-header::before { background: var(--gold); }
#winery-highlight .section-header::after  { background: var(--gold-light); }

.benefit-item {
  padding: 28px 22px;
  border: 1px solid rgba(192, 154, 69, 0.18);
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  height: calc(100% - 30px);
  transition: border-color 0.3s ease;
}
.benefit-item:hover { border-color: rgba(192, 154, 69, 0.45); }
.benefit-item h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.benefit-item p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(251, 248, 243, 0.6);
  margin: 0;
}

.highlight-audience {
  margin-top: 50px;
  padding: 28px 40px;
  border-left: 3px solid var(--gold);
  background: rgba(192, 154, 69, 0.05);
}
.highlight-audience p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.75;
  color: rgba(251, 248, 243, 0.82);
  text-align: center;
  margin: 0;
}
.highlight-audience strong {
  color: var(--gold-light);
  font-style: normal;
}

#winery-highlight .site-btn {
  color: var(--gold-light) !important;
  border-color: var(--gold-light);
  margin-top: 40px;
}
#winery-highlight .site-btn:hover { color: var(--cream) !important; border-color: var(--gold); }

@media (max-width: 768px) {
  .highlight-audience { padding: 22px 20px; }
  .highlight-audience p { font-size: 16px; }
}
