/* Garrett's photography: uniquely named to avoid stale shared stylesheets. */
.photo-banner { padding-top: 48px; }
.photo-banner-frame { position: relative; overflow: hidden; background: #1d3a2d; }
.photo-banner-image { display: block; width: 100%; height: auto; }
.photo-banner-shade { position: absolute; inset: 0; padding: clamp(28px, 5vw, 65px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; background: linear-gradient(90deg, #101f19dc 0%, #101f198c 45%, #101f1914 100%); }
.photo-banner-shade h2 { margin: 16px 0 22px; font-family: Georgia, serif; font-size: clamp(36px, 4vw, 58px); letter-spacing: -1.5px; }
.photo-banner-link { border-bottom: 1px solid #fff; padding-bottom: 5px; font-size: 13px; }
.photo-banner-link:hover { color: #ddf17d; }
.photo-project-cover { display: grid; place-items: center; height: auto; }
.photo-project-cover img { width: 100%; height: auto; }
.photo-project-cover span { position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 18px 14px; color: white; font: 10px/1.5 monospace; letter-spacing: 1px; background: linear-gradient(transparent, #0d211dcc); }
.case-photo-story { margin: 40px 0; padding: 24px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-photo-story h3 { font-family: Georgia, serif; font-size: 27px; margin: 10px 0 12px; }
.case-photo-story > p { max-width: 700px; }
.project-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.project-photo-grid.single { grid-template-columns: minmax(0, 1fr); }
.project-photo-grid figure { margin: 0; min-width: 0; }
.project-photo-grid a { display: block; overflow: hidden; background: var(--soft); }
.project-photo-grid img { width: 100%; height: auto; }

.project-photo-grid figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.photo-page-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(35px, 5vw, 80px); padding-top: clamp(45px, 6vw, 85px); padding-bottom: clamp(40px, 5vw, 70px); }
.photo-page-hero h1 { font-size: clamp(58px, 6vw, 90px); font-weight: 400; letter-spacing: -4px; line-height: 1; margin: 22px 0; }
.photo-page-hero h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
.photo-page-hero p { max-width: 430px; font-size: 16px; }
.photo-page-hero figure { margin: 0; }
.photo-page-hero figure img { width: 100%; height: auto; }
.photo-page-hero figcaption { margin-top: 10px; color: var(--muted); font: 10px/1.5 monospace; text-transform: uppercase; letter-spacing: 1px; }
.photo-jump { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.photo-jump a { padding: 9px 13px; border: 1px solid var(--control-border); border-radius: 25px; font-size: 12px; }
.photo-jump a:hover { background: var(--soft); }
.photo-collections { padding-bottom: 80px; }
.photo-section { border-top: 1px solid var(--line); padding: 55px 0 15px; scroll-margin-top: 100px; }
.photo-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.photo-section-heading h2 { margin-bottom: 0; }
.photo-count { color: var(--muted); font: 10px/1.5 monospace; letter-spacing: 1px; white-space: nowrap; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
.photo-card { margin: 0; min-width: 0; }
.photo-card a { position: relative; display: block; overflow: hidden; background: var(--soft); }
.photo-card img { width: 100%; height: auto; transition: transform .25s ease; }
.photo-card a:hover img { transform: scale(1.025); }
.photo-card figcaption { padding-top: 10px; color: var(--ink); font-size: 13px; line-height: 1.45; }
.photo-expand { position: absolute; right: 10px; bottom: 10px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #101f19c9; color: white; font-size: 15px; }
.photo-end { margin-top: 55px; padding-top: 25px; border-top: 1px solid var(--line); }
.photo-dialog { width: min(1120px, 95vw); max-width: none; max-height: 94vh; padding: 20px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.photo-dialog[open] { display: flex; flex-direction: column; }
.photo-dialog::backdrop { background: #0c1715e8; }
.photo-dialog-top, .photo-dialog-nav { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.photo-dialog button { padding: 10px 14px; border: 1px solid var(--control-border); background: transparent; color: var(--ink); }
.photo-dialog button:hover { background: var(--soft); }
.photo-dialog figure { margin: 18px 0; min-height: 0; text-align: center; }
.photo-dialog img { margin: auto; max-width: 100%; max-height: 68vh; width: auto; height: auto; object-fit: contain; }
.photo-dialog figcaption { padding-top: 12px; color: var(--muted); font-size: 13px; }
.photo-dialog-nav span { color: var(--muted); font: 11px/1.5 monospace; }
@media (max-width: 760px) {
  .photo-banner { padding-top: 32px; }
  .photo-banner-shade { padding: 20px 24px; }
  .photo-banner-shade h2 { font-size: clamp(25px, 7vw, 36px); margin: 9px 0 12px; }
  .photo-banner-shade { background: linear-gradient(90deg, #101f19d9, #101f1955); }
  .photo-page-hero { grid-template-columns: 1fr; gap: 30px; }
  .photo-page-hero h1 { font-size: clamp(56px, 11vw, 72px); letter-spacing: -3px; }

  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .photo-section { padding-top: 42px; }
}
@media (max-width: 440px) {
  .photo-grid, .project-photo-grid { grid-template-columns: 1fr; }

  .photo-section-heading { align-items: start; flex-direction: column; gap: 5px; }
  .photo-dialog { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) { .photo-card img { transition: none; } }
@media (max-width: 440px) {
  .photo-banner-shade { padding: 14px 18px; }
  .photo-banner-shade .eyebrow { font-size: 8px; }
  .photo-banner-shade h2 { font-size: clamp(20px, 6vw, 27px); line-height: 1; margin: 6px 0; }
  .photo-banner-link { font-size: 11px; }
}
