/* ============================================================
   The Wild Bloom Mobile Bar — evening garden aesthetic
   ink / cream / blush / gold · Cormorant + Montserrat
   ============================================================ */

:root {
  --ink: #101113;
  --ink-soft: #17181c;
  --surface: #1c1d22;
  --cream: #f4ede2;
  --cream-dim: rgba(244, 237, 226, 0.68);
  --cream-faint: rgba(244, 237, 226, 0.38);
  --blush: #e78d7c;
  --blush-deep: #d9755f;
  --gold: #cfa36b;
  --line: rgba(244, 237, 226, 0.14);
  --serif: "Cormorant", Georgia, serif;
  --sans: "Montserrat", -apple-system, "Helvetica Neue", sans-serif;
  --container: 1180px;
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section { padding-block: clamp(72px, 10vw, 130px); }
.section--full { padding-inline: 0; }

/* ---------- type ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  max-width: 18ch;
}

.section__lede {
  max-width: 62ch;
  color: var(--cream-dim);
  font-size: 17px;
  margin-bottom: 12px;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn:active { transform: scale(0.97); }

.btn--solid {
  background: var(--blush);
  color: #211010;
}
.btn--solid:hover { background: var(--blush-deep); }

.btn--ghost {
  border: 1px solid var(--cream-faint);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--cream); }

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(16, 17, 19, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav__brand em {
  font-style: italic;
  color: var(--gold);
}
.nav__brand img { border-radius: 50%; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
}
.nav__links a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  transition: color 0.2s ease;
  padding: 8px 0;
}
.nav__links a:hover { color: var(--cream); }

.nav__cta {
  border: 1px solid var(--blush);
  color: var(--blush) !important;
  padding: 11px 22px !important;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease !important;
}
.nav__cta:hover {
  background: var(--blush);
  color: #211010 !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.25s 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); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px clamp(20px, 4vw, 40px) 26px;
  background: rgba(16, 17, 19, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  padding: 13px 0;
}
.nav__mobile .nav__cta {
  margin-top: 10px;
  text-align: center;
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile:not([hidden]) { display: flex; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero.no-video .hero__media video { display: none; }
.hero.no-video .hero__media {
  background: url("../assets/img/hero-poster.jpg") center / cover no-repeat;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,17,19,0.55) 0%, rgba(16,17,19,0.28) 40%, rgba(16,17,19,0.82) 100%),
    radial-gradient(ellipse at center, rgba(16,17,19,0.1) 0%, rgba(16,17,19,0.5) 100%);
  transition: opacity 1.4s ease;
}

/* ---- cinema choreography: video plays once, holds on the cart, copy fades in ---- */
.hero--cinema .hero__scrim { opacity: 0.25; }
/* the freeze-frame couple + cart already carry the logo — keep the overlay mark small */
.hero--cinema .hero__logo {
  width: clamp(96px, 12vw, 120px);
  margin-bottom: 18px;
}
.hero--cinema .hero__content,
.hero--cinema .hero__scroll {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
.hero--cinema .hero__content { transform: translateY(24px); }
.hero--cinema .hero__content,
.hero--cinema .hero__scroll {
  transition: opacity 1.4s ease, transform 1.4s var(--ease-out);
}
.hero--cinema.is-done .hero__scrim { opacity: 1; }
.hero--cinema.is-done .hero__content,
.hero--cinema.is-done .hero__scroll {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 24px) 24px 60px;
  animation: heroIn 1.2s var(--ease-out) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero__logo {
  width: clamp(160px, 24vw, 250px);
  height: auto;
  margin-inline: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.45));
}

.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.6vw, 25px);
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 50px);
  line-height: 1.18;
  max-width: 26ch;
  margin-inline: auto;
  margin-bottom: 38px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.hero__title em {
  font-style: italic;
  color: var(--blush);
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cream-dim);
  padding: 10px;
  animation: drift 2.6s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- services ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: stretch;
}
.feature + .feature { margin-top: clamp(22px, 3vw, 36px); }

.feature__media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
}
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.feature__media:hover img { transform: scale(1.04); }

.feature__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 60px 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(16, 17, 19, 0.85));
}
.feature__caption p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.4;
}

.feature__body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(28px, 3.5vw, 48px);
  transition: border-color 0.35s ease;
}
.feature__body:hover { border-color: rgba(207, 163, 107, 0.4); }

.feature--flip .feature__media { order: 2; }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 260px; }
  .feature--flip .feature__media { order: 0; }
}

.card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(207, 163, 107, 0.45);
  color: var(--gold);
  margin-bottom: 24px;
}

.feature__body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.card__list {
  list-style: none;
}
.card__list li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--cream-dim);
  font-size: 15px;
  border-bottom: 1px solid rgba(244, 237, 226, 0.06);
}
.card__list li:last-child { border-bottom: 0; }
.card__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blush);
  opacity: 0.85;
}

/* ---------- gallery scroller ---------- */

.gallery { background: var(--ink-soft); }

.gallery__head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "eyebrow nav" "title nav";
  align-items: end;
  column-gap: 24px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.gallery__head .eyebrow { grid-area: eyebrow; }
.gallery__head .section__title { grid-area: title; margin-bottom: 0; }
.gallery__nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery__counter {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cream-faint);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}

.gallery__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--cream-faint);
  background: transparent;
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.gallery__arrow:hover {
  border-color: var(--blush);
  background: rgba(231, 141, 124, 0.12);
}
.gallery__arrow:active { transform: scale(0.94); }
.gallery__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 620px) {
  .gallery__head {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "title" "nav";
    row-gap: 20px;
    align-items: start;
  }
}

.scroller {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  height: clamp(340px, 56vh, 560px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-inline: max(clamp(20px, 4vw, 40px), calc((100vw - var(--container)) / 2 + clamp(20px, 4vw, 40px)));
  scrollbar-width: none;
  cursor: grab;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.scroller:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.scroller__item {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  scroll-snap-align: center;
  border-radius: 5px;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.scroller__item.is-in { opacity: 1; transform: none; }

/* orientation-aware framing: width follows the photo's own aspect */
.scroller__item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s ease;
  filter: saturate(0.96);
}
.scroller__item:hover img,
.scroller__item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.scroller__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(16, 17, 19, 0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.scroller__item:hover::after { opacity: 1; }

.scroller__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(16, 17, 19, 0.65);
  backdrop-filter: blur(6px);
  color: var(--cream);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.scroller__item:hover .scroller__zoom,
.scroller__item:focus-visible .scroller__zoom {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroller__item { opacity: 1; transform: none; }
}

.scroller__progress {
  height: 2px;
  background: rgba(244, 237, 226, 0.1);
  margin-top: clamp(26px, 3vw, 40px);
  margin-inline: max(clamp(20px, 4vw, 40px), calc((100vw - var(--container)) / 2 + clamp(20px, 4vw, 40px)));
  border-radius: 2px;
  overflow: hidden;
}
.scroller__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.15s linear;
}

/* ---------- image band ---------- */

.band {
  max-height: 62vh;
  overflow: hidden;
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- contact ---------- */

.contact__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .section__title,
.contact .section__lede { margin-inline: auto; }

.contact__methods {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
  margin-bottom: 26px;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  font-size: 18px;
  letter-spacing: 0.03em;
  padding: 10px 6px;
  transition: color 0.2s ease;
}
.contact__method svg { color: var(--gold); }
.contact__method:hover { color: var(--blush); }

.contact__social {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
}
.contact__social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--cream-faint);
  display: grid;
  place-items: center;
  color: var(--cream-dim);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.contact__social a:hover {
  color: var(--cream);
  border-color: var(--blush);
  background: rgba(231, 141, 124, 0.12);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 52px;
  background: var(--ink);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer__serving {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
}
.footer__copy {
  font-size: 13px;
  color: var(--cream-faint);
  letter-spacing: 0.06em;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 12, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: clamp(12px, 3vw, 40px);
  animation: lbIn 0.25s ease both;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.lightbox__stage img {
  max-width: min(88vw, 1100px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__stage figcaption {
  font-size: 14px;
  color: var(--cream-dim);
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 60ch;
}

.lightbox__close,
.lightbox__arrow {
  background: transparent;
  border: 1px solid var(--cream-faint);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lightbox__close:hover,
.lightbox__arrow:hover {
  border-color: var(--blush);
  background: rgba(231, 141, 124, 0.12);
}

.lightbox__close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  width: 52px;
  height: 52px;
}
.lightbox__arrow {
  width: 56px;
  height: 56px;
  margin-inline: clamp(0px, 1vw, 12px);
}

@media (max-width: 640px) {
  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    row-gap: 14px;
  }
  .lightbox__stage { grid-column: 1 / -1; }
  .lightbox__arrow--prev { justify-self: start; }
  .lightbox__arrow--next { justify-self: end; }
  .lightbox__stage img { max-width: 94vw; max-height: 70vh; }
}
