/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette derived from all four brands */
  --espresso:   #1C1208;   /* deep dark base */
  --brown:      #3B2312;   /* coffee brown */
  --amber:      #C8873F;   /* warm gold — Brew & Sip */
  --green:      #3A5C2A;   /* forest — Broadening Louisville */
  --orange:     #D4581A;   /* warm orange — Flavorfull Catering */
  --rust:       #8B2A1E;   /* deep rust — Grit N Griddle */
  --cream:      #F5EDD7;   /* warm cream */
  --offwhite:   #FAFAF5;   /* section bg */
  --text:       #1A1208;
  --text-muted: #6B5B47;
  --border:     #E8DECA;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container:   1180px;
  --radius:      12px;
  --radius-sm:   6px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--offwhite);
  overflow-x: hidden;
}

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ── Shared Typography ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.eyebrow--light { color: var(--cream); opacity: 0.7; }

.section-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head--light h2 { color: var(--cream); }
.section-sub { color: var(--text-muted); font-size: 1.05rem; }
.section-head--light .section-sub { color: var(--cream); opacity: 0.75; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

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

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 237, 215, 0.5);
}
.btn--ghost:hover { border-color: var(--cream); background: rgba(245,237,215,0.08); }

.btn--full { width: 100%; justify-content: center; }

/* ── Scroll Animation ── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════
   NAV
════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.scrolled {
  background: var(--espresso);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.nav__logo span { color: var(--amber); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--amber); }

.nav__cta {
  background: var(--amber);
  color: #fff !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s !important;
}
.nav__cta:hover { background: #b5742e !important; color: #fff !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200, 135, 63, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(58, 92, 42, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(139, 42, 30, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #1C1208 0%, #2E1A0C 45%, #1A1108 100%);
}

/* Subtle grain texture */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem clamp(1.25rem, 6vw, 3rem) 6rem;
  max-width: 860px;
  animation: heroFadeIn 1s var(--ease) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero__title {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero__title em {
  font-style: italic;
  color: var(--amber);
}

.hero__sub {
  color: rgba(245, 237, 215, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
  animation: heroFadeIn 1.4s var(--ease) both;
}
.hero__scroll:hover { color: rgba(255,255,255,0.75); }

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
.about {
  padding-block: var(--section-pad);
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.about__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__monogram {
  width: clamp(240px, 40vw, 360px);
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--brown), var(--espresso));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
  box-shadow: 0 24px 64px rgba(28, 18, 8, 0.25);
}

.about__badge {
  position: absolute;
  bottom: 1rem;
  right: 0;
  background: var(--amber);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(200, 135, 63, 0.4);
}

.about__text h2 { margin-bottom: 1.25rem; }
.about__text p  { color: var(--text-muted); margin-bottom: 1rem; }
.about__text p:last-of-type { margin-bottom: 2rem; }

/* ════════════════════════════════
   BRANDS
════════════════════════════════ */
.brands {
  padding-block: var(--section-pad);
  background: var(--offwhite);
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Brand accent colors */
[data-brand="brew"]        { --brand-color: var(--amber); }
[data-brand="broadening"]  { --brand-color: var(--green); }
[data-brand="flavorfull"]  { --brand-color: var(--orange); }
[data-brand="grit"]        { --brand-color: var(--rust); }

.brand-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28,18,8,0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(28,18,8,0.14);
}

.brand-card__accent {
  height: 5px;
  background: var(--brand-color);
}

.brand-card__logo-wrap {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card__logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-color) 12%, white);
  border: 2px solid color-mix(in srgb, var(--brand-color) 25%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-color);
  letter-spacing: -0.01em;
}

.brand-card__body {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.brand-card__body h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
}
.brand-card__desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-color);
  transition: gap 0.2s var(--ease);
}
.brand-card__link:hover { gap: 0.6rem; }

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
.contact {
  padding-block: var(--section-pad);
  background: linear-gradient(160deg, var(--espresso) 0%, #2E1A0C 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(200,135,63,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__info { color: var(--cream); }

.contact__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.contact__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact__item strong { display: block; color: #fff; margin-bottom: 0.2rem; }
.contact__item p { color: rgba(245,237,215,0.7); font-size: 0.925rem; }

.contact__brands-list { margin-top: 2rem; }
.contact__brands-list strong { display: block; color: #fff; margin-bottom: 0.75rem; }
.contact__brands-list ul { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__brands-list a {
  color: rgba(245,237,215,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.contact__brands-list a:hover { color: var(--amber); }

/* Form */
.contact__form {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.form__group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.required { color: var(--amber); }

.form__group input,
.form__group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: #b0a090; }

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200,135,63,0.15);
  background: #fff;
}
.form__group input.error,
.form__group textarea.error { border-color: var(--rust); }

.form__status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form__status.success {
  display: block;
  background: rgba(58,92,42,0.1);
  color: var(--green);
  border: 1px solid rgba(58,92,42,0.25);
}
.form__status.error {
  display: block;
  background: rgba(139,42,30,0.1);
  color: var(--rust);
  border: 1px solid rgba(139,42,30,0.25);
}

/* Form success state */
#formSuccess {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  gap: 1rem;
}

.form__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(58, 92, 42, 0.1);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__success h3 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.5rem;
}

.form__success p {
  color: var(--text-muted);
  max-width: 320px;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: var(--espresso);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 4rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}
.footer__logo span { color: var(--amber); }
.footer__brand p { color: rgba(245,237,215,0.55); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a {
  color: rgba(245,237,215,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--amber); }

.footer__bottom {
  padding-block: 1.5rem;
  text-align: center;
}
.footer__bottom p { color: rgba(245,237,215,0.35); font-size: 0.8rem; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .about__grid     { grid-template-columns: 1fr; text-align: center; }
  .about__visual   { justify-content: center; margin-bottom: 1rem; }
  .about__badge    { right: 50%; transform: translateX(50%); bottom: -0.5rem; }
  .about__text .btn { display: flex; width: fit-content; margin-inline: auto; }

  .contact__grid   { grid-template-columns: 1fr; }
  .footer__top     { grid-template-columns: 1fr 1fr; }
  .footer__brand   { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--espresso);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.35rem; }
  .nav__toggle { display: flex; z-index: 101; }

  .hero__actions { flex-direction: column; align-items: center; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .brands__grid { grid-template-columns: 1fr; }
}
