.hero-bottom-layout {
  --hero-gutter: clamp(24px, 8vw, 128px);
  --cta-radius: 4px;
}
.hero-bottom-layout .hero {
  --hero-height: 100svh;
  display: grid;
  grid-template: minmax(var(--hero-height), auto) / minmax(0, 1fr);
  min-height: var(--hero-height);
  padding: 0;
  background: #111;
}
.hero-bottom-layout .hero-media-wall {
  position: absolute;
  grid-area: 1 / 1;
  inset: 0;
  min-width: 0;
  height: 100%;
}
.hero-bottom-layout .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(0 0 0 / 72%) 0%, rgb(0 0 0 / 62%) min(660px, 65%), transparent 88%);
}
.hero-bottom-layout .hero .hero-inner {
  grid-area: 1 / 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  min-height: 0;
  margin-inline: auto;
  padding: 128px var(--inset) 72px;
  background: transparent;
  color: #fff;
}
.hero-bottom-layout .hero .hero-content {
  margin: 0;
  flex: none;
  display: block;
  width: min(100%, 456px);
  padding: 0;
}
.hero-bottom-layout .celebration-copy { gap: 12px; }
.hero-bottom-layout .hero .eyebrow {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 44px);
}
.hero-bottom-layout .hero .eyebrow,
.hero-bottom-layout .hero-signature,
.hero-bottom-layout .hero-invitation { color: #fff; }
.hero-bottom-layout .hero-event-summary { margin: 0; }
.hero-bottom-layout .hero-event-summary time { font-weight: 650; }
.hero-bottom-layout .hero-actions { margin: 18px 0 0; }
.hero-bottom-layout .button { border-radius: var(--cta-radius); }
.hero-bottom-layout .floating-memory .motion-note-root__trigger.motion-note-root__trigger--cta {
  border-radius: var(--cta-radius) !important;
}
.hero-bottom-layout .hero-actions .button,
.hero-bottom-layout .hero-actions .button:first-child {
  min-height: 44px;
  background: #fff;
  border-color: #fff;
  color: #171315;
}
.hero-bottom-layout .hero-actions .button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.hero-bottom-layout .hero-info-box {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 8px;
  background: rgb(20 17 22 / 92%);
}
.hero-bottom-layout .hero .life-dates {
  display: flex;
  align-items: start;
  gap: clamp(8px, 2vw, 24px);
  justify-content: center;
  margin: auto 0 0;
  font-size: 14px;
}
.hero-bottom-layout .life-dates p {
  display: grid;
  grid-template-columns: 18px auto;
  align-items: center;
  gap: 4px 8px;
}
.hero-bottom-layout .life-dates p:first-child { order: -1; }
.hero-bottom-layout .hero .life-dates::before {
  content: "";
  position: static;
  flex: 0 1 40px;
  min-width: 8px;
  height: 1px;
  margin-top: 9px;
  background: currentColor;
  opacity: .65;
}
.hero-bottom-layout .life-dates svg {
  width: 18px;
  height: 18px;
  margin: 0;
}
.hero-bottom-layout .hero-following {
  position: relative;
  z-index: 2;
  background: var(--paper);
}
.hero-bottom-layout .event-strip-slot {
  position: relative;
  margin: 0;
  padding: 24px var(--hero-gutter);
  background: var(--paper);
}
.hero-bottom-layout .event-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero-bottom-layout .hero {
    position: sticky;
    top: 0;
  }
}

@media (min-width: 768px) {
  .hero-bottom-layout .hero { --hero-height: 76svh; }
}

.hero-bottom-layout .hero-vhs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bottom-layout .hero-vhs { display: none; }
}

.hero-bottom-layout .hero-media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgb(0 0 0 / 18%);
  transition: opacity 160ms ease;
}
.hero-bottom-layout .hero-media-tile:is(:hover, :focus-visible)::after {
  opacity: 0;
}
.hero-bottom-layout .hero-media-tile:is(:hover, :focus-visible) {
  outline: 2px solid #ffedbc;
  outline-offset: -3px;
  z-index: 1;
}
@media (max-width: 767px) {
  .hero-bottom-layout .hero::after {
    background: linear-gradient(90deg, rgb(0 0 0 / 76%), rgb(0 0 0 / 62%));
  }
}

.hero-bottom-layout #motion-note-root.floating-memory {
  position: absolute;
}
.hero-bottom-layout .memorial-footer {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}
.hero-bottom-layout .footer-tribute {
  margin-top: 28px;
}

.hero-bottom-layout .hero-signature--traced {
  transform: none;
}
.hero-bottom-layout .footer-tribute h2:has(.tribute-signature) {
  width: min(100%, 680px);
  transform: none;
}
.hero-bottom-layout .tribute-signature {
  display: block;
  width: 100%;
  height: auto;
}

.hero-bottom-layout .details-section .event-strip-slot {
  padding: 0 0 24px;
  background: transparent;
}
.hero-bottom-layout .details-section .event-strip {
  max-width: none;
}
.hero-bottom-layout .hero-following > .footer-tribute {
  min-height: 100svh;
  width: 100%;
  margin: 0;
  background:
    linear-gradient(to bottom, rgb(24 17 28 / 65%), rgb(24 17 28 / 70%) 48%, #1e1922 76%),
    url("../assets/footer/baton-rouge-queens-landmarks.jpg") center / cover no-repeat #322a32;
  align-content: center;
}
.hero-bottom-layout .footer-tribute .tribute-photos img {
  max-height: 48svh;
}
.hero-bottom-layout .memories-actions { position: relative; }
.hero-bottom-layout .memories-actions #motion-note-root.floating-memory {
  right: 0;
  bottom: 0;
}
.hero-bottom-layout .hero-following > .footer-tribute {
  padding-block: clamp(48px, 8svh, 88px);
  gap: clamp(12px, 3svh, 32px);
}
.hero-bottom-layout .footer-tribute .tribute-signature {
  max-height: 22svh;
  object-fit: contain;
}

.hero-bottom-layout .tribute-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "portraits portraits" "sunrise sunset";
  gap: clamp(12px, 3svh, 32px) 16px;
}
.hero-bottom-layout .tribute-timeline .tribute-photos {
  grid-area: portraits;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: end;
}
.hero-bottom-layout .tribute-timeline p { margin: 0; }
.hero-bottom-layout .tribute-timeline p span { display: block; font-size: 14px; }
.hero-bottom-layout .tribute-photos a {
  display: block;
  position: relative;
}
.hero-bottom-layout .tribute-photos img {
  aspect-ratio: 4 / 6;
  object-position: center top;
}
.hero-bottom-layout .tribute-photos a:is(:hover, :focus-visible) {
  z-index: 1;
  outline: 3px solid #fff8ed;
  outline-offset: 3px;
}
@media (min-width: 601px) {
  .hero-bottom-layout .tribute-photos a:nth-child(-n+2) img { aspect-ratio: 4 / 5; }
  .hero-bottom-layout .tribute-photos a:nth-child(n+3):nth-child(-n+5) img { aspect-ratio: 4 / 5.5; }
}
.hero-bottom-layout .tribute-timeline time { display: block; font-size: 14px; }
.hero-bottom-layout .tribute-sunrise { grid-area: sunrise; }
.hero-bottom-layout .tribute-sunset { grid-area: sunset; text-align: right; }

@media (max-width: 600px) {
  .hero-bottom-layout .tribute-timeline {
    grid-template-areas: "sunrise sunrise" "portraits portraits" "sunset sunset";
  }
  .hero-bottom-layout .tribute-timeline .tribute-photos {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: min(100%, 340px);
    justify-self: center;
  }
  .hero-bottom-layout .footer-tribute .tribute-photos img { max-height: none; }
}

.hero-bottom-layout .memories-heading {
  align-items: end;
}
.hero-bottom-layout .memories-heading .next__text {
  margin: 0;
  font-family: var(--display);
  font-weight: 440;
  font-variation-settings: "opsz" 32;
  letter-spacing: -.01em;
  max-width: 14ch;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .98;
}
.hero-bottom-layout .memories-heading .memories-header-aside {
  justify-self: start;
  max-width: 36ch;
}
.hero-bottom-layout .memories-header-aside p {
  margin: 0 0 12px;
}
.hero-bottom-layout .memories-header-aside .memories-actions {
  justify-content: flex-start;
}

.hero-bottom-layout .event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
}
.hero-bottom-layout .event-flyer { margin: 0; }
.hero-bottom-layout .event-flyer img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.hero-bottom-layout .event-flyer figcaption { margin-top: 12px; font-size: 14px; color: #454545; }
.hero-bottom-layout .event-detail-layout .details-columns { display: block; }
.hero-bottom-layout .event-detail-layout .details-columns > div + div {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.hero-bottom-layout .event-detail-layout .full-schedule { max-width: none; }
@media (max-width: 767px) {
  .hero-bottom-layout .event-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-bottom-layout .event-flyer { grid-row: 2; }
}

.hero-bottom-layout .remembering-jasmine {
  align-items: start;
  padding-block: clamp(48px, 6vw, 88px);
}
.hero-bottom-layout .remembering-jasmine h2 {
  max-width: 14ch;
}
.hero-bottom-layout .remembering-jasmine .remembering-copy {
  grid-column: 7 / -1;
  justify-self: start;
  max-width: 60ch;
  line-height: 1.65;
}
.hero-bottom-layout .remembering-jasmine > div:first-child {
  grid-column: 1 / 7;
}
.hero-bottom-layout .remembering-copy p {
  margin: 0 0 1em;
}
.hero-bottom-layout .remembering-copy p:last-child {
  margin-bottom: 0;
}

.hero-bottom-layout .hero-video-player:has(img:not([hidden])) {
  --photo-edge: clamp(8px, 1.5vw, 18px);
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: var(--photo-edge);
  border: 0;
  background: #fffaf0;
  color: #2c2624;
  box-shadow: 0 16px 56px rgb(0 0 0 / 40%);
}

.hero-bottom-layout .hero-video-player:has(img:not([hidden])) img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 32px - 2 * var(--photo-edge));
  max-height: calc(100dvh - 32px - 2 * var(--photo-edge));
}

.hero-bottom-layout .hero-video-player:has(img:not([hidden])) button {
  position: absolute;
  z-index: 1;
  top: var(--photo-edge);
  right: var(--photo-edge);
  margin: 0;
  padding-inline: 12px;
  border: 0;
  background: #fffaf0;
  color: inherit;
}

.hero-bottom-layout .remembering-smiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 12px);
  max-width: 420px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-bottom-layout .remembering-smiles img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.hero-bottom-layout .tribute-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 10px;
  padding: 0;
  text-align: center;
}
.hero-bottom-layout .tribute-heading h2,
.hero-bottom-layout .tribute-heading p { margin: 0; }
.hero-bottom-layout .tribute-heading h2 {
  font: 440 clamp(32px, 5vw, 58px)/1.05 var(--display);
  transform: none;
}
.hero-bottom-layout .tribute-timeline {
  min-width: 0;
  grid-template-areas: "sunrise sunset" "portraits portraits";
}
.hero-bottom-layout .tribute-timeline .tribute-photos {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(150px, 21vw, 280px);
  align-items: stretch;
  justify-self: stretch;
  width: 100%;
  gap: 12px;
  padding: 6px 6px 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 6px;
}
.hero-bottom-layout .tribute-timeline .tribute-photos a { scroll-snap-align: start; }
.hero-bottom-layout .tribute-timeline .tribute-photos a img {
  aspect-ratio: 4 / 5;
  max-height: none;
}
.hero-bottom-layout .footer-tribute .memories-actions {
  justify-content: center;
  gap: 12px;
}

.hero-bottom-layout .footer-tribute .memories-actions > .button {
  min-height: 44px;
  font: 500 14px/20px var(--body);
  color: #fff8ed;
  background: #26202b;
  border-color: #a499a4;
  text-decoration: none;
}

.hero-bottom-layout .footer-tribute .memories-actions > .primary {
  background: #362722;
  border-color: #eac784;
}

.hero-bottom-layout .footer-tribute .memories-actions > .button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.hero-bottom-layout .remembering-smiles a { display: block; }
.hero-bottom-layout :is(.remembering-smiles, .event-flyer) a:is(:hover, :focus-visible) {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

html:has(body.hero-bottom-layout),
.hero-bottom-layout .tribute-photos {
  scrollbar-width: none;
}
html:has(body.hero-bottom-layout)::-webkit-scrollbar,
.hero-bottom-layout .tribute-photos::-webkit-scrollbar {
  display: none;
}
.hero-bottom-layout .tribute-goodbye {
  display: grid;
  place-items: center;
  min-height: clamp(260px, 55svh, 620px);
  margin: 0;
  color: #fff8ed;
  background: #1e1922;
}
.hero-bottom-layout .tribute-goodbye .tribute-signature {
  width: min(78%, 420px);
  max-height: none;
}

.hero-bottom-layout #gallery-submit-memory { position: relative; }

@supports (offset-path: inset(0 round 4px)) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-bottom-layout #gallery-submit-memory:not(:disabled)::before {
      content: "";
      position: absolute;
      inset: 0 auto auto 0;
      width: 34px;
      height: 3px;
      border-radius: 100%;
      background: linear-gradient(90deg, transparent, #eac784 65%, #fff8df);
      box-shadow: 0 0 7px rgb(234 199 132 / 50%);
      pointer-events: none;
      offset-path: inset(0 round var(--cta-radius, 8px)) padding-box;
      offset-distance: 0%;
      animation: memory-border-trail 4s linear infinite;
    }
  }
}
@keyframes memory-border-trail {
  to { offset-distance: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bottom-layout .tribute-in-view {
    animation: tribute-arrive 480ms ease-out both;
  }
}
@keyframes tribute-arrive {
  from { opacity: .55; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-bottom-layout .hero-media-tile:has(.media-spotlight-border):hover:not(:focus-visible) {
    outline: none;
  }
  .hero-bottom-layout .media-spotlight-border {
    position: absolute !important;
    inset: 0;
    z-index: 2;
    display: block;
    border-radius: inherit;
    padding: 1px;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
  .hero-bottom-layout .media-spotlight-light {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, #bfdbfe, #60a5fa 45%, transparent 72%);
    transition: opacity 200ms ease;
  }
  .hero-bottom-layout .media-spotlight-light.opacity-0 { opacity: 0; }
}
.hero-bottom-layout .media-spotlight-border { display: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-bottom-layout .media-spotlight-border { display: block; }
}

.hero-bottom-layout .tribute-goodbye {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(40px, 8svh, 88px) var(--inset) 0;
}
.hero-bottom-layout .tribute-goodbye-copy {
  width: min(100%, 420px);
  grid-area: 1 / 1;
  justify-self: center;
  text-align: center;
}
.hero-bottom-layout .tribute-goodbye-copy p {
  margin: 0 0 12px;
  font-size: clamp(23px, 4vw, 42px);
  font-weight: 650;
}
.hero-bottom-layout .tribute-goodbye-copy .tribute-signature {
  width: 100%;
}
.hero-bottom-layout .tribute-goodbye-portrait {
  display: block;
  width: min(100%, 420px);
  grid-area: 1 / 2;
  justify-self: center;
  align-self: end;
}
.hero-bottom-layout .tribute-goodbye-portrait img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .hero-bottom-layout .tribute-goodbye {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-bottom-layout .tribute-goodbye-copy {
    grid-row: 1;
    justify-self: center;
    padding-inline: var(--inset);
  }
  .hero-bottom-layout .tribute-goodbye-portrait { grid-area: 2 / 1; width: min(78%, 340px); }
}

.hero-bottom-layout .hero {
  isolation: isolate;
}
.hero-bottom-layout .hero .hero-media-wall,
.hero-bottom-layout .hero .hero-vhs {
  z-index: 0;
}
.hero-bottom-layout .hero-info-box {
  pointer-events: auto;
}
@media (min-width: 768px) {
  .hero-bottom-layout .hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    align-items: center;
    column-gap: clamp(24px, 3vw, 48px);
  }
  .hero-bottom-layout .hero .life-dates {
    grid-column: 1 / -1;
    align-self: end;
  }
}
.hero-bottom-layout .floating-memory .motion-note-root__composer-content {
  max-height: min(92dvh, 640px);
  scrollbar-width: none;
}
.hero-bottom-layout .motion-note-root__entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.hero-bottom-layout .memory-moods {
  display: flex;
  flex-wrap: wrap;
  margin-inline-start: auto;
}
.hero-bottom-layout .memory-moods button {
  min-width: 28px;
  min-height: 32px;
  padding: 2px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
}
.hero-bottom-layout .memory-moods button[aria-pressed="true"] {
  border-color: #eac784;
  background: rgb(255 255 255 / 15%);
}
.hero-bottom-layout .memory-attachment {
  position: relative;
  padding: 6px;
}
.hero-bottom-layout .memory-attachment input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.hero-bottom-layout .memory-attachment:focus-within {
  outline: 2px solid currentColor;
}
.hero-bottom-layout .memory-name-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-bottom-layout .memory-name-privacy input[type="checkbox"] {
  width: auto;
}

.hero-bottom-layout .hero .hero-content {
  width: 100%;
}
.hero-bottom-layout .hero-inscription {
  width: 100%;
}
.hero-bottom-layout .hero .hero-signature {
  width: 100%;
}

.hero-bottom-layout #hero-title {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2cqi, 20px);
}
.hero-bottom-layout #hero-title .eyebrow {
  margin: 0;
  font-size: clamp(15px, 3.8cqi, 28px);
  line-height: 1.1;
  letter-spacing: -.035em;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .hero-bottom-layout .hero .hero-content {
    --signature-bleed: clamp(0px, calc((100vw - 1100px) / 5), 96px);
    width: calc(100% + var(--signature-bleed));
    margin-inline-start: calc(-1 * var(--signature-bleed));
  }
}

.hero-figma-7315 .hero {
  --hero-height: 100svh;
  background: #1a141c;
}
.hero-figma-7315 .hero-media-row .hero-media-tile {
  flex-grow: 1;
}
.hero-figma-7315 .hero-media-row .hero-media-tile :is(img, video) {
  object-fit: cover;
}
.hero-figma-7315 .hero .hero-inner {
  display: grid;
  max-width: 1440px;
  grid-template: minmax(0, 1fr) auto / minmax(0, 1fr);
  gap: 40px;
  align-self: stretch;
  align-items: stretch;
  padding: 0 clamp(24px, 8.889vw, 128px);
  font-family: Inter, var(--body);
}
.figma-hero-main {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-top: clamp(24px, 6svh, 72px);
}
.hero-figma-7315 .figma-hero-main #hero-title {
  display: grid;
  justify-self: center;
  justify-items: center;
  width: min(100%, 720px);
  margin: 0;
  gap: 8px;
  font: 600 clamp(18px, 2vw, 28px)/1.2 Inter, var(--body);
}
.figma-hero-copy {
  display: grid;
  justify-self: end;
  width: min(100%, 1160px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
}
.figma-hero-copy-heading { display: grid; gap: 8px; }
.hero-figma-7315 .hero .figma-hero-copy .eyebrow {
  margin: 0;
  font: 400 14px/1.3 Inter, var(--body);
}
.figma-hero-theme {
  margin: 0;
  font: 700 clamp(28px, 3.4vw, 48px)/1 Inter, var(--body);
}
.hero-figma-7315 .figma-hero-copy .hero-invitation {
  max-width: none;
  margin: 0;
  font: 400 clamp(16px, 1.4vw, 20px)/1.25 Inter, var(--body);
}
.hero-figma-7315 .figma-hero-main .hero-signature {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
}
.figma-service-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  color: #171717;
  line-height: 1.15;
}
.figma-venue { display: grid; font-size: 14px; font-weight: 700; }
.figma-venue strong { font-size: 17px; }
.figma-venue a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.figma-venue a:focus-visible { outline-color: #171717; }
.figma-bar-divider { font-size: 17px; font-weight: 700; }
.figma-event-date { display: grid; text-align: center; font-size: 14px; font-weight: 700; }
.figma-event-date time { font-size: 17px; }
.hero-figma-7315 .figma-service-bar .hero-actions { margin: 0; }
.hero-figma-7315 .figma-service-bar .hero-actions .button {
  gap: 8px;
  background: #292929;
  border-color: #292929;
  color: #f5f5f5;
  white-space: nowrap;
}
.hero-figma-7315 .figma-service-bar .button:focus-visible { outline-color: #171717; }

@media (max-width: 980px) {
  .figma-service-bar { padding-inline: 16px; gap: 12px; }
  .figma-bar-divider { display: none; }
}
@media (max-width: 767px) {
  .hero-figma-7315 .hero .hero-inner { gap: 24px; padding-top: 72px; }
  .figma-hero-main { gap: 28px; padding-top: 0; }
  .figma-hero-copy { justify-self: center; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .figma-service-bar { flex-wrap: wrap; justify-content: start; }
  .figma-event-date { text-align: left; }
}

.hero-bottom-layout .motion-note-root__close {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.hero-bottom-layout .memory-banner {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  color: #fff8ed;
  isolation: isolate;
  background: rgb(23 17 27 / 68%);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px rgb(255 255 255 / 18%), inset 0 -1px rgb(255 255 255 / 12%);
}
.hero-bottom-layout .memory-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("vendor/parloa/refraction-glass-alpha.webp") center 54% / cover no-repeat;
  opacity: .3;
}
.hero-bottom-layout .memory-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 24px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 12px clamp(24px, 8.889vw, 128px);
}
.hero-bottom-layout .memory-banner-inner > p {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.4;
}
@media (min-width: 900px) {
  .hero-bottom-layout .memory-banner-inner > p { white-space: nowrap; }
}
@media (max-width: 700px) {
  .hero-bottom-layout .memory-banner-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero-bottom-layout .memory-banner-inner > p { font-size: clamp(12px, 3.6vw, 16px); }
  .hero-bottom-layout .memory-banner-inner > p > span { display: block; }
}
.hero-bottom-layout .memory-banner #motion-note-root.floating-memory {
  position: relative;
  inset: auto;
  max-width: 100%;
}
.hero-bottom-layout .memory-banner .memory-dialog {
  width: min(432px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: var(--ink);
  background: var(--paper);
  pointer-events: auto;
  scrollbar-width: none;
}
.hero-bottom-layout .memory-dialog::backdrop { background: rgb(15 10 17 / 65%); }
.hero-bottom-layout .memory-dialog-panel { padding: clamp(16px, 4vw, 24px); }
.hero-bottom-layout .memory-banner #motion-note-root.floating-memory { align-self: center; }
.hero-bottom-layout .memory-banner .motion-note-root__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hero-bottom-layout .memory-dialog .motion-note-root__title { margin: 0 0 16px; }
.hero-bottom-layout .memory-dialog .motion-note-root__entry {
  flex-direction: column;
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
}
.hero-bottom-layout .memory-dialog textarea { height: auto; min-height: 96px; resize: vertical; }
.hero-bottom-layout .memory-dialog .memory-name-privacy { margin: 0; font-size: 14px; }
.hero-bottom-layout .memory-dialog .memory-name-privacy input { margin: 0; min-height: 0; }
.hero-bottom-layout .memory-dialog .memory-attachment { color: var(--ink); }
.hero-bottom-layout .memory-dialog .motion-note-root__close { color: var(--ink); }
.hero-bottom-layout .memory-dialog .note-actions .primary { margin-inline-start: auto; }


@media (max-width: 700px) {
  .hero-figma-7315 .hero .hero-inner { padding-top: 116px; }
}

.hero-figma-7315 .hero::after {
  background: linear-gradient(180deg, rgb(0 0 0 / 36%), rgb(0 0 0 / 24%) 47%, rgb(0 0 0 / 82%));
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bottom-layout .memory-banner {
    animation: memory-banner-enter 420ms cubic-bezier(.2, .7, .2, 1) both;
  }
}
@keyframes memory-banner-enter {
  from { opacity: 0; translate: 0 -12px; }
  to { opacity: 1; translate: 0 0; }
}

.hero-bottom-layout .memory-trigger-mobile { display: none; }
.hero-bottom-layout .memory-dialog .memory-moods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
  flex: 0 0 100%;
  gap: 6px;
  margin: 0 0 8px;
}
.hero-bottom-layout .memory-reactions-label {
  grid-column: 1 / -1;
  flex-basis: 100%;
  color: var(--muted);
  font-size: 14px;
}

.hero-bottom-layout .memory-dialog .memory-moods button {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 6px 2px;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--rule);
  background: #f5f4f0;
  font-size: 21px;
}
.hero-bottom-layout .memory-dialog .memory-moods button[aria-pressed="true"] {
  border-color: var(--ink);
  background: #e8e7e3;
  box-shadow: inset 0 0 0 1px var(--ink);
}
@media (max-width: 700px) {
  .hero-bottom-layout .memory-banner-inner:has(.memory-trigger-mobile) > p,
  .hero-bottom-layout .memory-trigger-desktop { display: none; }
  .hero-bottom-layout .memory-trigger-mobile { display: inline; }
  .hero-bottom-layout .memory-banner .motion-note-root__trigger.motion-note-root__trigger--cta {
    min-height: 44px !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .hero-bottom-layout .memory-banner .motion-note-root__trigger--cta::after { display: none; }
}

.hero-bottom-layout .memory-dialog {
  --dialog-border: #e4e4e7;
  --dialog-muted: #52525b;
  --dialog-accent: #f4f4f5;
}
.hero-bottom-layout .memory-banner .memory-dialog { border: 1px solid var(--dialog-border); }
.hero-bottom-layout .memory-dialog .motion-note-root__title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}
.hero-bottom-layout .memory-dialog form :is(input:not([type=file],[type=checkbox]), textarea) {
  border: 1px solid var(--dialog-border);
  background: var(--paper);
}
.hero-bottom-layout .memory-dialog .motion-note-root__entry textarea { margin-bottom: 4px; }
.hero-bottom-layout .memory-character-count {
  align-self: end;
  font-size: 12px;
  color: var(--dialog-muted, currentColor);
}
.hero-bottom-layout .memory-dialog .memory-moods {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin-top: 12px;
}
.hero-bottom-layout .memory-dialog .memory-moods button {
  place-items: center;
  border-radius: 999px;
  border-color: transparent;
  background: var(--dialog-accent);
  font-size: 24px;
}
.hero-bottom-layout .memory-dialog .memory-moods button[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: none;
}
.hero-bottom-layout .memory-form-footer {
  justify-content: flex-end;
  padding-top: 12px;
}
.hero-bottom-layout .memory-dialog .memory-attachment {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dialog-border);
  border-radius: 6px;
}

.hero-bottom-layout .memory-dialog .motion-note-root__title {
  color: var(--ink) !important;
  font-family: var(--display);
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 500;
}
.hero-bottom-layout .memory-note-field { min-width: 0; width: 100%; }
.hero-bottom-layout .memory-dialog .memory-note-field {
  display: grid;
  border: 1px solid var(--dialog-border);
  border-radius: 8px;
  background: #f5f4f0;
  margin-bottom: 6px;
}
.hero-bottom-layout .memory-dialog .memory-note-field:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.hero-bottom-layout :is(#note-form, .memory-dialog form) .memory-note-field textarea {
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
  outline: none;
}
.hero-bottom-layout .memory-dialog .memory-note-field .memory-attachment {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0 0 4px 6px;
  padding-inline: 8px;
  border: 0;
  font-size: 14px;
}

.hero-bottom-layout .memory-publish-consent {
  margin: 12px 0 0;
  color: var(--dialog-muted);
  font-size: 13px;
  line-height: 1.45;
}
.hero-bottom-layout .memory-dialog .memory-form-footer {
  align-items: center;
  justify-content: space-between;
}

.hero-bottom-layout .memory-dialog .memory-form-heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hero-bottom-layout .memory-dialog .memory-form-heading .motion-note-root__close {
  flex: 0 0 36px;
  margin: -4px -4px 0 auto;
}
.hero-bottom-layout .memory-photo-thumbnail {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 12px 6px;
}
.hero-bottom-layout .memory-photo-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.hero-bottom-layout .memory-photo-thumbnail button {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}

.hero-media-tile[data-featured-rooftop] .featured-rooftop-play {
  inset: 14px 14px auto auto;
  z-index: 1;
}
.hero-figma-7315 .figma-hero-main {
  grid-template-rows: 1fr;
  align-items: end;
}
.figma-hero-copy {
  width: 100%;
  align-items: end;
  gap: clamp(24px, 3.2vw, 64px);
}
.figma-hero-copy-heading { gap: 14px; }
.hero-figma-7315 .hero .figma-hero-copy .eyebrow {
  color: #e8e3df;
  letter-spacing: 0;
  font-size: 14px;
}
.figma-hero-theme {
  max-width: 16ch;
  font: 400 clamp(30px, 3.2vw, 50px)/1.06 Inter, var(--body);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero-figma-7315 .figma-hero-copy .hero-invitation {
  max-width: 50ch;
  font: 400 clamp(16px, 1.35vw, 19px)/1.45 Inter, var(--body);
}
@media (max-width: 767px) {
  .hero-figma-7315 .hero .hero-inner { margin-top: 0; }
  .figma-hero-copy { gap: 16px; }
}
.hero-media-tile[data-featured-rooftop] .featured-rooftop-play { opacity: 1; }
@media (max-width: 767px) {
  .hero-media-tile[data-featured-rooftop] .featured-rooftop-play { right: max(14px, calc((100% - 100vw) / 2 + 14px)); }
}

.hero-figma-7315 .hero .hero-inner {
  width: min(calc(100% - 2 * clamp(20px, 5vw, 48px)), 1180px);
  padding-inline: 0;
}
.hero-figma-7315 .hero .figma-hero-actions { margin: 4px 0 0; }
.hero-figma-7315 .hero .figma-hero-actions .button {
  min-height: 44px;
  border: 1px solid #fffc;
  border-radius: 999px;
  background: #121212b8;
  color: white;
}
@media (max-width: 767px) {
  .figma-hero-copy-heading { display: contents; }
  .figma-hero-actions { grid-row: 4; }
}

/* Shared page gutters, section rhythm, and type hierarchy. */
.hero-figma-7315 {
  --inset: max(clamp(20px, 5vw, 48px), calc((100% - 1180px) / 2));
  --section-space: clamp(48px, 6vw, 88px);
  --section-title: clamp(30px, 3vw, 44px);
}
.hero-figma-7315 .hero .hero-inner {
  width: calc(100% - 2 * var(--inset));
  font-family: var(--body);
}
.hero-figma-7315 :is(.remembering-jasmine, .details-section, .note-section, .memorial-footer) {
  padding-block: var(--section-space);
  padding-inline: var(--inset);
}
.hero-figma-7315 .section-label,
.hero-figma-7315 .hero .figma-hero-copy .section-label {
  font: 400 14px/1.4 var(--body);
  letter-spacing: normal;
  text-transform: none;
}
.hero-figma-7315 h2 {
  font: 400 var(--section-title)/1.1 var(--body);
  letter-spacing: -.035em;
}
.hero-figma-7315 .hero h1.figma-hero-theme { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.06; }
.hero-figma-7315 h3 { font: 500 20px/1.3 var(--body); }
.hero-figma-7315 .figma-hero-copy .hero-invitation { font: 400 16px/1.55 var(--body); }
.hero-figma-7315 .figma-hero-copy-heading { display: contents; }
.hero-figma-7315 .figma-hero-copy { row-gap: 12px; align-items: center; }
.hero-figma-7315 .figma-hero-actions .button { gap: 8px; }
.hero-figma-7315 .event-detail-layout .details-columns > div + div {
  margin-top: 16px;
  padding-top: 16px;
}
@media (min-width: 768px) {
  .figma-hero-copy .section-label { grid-area: 1 / 1; }
  .figma-hero-theme { grid-area: 2 / 1; }
  .figma-hero-copy .hero-invitation { grid-area: 2 / 2; }
  .figma-hero-actions { grid-area: 3 / 1; }
}

.hero-figma-7315 .remembering-jasmine { max-width: none; }

.hero-figma-7315 .hero .figma-hero-actions .button.primary {
  background: #fff;
  border-color: #fff;
  color: #111;
}

[data-bento-wall] .hero-media-grid {
  --bento-row: calc((100cqh - 2 * var(--media-gap)) / 3);
  display: flex;
  flex-direction: row;
  width: max-content;
  padding-inline-end: var(--media-gap);
}
.hero-bento-column {
  display: grid;
  grid-template-rows: repeat(3, var(--bento-row));
  gap: var(--media-gap);
  justify-items: center;
  width: calc(var(--bento-row) * var(--column-ratio));
}
.hero-bento-column:has(video) {
  width: calc((2 * var(--bento-row) + var(--media-gap)) * var(--column-ratio));
}
.hero-bento-column .hero-media-tile {
  width: 100%;
  height: 100%;
  aspect-ratio: var(--tile-ratio);
}
.hero-bento-column .hero-media-tile:has(video) { grid-row: span 2; }
.hero-bento-column :is(img, video) { object-fit: cover; }
.hero-bento-column .hero-video-poster { position: absolute; inset: 0; }
.hero-bento-column .hero-media-tile:has(.hero-video-poster) video { opacity: 0; }
.hero-bento-column .hero-media-tile.is-preview-playing video { opacity: 1; }
.hero-bento-column .hero-media-tile.is-preview-playing .hero-video-poster { visibility: hidden; }
.hero-bento-companions {
  display: flex;
  justify-content: center;
  gap: var(--media-gap);
  width: 100%;
  min-height: 0;
}
.hero-bento-companions .hero-media-tile {
  flex: var(--tile-ratio) 1 0;
  width: 0;
}
#home-loader:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  background: #000;
  pointer-events: none;
}

.home-loader-signature {
  display: block;
  width: min(72vw, 360px);
  height: auto;
}


/* The public farewell wall remains available for reading. */
.hero-bottom-layout .motion-note-root__wall-empty > button { display: none; }


/* Keep the gallery entry at the top-right without covering hero content. */
.hero-figma-7315 .hero-navigation {
  position: absolute;
  z-index: 3;
  top: max(20px, env(safe-area-inset-top));
  right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right));
}
.hero-figma-7315 .hero-gallery-link {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #fffc;
  border-radius: 999px;
  background: #121212d9;
  color: #fff;
  white-space: nowrap;
}
.hero-figma-7315 .hero-gallery-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
