/* base */
/* ==========================================================================
   Trip2Event: base styles
   Brand: crimson (from logo) · black · white
   Three "stages" (crimson / white / black) re-colour the glass components.
   ========================================================================== */

:root {
  --crimson: #7A1F3D;
  --crimson-600: #651A33;
  --crimson-700: #4F1329;
  --crimson-900: #2A0A17;
  --rose: #A8506B;
  --blush: #FAF1F3;
  --ink: #0A0A0A;

  --font-display: "Caprasimo", "Cooper Black", "Georgia", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 38px;

  --gutter: 20px;
  --header-h: 78px;
  --tabbar-h: 64px;
  --ease: cubic-bezier(.22, .8, .24, 1);

  /* default = white stage */
  --fg: var(--ink);
  --fg-2: rgba(10, 10, 10, .76);
  --fg-3: rgba(10, 10, 10, .62);
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .86);
  --glass-line: rgba(122,31,61, .16);
  --glass-hi: rgba(255, 255, 255, 1);
  --glass-shadow: 0 24px 50px -28px rgba(122,31,61, .38);
  --btn-bg: var(--crimson);
  --btn-fg: #fff;
  --chip-on-bg: var(--crimson);
  --chip-on-fg: #fff;
  --focus: var(--crimson);
  --link: var(--crimson);
  --field-bg: rgba(255, 255, 255, .8);
  --field-line: rgba(10, 10, 10, .45);
  --danger: #B3123A;
  --ok: #0E7A4B;
}

@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: #000;
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: clip;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
summary { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  padding: .7rem 1.1rem; border-radius: 12px;
  background: #fff; color: #000; font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; outline: 3px solid var(--crimson); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Stages ---------- */
.stage {
  position: relative;
  isolation: isolate;
  color: var(--fg);
}
.stage--crimson {
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, .86);
  --fg-3: rgba(255, 255, 255, .8);
  --glass: rgba(255, 255, 255, .14);
  --glass-strong: rgba(255, 255, 255, .24);
  --glass-line: rgba(255, 255, 255, .36);
  --glass-hi: rgba(255, 255, 255, .6);
  --glass-shadow: 0 28px 60px -26px rgba(40, 0, 18, .6);
  --btn-bg: #fff;
  --btn-fg: var(--crimson);
  --chip-on-bg: #fff;
  --chip-on-fg: var(--crimson);
  --focus: #fff;
  --link: #fff;
  --field-bg: rgba(255, 255, 255, .16);
  --field-line: rgba(255, 255, 255, .75);
  --danger: #F0D4DB;
  /* Flat, solid Wine -- same single color the app itself uses on its own
     wine surfaces (RSVP banner, trip dashboard header, etc.), not a
     multi-tone gradient. */
  background: var(--crimson);
}
.stage--white {
  background:
    radial-gradient(42rem 28rem at 6% 8%, rgba(168,80,107, .22), transparent 70%),
    radial-gradient(36rem 28rem at 96% 52%, rgba(122,31,61, .15), transparent 70%),
    radial-gradient(32rem 26rem at 18% 100%, rgba(190,110,135, .26), transparent 70%),
    #fff;
}
.stage--black {
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, .84);
  --fg-3: rgba(255, 255, 255, .68);
  --glass: rgba(255, 255, 255, .08);
  --glass-strong: rgba(255, 255, 255, .15);
  --glass-line: rgba(255, 255, 255, .18);
  --glass-hi: rgba(255, 255, 255, .28);
  --glass-shadow: 0 28px 60px -26px rgba(0, 0, 0, .9);
  --btn-bg: var(--crimson);
  --btn-fg: #fff;
  --chip-on-bg: #fff;
  --chip-on-fg: #000;
  --focus: #fff;
  --link: #A8506B;
  --field-bg: rgba(255, 255, 255, .08);
  --field-line: rgba(255, 255, 255, .6);
  --danger: #D9A0B0;
  --ok: #6EE7B0;
  background:
    radial-gradient(46rem 30rem at 88% -4%, rgba(122,31,61, .6), transparent 70%),
    radial-gradient(36rem 30rem at -6% 100%, rgba(122,31,61, .38), transparent 70%),
    #000;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.wrap--read { width: min(100% - 2 * var(--gutter), 760px); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap, 1rem); }

/* ---------- Type ---------- */
.display, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 1.3rem + 5.6vw, 5.4rem); line-height: 1; }
.display--md { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1.05; }
.h2 { font-size: clamp(1.95rem, 1.2rem + 2.8vw, 3.1rem); line-height: 1.08; }
.h3 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.95rem); line-height: 1.15; }
.title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--fg-2); max-width: 56ch; text-wrap: pretty; }
.muted { color: var(--fg-3); }
.small { font-size: .875rem; }
.link { color: var(--link); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}
.glass--strong { background: var(--glass-strong); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .stage--crimson .glass { background: rgba(122,31,61, .78); }
  .stage--white .glass { background: rgba(255, 255, 255, .95); }
  .stage--black .glass { background: rgba(32, 24, 28, .94); }
}

/* Frosted light bars (header / tab bar) stay the same on every stage */
.glass-nav {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 14px 44px -14px rgba(30, 0, 14, .42), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  backdrop-filter: blur(22px) saturate(190%);
  color: var(--ink);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-nav { background: rgba(255, 255, 255, .97); }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), box-shadow .2s, background-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .55); }
.btn--primary:active { transform: scale(.97); }
.btn--glass {
  background: var(--glass); color: var(--fg); border-color: var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
}
.btn--glass:hover { background: var(--glass-strong); }
.btn--sm { --h: 44px; padding: 0 1.15rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: 1px solid var(--glass-line);
  background: var(--glass); color: var(--fg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), background-color .2s;
}
.icon-btn:hover { background: var(--glass-strong); }
.icon-btn:active { transform: scale(.92); }

.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.checks .i { color: var(--crimson); margin-top: .2em; stroke-width: 2.6; }

/* ---------- Chips & rails ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: 0 1.05rem;
  border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--glass); color: var(--fg);
  font-weight: 600; font-size: .9375rem; line-height: 1; white-space: nowrap;
  cursor: pointer; user-select: none; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  transition: background-color .2s, color .2s, transform .15s var(--ease);
}
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"], .chip.is-active, .chip[aria-selected="true"] {
  background: var(--chip-on-bg); color: var(--chip-on-fg); border-color: transparent;
}
.chip--sm { min-height: 28px; padding: 0 .75rem; font-size: .8125rem; cursor: default; }
span.chip { cursor: default; }

.rail {
  display: flex; gap: .6rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-block: 4px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; scroll-snap-align: start; }
@media (max-width: 899px) {
  .rail--bleed {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}

/* ---------- Forms ---------- */
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; }
.field > label, .field > .label { font-weight: 700; font-size: .9375rem; }
.field .hint { font-size: .875rem; color: var(--fg-3); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border-radius: var(--r-sm); border: 1.5px solid var(--field-line);
  background: var(--field-bg); color: var(--fg);
  font-size: 1rem; font-weight: 500;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent);
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.select option { color: #000; background: #fff; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field__error { display: none; color: var(--danger); font-size: .875rem; font-weight: 600; }
.field.has-error .field__error { display: block; }

.searchbox { position: relative; }
.searchbox .i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--fg-3); pointer-events: none; }

.switch {
  --w: 48px; --h: 28px;
  position: relative; flex: none; width: var(--w); height: var(--h);
  border-radius: 999px; border: 0; padding: 0;
  background: color-mix(in srgb, var(--fg) 28%, transparent);
  transition: background-color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: calc(var(--h) - 6px); height: calc(var(--h) - 6px);
  border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease);
}
.switch[aria-checked="true"] { background: var(--crimson); }
.stage--black .switch[aria-checked="true"], .stage--crimson .switch[aria-checked="true"] { background: #A3405F; }
.switch[aria-checked="true"]::after { transform: translateX(calc(var(--w) - var(--h))); }
.switch::before { content: ""; position: absolute; inset: -9px -6px; } /* 44px-tall hit area */

/* ---------- Notices ---------- */
.notice { display: none; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 18px; font-weight: 600; line-height: 1.45; }
.notice.is-on { display: flex; }
.notice .i { flex: none; margin-top: .1em; }
.notice--ok { background: rgba(14, 122, 75, .12); border: 1px solid rgba(14, 122, 75, .5); color: #0A5B38; }
.notice--err { background: rgba(179, 18, 58, .1); border: 1px solid rgba(179, 18, 58, .5); color: #8E0F2F; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding: max(10px, env(safe-area-inset-top)) 12px 0;
  pointer-events: none;
}
.site-header__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1rem;
  width: min(100%, 1180px); height: 56px; margin-inline: auto;
  padding: 0 8px 0 18px; border-radius: 22px;
  view-transition-name: site-header; /* on the glass bar itself: a named ancestor would block its backdrop blur */
}
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 10px; }
.brand img { height: 30px; width: auto; }
.primary-nav { display: none; margin-left: auto; }
.site-header__cta { margin-left: auto; --btn-bg: var(--crimson); --btn-fg: #fff; --focus: var(--crimson); }
.menu-btn { flex: none; --focus: var(--crimson); }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; font-weight: 600; font-size: .9375rem; text-decoration: none;
  color: rgba(10, 10, 10, .82);
  transition: background-color .2s, color .2s;
}
.nav-link:hover { background: rgba(122,31,61, .09); color: var(--crimson-600); }
.nav-link[aria-current="page"] { background: var(--crimson); color: #fff; }
.site-header .btn:focus-visible, .site-header a:focus-visible { outline-color: var(--crimson); }

/* Very narrow phones (320px): tighten the header so the menu button stays on screen. */
@media (max-width: 359px) {
  .site-header__inner { gap: .5rem; padding: 0 6px 0 12px; }
  .brand img { height: 26px; }
  .site-header__cta { padding: 0 .85rem; font-size: .875rem; }
}

@media (min-width: 900px) {
  .site-header { padding-top: 14px; }
  .site-header__inner { height: 62px; border-radius: 999px; padding: 0 10px 0 24px; gap: 1.5rem; }
  .brand img { height: 34px; }
  .primary-nav { display: block; }
  .primary-nav ul { display: flex; gap: .25rem; }
  .site-header__cta { margin-left: 0; }
  .menu-btn, .drawer { display: none; }
}

/* ---------- Mobile tab bar ---------- */
.tabbar {
  position: fixed; z-index: 90;
  left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px;
  height: var(--tabbar-h); padding: 6px; border-radius: 26px;
  view-transition-name: tabbar;
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 20px; text-decoration: none;
  font-size: .75rem; font-weight: 700; line-height: 1;
  color: rgba(10, 10, 10, .66);
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), color .25s, transform .15s var(--ease);
}
.tab .i { width: 22px; height: 22px; }
.tab:active { transform: scale(.92); }
.tab[aria-current="page"] { color: var(--crimson); background: rgba(122,31,61, .11); }
.tabbar a:focus-visible { outline-color: var(--crimson); outline-offset: -3px; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- Hero scaffolding shared by inner pages ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(2.75rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero .wrap, .page-hero .wrap--read { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; justify-items: start; }
.hero-petals {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(48rem, 105vw); max-width: none; right: -14%; top: 50%;
  transform: translateY(-50%) rotate(10deg);
  --p1: url(#pg-white); --p2: url(#pg-rose); --p3: url(#pg-ink);
}
.hero-petals--sm { width: min(30rem, 80vw); top: 42%; right: -12%; opacity: .55; }
/* on phones the text spans the whole width: keep the petals faint so white text stays readable */
@media (max-width: 899px) { .page-hero .hero-petals, .cta-band .hero-petals { opacity: .3; } }
.crumbs { display: flex; align-items: center; gap: .35rem; font-size: .9375rem; font-weight: 600; color: var(--fg-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .i { width: 1em; height: 1em; opacity: .8; }

/* ---------- CTA band ---------- */
.cta-band { overflow: hidden; }
.cta-band__inner {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; justify-items: start;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.store-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.store-btn { gap: .7rem; padding: 0 1.4rem 0 1.15rem; --h: 56px; text-align: left; }
.store-btn .i { width: 1.6rem; height: 1.6rem; }
.store-btn small { display: block; font-size: .6875rem; font-weight: 600; opacity: .8; line-height: 1.1; }
.store-btn strong { display: block; font-size: 1.0625rem; line-height: 1.15; }

/* ---------- Blog cards & covers (used on home, blogs and posts) ---------- */
.cover {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.cover__petals {
  position: absolute; right: -8%; bottom: -30%; width: 78%;
  --p1: rgba(255, 255, 255, .5); --p2: rgba(255, 255, 255, .32); --p3: rgba(255, 255, 255, .2);
  transform: rotate(-6deg);
}
.cover__icon {
  position: absolute; left: 1.1rem; top: 1.1rem;
  width: 46px; height: 46px; padding: 11px; color: #fff;
  border-radius: 16px; background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.post-card { display: block; }
.post-card[hidden] { display: none; }
.post-card__link {
  display: grid; grid-template-rows: auto 1fr; height: 100%;
  border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--fg);
  background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.post-card__link:hover { transform: translateY(-4px); }
.post-card__link:active { transform: scale(.985); }
.post-card__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; align-content: start; padding: 1.15rem 1.3rem 1.4rem; justify-items: start; }
.post-card__title { font-size: 1.25rem; font-weight: 800; line-height: 1.25; letter-spacing: -.005em; text-wrap: balance; }
.post-card__excerpt { color: var(--fg-2); font-size: .975rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: .7rem; font-size: .875rem; color: var(--fg-3); }
.post-meta .sep { width: 1px; height: .95em; background: currentColor; opacity: .5; }
.stage--crimson .post-meta { color: var(--fg-2); }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; justify-items: start; max-width: 26rem; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { color: var(--fg-2); }
.footer-h { font-size: .9375rem; font-weight: 800; margin-bottom: .75rem; color: var(--fg); }
.site-footer li + li { margin-top: .15rem; }
.site-footer nav a {
  display: inline-block; padding-block: .55rem; text-decoration: none; color: var(--fg-2);
  transition: color .2s;
}
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.socials { display: flex; gap: .6rem; }
.social {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--glass-line); background: var(--glass); color: #fff;
  transition: background-color .2s, transform .2s var(--ease);
}
.social:hover { background: var(--glass-strong); transform: translateY(-2px); }
.footer-base {
  margin-top: 2.75rem; padding-block: 1.5rem;
  border-top: 1px solid var(--glass-line);
  color: var(--fg-3); font-size: .875rem;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 899px) {
  .site-footer { padding-bottom: calc(var(--tabbar-h) + 34px + env(safe-area-inset-bottom)); }
}
/* Phones: an app-style footer. A small brand block, then Explore / Company / Legal as rounded cards that open on tap
   (assets/js/site.js adds .site-footer--app, the arrow icons and the open/close; without it every list stays open). */
@media (max-width: 899px) {
  .site-footer { padding-top: 1.75rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .footer-brand { max-width: none; gap: .7rem; padding: 0 .25rem .9rem; }
  .footer-brand img { width: 124px; }
  .footer-brand p { max-width: 34ch; font-size: .9rem; line-height: 1.5; }
  .site-footer nav { border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); overflow: hidden; }
  .site-footer nav .footer-h { display: flex; align-items: center; gap: .8rem; margin: 0; padding: .8rem 1rem .8rem .85rem; min-height: 60px; font-size: 1rem; }
  .site-footer .footer-h__ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 13px; background: var(--glass-strong); color: #fff; }
  .site-footer .footer-h__ic .i { width: 20px; height: 20px; }
  .site-footer nav a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: .85rem 1rem .85rem 1.1rem; min-height: 50px; text-decoration: none; }
  .site-footer nav a:hover { text-decoration: none; }
  .site-footer nav a::after {
    content: ""; flex: none; width: 8px; height: 8px; margin-right: .3rem;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .55;
  }
  .site-footer nav a:active { background: var(--glass); }
  .site-footer li + li { margin-top: 0; }
  .site-footer li { border-top: 1px solid var(--glass-line); }
  /* the cards open and close only when the script is running */
  .site-footer--app .footer-h { cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
  .site-footer--app .footer-h:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 22px; }
  .site-footer--app .footer-h::after {
    content: ""; flex: none; width: 9px; height: 9px; margin-left: auto; margin-right: .35rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7; transition: transform .25s var(--ease);
  }
  .site-footer--app nav.is-open .footer-h::after { transform: rotate(-135deg); }
  .site-footer--app nav:not(.is-open) ul { display: none; }
  .site-footer--app nav.is-open ul { animation: footer-open .25s var(--ease); }
  .footer-base { margin-top: 1.5rem; padding-block: 1.25rem 0; text-align: center; font-size: .8125rem; }
}
@keyframes footer-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Toasts ---------- */
.toasts {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 300;
  bottom: calc(var(--tabbar-h) + 26px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; justify-items: center;
  width: min(92vw, 420px); pointer-events: none;
}
@media (min-width: 900px) { .toasts { bottom: 28px; } }
.toast {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.15rem; border-radius: 18px;
  background: rgba(14, 8, 11, .88); color: #fff; font-weight: 600; font-size: .9375rem;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  animation: toast-in .35s var(--ease) both;
}
.toast .i { color: #6EE7B0; }
.toast.is-leaving { animation: toast-out .25s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }

/* ---------- Sheets (native <dialog>): bottom sheet on phones, centred card on desktop ---------- */
dialog.sheet {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden;
}
dialog.sheet::backdrop {
  background: rgba(22, 0, 10, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
dialog.sheet[open]::backdrop { animation: fade-in .3s ease both; }
.sheet__panel {
  --fg: #fff; --fg-2: rgba(255, 255, 255, .84); --fg-3: rgba(255, 255, 255, .68);
  --glass: rgba(255, 255, 255, .08); --glass-strong: rgba(255, 255, 255, .15);
  --glass-line: rgba(255, 255, 255, .18); --glass-hi: rgba(255, 255, 255, .28);
  --glass-shadow: none;
  --btn-bg: var(--crimson); --btn-fg: #fff; --focus: #fff; --link: #A8506B;
  --chip-on-bg: #fff; --chip-on-fg: #000;
  --field-bg: rgba(255, 255, 255, .08); --field-line: rgba(255, 255, 255, .6); --danger: #D9A0B0;
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  max-height: min(94dvh, 900px);
  border-radius: 30px 30px 0 0; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(34rem 20rem at 100% 0%, rgba(122,31,61, .55), transparent 70%),
    rgba(12, 6, 9, .86);
  border: 1px solid rgba(255, 255, 255, .2); border-bottom: 0;
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(34px) saturate(170%); backdrop-filter: blur(34px) saturate(170%);
  animation: sheet-up .42s var(--ease) both;
}
dialog.sheet.is-closing .sheet__panel { animation: sheet-down .26s ease forwards; }
dialog.sheet.is-closing::backdrop { animation: fade-out .26s ease forwards; }
.sheet__grab { width: 42px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .35); margin: 10px auto 0; flex: none; }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 5; --focus: #fff; background: rgba(12, 6, 9, .55); }
.sheet__scroll { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; flex: 1 1 auto; }
.sheet__foot {
  flex: none; padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--glass-line);
  background: rgba(10, 4, 7, .72);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
@media (min-width: 900px) {
  .sheet__panel {
    left: 50%; right: auto; top: 50%; bottom: auto;
    width: min(940px, 92vw); max-height: min(88dvh, 860px);
    border-radius: 34px; border-bottom: 1px solid rgba(255, 255, 255, .2);
    animation: pop-in .36s var(--ease) both;
    transform: translate(-50%, -50%);
  }
  .sheet__panel--narrow { width: min(560px, 92vw); }
  .sheet__grab { display: none; }
  dialog.sheet.is-closing .sheet__panel { animation: pop-out .22s ease forwards; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes pop-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes pop-out { to { opacity: 0; transform: translate(-50%, -48%) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* ---------- Page transitions (Chrome / Safari 18+): header + tab bar stay put ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important;
    animation-iteration-count: 1 !important; transition-duration: .001ms !important;
  }
  @view-transition { navigation: none; }
}

/* ---------- Phone menu drawer (header hamburger): "Menu" / "About us" ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(12, 6, 9, .55); opacity: 0; transition: opacity .28s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px);
  display: flex; flex-direction: column; gap: 1rem; overflow-y: auto; overscroll-behavior: contain;
  padding: max(14px, env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  background: #fff; color: var(--ink); border-radius: 28px 0 0 28px;
  box-shadow: -24px 0 60px -20px rgba(30, 0, 14, .5);
  transform: translateX(104%); transition: transform .3s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-left: 6px; }
.drawer__top .brand img { height: 30px; width: auto; }
.drawer__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--blush); }
.drawer__tabs button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; color: rgba(10, 10, 10, .7); transition: background-color .2s, color .2s; }
.drawer__tabs button[aria-selected="true"] { background: var(--crimson); color: #fff; }
.drawer__tabs button:focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; }
.drawer__list { display: grid; gap: 2px; align-content: start; }
.drawer__list[hidden], .drawer__list a[hidden] { display: none; }
.drawer__list a { display: flex; align-items: center; gap: .85rem; min-height: 54px; padding: 0 .9rem; border-radius: 16px; text-decoration: none; font-weight: 700; color: var(--ink); }
.drawer__list a span { flex: 1; }
.drawer__list a .i { color: var(--crimson); }
.drawer__list a .go { width: 18px; height: 18px; color: rgba(10, 10, 10, .35); }
.drawer__list a:hover, .drawer__list a:focus-visible { background: rgba(122,31,61, .08); outline: none; }
body.is-drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .drawer__scrim, .drawer__panel { transition: none; } }

/* ---------- "Do this in the app" popup ---------- */
.app-popup { display: grid; justify-items: center; gap: .9rem; text-align: center; padding: 2.4rem 1.4rem 1.7rem; }
.app-popup__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--glass-strong); color: #fff; }
.app-popup p { color: var(--fg-2); max-width: 36ch; }
.app-popup__stores { justify-content: center; margin-top: .3rem; }

/* elements shown/hidden by sign-in state (JS toggles [hidden]) must win over their own display rules */
[data-auth][hidden] { display: none !important; }

/* ---------- My plans (the profile tab and the plans page) ---------- */
.pftabs { display: flex; gap: .5rem; margin: 0 0 1.25rem; }
.pftabs__b { border: 1px solid var(--line, #E7DFE2); background: #fff; color: var(--fg, #222); border-radius: 999px; padding: .55rem 1.1rem; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
.pftabs__b.is-on { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.myplan { background: #fff; border: 1px solid var(--line, #E9E1E4); border-radius: 20px; padding: 1.2rem 1.3rem; box-shadow: 0 4px 18px rgba(122,31,61, .07); }
.myplan__top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.myplan__name { font-family: var(--font-display, inherit); font-size: 1.6rem; line-height: 1.1; color: var(--crimson); }
.myplan__when { color: var(--fg-3, #777); font-size: .9rem; font-weight: 600; }
.myplan__bar { height: 8px; border-radius: 99px; background: rgba(122,31,61, .12); margin: .9rem 0 .35rem; overflow: hidden; }
.myplan__bar i { display: block; height: 100%; background: var(--crimson); border-radius: 99px; }
.myplan__store { font-size: .85rem; color: var(--fg-3, #777); margin: 0 0 .7rem; }
.myplan__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1rem; font-size: .92rem; font-weight: 600; }
.myplans__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0 .6rem; }
.myplans__fine { font-size: .85rem; }


/* ---------- Scroll reveal (assets/js/reveal.js adds these classes; without the script, or with reduced motion, nothing is hidden) ---------- */
.rv {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--rv-d, 0ms);
  will-change: opacity, transform;
}
.rv.rv-img { transform: translate3d(0, 22px, 0) scale(.96); }
.rv.rv-in { opacity: 1; transform: none; }
@media print { .rv { opacity: 1 !important; transform: none !important; } }

/* ---------- Password fields: Show / Hide ---------- */
.pw-wrap { position: relative; display: block; }
.pw-wrap > input { width: 100%; padding-right: 4.75rem; }
.pw-toggle { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); background: transparent; border: 0; font: inherit; font-size: .8125rem; font-weight: 700; color: var(--crimson); padding: .5rem .65rem; border-radius: .5rem; cursor: pointer; }
.pw-toggle:hover { text-decoration: underline; }
.pw-toggle:focus-visible { outline: 2px solid var(--crimson); outline-offset: 1px; }

/* ---------- "Verify your email" reminder: a small card in the middle of the screen ---------- */
dialog.vnudge { border: 0; padding: 0; margin: auto; width: min(92vw, 22rem); border-radius: 1.25rem; background: #fff; color: #1a1a1a; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
dialog.vnudge::backdrop { background: rgba(30, 8, 22, .45); }
.vnudge__in { position: relative; padding: 1.6rem 1.4rem 1.2rem; text-align: center; }
.vnudge__x { position: absolute; top: .45rem; right: .5rem; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: transparent; color: #666; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.vnudge__x:hover { background: #f3eef1; }
.vnudge__ic { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #FAF1F3; color: var(--crimson); }
.vnudge__ic svg { width: 1.4rem; height: 1.4rem; }
.vnudge h2 { margin: .7rem 0 .3rem; font-size: 1.2rem; color: #1a1a1a; }
.vnudge p { margin: 0 0 1.1rem; color: #555; font-size: .9375rem; line-height: 1.45; }
.vnudge__go { display: block; padding: .8rem 1rem; border-radius: 999px; background: var(--crimson); color: #fff !important; font-weight: 700; text-decoration: none; }
.vnudge__go:hover { background: var(--crimson-600); }
.vnudge__later { margin-top: .5rem; padding: .6rem 1rem; border: 0; background: transparent; color: #666; font: inherit; font-size: .9rem; cursor: pointer; }
.vnudge__later:hover { text-decoration: underline; }

/* ---------- "I'm not a robot" box ---------- */
.captcha { min-height: 0; display: flex; justify-content: flex-start; max-width: 100%; overflow: hidden; }
.captcha:empty { display: none; }

/* ---------- shows footer, computer only (phones and tablets keep the dark footer above) ---------- */
.site-footer--shows .footer-logo--d { display: none; }
@media (min-width: 900px) {
  .site-footer--shows.stage--black { background: #fff; color: #000; padding: 1.5rem clamp(.75rem, 3vw, 2.5rem) 1.5rem; }
  .site-footer--shows .footer-grid { max-width: 1180px; margin: 0 auto; padding: 2.4rem 2.8rem; border-radius: 24px; background: linear-gradient(110deg, #FAF1F3 0%, #EBD3DA 100%); box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .3); }
  .site-footer--shows .footer-logo--m { display: none; }
  .site-footer--shows .footer-logo--d { display: block; width: 170px; height: auto; }
  .site-footer--shows .footer-brand p { color: #4a3a42; line-height: 1.55; }
  .site-footer--shows .footer-h { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #7A1F3D; margin-bottom: .6rem; }
  .site-footer--shows nav a { color: #1d1118; font-weight: 500; }
  .site-footer--shows nav a:hover { color: #7A1F3D; }
  .site-footer--shows .footer-base { max-width: 1180px; margin: 1rem auto 0; padding: .9rem 1rem; border: 0; border-radius: 16px; background: #7A1F3D; color: #fff; }
  .site-footer--shows .footer-base p { color: #fff; }
}

/* ---------- "Be the First to Know" email bar above the shows footer (wine) ---------- */
.sh-news { padding: 1.5rem clamp(.75rem, 3vw, 2.5rem) 0; background: #fff; }
.sh-news__bar { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1.1fr auto; align-items: center; gap: 1.25rem; padding: 1.1rem 1.8rem; border-radius: 20px; color: #fff; overflow: hidden; background: radial-gradient(40rem 14rem at 85% 0%, rgba(255,255,255,.14), transparent 70%), linear-gradient(100deg, #4F1329 0%, #7A1F3D 55%, #651A33 100%); box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .3); }
.sh-news__copy { display: flex; align-items: center; gap: 1.1rem; }
.sh-news__tag { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; white-space: nowrap; opacity: .9; }
.sh-news__copy h2 { margin: 0; font-size: 1.35rem; line-height: 1.15; font-weight: 800; color: #fff; }
.sh-news__copy p { margin: .25rem 0 0; font-size: .8rem; line-height: 1.35; color: rgba(255,255,255,.85); max-width: 22rem; }
.sh-news__form { position: relative; display: flex; gap: 0; align-items: center; background: #fff; border-radius: 999px; padding: .25rem; }
.sh-news__field { flex: 1; display: flex; align-items: center; gap: .55rem; padding-left: .9rem; color: #7A1F3D; min-width: 0; }
.sh-news__field svg { width: 18px; height: 18px; flex: none; }
.sh-news__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .85rem; color: #000; padding: .6rem 0; }
.sh-news__form button { border: 0; cursor: pointer; border-radius: 999px; background: #A3405F; color: #fff; font: inherit; font-weight: 700; font-size: .85rem; padding: .65rem 1.4rem; white-space: nowrap; }
.sh-news__form button:hover { background: #8F2A4C; }
.sh-news__form button:disabled { opacity: .6; cursor: default; }
.sh-news__msg { position: absolute; left: .9rem; top: calc(100% + .35rem); margin: 0; font-size: .78rem; color: #fff; }
.sh-news__msg:empty { display: none; }
.sh-news__art { display: flex; align-items: center; gap: .6rem; padding-right: .5rem; }
.sh-news__art span { font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive; font-style: italic; font-size: 1.15rem; line-height: 1.15; text-align: center; }
.sh-news__art svg { width: 84px; height: 46px; }
@media (max-width: 899px) {
  .sh-news { padding: 1rem .75rem 1.5rem; }
  .sh-news__bar { grid-template-columns: 1fr; gap: .9rem; padding: 1.1rem 1.1rem 1.4rem; border-radius: 18px; }
  .sh-news__copy { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .sh-news__art { display: none; }
  .sh-news__msg { position: static; margin: .5rem 0 0 .6rem; }
  .sh-news__form { flex-wrap: wrap; }
}

/* while a sheet is open the page behind must not glide anywhere (the open sheet restores the scroll position in site.js) */
html:has(dialog[open]) { scroll-behavior: auto; }

/* ---------- Breadcrumbs (visible bar under the site header; the same trail is sent to Google as BreadcrumbList) ---------- */
.bcrumb { background: transparent; }
.bcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; list-style: none; margin: 0; padding: 1rem 0 0; font-size: .875rem; line-height: 1.4; color: #6f6c76; }
.bcrumb li { display: inline-flex; align-items: center; min-width: 0; }
.bcrumb li + li::before { content: "\203A"; margin-right: .5rem; opacity: .65; }
.bcrumb a { color: inherit; text-decoration: none; }
.bcrumb a:hover { text-decoration: underline; color: #1d1b22; }
.bcrumb [aria-current] { color: #1d1b22; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* "Be the First to Know" on the main website (trip2event.in): same bar as the shows site, in the Trip2Event crimson */
.sh-news--main .sh-news__bar { background: radial-gradient(40rem 14rem at 85% 0%, rgba(255,255,255,.16), transparent 70%), linear-gradient(100deg, #5A0F3C 0%, #7A1F3D 55%, #8A1560 100%); }
.sh-news--main .sh-news__field { color: #7A1F3D; }
.sh-news--main .sh-news__form button { background: #A8506B; }
.sh-news--main .sh-news__form button:hover { background: #C2437C; }
.sh-news--main { padding-bottom: 1.5rem; }

/* Thank-you popup after "Be the First to Know" (main + shows websites; the shows site gets the wine colours through its recolour filter) */
.nsp { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(20, 0, 12, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.nsp[hidden] { display: none; }
.nsp__box { position: relative; width: min(100%, 420px); background: #fff; color: #0a0a0a; border-radius: 24px; padding: 2.2rem 1.8rem 1.8rem; text-align: center; box-shadow: 0 40px 80px -30px rgba(30, 0, 14, .6); animation: nspUp .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes nspUp { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.nsp__x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f3f6; color: #333; font-size: 18px; line-height: 1; cursor: pointer; }
.nsp__ok { width: 76px; height: 76px; margin: 0 auto 1.1rem; border-radius: 50%; background: linear-gradient(135deg, #FAF1F3, #fff); display: grid; place-items: center; box-shadow: 0 0 0 8px #fbf2f7; }
.nsp__ok svg { width: 44px; height: 44px; }
.nsp__ok circle { fill: #7A1F3D; }
.nsp__ok path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: nspDraw .5s .25s forwards; }
@keyframes nspDraw { to { stroke-dashoffset: 0; } }
.nsp__box h3 { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; color: #0a0a0a; }
.nsp__box p { margin: 0 0 1.3rem; color: #5f5c66; line-height: 1.55; font-size: 1rem; }
.nsp__box p b { color: #0a0a0a; word-break: break-all; }
.nsp__tags { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin: 0 0 1.3rem; }
.nsp__tags span { font-size: .78rem; background: #f3f3f6; border-radius: 99px; padding: .3rem .8rem; color: #3b3942; }
.nsp__go { min-height: 48px; padding: 0 1.8rem; border: 0; border-radius: 10px; background: #7A1F3D; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .nsp__box, .nsp__ok path { animation: none; } .nsp__ok path { stroke-dashoffset: 0; } }

/* tickets */
/* ==========================================================================
   Tickets / Discover events (also used for the poster rail on the home page)
   ========================================================================== */

/* ---------- Poster art ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .7rem; border-radius: 999px;
  background: rgba(18, 6, 12, .5); border: 1px solid rgba(255, 255, 255, .38);
  color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.2;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.poster {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--a), var(--b));
  box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .2);
  transition: transform .35s var(--ease);
}
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .66)); }
.poster__motif { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.poster__cat { position: absolute; left: .8rem; top: .8rem; }
.poster__date {
  position: absolute; right: .8rem; top: .8rem; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; text-align: center;
  min-width: 48px; padding: .38rem .5rem .34rem; border-radius: 14px; line-height: 1.05; color: #fff;
  background: rgba(18, 6, 12, .5); border: 1px solid rgba(255, 255, 255, .38);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.poster__date b { font-size: 1.2rem; font-weight: 800; }
.poster__date span { font-size: .6875rem; font-weight: 700; }
.poster__title {
  position: absolute; left: .95rem; right: .95rem; bottom: .9rem; color: #fff;
  font-family: var(--font-display); font-weight: 400; letter-spacing: -.005em;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.1; text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}

/* ---------- Event card ---------- */
.ecard { display: block; min-width: 0; }
.ecard__link {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; align-content: start; text-decoration: none; color: var(--fg);
  border-radius: var(--r-lg); -webkit-tap-highlight-color: transparent;
}
.ecard__link:hover .poster { transform: translateY(-5px); }
.ecard__link:active .poster { transform: scale(.98); }
.ecard__info { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; padding-inline: .2rem; }
.ecard__line { display: flex; gap: .45rem; align-items: flex-start; color: var(--fg-2); font-size: .9rem; font-weight: 500; line-height: 1.35; }
.ecard__line .i { width: 1.05em; height: 1.05em; margin-top: .18em; color: var(--fg-3); }
.ecard__price { display: flex; align-items: center; gap: .5rem; margin-top: .1rem; font-weight: 800; font-size: .975rem; }
.ecard__price .tag { background: rgba(110, 231, 176, .16); border-color: rgba(110, 231, 176, .5); color: #8EF0C1; }

/* ---------- Discover page ---------- */
.disc { padding-bottom: clamp(3rem, 6vw, 5rem); }
.disc-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.disc-hero__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 1.75rem; max-width: 46rem; }
.toolbar { display: grid; gap: .65rem; grid-template-columns: minmax(0, 1fr) auto; }
.toolbar .searchbox { grid-column: 1 / -1; order: 3; }
.searchbox { position: relative; }
.searchbox .i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--fg-3); pointer-events: none; }
.searchbox .input { padding-left: 2.9rem; border-radius: 999px; min-height: 52px; background: var(--glass); border-color: var(--glass-line); }
.searchbox .input::-webkit-search-cancel-button { filter: invert(1); opacity: .7; }
.toolbar .btn { --h: 52px; padding-inline: 1rem; gap: .45rem; min-width: 0; }
@media (max-width: 479px) { #cityBtn .i:last-child { display: none; } .sort__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .results-head h2 { font-size: 1.05rem; } }
#cityBtn { justify-content: flex-start; }
#cityLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 760px) {
  .toolbar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .toolbar .searchbox { grid-column: auto; order: 0; }
}

.feat-wrap { position: relative; }
.feat { gap: 1rem; padding-bottom: 1.25rem; }
.fcard {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end;
  width: min(88vw, 600px); aspect-ratio: 16 / 12; padding: 1rem;
  border-radius: var(--r-xl); text-decoration: none; color: #fff;
  background: linear-gradient(150deg, var(--a), var(--b));
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .22);
  scroll-snap-align: center; -webkit-tap-highlight-color: transparent;
  transition: transform .3s var(--ease);
}
.fcard:active { transform: scale(.985); }
.fcard .poster__motif { left: auto; right: -2%; width: 66%; z-index: -1; opacity: .95; }
.fcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .55)); }
.fcard__panel {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; padding: .95rem 1.05rem 1rem; border-radius: 24px;
  background: rgba(20, 8, 14, .55); border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
}
.fcard__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); line-height: 1.08; text-wrap: balance; }
.fcard__meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.fcard__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.fcard__meta .i { width: 1em; height: 1em; }
.fcard__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .2rem; }
.fcard__foot b { font-weight: 800; }
.fcard .btn { --btn-bg: #fff; --btn-fg: var(--crimson); }
.feat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.feat-nav { display: none; gap: .5rem; }
@media (min-width: 900px) { .feat-nav { display: flex; } .fcard { width: 560px; } }

.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; padding-block: 1rem 1.25rem; }
.filter-row { display: flex; align-items: center; gap: .6rem; }
.filter-row .rail { flex: 1; min-width: 0; }
.filter-label { flex: none; font-size: .9rem; font-weight: 700; color: var(--fg-2); width: 3.6rem; }
@media (max-width: 639px) { .filter-label { display: none; } }
.toggle-chip { gap: .55rem; }
.toggle-chip .i { width: 1.1em; height: 1.1em; }

.results-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.results-head h2 { font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.sort { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; color: var(--fg-2); }
.sort .select { min-height: 42px; padding-block: .4rem; width: auto; border-radius: 999px; font-size: .9375rem; background-color: var(--glass); }
.grid-events { display: grid; gap: 1.6rem .85rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid-events { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.1rem; } }
@media (min-width: 1040px) { .grid-events { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem 1.25rem; } }

.empty { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .9rem; padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem; text-align: center; border-radius: var(--r-xl); }
.empty .i { width: 2.4rem; height: 2.4rem; color: var(--fg-3); }
.empty p { color: var(--fg-2); max-width: 40ch; }
.empty h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }

.host-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; justify-items: start; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-xl); position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(2.5rem, 6vw, 4rem); }
.host-cta .hero-petals { right: -6%; width: min(26rem, 80vw); opacity: .5; z-index: -1; }
.host-cta p { color: var(--fg-2); max-width: 48ch; }
.demo-note { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 16px; font-size: .9rem; font-weight: 600; line-height: 1.4;
  background: rgba(255, 196, 0, .12); border: 1px solid rgba(255, 210, 74, .55); color: #FFE08A; }
.demo-note .i { flex: none; margin-top: .1em; }

/* ---------- Event sheet ---------- */
.evd__hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; gap: .6rem;
  min-height: 230px; padding: 4rem 1.25rem 1.25rem;
  background: linear-gradient(150deg, var(--a), var(--b));
}
.evd__hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, .55)); }
.evd__hero .poster__motif { left: auto; right: -4%; width: 64%; z-index: -1; }
.evd__hero h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); line-height: 1.05; text-wrap: balance; max-width: 18ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.evd__tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.evd__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 1.4rem 1.25rem 1.6rem; }
.evd__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; align-content: start; min-width: 0; }
.evd__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; }
.evd__facts li { display: flex; gap: .85rem; align-items: flex-start; }
.evd__facts .ic { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 42px; height: 42px; border-radius: 14px; flex: none; background: var(--glass); border: 1px solid var(--glass-line); }
.evd__facts b { display: block; line-height: 1.3; }
.evd__facts small { display: block; color: var(--fg-3); font-size: .875rem; line-height: 1.35; }
.evd__facts a { color: var(--link); font-weight: 700; text-underline-offset: .2em; }
.evd h3 { font-size: 1.0625rem; font-weight: 800; margin-bottom: .5rem; }
.evd__main p { color: var(--fg-2); max-width: 62ch; }
.evd .checks .i { color: #A8506B; }
.evd__book { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; align-content: start; }
.tier { display: flex; align-items: center; gap: .9rem; padding: .95rem 1rem; border-radius: 22px; transition: border-color .2s, background-color .2s; }
.tier.is-on { background: var(--glass-strong); border-color: rgba(255, 255, 255, .6); }
.tier__info { flex: 1; min-width: 0; }
.tier__info b { display: block; line-height: 1.25; }
.tier__info small { display: block; color: var(--fg-3); font-size: .8125rem; line-height: 1.35; }
.tier__price { font-weight: 800; margin-top: .2rem; }
.stepper { display: inline-flex; align-items: center; gap: .1rem; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--glass-line); flex: none; }
.stepper button {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: #fff; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, transform .15s var(--ease);
}
.stepper button:hover:not(:disabled) { background: rgba(255, 255, 255, .14); }
.stepper button:active:not(:disabled) { transform: scale(.88); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.book-hint { font-size: .875rem; color: var(--fg-3); }
@media (min-width: 900px) {
  .evd__hero { min-height: 280px; padding: 5rem 2rem 1.75rem; }
  .evd__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; padding: 2rem; }
  .evd__book { position: sticky; top: 0; }
}

.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 940px; margin-inline: auto; }
.foot-row__sum { display: grid; grid-template-columns: minmax(0, 1fr); line-height: 1.2; }
.foot-row__sum small { color: var(--fg-3); font-size: .8125rem; font-weight: 600; }
.foot-row__sum strong { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Checkout ---------- */
.sheet__bar { display: flex; align-items: center; gap: .6rem; padding: 12px 70px 12px 14px; flex: none; border-bottom: 1px solid var(--glass-line); }
.sheet__bar h2 { font-size: 1.0625rem; font-weight: 800; }
.co { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem; }
@media (min-width: 900px) { .co { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); padding: 2rem; gap: 2rem; align-items: start; } }
.co__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.sum { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; padding: 1.1rem; border-radius: 24px; }
.sum__ev { display: flex; gap: .85rem; align-items: center; }
.sum__thumb { width: 56px; aspect-ratio: 4/5; border-radius: 12px; flex: none; background: linear-gradient(155deg, var(--a), var(--b)); }
.sum__ev b { display: block; line-height: 1.25; }
.sum__ev small { color: var(--fg-3); font-size: .85rem; line-height: 1.35; display: block; }
.sum__lines { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; padding-top: .75rem; border-top: 1px solid var(--glass-line); font-weight: 600; }
.sum__lines li { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .75rem; border-top: 1px solid var(--glass-line); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }

/* ---------- Ticket ---------- */
.done { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.4rem 1.25rem 1.6rem; justify-items: center; text-align: center; }
.done__ok { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(110, 231, 176, .16); border: 1px solid rgba(110, 231, 176, .55); color: #8EF0C1; }
.done__ok .i { width: 30px; height: 30px; stroke-width: 2.6; }
.ticket { width: min(100%, 420px); text-align: left; border-radius: 28px; position: relative; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .55)); }
.ticket__top {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; align-content: end; min-height: 150px;
  padding: 1.1rem 1.2rem 1.2rem; border-radius: 28px 28px 0 0; color: #fff;
  background: linear-gradient(150deg, var(--a), var(--b));
}
.ticket__top .poster__motif { left: auto; right: -6%; width: 60%; opacity: .9; }
.ticket__top h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; text-wrap: balance; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.ticket__rip { position: relative; height: 22px; background: #fff; }
.ticket__rip::before, .ticket__rip::after { content: ""; position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #1a0a12; }
.ticket__rip::before { left: -11px; }
.ticket__rip::after { right: -11px; }
.ticket__rip i { position: absolute; left: 20px; right: 20px; top: 10px; border-top: 2px dashed rgba(10, 10, 10, .22); }
.ticket__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: .5rem 1.2rem 1.3rem; border-radius: 0 0 28px 28px; background: #fff; color: #0a0a0a; }
.ticket__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem; }
.ticket__grid dt { font-size: .75rem; font-weight: 700; color: rgba(10, 10, 10, .62); }
.ticket__grid dd { margin: 0; font-weight: 700; line-height: 1.3; }
.ticket__grid .wide { grid-column: 1 / -1; }
.ticket__code { display: flex; align-items: center; gap: 1rem; padding-top: .9rem; border-top: 2px dashed rgba(10, 10, 10, .15); }
.tqr { width: 136px; height: 136px; flex: none; }
.tqr svg { width: 100%; height: 100%; shape-rendering: crispEdges; }
.ticket__code b { display: block; font-size: 1.1rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ticket__code small { color: rgba(10, 10, 10, .65); font-weight: 600; font-size: .8125rem; line-height: 1.35; display: block; }
.ticket__demo { display: inline-flex; align-self: start; justify-self: start; padding: .2rem .6rem; border-radius: 999px; background: #1a1a1a; color: #fff; font-size: .75rem; font-weight: 700; }
.done__actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }

/* My tickets list */
.mt { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; padding: 1.1rem; }
.mt-card { display: flex; gap: .9rem; align-items: center; width: 100%; padding: .8rem; border-radius: 22px; text-align: left; color: var(--fg); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mt-card:active { transform: scale(.985); }
.mt-card .sum__thumb { width: 52px; }
.mt-card b { display: block; line-height: 1.25; }
.mt-card small { display: block; color: var(--fg-3); font-size: .85rem; line-height: 1.35; }
.mt-card .i { margin-left: auto; color: var(--fg-3); flex: none; }

/* City list */
.city-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: .5rem 1.1rem 1.4rem; }
.city-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  min-height: 56px; padding: 0 1.1rem; border-radius: 18px; text-align: left;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--fg); font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
.city-opt[aria-checked="true"] { background: #fff; color: #000; border-color: #fff; }
.city-opt small { font-weight: 600; opacity: .7; }
.sheet__title { padding: 1.3rem 4.5rem .6rem 1.3rem; }
.sheet__title h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.sheet__title p { color: var(--fg-2); margin-top: .35rem; }

.count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px;
  background: var(--crimson); color: #fff; font-size: .75rem; font-weight: 800; line-height: 1;
}

/* sign-in prompt shown instead of checkout when the visitor has no account session */
.signin-gate { display: grid; justify-items: center; gap: .9rem; text-align: center; padding: 2.2rem 1.4rem 2rem; }
.signin-gate__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--glass-strong); color: #fff; }
.signin-gate p { color: var(--fg-2); max-width: 38ch; }
.signin-gate .btn-row { justify-content: center; }

/* ---------- Real poster pictures + "only N left" (event cards) ---------- */
.poster--photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 30%, transparent 62%, rgba(0, 0, 0, .5)); }
.poster__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; display: block; }
.ecard__title { margin: .05rem 0 .15rem; font-size: 1.05rem; font-weight: 800; line-height: 1.25; color: var(--fg); overflow-wrap: anywhere; }
.ecard__price .tag.tag--stock { background: rgba(255, 196, 77, .16); border-color: rgba(255, 196, 77, .55); color: #FFD27A; font-size: .72rem; }
.ecard__price .tag.tag--stock.is-out { background: rgba(163,64,95, .16); border-color: rgba(163,64,95, .55); color: #D9A0B0; }
.fcard--photo .fcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; display: block; }
.fcard__foot .tag.tag--stock { margin-left: auto; background: rgba(255, 196, 77, .22); border-color: rgba(255, 196, 77, .6); color: #FFE3A8; }
.fcard__foot .tag.tag--stock.is-out { background: rgba(163,64,95, .22); border-color: rgba(163,64,95, .6); color: #F0D4DB; }

/* ---------- Real poster pictures: show the WHOLE picture (not cropped, not hidden behind the text) ---------- */
/* Featured card: the picture on top at its own shape, the details underneath. */
.fcard--photo { aspect-ratio: auto; display: flex; flex-direction: column; padding: 0; background: #12070d; }
.fcard--photo::after { display: none; }
.fcard--photo .fcard__img { position: static; z-index: auto; width: 100%; height: auto; max-height: 460px; object-fit: contain; background: #0b0508; }
.fcard--photo .fcard__panel { margin: 0; border-radius: 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .14); background: #1a0b12; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 1rem 1.15rem 1.1rem; }
/* Event cards in the list: same idea. The category and date labels stay on top of the picture. */
.poster--photo { aspect-ratio: auto; background: #0b0508; }
.poster--photo::after { display: none; }
.poster--photo .poster__img { position: static; z-index: auto; width: 100%; height: auto; max-height: 440px; object-fit: contain; }

/* ============================================================================================================
   Events page (/tickets) redesign: wine photo hero with the type icons, filter column, event cards. Phones: type tiles,
   a Filters button + sheet, one card per row. Same grey shadow and wine colours as the home page.
   ============================================================================================================ */
.disc3 { background: #fff; color: #0b0b12; padding-bottom: 2.5rem; }
.d3-hero { position: relative; color: #fff; padding: calc(var(--header-h) + 1.5rem) 0 1.3rem; background: linear-gradient(90deg, rgba(79, 19, 41, .92) 0%, rgba(122, 31, 61, .6) 48%, rgba(122, 31, 61, .12) 100%), var(--bg) center / cover no-repeat, #4F1329; }
.d3-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.d3-hero__text h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1rem + 2.2vw, 2.5rem); line-height: 1.1; color: #fff; }
.d3-hero__text p { margin: .35rem 0 0; color: rgba(255, 255, 255, .86); font-size: 1rem; }
.d3-hero__tools { display: flex; align-items: center; gap: .6rem; }
.d3-search { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; width: min(24rem, 100%); padding: .2rem 1rem; border-radius: 999px; background: #fff; color: #7A1F3D; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .6); }
.d3-search svg { width: 18px; height: 18px; flex: none; }
.d3-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .92rem; color: #000; padding: .6rem 0; }
.d3-mt { display: inline-flex; align-items: center; gap: .45rem; padding: .62rem 1.05rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; white-space: nowrap; }
.d3-mt svg { width: 1.1em; height: 1.1em; }
.d3-mt .count { min-width: 1.3em; padding: 0 .35em; border-radius: 99px; background: #fff; color: #7A1F3D; font-size: .75rem; text-align: center; }
.d3-cats { display: flex; gap: 1.5rem; margin-top: 1.1rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
.d3-cats::-webkit-scrollbar { display: none; }
.d3-cat { flex: none; display: grid; justify-items: center; gap: .4rem; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; padding: 0; }
.d3-ci { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); transition: transform .2s, background .2s; }
.d3-ci svg { width: 24px; height: 24px; }
.d3-cat:hover .d3-ci { transform: translateY(-3px); }
.d3-cat[aria-pressed="true"] .d3-ci { background: #fff; color: #7A1F3D; }
.d3-cl { font-size: .8rem; font-weight: 600; white-space: nowrap; }
.d3-catgrid { display: none; }

.d3-main { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 1.5rem; }
.d3-side { position: sticky; top: calc(var(--header-h) + 1rem); padding: 1rem 1.1rem; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .3); border: 1px solid #f1e6ea; max-height: calc(100vh - var(--header-h) - 2rem); overflow: auto; }
.d3-f__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.d3-f__head h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.d3-clear { border: 0; background: none; color: #7A1F3D; font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; }
.d3-fg { padding: .85rem 0; border-top: 1px solid #f1e6ea; }
.d3-fg h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-size: .92rem; font-weight: 800; }
.d3-fg h3 svg { width: 18px; height: 18px; color: #7A1F3D; }
.d3-select { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; padding: .6rem .8rem; border-radius: 10px; border: 1px solid #e3d6db; background: #fff; font: inherit; font-size: .9rem; color: #1d1d29; cursor: pointer; }
.d3-select svg { width: 16px; height: 16px; flex: none; }
.d3-opts { display: grid; gap: .1rem; }
.d3-opt { display: flex; align-items: center; gap: .6rem; padding: .32rem 0; cursor: pointer; font-size: .88rem; color: #2a2a35; }
.d3-opt input { width: 16px; height: 16px; accent-color: #7A1F3D; margin: 0; flex: none; }

.d3-head { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 1rem; }
.d3-head h2 { margin: 0; margin-right: auto; font-size: 1rem; font-weight: 500; color: #4a4f5c; }
.d3-head h2 b { color: #0b0b12; font-weight: 800; }
.d3-filterbtn { display: none; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 12px; border: 1px solid #e3d6db; background: #fff; font: inherit; font-weight: 700; color: #7A1F3D; cursor: pointer; }
.d3-filterbtn svg { width: 18px; height: 18px; }
.d3-filterbtn b { min-width: 1.4em; padding: 0 .4em; border-radius: 99px; background: #7A1F3D; color: #fff; font-size: .75rem; text-align: center; }
.d3-head .sort { display: flex; align-items: center; gap: .5rem; }
.d3-head .sort__label { color: #5f6470; font-size: .88rem; }
.d3-head .select { border-radius: 10px; border: 1px solid #e3d6db; background: #fff; padding: .55rem .8rem; font-size: .9rem; }

.d3-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1.1rem; }
.d3-card { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .3); border: 1px solid #f4ecef; transition: transform .2s; }
.d3-card:hover { transform: translateY(-3px); }
.d3-card a { display: block; color: inherit; text-decoration: none; }
.d3-card__img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--a, #7A1F3D), var(--b, #2A0A17)); overflow: hidden; }
.d3-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d3-card__ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; color: #fff; font-family: var(--font-display); font-size: 1.2rem; }
.d3-card__cat { position: absolute; left: .7rem; top: .7rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #7A1F3D; font-size: .74rem; font-weight: 700; }
.d3-card__out { position: absolute; right: .7rem; top: .7rem; padding: .25rem .7rem; border-radius: 999px; background: #1d1d29; color: #fff; font-size: .72rem; font-weight: 700; }
.d3-card__body { display: grid; gap: .3rem; padding: .85rem 1rem 1rem; }
.d3-card__body h3 { margin: 0 0 .2rem; font-size: 1.02rem; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d3-card__body p { display: flex; align-items: flex-start; gap: .5rem; margin: 0; font-size: .85rem; color: #4a4f5c; }
.d3-card__body p svg { flex: none; width: 15px; height: 15px; color: #7A1F3D; margin-top: 2px; }
.d3-card__body p span { min-width: 0; }
.d3-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .45rem; }
.d3-card__price small { color: #5f6470; font-size: .82rem; }
.d3-card__price b { color: #7A1F3D; font-size: 1.15rem; }
.d3-card__btn { display: none; align-items: center; gap: .35rem; padding: .5rem 1.1rem; border-radius: 999px; background: #7A1F3D; color: #fff; font-weight: 700; font-size: .85rem; }
.d3-card__btn svg { width: 1em; height: 1em; }

/* filter sheet (phones) */
.d3-fs-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-right: 3rem; }
.d3-f--chips .d3-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.d3-f--chips .d3-opt { padding: 0; }
.d3-f--chips .d3-opt input { position: absolute; opacity: 0; pointer-events: none; }
.d3-f--chips .d3-opt span { display: inline-block; padding: .5rem .95rem; border-radius: 12px; border: 1px solid #e3d6db; background: #fff; font-size: .88rem; }
.d3-f--chips .d3-opt input:checked + span { border-color: #7A1F3D; background: #FAF1F3; color: #7A1F3D; font-weight: 700; }
.d3-fs-foot .btn { width: 100%; justify-content: center; border-radius: 999px; background: #7A1F3D; }

@media (max-width: 899px) {
  .d3-hero { padding-bottom: 1.3rem; }
  .d3-hero__top { display: grid; gap: .9rem; }
  .d3-hero__tools { display: grid; grid-template-columns: 1fr auto; }
  .d3-search { width: 100%; }
  .d3-mt span:not(.count) { display: none; }
  .d3-mt { padding: .72rem .8rem; }
  .d3-cats { display: none; }
  .d3-catgrid { display: flex; gap: .5rem; margin-top: 1.1rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; padding-bottom: .2rem; }
  .d3-catgrid::-webkit-scrollbar { display: none; }
  .d3-cat--tile { flex: none; width: 4.7rem; scroll-snap-align: start; }
  .d3-cat--tile { color: #1d1d29; }
  .d3-cat--tile .d3-ci { width: 58px; height: 58px; background: #f6e8ec; border: 0; color: #7A1F3D; }
  .d3-cat--tile[aria-pressed="true"] .d3-ci { background: #7A1F3D; color: #fff; }
  .d3-cat--tile .d3-cl { font-size: .74rem; text-align: center; white-space: normal; line-height: 1.2; }
  .d3-main { grid-template-columns: 1fr; margin-top: 1.2rem; }
  .d3-side { display: none; }
  .d3-filterbtn { display: inline-flex; }
  .d3-head h2 { flex: 1 0 100%; margin: 0 0 .1rem; font-size: .95rem; }
  .d3-head .sort { flex: 1; } .d3-head .sort__label { display: none; } .d3-head .select { width: 100%; }
  .d3-grid { grid-template-columns: 1fr; gap: .9rem; }
  .d3-card__img { aspect-ratio: 16 / 9; }
  .d3-card__btn { display: inline-flex; }
}

/* the filter sheet is a light sheet (the other sheets of this page are dark) */
#filterSheet .sheet__panel { background: #fff; color: #0b0b12; }
#filterSheet .sheet__scroll { padding: 0 1.1rem 1rem; }
#filterSheet .sheet__title { padding: 1rem 1.1rem .4rem; }
#filterSheet .sheet__title h2 { margin: 0; color: #0b0b12; font-size: 1.4rem; }
#filterSheet .d3-fs-title { padding-right: 4rem; }
#filterSheet .sheet__close { background: #f6e8ec; color: #7A1F3D; border: 0; }
#filterSheet .sheet__foot { background: #fff; border-top: 1px solid #f1e6ea; padding: .8rem 1.1rem calc(.8rem + env(safe-area-inset-bottom)); }
#filterSheet .d3-fg h3 { color: #0b0b12; }

/* medium screens: the title and the search + My tickets no longer fit side by side, so they stack (nothing sticks out of the page) */
.d3-hero__text { min-width: 0; }
.d3-hero__tools { min-width: 0; max-width: 100%; }
@media (max-width: 1180px) {
  .d3-hero__top { display: grid; gap: .9rem; }
  .d3-hero__tools { display: grid; grid-template-columns: minmax(0, 24rem) auto; justify-content: start; }
  .d3-search { width: 100%; }
}

/* computer: a smaller search box, and My tickets sits clear of the right edge */
@media (min-width: 900px) {
  .d3-hero__tools { gap: .8rem; padding-right: .4rem; }
  .d3-search { width: 17rem; padding: .05rem .9rem; }
  .d3-search input { font-size: .88rem; padding: .5rem 0; }
  .d3-mt { padding: .55rem 1rem; }
}
@media (min-width: 900px) and (max-width: 1180px) { .d3-hero__tools { grid-template-columns: 17rem auto; } .d3-search { width: 100%; } }

/* type tiles on phones: round wine-tint circles with a wine icon (the look the home page strip uses too) */
@media (max-width: 899px) {
  .d3-cat--tile .d3-ci { width: 62px; height: 62px; border-radius: 50%; background: #f6e8ec; color: #7A1F3D; border: 0; }
  .d3-cat--tile[aria-pressed="true"] .d3-ci { background: #7A1F3D; color: #fff; }
  .d3-cat--tile { width: 4.4rem; }
  .d3-catgrid { gap: .35rem; }
}

