/* Approved landing composition. Selectors stay within the signed-out homepage. */
#public-home {
  --ink: #082a2b;
  --deep: #00534e;
  --accent: #e64d0b;
  --aqua: #d0f2ef;
  --wrap: 1370px;
  --fold-height: clamp(6rem, 11vw, 9.5rem);
  --gutter: clamp(1.1rem,3.4vw,3.85rem);
  --display-tracking: -.04em;
  font-family: "Instrument Sans",Arial,sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.45;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#public-home *,
#public-home *::before,
#public-home *::after {
  box-sizing: border-box;
}

html:has(#auth-view:not([hidden]) > #public-home:not([hidden])) {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

#public-home a,
#public-home button {
  color: inherit;
}

#public-home button {
  cursor: pointer;
}

#public-home img {
  max-width: 100%;
  display: block;
}

#public-home h1,
#public-home h2,
#public-home h3,
#public-home p,
#public-home figure {
  margin: 0;
}

#public-home a:focus-visible,
#public-home button:focus-visible,
#public-home input:focus-visible,
#public-home textarea:focus-visible {
  outline: 3px solid #d44c0e;
  outline-offset: 4px;
}

#public-home *::selection {
  background: #ffcfad;
  color: var(--ink);
}

#public-home .wrap {
  width: min(100%,var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

#public-home .icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

#public-home .topbar {
  background: white;
}

#public-home .topbar-inner,
#public-home .topbar nav,
#public-home .wordmark,
#public-home .action,
#public-home .footer-inner {
  display: flex;
  align-items: center;
}

#public-home .topbar-inner,
#public-home .footer-inner {
  justify-content: space-between;
}

#public-home .topbar-inner {
  position: relative;
  min-height: clamp(4.25rem,6vw,5.75rem);
  gap: 1rem;
}

#public-home .wordmark {
  font-size: clamp(1.6rem,2.5vw,2.2rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  gap: .25em;
  white-space: nowrap;
}

#public-home .wordmark img {
  display: block;
  width: auto;
  height: 1.04em;
  flex: none;
}

#public-home .topbar .wordmark {
  min-height: 44px;
  letter-spacing: -.065em;
}

#public-home .topbar .wordmark img {
  width: 1.17em;
  height: auto;
}

#public-home .topbar nav {
  gap: clamp(1.1rem,2.9vw,2.55rem);
  font-size: clamp(.88rem,1.1vw,1rem);
  font-weight: 550;
}

#public-home .topbar nav,
#public-home .topbar .wordmark {
  position: relative;
  z-index: 2;
}

#public-home .topbar nav > :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none;
}

#public-home .nav-sample {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#public-home .topbar nav > :is(a, button):hover {
  text-decoration: underline;
  text-underline-offset: .22em;
}

/* The transparent paper joins the masthead to the upper edge of the pool print. */
#public-home .topbar-inner::after {
  content: "";
  position: absolute;
  inset-inline: 8% 2%;
  top: calc(100% - var(--fold-height) * .31);
  height: var(--fold-height);
  background: url("/homepage-media/continuous-fold.webp") center / 100% 100% no-repeat;
  mask-image: linear-gradient(to right, #000 83%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Leave the label and focus ring on the live link. The paper is decorative. */
#public-home .fold-signin {
  position: relative;
  isolation: isolate;
  flex: none;
  justify-content: center;
  min-inline-size: 6.85rem;
  padding: .83rem .85rem .61rem 1.25rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.15;
}

#public-home .fold-signin::before,
#public-home .fold-signin::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#public-home .fold-signin::before {
  z-index: -1;
  inset: 0 1px 1px 0;
  rotate: -1deg;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  background: url("/homepage-media/signin-paper.webp") center / 100% 100% no-repeat;
}

#public-home .fold-signin::after {
  z-index: -2;
  inset: 4px 0 0 5px;
  rotate: 2deg;
  background: #93d5b5;
  box-shadow: 0 2px 3px #203e342a;
}

@media (hover: hover) {
  #public-home .fold-signin:hover::before { transform: translateY(-1px); }
}

#public-home .fold-signin:active::before { transform: translateY(1px); }

#public-home .fold-signin:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 2px;
}

@media (forced-colors: active) {
  #public-home .fold-signin { border: 1px solid LinkText; color: LinkText; }
  #public-home .fold-signin::before,
  #public-home .fold-signin::after { display: none; }
  #public-home .fold-signin:focus-visible { outline-color: Highlight; }
}

@media (prefers-reduced-motion: reduce) {
  #public-home .fold-signin:is(:hover, :active)::before { transform: none; }
}

#public-home .mobile-name {
  display: none;
}

#public-home .hero {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.5fr);
  gap: clamp(.5rem,1.6vw,1.55rem);
  align-items: center;
  padding-block: calc(var(--fold-height) * .46) clamp(2.25rem,4vw,4rem);
}

#public-home .hero-copy {
  padding-bottom: 1rem;
}

#public-home h1,
#public-home h2,
#public-home h3 {
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}

#public-home h1 {
  font-size: clamp(3.3rem,6.65vw,6rem);
  font-weight: 625;
  line-height: .96;
}

#public-home .hero-ending {
  display: block;
}

#public-home .hero-accent {
  color: #d24b19;
}

#public-home .hero-copy p {
  font-size: clamp(1.05rem,1.55vw,1.42rem);
  letter-spacing: -.026em;
  line-height: 1.4;
  max-width: 28ch;
  margin: clamp(1rem,1.8vw,1.8rem) 0 clamp(1.25rem,2vw,1.9rem);
}

#public-home .action {
  display: inline-flex;
  justify-content: center;
  min-height: 3rem;
  padding: .85rem 1.5rem;
  border-radius: 9px;
  border: 0;
  font-weight: 620;
  font-size: 1.08rem;
  text-decoration: none;
  letter-spacing: -.022em;
  transition: background .18s ease;
}

#public-home .primary {
  color: #fff;
  background: var(--deep);
}

#public-home .primary:hover {
  background: #073a38;
}

#public-home .hero-scene {
  min-width: 0;
}

#public-home .hero-photo {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: white;
  color: var(--ink);
  text-align: left;
}

#public-home .hero-photo img {
  width: 100%;
  height: auto;
}

#public-home .scene-caption {
  display: flex;
  align-items: center;
  gap: .45rem 1.1rem;
  flex-wrap: wrap;
  min-height: 48px;
  margin: .35rem 3% 0 4%;
  padding: .55rem 0;
  border-bottom: 1px solid #c5d9d1;
  font-size: clamp(.9rem,1.17vw,1.03rem);
  line-height: 1.35;
}

#public-home .scene-caption strong {
  font-size: 1.13em;
  letter-spacing: -.025em;
}

#public-home .scene-place,
#public-home .scene-time,
#public-home .memory-place {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  color: #365a53;
}

#public-home .scene-caption svg,
#public-home .memory-place svg {
  width: 1.08em;
  height: 1.08em;
  flex: none;
}

#public-home .scene-place svg {
  color: #b6461e;
}

#public-home .scene-time {
  margin-left: auto;
  border-left: 1px dashed #93afa4;
  padding-left: 1.05rem;
  font-variant-numeric: tabular-nums;
}

#public-home .hero-photo:hover .scene-caption strong,
#public-home .hero-photo:focus-visible .scene-caption strong {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: .21em;
}

#public-home h2 {
  font-size: clamp(2rem,3.5vw,3.35rem);
  line-height: 1.04;
  font-weight: 620;
}

#public-home .discovery {
  padding-bottom: clamp(2.5rem,5vw,4.75rem);
}

#public-home .discovery-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.98fr);
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "heading map" "controls map";
  gap: clamp(1rem,2vw,1.65rem) clamp(1.5rem,4vw,4rem);
  align-items: end;
  border-top: 1px solid #c7d6d0;
  padding-top: clamp(1.5rem,2.7vw,2.65rem);
}

#public-home .discovery-head h2 {
  grid-area: heading;
  max-width: 15ch;
  font-size: clamp(2.5rem,4vw,3.8rem);
}

#public-home .discovery-map {
  grid-area: map;
  align-self: center;
  justify-self: end;
  display: block;
  width: 100%;
  max-width: 36rem;
  height: auto;
}

#public-home .discovery-controls {
  grid-area: controls;
  align-self: start;
  display: flex;
  align-items: end;
  gap: .85rem clamp(1rem,2vw,2rem);
  flex-wrap: wrap;
}

#public-home .place-control,
#public-home .time-control {
  min-width: 0;
}

#public-home .place-control label,
#public-home #home-time-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .9rem;
  font-weight: 570;
  line-height: 1.25;
  color: #345651;
}

#public-home .place-input {
  position: relative;
}

#public-home .place-input select {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: .48rem 2.25rem .48rem .85rem;
  border: 1px solid #829a92;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 570;
  cursor: pointer;
}

#public-home .place-input svg {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

#public-home .place-input select:focus-visible {
  outline: 3px solid #c64a0a;
  outline-offset: 3px;
}

#public-home .time-switch {
  display: flex;
  padding: 2px;
  border: 1px solid #829a92;
  border-radius: 7px;
}

#public-home .time-switch button {
  flex: 1;
  border: 0;
  border-radius: 4px;
  background: none;
  min-height: 42px;
  min-width: 4.1rem;
  padding: .4rem .8rem;
  font-size: 1rem;
  font-weight: 570;
  line-height: 1.1;
  white-space: nowrap;
}

#public-home .time-switch button:hover {
  background: #e6f5f1;
}

#public-home .time-switch button[aria-pressed=true] {
  background: var(--deep);
  color: white;
}

#public-home .discovery-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 1.45rem 0 .88rem;
  min-height: 2.2rem;
  border-bottom: 1px solid #cedbd6;
  padding-bottom: .35rem;
}

#public-home #home-discovery-summary {
  font-size: .97rem;
  font-weight: 570;
  color: #315650;
}

#public-home #home-reset-discovery,
#public-home .recovery-action {
  border: 0;
  padding: .55rem .1rem;
  background: transparent;
  color: var(--deep);
  font: inherit;
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}

#public-home #home-reset-discovery {
  font-size: .9rem;
  flex: none;
}

#public-home #home-tickets {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1rem,2vw,1.6rem);
  align-items: stretch;
}

#public-home .ticket {
  --stub: clamp(3.65rem,5.6vw,5.35rem);
  --ticket-pad: clamp(.75rem,1.05vw,1rem);
  --stock: #fbfffd;
  --stub-color: #8fdcd0;
  --ink-stub: #073b38;
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) var(--stub);
  grid-template-rows: auto 1fr;
  grid-template-areas: "photo stub" "copy stub";
  background: var(--stock);
  border: 1px solid #c7d5ce;
  border-radius: 9px;
  box-shadow: 0 3px 1px -1px #dae2dc,0 7px 12px -9px #21453d55;
}

#public-home .ticket:nth-child(even) {
  --stub-color: #ff9554;
  --ink-stub: #352e20;
}

#public-home .ticket-photo {
  grid-area: photo;
  align-self: start;
  width: calc(100% - 2 * var(--ticket-pad));
  aspect-ratio: 2.45;
  object-fit: cover;
  margin: var(--ticket-pad) var(--ticket-pad) 0;
  border-radius: 4px;
}

#public-home .ticket-copy {
  grid-area: copy;
  align-self: center;
  display: block;
  min-width: 0;
  padding: .92rem var(--ticket-pad) 1rem;
}

#public-home .ticket h3 {
  margin: 0;
  font-size: clamp(1.4rem,2vw,2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 650;
}

#public-home .ticket-meta {
  display: block;
  font-size: clamp(.94rem,1.17vw,1.08rem);
  color: #38574f;
  line-height: 1.38;
  margin-top: .33rem;
}

#public-home .ticket-link {
  border: 0;
  background: transparent;
  color: #004e48;
  font: inherit;
  font-size: .98rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #df5a24;
  text-decoration-thickness: 2px;
  text-underline-offset: .23em;
  padding: .24rem .1rem .24rem 0;
  margin-top: .48rem;
  line-height: 1.4;
}

#public-home .ticket-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 9px;
  cursor: pointer;
}

#public-home .ticket:focus-within {
  outline: 3px solid #c34708;
  outline-offset: 4px;
}

#public-home .ticket-link:focus-visible {
  outline: none;
}

#public-home .ticket:hover .ticket-link {
  text-decoration-color: var(--deep);
}

#public-home .ticket-stub {
  grid-area: stub;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .08rem;
  padding: 1.4rem .2rem;
  color: var(--ink-stub);
  background-color: var(--stub-color);
  border-left: 2px dashed #34635870;
  border-radius: 0 8px 8px 0;
  overflow: visible;
  background-image: linear-gradient(135deg,transparent 48%,#fffc 50%,#ffffff70 68%,transparent 72%),url("/homepage-media/ticket-stock.webp");
  background-blend-mode: normal,multiply;
  background-repeat: no-repeat,repeat;
  background-size: 20px 20px,84px 104px;
  background-position: right bottom,0 0;
}

#public-home .ticket-duration {
  font-size: clamp(1.8rem,3vw,2.95rem);
  line-height: 1;
  font-weight: 630;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

#public-home .ticket-unit {
  font-size: .96rem;
  font-weight: 560;
  line-height: 1.25;
}

#public-home .ticket-unit::after {
  content: "";
  position: absolute;
  bottom: .95rem;
  left: 50%;
  width: 27px;
  height: 24px;
  transform: translateX(-50%);
  background: url("/homepage-media/staple-imprint.webp") center/contain no-repeat;
  mix-blend-mode: multiply;
  opacity: .6;
  mask-image: radial-gradient(ellipse closest-side,#000 68%,transparent 100%);
  pointer-events: none;
}

#public-home .ticket-stub::before,
#public-home .ticket-stub::after {
  content: "";
  position: absolute;
  left: -7px;
  width: 12px;
  height: 7px;
  background: white;
  z-index: 1;
  border: 1px solid #9bb6aa;
  pointer-events: none;
}

#public-home .ticket-stub::before {
  top: -1px;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

#public-home .ticket-stub::after {
  bottom: -1px;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

#public-home .empty-place {
  grid-column: 1/-1;
  padding: clamp(1.2rem,2.5vw,2.2rem);
  border: 1px solid #b9d4cb;
  border-left: 5px solid #6fc2b4;
  border-radius: 5px;
  background: #f0f9f6;
}

#public-home .empty-place h3 {
  font-size: clamp(1.35rem,2.15vw,1.85rem);
  line-height: 1.15;
}

#public-home .empty-place p {
  margin: .4rem 0;
  color: #34564e;
}

#public-home .recovery-action {
  min-height: 44px;
  margin-right: 1.3rem;
}

#public-home #home-expand-discovery {
  display: block;
  min-height: 44px;
  margin: 1.45rem auto 0;
  border: 1px solid #9ab5aa;
  border-radius: 7px;
  padding: .6rem 1.25rem;
  text-decoration: none;
  background: white;
  color: var(--deep);
  font-size: 1rem;
  font-weight: 610;
}

#public-home #home-expand-discovery:hover {
  background: #edf7f4;
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #public-home .ticket {
    transition: transform .18s ease,box-shadow .18s ease;
  }

  #public-home .ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 1px -1px #d9e2da,0 10px 16px -9px #21453d55;
  }
}

@media (min-width: 761px) {
  #public-home .ticket:only-child {
    grid-column: 1/-1;
    grid-template-columns: minmax(0,42%) minmax(0,1fr) var(--stub);
    grid-template-rows: auto;
    grid-template-areas: "photo copy stub";
    align-items: stretch;
  }

  #public-home .ticket:only-child .ticket-photo {
    margin-bottom: var(--ticket-pad);
    aspect-ratio: 2.8;
    align-self: center;
  }

  #public-home .ticket:only-child .ticket-copy {
    padding: 1.15rem clamp(1rem,3vw,2.65rem);
  }
}

@media (min-width: 701px) and (max-width: 940px) {
  #public-home .discovery-head {
    grid-template-rows: auto auto;
    grid-template-areas: "heading map" "controls controls";
    align-items: center;
    row-gap: .9rem;
  }
}

@media (max-width: 700px) {
  #public-home .discovery-head {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto;
    grid-template-areas: "heading" "map" "controls";
    gap: 1rem;
  }

  #public-home .discovery-head h2 {
    max-width: 19ch;
    font-size: clamp(2rem,6.5vw,2.7rem);
    line-height: 1.04;
  }

  #public-home .discovery-map {
    justify-self: center;
    max-width: 29rem;
  }
}

@media (max-width: 760px) {
  #public-home #home-tickets {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  #public-home .ticket {
    --stub: clamp(3.25rem,12vw,5rem);
  }

  #public-home .ticket h3 {
    font-size: clamp(1.45rem,5vw,1.85rem);
  }

  #public-home .ticket-copy {
    padding: .85rem var(--ticket-pad) 1rem;
  }

  #public-home .ticket-duration {
    font-size: clamp(1.75rem,6vw,2.3rem);
  }
}

@media (max-width: 570px) {
  #public-home .discovery-controls {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    width: 100%;
    align-items: end;
    gap: .6rem;
  }

  #public-home .place-control label,
  #public-home #home-time-label {
    font-size: .86rem;
  }

  #public-home .place-input select {
    padding-right: 1.65rem;
    font-size: 1rem;
  }

  #public-home .place-input svg {
    right: .43rem;
  }

  #public-home .time-switch button {
    min-width: 0;
    padding: .4rem .12rem;
    font-size: .91rem;
    white-space: normal;
  }

  #public-home .discovery-results {
    margin: 1.05rem 0 .65rem;
  }

  #public-home #home-discovery-summary {
    font-size: .89rem;
  }
}

@media (max-width: 355px) {
  #public-home .discovery-controls {
    grid-template-columns: 1fr;
  }

  #public-home .time-control,
  #public-home .place-control {
    max-width: 100%;
  }
}

#public-home .memory {
  background: var(--aqua);
}

#public-home .memory-inner {
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1.55fr);
  gap: clamp(1.7rem,4vw,4rem);
  align-items: center;
  padding-block: clamp(2.2rem,4.2vw,4rem);
}

#public-home .memory-copy h2 {
  max-width: 9ch;
  font-size: clamp(2.5rem,4.7vw,4.7rem);
}

#public-home .memory-copy p {
  font-size: clamp(1rem,1.35vw,1.2rem);
  max-width: 31ch;
  margin-top: .85rem;
  letter-spacing: -.017em;
  line-height: 1.46;
}

#public-home .memory-copy .text-action {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 46px;
  margin-top: 1.35rem;
  padding: .58rem 1rem;
  background: #fff;
  border: 1px solid #84b8ac;
  border-radius: 7px;
  color: var(--deep);
  font-size: 1rem;
  font-weight: 640;
}

#public-home .memory-copy .text-action svg {
  width: 1.4rem;
  height: 1rem;
  color: #bf491c;
}

#public-home .memory-copy .text-action:hover {
  border-color: var(--deep);
  background: #f4fbf9;
}

#public-home .memory-art {
  margin: 0;
  min-width: 0;
}

#public-home .memory-art img {
  width: 100%;
  height: auto;
}

#public-home .memory-art figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  color: #264e46;
  border-top: 1px solid #94c9bd;
  margin: .5rem 2.5% 0;
  padding-top: .6rem;
  font-size: .9rem;
}

#public-home .memory-art figcaption>span:first-child {
  font-weight: 620;
}

#public-home .home-footer {
  color: #fff;
  background: #063e3a;
}

#public-home .footer-inner {
  min-height: 5.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

#public-home .home-footer-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
#public-home .home-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 560;
  text-decoration: underline;
  text-underline-offset: .24em;
}

#public-home .footer-inner .wordmark {
  min-height: 44px;
  font-size: 1.5rem;
}

#public-home .footer-inner small {
  font-size: .87rem;
  color: #cbe4dd;
}

@media (max-width: 780px) {
  #public-home .hero {
    grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr);
    gap: 1rem;
  }

  #public-home h1 {
    font-size: clamp(2.85rem,6.5vw,3.5rem);
  }

  #public-home .hero-copy p {
    font-size: 1rem;
  }
}

@media (max-width: 620px) {
  #public-home {
    --gutter: clamp(1rem,5vw,1.6rem);
  }

  #public-home .topbar-inner {
    min-height: 3.9rem;
    flex-wrap: wrap;
    gap: .5rem;
  }

  #public-home .topbar nav {
    max-width: 100%;
    flex-wrap: wrap;
    gap: clamp(.55rem,2vw,1rem);
    font-size: .82rem;
  }

  #public-home .desktop-name {
    display: none;
  }

  #public-home .mobile-name {
    display: inline;
  }

  #public-home .topbar-inner::after {
    content: none;
  }

  #public-home .fold-signin {
    min-inline-size: 5.05rem;
    min-block-size: 44px;
    padding: .74rem .55rem .54rem .84rem;
  }

  #public-home .fold-signin::before { inset-block: 3px; }
  #public-home .fold-signin::after { inset-block: 6px 2px; }

  #public-home .hero-scene {
    position: relative;
    margin-top: 1.7rem;
  }

  #public-home .hero-scene::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: -1.85rem;
    height: clamp(3rem, 10vw, 4rem);
    background: url("/homepage-media/continuous-fold-small.webp") center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 1;
  }

  #public-home .hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 1.25rem 2rem;
  }

  #public-home .hero-copy {
    padding: 0;
  }

  #public-home h1 {
    font-size: clamp(3.25rem,12.8vw,4.65rem);
    max-width: 13ch;
  }

  #public-home .hero-copy p {
    margin: .85rem 0 1rem;
    max-width: 34ch;
    font-size: 1.06rem;
  }

  #public-home .scene-caption {
    margin: .1rem 0 0;
    gap: .35rem .7rem;
  }

  #public-home .scene-time {
    padding-left: .65rem;
  }

  #public-home .hero-photo img {
    max-height: 23rem;
    object-fit: contain;
  }

  #public-home h2 {
    font-size: clamp(2.05rem,8vw,2.7rem);
  }

  #public-home .memory-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #public-home .memory-copy h2 {
    font-size: 2.7rem;
    max-width: none;
  }

  #public-home .memory-copy .text-action {
    margin-top: 1rem;
  }

  #public-home .memory-art figcaption {
    margin-inline: 0;
  }

  #public-home .footer-inner {
    min-height: 4.5rem;
  }
}

@media (max-width: 430px) {
  #public-home .topbar-inner {
    column-gap: .35rem;
  }

  #public-home .topbar .wordmark {
    font-size: 1.35rem;
  }

  #public-home .topbar nav {
    gap: .45rem;
  }

}

@media (max-width: 379px) {
  #public-home .topbar-inner {
    flex-wrap: wrap;
    gap: 0;
    padding-block: .45rem .2rem;
  }

  #public-home .topbar nav {
    width: 100%;
    justify-content: space-between;
    gap: .45rem;
  }

  #public-home .scene-caption {
    column-gap: .55rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  html:has(#auth-view:not([hidden]) > #public-home:not([hidden])) {
    scroll-behavior: auto;
  }

  #public-home *,
  #public-home *::before,
  #public-home *::after {
    scroll-behavior: auto!important;
    animation-duration: .001ms!important;
    transition-duration: .001ms!important;
  }
}

#public-home .flow-sr,
#public-home .flow-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#public-home .more-activities,
#public-home .flow-text {
  background: transparent;
  color: #064f4b;
  text-underline-offset: .24em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

#public-home .more-activities {
  display: block;
  margin: .45rem auto 0;
  padding: .45rem 1rem;
}

body:has(#public-home #home-sheet[open]) {
  overflow: hidden;
}

#public-home #home-sheet {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(480px,calc(100% - 2rem));
  max-width: none;
  max-height: min(90dvh,850px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 1px solid #d1e0dc;
  border-radius: 18px;
  background: #fff;
  color: #073c39;
  box-shadow: 0 18px 80px #002c2c38;
  font-family: inherit;
  text-align: left;
}

#public-home #home-sheet::backdrop {
  background: rgb(2 37 36 / .60);
}

#public-home #home-close-sheet {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #cddbd8;
  border-radius: 50%;
  color: #073c39;
  background: white;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 3px 9px #062e2710;
}

#public-home #home-sheet button,
#public-home #home-sheet input,
#public-home #home-sheet textarea {
  font-family: inherit;
}

#public-home #home-sheet button:focus-visible,
#public-home #home-sheet label:focus-visible,
#public-home .flow-file:focus-visible+label,
#public-home .more-activities:focus-visible {
  outline: 3px solid #bd4606;
  outline-offset: 3px;
}

#public-home .flow-body {
  padding: 1.6rem clamp(1.15rem,5vw,2rem) 2rem;
}

#public-home .flow-top {
  padding-top: 2.25rem;
}

#public-home .flow-top>.flow-heading:first-child,
#public-home .flow-top>.flow-place:first-child {
  padding-right: 2.3rem;
}

#public-home .flow-cover,
#public-home .flow-banner {
  display: block;
  width: 100%;
  object-fit: cover;
}

#public-home .flow-cover {
  height: clamp(150px,27vh,240px);
}

#public-home .flow-banner {
  height: clamp(130px,23vh,185px);
  border-radius: 8px;
  margin: 1rem 0;
}

#public-home .flow-heading {
  font: inherit;
  font-size: clamp(2.1rem,5.6vw,2.8rem);
  font-weight: 620;
  line-height: 1.03;
  letter-spacing: -.05em;
  margin: 0;
}

#public-home .flow-heading:focus {
  outline: none;
}

#public-home .flow-place,
#public-home .flow-meta,
#public-home .flow-note,
#public-home .flow-lead,
#public-home .flow-fine,
#public-home .memory-caption {
  line-height: 1.44;
}

#public-home .flow-place {
  margin: 0 0 .38rem;
  font-size: .98rem;
  font-weight: 570;
  color: #265f58;
}

#public-home .flow-meta {
  margin: .6rem 0;
  font-size: 1rem;
  font-weight: 540;
}

#public-home .flow-note,
#public-home .flow-lead {
  margin: .8rem 0 1.1rem;
  font-size: 1.05rem;
}

#public-home .flow-fine {
  margin: .6rem 0;
  color: #43625b;
  font-size: .88rem;
}

#public-home .flow-primary,
#public-home .flow-secondary {
  border-radius: 8px;
  min-height: 45px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: .66rem 1.12rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

#public-home .flow-primary {
  background: #03534f;
  color: #fff;
  border: 1px solid #03534f;
}

#public-home .flow-primary:hover {
  background: #083e3b;
}

#public-home .flow-secondary {
  background: #fff;
  border: 1px solid #819a92;
  color: #073c39;
}

#public-home .flow-secondary:hover {
  background: #edf7f3;
  border-color: #527b6d;
}

#public-home .flow-text:hover {
  text-decoration-thickness: 2px;
}

#public-home .flow-caption,
#public-home .invite-url {
  caret-color: var(--deep);
}

#public-home .flow-text {
  padding: .45rem .65rem;
}

#public-home .flow-primary+.flow-text {
  margin-left: .35rem;
}

#public-home .flow-primary:disabled {
  opacity: .58;
  cursor: wait;
}

#public-home .activity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}

#public-home .invite-card {
  margin: 1rem 0;
  padding: .65rem .65rem .8rem;
  border: 1px solid #daebe6;
  background: #f2faf7;
  border-radius: 8px;
}

#public-home .invite-cover {
  width: 100%;
  aspect-ratio: 2.8;
  object-fit: cover;
  border-radius: 4px;
}

#public-home .invite-card h3 {
  margin: .65rem 0 .2rem;
  font-size: 1.4rem;
  line-height: 1.15;
}

#public-home .invite-card .flow-meta {
  margin: .25rem 0 0;
}

#public-home .invite-url {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0 0 .7rem;
  padding: .55rem .7rem;
  font: inherit;
  color: inherit;
  border: 1px solid #819a92;
  border-radius: 6px;
  background: white;
}

#public-home .invite-status {
  margin: .55rem 0;
  color: #16594f;
  font-size: .93rem;
}

#public-home .invite-status:empty {
  margin: 0;
}

#public-home .staple-form {
  display: block;
}

#public-home .staple-frame,
#public-home .memory-print {
  position: relative;
  margin: 0 0 .8rem;
  background: #fff;
  padding: .5rem;
  border: 1px solid #dce8e3;
  box-shadow: 1px 4px 9px #0a38341a;
}

#public-home .staple-frame::before,
#public-home .memory-print::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: calc(50% - 13px);
  top: 1px;
  width: 27px;
  height: 5px;
  border: 2px solid #df5219;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  transform: rotate(-4deg);
}

#public-home .staple-preview,
#public-home .memory-photo {
  width: 100%;
  height: clamp(135px,21vh,205px);
  object-fit: cover;
  display: block;
}

#public-home .staple-preview.personal-photo,
#public-home .memory-photo.personal-photo {
  height: auto;
  max-height: min(48vh,420px);
  object-fit: contain;
  background: #edf5f2;
}

#public-home .flow-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .3rem;
}

#public-home .flow-label {
  display: block;
  font-weight: 600;
  margin: 1rem 0 .35rem;
}

#public-home .flow-caption {
  display: block;
  width: 100%;
  resize: vertical;
  font: inherit;
  font-size: 1rem;
  padding: .6rem .75rem;
  box-sizing: border-box;
  border: 1px solid #829d96;
  border-radius: 6px;
  margin-bottom: 1rem;
  color: #103d39;
  background: #fff;
}

#public-home .flow-caption:focus-visible {
  outline: 3px solid #c0440c;
  outline-offset: 1px;
}

#public-home .memory-print {
  background: #fffcf6;
  transform: rotate(-1deg);
  margin: 1rem .2rem;
}

#public-home .memory-print figcaption {
  font-size: .9rem;
  font-weight: 600;
  margin: .45rem .15rem .05rem;
}

#public-home .memory-caption {
  margin: 1rem 0;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

#public-home .staple-list {
  display: grid;
  gap: .6rem;
}

#public-home .saved-entry {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: .9rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #f4faf8;
  border: 1px solid #d9e6e1;
  border-radius: 8px;
  padding: .48rem;
  width: 100%;
}

#public-home .saved-entry:hover {
  background: #e7f5ee;
}

#public-home .saved-thumb {
  width: 78px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}

#public-home .saved-words {
  min-width: 0;
  display: grid;
  gap: .2rem;
}

#public-home .saved-words strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

#public-home .saved-words span {
  font-size: .9rem;
  color: #42625a;
}

@media (max-width: 550px) {
  #public-home #home-sheet {
    inset: auto 0 0;
    margin: 0 auto;
    border-radius: 17px 17px 0 0;
    width: 100%;
    max-height: 92dvh;
    box-sizing: border-box;
  }

  #public-home .flow-body {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom,0px));
  }
}

@media (prefers-reduced-motion:no-preference) {
  #public-home #home-sheet[open] {
    animation: home-sheet-enter .18s cubic-bezier(.2,.75,.25,1);
  }

  @keyframes home-sheet-enter {
    from {
      opacity: .72;
      transform: translateY(7px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

body:has(#auth-view:not([hidden]) > #public-home:not([hidden])) > :is(.site-masthead, .site-footer) {
  display: none;
}

#main:has(#auth-view:not([hidden]) > #public-home:not([hidden])) {
  width: 100%;
  max-width: none;
  padding: 0;
}

#main:has(#auth-view:not([hidden]) > #public-home:not([hidden])) > :is(#verified-discovery-public, #global-message, #together-sign-in) {
  max-width: 1370px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.4vw, 3.85rem);
}

#auth-view.public-entry > #sign-in-panel {
  max-width: 39rem;
  margin: clamp(1.5rem, 4vw, 3.75rem) auto;
  padding-inline: clamp(1rem, 4vw, 2.75rem);
  border: 0;
}

#auth-view.public-entry:has(> #public-home:not([hidden])) > #sign-in-panel {
  display: none;
}

#public-home .home-footer .wordmark img {
  filter: brightness(0) invert(1);
}

#public-home .scene-sample {
  margin-inline-start: .25em;
  color: #365a53;
  font-size: .7em;
  font-weight: 570;
}

#public-home .live-discovery-link {
  display: inline-flex;
  align-items: center;
  margin-top: .75rem;
  min-height: 44px;
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: .23em;
  font-size: .96rem;
  font-weight: 570;
}

#public-home .ticket:not(:has(img.ticket-photo)) {
  grid-template-areas: "copy stub";
  grid-template-columns: minmax(0,1fr) var(--stub);
  grid-template-rows: minmax(7.25rem,1fr);
}

#public-home .ticket-text-face {
  display: none;
}

#public-home .ticket-availability {
  margin-top: .3rem;
  color: #365a53;
  font-size: .88rem;
  line-height: 1.35;
}

#public-home .staple-preview,
#public-home .memory-photo {
  max-height: min(48vh, 420px);
}

#public-home #home-collection {
  color: var(--deep);
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: .18em;
}

@media (prefers-reduced-motion: reduce) {
  #public-home,
  #public-home * {
    scroll-behavior: auto;
  }
}
