.photography-page { background: var(--paper); color: var(--ink); }
.photo-hero { position: relative; padding-top: 10rem; padding-bottom: 2rem; }
.photo-hero__copy { display: grid; grid-template-columns: 1.7fr .7fr; gap: 1.5rem 4rem; align-items: end; padding-bottom: 3rem; }
.photo-hero .micro-label { grid-column: 1 / -1; }
.photo-hero h1 { font-family: var(--display); font-size: clamp(4.5rem, 8.8vw, 10rem); font-weight: 400; letter-spacing: -.055em; line-height: .8; }
.photo-hero em { color: var(--clay); }
.photo-hero__aside { padding-bottom: .25rem; }
.photo-hero__intro { max-width: 20rem; margin-bottom: 1.7rem; color: var(--muted); font-size: 1rem; }
.photo-hero .text-link { font-size: .875rem; }
.photo-hero__image { width: 100%; overflow: hidden; }
.photo-hero__image img { width: 100%; height: auto; }
.photo-hero__foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.photo-journal { padding-top: 7rem; padding-bottom: 6rem; }
.photography-page .photo-journal .section-index { grid-template-columns: 4rem 1fr auto; border-color: var(--line); color: var(--muted); }
.photo-journal .section-index span:first-child { color: var(--clay); }
.journal-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin: 5rem 0 6rem; }
.journal-heading h2 { font-family: var(--display); font-size: clamp(3.25rem, 6vw, 6.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .84; }
.journal-heading em { color: var(--clay); }
.journal-heading p { max-width: 25rem; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.photo-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; column-gap: clamp(1rem, 3vw, 3rem); row-gap: clamp(4rem, 7vw, 8rem); }
.journal-toolbar { position: sticky; z-index: 5; top: 5.8rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 3rem; padding-block: 1rem; border-block: 1px solid var(--line); background: var(--paper); }
.journal-toolbar > p { color: var(--muted); font-size: .875rem; }
.journal-views { display: flex; gap: .35rem; }
.journal-views button { min-height: 2.75rem; padding: .6rem 1rem; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .875rem; }
.journal-views button[aria-pressed="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.photo-grid[data-layout="overview"] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; align-items: start; }
.photo-grid[data-layout="overview"] .photo-item { grid-column: auto; width: 100%; margin: 0; }
.photo-grid[data-layout="overview"] .photo-item button { aspect-ratio: 4 / 5; background: #e7e7de; }
.photo-grid[data-layout="overview"] .photo-item img { width: 100%; height: 100%; object-fit: contain; }
.photo-grid[data-layout="overview"] .photo-item figcaption { gap: .5rem; letter-spacing: .02em; }
.photo-item { grid-column: span 6; }
.photo-item:nth-child(6n + 1) { grid-column: 1 / 6; }
.photo-item:nth-child(6n + 2) { grid-column: 7 / -1; margin-top: 7rem; }
.photo-item:nth-child(6n + 3) { grid-column: 2 / 6; }
.photo-item:nth-child(6n + 4) { grid-column: 7 / -1; margin-bottom: 4rem; }
.photo-item:nth-child(6n + 5) { grid-column: 1 / 6; }
.photo-item:nth-child(6n + 6) { grid-column: 8 / -1; margin-top: 5rem; }
.photo-item:last-child { grid-column: 4 / 10; margin-top: 1rem; }
.photo-item button { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; background: #142a1e; cursor: pointer; }
.photo-item button img { width: 100%; height: auto; transition: transform .65s cubic-bezier(.22,.61,.36,1); }
.photo-item button:hover img { transform: scale(1.018); }
.photo-item__open { position: absolute; right: .75rem; bottom: .75rem; display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border-radius: 50%; background: rgba(13,32,23,.7); color: var(--paper); font-size: 1.3rem; }
.photo-item figcaption { display: flex; justify-content: space-between; padding-top: .8rem; margin-top: .6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.photo-item figcaption span:last-child { color: var(--clay); }
.journal-end { margin: 6rem 0 1rem; color: var(--muted); font-family: var(--display); font-size: 1.6rem; text-align: center; }
.photo-perspective { padding-block: 6rem 8rem; border-top: 1px solid var(--line); background: var(--paper-soft); color: var(--ink); }
.perspective-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(3rem, 8vw, 10rem); margin-top: 5rem; }
.perspective-layout figure img { width: 100%; max-height: 40rem; object-fit: cover; }
.perspective-layout figcaption { margin-top: .7rem; color: var(--muted); font-size: .75rem; }
.perspective-layout h2 { margin: 2rem 0 2.5rem; font-size: clamp(3rem, 5.9vw, 6rem); }
.perspective-layout > div > p:not(.micro-label) { max-width: 29rem; margin-bottom: 1.5rem; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.perspective-layout .text-link { margin-top: 1.2rem; }
.photo-contact { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(3rem, 9vw, 11rem); padding-block: 8rem; background: #e3dece; color: var(--ink); }
.photo-contact .section-title { margin: 2rem 0 2.5rem; font-size: clamp(3.5rem, 6vw, 6.5rem); }
.photo-contact > div > p:last-child { max-width: 25rem; color: var(--muted); font-size: 1rem; }
.contact-form { display: grid; gap: 1.8rem; }
.photo-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2rem; color: var(--muted); font-size: .75rem; }
.photo-footer a { text-decoration: none; }
.photo-dialog { position: fixed; inset: 0; width: calc(100% - 2rem); max-width: 100rem; max-height: calc(100svh - 2rem); padding: 1.2rem 2rem; border: 1px solid #47543e; background: #0d160e; color: var(--paper); overflow-y: auto; }
.photo-dialog::backdrop { background: rgba(5,12,7,.93); }
.photo-dialog > header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .3rem 1rem; background: #0d160e; }
.photo-dialog > header p { font-size: .8rem; }
.photo-dialog > header p span { padding-left: 1rem; color: #a9b6a2; font-size: .75rem; }
.photo-dialog button { display: inline-flex; min-width: 2.8rem; min-height: 2.8rem; align-items: center; justify-content: center; gap: 1rem; background: transparent; color: var(--paper); cursor: pointer; }
.photo-dialog > header button { min-height: 3rem; padding: .3rem 1.1rem; border: 1px solid #9ba68e; border-radius: 999px; background: #eceddf; color: #142016; font-size: .75rem; font-weight: 600; }
.photo-dialog > header button span { font-size: 1.7rem; }
.photo-dialog__stage { display: grid; grid-template-columns: 3rem minmax(0,1fr) 3rem; align-items: center; gap: 1rem; }
.photo-dialog__stage > button { border: 1px solid #53604a; border-radius: 50%; font-size: 1.2rem; }
.photo-dialog__stage figure { min-width: 0; }
.photo-dialog__stage img { width: 100%; height: min(70svh, 65rem); object-fit: contain; touch-action: pan-y pinch-zoom; user-select: none; }
.photo-dialog__stage figcaption { display: flex; gap: 2rem; justify-content: space-between; margin-top: 1.2rem; color: #a6b39e; font-size: .75rem; }
.photo-dialog__stage figcaption span:first-child { flex-shrink: 0; color: #d6c29c; }
.photo-dialog__hint { margin-top: 1rem; color: #91a387; text-align: center; font-size: .75rem; }
@media (min-width: 1600px) { .photo-perspective, .photo-contact { max-width: none; padding-inline: max(var(--page-gutter), calc((100% - 100rem)/2 + var(--page-gutter))); } }
@media (max-width: 800px) {
  .photo-hero { padding-top: 8rem; } .photo-hero__copy { grid-template-columns: 1.4fr 1fr; gap: 1.5rem 2rem; }
  .photo-hero h1 { font-size: clamp(4rem, 10vw, 7rem); }
  .photo-journal { padding-top: 4rem; } .journal-heading { display: grid; gap: 2rem; margin: 3.5rem 0 4rem; }
  .perspective-layout { gap: 3rem; } .photo-contact { grid-template-columns: 1fr; gap: 3.5rem; padding-block: 6rem; }
}
@media (max-width: 650px) {
  .journal-toolbar { top: 4.8rem; margin-bottom: 2rem; }
  .photo-grid[data-layout="overview"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1rem; }
  .photo-grid[data-layout="overview"] .photo-item figcaption span:last-child { text-transform: none; }
  .photo-hero { padding-top: 7.5rem; }
  .photo-hero__copy { grid-template-columns: 1fr; padding-bottom: 2rem; } .photo-hero h1 { font-size: clamp(3.8rem, 17vw, 6.7rem); } .photo-hero__intro { max-width: 20rem; margin-bottom: 1.2rem; } .photo-hero__aside { margin-top: .5rem; }
  .photo-hero__image { margin-inline: calc(-1 * var(--page-gutter)); width: calc(100% + 2 * var(--page-gutter)); }
  .photography-page .photo-journal .section-index { grid-template-columns: 2rem 1fr auto; font-size: .75rem; letter-spacing: .04em; gap: .5rem; }
  .photo-grid { display: block; } .photo-grid .photo-item { width: 100%; margin: 0 0 3.5rem; }
  .photo-grid .photo-item:nth-child(3n + 2) { width: 88%; margin-left: auto; } .photo-grid .photo-item:nth-child(3n + 3) { width: 84%; }
  .journal-heading h2 { font-size: 3rem; } .journal-end { margin-top: 2rem; font-size: 1.15rem; } .photo-journal { padding-bottom: 4rem; }
  .photo-perspective { padding-block: 4rem 5rem; } .perspective-layout { grid-template-columns: 1fr; margin-top: 3rem; } .perspective-layout figure { width: 78%; } .perspective-layout figure img { max-height: 28rem; } .perspective-layout h2 { font-size: 3.7rem; }
  .photo-footer { flex-wrap: wrap; } .photo-footer > a:last-child { width: 100%; }
  .photo-dialog { width: 100%; max-width: 100%; max-height: 100svh; height: 100svh; padding: 1rem; border: 0; }
  .photo-dialog__stage { grid-template-columns: 1fr 1fr; gap: 1rem; } .photo-dialog__stage figure { grid-column: 1 / -1; grid-row: 1; } .photo-dialog__stage img { height: 66svh; }
  .photo-dialog__stage > button { justify-self: center; width: 3rem; } .photo-dialog__stage figcaption { gap: 1rem; }
  .photo-dialog > header p span { display: none; }
}
