/* A companion project, within the existing WorshipPlanning design system. */
.projects-page { padding-block: 64px 88px; }
.projects-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.project-art { position: sticky; top: 28px; background: var(--sky); padding: 40px 28px 28px; text-align: center; }
.project-logo { display: block; width: 220px; max-width: 70%; height: auto; margin: 0 auto 28px; }
.project-phone { display: block; width: 224px; max-width: 72%; height: auto; margin: auto; }
.project-art figcaption { font-size: 14px; line-height: 1.6; margin-top: 24px; color: var(--deep); }
.project-art figure { margin: 0; }
.project-story { min-width: 0; }
.project-story h1 { font-size: clamp(40px, 4.7vw, 64px); line-height: 1.08; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.project-story h2 { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.03em; margin: 0 0 20px; text-wrap: balance; }
.project-story p { line-height: 1.8; margin: 0 0 22px; }
.project-story .project-lead { font-size: 20px; margin-block: 28px; line-height: 1.7; }
.project-story section { margin-top: 56px; }
.project-story .project-hero { margin-top: 0; }
.project-platforms { color: var(--muted); font-size: 15px; margin-top: 18px !important; }
.project-story dl { margin: 0; }
.project-story dt { font-size: 20px; font-weight: 600; margin-block: 26px 8px; }
.project-story dd { margin: 0; line-height: 1.8; }
.project-story p a { text-decoration: underline; text-underline-offset: 4px; }
.project-story details { background: var(--white); margin-block: 12px; padding: 22px; }
.project-story summary { font-size: 20px; font-weight: 600; cursor: pointer; line-height: 1.5; }
.project-story details p { margin: 18px 0 0; }
.project-story details p a { color: var(--action); }
.project-story bdi { font-family: "Instrument Sans", Arial, sans-serif; }
.project-story .project-end { background: var(--deep); color: var(--white); padding: 32px; }
.project-end .button { background: var(--white); color: var(--deep); }
html[lang="ar"] .project-story h1 { line-height: 1.4; letter-spacing: normal; font-size: clamp(36px, 3.8vw, 52px); }
html[lang="ar"] .project-story h2 { line-height: 1.5; letter-spacing: normal; }
@media (max-width: 900px) {
 .projects-page { padding-block: 36px 56px; }
 .projects-layout { gap: 32px; }
 .project-art { padding-inline: 16px; }
 .project-story h1 { font-size: 40px; }
 .project-story section { margin-top: 40px; }
}
@media (max-width: 650px) {
 .projects-layout { display: flex; flex-direction: column; gap: 32px; }
 .project-story { display: contents; }
 .project-story .project-hero { order: -2; }
 .project-art { order: -1; }
 .project-story section { width: 100%; margin-top: 8px; }
 .project-art { position: static; width: 100%; padding-block: 24px; }
 .project-logo { width: 148px; margin-bottom: 20px; }
 .project-phone { width: 166px; }
 .project-art figcaption { margin-top: 18px; }
 .project-story h1 { font-size: 40px; }
 .project-story h2 { font-size: 28px; }
 .project-story .project-lead { font-size: 18px; }
 .project-story .project-end { padding: 24px; }
}
