/* PhotoReunion: an open landscape, with glass only on controls. */
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #121e2b;
  --surface: 18,30,43;
  --accent: #d7c2ac;
  --text: #f5f4f2;
  --text-2: #becbd6;
  --line: rgba(221,235,245,.19);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-motion="paused"] { scroll-behavior: auto; }
[id] { scroll-margin-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 18px/1.7 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 5px; text-decoration-color: var(--text-2); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.13; margin: 0 0 .6em; letter-spacing: -.04em; text-wrap: balance; }
h1, h2 { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; letter-spacing: -.015em; }
h1 { font-size: clamp(3rem, 6.3vw, 6.4rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); font-weight: 400; }
h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.4; }
p { margin: 0 0 1em; max-width: 38em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .5em; }
.lead { font-size: 1.15rem; color: var(--text-2); }
.muted, .meta { color: var(--text-2); }
.meta { font-size: .8rem; line-height: 1.9; }
.kicker { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--text-2); margin-bottom: 24px; }
.wrap { max-width: 1304px; margin: 0 auto; padding: 0 48px; }
main > section { padding: 96px 0; }
body:not(.landing) main .wrap { max-width: 1000px; }
.skip-link { position: fixed; left: 24px; top: -100px; z-index: 30; padding: 12px 20px; background: var(--bg); border-radius: 12px; }
.skip-link:focus { top: 20px; }

/* Glass floats over the scenery, without framing the page. */
header { position: sticky; top: 24px; z-index: 20; padding: 0 32px; margin: 28px 0 0; }
header .wrap {
  display: flex; align-items: center; gap: 28px; width: max-content; max-width: 100%; padding: 7px 8px 7px 16px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: .98rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
.brand img { display: block; width: 34px; height: 34px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-left: auto; font-size: .83rem; }
header nav a { color: inherit; }
header nav { gap: 22px; flex-wrap: nowrap; margin-left: 0; white-space: nowrap; }
nav a { text-decoration: none; color: var(--text); padding: 8px 0; }
nav a:hover { text-decoration: underline; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 13px 28px;
  border-radius: 999px; text-decoration: none;
  color: #fff; font-size: .92rem; font-weight: 400;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background-color: rgba(255,255,255,.035); }
nav .btn { min-height: 38px; padding: 6px 18px; font-size: .8rem; }
nav .btn:hover { text-decoration: none; }

/* Keep the landscape open, with the message and action in one group. */
.hero {
  --hero-space: max(100px, 22svh);
  position: relative; margin-top: -87px; padding: 180px 0 var(--hero-space); min-height: max(790px, 100svh);
  display: flex; align-items: flex-end; color: #f5f4f2;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--surface),.28) 78%, rgba(var(--surface),.9));
}
.hero .wrap { width: 100%; display: grid; grid-template-columns: minmax(0,max-content) auto; justify-content: start; align-items: end; gap: 60px; }
.hero .kicker { color: #f0ece8; margin-bottom: 24px; }
.hero h1 { margin: 0; text-shadow: 0 3px 28px rgba(6,17,28,.25); }
.hero h1 span { color: #e2e7ec; }
.hero-description { margin: 24px 0 0; max-width: 34em; color: #e0e8f0; font-size: 1.05rem; line-height: 1.6; text-wrap: pretty; text-shadow: 0 2px 12px rgba(6,17,28,.5); }
.hero-actions { padding-bottom: 6px; }
.hero-more { display: flex; justify-content: center; align-items: center; gap: 28px; text-decoration: none; font-size: .84rem; margin-top: 14px; padding: 10px 0; color: #e0e8f0; }
.hero-more:hover { color: #fff; }
.hero-more span { font-size: 1.15rem; }

.intro { padding: 12px 0 100px; }
.intro .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.intro .wrap > div, .intro .lead { border-top: 1px solid var(--line); padding-top: 30px; }
.intro .lead { font-size: 1.15rem; margin-bottom: 0; }
.intro .kicker { margin-bottom: 16px; }
.intro .meta { margin-bottom: 0; }

/* Screenshots are the actual app windows, with no extra card around them. */
.showcase { padding: 32px 0 100px; }
.showcase .wrap, .heart > .wrap, .step > .wrap { max-width: 1568px; }
.showcase-caption { display: flex; justify-content: space-between; gap: 24px; max-width: none; color: var(--text-2); font-size: .8rem; margin-bottom: 24px; }
.shot { margin: 0; }
.shot picture { display: block; }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 65px -24px rgba(0,0,0,.5); }

.pain { padding: 100px 0 130px; }
.pain h2 { text-align: center; max-width: 20em; margin: 0 auto; }
.stories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 60px; margin-top: 72px; }
.stories h3 { font-size: 1.2rem; }
.stories p { color: var(--text-2); font-size: .95rem; margin: 0; }
.heart { padding: 100px 0 130px; }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.row > * { min-width: 0; }
.row .lead { margin-bottom: 0; }
.step { padding: 110px 0; }
/* Each explanation and its full-width app window travel together. */
:is(.heart, .step) .row { display: block; }
:is(.heart, .step) .row > div {
  display: grid; grid-template-columns: 5fr 7fr; gap: 0 80px; margin-bottom: 56px;
}
:is(.heart, .step) .row > div > :is(.num, .kicker, h2) { grid-column: 1; }
:is(.heart, .step) .row .lead { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: none; }
:is(.heart, .step) .row h2 { margin-bottom: 0; }
:is(.heart, .step) .shot { transform-origin: center top; }
.num { display: block; margin-bottom: 24px; color: var(--accent); font-size: .85rem; font-weight: 400; }
.num::before { content: "0"; }
.more { margin-top: 44px; }
.more summary { width: fit-content; padding: 8px 0; cursor: pointer; color: var(--text-2); font-size: .88rem; }
.more summary:hover { color: var(--text); }
.points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 80px; margin-top: 36px; }
.points p { color: var(--text-2); font-size: .95rem; margin: 0; }

:is(#safety, [data-glass-id="safety"]) { padding: 150px 0 100px; }
.band { padding: 0; }
.band h2 { font-size: clamp(2.7rem, 5.4vw, 5rem); margin-bottom: 64px; }
.checks { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 100px; }
.checks li { break-inside: avoid; position: relative; padding-left: 28px; margin-bottom: 28px; color: var(--text-2); font-size: .97rem; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; color: var(--accent); font-size: .88rem; }
.note { padding: 160px 0 100px; text-align: center; }
.note blockquote { margin: 0 auto; max-width: 36em; }
.note blockquote p { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 350; line-height: 1.6; letter-spacing: -.025em; max-width: none; margin: 0 0 30px; }
.note .by { color: var(--text-2); font-size: .85rem; letter-spacing: .04em; }
.get {
  text-align: center; padding: 140px 0 110px;
  background: linear-gradient(rgba(var(--surface),.93), rgba(var(--surface),.25) 35%, rgba(var(--surface),.6) 65%, rgba(var(--surface),.97));
}
.get img { display: block; width: 80px; height: 80px; margin: 0 auto 32px; }
.get h2 { max-width: 15em; margin: 0 auto 36px; }
.get .meta { margin: 22px auto 0; }
.get .more { text-align: left; margin-top: 90px; }
.details { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; text-align: left; padding-top: 36px; }
.details ul { color: var(--text-2); font-size: .9rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin: 0; }
.facts dt { font-weight: 500; }
.facts dd { margin: 4px 0 0; color: var(--text-2); font-size: .9rem; }
footer { padding: 40px 0 48px; color: var(--text-2); font-size: .78rem; }
footer .wrap { display: flex; gap: 32px; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 32px; }
footer .wrap > div { max-width: 42em; }
footer nav { margin-left: 0; }

/* A clear curved lip, with the actual page refracted beneath it. */
header .wrap, .btn, .motion-toggle {
  position: relative; isolation: isolate;
  border: 1px solid rgba(255,255,255,.2);
  border-top-color: rgba(255,255,255,.5);
  border-bottom-color: rgba(255,255,255,.12);
  background: rgba(10,20,30,.025);
  box-shadow: 0 6px 20px rgba(2,8,15,.2), inset 0 1px 1px rgba(255,255,255,.18);
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
header nav .btn { background: rgba(255,255,255,.09); border-color: transparent; box-shadow: none; }
.has-glass { z-index: 10; }
.glass-stage { display: contents; pointer-events: none; }
.glass-stage[hidden], .glass-lens[hidden] { display: none; }
.glass-stage > svg { position: absolute; }
.glass-lens { position: fixed; border-radius: 999px; overflow: hidden; }
.glass-lens::after { content: ""; position: absolute; inset: 0; background: rgba(3,12,22,.055); }
.glass-lens.over-content::after { background: rgba(3,12,22,.32); }
.glass-scene { position: absolute; left: -32px; top: -32px; overflow: hidden; }
.glass-scene > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.glass-copy { position: absolute; }
.glass-copy *, .glass-copy *::before, .glass-copy *::after { animation: none !important; transition: none !important; }
.glass-copy .btn { visibility: hidden; }
.world { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("assets/dreamscape-loop-v5.webp") center / cover; }
.world video { display: block; width: 100%; height: 100%; object-fit: cover; }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(12,24,38,.08), rgba(12,24,38,.3)); }
.landing { isolation: isolate; }
.landing .intro, .landing .showcase { background: rgba(var(--surface),.9); }
.landing .pain { background: linear-gradient(rgba(var(--surface),.9), rgba(var(--surface),.96) 70%, rgba(var(--surface),.5)); }
.dream-break { color: #f5f4f2; min-height: 85svh; display: grid; place-items: center; text-align: center; background: linear-gradient(rgba(var(--surface),.5), rgba(var(--surface),.16) 35%, rgba(var(--surface),.3) 70%, rgba(var(--surface),.9)); }
.dream-break h2 { font-size: clamp(2rem, 6vw, 6rem); text-shadow: 0 4px 40px rgba(4,15,24,.5); }
.dream-break .kicker { color: #fff0dc; }
.drift-line { display: block; width: 1px; height: 90px; margin: 42px auto 0; background: linear-gradient(#fff7e6, transparent); transform-origin: top; }
.landing .heart { background: linear-gradient(rgba(var(--surface),.9), rgba(var(--surface),.96)); }
.steps { background: linear-gradient(rgba(var(--surface),.96), rgba(var(--surface),.87) 30%, rgba(var(--surface),.62) 54%, rgba(var(--surface),.9) 78%); }
:is(#safety, [data-glass-id="safety"]) { background: linear-gradient(rgba(var(--surface),.9), rgba(var(--surface),.5) 35%, rgba(var(--surface),.92)); }
.note { background: rgba(var(--surface),.93); }
.landing footer { background: rgba(var(--surface),.97); padding-bottom: 100px; }
.motion-toggle { position: fixed; z-index: 12; right: 24px; bottom: 24px; border-radius: 999px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; font: inherit; font-size: .72rem; line-height: 1.5; color: #fff; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-symbol { width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
html[data-motion="paused"] .motion-symbol { border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }

/* Follow the system appearance; the landscape keeps its own evening light. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f5f7;
    --surface: 243,245,247;
    --text: #172c40;
    --text-2: #435867;
    --line: rgba(31,53,72,.19);
    --accent: #795237;
  }
  .hero { background: linear-gradient(180deg, transparent 50%, rgba(18,30,43,.28) calc(100% - var(--hero-space)), rgba(var(--surface),.9)); }
  .dream-break { background: linear-gradient(rgba(var(--surface),.5), rgba(18,30,43,.16) 35%, rgba(18,30,43,.3) 70%, rgba(var(--surface),.9)); }
  .steps { background: linear-gradient(rgba(var(--surface),.96), rgba(var(--surface),.93) 30%, rgba(var(--surface),.85) 54%, rgba(var(--surface),.94) 78%); }
  :is(#safety, [data-glass-id="safety"]) { background: linear-gradient(rgba(var(--surface),.94), rgba(var(--surface),.85) 35%, rgba(var(--surface),.93)); }
  .get { background: linear-gradient(rgba(var(--surface),.93), rgba(var(--surface),.8) 35%, rgba(var(--surface),.87) 65%, rgba(var(--surface),.97)); }
  header .wrap, header nav .btn, .get > .wrap > .btn {
    color: var(--text); text-shadow: 0 1px 2px rgba(255,255,255,.5);
    border-color: rgba(31,53,72,.18); border-top-color: rgba(255,255,255,.7);
  }
  header .wrap, .get > .wrap > .btn { background: rgba(255,255,255,.08); }
  header nav .btn { background: rgba(255,255,255,.18); border-color: transparent; }
  .glass-lens:not(.landscape-lens)::after { background: rgba(255,255,255,.08); }
  .glass-lens.over-content:not(.landscape-lens)::after { background: rgba(255,255,255,.65); }
  .glass-lens.motion-lens::after { background: rgba(3,12,22,.6); }
}

@keyframes arrive { from { opacity: .25; transform: translateY(64px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes approach { from { opacity: .35; transform: perspective(1400px) translateY(70px) rotateX(8deg) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes unfold { from { opacity: .35; transform: perspective(1800px) translateY(48px) rotateX(5deg) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes open-view { from { opacity: .35; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translateY(-7px); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="active"] .drift-line { animation: drift 6s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    html[data-motion="active"] :is(.shot, .stories > div) {
      animation: arrive 1s linear both;
      animation-timeline: view(); animation-range: entry 0% entry 100%;
    }
    html[data-motion="active"] .showcase .shot { animation-name: approach; }
    html[data-motion="active"] :is(.heart, .step) .shot {
      animation-name: unfold;
      animation-range: entry 0% entry 65%;
    }
    html[data-motion="active"] :is(.dream-break h2, .band h2, .note blockquote) {
      animation: open-view 1s linear both;
      animation-timeline: view(); animation-range: entry 0% entry 100%;
    }
  }
}
@media (max-width: 1100px) {
  .hero .wrap { gap: 32px; }
  .hero h1 { font-size: clamp(3.4rem,6vw,5rem); }
  .row { gap: 44px; }
  :is(.heart, .step) .row > div { column-gap: 44px; }
  .stories { gap: 36px; }
  .intro .wrap { gap: 64px; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 28px; }
  header { top: 16px; padding: 0 24px; margin-top: 22px; }
  header .wrap { padding: 8px 10px 8px 16px; gap: 18px; }
  header nav { gap: 18px; }
  header nav a[href*="#"] { display: none; }
  .hero { --hero-space: 68px; margin-top: -81px; min-height: max(760px, 100svh); padding: 170px 0 var(--hero-space); background-position: 54% center; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(3rem, 7.8vw, 5rem); }
  .hero-actions { display: flex; align-items: center; gap: 32px; }
  .hero-more { margin: 0; }
  .intro { padding: 12px 0 64px; }
  .intro .wrap { grid-template-columns: 1fr; gap: 32px; }
  .intro .lead { border-top: none; padding: 0; }
  .intro .meta { font-size: .75rem; }
  .showcase { padding: 12px 0 56px; }
  .showcase-caption { font-size: .72rem; }
  .pain, .heart, .step { padding: 70px 0; }
  .stories { grid-template-columns: 1fr; gap: 36px; margin: 48px auto 0; max-width: 34em; }
  .row { grid-template-columns: 1fr; gap: 36px; }
  :is(.heart, .step) .row > div { display: block; margin-bottom: 36px; }
  :is(.heart, .step) .row h2 { margin-bottom: 24px; }
  .points { gap: 32px; }
  .checks { columns: 1; }
  :is(#safety, [data-glass-id="safety"]) { padding: 90px 0 50px; }
  .band h2 { margin-bottom: 44px; }
  .note { padding: 90px 0 40px; }
  .get { padding: 100px 0 60px; }
  .details { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 24px; }
  header { padding: 0 18px; }
  header .wrap { gap: 12px; }
  .brand { gap: 7px; font-size: .86rem; }
  .brand img { width: 30px; height: 30px; }
  header nav { gap: 12px; font-size: .73rem; }
  nav .btn { padding: 6px 12px; font-size: .73rem; }
  .hero { --hero-space: 48px; min-height: max(740px, 98svh); }
  .motion-toggle { right: 14px; bottom: 14px; padding: 10px 14px; font-size: .65rem; }
  .hero h1 { font-size: clamp(2.6rem, 10.5vw, 3.8rem); }
  .hero .kicker { font-size: .63rem; }
  .hero-actions { gap: 22px; }
  .hero-actions .btn { padding: 12px 19px; font-size: .77rem; min-height: 48px; }
  .hero-more { gap: 12px; font-size: .77rem; }
  .intro .lead { font-size: 1.05rem; }
  .showcase-caption { flex-direction: column; gap: 2px; margin-bottom: 18px; }
  .points, .facts { grid-template-columns: 1fr; }
  .shot img { border-radius: 6px; }
  footer nav { gap: 22px; }
}
@media (max-width: 380px) {
  header { padding: 0 10px; }
  header .wrap { gap: 10px; padding-left: 10px; }
  header nav { gap: 10px; }
  nav .btn { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  header .wrap, .btn, .motion-toggle { background: #22384c; }
  .glass-lens { display: none; }
  @media (prefers-color-scheme: light) {
    header .wrap, .get > .wrap > .btn { background: #e9f0f5; }
  }
}
@media (forced-colors: active) {
  .world, .glass-lens { display: none; }
  .landing section, .steps, .landing footer { background: Canvas; }
  header .wrap, .btn, .motion-toggle { background: Canvas; color: CanvasText; }
  .hero, .dream-break, .hero h1 span, .hero .kicker, .hero-description, .dream-break .kicker { color: CanvasText; }
  .btn, .hero-more { color: LinkText; }
}
