.photography-section { margin-top: 95px; }
.photography-section:only-child, .work-grid[hidden] ~ .photography-section { margin-top: 0; }
.photography-intro { margin-bottom: 60px; max-width: 620px; }
.photography-intro h2 { font-size: clamp(38px, 5vw, 70px); font-weight: 400; letter-spacing: -.045em; margin: 0 0 20px; line-height: 1.05; }
.photography-intro h2 em { color: var(--accent); }
.photography-intro p { color: var(--muted); font-size: 15px; }
.photo-collection { border-top: 1px solid var(--rule); padding: 34px 0 65px; }
.photo-collection-heading { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 32px; }
.photo-collection-heading .micro { font-size: 10px; letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; }
.photo-collection-heading h3 { font-size: clamp(28px, 3vw, 45px); font-weight: 400; letter-spacing: -.035em; margin: 0 0 10px; }
.photo-collection-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.photo-total { font-size: 10px; color: var(--muted); letter-spacing: .08em; white-space: nowrap; padding-top: 4px; }
.photo-track { --photo-height: clamp(340px, 47vw, 520px); display: flex; align-items: center; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; position: relative; width: 100%; height: calc(var(--photo-height) + 24px); box-sizing: border-box; }
.photo-track::-webkit-scrollbar { display: none; }
.photo-slide { flex: 0 0 auto; width: min(78vw, 680px, calc(var(--photo-height) * var(--photo-ratio))); height: var(--photo-height); padding: 0; border: 0; background: transparent; scroll-snap-align: center; color: inherit; transform: scale(.78); opacity: .5; transition: transform .45s ease, opacity .45s ease; }
.photo-slide.is-active { transform: scale(1); opacity: 1; }
.photo-slide img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.photo-slide:focus-visible, .photo-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 6px; }
.photo-controls { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 28px; }
.photo-arrow, .photography-dialog-controls button { border: 1px solid var(--rule); background: transparent; color: var(--fg); border-radius: 50%; width: 44px; height: 44px; flex: none; }
.photo-arrow:disabled, .photography-dialog-controls button:disabled { opacity: .25; cursor: default; }
.photo-arrow:not(:disabled):hover, .photography-dialog-controls button:not(:disabled):hover { border-color: var(--accent); color: var(--accent); }
.photo-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; max-width: min(55vw, 430px); }
.photo-ticks button { border: 0; background: transparent; padding: 16px 4px; width: 25px; height: 44px; }
.photo-ticks button::after { content: ''; display: block; height: 2px; background: #555; }
.photo-ticks button[aria-current=true]::after { background: var(--accent); }
.photo-position { color: var(--muted); text-align: center; font-size: 11px; margin: 18px 0 0; letter-spacing: .03em; }
.photography-open { overflow: hidden; }
.photography-dialog { width: min(96vw, 1440px); max-width: 1440px; max-height: 96dvh; padding: 20px; background: #080808; }
.photography-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.photography-dialog-head h2 { margin: 0; font-size: 22px; letter-spacing: -.025em; font-weight: 400; }
.photography-dialog-head .pill { padding: 10px 20px; flex: none; }
.photography-full { width: 100%; height: min(72dvh, 1100px); object-fit: contain; display: block; }
.photography-dialog-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 15px; }
.photography-dialog-controls p { margin: 0; min-width: 65px; text-align: center; color: var(--muted); font-size: 12px; }
@media(max-width: 600px) {
 .photography-section { margin-top: 60px; }
 .photography-intro { margin-bottom: 40px; }
 .photo-collection { padding: 28px 0 45px; }
 .photo-collection-heading { display: block; margin-bottom: 20px; }
 .photo-total { display: block; margin-top: 14px; }
 .photo-track { --photo-height: clamp(300px, 105vw, 460px); gap: 4px; width: calc(100% + 40px); margin-left: -20px; }
 .photo-controls { gap: 10px; margin-top: 18px; }
 .photo-ticks button { width: 20px; }
 .photography-dialog { padding: 12px; }
 .photography-dialog-head h2 { font-size: 18px; }
 .photography-full { height: 65dvh; }
}
@media(prefers-reduced-motion: reduce) { .photo-slide { transition: none; } }
