/* ZFS project files. Promotional layout only; shared tokens and native controls. */
.project-intro, .project-collection, .project-feature { --font-heading: var(--font-body); }
.project-intro { padding: clamp(36px, 4vw, 56px) 0; }
.project-intro-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.project-intro h1 { max-width: 14ch; font-family: var(--font-display); font-size: clamp(1.875rem, 1.1rem + 3.4vw, 3.75rem); font-weight: 800; font-variation-settings: "wdth" 118; line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
.project-intro h1 em { color: var(--gold-500); font-style: normal; }
.project-intro-grid > div { max-width: 410px; padding-bottom: 5px; }
/* Let the shared expanded display face use its grid column; keep the prose cap. */
.project-intro-grid > div:first-child { max-width: none; }
.project-intro-grid p { color: var(--grey-600); line-height: 1.6; }
.project-intro-grid .project-intro-lead { color: var(--grey-700); font-size: 1.1875rem; line-height: 1.55; margin: 0; }
.project-intro-key { margin: 18px 0 0; border-top: 1px solid var(--line); }
.project-intro-key div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.project-intro-key dt { color: var(--grey-500); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.project-intro-key dd { margin: 0; color: var(--grey-700); font-size: .9375rem; line-height: 1.5; }
.project-intro .text-link { margin-top: 16px; }
.project-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.project-section-head h2 { margin: 0; font-family: var(--font-display); font-variation-settings: "wdth" 118; font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.875rem, 1rem + 2.4vw, 3rem); line-height: 1.05; }
.project-section-head .text-link { flex-shrink: 0; }
.project-file { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); background: var(--grey-50); scroll-margin-top: 120px; }
.project-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; background: var(--blue-950); padding: clamp(20px, 3vw, 36px); }
.project-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 39px, var(--blue-100) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--blue-100) 39px 40px); pointer-events: none; }
.project-art-top, .project-art-note { position: relative; display: flex; justify-content: space-between; gap: 12px; color: var(--grey-700); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.project-art-note { margin: 0; }
.project-brand-sheet { position: relative; display: grid; place-items: center; background: var(--grey-900); color: var(--grey-0); border-bottom: 8px solid var(--blue-600); margin: 36px 8px; padding: 22px 20px; box-shadow: 10px 10px 0 var(--blue-800); }
.project-brand-sheet img { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 2/1; object-fit: contain; }
.project-sheet-caption { width: 100%; text-align: center; border-top: 1px solid var(--grey-600); padding-top: 16px; margin-top: 24px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.project-file-copy { padding: clamp(24px, 3.5vw, 48px); min-width: 0; }
.project-file-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--grey-600); font-size: .8125rem; margin-bottom: 34px; }
.project-status { display: inline-flex; gap: 8px; align-items: center; color: var(--gold-300); }
.project-status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.project-descriptor { color: var(--grey-600); font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 8px; }
.project-file h3 { font-family: var(--font-display); font-variation-settings: "wdth" 118; font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 18px; }
.project-headline { color: var(--fg); font-weight: 600; font-size: 1.125rem; margin: 0 0 14px; }
.project-summary { color: var(--grey-600); line-height: 1.6; margin: 0 0 24px; }
.project-services { list-style: none; padding: 0; margin: 0 0 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.project-services li { border: 1px solid var(--line); padding: 6px 10px; color: var(--grey-700); font-size: .75rem; border-radius: var(--radius-sm); }
.project-notes { border-top: 1px solid var(--line); }
.project-notes summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding: 18px 0; color: var(--grey-700); font-weight: 600; list-style: none; }
.project-notes summary::-webkit-details-marker { display: none; }
.project-notes summary span { font-size: 1.4rem; font-weight: 400; }
.project-notes[open] summary span { transform: rotate(45deg); }
.project-notes h4 { font-size: .875rem; font-weight: 600; margin: 12px 0 6px; }
.project-notes p { font-size: .875rem; line-height: 1.6; color: var(--grey-600); margin: 0 0 20px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.project-filters a { min-height: 44px; display: inline-flex; gap: 14px; align-items: center; padding: 8px 14px; color: var(--grey-700); border: 1px solid var(--line); border-radius: var(--radius-buttons); font-size: .875rem; text-decoration: none; }
.project-filters a span { color: var(--grey-600); }
.project-filters a[aria-current] { background: var(--blue-600); border-color: var(--blue-600); color: var(--grey-900); }
.project-filters a[aria-current] span { color: inherit; }
.project-filters a:hover { border-color: var(--blue-300); }
.project-filter-context { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--grey-600); font-size: .875rem; margin: 20px 0 24px; }
.project-filter-context p { margin: 0; }
.project-filters { margin-bottom: 24px; }
.project-files { display: grid; gap: 32px; }
.project-empty { padding: clamp(28px, 5vw, 60px); border: 1px dashed var(--grey-400); }
.project-empty h3 { font-size: 1.5rem; font-weight: 600; margin: 18px 0 8px; }
.project-empty p { color: var(--grey-600); }
.project-collection { scroll-margin-top: 110px; }
.project-feature a:focus-visible, .project-collection a:focus-visible, .project-notes summary:focus-visible, .project-intro a:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 5px; }
@media (max-width: 800px) {
    .project-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .project-file { grid-template-columns: 1fr; }
    .project-art { min-height: 340px; }
    .project-brand-sheet { max-width: 440px; width: calc(100% - 24px); justify-self: center; align-self: center; margin: 32px 8px; }
    .project-file-meta { margin-bottom: 26px; }
    .project-section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 400px) {
    .project-art { min-height: 290px; padding: 18px; }
    .project-brand-sheet { padding: 28px 14px 18px; }
    .project-sheet-caption { font-size: .75rem; letter-spacing: 0; margin-top: 12px; }
    .project-art-top, .project-art-note { letter-spacing: .03em; }
}
@media (forced-colors: active) {
    .project-art, .project-brand-sheet, .project-file, .project-filters a, .project-services li, .project-notes { border: 1px solid CanvasText; }
    .project-brand-sheet { transform: none; box-shadow: none; }
    .project-filters a[aria-current] { outline: 2px solid Highlight; }
    .project-status { color: CanvasText; }
}
