/* Landing page.
   A calm white page, interrupted by a few full-bleed blurred "memory" moments,
   with one arch-shaped window as the signature. See designphilososphy.md.
   Own tokens (--pp-*) so the shared brand.css, used by the studio and guest
   pages, is left alone. */


:root { --gutter: clamp(20px, 4vw, 48px); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--pp-white); color: var(--pp-body); font: 400 17px/1.6 var(--pp-sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pp-teal-deep); outline-offset: 3px; }
.mist :focus-visible, .nav :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--pp-ink); color: #fff; padding: 10px 16px; border-radius: 2px; }
.skip:focus { top: 12px; }
.vh { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 900px; }

/* ---------- type ---------- */
.display { font-family: var(--pp-sans); font-weight: 300; letter-spacing: -0.025em; line-height: 1.06; color: var(--pp-ink); }
.eyebrow.on-dark { color: var(--pp-teal-light); }
.details { font-size: 0.75rem; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.details.dark { color: var(--pp-cap); }
.fine { font-size: 0.85rem; color: var(--pp-cap); }
.center { text-align: center; }

/* ---------- buttons: flat, square-cornered ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 2px; font: 500 0.95rem var(--pp-sans); text-decoration: none; cursor: pointer; transition: background-color .25s ease, border-color .25s ease; }
.btn-teal { background: var(--pp-teal); color: var(--pp-on-teal); }
.btn-teal:hover { background: var(--pp-teal-hover); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 1rem; }
.textlink { color: var(--pp-teal-deep); font-weight: 500; text-decoration: none; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- navigation: transparent over the hero, white once you scroll ---------- */
.nav { position: absolute; z-index: 30; top: 0; left: 0; right: 0; color: #fff; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1240px; margin-inline: auto; padding: 22px var(--gutter); }
.nav-links { display: none; gap: 34px; font-size: 0.92rem; }
.nav-links a { text-decoration: none; opacity: 0.9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav-end { display: flex; align-items: center; gap: 6px; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.wide { display: none; margin-left: 0.3em; }
.logout, .menu-logout { background: none; border: 0; color: inherit; font: inherit; font-size: 0.9rem; cursor: pointer; padding: 0 12px; min-height: 42px; opacity: 0.9; }
.logout:hover, .menu-logout:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.menu-logout { display: block; width: 100%; padding: 12px 14px; text-align: left; font-size: 1rem; color: var(--pp-ink); opacity: 1; }
.menu-logout:hover { background: var(--pp-tint); text-decoration: none; }
@media (max-width: 559px) { .logout { display: none; } }  /* on a phone, Log out lives in the menu */
@media (min-width: 560px) { .wide { display: inline; } }
@media (min-width: 880px) {
  .nav-in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-links { display: flex; }
  .nav-end { justify-self: end; }
  .menu { display: none; }
}
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px; background: #fff; color: var(--pp-ink); border: 1px solid var(--pp-line); border-radius: 2px; }
.menu-list a { display: block; padding: 12px 14px; text-decoration: none; }
.menu-list a:hover { background: var(--pp-tint); }
.menu-list :focus-visible { outline-color: var(--pp-teal-deep); }

@supports (animation-timeline: scroll()) {
  .nav { position: fixed; animation: nav-solid linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  @keyframes nav-solid { from { background-color: rgba(255, 255, 255, 0); color: #fff; } to { background-color: #fff; color: var(--pp-ink); } }
  .nav :focus-visible { outline-color: var(--pp-teal-deep); }
}

/* ---------- the blurred "memory" moments ---------- */
.mist { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.mist-bg { position: absolute; inset: 0; z-index: -2; background: var(--pp-mist); filter: blur(var(--blur, 14px)); transform: scale(1.1); }  /* blur is done here in CSS, never in the file; scaled up so the soft edges stay off screen */
.mist-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mist::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, var(--shade, 0.45)); }  /* flat overlay so text always has contrast */
.mist .display { color: #fff; }
.mist p { color: rgba(255, 255, 255, 0.88); }
.mist .eyebrow { color: var(--pp-teal-light); }

/* the arch: a doorway back into a memory */
.arch { position: relative; border: 1.5px solid rgba(255, 255, 255, 0.92); border-radius: 999px 999px 0 0; padding: 6px; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; background: #D8D8D4; }
.arch-lg { width: min(100%, 420px); aspect-ratio: 3 / 4.5; justify-self: end; }
.arch-sm { width: 150px; aspect-ratio: 3 / 4.2; }
.arch-xs { width: 96px; aspect-ratio: 3 / 4.2; flex: none; }
.arch-priv { width: 120px; aspect-ratio: 3 / 4.2; flex: none; }
.arch-sm, .arch-xs, .arch-priv { border-color: var(--pp-ink); }  /* on white, the outline is ink, not white */

/* ---------- 1 · hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 96px; }
.hero .mist-bg { animation: settle 1.5s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes settle { from { filter: blur(20px); } to { filter: blur(8px); } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 14em; }
.hero .lead { margin-top: 26px; max-width: 32em; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, 0.82); }
.hero .actions { margin-top: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero-arch { position: relative; justify-self: center; width: min(60%, 240px); }
.hero-arch .arch { width: 100%; aspect-ratio: 3 / 4.5; }
.hero-arch img { animation: sharpen 2.4s ease-out .4s both; }
@keyframes sharpen { from { filter: blur(14px); } to { filter: blur(0); } }
.match-tag { position: absolute; left: 4px; bottom: 12%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; background: #fff; color: var(--pp-ink); border-radius: 999px; font-size: 0.78rem; font-weight: 500; white-space: nowrap; }
.match-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--pp-teal); }
.hero-details { position: absolute; left: var(--gutter); bottom: 30px; }
@media (min-width: 1240px) { .hero-details { left: calc(50% - 620px + var(--gutter)); } }
@media (min-width: 700px) { .hero h1 .nb { white-space: nowrap; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .hero-arch { width: min(100%, 400px); justify-self: end; }
  .match-tag { left: -34px; bottom: 14%; }
}
@media (max-width: 959px) { .hero-arch { order: -1; justify-self: start; } .hero { justify-content: flex-start; padding-top: 104px; } }

/* ---------- 2 · story ---------- */
.story { --shade: 0.5; padding: clamp(96px, 14vw, 180px) 0; text-align: center; }
.story-in { display: grid; gap: clamp(22px, 3.4vw, 40px); justify-items: center; }
.story .line, .story-end, .head h2, .feature h2, .cta h2, .hero h1, .quote-in blockquote p { text-wrap: balance; }
.story .line { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 300; line-height: 1.25; letter-spacing: -0.015em; max-width: 22em; }
.story-end { margin-top: clamp(40px, 7vw, 100px); font-size: clamp(2.2rem, 5.2vw, 4.4rem); max-width: 14em; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.tint { background: var(--pp-tint); }
.head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 72px); }
.head.center { justify-items: center; text-align: center; }
.head h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 17em; }
.head p { max-width: 34em; }

/* ---------- 3 · how it works ---------- */
.steps { display: grid; gap: 40px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.step .n { display: block; font-size: clamp(3.6rem, 6vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: #C9C9C4; }
.step h3 { margin: 22px 0 10px; font-size: 1.35rem; font-weight: 400; letter-spacing: -0.01em; color: var(--pp-ink); }
.step p { max-width: 24em; }

.phone { max-width: 980px; margin: clamp(56px, 8vw, 96px) auto 0; }
.phone img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #E8E8E4; }

.demo { margin-top: clamp(40px, 6vw, 72px); }
.pills { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.pills label { padding: 9px 20px; border-radius: 999px; background: #EFEFEC; color: var(--pp-body); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background-color .25s ease; }
.pills label:hover { background: #E6E6E2; }
#v-guest:checked ~ .pills label[for="v-guest"], #v-photog:checked ~ .pills label[for="v-photog"] { background: var(--pp-teal); color: var(--pp-on-teal); }
#v-guest:focus-visible ~ .pills label[for="v-guest"], #v-photog:focus-visible ~ .pills label[for="v-photog"] { outline: 2px solid var(--pp-teal-deep); outline-offset: 3px; }

.device { max-width: 820px; margin-inline: auto; background: #fff; border: 1px solid var(--pp-line); border-radius: 14px; overflow: hidden; }
.device-bar { display: flex; gap: 7px; padding: 14px 18px; background: var(--pp-tint); border-bottom: 1px solid var(--pp-line); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D9D9D4; }
.pane { padding: clamp(20px, 3.5vw, 40px); }
.pane-photog { display: none; }
#v-photog:checked ~ .device .pane-guest { display: none; }
#v-photog:checked ~ .device .pane-photog { display: block; }
.pane-guest { display: grid; gap: 28px; justify-items: center; }
.you { display: grid; gap: 14px; justify-items: center; }
.matches { display: grid; gap: 14px; width: 100%; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: #E8E8E4; }
@media (min-width: 760px) {
  .pane-guest { grid-template-columns: 190px 1fr; gap: 44px; align-items: start; justify-items: stretch; }
  .you { justify-items: center; }
  .arch-sm { width: 170px; }
}
.drop { display: grid; justify-items: center; gap: 8px; padding: 34px 20px; border: 1px dashed #CFCFCA; border-radius: 2px; color: var(--pp-body); text-align: center; }
.drop svg { color: var(--pp-cap); }
.files { display: grid; gap: 14px; margin-top: 22px; }
.files li { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.files img { grid-row: 1 / 3; width: 48px; height: 48px; object-fit: cover; border-radius: 2px; }
.files span { font-size: 0.88rem; }
.files b { display: block; height: 2px; background: #ECECE8; align-self: start; margin-top: 8px; position: relative; }
.files b::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: var(--pp-teal); }
.demo-note { margin-top: 16px; text-align: center; }

/* ---------- 4 · mist feature ---------- */
.feature { padding: clamp(88px, 11vw, 150px) 0; }
.feature-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .feature-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.feature h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 13em; }
.cols { display: grid; gap: 20px 40px; margin-top: 36px; max-width: 640px; font-size: 1rem; }
@media (min-width: 640px) { .cols { grid-template-columns: 1fr 1fr; } }
.feature .details { margin-top: clamp(40px, 7vw, 88px); }
.feature .arch-lg { justify-self: center; }
@media (min-width: 960px) { .feature .arch-lg { justify-self: end; } }

/* ---------- 5 · who it's for ---------- */
.cards { display: grid; gap: 20px; }
.card { background: var(--pp-white); padding: clamp(28px, 4vw, 48px); border-radius: 2px; display: flex; flex-direction: column; }  /* flat: no border, no shadow */
.tint .card { background: #fff; }
.audiences { grid-template-columns: 1fr; }
@media (min-width: 900px) { .audiences { grid-template-columns: 1fr 1fr; } }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; }
.icon { color: var(--pp-cap); }
.card .eyebrow { margin-bottom: 14px; }
.audiences h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; color: var(--pp-ink); }
.lines { margin: 26px 0 32px; }
.lines li { padding: 13px 0; border-top: 1px solid var(--pp-line); }
.audiences .card > .btn, .audiences .card > .textlink { margin-top: auto; align-self: flex-start; }

/* ---------- 6 · event types ---------- */
.marquee { overflow: hidden; padding-block: clamp(36px, 5vw, 56px); background: #fff; }
.marquee-track { display: flex; width: max-content; animation: slide 70s linear infinite; }
.marquee ul { display: flex; gap: clamp(36px, 5vw, 72px); padding-right: clamp(36px, 5vw, 72px); }
.marquee li { font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 300; letter-spacing: -0.01em; color: #B4B4AF; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 7 · quote, in an arch-topped window ---------- */
.quote-wrap { padding: 0 var(--gutter); background: #fff; }
.quote-arch { --shade: 0.55; max-width: 1100px; margin-inline: auto; min-height: clamp(540px, 66vw, 720px); border-radius: 999px 999px 0 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 6vw, 84px); padding-top: clamp(200px, 28vw, 340px); }
.quote-in { display: grid; gap: 28px; }
.quote-in blockquote p { font-size: clamp(1.7rem, 3.8vw, 3.1rem); max-width: 14em; color: #fff; }

/* ---------- 8 · privacy ---------- */
.privacy-head { grid-auto-flow: row; justify-items: center; text-align: center; gap: 28px; }
.privacy-title { display: grid; gap: 18px; justify-items: center; }
.privacy-head h2 { max-width: 12em; }
@media (min-width: 700px) { .privacy-head { grid-auto-flow: column; justify-content: center; align-items: center; gap: 44px; text-align: left; } .privacy-title { justify-items: start; } }
.pillars { grid-template-columns: 1fr; margin-bottom: 36px; }
@media (min-width: 760px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillars .card { background: var(--pp-tint); gap: 0; }
.pillars .icon { margin-bottom: 22px; }
.pillars h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.005em; color: var(--pp-ink); margin-bottom: 8px; }
.pillars p { max-width: 28em; }

/* ---------- 9 · faq ---------- */
.faq-list details { border-top: 1px solid var(--pp-line); }
.faq-list details:last-child { border-bottom: 1px solid var(--pp-line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(1.1rem, 1.9vw, 1.35rem); font-weight: 300; letter-spacing: -0.01em; color: var(--pp-ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.9rem; font-weight: 300; line-height: 1; color: var(--pp-teal); transition: transform .3s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 26px 0; max-width: 40em; }
.faq-list a { color: var(--pp-teal-deep); text-underline-offset: 3px; }

/* ---------- 10 · final call ---------- */
.cta { padding: clamp(110px, 15vw, 200px) 0; text-align: center; }
.cta-in { display: grid; justify-items: center; gap: 36px; }
.cta h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); max-width: 15em; }
.center-actions { justify-content: center; }
.cta-note { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- footer ---------- */
.foot { background: #fff; color: #7A7A7A; padding-block: 56px; font-size: 0.9rem; border-top: 1px solid var(--pp-line); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px; }
.foot .foot p { margin-top: 10px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.foot a { text-decoration: none; }
.foot ul a:hover { color: var(--pp-ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- motion: slow, scroll-linked, and only where the browser can do it ---------- */
@supports (animation-timeline: view()) {
  .reveal { animation: fade-up linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  .sharpen-scroll { animation: sharpen linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden="true"] { display: none; }
}
