/* 07-journal — DESKTOP (1024 px and wider). Owner: V3-JOURNAL-D. Every selector is scoped to #journal .v-desktop.
   V3: one phone on a soft hill, big type, three short points, one link. Quiet: after the deep-blue celebrate. */

#journal .v-desktop .jd {
  position: relative;
  overflow: hidden;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background: linear-gradient(180deg, var(--sky-0) 0%, #fff 100%);
}
#journal .v-desktop .jd-wrap {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
  column-gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

/* ---------- the one phone, placed: soft light, a white hill, a contact shadow, a slow drift ---------- */
#journal .v-desktop .jd-stage {
  --pw: 300px;   /* one phone size across the page */
  position: relative;
  isolation: isolate;
  display: flex; justify-content: center;
  padding: 8px 0 40px;
}
/* the phone and everything that belongs to it, measured from the phone's own centre */
#journal .v-desktop .jd-set { position: relative; isolation: isolate; width: var(--pw); }
#journal .v-desktop .jd-light {
  position: absolute; z-index: -2; pointer-events: none;
  left: 50%; top: 46%; width: calc(var(--pw) * 2.3); height: calc(var(--pw) * 2.3);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, 0));
}
#journal .v-desktop .jd-hill {
  position: absolute; z-index: -1; pointer-events: none;
  left: 50%; bottom: -58px; width: calc(var(--pw) * 2.2); height: 150px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--hill) 62%, #fff) 0%, color-mix(in srgb, var(--hill) 22%, #fff) 45%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
#journal .v-desktop .jd-float { position: relative; z-index: 1; animation: journal-d-drift 9s var(--ease) infinite alternate; }
#journal .v-desktop .jd-phone { --w: var(--pw); margin: 0; transform: rotate(-1.5deg); }
@keyframes journal-d-drift { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
#journal .v-desktop .jd-ground {
  position: absolute; z-index: 0; pointer-events: none;
  left: 50%; bottom: -22px; width: calc(var(--pw) * .92); height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 26, 43, .26), rgba(15, 26, 43, 0));
}
/* entrance: the phone settles in with a little scale */
.js #journal .v-desktop .jd-stage.reveal { transform: translateY(24px) scale(.965); transition-duration: 1s; }
.js #journal .v-desktop .jd-stage.reveal.in { transform: none; }

/* ---------- the words ---------- */
#journal .v-desktop .jd-copy { max-width: 540px; }
#journal .v-desktop .jd-nowrap { white-space: nowrap; }
#journal .v-desktop .jd-title {
  font-size: clamp(48px, 4.2vw, 60px); line-height: 1.06; font-weight: 500; letter-spacing: -.028em; color: var(--ink);
}
#journal .v-desktop .jd-lede { margin-top: 22px; color: var(--body); }

#journal .v-desktop .jd-points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; row-gap: 18px; }   /* no divider lines (founder, 30 Sep) */
#journal .v-desktop .jd-point {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; column-gap: 20px;
  padding: 0;
}
#journal .v-desktop .jd-point p { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 350; color: var(--body); }
#journal .v-desktop .jd-point b { font-weight: 500; color: var(--ink); }

#journal .v-desktop .jd-mark { position: relative; display: block; width: 44px; height: 44px; justify-self: center; }
#journal .v-desktop .jd-mark img { position: absolute; inset: 0; width: 100%; filter: drop-shadow(0 4px 6px rgba(15, 26, 43, .12)); }
/* a plain line lock (no Mira here: she appears once in this section, writing beside the phone) */
#journal .v-desktop .jd-lock {
  width: 34px; height: 34px; background: var(--accent-edge);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='3' fill='none' stroke='black' stroke-width='1.9'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='15.6' r='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='3' fill='none' stroke='black' stroke-width='1.9'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='15.6' r='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* the five real faces take turns, like tapping through them in the app */
#journal .v-desktop .jd-faces img { opacity: 0; transform: scale(.7); transition: opacity .3s var(--ease), transform .55s var(--spring); }
#journal .v-desktop .jd-faces img.is-on { opacity: 1; transform: none; }
@media (hover: hover) {
  #journal .v-desktop .jd-point .jd-mark { transition: transform .35s var(--spring); }
  #journal .v-desktop .jd-point:hover .jd-mark { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
}

#journal .v-desktop .jd-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  min-height: 44px;
  font-size: 17px; font-weight: 500; color: var(--accent-edge); text-decoration: none;
  border-radius: 8px;
}
#journal .v-desktop .jd-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#journal .v-desktop .jd-arrow {
  width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .28s var(--ease);
}
@media (hover: hover) {
  #journal .v-desktop .jd-more:hover { text-decoration: underline; text-underline-offset: 4px; }
  #journal .v-desktop .jd-more:hover .jd-arrow { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  #journal .v-desktop .jd-float { animation: none; }
  .js #journal .v-desktop .jd-stage.reveal { transform: none; }
}

/* ==== ONE TYPE SCALE (founder 30 Sep: "in some places size is big, in some size is small"; the hero is the reference) ====
   Section h2 44/500/1.08/-0.03em at every desktop width · lede 19/350/1.5 in --body · in-section titles 26/500 · body and lists 17/350/1.5 (scaled down 30 Sep: "reduce the size little").
   Kept identical in every desktop section file; RT-LOOP-D. */
#journal .v-desktop .jd-title { font-size: 44px; font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; }
#journal .v-desktop .jd-lede { font-size: 19px; font-weight: 350; line-height: 1.5; color: var(--body); }
#journal .v-desktop .jd-point p { font-size: 17px; font-weight: 350; line-height: 1.5; }
#journal .v-desktop .jd-more { font-size: 17px; }

/* ==== CUTE PASS (founder 30 Sep: "reduce the size little and make the entire site cute") · RT-LOOP-D ====
   Rounder shapes, the app's pastel tints instead of lines, tiny playful motion on the art (never under reduced motion). */
#journal .v-desktop .jd-copy { max-width: 470px; }
#journal .v-desktop .jd-points { display: grid; gap: 10px; margin-top: 32px; }
#journal .v-desktop .jd-point { padding: 12px 18px 12px 12px; border-radius: 22px; background: var(--pale-sun); column-gap: 14px; }
#journal .v-desktop .jd-point:nth-child(2) { background: var(--pale-mint); }
#journal .v-desktop .jd-point:nth-child(3) { background: var(--tint); }
#journal .v-desktop .jd-mark { width: 40px; height: 40px; }
#journal .v-desktop .jd-lock { width: 30px; height: 30px; }
#journal .v-desktop .jd-point p b { color: var(--ink); }
