/* Layout for optional About entries; existing prose keeps its original style. */
.about-section-content { min-width: 0; overflow-wrap: anywhere; }
.about-entry + .about-entry { margin-top: 28px; }
.about-entry h3 { font-size: 1.15rem; font-weight: 650; }
.about-entry-meta { margin-top: 6px; color: var(--page-muted); }
.about-entry .section-text, .about-highlights { margin-top: 12px; }
.about-highlights { padding-left: 1.25rem; color: var(--page-muted); line-height: 1.8; }
.about-highlights li + li { margin-top: 6px; }
.about-section-content > .section-text + .section-text { margin-top: 20px; }
.about-section-content > .about-entry:not(:first-child) { margin-top: 28px; }
.about-links { display: flex; flex-wrap: wrap; gap: 0 20px; }

/* The native hidden attribute must win over layout rules from shared styles. */
.about-page [hidden] { display: none !important; }
.presenting { overflow: hidden; }
#presentation { background: var(--page-bg); color: var(--page-text); }
.deck-shell { height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.deck-toolbar, .deck-footer { padding: 18px clamp(16px, 4vw, 64px); }
.deck-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--page-border); }
.deck-brand { font-weight: 650; }
.deck-brand span { color: var(--page-muted); font-weight: 400; }
.deck-tools, .deck-controls, .deck-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#presentation button, #deck-exit { font: inherit; font-size: .9rem; color: var(--page-text); background: var(--page-surface); border: 1px solid var(--page-border); border-radius: 7px; padding: 10px 14px; min-height: 44px; cursor: pointer; text-decoration: none; }
#presentation button:disabled { opacity: .4; cursor: default; }
#presentation [aria-current="step"] { color: var(--page-accent); border-color: var(--page-accent); }
.deck-stage { overflow: auto; overscroll-behavior: contain; padding: clamp(24px, 4vh, 52px) clamp(20px, 6vw, 96px); }
.deck-slide { max-width: 1280px; margin: auto; }
.deck-kicker { color: var(--page-accent); letter-spacing: .16em; font-size: .85rem; margin-bottom: 12px; }
.deck-slide h2 { font-size: clamp(1.8rem, 3.7vw, 3.4rem); line-height: 1.13; font-weight: 650; letter-spacing: -.025em; }
.deck-lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--page-muted); max-width: 78ch; margin: 22px 0 40px; line-height: 1.8; }
.deck-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.deck-grid .about-entry { margin: 0; border: 1px solid var(--page-border); border-radius: 16px; background: var(--page-surface); padding: clamp(24px, 2.5vw, 36px); min-width: 0; overflow-wrap: anywhere; }
.deck-grid .about-entry h3 { color: var(--page-text); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.4; }
.deck-grid .section-text { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.8; }
.deck-footer { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; border-top: 1px solid var(--page-border); }
.deck-footer progress { width: 100%; height: 3px; accent-color: var(--page-accent); grid-column: 1 / -1; }
.deck-hint { grid-column: 1 / -1; font-size: .8rem; color: var(--page-muted); }
.deck-loading { padding: 48px; }
@media (max-width: 700px) {
 .deck-brand span { display: none; }
 .deck-toolbar { align-items: flex-start; flex-wrap: wrap; padding: 12px 16px; }
 .deck-grid { grid-template-columns: 1fr; gap: 22px; }
 .deck-stage { padding: 24px 20px; }
 .deck-footer { padding: 10px 16px; gap: 8px; }
 .deck-nav { gap: 4px; }
 #presentation .deck-nav button { padding: 8px; min-width: 36px; }
 .deck-footer { grid-template-columns: 1fr; }
 .deck-controls { justify-content: space-between; }
 .deck-hint { display: none; }
}

.deck-slide { position: relative; }
.deck-kicker::after { content: ""; display: inline-block; width: 80px; margin-left: 20px; vertical-align: middle; border-top: 1px solid var(--page-border); }
.deck-grid .about-entry-meta { font-size: 1rem; line-height: 1.7; margin-top: 14px; }
.deck-grid .about-entry .section-text { margin-top: 20px; }
.deck-grid .about-links { margin-top: 20px; }
@media (max-height: 500px) {
 .presenting { overflow: auto; }
 .deck-shell { height: auto; min-height: 100dvh; grid-template-rows: auto 1fr auto; }
 .deck-stage { overflow: visible; }
}

/* Source, role and period stay distinct without competing with project titles. */
.about-entry .entry-organization { line-height: 1.65; max-width: 65ch; }
.about-entry .entry-role { color: var(--page-accent); font-size: .92rem; line-height: 1.7; }
.deck-grid .entry-period { font-weight: 600; color: var(--page-accent); }
.deck-discussion { margin-top: 32px; padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: #edf2ef; color: #263c34; }
.deck-discussion .section-text, .deck-discussion .about-highlights { color: #465a52; font-size: 1.05rem; line-height: 1.85; max-width: 100ch; }
.deck-discussion h3 { font-size: 1.25rem; }
.concept-flow { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--page-border); }
.concept-flow figcaption { font-size: .9rem; line-height: 1.6; color: var(--page-muted); margin-bottom: 14px; }
.concept-flow ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.concept-flow li { flex: 1 1 110px; position: relative; padding: 12px; background: #f4f6f3; border: 1px solid #d7dfd8; border-radius: 8px; color: #30483d; font-size: .95rem; line-height: 1.65; }
.concept-flow li + li::before { content: '→'; position: absolute; left: -20px; color: #536a5e; }
.deck-summer .deck-grid { position: relative; padding-top: 24px; }
.deck-summer .deck-grid::before { content: ''; position: absolute; top: 0; left: 20px; right: 20px; border-top: 1px solid #aabbb0; }
.deck-summer .about-entry { position: relative; }
.deck-summer .about-entry::before { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #667f6e; top: -30px; left: 24px; }
@media (max-width: 700px) {
 .deck-summer .deck-grid { padding: 0 0 0 18px; }
 .deck-summer .deck-grid::before { top: 24px; bottom: 24px; left: 0; right: auto; border-top: 0; border-left: 1px solid #aabbb0; }
 .deck-summer .about-entry::before { top: 26px; left: -24px; }
 .concept-flow ol { flex-direction: column; gap: 24px; }
 .concept-flow li { flex: auto; }
 .concept-flow li + li::before { content: '↓'; top: -24px; left: 12px; }
}

/* Presentation layouts follow content types, never numeric slide positions. */
.deck-symbols { position: absolute; overflow: hidden; pointer-events: none; }
.deck-art { width: 96px; height: 77px; flex: none; fill: none; stroke: #52746d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deck-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.deck-heading > div { min-width: 0; }
.deck-stage { padding: 24px clamp(24px, 4vw, 64px); }
.deck-slide h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.2; }
.deck-kicker { margin-bottom: 8px; }
.deck-lead { margin: 12px 0 0; }
.deck-toolbar, .deck-footer { padding-top: 12px; padding-bottom: 12px; }
.deck-footer { gap: 8px 20px; }
.deck-hint { display: none; }
.deck-grid { gap: 24px; }
.deck-grid .about-entry { padding: 24px; }
.deck-grid .about-entry h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }
.deck-grid .about-entry .section-text { margin-top: 16px; white-space: pre-line; }
.deck-grid .about-entry-meta { margin-top: 10px; }
.deck-grid .about-links { margin-top: 16px; }
.deck-intro .deck-grid { grid-template-columns: 1.15fr 1fr; }
.deck-intro .deck-heading > .deck-art, .deck-outlook .deck-heading > .deck-art { width: 156px; height: 125px; }
.deck-intro .deck-grid .about-entry { border: 0; border-left: 3px solid #b6c9bf; border-radius: 0; background: transparent; }
.deck-intro .deck-grid { margin-top: 32px; }
.deck-practice .deck-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deck-practice .deck-art { width: 76px; height: 61px; margin-bottom: 10px; }
#presentation .entry-type { color: var(--page-muted); font-size: 1rem; }
#presentation .entry-status { display: table; max-width: 100%; margin: 12px 0 0; padding: 4px 10px; border: 1px solid #bccfc3; border-radius: 6px; background: #eaf1eb; color: #345349; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.deck-details { margin-top: 18px; }
.deck-details summary { cursor: pointer; color: #386760; line-height: 1.7; text-underline-offset: 4px; }
.deck-details summary:hover { text-decoration: underline; }
.deck-details .concept-flow { margin-top: 16px; }
.deck-collaboration .deck-grid { grid-template-columns: 1.15fr 1fr; }
.deck-collaboration .deck-grid .about-entry:first-child { background: #edf2ef; }
.deck-collaboration > .concept-flow { margin-top: 22px; padding-top: 16px; }
.deck-collaboration .concept-flow li:nth-child(3) { border-color: #98b4a6; }
.deck-awards .deck-grid { grid-template-columns: 1fr; gap: 16px; }
.deck-awards .deck-grid .about-entry { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 8px 24px; padding: 18px 24px; }
.deck-awards .about-entry h3 { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.deck-awards .deck-grid .about-entry-meta, .deck-awards .deck-grid .section-text, .deck-awards .deck-grid .about-links { margin: 0; grid-column: 2; }
.deck-awards .deck-grid .about-links:empty { display: none; }
.deck-outlook { max-width: 1060px; }
.deck-outlook .deck-grid { grid-template-columns: 1fr; }
.deck-outlook .deck-grid .about-entry { background: transparent; border: 0; padding: 20px 0; }
.deck-outlook .about-entry h3 { color: #52746d; }
.deck-outlook .deck-grid .section-text { max-width: 82ch; font-size: 1.2rem; line-height: 1.85; }
.deck-outlook .about-highlights { list-style: none; padding: 18px 22px; margin-top: 24px; border-left: 3px solid #b5c9bd; background: #edf2ef; max-width: 82ch; color: #3b554b; font-size: 1.1rem; }
#presentation h2:focus-visible { outline: 2px solid #76968a; outline-offset: 7px; border-radius: 4px; }
@media (max-width: 800px) {
 .deck-heading { gap: 12px; align-items: flex-start; }
 .deck-heading > .deck-art, .deck-intro .deck-heading > .deck-art, .deck-outlook .deck-heading > .deck-art { width: 68px; height: 55px; }
 .deck-practice .deck-grid, .deck-intro .deck-grid, .deck-collaboration .deck-grid, .deck-grid { grid-template-columns: 1fr; }
 .deck-awards .deck-grid .about-entry { display: block; }
 .deck-awards .deck-grid .about-entry-meta, .deck-awards .deck-grid .section-text, .deck-awards .deck-grid .about-links { margin-top: 12px; }
 .deck-stage { padding: 24px 20px; }
 .deck-heading { flex-wrap: wrap; }
 .deck-heading > div { flex: 1 1 210px; }
 .deck-intro .deck-grid { margin-top: 0; }
}
@media (min-width: 801px) {
 .deck-awards .deck-grid .about-entry { grid-template-columns: minmax(0, 1fr) 190px 130px; }
 .deck-awards .deck-grid .about-links { grid-column: 3; grid-row: 1 / 3; align-self: center; }
 .deck-awards .about-links a { margin-top: 0; }
}
