/* Bougie Boots — grown-up wine, cream, gold. Mobile first. */
:root {
  --burgundy: #4b0418;
  --burgundy-deep: #2c0210;
  --burgundy-mid: #641126;
  --cream: #f6ead4;
  --cream-soft: #fbf6ea;
  --gold: #d4a53c;
  --gold-dim: #a07c2a;
  --ink: #2a0a12;
  --ink-muted: #5a3840;
  --line: rgba(212, 165, 60, 0.45);
  --radius: 2px;
  --header-h: 4.25rem;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --space: 1.25rem;
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--burgundy-deep);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2rem, 38rem);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--burgundy);
  color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding: 0.6rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  display: block;
  background: transparent;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.38rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 1;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.18em 0.28em;
  line-height: 0.9;
}

.wm-bougie {
  font-family: "Cinzel Decorative", "Fraunces", serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: none;
}

.wm-boots {
  font-family: "Great Vibes", "Fraunces", cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
}

h1.wordmark {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
}

h1.wordmark .wm-boots {
  font-size: 1.12em;
}

.brand-name.wordmark {
  font-style: normal;
  font-size: 1.45rem;
}

.brand-name.wordmark .wm-boots {
  font-size: 1.35em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
}

.site-nav a:hover {
  color: var(--gold);
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 18% 18%, rgba(212, 165, 60, 0.1), transparent 50%),
    var(--burgundy);
  color: var(--cream);
  text-align: center;
  padding: 2.5rem 1.25rem 0;
  position: relative;
  overflow: visible;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner {
  width: min(100%, 40rem);
  margin-inline: auto;
  display: grid;
  justify-items: center;
}

.hero-copy {
  width: 100%;
}

.hero-logo {
  display: block;
  width: min(74vw, 15rem);
  height: auto;
  margin: 0 auto;
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  object-fit: contain;
}
.hero-nicky {
  display: block;
  width: auto;
  max-width: min(100%, 20rem);
  max-height: 22rem;
  height: auto;
  margin: 1.25rem auto 0;
  object-fit: contain;
  object-position: bottom center;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow.gold {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-title {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--cream);
}

.tagline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 3.4vw, 1.85rem);
  font-weight: 500;
  color: var(--gold);
}

.ornament {
  width: 6.5rem;
  height: 0.7rem;
  margin: 1.35rem auto;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat,
    radial-gradient(circle at center, var(--gold) 1.5px, transparent 1.7px);
}

.hero-lead {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: #f0dcc0;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0;
}

/* Six-week course */
.course-layout {
  display: grid;
  gap: 0.25rem;
}

.course-body p {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: #f0dcc0;
  font-size: 1.08rem;
}

.course-body p:last-child {
  margin-bottom: 0;
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin: 1.75rem 0 0;
}

.course-flyer {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
}

.course-flyer a {
  color: var(--gold);
  text-underline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  color: inherit;
}

.btn-gold {
  background: var(--gold);
  color: #4b0418;
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--cream);
  color: #4b0418;
  border-color: var(--cream);
}

.btn-ghost {
  border-color: var(--gold);
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(212, 165, 60, 0.12);
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
}

.text-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--burgundy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.text-btn:hover {
  color: var(--burgundy);
}

/* Intro */
.intro {
  padding: 2.75rem 0 2.5rem;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--line);
}

.intro p {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  color: var(--ink-muted);
}

.intro p:last-child {
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 3.25rem 0 4rem;
}

.section-cream {
  background: var(--cream);
  color: var(--ink);
}

.section-wine {
  background: var(--burgundy);
  color: var(--cream);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
}

.section-lede {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-muted);
}

.on-dark .section-lede {
  color: #f0dcc0;
}

.on-dark h2 {
  color: var(--cream);
}

/* Calendar */
.calendar-layout {
  display: grid;
  gap: 2.25rem;
}

.cal-months-grid {
  display: grid;
  gap: 1rem;
}

.cal-panel {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  padding: 0.9rem 0.8rem 1rem;
}

.cal-month {
  margin: 0 0 0.6rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--burgundy);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
}

.cal-dow {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: 0.35rem 0 0.5rem;
}

.cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  cursor: default;
  border-radius: var(--radius);
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
}

.cal-day.is-empty {
  visibility: hidden;
}

.cal-day.has-class {
  cursor: pointer;
  border-color: rgba(75, 4, 24, 0.12);
  background: #fffdf8;
}

.cal-day.has-class::after {
  content: "";
  position: absolute;
  bottom: 0.28rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--gold);
}

.cal-day.is-today {
  box-shadow: inset 0 0 0 1px var(--burgundy-mid);
}

.cal-day.is-selected {
  background: var(--gold);
  color: var(--burgundy-deep);
  font-weight: 600;
  border-color: var(--gold);
}

.cal-day.is-selected::after {
  background: var(--burgundy);
}

.cal-day.has-class:hover:not(.is-selected) {
  border-color: var(--gold);
}

.class-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.class-panel-head h3 {
  margin: 0;
  font-size: 1.55rem;
  color: var(--burgundy);
}

.filter-status {
  min-height: 1.3em;
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.class-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.class-card {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.1rem 1.05rem;
  display: grid;
  gap: 0.25rem;
}

.class-card time {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 600;
}

.class-card h4 {
  margin: 0.15rem 0 0.1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--burgundy);
}

.class-meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.class-card .btn {
  justify-self: start;
  margin-top: 0.65rem;
}

.empty-state {
  margin: 0;
  padding: 1.25rem 1.15rem;
  border: 1px dashed var(--gold-dim);
  background: rgba(212, 165, 60, 0.06);
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.section-wine .empty-state {
  color: var(--cream);
  background: rgba(246, 234, 212, 0.06);
  border-color: var(--line);
}

/* Venues */
.venue-list {
  display: grid;
  gap: 1rem;
}

.venue-card {
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem;
  background: rgba(0, 0, 0, 0.18);
}

.venue-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.55rem;
  color: var(--cream);
}

.venue-area {
  margin: 0;
  color: var(--gold);
  font-size: 0.95rem;
}

.venue-notes,
.venue-address {
  margin: 0.45rem 0 0;
  color: #f0dcc0;
}

.venue-card a {
  color: var(--gold);
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

/* Form */
.signup-form {
  display: grid;
  gap: 1rem;
}

.field {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.req,
.opt {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid rgba(75, 4, 24, 0.22);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--gold-dim);
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  margin: 0.4rem 0 0;
}

/* Footer */
.site-footer {
  background: var(--burgundy-deep);
  color: #f0dcc0;
  padding: 2.25rem 0 2.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0 0 0.75rem;
}

.footer-brand img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin-inline: auto;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.footer-domain {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-domain a {
  color: var(--gold);
  text-decoration: none;
}

.footer-domain a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Success page */
.success-block {
  min-height: calc(100vh - var(--header-h) - 7rem);
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
  background: var(--burgundy);
  color: var(--cream);
  text-align: center;
}

.success-block h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin: 0.4rem 0 0.6rem;
}

.success-block p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: #f0dcc0;
}

/* Layout from 720px */
@media (min-width: 720px) {
  .cal-months-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .venue-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 3rem 1.5rem 0;
  }

  .hero-nicky {
    max-height: 28rem;
    max-width: 18.5rem;
  }

}

@media (min-width: 1000px) {
  .cal-months-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .hero {
    text-align: left;
    padding: 2.25rem 1.5rem 0;
  }

  .hero-inner {
    width: min(100% - 1rem, var(--max));
    grid-template-columns: minmax(20rem, 1fr) auto;
    align-items: end;
    justify-items: stretch;
    column-gap: 1.25rem;
  }

  .hero-copy {
    padding: 1.5rem 0 3.5rem;
  }

  .hero-title {
    margin: 0 0 1rem;
  }

  .hero-logo {
    width: min(100%, 16rem);
    margin: 0;
  }

  .ornament {
    margin: 1.35rem 0;
  }

  .hero-lead {
    margin: 0 0 1.75rem;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-nicky {
    max-height: 520px;
    max-width: none;
    width: auto;
    margin: 0;
    justify-self: end;
  }
}

@media (min-width: 960px) {
  .header-inner {
    width: min(100% - 2.5rem, var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.hero-lead a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hero-lead a:hover {
  color: var(--cream);
}

/* Links, but not the buttons - .btn-gold would lose to this on specificity
   and render gold-on-gold. */
.course-body a:not(.btn) {
  color: var(--gold);
}

/* Signup privacy + mailing */
.privacy-note {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.field-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
  cursor: pointer;
}

.field-checkbox input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--burgundy);
}
/* Course facts */
.fact-list {
  margin: 0 0 1.6rem;
  max-width: 46rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 0.7rem;
}

.fact {
  display: grid;
  gap: 0.1rem;
}

.fact dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.fact dd {
  margin: 0;
  color: var(--cream);
  font-size: 1.05rem;
}

/* Class list */
.list-more {
  margin: 1rem 0 0;
}

.venue-links {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.footer-social {
  margin-top: 0.6rem;
  font-size: 0.92rem;
}

.footer-social a {
  color: var(--gold);
  text-underline-offset: 3px;
}

@media (min-width: 640px) {
  .fact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.5rem;
  }
}

.text-btn-gold {
  color: var(--gold);
}

.text-btn-gold:hover {
  color: var(--cream);
}

/* Compact sticky header on small screens */
@media (max-width: 560px) {
  :root {
    --header-h: 3.4rem;
  }

  .header-inner {
    padding: 0.45rem 0;
    gap: 0.15rem 0.75rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand img {
    width: 2.1rem;
    height: 2.1rem;
  }

  .brand-name.wordmark {
    font-size: 1.15rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .site-nav a {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.15rem;
  }
}


/* Nicky 11 Sep: Rye brand wordmark, no circular header mark */
.brand-name.rye {
  font-family: "Rye", "Fraunces", "Iowan Old Style", Palatino, serif;
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.1;
}
.brand:has(.brand-name.rye) {
  gap: 0;
}

.further-courses {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(75, 4, 24, 0.15);
}
.further-courses h3 {
  font-family: "Fraunces", "Iowan Old Style", Palatino, serif;
  color: var(--wine, #4b0418);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.further-courses p {
  margin: 0 0 0.5rem;
  color: var(--ink-muted, #5a3840);
}
.further-courses ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-muted, #5a3840);
}
.further-courses li {
  margin: 0.25rem 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  justify-content: center;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(212, 165, 60, 0.35);
  border-radius: var(--radius);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--cream);
  position: relative;
  padding-right: 2.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p,
.faq-item ul {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: #f0dcc0;
  max-width: 40rem;
}

.faq-item ul {
  padding-left: 2.3rem;
  padding-bottom: 1.1rem;
}

.faq-item li {
  margin: 0.3rem 0;
}

.faq-item a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.faq-item a:hover {
  color: #f0d48a;
}
