/* =====================================================================
   Bill Jacobs MINI — Exclusive MINI Preview Event
   Editorial black & white. Headlines: Crimson Pro (OFL). Labels: Montserrat (OFL).
   Body: system Helvetica stack. All fonts self-hosted; see /assets/fonts/OFL-*.txt
   ===================================================================== */

@font-face { font-family: "Crimson Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/crimson-pro-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/crimson-pro-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/crimson-pro-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --black: #000;
  --ink: #0d0d0d;
  --white: #fff;
  --fog: #f3f3f1;
  --stone: #e4e4e0;
  --muted: #5c5c5c;
  --muted-light: #a9a9a9;
  --line-dark: rgba(255, 255, 255, .2);
  --line-light: rgba(0, 0, 0, .14);
  --error: #ff9b8f;
  --error-dark: #b3261e;

  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --label: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--ink); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 16px; font: 700 .75rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Type primitives ---------- */
.eyebrow { font: 700 .7rem/1.4 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow--light { color: var(--muted-light); }
.eyebrow--ruled { display: flex; align-items: center; gap: 18px; color: var(--white); max-width: 620px; margin-inline: auto; }
.eyebrow--ruled::before, .eyebrow--ruled::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55)); }
.eyebrow--ruled::after { background: linear-gradient(270deg, transparent, rgba(255,255,255,.55)); }
.eyebrow--ruled span { flex: none; }

.display { font: 600 clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem)/.98 var(--serif); text-transform: uppercase; letter-spacing: .005em; color: var(--black); text-wrap: balance; }
.display--light { color: var(--white); }
.lede { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.65; color: #2a2a2a; max-width: 38em; }
.rule { display: block; width: 56px; height: 1px; background: var(--black); margin: 26px 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 34px; border: 1px solid transparent; border-radius: 0;
  font: 700 .78rem/1 var(--label); letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; isolation: isolate; overflow: hidden; -webkit-tap-highlight-color: transparent;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn--sm { min-height: 40px; padding: 10px 18px; font-size: .68rem; letter-spacing: .22em; }
.btn--block { width: 100%; }

.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light::before { background: var(--black); }
.btn--light:hover, .btn--light:focus-visible { color: var(--white); }

.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark::before { background: var(--white); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--black); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline-light::before { background: var(--white); }
.btn--outline-light:hover, .btn--outline-light:focus-visible { color: var(--black); border-color: var(--white); }

.btn--outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline-dark::before { background: var(--black); }
.btn--outline-dark:hover, .btn--outline-dark:focus-visible { color: var(--white); }

.btn__spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn[disabled] { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--white); transition: background-color .4s var(--ease), border-color .4s var(--ease); background: rgba(0,0,0,0); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(0,0,0,.92); border-bottom-color: rgba(255,255,255,.1); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); }
.site-header__inner { height: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { width: clamp(168px, 30vw, 236px); height: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: var(--white); padding-top: var(--header-h); overflow: hidden; }
.hero__intro { position: relative; z-index: 2; text-align: center; padding: clamp(36px, 7vh, 84px) var(--gutter) clamp(36px, 5vh, 56px); }
.hero__eyebrow { margin-bottom: clamp(18px, 3vh, 28px); }
.hero__title { font: 600 clamp(2.5rem, 1.1rem + 5.4vw, 5.6rem)/.94 var(--serif); text-transform: uppercase; letter-spacing: .005em; }
.hero__line { display: block; }
.hero__sub { display: block; margin-top: .32em; font: italic 500 clamp(1.45rem, .95rem + 2.1vw, 2.75rem)/1.05 var(--serif); letter-spacing: .02em; color: #e9e9e9; }
.datebar { display: inline-flex; align-items: center; gap: 18px; margin: clamp(24px, 4vh, 36px) 0 clamp(26px, 4vh, 36px); padding: 13px 4px; font: 700 clamp(.72rem, .68rem + .2vw, .82rem)/1 var(--label); letter-spacing: .28em; text-transform: uppercase; position: relative; }
.datebar::before, .datebar::after { content: ""; position: absolute; left: -24px; right: -24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5) 20%, rgba(255,255,255,.5) 80%, transparent); }
.datebar::before { top: 0; } .datebar::after { bottom: 0; }
.datebar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.7); }

.hero__media { position: relative; z-index: 1; aspect-ratio: 16 / 9; overflow: hidden; }
.hero__media::before, .hero__media::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hero__media::before { top: 0; height: 16%; background: linear-gradient(#000, rgba(0,0,0,0)); }
.hero__media::after { bottom: 0; height: 18%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.35)); }
.hero__media picture { position: absolute; inset: 0; display: block; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) { .hero__media picture { inset: -60px 0; } }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 50% 60%; will-change: transform; }
@media (min-width: 768px) {
  .hero__media::before { height: 28%; }
  .hero__media { aspect-ratio: auto; height: clamp(440px, 66vh, 820px); }
  .hero__img { object-position: 50% 46%; }
}

/* Load-in choreography (only when JS + motion are allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__eyebrow, .js .hero__line, .js .hero__sub, .js .hero__date, .js .hero__cta { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
  .js .hero__eyebrow { animation-delay: .1s; }
  .js .hero__line:nth-child(1) { animation-delay: .2s; }
  .js .hero__line:nth-child(2) { animation-delay: .32s; }
  .js .hero__sub { animation-delay: .46s; }
  .js .hero__date { animation-delay: .6s; }
  .js .hero__cta { animation-delay: .72s; }
  .js .hero__img { animation: settle 2.4s var(--ease) both; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes settle { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .prizes .prize:nth-child(2) { transition-delay: .14s; }
}

/* ---------- Meet the Untamed ---------- */
.meet { background: var(--white); padding: clamp(64px, 10vw, 140px) var(--gutter); }
.meet__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.meet__media { position: relative; }
.meet__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 60%; }
.meet__copy { max-width: 560px; }
.meet__title { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
@media (min-width: 768px) {
  .meet__inner { grid-template-columns: 1.08fr 1fr; }
  .meet__media::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--line-light); z-index: 0; }
  .meet__media picture { position: relative; z-index: 1; display: block; }
  .meet__img { aspect-ratio: 16 / 10; object-position: 50% 50%; }
}

/* ---------- Giveaways ---------- */
.win { background: var(--white); padding: 0 var(--gutter) clamp(72px, 10vw, 140px); }
.win__inner { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line-light); padding-top: clamp(56px, 8vw, 112px); text-align: center; }
.win__head { max-width: 760px; margin: 0 auto; }
.win__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 22px 0 22px; font: 700 clamp(.72rem, .66rem + .3vw, .88rem)/1.6 var(--label); letter-spacing: .24em; text-transform: uppercase; }
.win__sep { color: var(--muted-light); }
@media (max-width: 599px) { .win__list { flex-direction: column; align-items: center; gap: 2px; } .win__sep { display: none; } }
.win__copy { margin: 0 auto; }
.prizes { list-style: none; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 4vw, 64px); max-width: 880px; }
.prize__stage { position: relative; isolation: isolate; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 14%; background: radial-gradient(closest-side, #fafaf8 0%, #f0f0ed 62%, #e9e9e5 100%); }
.prize__stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 15%; height: 8%; background: radial-gradient(closest-side, rgba(0,0,0,.22), rgba(0,0,0,0)); filter: blur(4px); z-index: -1; }
.prize__stage picture { width: 100%; display: grid; place-items: center; }
.prize__img { width: 92%; height: auto; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.prize__img--wide { width: 100%; }
.prize:hover .prize__img { transform: translateY(-8px) rotate(-1.5deg); }
.prize__name { margin-top: 18px; font: 700 .7rem/1.4 var(--label); letter-spacing: .24em; text-transform: uppercase; }
.win__cta { margin-top: clamp(40px, 6vw, 64px); }
@media (prefers-reduced-motion: reduce) { .prize:hover .prize__img { transform: none; } }

/* ---------- RSVP ---------- */
.rsvp { position: relative; background: var(--black); color: var(--white); padding: clamp(72px, 10vw, 140px) var(--gutter); overflow: hidden; }
.rsvp::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(255,255,255,.07), rgba(255,255,255,0)); pointer-events: none; }
.rsvp__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(40px, 6vw, 96px); }
.rsvp__title { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); max-width: 12em; }
.facts { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-dark); }
.facts__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.facts dt { font: 700 .66rem/1.9 var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--muted-light); }
.facts dd { font-size: 1.02rem; line-height: 1.55; }
.facts--compact { margin: 26px 0 30px; text-align: left; }
@media (min-width: 1024px) {
  .rsvp__inner { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .rsvp__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

.rsvp__panel { background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); padding: clamp(24px, 4vw, 52px); }
.form-alert { margin: 0 0 22px; padding: 14px 16px; border: 1px solid rgba(255,155,143,.6); background: rgba(255,155,143,.08); color: #ffe1dc; font-size: .95rem; }
.field { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; margin-bottom: 8px; padding: 0; font: 700 .68rem/1.4 var(--label); letter-spacing: .24em; text-transform: uppercase; color: #d9d9d9; }
.field__input {
  width: 100%; min-height: 52px; padding: 12px 0; background: transparent; color: var(--white);
  border: 0; border-bottom: 1px solid rgba(255,255,255,.4); border-radius: 0;
  font: 400 1.0625rem/1.3 var(--body); -webkit-appearance: none; appearance: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field__input::placeholder { color: rgba(255,255,255,.42); }
.field__input:hover { border-bottom-color: rgba(255,255,255,.7); }
.field__input:focus { outline: none; border-bottom-color: var(--white); box-shadow: 0 1px 0 0 var(--white); }
.field__input[aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field__input:-webkit-autofill { -webkit-text-fill-color: var(--white); box-shadow: 0 0 0 100px #111 inset; caret-color: var(--white); }
.field__error { min-height: 0; margin-top: 8px; color: var(--error); font-size: .88rem; }
.field__error:empty { display: none; }

.choice { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
@media (min-width: 480px) { .choice { grid-template-columns: 1fr 1fr; } }
.choice__option { position: relative; display: block; cursor: pointer; }
.choice__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__option span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.4); font: 600 .74rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.choice__option:hover span { border-color: var(--white); }
.choice__option input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.choice__option input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.field--choice[aria-invalid="true"] .choice__option span { border-color: var(--error); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rsvp-form__submit { margin-top: 8px; min-height: 56px; }
.rsvp-form__privacy { margin-top: 18px; font-size: .84rem; color: var(--muted-light); line-height: 1.55; }
.rsvp-form__privacy a { color: #e5e5e5; text-underline-offset: 3px; }

.confirmation { text-align: center; }
.confirmation__mark { display: inline-flex; color: var(--white); margin-bottom: 18px; }
.confirmation__title { font: 600 clamp(2rem, 1.5rem + 2vw, 3rem)/1 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.confirmation__title:focus { outline: none; }
.confirmation__copy { margin: 18px auto 0; max-width: 30em; font-size: 1.06rem; color: #e6e6e6; }
.confirmation__note { margin: 16px auto 0; max-width: 30em; padding: 12px 14px; border: 1px solid var(--line-dark); font-size: .95rem; color: #d9d9d9; }
.confirmation__note a { color: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .confirmation:not([hidden]) { animation: rise .8s var(--ease) both; }
  .confirmation__mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .25s var(--ease) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Location ---------- */
.location { position: relative; background: var(--fog); padding: clamp(64px, 9vw, 128px) var(--gutter); overflow: hidden; }
.location__map { position: absolute; inset: 0; color: #dcdcd7; }
.location__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.location__pin { position: absolute; left: 68%; top: 30%; color: var(--black); transform: translate(-50%, -100%); filter: drop-shadow(0 6px 8px rgba(0,0,0,.18)); }
.location__card { position: relative; z-index: 1; max-width: 460px; background: var(--white); padding: clamp(32px, 5vw, 56px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
@media (min-width: 1024px) { .location__card { margin-left: max(0px, calc((100% - var(--max)) / 2)); } }
.location__name { font: 700 clamp(1.25rem, 1.1rem + .6vw, 1.6rem)/1.2 var(--label); letter-spacing: .06em; text-transform: uppercase; }
.location__address { margin-top: 18px; font-style: normal; font-size: 1.15rem; line-height: 1.6; }
.location__address a { text-decoration: none; border-bottom: 1px solid var(--line-light); }
.location__address a:hover { border-bottom-color: var(--black); }
.location__when { margin-top: 18px; display: flex; gap: 12px; font: 700 .72rem/1.4 var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.location__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.location__actions .btn { flex: 1 1 auto; padding-inline: 22px; }
@media (max-width: 767px) {
  .location { padding-top: 260px; }
  .location__map { bottom: auto; height: 320px; }
  .location__pin { left: 70%; top: 34%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #d9d9d9; text-align: center; padding: 48px var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.site-footer__logo { width: 190px; margin: 0 auto 24px; opacity: .92; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; font-size: .92rem; }
.site-footer__list li { padding: 0 16px; }
.site-footer__list li + li { border-left: 1px solid rgba(255,255,255,.35); }
.site-footer__list a, .site-footer__legal a { text-decoration: none; }
.site-footer__list a:hover, .site-footer__legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal { margin-top: 18px; font: 600 .66rem/1.4 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); }
@media (max-width: 600px) {
  .site-footer__list { flex-direction: column; gap: 10px; }
  .site-footer__list li + li { border-left: 0; }
}
