/* Darby Drink Co. — brand tokens from the logo */
:root {
  --orange: #CA5402;
  --orange-dark: #A84402;
  --brown: #4D2107;
  --cream: #F7F1E8;
  --white: #ffffff;
  --brown-soft: rgba(77, 33, 7, 0.72);
  --brown-faint: rgba(77, 33, 7, 0.08);
  --brown-line: rgba(77, 33, 7, 0.14);
  --cream-deep: #EFE6D8;
  --shadow: 0 18px 40px rgba(77, 33, 7, 0.08);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 4.5rem;
  --radius: 1.35rem;
  --wrap: 72rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.75rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
a:hover { color: var(--orange-dark); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brown);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--brown);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--brown-line);
  background: rgba(247, 241, 232, 0.96);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.wordmark img {
  width: auto;
  height: 2.85rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--orange-dark); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--brown);
  margin: 5px auto;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-secondary:hover { background: var(--brown); color: var(--cream); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Sections */
.section {
  padding: 6.5rem 1.5rem;
}
.section-alt { background: var(--white); }
.section-intro {
  max-width: 38rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.85rem;
}
.eyebrow-cream { color: #F3C09A; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
.dek {
  margin: 1.1rem 0 0;
  color: var(--brown-soft);
  font-size: 1.125rem;
}
.section-intro .dek { margin-left: auto; margin-right: auto; }

/* Hero */
.hero {
  padding: 2.5rem 1.5rem 5.5rem;
}
.hero-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4rem;
  align-items: center;
}
.hero-logo {
  width: min(26.5rem, 100%);
  margin: 0 0 1.5rem;
}
.hero h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.15rem);
}
.lede {
  margin: 1.15rem 0 0;
  font-size: 1.15rem;
  color: var(--brown-soft);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  background: var(--white);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem 1.25rem;
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* Steps + drinks */
.steps {
  list-style: none;
  margin: 0 auto 3.25rem;
  padding: 0;
  max-width: var(--wrap);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.4rem;
  color: var(--brown-soft);
  min-height: 100%;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.45rem;
}
.steps strong { color: var(--brown); font-weight: 600; }

.drink-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--wrap);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.drink-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem 1.5rem;
  box-shadow: 0 1px 0 var(--brown-faint);
  border: 1px solid var(--brown-line);
}
.section-alt .drink-card,
#menu .drink-card { background: var(--white); }
#menu { background: var(--cream); }
.drink-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0.85rem 0 0.4rem;
}
.drink-card p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 0.98rem;
}
.icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: #F3E0D0;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-wrap svg { width: 1.7rem; height: 1.7rem; }
.icon-wrap.on-dark {
  background: rgba(247, 241, 232, 0.12);
  color: #F3C09A;
}

/* Find us — coming soon */
.coming-soon {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}
.coming-soon .dek {
  margin-left: auto;
  margin-right: auto;
}
.coming-soon .btn { margin-top: 1.75rem; }

.photo-band {
  max-width: var(--wrap);
  margin: 3.25rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Host */
.section-brown {
  background: var(--brown);
  color: var(--cream);
  padding: 6.5rem 1.5rem;
}
.section-brown h2 { color: var(--cream); }
.section-brown .dek { color: rgba(247, 241, 232, 0.8); }
.host-layout {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.host-copy .btn { margin-top: 1.75rem; }
.host-visual { display: grid; gap: 1.1rem; }
.host-photo {
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 22rem;
}
.host-photo img {
  width: auto;
  max-width: 100%;
  height: min(28rem, 70vh);
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.28));
}
.venue-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.venue-grid li:nth-child(-n+3) { grid-column: span 2; }
.venue-grid li:nth-child(n+4) { grid-column: span 3; }
.venue-grid li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(247, 241, 232, 0.06);
  border: 1px solid rgba(247, 241, 232, 0.1);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  font-weight: 600;
  color: var(--cream);
}

/* About */
.about-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about-copy p { color: var(--brown-soft); }
.about-copy p + p { margin-top: 1rem; }
.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  background: var(--cream-deep);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Contact */
.contact-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.2rem;
}
.contact-list a {
  color: var(--brown);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}
.contact-list a:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--brown-line);
  display: grid;
  gap: 1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-weight: 600;
  font-size: 0.9rem;
}
.field input,
.field textarea {
  font: inherit;
  color: var(--brown);
  background: var(--cream);
  border: 1px solid var(--brown-line);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 8rem; }
.contact-form .btn { justify-self: start; margin-top: 0.25rem; }
.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brown-soft);
}

/* Footer */
.site-footer {
  padding: 2.4rem 1.5rem 2.8rem;
  border-top: 1px solid var(--brown-line);
  background: var(--cream);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--brown-soft);
  font-size: 0.95rem;
}
.footer-mark { width: 2.1rem; height: 2.1rem; }
.site-footer p { margin: 0; }
.footer-contact { margin-top: 0.15rem; }
.footer-contact a {
  color: var(--brown-soft);
  text-decoration: none;
  font-weight: 500;
}
.footer-contact a:hover { color: var(--orange); }
.footer-contact a[href^="tel"] { white-space: nowrap; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--brown-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 2rem;
    min-height: calc(100dvh - var(--header-h));
    min-height: calc(100vh - var(--header-h));
  }
  .site-nav.is-open { display: flex; }
  body.menu-open { overflow: hidden; }
  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--brown-faint);
    font-size: 1.05rem;
  }
  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: 0;
  }
  .hero { padding-top: 1.25rem; padding-bottom: 3.5rem; }
  .hero-grid,
  .steps,
  .drink-grid,
  .host-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-photo {
    aspect-ratio: 3 / 4;
    padding: 1.25rem 1rem 0.85rem;
    max-height: none;
  }
  .host-photo img { height: min(24rem, 62vh); }

  .drink-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
  .section, .section-brown { padding: 4.25rem 1.25rem; }
  .header-inner { padding-left: 1.15rem; padding-right: 1.15rem; }
  .wordmark img { height: 2.4rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .about-photo { order: -1; aspect-ratio: 5 / 4; max-height: 22rem; }
  .venue-grid { grid-template-columns: 1fr 1fr; }
  .venue-grid li:nth-child(-n+3),
  .venue-grid li:nth-child(n+4) { grid-column: auto; }
  .photo-band { aspect-ratio: 16 / 9; margin-top: 2rem; }
}

@media (max-width: 520px) {
  .hero-logo { width: min(19.5rem, 100%); }
  .drink-card { padding: 1.15rem 1.05rem 1.2rem; }
  .drink-card h3 { font-size: 1.12rem; }
  .drink-card p { font-size: 0.9rem; }
}

@media (min-width: 861px) and (max-width: 1040px) {
  .drink-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 1rem; }
  .nav-cta { padding-left: 0.9rem; padding-right: 0.9rem; }
}
