:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --card: #f5f5f7;
  --slot-ink: #f5f5f7;
  --dot-idle: rgba(29, 29, 31, 0.28);
  --column: 65rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  background: #ffffff;
  color: #1d1d1f;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.45;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
}

h2 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}

h3 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.column {
  max-width: var(--column);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
  text-align: center;
}

.media-slot {
  margin: 0;
  background: var(--ink);
  color: var(--slot-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  width: 100%;
}

.media-slot p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.scrub-film {
  width: min(36rem, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scrub-stage {
  position: relative;
  width: 100%;
}

.scrub-video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--card);
  border-radius: 1.25rem;
}

.scrub-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.scrub-pill {
  position: relative;
  display: flex;
  align-items: center;
  width: 11.25rem;
  height: 2.75rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: #e6e6eb;
}

.scrub-range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 1.25rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.scrub-range::-webkit-slider-runnable-track {
  height: 0.22rem;
  border-radius: 999px;
  background: #c7c7cc;
}

.scrub-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: -0.46rem;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #1d1d1f;
  cursor: pointer;
}

.scrub-range::-moz-range-track {
  height: 0.22rem;
  border: 0;
  border-radius: 999px;
  background: #c7c7cc;
}

.scrub-range::-moz-range-thumb {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #1d1d1f;
  cursor: pointer;
}

.scrub-play {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e6e6eb;
  cursor: pointer;
}

.scrub-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-style: solid;
  border-width: 0.48rem 0 0.48rem 0.78rem;
  border-color: transparent transparent transparent #1d1d1f;
}

.scrub-play.is-playing::before {
  width: 0.72rem;
  height: 0.78rem;
  margin-left: 0;
  border: 0;
  background:
    linear-gradient(#1d1d1f, #1d1d1f) left center / 0.22rem 100% no-repeat,
    linear-gradient(#1d1d1f, #1d1d1f) right center / 0.22rem 100% no-repeat;
}

.film-title {
  margin-bottom: 0;
}

.design-film {
  width: min(48rem, 100%);
  margin-inline: auto;
}

.design-slot {
  width: 100%;
  aspect-ratio: 1040 / 720;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #000000;
}

.design-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.design-mute {
  color: #1d1d1f;
}

.design-mute::before {
  display: none;
}

.design-mute svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.design-mute .icon-muted {
  display: none;
}

.design-mute.is-muted .icon-sound {
  display: none;
}

.design-mute.is-muted .icon-muted {
  display: block;
}

.design-slot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-kicker,
.hero h1,
.hero-sub,
.hero .lede,
.hero-when {
  width: 100%;
  text-align: center;
}

.hero-kicker {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero h1 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3.25rem, 8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
}

.hero-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.hero .lede,
.hero-when {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
}

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-when {
  font-size: 0.8125rem;
  line-height: 1.2;
}

.notify-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.35rem 0.35rem 0.35rem 1.15rem;
  border-radius: 999px;
  background: #f5f5f7;
}

.notify-bar p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  margin: 0;
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: #0071e3;
  color: #ffffff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
}

.notify-btn:hover,
.notify-btn:focus-visible {
  background: #0077ed;
}

.highlights {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

#overview-heading {
  scroll-margin-top: 4.5rem;
}

.highlights-head h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.site-bar:not([hidden]) {
  position: fixed;
  top: max(0.65rem, env(safe-area-inset-top));
  left: 0;
  right: 0;
  width: min(800px, calc(100% - 1.3rem));
  max-width: 800px;
  margin-inline: auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  backdrop-filter: saturate(180%) blur(20px);
}

.site-bar-name {
  margin: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
}

.site-bar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.pose {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.pose figure {
  width: min(36rem, 100%);
  margin: 0 auto 1rem;
}

.pose figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.album-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  width: min(34rem, 100%);
  margin: 0 auto 1rem;
}

.album-pair--three {
  width: min(48rem, 100%);
  gap: 1rem;
}

.controls {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f5f5f7 12%,
    #f5f5f7 88%,
    #ffffff 100%
  );
  text-align: center;
}

.controls h2 {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.transport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(4rem, 12vw, 9rem);
  width: min(65rem, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 6vw, 5rem);
  border-radius: 2rem;
  background: #ffffff;
  box-sizing: border-box;
}

.transport-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  width: min(22rem, 100%);
}

.transport-item button {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  min-height: 3.35rem;
  margin: 0;
  padding: 0.7rem 1.15rem 0.7rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 1.08rem;
  text-align: left;
  cursor: pointer;
}

.transport-item button svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.transport-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-block: 0.15rem;
}

.transport-label {
  font-weight: 600;
  line-height: 1.2;
}

.transport-note {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.transport-note > span {
  overflow: hidden;
  min-height: 0;
  padding-top: 0.4rem;
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.35;
}

.transport-item.is-on button {
  align-items: flex-start;
}

.transport-item.is-on button svg {
  margin-top: 0.12rem;
}

.transport-item.is-on .transport-note {
  grid-template-rows: 1fr;
}

@media (prefers-reduced-motion: reduce) {
  .transport-note {
    transition: none;
  }
}

.controls .transport-phone {
  position: relative;
  flex: 0 0 auto;
  width: min(15rem, 34%);
  margin: 0;
}

.transport-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.transport-mark {
  display: none;
  position: absolute;
  border: 2px solid #0071e3;
  border-radius: 0.45rem;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.28);
  pointer-events: none;
}

.transport-mark.is-on {
  display: block;
}

@media (max-width: 700px) {
  .transport {
    flex-direction: column;
    align-items: stretch;
  }

  .transport-list,
  .controls .transport-phone {
    width: min(18rem, 100%);
    margin-inline: auto;
  }
}

.pose .album-pair figure {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  margin: 0;
}

@media (max-width: 700px) {
  .album-pair {
    flex-direction: column;
    align-items: center;
  }

  .pose .album-pair figure {
    width: min(16rem, 100%);
  }
}

.pose p {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  color: var(--muted);
}

.drift-pair,
.rise-row {
  margin-bottom: 0;
}

.drift-pair figure,
.rise-row figure {
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .drift-pair [data-drift],
  .rise-row [data-rise] {
    opacity: 0;
    transition: opacity 0.7s ease;
  }

  .drift-pair [data-drift].is-in,
  .rise-row [data-rise].is-in {
    opacity: 1;
  }

  .drift-pair [data-drift="fast"] {
    transform: translate3d(0, 34vh, 0);
  }

  .drift-pair [data-drift="slow"] {
    transform: translate3d(0, 10vh, 0);
  }

  .rise-row [data-rise] {
    transform: translate3d(0, 4.5rem, 0);
  }
}

.rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.card {
  width: min(var(--column), 100%);
  background: var(--card);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.card h3 {
  margin-bottom: 1rem;
}

.card-media {
  margin: 0 0 1rem;
}

.figure-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 36rem);
  object-fit: contain;
  margin-inline: auto;
}

.empty-frame {
  min-height: 12rem;
  border-radius: 0.75rem;
}

.card-caption {
  color: var(--ink);
  max-width: 36rem;
  margin-inline: auto;
}

.rail-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--dot-idle);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.dot--active {
  width: 2rem;
  background: var(--ink);
}

.dot:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.pause-btn {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(29, 29, 31, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
}

.pause-btn:hover,
.pause-btn:focus-visible {
  border-color: var(--ink);
}

.face-color {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2.5rem, 6vw, 4rem);
}

.face-color p {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--muted);
}

.color-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: min(56rem, 100%);
  margin: 2.75rem auto 1.35rem;
}

.color-pair {
  position: relative;
  margin: 0;
}

.color-pair--front {
  width: min(16rem, 32%);
  aspect-ratio: 273 / 379;
}

.color-pair--full {
  width: min(34rem, 62%);
  aspect-ratio: 534 / 387;
}

.color-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.color-frame[data-color="night"] {
  z-index: 1;
}

.color-frame[data-color="star"] {
  z-index: 2;
}

.color-frame.is-on {
  opacity: 1;
}

.color-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.color-picks {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.35rem;
  padding-bottom: 1.4rem;
}

.color-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.color-dot {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.color-dot--night {
  background: #343d48;
}

.color-dot--star {
  background: #eae8e7;
}

.color-pick.is-on .color-dot {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.18),
    0 0 0 2px #ffffff,
    0 0 0 3.5px var(--ink);
}

.color-name {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink);
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
}

.color-pick.is-on .color-name {
  opacity: 1;
}

@media (max-width: 700px) {
  .color-stage {
    flex-direction: column;
  }

  .color-pair--front,
  .color-pair--full {
    width: min(20rem, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .color-frame {
    transition: none;
  }
}

.closer {
  padding-block: clamp(0.5rem, 2vw, 1.25rem) clamp(2.5rem, 6vw, 4rem);
}

.closer p {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--muted);
}

.closer p + p {
  margin-top: 0.85rem;
}

.site-footer {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding: 1.15rem clamp(1.25rem, 5vw, 3rem) 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

html.slider-on .rail {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  gap: 1.25rem;
  scroll-padding-inline: max(1.25rem, calc((100% - min(65rem, calc(100vw - 5.5rem))) / 2));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

html.slider-on .rail.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

html.slider-on .rail img {
  -webkit-user-drag: none;
  user-select: none;
}

html.slider-on .rail::-webkit-scrollbar {
  display: none;
}

html.slider-on .card {
  flex: 0 0 min(65rem, calc(100vw - 5.5rem));
  width: min(65rem, calc(100vw - 5.5rem));
  scroll-snap-align: center;
}

html:not(.slider-on) .rail-controls {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    transition: none;
  }
}

html.notify-open {
  overflow: hidden;
}

.notify-scrim:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.notify-sheet {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 40;
}

.notify-form {
  position: relative;
  padding: 2.75rem 1.5rem 1.5rem;
}

.notify-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #e8e8ed;
  color: var(--ink);
  cursor: pointer;
}

.notify-close svg {
  width: 0.7rem;
  height: 0.7rem;
}

.notify-fields {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.notify-fields[hidden] {
  display: none;
}

.notify-sheet h2 {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -0.022em;
  line-height: 1.15;
  text-align: center;
}

.notify-fields p {
  margin: 0;
}

.notify-fields p {
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.notify-done {
  margin: 0.7rem 0 0.35rem;
  padding: 0 0.5rem 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.notify-label,
.notify-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notify-field input {
  width: 100%;
  height: 3.15rem;
  border: 0;
  border-radius: 0.8rem;
  background: var(--card);
  color: var(--ink);
  padding: 0 1rem;
  font: inherit;
  font-size: 1.05rem;
}

.notify-field input:focus {
  outline: 2px solid #0071e3;
  outline-offset: 1px;
}

.notify-error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
  text-align: center;
}

.notify-send {
  width: 100%;
  min-height: 3rem;
}

.notify-send:disabled {
  opacity: 0.55;
  cursor: default;
}
