/* Zevolution · inner pages (a building, privacy, terms, not found): the homepage's language, one column, titled, with air */
.pg, .legal, .nf { max-width: 1480px; margin: 0 auto; padding: clamp(120px, 16vh, 170px) var(--gutter) clamp(80px, 10vh, 140px); }
.crumb { display: inline-block; font-size: 0.9375rem; letter-spacing: .08em; color: var(--ink-70); margin-bottom: 36px; padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.crumb:hover { color: var(--ink); border-color: var(--ink-45); }
.pg-hero h1 { font-size: clamp(2.5rem, 6vw, 6.5rem); max-width: 14ch; margin-bottom: 24px; text-wrap: balance; }
.pg-line { font-size: clamp(1.1875rem, 1.5vw, 1.625rem); color: var(--ink-70); max-width: 48ch; }
.pg-photo { margin: clamp(40px, 6vh, 72px) 0 0; }
.pg-photo img { width: 100%; max-height: 78vh; object-fit: cover; background: var(--field-2); }
.facts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--hair); margin-top: clamp(24px, 3vh, 40px); }
.facts > div { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-size: 0.9375rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70); margin-bottom: 6px; }
.facts dd { font-size: 1.125rem; }
.case { margin-top: clamp(96px, 14vh, 190px); }
.case-row { display: grid; grid-template-columns: 1fr 2fr; gap: 20px 56px; padding: 32px 0; border-bottom: 1px solid var(--hair); }
.case-row:first-child { border-top: 1px solid var(--hair); }
.case-row h2 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
.case-row p { font-size: clamp(1.125rem, 1.3vw, 1.375rem); color: var(--ink-70); max-width: 60ch; }
.quote { margin: clamp(96px, 14vh, 190px) 0 clamp(32px, 4vh, 48px); }
.quote p { font-size: clamp(1.625rem, 3.2vw, 3.25rem); font-weight: 300; line-height: 1.2; letter-spacing: -.015em; max-width: 26ch; }
.quote footer { margin-top: 20px; font-size: 0.9375rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70); }
.pg-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(96px, 14vh, 190px); }
.case + .pg-actions { margin-top: clamp(96px, 14vh, 190px); }
/* the gallery in justified rows: every photo in a row shares one height */
.gallery { display: grid; gap: 20px; }
.g-row { display: flex; gap: 20px; }
.g-row img { flex: var(--r) 1 0; width: 0; min-width: 0; height: auto; aspect-ratio: var(--r); object-fit: cover; background: var(--field-2); }
.g-row.solo img { flex: none; width: min(100%, calc(78vh * var(--r))); }
.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(96px, 14vh, 190px); border-top: 1px solid var(--hair); padding-top: 32px; }
.next-prev a strong { display: block; font-size: clamp(1.5rem, 2.8vw, 2.75rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.05; transition: color .3s; }
.next-prev a strong { position: relative; display: inline-block; }
.next-prev a strong::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.next-prev a:hover strong::after, .next-prev a:focus-visible strong::after { transform: scaleX(1); }
.next-prev a:last-child strong::after { transform-origin: right; }
.next-prev a:last-child { text-align: right; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 6rem); margin-bottom: 40px; max-width: 14ch; text-wrap: balance; }
.legal h1 { margin-bottom: 0; }
.legal .case { margin-top: clamp(56px, 8vh, 100px); }
.legal a { color: var(--ink); border-bottom: 1px solid var(--ink-45); }
.nf { min-height: 0; display: flex; flex-direction: column; justify-content: center; }
/* short pages: the footer sits at the bottom of the screen */
body.page { min-height: 100svh; display: flex; flex-direction: column; }
body.page > main { flex: 1 0 auto; }
body.page > .foot { width: 100%; }
.not-found main { display: grid; }
.nf h1 { font-size: clamp(3rem, 8vw, 8.75rem); margin-bottom: 24px; }
.nf p { font-size: clamp(1.1875rem, 1.5vw, 1.625rem); color: var(--ink-70); margin-bottom: 36px; max-width: 40ch; }
/* desktop: the words and the whole photograph on the first screen */
@media (min-width: 1024px) {
  .pg { padding-top: clamp(112px, 14vh, 150px); }
  .pg-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 72px); align-items: end; }
  .pg-top .pg-hero h1 { font-size: clamp(2.75rem, 4.6vw, 5.25rem); }
  .pg-top .pg-photo { margin: 0; }
  .pg-top .pg-photo img { width: auto; height: min(calc(100svh - 230px), 880px); max-width: min(56vw, 860px); max-height: none; object-fit: cover; }
}
@media (max-width: 1023px) { .facts { grid-template-columns: repeat(var(--t, 3), minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .pg, .legal, .nf { padding-top: 110px; }
  .case-row { grid-template-columns: 1fr; gap: 10px; }
  .g-row { flex-direction: column; }
  .g-row img, .g-row.solo img { flex: none; width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .facts > .wide { grid-column: 1 / -1; }
  .pg-photo { margin-inline: calc(-1 * var(--gutter)); }
  .next-prev { grid-template-columns: 1fr; }
  .next-prev a:last-child { text-align: left; }
  .facts > div { padding: 14px 0; }
}
