@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;500;600&display=swap');

:root { font-family: Overpass, system-ui, sans-serif; color: #161616; background: #f5f5f7; --edge: clamp(22px, 5vw, 84px); }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible, .track:focus-visible { outline: 2px solid #537baf; outline-offset: 4px; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 26px var(--edge); position: relative; z-index: 1; }
.header nav { font-size: 14px; display: flex; gap: clamp(12px, 3vw, 34px); }
.header a, .categories a { text-decoration: none; text-transform: uppercase; }
.header a:hover, .header [aria-current], .categories a:hover, .categories [aria-current] { text-decoration: underline; }
.name { font-size: 18px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.home .header { position: absolute; inset: 0 0 auto; color: white; background: linear-gradient(#0009, transparent); }
.hero { height: 100svh; background: #343e40; }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work { display: grid; grid-template-columns: clamp(130px, 17vw, 235px) minmax(0, 1fr); padding-left: var(--edge); margin-top: clamp(28px, 6vh, 76px); }
.categories { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-top: 7px; }
.categories a { color: #515159; font-size: 14px; }
.categories [aria-current] { color: #161616; font-weight: 600; }
.menu-image { display: none; }
.gallery-panel { min-width: 0; }
h1 { margin: 0 0 20px; font-size: 16px; text-transform: uppercase; font-weight: 500; letter-spacing: -.04em; }
.track { display: flex; gap: clamp(12px, 2vw, 30px); overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--edge) 12px 0; }
.photo { flex: 0 0 auto; border: 0; padding: 0; display: block; cursor: zoom-in; background: #e4e4e8; height: clamp(280px, 62vh, 810px); max-width: min(74vw, 1240px); scroll-snap-align: start; }
.photo img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.photo.compact { height: clamp(210px, 47vh, 610px); align-self: center; }
.controls { display: flex; gap: 20px; padding: 12px 0; }
.controls button { font: inherit; font-size: 10px; text-transform: uppercase; border: 0; padding: 6px 0; background: transparent; cursor: pointer; }
.controls button:disabled { opacity: .4; cursor: default; }
.lightbox { position: fixed; inset: 0; margin: 0; padding: 55px 20px 20px; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: #121214f5; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #121214; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100dvh - 75px); object-fit: contain; }
.close { position: absolute; top: 9px; right: 16px; border: none; border-radius: 50%; width: 44px; height: 44px; background: #323235; color: #fff; font: 32px/1 system-ui; cursor: pointer; }
html:has(.lightbox[open]) { overflow: hidden; }
.text-page { max-width: 730px; margin: clamp(32px, 11vh, 132px) auto; padding: 0 var(--edge); }
.text-page p { line-height: 1.7; }
.about-page { margin: clamp(36px, 9vh, 112px) var(--edge) 60px; }
.about-portrait { display: block; width: min(38%, 680px); aspect-ratio: 1 / 1; object-fit: cover; }
.about-portrait-placeholder { display: grid; place-items: center; background: #e4e4e8; color: #515159; font-size: 14px; }
.about-details { display: grid; grid-template-columns: minmax(0, 2.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 54px); margin-top: clamp(24px, 4vw, 54px); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.about-columns { grid-template-columns: minmax(0, 36fr) minmax(0, 18fr) minmax(0, 13fr) minmax(0, 17fr) minmax(0, 16fr); column-gap: 0; }
.about-columns .about-bio { max-width: 64ch; padding-right: 24px; }
.about-columns .about-clients { grid-column: 3; }
.about-columns > section { padding-right: 16px; }
.about-details p { margin: 0 0 1em; }
.about-details h2 { margin: 0 0 8px; font-size: inherit; font-weight: 600; text-transform: uppercase; }
.about-details ul { margin: 0; padding: 0; list-style: none; }
.contact-image { display: block; width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; }
.contact-details { grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 1fr)); }
.contact-details > div { max-width: 60ch; }
.sample { width: fit-content; margin: 12px var(--edge); font-size: 13px; }
.home .sample { position: absolute; bottom: 8px; color: white; background: #000a; padding: 5px 9px; }
@media (max-width: 700px) {
  .about-portrait { width: min(100%, 480px); }
  .about-details { grid-template-columns: 1fr; }
  .about-columns .about-clients { grid-column: auto; }
  .contact-image { aspect-ratio: 16 / 9; }
  .header { flex-wrap: wrap; padding-block: 19px; }
  .work { display: block; margin-top: 0; padding: 0; }
  .categories { isolation: isolate; position: relative; min-height: 130px; justify-content: flex-end; flex-direction: row; flex-wrap: wrap; align-content: end; justify-content: flex-start; gap: 8px 20px; padding: 26px var(--edge) 15px; background: #343e40; }
  .menu-image { display: block; position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  .categories::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0003, #000c); }
  .categories a, .categories [aria-current] { color: white; padding-block: 8px; }
  .gallery-panel { padding: 23px var(--edge) 0; }
  .track { display: grid; gap: 16px; overflow: visible; padding: 0; }
  .photo, .photo.compact { width: 100%; height: auto; max-width: none; }
  .photo img { width: 100%; height: auto; }
  .photo.compact { width: 80%; justify-self: center; }
  .controls { display: none; }
}
