:root {
  color-scheme: dark;
  --ink: #f4eee4;
  --quiet: rgba(244, 238, 228, 0.72);
  --red: #d51519;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  background: #070605;
  color: var(--ink);
  font-family:
    "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── HERO ────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #070605;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vh, 120px) 0;
}

.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
  width: 100%;
  margin-top: clamp(120px, 16vh, 220px);
}

/* ─── PHOTO (centered, contained, no frame) ───────────────── */

.photo-stage {
  display: grid;
  place-items: center;
  pointer-events: none;
}

.photo-stage__wrap {
  position: relative;
  width: min(48vw, 620px);
}

.photo-stage__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background:
    linear-gradient(180deg, rgba(7, 6, 5, 0.06), rgba(7, 6, 5, 0.22)),
    url("assets/background.jpg") center / cover;
  filter: contrast(1.08) saturate(0.96) brightness(0.92);
}

.photo-stage__logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -54%);
  width: clamp(360px, 54vw, 720px);
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ─── LOGO STRIP (under the photo) ────────────────────────── */

.logo-strip {
  position: relative;
  width: min(48vw, 620px);
  overflow: hidden;
}

.logo-strip::before,
.logo-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8%;
  pointer-events: none;
  z-index: 2;
}

.logo-strip::before {
  left: 0;
  background: linear-gradient(90deg, #070605 0%, rgba(7, 6, 5, 0) 100%);
}

.logo-strip::after {
  right: 0;
  background: linear-gradient(270deg, #070605 0%, rgba(7, 6, 5, 0) 100%);
}

.logo-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: logo-strip 60s linear infinite;
}

.logo-strip:hover .logo-strip__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .logo-strip__track {
    animation: none;
  }
}

.logo-strip__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(28px, 3.6vw, 44px);
  flex-shrink: 0;
  opacity: 0.78;
  transition: opacity 160ms ease;
  margin-right: clamp(32px, 5vw, 72px);
}

.logo-strip__item img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-strip__item img[src$=".svg"],
.logo-strip__item--invert img {
  filter: brightness(0) invert(1);
}

a.logo-strip__item:hover {
  opacity: 1;
}

.logo-strip__sep {
  width: 1px;
  height: 24%;
  min-height: 12px;
  background: rgba(244, 238, 228, 0.24);
  opacity: 1;
}

.logo-strip__item--sm {
  height: clamp(10px, 1.3vw, 17px);
}

.logo-strip__item--md {
  height: clamp(20px, 2.6vw, 32px);
}

.logo-strip__item--text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

@keyframes logo-strip {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ─── MARQUEE / WORDMARK (static, centered, full-bleed) ───── */

.marquee {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.wordmark {
  display: inline-block;
  font-family: "Manufacturing Consent", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(20rem, 95vh, 80rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--red);
  padding-right: 0.4em;
}

/* ─── PRIVATE EVENTS CTA (top-right) ──────────────────────── */

.hero__bottomleft {
  position: absolute;
  z-index: 3;
  top: clamp(18px, 3vw, 36px);
  right: clamp(18px, 3vw, 36px);
}

.enquiry-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(244, 238, 228, 0.42);
  padding-bottom: 4px;
  width: max-content;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.enquiry-cta svg {
  width: 14px;
  height: 14px;
}

.enquiry-cta:hover {
  color: var(--red);
  border-color: var(--red);
  transform: translateX(2px);
}

.socials {
  position: absolute;
  z-index: 3;
  top: clamp(18px, 3vw, 36px);
  left: clamp(18px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--red);
  transition: color 160ms ease, transform 160ms ease;
}

.socials a svg {
  width: 100%;
  height: 100%;
  display: block;
}

.socials a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

/* ─── NEWSLETTER (bottom-right corner) ────────────────────── */

.newsletter {
  position: absolute;
  z-index: 3;
  bottom: clamp(18px, 3vw, 36px);
  left: clamp(18px, 3vw, 36px);
  width: min(280px, calc(100vw - 36px));
  display: grid;
  gap: 6px;
}

.newsletter__label {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--quiet);
}

.newsletter__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(244, 238, 228, 0.42);
  padding-bottom: 6px;
}

.newsletter input,
.newsletter button {
  border: 0;
  background: transparent;
  font-family: inherit;
  color: var(--ink);
}

.newsletter input {
  width: 100%;
  min-width: 0;
  padding: 4px 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.2;
  outline: none;
}

.newsletter input::placeholder {
  color: rgba(244, 238, 228, 0.42);
}

.newsletter button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  transition: transform 160ms ease, color 160ms ease;
}

.newsletter button svg {
  width: 18px;
  height: 18px;
  display: block;
}

.newsletter button:hover {
  transform: translateX(3px);
  color: var(--red);
}

.newsletter__msg {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 6px 0 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--quiet);
}

.newsletter__msg[data-status="success"] { color: var(--ink); }
.newsletter__msg[data-status="invalid"],
.newsletter__msg[data-status="error"] { color: var(--red); }

/* ─── ENQUIRY DIALOG ──────────────────────────────────────── */

/* ─── ENQUIRY DIALOG ──────────────────────────────────────── */

.enquiry {
  --enquiry-font: "Inter", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --enquiry-bg: #0d0a09;
  --enquiry-border: rgba(244, 238, 228, 0.12);
  --enquiry-divider: rgba(244, 238, 228, 0.08);
  --enquiry-input-border: rgba(244, 238, 228, 0.18);
  --enquiry-input-border-focus: var(--ink);

  position: fixed;
  inset: 0;
  z-index: 100;
  color: var(--ink);
  display: none;
  pointer-events: none;
}

.enquiry.is-active {
  display: block;
  pointer-events: auto;
}

.enquiry__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 5, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.enquiry.is-open .enquiry__backdrop { opacity: 1; }

.enquiry__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--enquiry-bg);
  border-left: 1px solid var(--enquiry-border);
  font-family: var(--enquiry-font);
  font-feature-settings: "ss01", "cv11";
  transform: translateX(102%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.enquiry.is-open .enquiry__panel { transform: translateX(0); }

.enquiry__grabber {
  display: none;
}

.enquiry__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  transition: color 160ms ease, background 160ms ease;
  z-index: 3;
}

.enquiry__close svg { width: 18px; height: 18px; }

.enquiry__close:hover {
  background: rgba(244, 238, 228, 0.08);
}

.enquiry__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.enquiry__head {
  padding: 36px 32px 24px;
  border-bottom: 1px solid var(--enquiry-divider);
  display: grid;
  gap: 10px;
}

.enquiry__label {
  margin: 0;
  font-family: var(--enquiry-font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.enquiry__title {
  margin: 0;
  font-family: var(--enquiry-font);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.enquiry__intro {
  margin: 4px 0 0;
  max-width: 38ch;
  font-family: var(--enquiry-font);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quiet);
}

.enquiry__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 32px 16px;
  display: grid;
  gap: 28px;
}

.enquiry__group {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.enquiry__group legend {
  padding: 0;
  font-family: var(--enquiry-font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}

.enquiry__fields {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field > span {
  font-family: var(--enquiry-font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.field > span em {
  font-style: normal;
  margin-left: 6px;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(244, 238, 228, 0.5);
}

.field input,
.field textarea {
  font: inherit;
  width: 100%;
  background: rgba(244, 238, 228, 0.03);
  border: 1px solid var(--enquiry-input-border);
  color: var(--ink);
  padding: 11px 13px;
  font-size: 0.95rem;
  font-weight: 400;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
  border-radius: 8px;
  font-family: var(--enquiry-font);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.45;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(244, 238, 228, 0.3);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--enquiry-input-border-focus);
  background: rgba(244, 238, 228, 0.05);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(244, 238, 228, 0.35);
}

/* tint the native picker indicator (mobile fallback) */
.field input::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.55);
  cursor: pointer;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* stack date + time on phones (native iOS pickers crowd the side-by-side layout) */
@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.enquiry__foot {
  padding: 18px 32px 28px;
  border-top: 1px solid var(--enquiry-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--enquiry-bg);
}

.enquiry__msg {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--enquiry-font);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--quiet);
}

.enquiry__msg[data-status="success"] { color: var(--ink); }
.enquiry__msg[data-status="error"] { color: var(--red); }

.enquiry__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: var(--ink);
  color: #0a0807;
  cursor: pointer;
  padding: 12px 18px;
  font-family: var(--enquiry-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 999px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.enquiry__submit svg { width: 16px; height: 16px; }

.enquiry__submit:hover:not([disabled]) {
  background: var(--red);
  color: var(--ink);
  transform: translateX(2px);
}

.enquiry__submit[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ─── FLATPICKR THEME ─────────────────────────────────────── */
.flatpickr-calendar {
  background: #14100e;
  border: 1px solid var(--enquiry-input-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  font-family: var(--enquiry-font);
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after { border-bottom-color: #14100e; }
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-weekdays,
span.flatpickr-weekday { color: var(--ink); background: transparent; }
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year { color: var(--ink); font-weight: 500; }
.flatpickr-prev-month, .flatpickr-next-month { fill: var(--ink); color: var(--ink); }
.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg { fill: var(--red); }
.flatpickr-day { color: var(--ink); border-radius: 8px; }
.flatpickr-day:hover { background: rgba(244, 238, 228, 0.08); border-color: transparent; }
.flatpickr-day.today { border-color: var(--red); }
.flatpickr-day.selected,
.flatpickr-day.selected:hover { background: var(--ink); border-color: var(--ink); color: #0a0807; }
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay { color: rgba(244, 238, 228, 0.25); }
.flatpickr-time input,
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm { color: var(--ink); background: transparent; }
.flatpickr-time input:hover, .flatpickr-time input:focus { background: rgba(244, 238, 228, 0.06); }
.flatpickr-time .numInputWrapper span.arrowUp:after { border-bottom-color: var(--ink); }
.flatpickr-time .numInputWrapper span.arrowDown:after { border-top-color: var(--ink); }

/* ─── MOBILE ──────────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero__photo {
    background:
      linear-gradient(180deg, rgba(7, 6, 5, 0.4), rgba(7, 6, 5, 0.06) 38%, rgba(7, 6, 5, 0.78)),
      url("assets/background.jpg") 48% center / cover;
  }

  .wordmark {
    font-size: clamp(12rem, 80vh, 28rem);
  }

  .photo-stage__wrap {
    width: 76vw;
  }

  .photo-stage__logo {
    width: 94vw;
    transform: translate(-50%, -62%);
  }

  .logo-strip {
    width: 76vw;
  }

  .socials {
    top: 18px;
    left: 18px;
    right: auto;
    gap: 14px;
  }

  .hero__bottomleft {
    top: 18px;
    right: 18px;
    left: auto;
    bottom: auto;
  }

  .newsletter {
    bottom: 18px;
    left: 18px;
    right: 18px;
    top: auto;
    width: auto;
  }

}

/* ─── ENQUIRY BOTTOM SHEET (tablet + mobile) ─────────────── */
@media (max-width: 767px) {
  .enquiry__panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 92dvh;
    border-left: 0;
    border-top: 1px solid var(--enquiry-border);
    border-radius: 22px 22px 0 0;
    transform: translateY(102%);
  }

  .enquiry.is-open .enquiry__panel { transform: translateY(0); }

  .enquiry__grabber {
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(244, 238, 228, 0.22);
    margin: 10px auto 0;
    flex-shrink: 0;
  }

  .enquiry__head {
    padding: 14px 22px 18px;
  }

  .enquiry__title { font-size: 1.7rem; }
  .enquiry__intro { font-size: 0.88rem; }

  .enquiry__body {
    padding: 20px 22px 12px;
    gap: 22px;
  }

  .enquiry__foot {
    padding: 14px 22px max(20px, env(safe-area-inset-bottom));
  }

  .enquiry__close {
    top: 12px;
    right: 12px;
  }
}
