/* Whisky Week · Figma frames 03, 03b, 03c v5 */

/* Header */
.ww-head { position: relative; background: var(--red); overflow: hidden; color: var(--cream); }
.ww-head__photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ww-head__tint { position: absolute; inset: 0; background: var(--red); mix-blend-mode: screen; }
.ww-head__fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(226,94,47,.92) 0%, rgba(226,94,47,.55) 45%, rgba(226,94,47,0) 75%); }
.ww-head .wrap { position: relative; height: 440px; }
.ww-head__circle { position: absolute; left: 960px; top: -60px; width: 560px; height: 560px; border-radius: 50%; background: var(--sky); }
.ww-head__spark { position: absolute; left: 880px; top: 250px; width: 110px; height: 110px; }
.ww-head__copy { position: absolute; left: var(--pad-x); top: 92px; display: flex; flex-direction: column; gap: 20px; z-index: 1; }
.ww-head__title { font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -0.03em; white-space: pre; }
.ww-head__sub { font-size: 19px; line-height: 1.45; max-width: 620px; }

/* Filter bar */
.filters { background: var(--paper); border-bottom: 1px solid rgba(20,7,7,.08); position: sticky; top: var(--header-h); z-index: 20; }
.filters .wrap { display: flex; gap: 10px; padding-top: 22px; padding-bottom: 23px; overflow-x: auto; scrollbar-width: none; }
.filters .wrap::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 44px; padding: 0 19px; border: 1.5px solid rgba(20,7,7,.25); background: transparent; color: var(--ink); font-family: var(--font); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Calendar */
.cal { background: var(--cream); }
.cal .wrap { padding-top: 48px; padding-bottom: 72px; }
.cal__week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cal__day { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dayhead { height: 126px; padding: 16px; display: flex; flex-direction: column; color: var(--cream); }
.dayhead__date { font-weight: 700; font-size: 44px; line-height: 1.2; letter-spacing: -0.02em; }
.dayhead__day { font-weight: 600; font-size: 20px; line-height: 1.2; }
.dayhead__month { margin-top: 2px; font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.dayhead--ink { color: var(--ink); }
.dayhead--foil { background-color: var(--gold-light); background-image: var(--foil); background-position: center; background-size: cover; color: var(--ink); }
.ecal { display: flex; flex-direction: column; height: 295px; background: var(--paper); border: 1px solid rgba(20,7,7,.12); text-align: left; cursor: pointer; padding: 0; font-family: var(--font); color: var(--ink); width: 100%; }
.ecal__vis { display: block; position: relative; height: 150px; background: var(--ink); overflow: hidden; flex: none; }
.ecal__vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ecal__tint { display: block; position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .85; }
.ecal__brand { display: flex; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-align: center; }
.ecal__vis--card img { object-position: top; height: auto; min-height: 100%; }
.ecal__body { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; align-items: flex-start; }
.ecal__tag { padding: 6px 12px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ecal__title { font-weight: 700; font-size: 16px; line-height: 1.2; }
.ecal__sub { font-size: 12px; line-height: 1.35; color: rgba(20,7,7,.7); }
.ecal__venue { font-weight: 600; font-size: 12px; line-height: 1.3; color: rgba(20,7,7,.55); }
.ecal__link { margin-top: auto; font-weight: 700; font-size: 12px; }
.ecal:hover .ecal__link { text-decoration: underline; text-underline-offset: 3px; }
.slot-open { height: 295px; display: flex; align-items: center; justify-content: center; border: 1px dashed rgba(20,7,7,.18); }
.slot-open svg { width: 110px; height: 110px; }
.slot-open[hidden], .ecal[hidden] { display: none; }
.cal__empty { margin-top: 24px; font-weight: 600; font-size: 15px; }
.cal__note { margin-top: 28px; font-size: 13px; letter-spacing: .02em; color: rgba(20,7,7,.7); }
.cal__note a { text-decoration: underline; text-underline-offset: 3px; }

/* Submit band */
.submit-band { background: var(--ink); color: var(--cream); }
.submit-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.submit-band h2 { font-weight: 700; font-size: 34px; line-height: 1.15; max-width: 760px; }
.submit-band p { margin-top: 12px; font-size: 19px; color: rgba(244,236,220,.9); }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(20,7,7,.55); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 90; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 520px; max-width: 100vw; background: var(--paper); z-index: 100; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer__vis { position: relative; height: 220px; flex: none; background: var(--ink); overflow: hidden; }
.drawer__vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drawer__vis .ecal__brand { font-size: 30px; }
.drawer__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20,7,7,.8); color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.drawer__body { padding: 32px 40px 40px; display: flex; flex-direction: column; gap: 20px; }
.drawer__title { font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: -0.01em; }
.drawer__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; padding: 20px 0; margin: 0; border-top: 1px solid rgba(20,7,7,.12); border-bottom: 1px solid rgba(20,7,7,.12); }
.drawer__facts dt { font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(20,7,7,.5); }
.drawer__facts dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; }
.drawer__eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.drawer__desc { margin-top: 8px; font-size: 15px; line-height: 1.55; color: rgba(20,7,7,.75); }
.guests { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guest__photo { width: 64px; height: 64px; border-radius: 50%; background: rgba(20,7,7,.1); margin-bottom: 10px; }
.guest__name { font-weight: 600; font-size: 15px; }
.guest__role { font-size: 13px; color: rgba(20,7,7,.65); }
.drawer__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.btn.is-pending { opacity: .55; cursor: not-allowed; }
.calmenu { position: absolute; top: 56px; right: 0; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.18); display: none; flex-direction: column; min-width: 220px; z-index: 3; }
.calmenu.is-open { display: flex; }
.calmenu a { padding: 14px 18px; font-weight: 600; font-size: 14px; border-bottom: 1px solid rgba(20,7,7,.08); }
.calmenu a:hover { background: var(--cream); }
.drawer__foot { font-weight: 600; font-size: 12px; color: rgba(20,7,7,.5); }
body.drawer-open { overflow: hidden; }

/* Submit an Event page */
.submit { background: var(--red); }
.submit .wrap { display: flex; gap: 80px; align-items: flex-start; padding-top: 88px; padding-bottom: 88px; }
.submit__intro { width: 420px; flex: none; display: flex; flex-direction: column; gap: 20px; color: var(--cream); }
.submit__title { font-weight: 700; font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; }
.submit__text { font-size: 18px; line-height: 1.55; color: rgba(244,236,220,.9); }
.submit__mail { font-weight: 600; font-size: 15px; }
.submit__mail a { text-decoration: underline; text-underline-offset: 3px; }
.shapes { position: relative; width: 260px; height: 200px; }
.shapes > * { position: absolute; }
.form { flex: 1; min-width: 0; background: var(--paper); border-top-right-radius: 64px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form__row { display: flex; gap: 16px; }
.form__row > * { flex: 1; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 14px; padding: 0; }
.field input, .field textarea { width: 100%; background: #fff; border: 1.5px solid rgba(20,7,7,.35); border-radius: 0; padding: 16px; font-family: var(--font); font-size: 16px; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(20,7,7,.45); }
.field textarea { height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.form__submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__submit button { border: 0; padding: 0; }
.form__route { font-size: 13px; color: rgba(20,7,7,.6); }
.form__thanks { display: none; flex-direction: column; gap: 16px; padding: 24px 0; }
.form.is-sent > :not(.form__thanks) { display: none; }
.form.is-sent .form__thanks { display: flex; }
.form__thanks h2 { font-weight: 700; font-size: 32px; }
.form__thanks p { font-size: 17px; line-height: 1.5; }

/* Responsive */
@media (max-width: 1279px) {
  .ww-head__circle { left: auto; right: -200px; }
  .ww-head__spark { left: auto; right: 360px; }
  .cal__week { grid-template-columns: repeat(6, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .cal__day { scroll-snap-align: start; }
  .submit .wrap { gap: 48px; }
}
@media (max-width: 1023px) {
  .submit-band .wrap { flex-direction: column; align-items: flex-start; }
  .submit .wrap { flex-direction: column; }
  .submit__intro { width: auto; }
  .shapes { display: none; }
}
@media (max-width: 767px) {
  .ww-head .wrap { height: 380px; }
  .ww-head__copy { top: 56px; }
  .ww-head__title { font-size: 44px; white-space: normal; }
  .ww-head__sub { font-size: 16px; }
  .ww-head__circle { width: 320px; height: 320px; right: -140px; top: auto; bottom: -120px; }
  .ww-head__spark { width: 70px; height: 70px; right: 150px; top: auto; bottom: 40px; }
  .cal__week { grid-template-columns: repeat(6, 78vw); }
  .submit-band h2 { font-size: 26px; }
  .submit-band p { font-size: 16px; }
  .drawer__body { padding: 24px; }
  .drawer__title { font-size: 28px; }
  .submit__title { font-size: 38px; }
  .form { padding: 24px; border-top-right-radius: 40px; }
  .form__row { flex-direction: column; }
}
/* Temporary: floating 2026 reference notice, sticks to the bottom of the screen while the calendar is in view */
.ref-note { position: sticky; bottom: 24px; z-index: 15; display: flex; align-items: center; gap: 16px; width: fit-content; max-width: calc(100% - 16px); margin: 28px auto 0; padding: 16px 28px 16px 20px; background: var(--ink); color: var(--cream); border-top-right-radius: 32px; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.ref-note__dot { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--yellow); }
.ref-note__eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.ref-note__text { margin-top: 4px; font-size: 16px; line-height: 1.4; }
@media (max-width: 767px) { .ref-note { bottom: 12px; padding: 14px 18px 14px 14px; gap: 12px; } .ref-note__dot { width: 20px; height: 20px; } .ref-note__text { font-size: 14px; } }

.form__error { width: 100%; font-weight: 600; font-size: 14px; color: #B3261E; }
.form__error a { text-decoration: underline; }
.form button[disabled] { opacity: .6; cursor: progress; }

.guest__photo--initials { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold-light); font-weight: 700; font-size: 20px; }
.drawer__desc span, .drawer__desc p { display: block; }
