/* Occasion page: sections below hero. Hero & nav use v3 homepage.css */
/* Hero layout: two columns, copy and start form on the left, a video card on the right. */
/* Warm daylight (Nov 2026): every section here is light. Cream leads, with blush and lilac
   washes between. The page's one deep plum surface, if any, is the shared footer CTA. */

/* Occasion LPs: the hero is light, so the nav has no dark shade at the top.
   body.occasion-landing comes from occasion_page.html's body_class block. */
body.occasion-landing .nav:not(.scrolled) {
  background: none;
}
/* Override homepage's hide-on-load nav behavior — always show nav items on occasion pages */
body.occasion-landing .nav-items {
  opacity: 1 !important;
  visibility: visible !important;
}
.occasion-page {
  position: relative;
}

/* The hero is as tall as its content. Phones stack it: copy, form, then the card. */
.occasion-page .hero.occasion-hero {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 2rem;
  padding: 6.5rem 1.5rem 2.5rem;
  height: auto;
  min-height: 0;
  contain: none;
  overflow: visible;
  text-align: left;
  /* Warm daylight: cream with soft blush, lilac and apricot light. Set here, not inherited
     from homepage.css, so this hero stays light whatever the shared .hero rule does. */
  background-color: var(--color-cream);
  background-image:
    radial-gradient(ellipse 70% 80% at 10% 18%, rgb(var(--rgb-peach) / 0.3), transparent 70%),
    radial-gradient(ellipse 60% 75% at 88% 28%, rgb(var(--rgb-sky) / 0.32), transparent 72%),
    radial-gradient(ellipse 70% 60% at 62% 100%, rgb(var(--rgb-apricot) / 0.24), transparent 72%);
}
/* The dusk hero (every visit but Meta ad visits): a sibling of the homepage's and the
   pricing page's plum grounds, so the three heroes look related but not the same (Adam,
   2026-11-21): lamp light from the upper right and a rose-wine glow rising behind the art.
   Text, the form's labels and the reassurance follow data-surface="dark". */
.occasion-page .hero.occasion-hero[data-surface="dark"] {
  background-color: var(--color-deep);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath opacity='.045' filter='url(%23n)' d='M0 0h128v128H0z'/%3E%3C/svg%3E"),
    var(--ground-dusk-image);
}
.occasion-page .hero.occasion-hero[data-surface="dark"] .occasion-hero-card {
  box-shadow: var(--shadow-card-on-dark);
}

/* Desktop: the same measures as the homepage's ad-visit hero (.hero--focused in
   homepage.css): 54% for the copy, a 2.5rem gap, the card in the rest, and the same
   space above and below. */
/* Phones, Meta ad visits: the video card comes first, above the headline. */
@media (max-width: 767px) {
  .occasion-page .hero.occasion-hero--video-first .occasion-hero-media { order: -1; }
  /* The video leads there, so the headline is a size smaller than the standard 2rem. */
  .occasion-page .occasion-hero--video-first #occasion-hero-title { font-size: var(--fs-28); line-height: 1.15; }
  /* The video stands alone there: no art behind or beside it, and the card is as wide
     as the column. The room the art needed under the card goes too. */
  .occasion-page .occasion-hero--video-first .occasion-hero-art,
  .occasion-page .occasion-hero--video-first .occasion-hero-prop { display: none; }
  .occasion-page .occasion-hero--video-first .occasion-hero-media {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .occasion-page .occasion-hero--video-first .occasion-hero-media .occasion-hero-stage {
    width: 100%;
    margin: 0;
  }
  /* The video is the top of the page there: edge to edge, square, with no tablet around
     it, and up against the offer bar. The logo and the menu button lie over it. */
  .occasion-page .hero.occasion-hero--video-first { padding-top: 0; }
  /* margin-top: the column's own 1.5rem top margin would leave a dark band under the bar. */
  .occasion-page .hero.occasion-hero.occasion-hero--video-first .occasion-hero-media { margin-top: 0; margin-inline: -1.5rem; }
  .occasion-page .occasion-hero--video-first .occasion-hero-media .occasion-hero-card {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .occasion-page .occasion-hero--video-first .occasion-hero-card > .occasion-hero-video-wrap,
  .occasion-page .occasion-hero--video-first .occasion-hero-card > .occasion-hero-card__photo,
  .occasion-page .occasion-hero--video-first .occasion-hero-card .plyr {
    border-radius: 0;
  }
  /* A shade at the top of the picture, so the logo and the menu button stay readable. */
  .occasion-page .occasion-hero--video-first .occasion-hero-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    height: 6rem;
    background: linear-gradient(180deg, rgb(var(--rgb-ink) / 0.7) 0%, rgb(var(--rgb-ink) / 0) 100%);
    pointer-events: none;
  }
  .occasion-page .occasion-hero--video-first .occasion-hero-media.is-playing .occasion-hero-card::before {
    display: none;
  }
  /* No proof bubbles on the video there: they would cover the logo and the menu at the
     top, and they crowd the foot. The start form shows the same figures in its rating row. */
  .occasion-page .occasion-hero--video-first .occasion-hero-bubble { display: none; }
}
/* Wider screens, Meta ad visits: the bubbles on the video carry the proof, so the form's
   rating row (there for phones, where the bubbles are off) is left out. */
@media (min-width: 768px) {
  .occasion-page .occasion-hero--video-first .hero-start-form__proof { display: none; }
}
@media (min-width: 768px) {
  .occasion-page .hero.occasion-hero {
    flex-direction: row;
    align-items: center;
    gap: var(--space-40);
    padding: 9rem var(--space-48) 3.5rem;
  }
}

.occasion-page .hero.occasion-hero .hero-content {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  z-index: 2;
}
.occasion-page .hero.occasion-hero .hero-content .initial-content {
  width: 100%;
  padding: 0;
}
@media (min-width: 768px) {
  /* Half the hero each. The video side holds the tablet and the art beside it. */
  .occasion-page .hero.occasion-hero .hero-content {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* The headline is sized from this column, as on the homepage. */
  .occasion-page .hero.occasion-hero .hero-content .initial-content {
    container-type: inline-size;
  }
}

/* H1: solid ink (override homepage h1 gradient). The headline is the page's SEO H1, set
   whole from the page data, so no words in it take the accent gradient. */
.occasion-page #occasion-hero-title {
  font-size: 2rem;
  /* Light, as the homepage headline is (Adam, 2026-11-21: 400 read bolder). */
  font-weight: var(--weight-light);
  line-height: 1.2;
  width: auto;
  max-width: none;
  margin: 0;
  color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  /* Even lines: these headlines run to two or three lines in the copy column. */
  text-wrap: balance;
}
@media (min-width: 768px) {
  .occasion-page #occasion-hero-title {
    font-size: clamp(1.625rem, 6cqi, 3.5rem);
  }
}
/* Visits not from an ad: the headline is a step larger. Ad visits keep the compact hero,
   where the form and the offer share the column. */
/* 34px, the phone section-title size the homepage uses (--section-title-size). */
.occasion-page .occasion-hero--organic { --organic-title-size: 2.125rem; }
.occasion-page .occasion-hero--organic #occasion-hero-title {
  font-size: var(--organic-title-size);
}
@media (min-width: 768px) {
  .occasion-page .occasion-hero--organic #occasion-hero-title {
    font-size: clamp(1.75rem, 6.5cqi, 3.75rem);
  }
}
/* The eyebrow over the headline (visits not from an ad): the homepage hero's eyebrow
   (.homepage-root .section-eyebrow), in this page's role colors. */
.occasion-page .hero.occasion-hero .occasion-hero-eyebrow {
  margin: 0 0 var(--space-12);
  font-family: var(--font-ui);
  font-size: var(--fs-13);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--eyebrow);
}
/* Phones, visits not from an ad (Adam, 2026-11-21): the headline matches the homepage's
   (36px), and the page's art and video card come up under it, so the first screen shows the
   headline, the art and the start of the form. The subhead moves below the form. The copy
   wrappers step aside (display: contents) so every piece is ordered in the hero itself, as
   on the homepage. */
@media (max-width: 767px) {
  .occasion-page .occasion-hero--organic { --organic-title-size: var(--fs-36); }
  /* nav.html adds the announcement banner's height to the hero's top padding a second time
     (its spacer already moved the hero down), which left a wide band under the menu. */
  /* The homepage hero's top: 5rem, then the eyebrow's 8px margin (below). */
  body:not(.offer-banner-visible) main.occasion-page .hero.occasion-hero--organic {
    padding-top: var(--space-80);
    gap: 0;
  }
  .occasion-page .hero.occasion-hero.occasion-hero--organic .occasion-hero-eyebrow { margin-top: var(--space-8); }
  .occasion-page .hero.occasion-hero--organic .hero-content,
  .occasion-page .hero.occasion-hero--organic .hero-content .initial-content {
    display: contents;
  }
  .occasion-page .hero.occasion-hero.occasion-hero--organic .occasion-hero-eyebrow,
  .occasion-page .hero.occasion-hero.occasion-hero--organic #occasion-hero-title { order: 1; }
  /* The speech bubbles lean out above the card's top corners: this is their room. */
  .occasion-page .hero.occasion-hero.occasion-hero--organic .occasion-hero-media { order: 2; margin-top: var(--space-48); }
  .occasion-page .hero.occasion-hero.occasion-hero--organic .hero-buttons { order: 3; margin-top: var(--space-32); }
  .occasion-page .hero.occasion-hero.occasion-hero--organic .subhead { order: 4; margin-top: var(--space-24); }
  /* The art's clusters hug the card's lower corners, so the form can follow close under it. */
  .occasion-page .hero.occasion-hero.occasion-hero--organic .occasion-hero-media--whole-art {
    padding-bottom: var(--space-32);
    margin-bottom: 0;
  }
  .occasion-page .occasion-hero--organic .occasion-hero-prop {
    height: 64%;
    bottom: 0;
  }
  /* The older full-width art ("Background image"): it stands on the bottom of its box, which
     leaves room for it under the card, so it frames the card's foot and stops above the form.
     The card is a little narrower, to keep the form's start on the first screen. */
  .occasion-page .hero.occasion-hero.occasion-hero--organic .occasion-hero-media--art:not(.occasion-hero-media--whole-art) {
    padding-bottom: var(--space-64);
  }
  .occasion-page .occasion-hero--organic .occasion-hero-media--art .occasion-hero-stage {
    width: 86%;
  }
  .occasion-page .occasion-hero--organic .occasion-hero-art {
    left: 0;
    bottom: 0;
    width: 100%;
  }
}

.occasion-page .hero.occasion-hero .subhead {
  max-width: none;
  margin: var(--space-14) 0 0;
  color: var(--text-body);
  font-size: var(--fs-16);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .occasion-page .hero.occasion-hero .subhead {
    font-size: var(--fs-18);
    margin-top: var(--space-16);
  }
}

/* The start form (or, on a page with no occasion, the Start button) under the copy. */
.occasion-page .hero.occasion-hero .hero-buttons {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-20);
  margin-top: 1.75rem;
  width: 100%;
}

.occasion-page .hero.occasion-hero .start-btn-wrapper {
  width: 100%;
  max-width: 34rem;
  align-items: flex-start;
  gap: var(--space-16);
}

.occasion-page .hero.occasion-hero .start-btn-wrapper > .primary-btn {
  width: auto;
  min-width: 11rem;
}

/* The right column: the video card, and behind it the page's art when it has one. */
.occasion-page .occasion-hero-media {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-width: 0;
}

/* The stage holds the card and the speech bubbles on its upper corners. */
.occasion-page .occasion-hero-stage {
  position: relative;
  z-index: 1;
}
/* Speech bubbles: the proof figures, as two messages that lean on the card's upper
   corners. White with dark text, so they read over any video frame. Each has one square
   corner, the tail of a chat bubble. They leave while the video plays. */
.occasion-page .occasion-hero-bubble {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 0.5rem 0.875rem;
  /* Warm off-white, lit from above: a light top edge, a soft shade at the foot, and a
     close shadow under a wide one, so the bubble has a little thickness. */
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, #fffdf8 0%, #f6efe4 100%);
  color: var(--color-dark-secondary);
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  /* Soft warm shadows: the bubble sits on a light hero now, so it needs only a little lift. */
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -0.1875rem 0.375rem rgba(148, 116, 72, 0.16),
    0 0 0 1px rgb(var(--rgb-shadow) / 0.06),
    0 0.125rem 0.25rem rgb(var(--rgb-shadow) / 0.12),
    0 0.625rem 1.5rem rgb(var(--rgb-shadow) / 0.18);
  transition: opacity 0.25s ease;
}
.occasion-page .occasion-hero-bubble strong {
  color: var(--text);
  font-weight: var(--weight-bold);
}
.occasion-page .occasion-hero-bubble--reach {
  top: -0.875rem;
  left: -0.5rem;
  border-radius: 1.125rem 1.125rem 1.125rem 0.25rem;
  transform: rotate(-4deg);
}
.occasion-page .occasion-hero-bubble--rating {
  top: 1.75rem;
  right: -0.5rem;
  border-radius: 1.125rem 1.125rem 0.25rem 1.125rem;
  transform: rotate(3deg);
}
.occasion-page .occasion-hero-bubble__stars {
  color: #e0a800;
  letter-spacing: 0.06em;
}
.occasion-page .occasion-hero-media.is-playing .occasion-hero-bubble {
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .occasion-page .occasion-hero-bubble {
    padding: var(--space-10) var(--space-16);
    font-size: var(--fs-15);
  }
  .occasion-page .occasion-hero-bubble--reach {
    top: -1.25rem;
    left: -1.25rem;
  }
  .occasion-page .occasion-hero-bubble--rating {
    top: 2rem;
    right: -1.25rem;
  }
}
/* A slow bob, out of step with each other. */
@media (prefers-reduced-motion: no-preference) {
  .occasion-page .occasion-hero-bubble--reach {
    animation: occasion-bubble-bob-left 5s ease-in-out infinite;
  }
  .occasion-page .occasion-hero-bubble--rating {
    animation: occasion-bubble-bob-right 6s ease-in-out -2s infinite;
  }
}
@keyframes occasion-bubble-bob-left {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-0.3125rem); }
}
@keyframes occasion-bubble-bob-right {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-0.3125rem); }
}

/* The video card: the same rounded card as the homepage's ad-visit hero. */
/* The card is a clay tablet, an object in the same soft 3D style as the page's art.
   A matte bezel in warm mauve clay, lit from above: a light upper rim, a shade under
   the lower rim, and a soft warm shadow on the cream hero. No buttons and no camera: the
   bezel stays plain, because bubbles and art already sit on its corners. The video is
   the screen. */
.occasion-page .occasion-hero-card {
  --tablet-bezel: 0.4375rem;
  position: relative;
  overflow: hidden;
  padding: var(--tablet-bezel);
  border-radius: var(--radius-card);
  /* A warm mauve clay, quiet enough to suit any occasion's art. */
  background: linear-gradient(165deg, #a8949d 0%, #7d6a74 42%, #5a4852 100%);
  box-shadow:
    inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.45),
    inset 0 -0.25rem 0.5rem rgb(var(--rgb-ink) / 0.4),
    inset 0.125rem 0 0.375rem rgba(255, 255, 255, 0.14),
    inset -0.125rem 0 0.375rem rgb(var(--rgb-ink) / 0.2),
    0 0.25rem 0.5rem rgb(var(--rgb-shadow) / 0.16),
    0 1.75rem 3.5rem rgb(var(--rgb-shadow) / 0.24);
}
/* The screen: set a little into the bezel, with a dark rim and its own rounded corners. */
.occasion-page .occasion-hero-card > .occasion-hero-video-wrap,
.occasion-page .occasion-hero-card > .occasion-hero-card__photo {
  border-radius: var(--radius-md);
  box-shadow:
    0 0 0 0.125rem var(--color-dark),
    0 0.0625rem 0 0.1875rem rgba(255, 255, 255, 0.18);
}
@media (min-width: 768px) {
  .occasion-page .occasion-hero-card {
    --tablet-bezel: 0.5625rem;
    border-radius: var(--radius-card);
  }
  .occasion-page .occasion-hero-card > .occasion-hero-video-wrap,
  .occasion-page .occasion-hero-card > .occasion-hero-card__photo {
    border-radius: 1.125rem;
  }
}

.occasion-page .occasion-hero-card__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Mobile sticky CTA bar (shared styles in homepage.css). No reserved space at the foot: the
   bar hides when the footer CTA shows, so the space read as a cream strip under the footer. */
@media (max-width: 767px) {
  /* Legacy :has() (the bar's shown state has no class on body); do not add more. */
  body.occasion-landing:has(.mobile-sticky-cta:not(.is-hidden)) #support-widget {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Optional Wagtail "Background image": wide 3D art with objects in its lower left and
   right corners and an empty middle. Its lower edge is a crop, so the art stands on the
   foot of the hero, where the crop does not show, and it is a little wider than the
   column. The video card stands behind it, low in the column: the objects overlap the
   card's lower corners, so the card and the art read as one group. While the video plays,
   the art steps behind the card (.is-playing, set by the player script). The art stays
   inside the hero's side padding, so the page never scrolls sideways. */
.occasion-page .hero.occasion-hero {
  --occasion-hero-foot: 2.5rem; /* the hero's bottom padding */
}
@media (min-width: 768px) {
  .occasion-page .hero.occasion-hero {
    --occasion-hero-foot: 3.5rem;
  }
}
.occasion-page .occasion-hero-media--art {
  /* Phones: the card comes last, with room under it for the objects. */
  padding-bottom: 20%;
}
.occasion-page .occasion-hero-media--art .occasion-hero-stage {
  width: 95%;
  margin: 0 auto;
}
.occasion-page .occasion-hero-art {
  position: absolute;
  left: -6%;
  bottom: calc(-1 * var(--occasion-hero-foot));
  z-index: 2;
  width: 112%;
  max-width: none;
  height: auto;
  pointer-events: none;
}
.occasion-page .occasion-hero-media.is-playing .occasion-hero-art {
  z-index: 0;
}
@media (min-width: 768px) {
  /* The column is as tall as the hero's content. */
  .occasion-page .occasion-hero-media--art {
    display: flex;
    align-items: center;
    align-self: stretch;
    padding-bottom: 0;
  }
  /* Below the middle, so its foot tucks in behind the objects and no gap opens there. */
  .occasion-page .occasion-hero-media--art .occasion-hero-stage {
    margin-top: 3.5rem;
  }
  .occasion-page .occasion-hero-art {
    left: -11%;
    width: 119%;
  }
}
/* "Hero art image": art with whole objects (nothing cut off at the foot). It does not have
   to stand on the foot of the hero: the tablet and the art are one group, centered in the
   column. The image holds two clusters, one at each end. It is drawn twice, and each copy
   is clipped to one end (30% of its width), so each cluster can be sized and placed at
   its own lower corner of the tablet. The clusters stand a little lower than the tablet
   and overlap its corners. The right one stays inside the column, so nothing runs past
   the page's content edge. */
.occasion-page .occasion-hero-media--whole-art {
  padding-bottom: 0;
  /* The clusters stand lower than the tablet: this is their room. */
  margin-bottom: 2.5rem;
}
.occasion-page .occasion-hero-media--whole-art .occasion-hero-stage {
  width: 84%;
  margin: 0 auto;
  /* No layer of its own, so the three parts stack in one order: the tablet, the clusters
     over its corners, and the bubbles over the clusters. */
  z-index: auto;
}
.occasion-page .occasion-hero-media--whole-art .occasion-hero-card {
  z-index: 1;
}
.occasion-page .occasion-hero-media--whole-art .occasion-hero-bubble {
  z-index: 3;
}
/* Each cluster is the whole image, clipped to one end. The clipped part is invisible but
   still takes room, and a wide image would push the page wider than the window. The hero
   clips it sideways. `clip` does not make a scroll box, so nothing else changes. */
.occasion-page .hero.occasion-hero {
  overflow-x: clip;
}
.occasion-page .occasion-hero-prop {
  position: absolute;
  bottom: -14%;
  z-index: 2;
  /* 84% of the tablet's height; the width follows from the image. */
  width: auto;
  max-width: none;
  height: 84%;
  pointer-events: none;
  /* Two shadows per object, a close one and a wide one, for depth. Warm and soft: the
     objects stand on a light hero. */
  filter:
    drop-shadow(0 0.1875rem 0.25rem rgb(var(--rgb-shadow) / 0.2))
    drop-shadow(0 1rem 1.125rem rgb(var(--rgb-shadow) / 0.22));
}
/* Each copy shows one end of the image: its left 30%, or its right 30%. */
.occasion-page .occasion-hero-prop--left {
  left: -3%;
  clip-path: inset(-2rem 70% -2rem -2rem);
}
.occasion-page .occasion-hero-prop--right {
  right: -3%;
  clip-path: inset(-2rem -2rem -2rem 70%);
}
.occasion-page .occasion-hero-media.is-playing .occasion-hero-prop {
  z-index: 0;
}
@media (min-width: 768px) {
  .occasion-page .occasion-hero-media--whole-art {
    display: block;
    align-self: center;
    margin-bottom: var(--space-20);
  }
  /* The tablet sits a little left of the column's middle: the left cluster may reach into
     the gap beside the copy, and the right one must stop at the column's edge. */
  .occasion-page .occasion-hero-media--whole-art .occasion-hero-stage {
    width: 86%;
    margin: 0 8.5% 0 5.5%;
  }
  .occasion-page .occasion-hero-prop--left {
    left: -4%;
  }
  .occasion-page .occasion-hero-prop--right {
    right: 0;
  }
}
/* The page's first video fills the card. */
.occasion-hero-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}
@supports not (aspect-ratio: 16 / 9) {
  .occasion-hero-video-wrap {
    aspect-ratio: unset;
    padding-bottom: var(--hero-video-padding-bottom, 56.25%);
  }
}
/* Plyr root (HTML5) or embed container (YouTube) fills the wrap */
.occasion-hero-video-wrap > .plyr,
.occasion-hero-video-wrap > .occasion-hero-plyr {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.occasion-hero-video-wrap .plyr__video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.occasion-hero-video-wrap .plyr__video-wrapper video,
.occasion-hero-video-wrap video.plyr__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Poster/thumbnail fills frame (no black bars) */
.occasion-hero-video-wrap .plyr__poster {
  background-size: cover;
  background-position: center;
}
.occasion-hero-video-wrap .plyr {
  border-radius: inherit;
  --plyr-color-main: #000;
}
/* The play button of the homepage's video tiles (.homepage-root .hero .play-overlay): a
   frosted glass disc with a white triangle, a size larger here. Plyr sets display: block
   on this button with three classes, so the selector carries Plyr's own classes to win. */
.occasion-hero-video-wrap .plyr--full-ui.plyr--video .plyr__control--overlaid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 1px solid #ffffff50;
  background: #ffffff18;
  box-shadow: inset 0 1px 0 #ffffff24, 0 4px 16px #00000020;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition-base);
}
.occasion-hero-video-wrap .plyr--full-ui.plyr--video .plyr__control--overlaid:hover,
.occasion-hero-video-wrap .plyr--full-ui.plyr--video .plyr__control--overlaid:focus-visible {
  background: #ffffff2b;
}
.occasion-hero-video-wrap .plyr--full-ui.plyr--video .plyr__control--overlaid svg {
  position: static;
  width: 2rem;
  height: 2rem;
  /* The triangle's weight is to its left: this evens it in the disc. */
  margin-left: 0.25rem;
  fill: #fff;
}
/* When playing, show pause (overlay control) on hover */
.occasion-hero-video-wrap .plyr--playing:hover .plyr__control--overlaid {
  opacity: 1;
  visibility: visible;
}
/* Mobile: scale down and center the hero play button */
@media (max-width: 767px) {
  .occasion-hero-video-wrap .plyr__control--overlaid {
    position: absolute;
    width: 48px !important;
    height: 48px !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
  }
  .occasion-hero-video-wrap .plyr--full-ui.plyr--video .plyr__control--overlaid svg {
    width: 24px;
    height: 24px;
    margin: 0 0 0 3px;
  }
}
.occasion-page .occasion-hero-book-img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Occasion steps list (hero left column) */
.occasion-steps {
  list-style: none;
  margin: 0 0 var(--space-24);
  padding: 0;
}
.occasion-step {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-16);
  color: var(--color-ink-muted);
  font-size: var(--fs-16);
}
.occasion-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-right: var(--space-16);
  background: var(--color-linen);
  color: var(--text);
  font-weight: var(--weight-bold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-14);
}

/* Section scaffolding: top/bottom padding matches how-it-works (generous spacing) */
.occasion-section {
  padding: var(--space-80) var(--space-24);
}
@media (min-width: 768px) {
  .occasion-section {
    padding: 0 var(--space-48) var(--space-96);
  }
}
/* Desktop sections have no top padding: each one leans on the space under the section
   before it. The press strip has none to give, so the section after it brings its own. */
@media (min-width: 768px) {
  .occasion-page .press-strip + .occasion-section {
    padding-top: var(--space-80);
  }
}
.occasion-container {
  max-width: 64rem;
  margin: 0 auto;
}
.occasion-section-heading,
.occasion-section-title {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-24);
  font-weight: var(--weight-semibold);
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-8);
}
.occasion-section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--space-32);
}

/* Reviews, how-it-works, sample videos, blog, soundtrack: same section padding + Fraunces titles */
.occasion-page .reviews-section,
.occasion-page .how-it-works,
.occasion-section.occasion-videos,
.occasion-section.occasion-blog,
.occasion-section.occasion-soundtrack-spotlight {
  padding: var(--space-48) var(--space-24);
}
.occasion-page .reviews-header h3,
.occasion-page .how-it-works-header h3,
.occasion-section.occasion-videos .occasion-section-title,
.occasion-section.occasion-blog .occasion-section-title,
.occasion-soundtrack-spotlight .occasion-section-title {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  font-weight: var(--weight-regular);
  line-height: 1.2;
  margin-bottom: var(--space-16);
  color: var(--text);
}
.occasion-page .reviews-header p,
.occasion-section.occasion-videos .occasion-section-subtitle {
  margin-bottom: var(--space-32);
}
@media (min-width: 768px) {
  .occasion-page .reviews-section,
  .occasion-page .how-it-works,
  .occasion-section.occasion-videos,
  .occasion-section.occasion-blog,
  .occasion-section.occasion-soundtrack-spotlight {
    padding: var(--space-96) var(--space-48);
  }
  .occasion-page .reviews-header h3,
  .occasion-page .how-it-works-header h3,
  .occasion-section.occasion-videos .occasion-section-title,
  .occasion-section.occasion-blog .occasion-section-title,
  .occasion-soundtrack-spotlight .occasion-section-title {
    font-size: var(--fs-40);
    margin-bottom: var(--space-24);
  }
  .occasion-page .reviews-header p,
  .occasion-section.occasion-videos .occasion-section-subtitle {
    margin-bottom: var(--space-40);
  }
}

.occasion-soundtrack-spotlight {
  /* Tweak soundtrack wave art without touching content */
  --soundtrack-bg-opacity: 0.25;
  --soundtrack-bg-hue-rotate: 175deg;
  position: relative;
  overflow: hidden;
  background-color: var(--color-cream);
}
/* The wave art is blue on white: the hue turn makes it peach and butter, the lamp light
   (Adam, 2026-11-18), and multiply drops its white ground so the cream shows through. */
.occasion-soundtrack-spotlight::before {
  mix-blend-mode: multiply;
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/static/images/occasion/soundtrack-section-bg.1711200492e8.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: var(--soundtrack-bg-opacity);
  filter: hue-rotate(var(--soundtrack-bg-hue-rotate)) saturate(1.1);
}
.occasion-soundtrack-spotlight .occasion-container {
  position: relative;
  z-index: 1;
}
.occasion-soundtrack-spotlight__body {
  text-align: center;
  color: var(--text-muted);
  max-width: 44rem;
  margin: 0 auto var(--space-40);
  line-height: 1.65;
  font-size: var(--fs-17);
}
.occasion-soundtrack-demo {
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}
.occasion-mini-player {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: var(--radius-card);
  /* An evening-plum music player, lit with rose, berry and apricot. */
  background-color: var(--color-deep);
  background-image:
    radial-gradient(ellipse 110% 90% at 20% 30%, rgba(184, 52, 79, 0.3) 0%, transparent 72%),
    radial-gradient(ellipse 100% 85% at 80% 28%, rgb(var(--rgb-peach) / 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 105% 95% at 70% 82%, rgb(var(--rgb-apricot) / 0.18) 0%, transparent 68%),
    radial-gradient(ellipse 95% 80% at 30% 75%, rgb(var(--rgb-work-blue) / 0.28) 0%, transparent 70%);
  box-shadow:
    0 16px 40px rgb(var(--rgb-shadow) / 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  color: #fff;
  text-align: left;
}
.occasion-mini-player::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%, rgb(var(--rgb-ink) / 0.12) 100%);
}
.occasion-mini-player > * {
  position: relative;
  z-index: 1;
}
.occasion-mini-player.is-transitioning .occasion-mini-player__art,
.occasion-mini-player.is-transitioning .occasion-mini-player__title,
.occasion-mini-player.is-transitioning .occasion-mini-player__artist {
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}
.occasion-mini-player__top {
  display: flex;
  align-items: center;
  gap: var(--space-14);
  margin-bottom: 1.125rem;
}
.occasion-mini-player__actions {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  flex-shrink: 0;
  margin-left: auto;
}
.occasion-mini-player__icon {
  display: block;
  flex-shrink: 0;
}
.occasion-mini-player__icon--earbuds {
  width: 1.375rem;
  height: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}
.occasion-mini-player__icon--shuffle,
.occasion-mini-player__icon--cast {
  width: 1.25rem;
  height: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}
.occasion-mini-player__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.occasion-mini-player__more span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-ink-muted);
}
.occasion-mini-player__art {
  flex-shrink: 0;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 0.625rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.occasion-mini-player__meta {
  min-width: 0;
  flex: 1;
}
.occasion-mini-player__title {
  margin: 0;
  font-size: 1.3125rem;
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.occasion-mini-player__artist {
  margin: 0.2rem 0 0;
  font-size: var(--fs-16);
  font-weight: var(--weight-regular);
  color: var(--color-on-deep-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.occasion-mini-player__progress {
  margin-bottom: var(--space-2);
}
.occasion-mini-player__progress-track {
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
}
.occasion-mini-player__progress-fill {
  height: 100%;
  width: 68%;
  border-radius: inherit;
  background: #fff;
  transform-origin: left center;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}
.occasion-mini-player.is-playing .occasion-mini-player__progress-fill {
  animation: occasion-mini-player-progress 4.5s linear forwards;
}
@keyframes occasion-mini-player-progress {
  from {
    transform: scaleX(var(--progress, 0.35));
  }
  to {
    transform: scaleX(1);
  }
}
.occasion-mini-player__btn--play .occasion-mini-player__icon-pause {
  display: none;
}
.occasion-mini-player.is-playing .occasion-mini-player__btn--play .occasion-mini-player__icon-play {
  display: none;
}
.occasion-mini-player.is-playing .occasion-mini-player__btn--play .occasion-mini-player__icon-pause {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .occasion-mini-player.is-playing .occasion-mini-player__progress-fill {
    animation: none;
  }
}
.occasion-mini-player__times {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: var(--fs-12);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.72);
}
.occasion-mini-player__transport {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  width: fit-content;
  max-width: 100%;
  margin: var(--space-20) auto 0;
  color: #fff;
}
.occasion-mini-player__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.occasion-mini-player__btn--side {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.88;
}
.occasion-mini-player__btn--skip {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}
.occasion-mini-player__btn--skip .occasion-mini-player__icon {
  width: 1.125rem;
  height: 1.125rem;
}
.occasion-mini-player__btn--play {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.occasion-mini-player__btn--play .occasion-mini-player__icon-play,
.occasion-mini-player__btn--play .occasion-mini-player__icon-pause {
  width: 1.35rem;
  height: 1.35rem;
}
.occasion-soundtrack-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-10) var(--space-16);
  margin-top: var(--space-24);
  max-width: 100%;
}
.occasion-soundtrack-pills {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  max-width: 100%;
}
.occasion-soundtrack-pill {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  padding: var(--space-8) 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stone-200);
  background: #fff;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
  box-shadow: 0 2px 8px rgb(var(--rgb-shadow) / 0.05);
  font: inherit;
  font-size: var(--fs-13);
  font-weight: var(--weight-medium);
  color: var(--color-dark);
  line-height: 1.35;
  text-align: center;
}
.occasion-soundtrack-pill__artist {
  font-weight: var(--weight-regular);
  color: var(--stone-500);
}
.occasion-soundtrack-upload {
  margin: 0;
  font-size: var(--fs-13);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  white-space: nowrap;
}
.occasion-soundtrack-pill:hover {
  border-color: var(--stone-300);
}
.occasion-soundtrack-pill.is-active {
  border-color: var(--color-deep);
  background: var(--color-linen);
  box-shadow: 0 4px 14px rgb(var(--rgb-shadow) / 0.1);
}
.occasion-soundtrack-pill:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}
@media (min-width: 768px) {
  .occasion-soundtrack-spotlight__body {
    font-size: var(--fs-18);
    margin-bottom: var(--space-48);
  }
  .occasion-soundtrack-demo {
    max-width: 36rem;
  }
  .occasion-mini-player {
    padding: var(--space-24) 1.75rem 1.75rem;
  }
  .occasion-mini-player__art {
    width: 5.25rem;
    height: 5.25rem;
  }
  .occasion-mini-player__title {
    font-size: var(--fs-24);
  }
  .occasion-mini-player__btn--play {
    width: 3.5rem;
    height: 3.5rem;
  }
  .occasion-soundtrack-pill {
    font-size: var(--fs-15);
    padding: 0.55rem 1.1rem;
  }
  .occasion-soundtrack-upload {
    font-size: var(--fs-15);
  }
}
@media (max-width: 380px) {
  .occasion-soundtrack-pills-row {
    flex-direction: column;
    gap: var(--space-12);
  }
  .occasion-soundtrack-pills {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: var(--space-4);
    mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent);
  }
  .occasion-soundtrack-pills::-webkit-scrollbar {
    display: none;
  }
}
.occasion-cta-wrap {
  text-align: center;
  margin-top: var(--space-32);
}

@media (max-width: 767px) {
  .occasion-container {
    padding-left: 0;
    padding-right: 0;
  }
  /* Consistent section padding (matches homepage) */
  .occasion-section,
  .occasion-group-gift,
  .occasion-page .occasion-pricing-section.pricing-plans {
    padding: var(--space-48) var(--space-24);
  }
  /* Consistent heading styles (matches homepage) */
  .occasion-section-title,
  .occasion-section-heading,
  .occasion-group-gift__title,
  .occasion-alt-title {
    font-size: var(--fs-32);
    font-weight: var(--weight-regular);
    font-family: var(--font-display);
    font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  }
}

/* How it works: uses v3 homepage section (.how-it-works) — background from homepage.css */
@media (max-width: 767px) {
  .occasion-page .how-it-works .how-it-works-cta .cta-button.primary-btn,
  .occasion-page .how-it-works .how-it-works-cta .primary-btn {
    width: auto;
  }
}

/* Group gift feature: a blush section between How it works and Pricing */
.occasion-group-gift {
  background: var(--color-linen);
  padding-top: var(--space-80);
  padding-bottom: var(--space-80);
}
@media (min-width: 768px) {
  .occasion-group-gift {
    padding-top: var(--space-96);
    padding-bottom: var(--space-96);
  }
}
@media (min-width: 768px) {
  .occasion-group-gift {
    padding-top: var(--space-96);
  }
}
.occasion-group-gift .occasion-container {
  max-width: 1125px;
}
.occasion-group-gift__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  align-items: center;
}
.occasion-group-gift__visual {
  min-height: 0;
}
.occasion-group-gift__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  display: block;
}
.occasion-group-gift__title {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  font-weight: var(--weight-regular);
  color: var(--text);
  margin-bottom: var(--space-8);
  line-height: 1.2;
}
.occasion-group-gift__sub {
  font-size: var(--fs-18);
  color: var(--text-muted);
  margin-bottom: var(--space-16);
  font-weight: var(--weight-medium);
}
.occasion-group-gift__text {
  color: var(--color-ink-muted);
  line-height: 1.6;
  margin-bottom: var(--space-24);
}
.occasion-group-gift__cta {
  display: inline-block;
}
@media (max-width: 767px) {
  .occasion-group-gift__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* "Powered by Snappy": the eyebrow over the heading, flush left with the text. */
.occasion-group-gift__powered {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  /* The content column centers its children on phones: this one stays at the left. */
  align-self: flex-start;
  margin: 0 auto 0.875rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.occasion-group-gift__powered:hover {
  color: var(--text);
}
.occasion-group-gift__powered img {
  height: 22px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}
@media (min-width: 768px) {
  .occasion-group-gift__row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-48);
  }
  .occasion-group-gift__title {
    font-size: var(--fs-40);
  }
}

/* Pricing section: the page's dark section, on the plum evening ground. The
   white plan cards (pricing.css, glass-surfaces.css) stand out on it. */
.occasion-page .occasion-pricing-section.pricing-plans {
  position: relative;
  margin-top: 0;
  padding: var(--space-80) var(--space-24);
  background-color: var(--color-deep);
  background-image: var(--ground-plum-image);
}
.occasion-page .occasion-pricing-header {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 2.75rem;
  padding: 0 var(--space-24);
  text-align: center;
}
.occasion-page .occasion-pricing-title {
  /* The homepage's lamp light, peach to warm gold, as on its dark rooms. */
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  padding-bottom: 0.1em;
  margin: 0;
  color: var(--text);
  background: var(--accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.occasion-page .occasion-pricing-section .pricing-container {
  position: relative;
  z-index: 1;
  margin-top: 0;
}
@media (min-width: 768px) {
  .occasion-page .occasion-pricing-section.pricing-plans {
    padding: var(--space-96) var(--space-48) 7rem;
  }
  .occasion-page .occasion-pricing-title {
    font-size: var(--fs-40);
  }
  .occasion-page .occasion-pricing-header {
    margin-bottom: var(--space-64);
    padding: 0 var(--space-48);
  }
}

/* Alternating rows: on the cream page ground */
.occasion-alt {
  background-color: var(--color-cream);
}
.occasion-alt .occasion-container {
  max-width: 1125px;
}
.occasion-alt-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  align-items: center;
  margin-bottom: var(--space-40);
}
.occasion-alt-row:last-child {
  margin-bottom: 0;
}
.occasion-alt-row-reverse .occasion-alt-content {
  order: 1;
}
.occasion-alt-row-reverse .occasion-alt-media {
  order: 0;
}
.occasion-alt-media img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-card);
}
.occasion-alt-title {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  font-weight: var(--weight-regular);
  color: var(--text);
  margin-bottom: var(--space-12);
  line-height: 1.2;
}
@media (min-width: 768px) {
  .occasion-alt-title {
    font-size: var(--fs-40);
  }
}
.occasion-alt-text {
  color: var(--color-ink-muted);
  margin-bottom: var(--space-16);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .occasion-alt-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-32);
  }
  .occasion-alt-row-reverse .occasion-alt-content {
    order: 0;
  }
  .occasion-alt-row-reverse .occasion-alt-media {
    order: 1;
  }
}

/* Products grid (legacy; pricing section uses .pricing-plans) */
.occasion-products {
  padding: var(--space-80) var(--space-24);
}
@media (max-width: 767px) {
  .occasion-products {
    padding: var(--space-48) var(--space-24);
  }
}
@media (min-width: 768px) {
  .occasion-products {
    padding: var(--space-96) var(--space-48);
  }
}
.occasion-products-title {
  margin-bottom: var(--space-32);
}
.occasion-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}
@media (min-width: 768px) {
  .occasion-products-grid {
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: nowrap;
  }
}
.occasion-product-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: var(--space-32);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  position: relative;
}
.occasion-product-card-featured {
  box-shadow: 0 6px 20px rgb(var(--rgb-shadow) / 0.12);
}
.occasion-badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background: #fef08a;
  color: var(--color-dark);
  font-size: var(--fs-12);
  font-weight: var(--weight-semibold);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-xs);
  transform: rotate(12deg);
}
.occasion-product-card h4 {
  font-size: var(--fs-18);
  font-weight: var(--weight-semibold);
  color: var(--text);
  margin-bottom: var(--space-8);
}
.occasion-product-desc {
  font-size: var(--fs-14);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  flex: 1;
}
.occasion-product-price {
  font-size: var(--fs-18);
  font-weight: var(--weight-semibold);
  color: var(--text);
  margin-bottom: var(--space-12);
}
.occasion-product-price span {
  font-weight: var(--weight-regular);
  opacity: 0.8;
  font-size: var(--fs-14);
}
.occasion-product-table {
  width: 100%;
  font-size: var(--fs-14);
  margin-bottom: var(--space-16);
  border-collapse: collapse;
}
.occasion-product-table td {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--rule);
}
.occasion-product-price-cell {
  font-weight: var(--weight-semibold);
  text-align: right;
}
.occasion-product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-16);
  font-size: var(--fs-14);
  color: var(--text-muted);
}
.occasion-product-features li {
  margin-bottom: var(--space-8);
}
.occasion-product-features a {
  color: var(--text);
  text-decoration: underline;
}
.occasion-product-card .occasion-btn-primary {
  margin-top: auto;
  text-align: center;
  display: block;
}

/* Primary button (match v3): a pill in brand red. homepage.css lays its glass finish on top. */
.occasion-btn-primary {
  display: inline-block;
  padding: var(--space-12) var(--space-24);
  border-radius: var(--radius-button);
  font-size: var(--fs-16);
  font-weight: var(--weight-medium);
  background: var(--gradient-brand);
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.occasion-btn-primary:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Sample Tributes / video examples: on the cream page ground */
.occasion-videos {
  background: var(--color-cream);
}
.occasion-videos-cta {
  margin-top: var(--space-40);
  display: flex;
  justify-content: center;
}
.occasion-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
}
@media (min-width: 768px) {
  .occasion-videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.occasion-video-card {
  text-align: center;
}
.occasion-video-link {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-soft);
}
.occasion-video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.occasion-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.occasion-video-play::before {
  content: '';
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgb(var(--rgb-ink) / 0.55);
  position: absolute;
}
.occasion-video-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.6rem 0 0.6rem 1rem;
  border-color: transparent transparent transparent #fff;
  margin-left: var(--space-4);
  position: relative;
  z-index: 1;
}
.occasion-video-card p {
  font-size: var(--fs-14);
  color: var(--text-body);
}

/* Blog section: grid filled by JS from blog.tribute.co. White cards on cream. */
.occasion-blog {
  background: var(--color-cream);
}
/* Reviews: the same calm wash as the homepage (mist, plum-blush, ivory, butter). */
.occasion-page .reviews-section {
  background: linear-gradient(135deg, #e7edf3 0%, #f2e5ed 25%, #faf5ec 50%, #f6e9cf 75%, #e7edf3 100%);
  background-size: 200% 200%;
}
.occasion-page .review-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* Reviews as a plum evening room (only when the light sample videos sit between it and
   the plum pricing). White review cards on plum, a white title with its second sentence
   in the lamp light, like the homepage's dark sections. */
.occasion-page .reviews-section--plum {
  background-color: var(--color-deep);
  background-image: var(--ground-plum-image);
  background-size: auto;
}
/* The accent sentence takes the --accent-text role: the lamp light here on plum. */
.occasion-page .reviews-accent {
  background: var(--accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.08em;
}
.occasion-page .reviews-section--plum .review-card {
  /* Solid white: the usual 80% card turns gray over plum. */
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(12, 6, 12, 0.36);
}
/* Video modal (Plyr) */
.occasion-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24);
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}
.occasion-video-modal.occasion-video-modal-open {
  visibility: visible;
  opacity: 1;
}
.occasion-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(var(--rgb-ink) / 0.82);
  cursor: pointer;
}
.occasion-video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(var(--rgb-ink) / 0.5);
}
.occasion-video-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: rgb(var(--rgb-ink) / 0.6);
  color: #fff;
  font-size: var(--fs-24);
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.occasion-video-modal-close:hover {
  background: rgb(var(--rgb-ink) / 0.8);
}
.occasion-video-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.occasion-video-modal-player .plyr {
  --plyr-color-main: #000;
}

.occasion-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  min-height: 120px;
}
@media (min-width: 768px) {
  .occasion-blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-32);
  }
}
.occasion-blog-more {
  text-align: center;
  margin: var(--space-32) 0 0;
}
.occasion-blog-more a {
  color: var(--brand-primary);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.occasion-blog-card {
  display: flex;
  min-height: 100%;
}
.occasion-blog-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-fast);
}
.occasion-blog-card__link:hover {
  box-shadow: 0 2px 4px rgb(var(--rgb-shadow) / 0.06), 0 16px 36px rgb(var(--rgb-shadow) / 0.12);
}
.occasion-blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--stone-200);
}
.occasion-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.occasion-blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: var(--stone-200);
}
.occasion-blog-card__title {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-20);
  font-weight: var(--weight-semibold);
  color: var(--text);
  margin: 0;
  padding: var(--space-20) var(--space-24) 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.occasion-blog-card__excerpt {
  font-size: var(--fs-14);
  color: var(--text-muted);
  line-height: 1.5;
  padding: var(--space-12) var(--space-24) 0;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.occasion-blog-card__cta {
  display: inline-block;
  font-size: var(--fs-14);
  font-weight: var(--weight-medium);
  color: var(--brand-primary);
  padding: var(--space-16) var(--space-24) var(--space-20);
  margin-top: auto;
}

/* Reviews section: center header, grid, and Facebook rating on occasion LPs */
.occasion-page .reviews-header {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.occasion-page .reviews-header h3,
.occasion-page .reviews-header p {
  text-align: center;
}
.occasion-page .reviews-grid {
  margin-left: auto;
  margin-right: auto;
}
.occasion-page .reviews-footer {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.occasion-page .reviews-footer .facebook-info {
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .occasion-page .reviews-header {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .occasion-page .reviews-header h3,
  .occasion-page .reviews-header p {
    text-align: center;
  }
  .occasion-page .reviews-footer {
    justify-content: center;
    align-items: center;
  }
  .occasion-page .reviews-footer .facebook-info {
    justify-content: center;
  }
}

/* The payment rule under the pricing heading (CRO audit, Oct 2026). */
.occasion-page .occasion-pricing-lead {
  margin: var(--space-12) auto 0;
  max-width: 36rem;
  color: var(--text-body);
  font-size: var(--fs-16);
  line-height: 1.5;
}

/* Reduced transparency: flat warm fills in place of frosted glass. */
@media (prefers-reduced-transparency: reduce) {
  .occasion-hero-video-wrap .plyr--full-ui.plyr--video .plyr__control--overlaid {
    background: var(--color-deep-raised);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .occasion-mini-player__btn--skip,
  .occasion-mini-player__btn--play {
    background: var(--color-deep-raised);
    backdrop-filter: none;
  }
  .occasion-page .occasion-hero-bubble {
    background: var(--color-flat-light);
  }
}

/* ==========================================================================
   Phones: one rhythm for every section of the page.
   The sections come from three places (this file, the homepage's How It Works and
   Video Book, the shared reviews), and each had its own padding (48, 64 or 80px), heading
   (32 or 34px, weight 400 or 500) and intro text (15, 16 or 17px). On a phone they now
   share one set. `main.occasion-page` outranks the sections' own rules.
   ========================================================================== */
@media (max-width: 767px) {
  main.occasion-page .occasion-section,
  main.occasion-page .occasion-pricing-section.pricing-plans,
  main.occasion-page .how-it-works,
  main.occasion-page .video-book-section,
  main.occasion-page .reviews-section {
    padding: var(--space-48) var(--space-24);
  }

  main.occasion-page .occasion-section h2,
  main.occasion-page .occasion-section.occasion-blog .occasion-section-title,
  main.occasion-page .homepage-root .how-it-works .how-it-works-header h3,
  main.occasion-page .homepage-root .video-book-section .video-book-heading,
  main.occasion-page .reviews-header h2,
  main.occasion-page .reviews-header h3 {
    font-family: 'Fraunces', serif;
    font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
    font-size: 2rem;
    /* 500, the weight the homepage gives its section titles on small screens. */
    font-weight: 500;
    line-height: 1.2;
  }

  main.occasion-page .occasion-alt-text,
  main.occasion-page .occasion-group-gift__text,
  main.occasion-page .how-it-works-header p:not(.section-eyebrow),
  main.occasion-page .video-book-intro,
  main.occasion-page .occasion-soundtrack-spotlight__body,
  main.occasion-page .reviews-header p:not(.section-eyebrow) {
    font-size: var(--fs-16);
    line-height: 1.6;
  }

  /* The hero: two reassurances are enough on a phone. "Edit details any time" matters
     least to someone who has not started. More room between the list and the video. */
  .occasion-page .hero.occasion-hero .cta-reassurance li:nth-child(3) {
    display: none;
  }
  .occasion-page .hero.occasion-hero .occasion-hero-media {
    margin-top: var(--space-24);
  }
}
