/* Photographic rhythm: generous frames, uneven compositions, restrained motion. */
.photo-deck { gap: 24px; padding-block: 16px 0; }
.photo-deck .path { padding: 0; min-height: 0; overflow: visible; background: var(--cream); }
.photo-deck .path::before { display: none; }
.path-image { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 1.25; }
.path-image img { height: 100%; transition: transform .8s var(--editorial-ease); }
.path-image .path-number { position: absolute; bottom: 0; left: 0; margin: 0; display: grid; place-items: center; width: 48px; height: 48px; background: var(--maroon); color: #fff; }
.path-body { display: flex; flex-direction: column; align-items: start; padding: 24px; flex: 1; width: 100%; transition: background .4s, color .4s; }
.path-body .path-tag { margin: 0 0 16px; font-size: 10px; letter-spacing: .8px; }
.path-body h3 { margin-bottom: 12px; }
.path-body p { color: var(--muted); font-size: 14px; line-height: 24px; margin-bottom: 24px; transition: color .4s; }
.path:hover .path-body, .path:focus-visible .path-body { background: var(--maroon); }
.path:hover .path-image img, .path:focus-visible .path-image img { transform: scale(1.045); }
.photo-deck.is-ready .path { transition: transform .9s var(--editorial-ease); }
.photo-deck.is-ready:not(.is-unfolded) .path:nth-child(1) { transform: translate(20px, 28px) rotate(-3deg); }
.photo-deck.is-ready:not(.is-unfolded) .path:nth-child(2) { transform: translateY(50px) rotate(2deg); }
.photo-deck.is-ready:not(.is-unfolded) .path:nth-child(3) { transform: translate(-20px, 24px) rotate(3deg); }
.photo-deck.is-unfolded .path { transform: none; }
.photo-deck .path:nth-child(2) { transition-delay: 80ms; }
.photo-deck .path:nth-child(3) { transition-delay: 160ms; }
.community-spread { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 56px; margin: 64px 0 72px; }
.spread-intro { align-self: start; padding-top: 8px; }
.spread-intro h2 { max-width: 560px; }
.spread-intro p { margin-top: 24px; line-height: 28px; }
.spread-photo { margin: 0; min-width: 0; }
.spread-feature { grid-column: 2; grid-row: 1 / 3; padding-top: 64px; }
.photo-source { display: block; }
.photo-window { display: block; overflow: hidden; background: var(--cream); }
.photo-window img { height: 100%; transition: transform .9s var(--editorial-ease); }
.photo-source:hover img, .photo-source:focus-visible img { transform: scale(1.035); }
.spread-feature .photo-window { aspect-ratio: .83; }
.spread-feature img { object-position: 55% center; }
.spread-photo figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; font-size: 12px; line-height: 20px; color: var(--muted); }
.spread-photo figcaption span:first-child { font-size: 10px; letter-spacing: 1px; color: var(--ink); }
.photo-source:hover + figcaption span:first-child { color: var(--maroon); }
.spread-pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-self: end; align-items: start; }
.spread-pair .photo-window { aspect-ratio: .88; }
.spread-pair .spread-photo:first-child img { object-position: 35% center; }
.spread-pair .spread-photo:last-child { padding-top: 64px; }
.spread-pair .spread-photo:last-child .photo-window { aspect-ratio: .78; }
.community-spread.has-motion .spread-feature { transform: translateY(calc(var(--photo-travel, 0) * -24px)); }
.community-spread.has-motion .spread-pair .spread-photo { transform: translateY(calc(var(--photo-travel, 0) * 24px)); }
.community-subheading { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; margin-bottom: 24px; }
.community-subheading .eyebrow { margin: 0; }
.community-subheading p { font-size: 14px; }
.learning-frames { position: relative; height: 580px; overflow: hidden; background: var(--cream); }
.learning-frames .learning-frame { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.04); transition: opacity .65s var(--editorial-ease), transform 1.2s var(--editorial-ease); }
.learning-frames .learning-frame.is-active { opacity: 1; transform: scale(1); }
.learning-frame[data-guide-image="1"] { object-position: 35% center; }
.learning-frame[data-guide-image="2"] { object-position: center; }
.learning-progress { display: flex; gap: 24px; border-top: 1px solid var(--line); margin-top: 20px; }
.learning-progress span { padding-top: 12px; font-size: 10px; line-height: 20px; letter-spacing: 1px; color: var(--muted); border-top: 2px solid transparent; margin-top: -1px; }
.learning-progress .is-active { color: var(--maroon); border-color: var(--maroon); }
@media (max-width: 1100px) {
  .path-body { padding: 20px; }
  .community-spread { column-gap: 24px; }
  .spread-pair { gap: 16px; }
}
@media (max-width: 850px) {
  .photo-deck { gap: 16px; }
  .path-body { padding: 20px 16px; }
  .path-body .path-tag { min-height: 32px; }
  .learning-frames { height: 550px; }
  .community-spread { row-gap: 32px; }
  .spread-feature { padding-top: 80px; }
  .spread-feature .photo-window { aspect-ratio: .6; }
  .spread-pair { grid-template-columns: 1fr; }
  .spread-pair .spread-photo:last-child { display: none; }
  .spread-pair .photo-window { aspect-ratio: 1.35; }
}
@media (max-width: 600px) {
  .photo-deck { gap: 32px; padding-top: 0; }
  .photo-deck .path-image { aspect-ratio: 1.35; }
  .path-body { padding: 24px; }
  .path-body .path-tag { min-height: 0; }
  .path-body p { font-size: 16px; line-height: 28px; }
  .photo-deck.is-ready:not(.is-unfolded) .path:nth-child(n) { transform: none; }
  .community-spread { display: flex; flex-direction: column; gap: 32px; margin: 32px 0 48px; }
  .spread-intro { padding: 0; }
  .spread-feature { padding: 0; }
  .spread-feature .photo-window { aspect-ratio: 1; }
  .spread-pair { grid-template-columns: 1fr 1fr; gap: 16px; }
  .spread-pair .spread-photo:last-child { display: block; padding-top: 40px; }
  .spread-pair .photo-window { aspect-ratio: .85; }
  .spread-photo figcaption { margin-top: 12px; font-size: 11px; line-height: 16px; }
  .spread-photo figcaption span:first-child { font-size: 9px; letter-spacing: .5px; }
  .community-subheading { display: block; }
  .community-subheading p { margin-top: 12px; }
  .learning-frames { height: 360px; }
  .learning-progress { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-deck .path, .community-spread .spread-photo, .learning-frames .learning-frame, .photo-window img, .path-image img { transform: none !important; }
}
