:root {
  /* Forest palette: deep near-black forest + bone + single amber accent.
     Deliberately not the beige/cream + terracotta/brass + espresso combo
     used on the main wildbrook-bevvy-burros site render, that family reads
     as generic "artisan AI default" at this contrast; this is the same
     brand hue family pushed colder and darker for a one-page premium
     placement. */
  --forest-950: #0c1712;
  --forest-800: #17251d;
  --bone: #eef0e8;
  --bone-deep: #e1e5d6;
  --paper: #f7f8f3;
  --amber: #c9973f;
  --amber-deep: #a67a2c;
  --ink: #10160f;
  --ink-soft: #3d4a3f;
  --hairline: rgba(16, 22, 15, 0.14);
  --hairline-on-dark: rgba(238, 240, 232, 0.16);
  --shadow: rgba(12, 23, 18, 0.16);
  --shadow-strong: rgba(12, 23, 18, 0.32);

  /* Fraunces + Inter are the client's real, already-live brand type on
     wildbrook-bevvy-burros.com. Kept here on purpose for cross-property
     consistency rather than swapped for novelty. */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shell-max: 1100px;
  --radius-soft: 20px;
  --radius-tag: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 500; }
h2 em, h1 em { font-style: italic; color: var(--amber-deep); line-height: 1.15; padding-bottom: 0.08em; display: inline-block; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--amber-deep);
  margin: 0 0 14px;
}

/* Reveal-on-scroll for below-the-fold sections, motivated: sequence the
   page's information the way a reader should take it in, not a decoration */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Hero content is above the fold, so it fades in on its own with plain CSS
   rather than waiting on a scroll observer (no flash if JS is slow/blocked) */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-in {
  opacity: 0;
  animation: hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-in--1 { animation-delay: 0.05s; }
.hero-in--2 { animation-delay: 0.15s; }
.hero-in--3 { animation-delay: 0.28s; }
.hero-in--4 { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in { opacity: 1; animation: none; }
}

/* Buttons: one accent, one shape (full pill), one label everywhere it appears */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn__arrow { transition: transform 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(166, 122, 44, 0.28);
}
.btn--amber:hover { background: var(--amber-deep); }

.btn--outline {
  background: transparent;
  color: var(--bone);
  border-color: var(--hairline-on-dark);
}
.btn--outline:hover { background: rgba(238, 240, 232, 0.08); border-color: var(--bone); }

.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn--outline-dark:hover { background: rgba(16, 22, 15, 0.05); border-color: var(--ink-soft); }

.btn--small { padding: 10px 18px; font-size: 0.88rem; }
.btn--large { padding: 18px 32px; font-size: 1.06rem; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  filter: grayscale(12%) contrast(1.05) saturate(0.92);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 23, 18, 0.94) 0%, rgba(12, 23, 18, 0.82) 38%, rgba(12, 23, 18, 0.4) 68%, rgba(12, 23, 18, 0.14) 100%);
}
.hero__badge {
  position: absolute;
  z-index: 1;
  top: clamp(28px, 4.2vw, 56px);
  right: clamp(20px, 5vw, 64px);
  width: clamp(150px, 20vw, 260px);
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(6, 12, 9, 0.4));
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(64px, 9vw, 112px);
  max-width: 640px;
}
.hero .eyebrow { color: var(--amber); }
.hero h1 { color: var(--bone); }
.hero__lede { color: rgba(238, 240, 232, 0.86); font-size: 1.1rem; max-width: 480px; }
.hero__ctas { margin-top: 8px; }

/* Photo labels: a plain disclosure, not a decorative caption */
.photo-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(12, 23, 18, 0.7);
  border: 1px solid var(--hairline-on-dark);
  backdrop-filter: blur(4px);
  color: var(--bone);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: var(--radius-tag);
  white-space: nowrap;
}

/* Manifesto: a quiet typographic break between the hero and the gallery.
   No photo here on purpose, a real detail about how the service actually
   works (handlers pair the bonded pair, guests don't pick), not a stock
   image standing in for a moment we don't have yet. */
.manifesto { position: relative; overflow: hidden; padding: clamp(88px, 13vw, 152px) 0; background: var(--paper); }
.manifesto__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.manifesto__emblem {
  width: 56px;
  height: auto;
  margin: 0 auto 28px;
  opacity: 0.82;
}
.manifesto__line {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.14;
  padding-bottom: 0.12em;
  margin: 0 0 20px;
}
.manifesto__sub {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 440px;
  margin: 0 auto;
}

/* Gallery: horizontal scroll-snap carousel, motivated as the right pattern
   for breadth (several example images) rather than a grid competing for
   the same attention as the event photo above it */
.gallery { padding: clamp(64px, 10vw, 108px) 0; background: var(--paper); }
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.gallery__head h2 { margin-bottom: 8px; }
.gallery__head p { margin: 0; max-width: 440px; }
.gallery__nav { display: flex; gap: 10px; flex-shrink: 0; }
.gallery__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.gallery__nav-btn:hover { background: var(--bone); border-color: var(--ink-soft); }
.gallery__nav-btn:active { transform: scale(0.94); }

.gallery__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 24px 20px;
  margin: 0 -24px;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 32vw, 320px);
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 16px 36px var(--shadow);
}
.gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(12%) contrast(1.05) saturate(0.92);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery__card:hover img { transform: scale(1.045); }
.gallery__card .photo-tag { bottom: 10px; right: 10px; }

/* Event section */
.event { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 108px) 0; background: var(--bone); }

/* Debossed logo canvas: the mark tiled small and tone-on-tone across the
   whole section, like a monogram canvas, not one big badge in a corner.
   Two offset copies of the same fine-line mask (dark sliver top-left of
   every stroke, light sliver bottom-right) read as pressed into the page
   rather than printed on top of it. Shared by .event and .manifesto. */
.canvas-pattern {
  position: absolute;
  inset: -40px;
  z-index: 0;
  pointer-events: none;
}
.canvas-pattern::before,
.canvas-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask-image: url("images/logo-mark-black.png");
  mask-image: url("images/logo-mark-black.png");
  -webkit-mask-size: 92px 110px;
  mask-size: 92px 110px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
.canvas-pattern::after {
  background: rgba(16, 22, 15, 0.09);
  transform: translate(-1.5px, -1.5px);
}
.canvas-pattern::before {
  background: rgba(255, 255, 255, 0.55);
  transform: translate(1.5px, 1.5px);
}
.event__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.event__media { position: relative; }
.event__media img {
  border-radius: var(--radius-soft);
  box-shadow: 0 20px 50px var(--shadow-strong);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(12%) contrast(1.05) saturate(0.92);
}

.event__date-block {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.event__date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 500;
  color: var(--amber-deep);
  line-height: 1.15;
  padding-bottom: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.event__place {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 220px;
}

/* Contact: the one deliberate dark statement band, same forest-950 as the
   hero scrim and footer so the page keeps a single dark family */
.contact { padding: clamp(72px, 12vw, 120px) 0; background: var(--forest-950); text-align: center; }
.contact .eyebrow { color: var(--amber); }
.contact h2 { color: var(--bone); }
.contact p { color: rgba(238, 240, 232, 0.78); max-width: 480px; margin-left: auto; margin-right: auto; font-size: 1.04rem; }
.contact .btn { margin-top: 8px; }

/* Footer */
.site-footer { padding: 28px 0; background: var(--forest-950); border-top: 1px solid var(--hairline-on-dark); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  color: rgba(238, 240, 232, 0.56);
  font-size: 0.85rem;
}
.site-footer__credit a { color: rgba(238, 240, 232, 0.72); text-decoration: none; border-bottom: 1px solid var(--hairline-on-dark); }
.site-footer__credit a:hover { color: var(--amber); border-color: var(--amber); }

@media (max-width: 780px) {
  .event__grid { grid-template-columns: 1fr; }
  .event__media { order: -1; }
  .event__media img { aspect-ratio: 16 / 10; }
  .event__date-block { flex-wrap: wrap; gap: 8px 18px; }
  .gallery__head { flex-direction: column; align-items: flex-start; }
  .gallery__nav { align-self: flex-end; }
}

@media (max-width: 560px) {
  .hero__badge {
    width: 76px;
    top: 18px;
    right: 18px;
  }
}
