/* ============================================================
   FONTS
============================================================ */
@font-face {
  font-family: 'Gill Sans';
  src: url('assets/GillSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gill Sans';
  src: url('assets/GillSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garamond';
  src: url('assets/Garamond-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   TOKENS
============================================================ */
:root {
  --black:           #000000;
  --cream:           #FEFBF3;
  --amber:           #ECA431;
  --amber-dark:      #C8880F;
  --amber-border:    rgba(236, 164, 49, 0.3);

  --on-black:        #ffffff;
  --on-black-muted:  #C7C7C7;
  --on-cream:        #1F1D1B;
  --on-cream-muted:  #63605F;

  --font-display:    'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
  --font-body:       'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:           60px;
  --max-w:           960px;
  --radius-card:     2rem;
  --shadow-card:     0 4px 6px rgba(0, 0, 0, 0.07);
  --transition:      0.18s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-cream);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--black);
  border-bottom: 1px solid rgba(236, 164, 49, 0.2);
  transition: border-color var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: calc(var(--max-w) + 4rem);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}

/* Links */
.nav__links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--black);
  padding: 1.5rem;
  gap: 1.5rem;
  border-bottom: 1px solid var(--amber-border);
}

.nav__links.is-open { display: flex; }

.nav__links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--on-black);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.is-active { color: var(--amber); }

/* CTA button */
.nav__cta {
  background: var(--amber);
  color: var(--black);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}

.nav__cta:hover { background: var(--amber-dark); }

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--on-black);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop nav */
@media (min-width: 900px) {
  .nav__toggle { display: none; }

  .nav__links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    gap: 2rem;
    border: none;
  }

  .nav__links a { font-size: 1rem; }

  .nav__cta {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background: var(--black);
  padding: 0 1.5rem 5rem;
  text-align: center;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.hero__crest {
  width: 180px;
  margin-top: 40px;
  margin-bottom: -100px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 10vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--on-black);
}

.hero__amp {
  font-family: 'Garamond', Georgia, serif;
  font-style: italic;
  font-weight: normal;
}

.hero__date {
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-black-muted);
  letter-spacing: -0.01em;
  margin-top: -0.5rem;
}

/* Stats row */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding: 0.625rem 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  transition: transform var(--transition);
}

.hero__stat:hover { transform: translateY(-3px); }
.hero__stat:hover .hero__stat-label { color: var(--on-black); }

.hero__stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--amber);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero__stat-icon {
  width: 36px;
  height: 36px;
  padding: 4px 0;
  color: var(--amber);
}

.hero__stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--on-black-muted);
  letter-spacing: 0.05em;
}

.hero__stat-divider {
  width: 1px;
  height: 38px;
  background: var(--amber);
  opacity: 0.3;
  flex-shrink: 0;
}

/* CTA */
.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.hero__scarcity {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.01em;
}

.hero__small {
  font-size: 0.75rem;
  color: var(--on-black-muted);
  line-height: 1.6;
  max-width: 380px;
  text-align: center;
}

.hero__small strong { font-weight: 600; color: var(--on-black); }

@media (min-width: 480px) {
  .hero__crest { width: 260px; margin-bottom: -115px; }
  .hero__stat-value { font-size: 2.2rem; }
}

/* ============================================================
   SHARED SECTION LAYOUT
============================================================ */
.section {
  padding: 5rem 1.5rem;
}

@media (min-width: 900px) {
  .section { padding: 8.75rem 2rem; }
}

.section--light { background: var(--cream); color: var(--on-cream); }
.section--dark  { background: var(--black); color: var(--on-black); }
.section--amber { background: var(--amber); color: var(--on-cream); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.container--narrow {
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  /* section desktop padding set above at the .section rule */
}

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */

/* Amber Gill Sans Light — for section display headings on dark bg */
.section__display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--amber);
  text-align: center;
  margin-bottom: 4rem; /* 64px when standalone */
}

/* When a subtitle immediately follows, close the gap to 20px */
.section__display:has(+ .section__subtitle) {
  margin-bottom: 1.25rem;
}

/* Dark variant (on cream bg) */
.section__display--dark {
  color: var(--amber);
}

/* On amber background — use dark text not amber */
.section__display--on-amber {
  color: var(--on-cream);
}

/* Gill Sans SemiBold section heading */
.section__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--on-cream);
  text-align: center;
}

.section--dark .section__heading { color: var(--on-black); }

/* Body subtitle under display heading */
.section__subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-black-muted);
  text-align: center;
  margin-top: 0;
  margin-bottom: 4rem; /* 64px to content */
}

.section__subtitle--dark {
  color: var(--on-cream-muted);
}

/* Subtext under section heading */
.section__subtext {
  font-size: 1rem;
  color: var(--on-cream-muted);
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: center;
}

/* Disclaimer note */
.section__note {
  font-size: 0.75rem;
  color: var(--on-cream-muted);
  text-align: center;
  margin-top: 0;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--amber);
  color: var(--black);
  border: 2px solid var(--amber);
}

.btn--primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
}

.btn--outline {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
}

.btn--outline:hover {
  background: rgba(236, 164, 49, 0.1);
}

/* ============================================================
   BEVERAGE CARDS
============================================================ */
.beverage-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: box-shadow var(--transition), transform var(--transition);
}

a.beverage-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.beverage-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12%;
}

/* ============================================================
   BEERS & CIDERS
============================================================ */
.producer-group {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 7.5rem;
}

.producer-group__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.beverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .beverage-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ============================================================
   ARTIST (BANDS + FOOD)
============================================================ */
.artist__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1;
  color: var(--on-black);
}

.artist__bio {
  font-size: 1rem;
  color: var(--on-black-muted);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.artist__quote {
  border-left: 2px solid var(--amber);
  padding-left: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.artist__quote p {
  font-style: italic;
  color: var(--amber);
  font-size: 1rem;
  line-height: 1.5;
}

.artist__quote cite {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--on-black-muted);
}

/* Artist image */
.artist__image {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.artist__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   LIVE MUSIC
============================================================ */
.section--dark .section__subtitle { color: var(--on-black-muted); }

/* Headline act */
.artist--headline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 7.5rem;
}

.artist--headline .artist__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.artist__header {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.artist__tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--amber);
  color: var(--black);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.01px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Supporting acts grid */
.artists-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.artists-grid .artist {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.artists-grid .artist__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 900px) {
  .artist--headline {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .artist--headline .artist__image { flex: 1; }
  .artist--headline .artist__content { flex: 1; }

  .artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .artists-grid .artist__image { aspect-ratio: 4 / 3; }
}

/* ============================================================
   FOOD
============================================================ */
.food-artist {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.food-artist__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.food-artist__images .beverage-card {
  aspect-ratio: 1 / 1;
}

.food-artist__images .beverage-card img {
  object-fit: cover;
  padding: 0;
}

/* Logo card keeps padding */
.food-artist__images .beverage-card:first-child img {
  object-fit: contain;
  padding: 12%;
}

.food-artist__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.food-artist__name { color: var(--on-cream); }

.section--light .artist__bio { color: var(--on-cream-muted); }
.section--light .artist__quote p { color: var(--amber); }
.section--light .artist__quote cite { color: var(--on-cream-muted); }

@media (min-width: 600px) {
  .food-artist__images { gap: 2rem; }
}

/* ============================================================
   COMMUNITY
============================================================ */
@media (min-width: 900px) {
  #community, #contact {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
  }

  #community .container,
  #contact .container,
  #contact .container--narrow {
    width: 100%;
  }
}
.community-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.community-body p {
  color: var(--on-black-muted);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 640px;
}

.community-body strong { color: var(--on-black); font-weight: 600; }

/* ============================================================
   CONTACT
============================================================ */
.contact-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.contact-cta {
  font-size: 1rem;
  color: var(--on-cream);
  max-width: 36ch;
  text-align: center;
}

.btn--contact-email {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--black);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  background: transparent;
  letter-spacing: -0.01em;
  transition: background var(--transition), color var(--transition);
}

.btn--contact-email:hover {
  background: var(--black);
  color: var(--amber);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn--social {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--black);
  color: var(--amber);
  border: 2px solid var(--black);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity var(--transition);
}

.btn--social:hover { opacity: 0.8; }

/* ============================================================
   SPONSORS
============================================================ */
.sponsors-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-cream-muted);
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

.sponsors-flow a {
  color: var(--on-cream-muted);
  transition: color var(--transition);
}

.sponsors-flow a:hover { color: var(--amber); }

.sponsors-dot {
  color: var(--amber);
  font-size: 1rem;
  line-height: 1;
}

.sponsors-credit {
  font-size: 0.75rem;
  color: var(--on-cream-muted);
  text-align: center;
}

.sponsors-credit a {
  text-decoration: underline;
  color: var(--on-cream-muted);
  transition: color var(--transition);
}

.sponsors-credit a:hover { color: var(--amber); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__crest {
  width: 100%;
  max-width: 448px;
  height: auto;
  display: block;
  margin-bottom: -1px;
}

.site-footer__bar {
  background: var(--black);
  height: 40px;
  width: 100%;
}

/* ============================================================
   MOBILE OVERRIDES (< 900px)
============================================================ */
@media (max-width: 899px) {
  /* Constrain the footer village silhouette on small screens */
  .site-footer__crest { max-width: 65%; }

  /* Tighten the gap below section display headings */
  .section__display { margin-bottom: 2rem; }
  .section__display:has(+ .section__subtitle) { margin-bottom: 1.25rem; }
  .section__subtitle { margin-bottom: 2rem; }

  /* Reduce the large gaps between beers/ciders blocks and disclaimer */
  .producer-group { margin-bottom: 3rem; }

  /* Headline act gap should match the supporting acts gap on single column */
  .artist--headline { margin-bottom: 3rem; }
}
