/* Nora — black & white disposable film */
:root {
  --ink: #0a0a0a;
  --paper: #f5f2eb;
  --grain: #2a2a2a;
  --mid: #6b6b6b;
  --flash: #ffffff;
  --develop: #c8c4b8;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Atmosphere: film rails + vignette + light leak (no live grain canvas) */
.film-rails {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  display: flex;
  justify-content: space-between;
}

.film-rail {
  width: 1.35rem;
  height: 200%;
  margin-top: -25%;
  opacity: 0.55;
  background-color: rgba(8, 8, 8, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='36' viewBox='0 0 22 36'%3E%3Crect width='22' height='36' fill='%230a0a0a' fill-opacity='0.35'/%3E%3Crect x='5' y='5' width='12' height='8' rx='2.5' fill='%23f5f2eb' fill-opacity='0.14'/%3E%3Crect x='5' y='23' width='12' height='8' rx='2.5' fill='%23f5f2eb' fill-opacity='0.14'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 100% 2.15rem;
  border-left: 1px solid rgba(245, 242, 235, 0.06);
  border-right: 1px solid rgba(245, 242, 235, 0.06);
  animation: film-advance 22s linear infinite;
  will-change: transform;
}

.film-rail-left {
  border-left: none;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.35);
}

.film-rail-right {
  border-right: none;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35);
  animation-direction: reverse;
}

@keyframes film-advance {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-2.15rem);
  }
}

.dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 49;
  opacity: 0.35;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(245, 242, 235, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, rgba(245, 242, 235, 0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 64% 34%, rgba(245, 242, 235, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 58%, rgba(245, 242, 235, 0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 88%, rgba(245, 242, 235, 0.3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 73% 12%, rgba(245, 242, 235, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 9% 46%, rgba(245, 242, 235, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 81%, rgba(245, 242, 235, 0.4) 50%, transparent 51%);
  background-size: 100% 100%;
  animation: dust-drift 40s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes dust-drift {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.22;
  }
  to {
    transform: translate3d(-1.5%, 2%, 0);
    opacity: 0.4;
  }
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 48;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

@media (max-width: 720px) {
  .film-rail {
    width: 0.85rem;
    opacity: 0.4;
  }
}

@media (max-width: 420px) {
  .film-rails {
    display: none;
  }
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  mix-blend-mode: difference;
}

.site-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flash);
  opacity: 0.75;
  transition: opacity 0.3s var(--ease);
}

.site-nav a:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
}

.nav-links a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}

.nav-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 1 !important;
}

/* Inner marketing pages */
.page-shell {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0 0;
  min-height: 100vh;
  animation: page-in 0.9s var(--ease) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-shell > .section:first-child,
.page-shell > .pricing-section:first-child {
  padding-top: 2rem;
}

.explore {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.explore-link {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-top: 1px solid var(--grain);
  opacity: 0;
  transform: translateX(-12px);
  transition:
    color 0.25s var(--ease),
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.explore-link.in {
  opacity: 1;
  transform: translateX(0);
}

.explore-link:last-child {
  border-bottom: 1px solid var(--grain);
}

.explore-link:hover {
  color: var(--flash);
}

.explore-link .frame-no {
  padding-top: 0;
}

.explore-link h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.explore-link p {
  color: var(--mid);
  font-size: 0.8rem;
  max-width: 26rem;
}

.explore-arrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--develop);
  align-self: center;
}

@media (max-width: 520px) {
  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.62rem;
  }

  .explore-link {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.85rem;
  }

  .explore-arrow {
    display: none;
  }
}

/* Hero — one composition */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, #1a1a1a 0%, var(--ink) 70%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 3px
  );
  pointer-events: none;
}

.hero-logo {
  width: min(36vw, 168px);
  height: auto;
  margin-bottom: 1.75rem;
  filter: contrast(1.05);
  animation:
    brand-in 1.4s var(--ease) both,
    aperture-breathe 6s 1.6s ease-in-out infinite;
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: scale(0.94);
    filter: blur(6px) contrast(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) contrast(1.05);
  }
}

@keyframes aperture-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.92;
  }
}

.hero-tag {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin-bottom: 0.85rem;
  min-height: 1.3em;
}

.hero-tag.typing::after {
  content: "";
  display: inline-block;
  width: 0.55ch;
  height: 0.9em;
  margin-left: 0.15em;
  background: var(--develop);
  vertical-align: -0.05em;
  animation: caret-blink 0.9s steps(1) infinite;
}

@keyframes caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero-sub {
  max-width: 28rem;
  color: var(--mid);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  animation: rise 1.2s 0.4s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: rise 1.2s 0.55s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--flash);
  cursor: pointer;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn-primary {
  background: var(--flash);
  color: var(--ink);
}

.btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--mid);
  animation: rise 1.2s 0.7s var(--ease) both;
}

.hero-counter span {
  color: var(--develop);
  display: inline-block;
}

.hero-counter span.tick {
  animation: counter-tick 0.45s var(--ease);
}

@keyframes counter-tick {
  from {
    opacity: 0.35;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  position: relative;
  padding: 5.5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.section-title.will-reveal {
  opacity: 0;
  transform: translateY(16px);
}

.section-title.will-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.section-copy {
  color: var(--develop);
  font-size: 0.85rem;
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--grain) 20%,
    var(--grain) 80%,
    transparent
  );
  border: none;
  margin: 0;
}

/* Ritual steps — not cards; film-strip frames */
.ritual {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ritual-step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--grain);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.ritual-step.in {
  opacity: 1;
  transform: translateY(0);
}

.ritual-step:last-child {
  border-bottom: 1px solid var(--grain);
}

.frame-no {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--mid);
  padding-top: 0.35rem;
}

.frame-no em {
  font-style: normal;
  color: var(--paper);
}

.ritual-step h2,
.ritual-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.ritual-step p {
  color: var(--mid);
  font-size: 0.8rem;
  max-width: 28rem;
}

/* Principles strip */
.principles {
  display: grid;
  gap: 0;
}

.principle {
  padding: 2rem 0;
  border-top: 1px solid var(--grain);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.principle.in {
  opacity: 1;
  transform: translateY(0);
}

.principle:last-child {
  border-bottom: 1px solid var(--grain);
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.principle p {
  color: var(--mid);
  font-size: 0.8rem;
  max-width: 26rem;
}

/* Product moments */
.moments-section {
  max-width: 760px;
}

.moments-device {
  margin: 0 auto 3rem;
  max-width: 280px;
  text-align: center;
  transform: translateY(28px) scale(0.96);
  filter: blur(4px);
}

.moments-device.in {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.moments-device img {
  width: 100%;
  height: auto;
  filter: contrast(1.04);
}

.moments-device figcaption {
  margin-top: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--mid);
  line-height: 1.6;
}

.moments-device figcaption span {
  display: block;
  color: var(--develop);
  letter-spacing: 0.22em;
  margin-bottom: 0.35rem;
}

.moments-beats {
  display: grid;
  gap: 0;
  margin-bottom: 3rem;
}

.moments-beat {
  padding: 1.5rem 0;
  border-top: 1px solid var(--grain);
}

.moments-beat:last-child {
  border-bottom: 1px solid var(--grain);
}

.moments-beat h2,
.moments-beat h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0.5rem 0 0.35rem;
}

.moments-beat p:last-child {
  color: var(--mid);
  font-size: 0.8rem;
  max-width: 28rem;
}

.film-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.film-frame {
  margin: 0;
}

.film-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.08);
}

.film-frame figcaption {
  margin-top: 0.45rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--mid);
}

/* Use cases — interactive film stage */
.nights-section {
  max-width: 920px;
}

.nights-stage {
  margin-top: 0.5rem;
}

.nights-stage[hidden] {
  display: none;
}

.nights-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--grain);
}

.nights-frame {
  margin: 0;
}

.nights-frame-mat {
  position: relative;
  padding: 0.55rem;
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(245, 242, 235, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.nights-frame-mat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(255, 220, 180, 0.07) 50%,
    transparent 60%
  );
  opacity: 0.7;
}

.nights-frame-mat img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.08);
  transform: scale(1.02);
  transition:
    opacity 0.45s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
}

.nights-frame-mat img.is-swap {
  opacity: 0;
  transform: scale(1.06);
  filter: grayscale(0.5) contrast(1.08);
}

.nights-frame-cap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
}

.nights-detail {
  padding-bottom: 0.35rem;
}

.nights-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--develop);
  margin-bottom: 0.75rem;
  transition: opacity 0.35s var(--ease);
}

.nights-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 0.45rem;
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease);
}

.nights-alt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1.25rem;
}

.nights-blurb {
  color: var(--develop);
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 28rem;
  margin-bottom: 1.75rem;
  min-height: 4.5em;
}

.nights-detail.is-swap .nights-kicker,
.nights-detail.is-swap .nights-name,
.nights-detail.is-swap .nights-alt,
.nights-detail.is-swap .nights-blurb {
  opacity: 0;
  transform: translateY(6px);
}

.nights-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--grain);
}

.nights-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grain);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.nights-meta span {
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
}

.nights-meta em {
  font-style: normal;
  color: var(--paper);
  text-align: right;
}

.nights-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.nights-tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition:
    border-color 0.3s var(--ease),
    opacity 0.3s var(--ease),
    transform 0.35s var(--ease);
}

.nights-tab:hover {
  transform: translateY(-2px);
}

.nights-tab:focus-visible {
  outline: 1px solid var(--flash);
  outline-offset: 3px;
}

.nights-tab-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.05);
  opacity: 0.55;
  transition:
    filter 0.35s var(--ease),
    opacity 0.35s var(--ease);
}

.nights-tab[aria-selected="true"] {
  border-color: var(--flash);
  padding: 0.3rem;
}

.nights-tab[aria-selected="true"] .nights-tab-thumb {
  filter: grayscale(0.1) contrast(1.08);
  opacity: 1;
}

.nights-tab-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}

.nights-tab[aria-selected="true"] .nights-tab-label {
  color: var(--paper);
}

/* noscript / fallback strip */
.nights-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
}

.night {
  margin: 0;
}

.night img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}

.night figcaption {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.night-type {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}

.night-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--paper);
  letter-spacing: 0.02em;
}

@media (max-width: 800px) {
  .nights-feature {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.75rem;
  }

  .nights-frame {
    max-width: 320px;
  }

  .nights-blurb {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .nights-picker {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .nights-tab {
    flex: 0 0 4.75rem;
    scroll-snap-align: start;
  }

  .nights-tab-label {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .nights-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Guests — invite / App Clip */
.guests-section {
  max-width: 720px;
}

.guest-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.25rem;
}

.guest-step {
  padding: 1.5rem 0;
  border-top: 1px solid var(--grain);
}

.guest-step:last-child {
  border-bottom: 1px solid var(--grain);
}

.guest-step h2,
.guest-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0.5rem 0 0.35rem;
}

.page-cta {
  justify-content: flex-start;
  animation: none;
  margin-top: 2.5rem;
}

/* FAQ accordion */
.faq-section {
  max-width: 720px;
}

.faq-list {
  border-top: 1px solid var(--grain);
}

.faq-item {
  border-bottom: 1px solid var(--grain);
  padding: 0;
  transition-delay: calc(var(--i, 0) * 60ms);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--paper);
  transition: color 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--mid);
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}

.faq-item[open] summary::after {
  content: "–";
  color: var(--paper);
}

.faq-item summary:hover {
  color: var(--flash);
}

.faq-item p {
  padding: 0 0 1.35rem;
  color: var(--mid);
  font-size: 0.82rem;
  max-width: 34rem;
  line-height: 1.7;
}

.faq-item a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guest-step p:last-child {
  color: var(--mid);
  font-size: 0.8rem;
  max-width: 28rem;
}

.guests-cta {
  justify-content: flex-start;
  animation: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.film-frame {
  transform: translateY(24px) rotate(var(--tilt, 0deg));
  filter: grayscale(0.55) contrast(1.08);
}

.film-frame.in {
  transform: translateY(0) rotate(var(--tilt, 0deg));
  filter: grayscale(0.25) contrast(1.08);
}

.film-frame:nth-child(1) {
  --tilt: -1.4deg;
}
.film-frame:nth-child(2) {
  --tilt: 1.1deg;
}
.film-frame:nth-child(3) {
  --tilt: -0.8deg;
}
.film-frame:nth-child(4) {
  --tilt: 1.5deg;
}

@media (max-width: 520px) {
  .film-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .moments-device {
    max-width: 220px;
  }
}

/* Interactive pricing calculator */
.pricing-section {
  max-width: 640px;
}

.pricing-calc {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.pricing-calc.in {
  opacity: 1;
  transform: translateY(0);
}

.pricing-block {
  padding: 1.75rem 0;
  border-top: 1px solid var(--grain);
}

.pricing-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pricing-block-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--paper);
}

.pricing-block-price {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    color 0.35s var(--ease);
}

.pricing-block-price.is-free {
  color: var(--develop);
}

.pricing-block-price.is-empty {
  opacity: 0;
}

.pricing-block-price.tick {
  animation: price-tick 0.35s var(--ease);
}

@keyframes price-tick {
  from {
    opacity: 0.35;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pricing-chip {
  appearance: none;
  background: transparent;
  border: 1px solid var(--grain);
  color: var(--mid);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.pricing-chip:hover {
  border-color: var(--mid);
  color: var(--paper);
}

.pricing-chip[aria-checked="true"] {
  border-color: var(--flash);
  color: var(--ink);
  background: var(--flash);
}

.pricing-hint {
  margin-top: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--mid);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--grain);
  border-bottom: 1px solid var(--grain);
  cursor: pointer;
}

.pricing-toggle-main {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.pricing-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pricing-toggle-ui {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border: 1px solid var(--mid);
  background: transparent;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.pricing-toggle input:checked + .pricing-toggle-ui {
  background: var(--flash);
  border-color: var(--flash);
  box-shadow: inset 0 0 0 3px var(--ink);
}

.pricing-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.pricing-toggle-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--paper);
  line-height: 1.2;
}

.pricing-toggle-sub {
  font-size: 0.68rem;
  color: var(--mid);
  letter-spacing: 0.04em;
}

.pricing-total {
  margin-top: 2rem;
  padding-top: 0.25rem;
}

.pricing-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pricing-total-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: var(--paper);
}

.pricing-total-amount {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}

.pricing-total-amount.is-free {
  color: var(--develop);
}

.pricing-breakdown {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  border-top: 1px solid var(--grain);
}

.pricing-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--grain);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--mid);
}

.pricing-breakdown li span:last-child {
  color: var(--develop);
  white-space: nowrap;
}

.pricing-breakdown:empty {
  display: none;
}

.pricing-note {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.pricing-cta {
  justify-content: flex-start;
  animation: none;
}

@media (max-width: 520px) {
  .pricing-chip {
    padding: 0.6rem 0.7rem;
    font-size: 0.64rem;
  }

  .pricing-toggle {
    align-items: flex-start;
  }

  .pricing-total-row {
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* Closing CTA */
.closing {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  background: linear-gradient(180deg, var(--ink) 0%, #121212 50%, var(--ink) 100%);
}

.closing .section-title {
  margin-left: auto;
  margin-right: auto;
}

.closing .section-copy {
  margin-left: auto;
  margin-right: auto;
}

.closing .hero-cta {
  animation: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--grain);
  padding: 2.5rem 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
}

.footer-meta {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--mid);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--develop);
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--flash);
}

/* Legal pages */
.legal {
  max-width: 640px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.legal .updated {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal h2.legal-part {
  font-size: 1.85rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grain);
}

.legal h2.legal-part:first-of-type {
  margin-top: 2rem;
  padding-top: 0;
  border-top: none;
}

.legal p,
.legal li {
  color: var(--develop);
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flash-overlay {
  position: fixed;
  inset: 0;
  background: var(--flash);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.08s linear;
}

.flash-overlay.on {
  opacity: 0.85;
}

@media (max-width: 520px) {
  .site-nav {
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .ritual-step {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.85rem;
  }
}

/* App Clip QR (landing + /app-clip-qr) */
.clip-section {
  position: relative;
  z-index: 2;
  text-align: center;
}

.clip-qr {
  display: block;
  width: min(72vw, 260px);
  margin: 2rem auto 1.25rem;
  padding: 1.1rem;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.clip-qr img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.clip-code {
  display: inline-block;
  border: 1px solid var(--grain);
  padding: 0.7rem 1.2rem;
  letter-spacing: 0.4em;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--paper);
}

.clip-url {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--mid);
  word-break: break-all;
  margin: 0 auto 1.75rem;
  max-width: 22rem;
}

/* Guest join / App Clip fallback */
.join-page .join-main {
  position: relative;
  z-index: 2;
  max-width: 28rem;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 4rem;
  text-align: center;
}

.join-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 4.5rem);
  line-height: 1;
  margin: 0.35rem 0 0.75rem;
}

.join-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2rem;
}

.join-code {
  display: inline-block;
  border: 1px solid var(--grain);
  padding: 0.85rem 1.35rem;
  letter-spacing: 0.4em;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--paper);
}

.join-copy {
  color: var(--mid);
  font-size: 0.8rem;
  line-height: 1.7;
  margin: 0 auto 2rem;
  max-width: 22rem;
}

.join-cta {
  justify-content: center;
  margin-bottom: 1.25rem;
}

.join-hint {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a4a;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .ritual-step,
  .principle,
  .pricing-calc,
  .explore-link,
  .section-title.will-reveal,
  .moments-device,
  .film-frame {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .film-rail,
  .dust {
    animation: none !important;
  }

  .dust {
    opacity: 0.2;
  }

  .hero-tag.typing::after {
    display: none;
  }
}
