.reviewDraftIntro { border-top: 3px solid #d7b66b; padding-top: 22px; }
.landing .reviewCreate { background: #fffdf8; border: 1px solid #d7b66b; border-radius: 14px; color: #102f45; padding: 24px; margin: 24px auto; max-width: 780px; box-sizing: border-box; scroll-margin-top: 24px; }
.reviewCreate h2 { font-size: clamp(24px,3vw,32px); line-height: 1.3; margin: 10px 0 16px; }
.reviewProcess { padding-left: 24px; }
.reviewProcess li { margin-bottom: 12px; padding-left: 4px; line-height: 1.6; }
.reviewCreate .reviewStartActions { margin: 24px 0 16px; display: flex; flex-direction: column; align-items: stretch; }
.reviewCreate .journeyStartButton { display:flex; align-items:center; gap:18px; width:100%; min-height:124px; padding:22px; background:linear-gradient(115deg,#102f45,#174e65); color:#f7f2e8; border:2px solid #d7b66b; border-radius:16px; text-align:left; white-space:normal; }
.reviewCreate .journeyStartButton:focus-visible { outline:3px solid #102f45; outline-offset:4px; }
.reviewSaveNote { padding-top: 14px; border-top: 1px solid #d7b66b; }
.reviewOriginalIntro { margin: 20px 0; }
.reviewOriginalIntro > summary { color: #102f45; font-weight: 700; cursor: pointer; padding: 14px 0; }
.reviewReturnLink { display: inline-block; text-align: center; }
@media(max-width:600px) { .landing .reviewCreate { padding: 18px; } .reviewCreate .journeyStartButton { gap:10px; padding:18px 12px; } }
@media(max-width:380px) { .reviewCreate .journeyButtonArrow { display:none; } }

.reviewReflection { margin:24px 0; padding:24px; border-left:3px solid #d7b66b; background:#fffdf8; }
.reviewReflection .actions { flex-wrap:wrap; }

/* Revision 4: explain the framework and its origin before the entry choices. */
.landing .intro { max-width:1120px; }
.landing .reviewDraftIntro { max-width:850px; margin:40px auto 48px; padding-top:28px; }
.landing .homeWelcome { max-width:900px; margin:48px auto 64px; }
.reviewOrigin { max-width:900px; margin:64px auto; padding:8px 0 8px 28px; border-left:3px solid #d7b66b; scroll-margin-top:28px; }
.reviewOrigin .homeFounderStory { margin:0; padding:0; border:0; background:none; }
.reviewOrigin h3 { font-size:clamp(26px,3vw,34px); line-height:1.35; margin:12px 0 20px; }
.reviewOrigin p { font-size:18px; line-height:1.85; max-width:800px; }
.reviewExplanation { margin:64px 0; scroll-margin-top:28px; }
.reviewExplanation>h2 { font-size:clamp(28px,3vw,36px); margin:12px 0 20px; }
.reviewExplanation>p { max-width:850px; font-size:18px; line-height:1.8; }
.reviewExplanation .joyPieMeaning { margin:28px 0; padding:0; border:0; background:none; }
.reviewBalance { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:36px; }
.reviewBalance section { border-top:2px solid #d7b66b; padding-top:20px; }
.reviewBalance h3 { font-size:24px; line-height:1.4; margin:0 0 14px; }
.reviewBalance p { font-size:17px; line-height:1.8; margin:0; }
.landing .joyLifeSummary { margin:60px 0 32px; }
.reviewEverydayStories { margin:24px 0 56px; }
.reviewEverydayStories>summary { cursor:pointer; font-size:18px; font-weight:700; padding:16px 0; color:#102f45; }
.landing .reviewReflection { max-width:900px; margin:64px auto 48px; padding:30px; scroll-margin-top:28px; }
.reviewReflection h2 { font-size:clamp(26px,3vw,34px); line-height:1.4; margin:12px 0 20px; }
.reviewReflection>p { font-size:17px; line-height:1.8; }
.reviewReflection .reviewSelfGuided { font-size:14px; color:#536a75; }
.landing .reviewCreate { max-width:900px; margin:48px auto 64px; padding:32px; }
@media(max-width:700px) {
  .reviewBalance { grid-template-columns:1fr; gap:28px; }
  .reviewOrigin { margin:48px auto; padding-left:20px; }
  .reviewOrigin p,.reviewExplanation>p { font-size:17px; }
  .reviewExplanation { margin:48px 0; }
  .landing .reviewReflection,.landing .reviewCreate { padding:22px 18px; }
}

/* The illustration remains fully legible before, during and after its one pass. */
.reviewFlow { margin:60px 0; padding:30px 0; border-top:1px solid #d7b66b; border-bottom:1px solid #d7b66b; }
.reviewFlow h2 { font-size:clamp(27px,3vw,35px); line-height:1.4; margin:12px 0 18px; }
.reviewFlowSteps { list-style:none; padding:0; margin:32px 0 24px; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; }
.reviewFlowSteps>li { position:relative; min-width:0; padding:18px 12px; border-top:3px solid var(--flow-color); border-radius:8px; background:#fffdf8; }
.reviewFlowSteps>li:not(:last-child)::after { content:'\2192'; position:absolute; right:-16px; top:30px; font-size:21px; color:#b89148; z-index:1; }
.flowNumber { display:grid; place-items:center; width:36px; height:36px; margin-bottom:18px; border-radius:50%; color:white; background:var(--flow-color); font-weight:700; }
.reviewFlowSteps strong { display:block; font-size:17px; line-height:1.4; }
.reviewFlowSteps p { font-size:14px; line-height:1.65; margin:12px 0 0; }
.flowOptional { display:inline-block; font-size:11px; font-weight:700; line-height:1.6; margin-top:8px; padding:3px 7px; border:1px solid #d7b66b; border-radius:12px; }
.flowOutput { height:66px; position:relative; margin-top:14px; }
.flowOutput svg { position:absolute; width:51px; height:51px; left:32px; top:8px; filter:drop-shadow(0 2px 2px #102f4530); }
.flowSheet { position:absolute; left:8px; top:0; width:48px; height:61px; background:#f7f2e8; border:1px solid #c5a160; border-top:10px solid #102f45; transform:rotate(-9deg); }
.flowSheet+.flowSheet { left:23px; top:3px; transform:rotate(7deg); }
.flowPlaying .flowNumber { animation:flowStep 1.15s ease-out var(--flow-delay) 1; }
.flowPlaying .flowOutput svg { animation:flowReveal 1s ease-out 2.4s 1; }
@keyframes flowStep { 0%,100%{transform:scale(1);box-shadow:0 0 0 0 #d7b66b00} 45%{transform:scale(1.14);box-shadow:0 0 0 7px #d7b66b45} }
@keyframes flowReveal { 0%{transform:translateY(7px) rotate(-8deg)} 65%{transform:translateY(-3px) rotate(3deg)} 100%{transform:none} }
@media(max-width:850px) {
  .reviewFlowSteps { grid-template-columns:1fr; gap:18px; }
  .reviewFlowSteps>li { padding:18px 18px 18px 74px; border-top:0; border-left:3px solid var(--flow-color); }
  .flowNumber { position:absolute; left:18px; top:18px; }
  .reviewFlowSteps>li:not(:last-child)::after { content:'\2193'; right:auto; left:29px; top:auto; bottom:-21px; }
  .flowOutput { margin-top:12px; }
}
@media(prefers-reduced-motion:reduce) { .flowPlaying .flowNumber,.flowPlaying .flowOutput svg { animation:none!important; } .flowReplay { display:none; } }
.reviewFlowSteps strong a { color:inherit; text-decoration-color:#d7b66b; text-underline-offset:4px; }.reviewFlow { scroll-margin-top:24px; }

/* Revision 7: use more of the page and put entry links on the journey cards. */
main:has(.landing) { max-width:1680px; width:100%; }
.landing .intro { max-width:1600px; padding-left:clamp(18px,3vw,48px); padding-right:clamp(18px,3vw,48px); }
.landing .reviewDraftIntro,.landing .homeWelcome,.reviewOrigin { max-width:none; }
.reviewOrigin p,.reviewExplanation>p { max-width:none; }
.reviewFlowSteps { gap:22px; }
.reviewFlowSteps>li { display:flex; flex-direction:column; padding:20px 16px; scroll-margin-top:24px; }
.reviewFlowSteps>li:not(:last-child)::after { right:-20px; }
.flowGuideLink,.flowBuildButton { display:block; width:100%; margin-top:20px; padding:11px 10px; text-align:center; font-size:14px; line-height:1.5; text-decoration:none; border-radius:5px; }
.flowGuideLink { margin-top:auto; padding-top:11px; border-color:#c5a160; }
.reviewFlowSteps>li:first-child>p { margin-bottom:20px; }
.flowBuildActions { margin-top:auto; }
.flowBuildActions #reviewResume { width:100%; margin-top:10px; padding:9px; font-size:13px; }
.flowFoot { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.flowFoot>p { max-width:950px; }
.flowFoot .flowReplay { flex-shrink:0; }
.flowPractical { margin-top:10px; }
.flowPractical>summary { cursor:pointer; font-size:14px; color:#536a75; }
@media(max-width:850px) {
  .reviewFlowSteps>li { padding:18px 18px 18px 74px; }
  .reviewFlowSteps>li:not(:last-child)::after { right:auto; }
  .flowGuideLink { margin-top:4px; }
  .flowBuildActions { margin-top:0; }
  .flowFoot { align-items:flex-start; flex-direction:column; gap:8px; }
}
/* Revision 8: retain the original journey, with slower single-pass motion. */
.reviewFlowSteps>li:nth-child(2) { --flow-delay:.7s!important; }
.reviewFlowSteps>li:nth-child(3) { --flow-delay:1.4s!important; }
.reviewFlowSteps>li:nth-child(4) { --flow-delay:2.1s!important; }
.reviewFlowSteps>li:nth-child(5) { --flow-delay:2.8s!important; }
.flowPlaying .flowNumber { animation-duration:2s; }
.flowPlaying .flowOutput svg { animation-duration:1.6s; animation-delay:2.8s; }

/* Revision 9: visible before-and-after stories between explanation and history. */
.landing .reviewVideoStories { margin:44px 0 60px; padding:28px; }
.reviewVideoStories h2 { font-size:clamp(27px,3vw,36px); line-height:1.4; margin:0 0 18px; }
.reviewVideoStories .wellbeingLead { max-width:1000px; }
.reviewVideoStories .wellbeingScenes { position:relative; gap:30px; }
.reviewVideoStories .wellbeingPhoto { aspect-ratio:16/9; background:#102f45; }
.reviewVideoStories .wellbeingPhoto img,.reviewVideoStories .wellbeingPhoto video { width:100%; height:100%; object-fit:contain; }
.reviewVideoStories .wellbeingScenes::after { content:'\2192'; position:absolute; left:50%; top:30%; transform:translate(-50%,-50%); display:grid; place-items:center; width:38px; height:38px; border-radius:50%; color:#102f45; background:#d7b66b; font-size:26px; pointer-events:none; }
.reviewVideoStories .wellbeingScenes figcaption { padding:18px 20px; }
.reviewVideoStories .wellbeingScenes figcaption p { font-size:16px; line-height:1.65; }
@media(max-width:700px) {
  .landing .reviewVideoStories { padding:18px; margin:36px 0 48px; }
  .reviewVideoStories .wellbeingScenes { grid-template-columns:1fr; gap:24px; }
  .reviewVideoStories .wellbeingPhoto { aspect-ratio:9/16; max-height:520px; }
  /* Video 1 is landscape; show its full frame on phones. */
  .reviewVideoStories .wellbeingScenes figure:first-child .wellbeingPhoto { aspect-ratio:16/9; max-height:none; }
  .reviewVideoStories .wellbeingScenes figure:first-child .wellbeingPhoto :is(video,img) { object-fit:contain; object-position:center; }
  .reviewVideoStories .wellbeingScenes::after { display:none; }
}

/* Keep the introduction's lead and body copy visually consistent. */
.landing .reviewDraftIntro>p { font-size:18px!important; color:#102f45!important; line-height:1.75; font-weight:400; margin:18px 0; }

/* A closer view of the second story, without enlarging its player controls. */
.reviewVideoStories .wellbeingScenes figure:nth-child(2) .wellbeingPhoto :is(video,img) { object-fit:cover; object-position:center top; }
@media(max-width:700px) {
  .reviewVideoStories .wellbeingScenes figure:nth-child(2) .wellbeingPhoto :is(video,img) { object-fit:contain; object-position:center; }
}

.flowGuideLinks { display:grid; gap:9px; margin-top:auto; }
.flowGuideLinks .flowGuideLink { margin:0; }
.flowDeliveryNote { padding:12px 16px; margin:20px 0; border-left:3px solid #c5a160; font-size:16px; line-height:1.75; color:#102f45; }
.flowDeliveryNote>strong:first-child { display:block; margin-bottom:4px; }

.flowBuildButton { display:flex; align-items:center; justify-content:center; gap:8px; text-align:left; }
.flowBuildLogo { display:block; width:30px; height:30px; flex:0 0 30px; }
.flowBuildButton>span { min-width:0; }

/* Give all journey-card actions the same button shape and finish. */
.reviewFlow .flowGuideLink,.reviewFlow .flowBuildButton {
  display:flex; align-items:center; justify-content:center; width:100%;
  min-height:85px; padding:11px 10px; border:0; border-radius:5px;
  background:#102f45; color:#fff; font-size:14px; font-weight:600;
  line-height:1.5; text-align:center; text-decoration:none; white-space:normal;
}
.reviewFlow .flowGuideLink:hover,.reviewFlow .flowBuildButton:hover { background:#24526a; }
.reviewFlow .flowBuildButton {
  background:linear-gradient(135deg,#102f45 0%,#245a71 100%);
  border:2px solid #d7b66b;
  padding:11px 7px; gap:6px; font-size:13.5px;
  box-shadow:0 0 0 3px #d7b66b20,0 0 22px #c5a16070,0 5px 12px #102f4525;
  transition:box-shadow .25s ease,background .25s ease;
}
.reviewFlow .flowBuildButton:hover,.reviewFlow .flowBuildButton:focus-visible {
  background:linear-gradient(135deg,#17435d 0%,#2c6a80 100%);
  box-shadow:0 0 0 4px #d7b66b35,0 0 30px #c5a16095,0 6px 14px #102f4535;
}
@media(prefers-reduced-motion:reduce) { .reviewFlow .flowBuildButton { transition:none; } }
.reviewFlow .flowGuideLink:focus-visible,.reviewFlow .flowBuildButton:focus-visible { outline:3px solid #b89148; outline-offset:3px; }

.flowStepIcon { display:block; width:64px; height:64px; flex:0 0 64px; margin:16px 0 2px; }
.reviewAudience { margin-top:28px; padding-top:20px; border-top:1px solid #d7b66b; }
.questionnaireInvitation { margin:20px 0 28px; padding:18px; background:#fffdf8; border-left:3px solid #c5a160; }
.questionnaireInvitation h3 { font-size:21px; margin:0 0 12px; line-height:1.4; }
.questionnaireInvitation p { font-size:15px; line-height:1.65; }
.storyHoverHint { display:none; }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) { .storyHoverHint { display:inline; } .storyTouchHint { display:none; } }
.reviewAudience h3 { font-size:23px; line-height:1.45; margin:0 0 12px; }
.reviewAudience p { font-size:18px; line-height:1.75; color:#102f45; }
.joyCalendarStep { margin:40px 0 0; padding:28px; background:#fffdf8; border:1px solid #d7b66b; border-radius:12px; }
.joyCalendarStep h2 { font-size:30px; margin:12px 0; }
.calendarFields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:24px 0 16px; }
.calendarFields label { display:flex; flex-direction:column; gap:8px; font-size:14px; font-weight:600; min-width:0; }
.calendarFields input,.calendarFields select { width:100%; min-width:0; padding:12px; border:1px solid #ccd7d5; border-radius:5px; background:#fff; color:#102f45; }
.calendarFields label:nth-child(2) { grid-column:span 2; }
.calendarAction { grid-column:1/-1; }
.calendarStatus { font-size:15px; line-height:1.6; }
.calendarForm[hidden],.calendarShow[hidden] { display:none; }
@media(max-width:700px) { .joyCalendarStep { padding:20px; } .calendarFields { grid-template-columns:1fr; } .calendarFields label:nth-child(2),.calendarAction { grid-column:auto; } }

/* Read the journey from the reflection links through to the build action. */
.reviewFlow .flowGuideLink { min-height:42.5px; padding:4px 8px; font-size:12.5px; line-height:1.3; }
.reviewFlowSteps>li:nth-child(n+2):nth-child(-n+4)>p { order:1; }
.reviewFlowSteps .flowStepIcon { order:2; align-self:center; width:120px; height:120px; flex-basis:120px; margin:24px 0 0; padding:6px; }
/* Follow the bottom icons in order, in a slow repeating sequence. */
.flowPlaying .reviewFlowSteps>li:nth-child(2)>.flowStepIcon { animation:flowBottomPulse 10s ease-in-out 1s infinite; }
.flowPlaying .reviewFlowSteps>li:nth-child(3)>.flowStepIcon { animation:flowBottomPulse 10s ease-in-out 3s infinite; }
.flowPlaying .reviewFlowSteps>li:nth-child(4)>.flowStepIcon { animation:flowBottomPulse 10s ease-in-out 5s infinite; }
.flowPlaying .flowBuildLogo { animation:flowBottomPulse 10s ease-in-out 7s infinite; }
@keyframes flowBottomPulse {
  0%,20%,100% { transform:scale(1); filter:drop-shadow(0 0 0 #c5a16000); }
  10% { transform:scale(1.12); filter:drop-shadow(0 0 7px #c5a16080); }
}
@media(prefers-reduced-motion:reduce) {
  .flowPlaying .flowStepIcon,.flowPlaying .flowBuildLogo { animation:none!important; }
}
@media(min-width:851px) {
  .reviewFlowSteps .flowStepIcon { margin-top:auto; }
  .reviewFlowSteps>li:not(:last-child)::after { top:auto; bottom:67px; right:-22px; color:#b89148; font-size:26px; line-height:1; }
}

.flowGuideLinks .flowOptional { margin:0; }
