/* 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; } }

/* content */
/* ==========================================================================
   Content pages: About, Contact, Blogs, articles, legal
   ========================================================================== */

/* ---------- Prose ---------- */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--fg-2); max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--font-display); font-weight: 400; color: var(--fg);
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.15; letter-spacing: -.01em;
  margin-top: 2.2em; scroll-margin-top: 104px; text-wrap: balance;
}
.prose h3 { font-size: 1.15rem; font-weight: 800; color: var(--fg); margin-top: 1.7em; line-height: 1.3; scroll-margin-top: 104px; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
/* text sizes chosen in the Admin blog editor (Size menu) */
.prose .fs-sm { font-size: .875em; }
.prose .fs-lg { font-size: 1.25em; }
.prose .fs-xl { font-size: 1.625em; line-height: 1.3; }
.prose .fs-xxl { font-size: 2em; line-height: 1.25; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--crimson); font-weight: 700; }
.prose strong { color: var(--fg); font-weight: 700; }
.prose a { color: var(--crimson); font-weight: 600; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.prose blockquote {
  padding: 1.1rem 1.35rem; border-radius: 22px; border-left: 4px solid var(--crimson);
  background: var(--glass); color: var(--fg); font-weight: 600; font-size: 1.125rem; line-height: 1.55;
}
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--glass-line); background: var(--glass); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; min-width: 520px; }
.prose th, .prose td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--glass-line); }
.prose th { color: var(--fg); font-weight: 800; background: rgba(122,31,61, .06); }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- Two-column / duo helpers ---------- */
.split, .duo, .contact-grid, .legal { grid-template-columns: minmax(0, 1fr); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; align-content: start; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-xl); }
.panel__ic { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--crimson); color: #fff; box-shadow: 0 14px 26px -14px rgba(122,31,61, .9); }
.panel__ic .i { width: 26px; height: 26px; }
.panel p { color: var(--fg-2); }
.panel .checks { margin-top: .25rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4.5rem; align-items: start; }
  .duo { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.about-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.about-story p { color: var(--fg-2); font-size: 1.0625rem; line-height: 1.75; max-width: 60ch; }
.values { display: grid; grid-template-columns: minmax(0, 1fr); }
.value { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--glass-line); }
.value:first-child { border-top: 0; padding-top: 0; }
.value .perk__ic { margin-top: .1rem; }
.value p { color: var(--fg-2); max-width: 52ch; margin-top: .25rem; }
.mock-note { color: var(--fg-3); font-size: .9rem; }

/* ---------- Blogs ---------- */
.blog-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; margin-bottom: 2rem; }
.blog-tools .searchbox { max-width: 520px; }
.blog-tools .searchbox .i { color: var(--fg-3); }
.blog-tools .input { padding-left: 2.9rem; border-radius: 999px; }
.blog-featured { margin-bottom: 1.5rem; }
.blog-empty { display: none; padding: 2.5rem 1.5rem; text-align: center; border-radius: var(--r-xl); }
.blog-empty.is-on { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; justify-items: center; }
.blog-empty p { color: var(--fg-2); max-width: 40ch; }
@media (min-width: 900px) {
  .post-card--featured .post-card__link { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto; align-items: stretch; }
  .post-card--featured .cover { aspect-ratio: auto; min-height: 340px; }
  .post-card--featured .post-card__body { padding: 2.25rem; align-content: center; gap: .9rem; }
  .post-card--featured .post-card__title { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; line-height: 1.1; }
  .post-card--featured .post-card__excerpt { font-size: 1.0625rem; -webkit-line-clamp: 4; }
}

/* ---------- Article ---------- */
.post-hero .wrap { gap: 1.1rem; }
.post-hero .display { font-size: clamp(2.1rem, 1.1rem + 3.9vw, 3.9rem); line-height: 1.05; }
.post-stage { padding-top: clamp(2.5rem, 5vw, 4rem); }
.post-stage .section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.post-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding: 1.2rem 1.4rem; border-radius: 24px;
}
.post-actions p { color: var(--fg-2); }
.read-progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 120; pointer-events: none; }
.read-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #A8506B, #7A1F3D); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: var(--r-xl); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-actions p { color: var(--fg-3); font-size: .875rem; max-width: 36ch; }
.page-delete-account .legal .prose h2::before { content: none; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--crimson); }
.counter { justify-self: end; font-size: .8125rem; color: var(--fg-3); font-weight: 600; }
.methods { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; align-content: start; }
.method { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem; border-radius: 24px; text-decoration: none; color: var(--fg); }
a.method { transition: transform .25s var(--ease); }
a.method:hover { transform: translateY(-3px); }
.method .perk__ic { flex: none; }
.method b { display: block; line-height: 1.3; }
.method span { color: var(--fg-2); overflow-wrap: anywhere; }
.method p { color: var(--fg-3); font-size: .9rem; margin-top: .15rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: start; } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.legal-meta { color: var(--fg-2); font-weight: 600; }
.toc { padding: .35rem 1.1rem; border-radius: 24px; }
.toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 800; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .i { color: var(--crimson); transition: transform .3s var(--ease); }
.toc[open] summary .i { transform: rotate(180deg); }
.toc ol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: .75rem; counter-reset: toc; }
.toc a { display: flex; gap: .65rem; padding: .45rem 0; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.35; color: var(--fg-2); }
.toc a::before { counter-increment: toc; content: counter(toc) "."; flex: none; min-width: 1.5rem; color: var(--crimson); font-weight: 800; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--crimson); }
.legal .prose { max-width: none; }
.legal .prose h2 { counter-increment: sec; }
.legal .prose h2::before { content: counter(sec) ". "; color: var(--crimson); font-variant-numeric: tabular-nums; }
.legal .prose { counter-reset: sec; }
@media (min-width: 960px) {
  .legal { grid-template-columns: 280px minmax(0, 1fr); gap: 4rem; align-items: start; }
  .toc { position: sticky; top: 104px; }
  .toc summary { pointer-events: none; }
  .toc summary .i { display: none; }
}
/* Admin-edited legal pages (terms / privacy / refund): no table of contents, so one centred reading column.
   The stored text starts with its own <h1>, which would repeat the hero title, so that one is hidden. */
.page-hero--center .wrap { justify-items: center; text-align: center; }
.legal.legal--single { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
.legal.legal--single .prose { width: 100%; max-width: none; margin-inline: 0; }
.legal--single .prose > h1:first-child { display: none; }
.callout { padding: 1rem 1.25rem; border-radius: 20px; background: rgba(122,31,61, .07); border: 1px solid rgba(122,31,61, .22); color: var(--fg); font-size: .975rem; line-height: 1.6; }

/* home */
/* ==========================================================================
   Home page
   ========================================================================== */

/* ---------- Light "app" surface used inside the phone and the feature previews ---------- */
.app-ui {
  --fg: #0a0a0a;
  --fg-2: rgba(10, 10, 10, .76);
  --fg-3: rgba(10, 10, 10, .62);
  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .9);
  --glass-line: rgba(122,31,61, .14);
  --glass-hi: #fff;
  --glass-shadow: 0 14px 30px -20px rgba(122,31,61, .45);
  --btn-bg: var(--crimson); --btn-fg: #fff; --focus: var(--crimson);
  --line: rgba(10, 10, 10, .1);
  --soft: #FAF1F3;
  --yes: #7A1F3D; --maybe: #A8506B; --no: #1a1a1a; --wait: #E3D8DC;
  color: var(--fg);
  background:
    radial-gradient(18rem 14rem at 100% 0%, rgba(168,80,107, .3), transparent 70%),
    radial-gradient(16rem 14rem at 0% 100%, rgba(122,31,61, .2), transparent 70%),
    #fff;
}
.app-ui .glass { border-radius: 20px; }
.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c, var(--crimson)); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .02em;
  border: 2px solid #fff;
}
.avatar--sm { width: 30px; height: 30px; font-size: .6875rem; }
.avatar-stack { display: flex; }
.avatar-stack .avatar + .avatar { margin-left: -9px; }
.pill {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 .65rem;
  border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.pill--yes { background: #F7E3E8; color: #6A1A34; }
.pill--wait { background: #ECE6E8; color: #3d3438; }
.pill--no { background: #1a1a1a; color: #fff; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4.5rem)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; align-items: center; padding-bottom: 2.25rem; }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; justify-items: start; container-type: inline-size; }
.hero__title {
  font-size: clamp(2rem, .85rem + 5.2vw, 3.9rem);
  font-size: clamp(1.9rem, 8.4cqi, 3.9rem);
  line-height: 1.04;
}
.hero__title span { display: block; }
.hero__points { display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; color: var(--fg-2); font-weight: 600; }
@media (max-width: 559px) { .hero .btn-row { width: 100%; } .hero .btn-row .btn { flex: 1 1 100%; } }
.hero__points li { display: flex; align-items: center; gap: .65rem; }
.hero__points .i { color: #fff; }

.occasions { padding-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.occasions .rail { gap: .6rem; }
.occasions .chip { cursor: default; min-height: 46px; font-size: 1rem; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; }
}

/* Segmented control */
.seg {
  display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
}
.seg button {
  min-height: 44px; padding: 0 1.4rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--fg); font-weight: 700; font-size: .9375rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background-color .25s var(--ease), color .25s;
  -webkit-tap-highlight-color: transparent;
}
.seg button[aria-selected="true"] { background: var(--chip-on-bg); color: var(--chip-on-fg); }

/* Demo stage */
.demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.1rem; }
.demo .hero-petals { width: 150%; max-width: none; left: 50%; right: auto; top: 52%; transform: translate(-50%, -50%); }
@media (min-width: 960px) { .demo .hero-petals { width: 860px; left: 54%; } }
.phone {
  position: relative; width: min(100%, 340px);
  padding: 10px; border-radius: 48px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .14));
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 40px 80px -30px rgba(30, 0, 14, .75), inset 0 1px 0 rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.phone__screen {
  position: relative; overflow: hidden; border-radius: 38px;
  height: 620px; display: flex; flex-direction: column;
}
.app-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 4px; font-size: .8125rem; font-weight: 800; flex: none;
}
.app-status .i { width: 1rem; height: 1rem; }
.app-status span:last-child { display: inline-flex; gap: .3rem; }
.app-view { flex: 1 1 auto; display: flex; flex-direction: column; gap: .75rem; padding: .5rem 14px 0; overflow: hidden; animation: view-in .45s var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }
.app-head { display: flex; align-items: center; justify-content: space-between; padding: .35rem .2rem; }
.app-hello { font-weight: 800; font-size: 1.0625rem; line-height: 1.2; }
.app-sub { font-size: .8125rem; color: var(--fg-3); }
.app-head .avatar { width: 40px; height: 40px; }

.ev-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 1rem 1.1rem;
  color: #fff; display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem;
  background: linear-gradient(135deg, #9A3B5A, #4F1329);
  box-shadow: 0 16px 30px -18px rgba(79,19,41, .9);
}
.ev-card--trip { background: linear-gradient(135deg, #1b0910, #4F1329 70%, #7A1F3D); }
.ev-card__petals {
  position: absolute; right: -6%; bottom: -34%; width: 62%;
  --p1: rgba(255, 255, 255, .5); --p2: rgba(255, 255, 255, .3); --p3: rgba(255, 255, 255, .18);
}
.ev-card small { font-size: .8125rem; font-weight: 600; opacity: .88; }
.ev-card .ev-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.ev-card p { font-size: .875rem; font-weight: 600; }

.rsvp { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.2; transition: stroke-dasharray .9s var(--ease), stroke-dashoffset .9s var(--ease); }
.ring__num { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); place-content: center; text-align: center; line-height: 1.05; }
.ring__num strong { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.ring__num span { font-size: .6875rem; font-weight: 700; color: var(--fg-3); }
.legend { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; flex: 1; font-size: .8125rem; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: .5rem; }
.legend b { margin-left: auto; font-weight: 800; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }

.fn-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.fn { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; }
.fn__date {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px;
  background: var(--soft); color: var(--crimson-600); font-weight: 800; font-size: .75rem; line-height: 1.1; text-align: center;
}
.fn b { display: block; font-size: .9375rem; line-height: 1.25; }
.fn small { color: var(--fg-3); font-size: .8125rem; }

.app-dock {
  margin: auto 10px 10px; flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  padding: 6px; border-radius: 22px;
}
.app-dock span {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; padding: 6px 0; border-radius: 16px;
  font-size: .625rem; font-weight: 700; color: var(--fg-3);
}
.app-dock span.is-on { background: rgba(122,31,61, .11); color: var(--crimson); }
.app-dock .i { width: 20px; height: 20px; }

.owe { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem; padding: .85rem 1rem; }
.owe small { color: var(--fg-3); font-weight: 600; font-size: .8125rem; }
.owe strong { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: var(--crimson); }
.owe__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.mini-btn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 .9rem; border-radius: 999px;
  background: var(--crimson); color: #fff; font-weight: 700; font-size: .8125rem;
}
.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.mem { aspect-ratio: 1; border-radius: 16px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--m1), var(--m2)); }
.mem::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(0, 0, 0, .3)); }
.mem .i { position: absolute; z-index: 1; left: 8px; bottom: 7px; width: 16px; height: 16px; color: #fff; }

/* push notification inside the phone */
.push {
  position: absolute; z-index: 5; left: 10px; right: 10px; top: 12px;
  display: flex; gap: .7rem; align-items: center; padding: .7rem .8rem; border-radius: 20px;
  color: #0a0a0a; background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 36px -14px rgba(42,10,23, .55), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(20px) saturate(190%); backdrop-filter: blur(20px) saturate(190%);
  transform: translateY(-140%); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
  pointer-events: none;
}
.push.is-on { transform: none; opacity: 1; }
.push img { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.push b { display: block; font-size: .8125rem; line-height: 1.2; }
.push span { display: block; font-size: .8125rem; color: rgba(10, 10, 10, .75); line-height: 1.3; }

.chip-float {
  position: absolute; z-index: 6; display: none; align-items: center; gap: .6rem;
  padding: .7rem 1rem; font-weight: 700; font-size: .9375rem; border-radius: 20px;
}
.chip-float .i { color: #fff; width: 1.3em; height: 1.3em; }
.chip-float small { display: block; font-weight: 600; opacity: .85; font-size: .8125rem; }
@media (min-width: 960px) {
  .chip-float { display: flex; }
  .chip-float--a { left: -3.5rem; bottom: 7rem; }
  .chip-float--b { right: -2.5rem; top: 10rem; }
}
.chip-float[hidden] { display: none !important; }

@media (max-width: 639px) {
  .phone { width: 100%; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .phone__screen { border-radius: 30px; height: auto; min-height: 560px; box-shadow: 0 30px 60px -28px rgba(30, 0, 14, .7); }
}

/* ---------- Occasions + How it works ---------- */
.how__grid, .steps, .ev-grid, .faq-grid, .explorer, .explorer-wrap, .plans { grid-template-columns: minmax(0, 1fr); }
.step__body { min-width: 0; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
.how__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.1rem; padding: 1.3rem 1.3rem 1.4rem; }
.step__n {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--crimson); color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1;
  box-shadow: 0 10px 20px -10px rgba(122,31,61, .8);
}
.step__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; justify-items: start; }
.step__body p { color: var(--fg-2); max-width: 46ch; }
.step__vis { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
.step__vis .chip { cursor: default; min-height: 34px; font-size: .875rem; background: rgba(255, 255, 255, .8); }
.bubble {
  max-width: 100%; padding: .7rem .95rem; border-radius: 18px 18px 18px 6px;
  background: #E7FFDB; color: #0b2a14; font-size: .9375rem; font-weight: 500; line-height: 1.4;
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .4);
}
.bubble__link { display: flex; align-items: center; gap: .45rem; margin-top: .45rem; padding: .5rem .65rem; border-radius: 12px; background: rgba(255, 255, 255, .85); font-weight: 700; color: #075E3A; }
.photo-tiles { display: flex; gap: .45rem; flex-wrap: wrap; }
.photo-tiles .mem { width: 62px; height: 62px; aspect-ratio: auto; }

@media (min-width: 960px) {
  .how__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
  .how__intro { position: sticky; top: 110px; }
  .steps { gap: 1.1rem; }
}

/* ---------- Feature explorer ---------- */
.explorer-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.explorer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.ex-list { display: flex; gap: .5rem; }
.ex-tab {
  display: flex; align-items: center; gap: .85rem; text-align: left;
  min-height: 52px; padding: .6rem 1rem .6rem .8rem; border-radius: 22px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--fg);
  font-weight: 700; font-size: .9375rem; line-height: 1.25;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .15s var(--ease);
}
.ex-tab:active { transform: scale(.97); }
.ex-tab .i { width: 22px; height: 22px; flex: none; }
.ex-tab__ic {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 38px; height: 38px; border-radius: 14px; flex: none;
  background: rgba(255, 255, 255, .1);
}
.ex-tab small { display: none; font-weight: 500; font-size: .8125rem; color: var(--fg-3); }
.ex-tab[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; }
.ex-tab[aria-selected="true"] small { color: rgba(0, 0, 0, .7); }
.ex-tab[aria-selected="true"] .ex-tab__ic { background: var(--crimson); color: #fff; }

.ex-panel {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem; border-radius: var(--r-xl);
  animation: view-in .45s var(--ease) both;
}
.ex-panel__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; align-content: start; }
.ex-panel__text p { color: var(--fg-2); max-width: 40ch; }
.ex-panel__ui { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
.ui {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; padding: 1rem; border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 #fff;
}
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ui-title { font-weight: 800; font-size: 1.0625rem; line-height: 1.2; }
.ui-sub { font-size: .8125rem; color: var(--fg-3); font-weight: 600; }
.ui-chipbtn {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 34px; padding: 0 .85rem; border-radius: 999px;
  background: var(--soft); color: var(--crimson-600); font-weight: 700; font-size: .8125rem;
}
.ui-chipbtn .i { width: 1.1em; height: 1.1em; }
.ui-row { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.ui-row:first-child { border-top: 0; }
.ui-row .grow { flex: 1; min-width: 0; }
.ui-row b { display: block; font-size: .9375rem; line-height: 1.25; }
.ui-row small { display: block; color: var(--fg-3); font-size: .8125rem; font-weight: 500; }

/* timeline */
.tl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; padding-left: 1.6rem; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(var(--crimson) 0 5px, transparent 5px 9px); opacity: .45; }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: -1.6rem; top: .3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--crimson); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--crimson); }
.tl b { display: block; font-size: .9375rem; }
.tl small { display: flex; flex-wrap: wrap; gap: .1rem 1rem; color: var(--fg-3); font-size: .8125rem; font-weight: 600; }
.tl small span { display: inline-flex; align-items: center; gap: .3rem; }
.tl small .i { width: 1em; height: 1em; }

/* co-host permissions + tasks */
.perm { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem; padding: .85rem 1rem; border-radius: 20px; background: var(--soft); }
.perm__who { display: flex; align-items: center; gap: .7rem; padding-bottom: .5rem; }
.perm__who b, .perm__who small { display: block; line-height: 1.3; }
.perm__line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .9375rem; }
.app-ui .switch { background: rgba(10, 10, 10, .32); }
.app-ui .switch[aria-checked="true"] { background: var(--crimson); }
.task { position: relative; display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.task:first-of-type { border-top: 0; }
.task input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; }
.task label { display: flex; align-items: center; gap: .8rem; flex: 1; min-width: 0; cursor: pointer; min-height: 44px; }
.task__box {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; flex: none; width: 26px; height: 26px; border-radius: 9px;
  border: 2px solid rgba(10, 10, 10, .45); color: transparent; background: #fff;
  transition: background-color .2s, border-color .2s, color .2s;
}
.task__box .i { width: 16px; height: 16px; stroke-width: 3; }
.task input:checked + label .task__box { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.task input:focus-visible + label .task__box { outline: 3px solid var(--crimson); outline-offset: 2px; }
.task input:checked + label .task__name { text-decoration: line-through; color: var(--fg-3); }
.task__name { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.bar { height: 10px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar > i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, #8F2A4C, var(--crimson)); transition: width .5s var(--ease); }
.bar--ink > i { background: linear-gradient(90deg, #444, #000); }

/* budget */
.bud { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; padding: .35rem 0; }
.bud__top { display: flex; justify-content: space-between; font-weight: 700; font-size: .9375rem; }
.bud__top span:last-child { font-variant-numeric: tabular-nums; }
.big-num { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--crimson); }

/* shagun */
.gift-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
.qr-card { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .5rem; padding: 1rem; border-radius: 20px; background: var(--soft); text-align: center; }
.qr { width: 132px; height: 132px; padding: 8px; background: #fff; border-radius: 14px; }
.qr svg { width: 100%; height: 100%; shape-rendering: crispEdges; }
.qr-card b { font-size: .9375rem; }
.qr-card small { color: var(--fg-3); font-weight: 600; font-size: .8125rem; }
.gift-item .i { color: var(--crimson); }

/* story */
.story { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 86px; gap: .45rem; }
.story .mem { aspect-ratio: auto; border-radius: 18px; }
.story .mem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.story .mem:nth-child(4) { grid-column: span 2; }
.note {
  display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 18px;
  background: var(--soft); font-size: .9rem; font-weight: 500; line-height: 1.4;
}
.note b { display: block; font-size: .8125rem; color: var(--crimson-600); }

/* chat */
.chat { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.msg { max-width: 82%; padding: .65rem .9rem; border-radius: 18px; font-size: .9375rem; line-height: 1.4; font-weight: 500; }
.msg small { display: block; font-size: .6875rem; font-weight: 700; margin-bottom: .1rem; opacity: .75; }
.msg--in { background: var(--soft); border-bottom-left-radius: 6px; justify-self: start; }
.msg--out { background: var(--crimson); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.msg__meta { display: flex; align-items: center; justify-content: flex-end; gap: .2rem; font-size: .6875rem; font-weight: 700; margin-top: .15rem; opacity: .9; }
.msg__meta .i { width: 14px; height: 14px; stroke-width: 2.4; }
.msg__meta .i + .i { margin-left: -9px; }
.typing { display: inline-flex; gap: 4px; padding: .8rem .95rem; border-radius: 18px; border-bottom-left-radius: 6px; background: var(--soft); justify-self: start; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(10, 10, 10, .45); animation: blink 1.2s 5 ease-in-out; } /* stops after ~6s (WCAG 2.2.2) */
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* trips */
.link-row { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 16px; background: var(--soft); font-weight: 600; font-size: .9375rem; }
.link-row .i { color: var(--crimson); }
.settle { display: flex; align-items: center; gap: .6rem; padding: .65rem .85rem; border-radius: 16px; background: var(--soft); font-weight: 600; font-size: .9375rem; }
.settle b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--crimson-600); }
.exp { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.exp:first-of-type { border-top: 0; }
.exp .grow { flex: 1; min-width: 0; }
.exp b { display: block; font-size: .9375rem; }
.exp small { color: var(--fg-3); font-size: .8125rem; font-weight: 500; }
.exp span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.feed .mem { aspect-ratio: 4 / 5; border-radius: 20px; }
.feed .mem span { position: absolute; z-index: 1; left: 10px; bottom: 8px; color: #fff; font-weight: 700; font-size: .8125rem; display: inline-flex; align-items: center; gap: .3rem; }
.feed .mem .i { position: static; width: 15px; height: 15px; }

/* explorer layout */
@media (max-width: 899px) {
  .ex-list { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scroll-snap-type: x proximity; }
  .ex-list::-webkit-scrollbar { display: none; }
  .ex-tab { flex: none; scroll-snap-align: start; border-radius: 999px; padding-right: 1.1rem; }
  .ex-tab__ic { width: 30px; height: 30px; border-radius: 50%; }
  .ex-tab .i { width: 18px; height: 18px; }
}
@media (min-width: 640px) { .gift-grid { grid-template-columns: 1fr auto; align-items: start; } .ex-panel { padding: 1.75rem; } }
@media (min-width: 900px) {
  .explorer { grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); gap: 1.5rem; align-items: start; }
  .ex-list { flex-direction: column; }
  .ex-tab { padding-right: 1.1rem; }
  .ex-tab small { display: block; }
  .ex-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; padding: 2rem; min-height: 520px; }
}
.explorer[hidden] { display: none; }

/* ---------- Everywhere + plans ---------- */
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.perk { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--glass-line); }
.perk:first-child { border-top: 0; padding-top: 0; }
.perk__ic {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 48px; height: 48px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--crimson);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.perk h3 { margin-bottom: .2rem; }
.perk p { color: var(--fg-2); max-width: 44ch; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.5rem; justify-items: start; }
.plan--hi {
  background: linear-gradient(150deg, rgba(154,59,90, .96), rgba(79,19,41, .96));
  color: #fff; --fg: #fff; --fg-2: rgba(255, 255, 255, .88); --btn-bg: #fff; --btn-fg: var(--crimson); --focus: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.plan__name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; }
.plan p { color: var(--fg-2); }
.plan--hi .checks .i { color: #fff; }
.plans__note { color: var(--fg-3); font-size: .9rem; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } .plans__note { grid-column: 1 / -1; } }
@media (min-width: 960px) { .ev-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; } }

/* ---------- Tickets teaser ---------- */
.teaser__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; }
.teaser__head .section-head { margin-bottom: 0; }
.teaser .rail { gap: 1rem; padding-bottom: 1rem; }
.teaser .rail > .ecard { width: min(66vw, 250px); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; align-content: start; }
.faq details { border-radius: 22px; overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: .9rem 1.25rem; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .3s var(--ease); flex: none; color: var(--crimson); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--fg-2); max-width: 62ch; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 4rem; } .faq-grid > .section-head { position: sticky; top: 110px; align-self: start; } }

.home-posts__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.home-posts__head .section-head { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.cta-band .hero-petals { right: -10%; width: min(34rem, 100vw); opacity: .9; }
.cta-band .lede { max-width: 48ch; }
.store-btn[data-pending="true"] { cursor: default; }
/* Home "get the app" band: store buttons centred on desktop; heading + buttons centred on mobile. */
#get-app .store-row { justify-self: center; justify-content: center; }
@media (max-width: 899px) { #get-app .cta-band__inner { justify-items: center; text-align: center; } }

