/* Joe Bryant Photographer — local static site. All manifest photographs. */
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #ffffff;
  --stone: #e6e1d8;
  --ink: #1c1916;
  --ink-soft: #3a342c;
  --muted: #6e665c;
  --line: rgba(28, 25, 22, 0.16);
  --ivory: #f7f3ec;
  --hero-ink: rgba(255, 255, 255, 0.92);
  --serif: "Playfair Display", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Montserrat", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  color-scheme: light;
}

img {
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.4rem 0.7rem;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-150%);
  z-index: 60;
}

.skip:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.35rem 2.25rem 1.15rem;
}

body:not(.page-home):not(.page-about):not(.page-gallery) .site-header {
  border-bottom: 0;
}

.page-contact .site-header,
.page-client .site-header { border-bottom: 0; }

.page-contact .brand,
.page-client .brand { color: #b3b3b3; }

.page-contact,
.page-client { color: #2a2a2a; }

.page-home .site-header,
.page-about .site-header,
.page-gallery .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: var(--hero-ink);
  z-index: 6;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1;
  min-width: 0;
  font-size: clamp(1.75rem, 2.45vw, 2.85rem);
}

.brand-name,
.brand-mark,
.brand-role {
  font-family: var(--serif);
  font-weight: 500;
}

.brand-name {
  font-size: 1em;
  letter-spacing: 0.145em;
  text-transform: uppercase;
  line-height: 0.9;
}

.brand-mark {
  display: none;
  font-size: 2.7rem;
  letter-spacing: 0.02em;
  line-height: 0.78;
  text-align: center;
}

.brand-role {
  display: block;
  margin-top: 0.42em;
  font-size: 0.28em;
  font-weight: 500;
  letter-spacing: 0.72em;
  text-transform: uppercase;
  text-align: center;
  padding-left: 0.72em;
  line-height: 1;
}

.nav-details { margin-left: auto; }

.menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  list-style: none;
}

.burger {
  display: block;
  width: 22px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.nav-check:checked ~ .menu-toggle .burger {
  height: 16px;
  border: 0;
  position: relative;
}

.nav-check:checked ~ .menu-toggle .burger::before,
.nav-check:checked ~ .menu-toggle .burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1.5px;
  background: currentColor;
}

.nav-check:checked ~ .menu-toggle .burger::before { transform: rotate(45deg); }
.nav-check:checked ~ .menu-toggle .burger::after { transform: rotate(-45deg); }

.menu-toggle::-webkit-details-marker { display: none; }

.menu-label-close { display: none; }

.nav-check:checked ~ .menu-toggle .menu-label-open { display: none; }

.nav-check:checked ~ .menu-toggle .menu-label-close { display: inline; }

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-check:focus-visible + .menu-toggle {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

@media (min-width: 761px) {
  .nav-details { display: flex; align-items: center; }
  .nav-details > .header-tools { display: flex; }
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.6rem;
}

.primary-nav,
.footer-nav,
.work-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.primary-nav a,
.footer-nav a,
.work-nav a {
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.primary-nav a:hover,
.footer-nav a:hover,
.work-nav a:hover,
.primary-nav a:focus-visible,
.footer-nav a:focus-visible,
.work-nav a:focus-visible,
.primary-nav a[aria-current="page"],
.work-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.95rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header .social { color: inherit; letter-spacing: 0; text-transform: none; }

.site-header .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 7px;
}

.site-header .social a svg {
  display: block;
  width: 18px;
  height: 18px;
}

.site-header .social a:hover,
.site-header .social a:focus-visible {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.page-contact .site-header .social a:hover,
.page-client .site-header .social a:hover,
.page-contact .site-header .social a:focus-visible,
.page-client .site-header .social a:focus-visible {
  background: rgba(0, 0, 0, 0.04);
}

.social a {
  color: inherit;
  text-decoration: none;
}

.social a:hover,
.social a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--hero-ink);
  background: #14110e;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
}

.hero-alt {
  opacity: 0;
  z-index: 0;
  transition: opacity 0.75s ease;
}

.hero:has(.entry[href="exteriors.html"]:focus-visible) .hero-alt[data-cat="exteriors"],
.hero:has(.entry[href="interiors.html"]:focus-visible) .hero-alt[data-cat="interiors"],
.hero:has(.entry[href="portraits.html"]:focus-visible) .hero-alt[data-cat="portraits"],
.hero:has(.entry[href="commercial.html"]:focus-visible) .hero-alt[data-cat="commercial"] {
  opacity: 1;
  z-index: 1;
}

.hero:has(.entry[href="exteriors.html"]:hover) .hero-alt[data-cat="exteriors"],
.hero:has(.entry[href="interiors.html"]:hover) .hero-alt[data-cat="interiors"],
.hero:has(.entry[href="portraits.html"]:hover) .hero-alt[data-cat="portraits"],
.hero:has(.entry[href="commercial.html"]:hover) .hero-alt[data-cat="commercial"] {
  opacity: 1;
  z-index: 2;
}

.hero::after { content: none; }

.page-home .brand,
.page-about .brand,
.page-gallery .brand,
.page-home .primary-nav a,
.page-about .primary-nav a,
.page-gallery .primary-nav a {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.entries {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 68%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 0.02em 0.38em;
  width: min(96vw, 100%);
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.entry {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.02em 0.08em;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(1.9rem, 5.5vw, 5.35rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 10px 28px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
}

.entry:hover,
.entry:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.entry:focus-visible {
  outline: 1px solid var(--ivory);
  outline-offset: 4px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.35rem 2.25rem 1.75rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.prose,
.gallery-intro {
  padding: clamp(2.2rem, 6vw, 4.5rem) 1.5rem clamp(3rem, 7vw, 5rem);
}

.prose {
  max-width: 48rem;
  margin: 0 auto;
}

.about-photo {
  margin: 0 0 2rem;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}

h1, h2, .pull, .brand, .entry {
  font-weight: 400;
}

h1 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.pull {
  margin: 0 0 2.25rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.28;
}

.prose p,
.gallery-intro p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.clients-heading {
  margin: 3rem 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.clients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 1rem;
  align-items: end;
}

.clients li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin: 0;
  min-height: 7.25rem;
  padding: 0.35rem 0.25rem 0.15rem;
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.clients img {
  display: block;
  width: min(100%, 11rem);
  height: 4.25rem;
  margin-inline: auto;
  object-fit: contain;
}

.clients li:not(:has(img)) {
  justify-content: flex-end;
}

.gallery-intro { max-width: 46rem; }

.gallery-intro h1 { margin-bottom: 0.85rem; }

.kicker {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--ink);
}

.gallery {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: #fff;
}

.shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 0;
  cursor: zoom-in;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.shot:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: -4px;
}

.contact-layout {
  --sqs-gap: 11px;
  --sqs-gutter: 4vw;
  --sqs-max: 1500px;
  --container-width: min(var(--sqs-max), calc(100vw - var(--sqs-gutter) * 2));
  --cell-max-width: calc((var(--sqs-max) - (var(--sqs-gap) * 23)) / 24);
  --grid-gutter: calc(var(--sqs-gutter) - var(--sqs-gap));
  --row-size: calc(var(--container-width) * 0.0215);
  display: grid;
  position: relative;
  grid-template-columns:
    minmax(var(--grid-gutter), 1fr)
    repeat(24, minmax(0, var(--cell-max-width)))
    minmax(var(--grid-gutter), 1fr);
  grid-template-rows: repeat(42, minmax(var(--row-size), auto));
  column-gap: var(--sqs-gap);
  row-gap: var(--sqs-gap);
  max-width: none;
  margin: 0;
  padding: 0 0 3rem;
  align-items: stretch;
}

.contact-hero {
  grid-column: 2 / 14;
  grid-row: 1 / 27;
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
}

.contact-hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.contact-title {
  position: absolute;
  grid-column: 3 / 13;
  grid-row: 4 / 6;
  z-index: 2;
  left: 0;
  right: 0;
  top: 50%;
  width: auto;
  height: auto;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  container-type: inline-size;
  color: #fff;
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  text-shadow: none;
  white-space: nowrap;
}

.contact-title span {
  font-size: 9.7cqi;
  font-weight: 500;
  line-height: 1;
}

.contact-title strong {
  font-weight: 700;
}

.contact-secondary {
  grid-column: 2 / 5;
  grid-row: 27 / 32;
  z-index: 7;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.license {
  grid-column: 5 / 11;
  grid-row: 32 / 34;
  z-index: 4;
  align-self: start;
  margin: 0;
  color: #000;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.license a {
  color: #000;
  text-underline-offset: 0.12em;
}

.quote-form {
  grid-column: 15 / 24;
  grid-row: 3 / 43;
  z-index: 3;
  align-self: start;
  min-width: 0;
  color: #000;
  font-weight: 300;
}

.quote-form h2 {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.55rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  min-width: 0;
}

.page-contact .field label,
.page-contact .checks legend {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.35;
}

.page-contact .form-row label {
  font-size: 0.9rem;
}

.req {
  color: inherit;
  font-size: 0.9em;
  font-weight: 300;
}

.page-contact .hint {
  margin: 0 0 0.15rem;
  color: #000;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.45;
}

.page-contact .quote-form input,
.page-contact .quote-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fafafa;
  color: #000;
  font: inherit;
  font-size: 1rem;
  font-weight: 300;
  min-height: 51px;
}

.page-contact .quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

.checks {
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.checks legend {
  margin-bottom: 0.35rem;
  padding: 0;
}

.page-contact .check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.28rem 0;
  min-height: 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.35;
}

.page-contact .check input {
  width: 1rem;
  height: 1rem;
  min-height: 0;
  margin-top: 0.15rem;
  padding: 0;
  accent-color: #000;
  flex: 0 0 auto;
}

.page-contact .quote-form button {
  display: block;
  margin: 0.35rem auto 0;
  min-height: 0;
  padding: 1.2rem 2rem;
  border: 0;
  border-radius: 0;
  background: #171717;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
}

.page-contact .quote-form button:hover { background: #000; }

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.35rem 0.5rem;
  padding: 0.75rem;
  background: #0c0a08;
  color: var(--ivory);
}

.lightbox-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
}

.lightbox-count {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox-caption {
  margin: 0.55rem 0 0;
  max-width: 46rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.4;
  text-align: center;
}

.lightbox-caption:empty { display: none; }

.lightbox-figure {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.lightbox-photo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 10.5rem);
  object-fit: contain;
}

.lightbox-prev,
.lightbox-next,
.lightbox-close {
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(247, 243, 236, 0.45);
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  align-self: center;
}

.lightbox-prev { grid-column: 1; grid-row: 2; }

.lightbox-next { grid-column: 3; grid-row: 2; }

.lightbox-close,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover { background: rgba(247, 243, 236, 0.08); }

body.lightbox-open { overflow: hidden; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.page-home a:focus-visible,
.page-home summary:focus-visible,
.lightbox button:focus-visible {
  outline-color: var(--ivory);
}


@media (max-width: 760px) {
  .site-header { padding: 0.85rem 1rem; }
  .site-footer { padding: 1rem 1rem 1.4rem; }
  .menu-toggle { display: inline-flex; }
  .header-tools { display: none; }
  .nav-check:checked ~ .header-tools {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.35rem 1rem 0.85rem;
    background: var(--cream);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .page-home .nav-check:checked ~ .header-tools {
    background: rgba(16, 13, 11, 0.96);
    color: var(--hero-ink);
    border-bottom: 0;
  }
  .page-home .nav-check:checked ~ .header-tools .social,
  .page-about .nav-check:checked ~ .header-tools .social,
  .page-gallery .nav-check:checked ~ .header-tools .social { color: var(--hero-ink); }
  .primary-nav { flex-direction: column; gap: 0; width: 100%; }
  .primary-nav a,
  .footer-nav a,
  .work-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .site-footer .social { flex-direction: column; gap: 0; }
  .site-footer .social li { display: flex; }
  .site-footer .social a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
  }
  .site-header .social {
    flex-direction: row;
    gap: 0.55rem;
  }
  .brand-name { display: none; }
  .brand-mark { display: block; }
  .brand { align-items: center; }
  .brand-role {
    font-size: 0.48rem;
    letter-spacing: 0.32em;
    margin-top: 0.28rem;
    padding-left: 0.32em;
  }
  .prose,
  .gallery-intro { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 700px) {
  .entries {
    top: 58%;
    width: min(22rem, 94vw);
  }
  .entry { font-size: clamp(1.85rem, 8.6vw, 2.55rem); }
  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 0.65rem;
  }
  .lightbox-bar { grid-column: 1 / -1; grid-row: 1; }
  .lightbox-figure { grid-column: 1 / -1; grid-row: 2; }
  .lightbox-prev { grid-column: 1; grid-row: 3; justify-self: start; }
  .lightbox-next { grid-column: 2; grid-row: 3; justify-self: end; }
  .lightbox-photo { max-height: calc(100dvh - 11rem); }
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.35rem;
    padding: 2rem 2.4rem 3.5rem;
  }
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clients img { height: 4.75rem; width: min(100%, 12.5rem); }
}

@media (min-width: 1100px) {
  .clients { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .brand-mark { font-size: 2.35rem; }
  .brand-role { letter-spacing: 0.26em; font-size: 0.44rem; padding-left: 0.26em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-alt { transition: none; }
}


@media (max-width: 767px) {
  .contact-layout {
    --sqs-gutter: 6vw;
    --cell-max-width: calc((var(--sqs-max) - (var(--sqs-gap) * 7)) / 8);
    --row-size: 24px;
    grid-template-columns:
      minmax(var(--grid-gutter), 1fr)
      repeat(8, minmax(0, var(--cell-max-width)))
      minmax(var(--grid-gutter), 1fr);
    grid-template-rows: repeat(75, minmax(var(--row-size), auto));
  }

  .contact-hero {
    grid-column: 2 / 10;
    grid-row: 1 / 15;
    z-index: 2;
  }

  .contact-title {
    grid-column: 2 / 10;
    grid-row: 1 / 3;
    z-index: 0;
  }

  .contact-title span { font-size: 10cqi; }

  .contact-secondary {
    grid-column: 1 / 5;
    grid-row: 15 / 20;
  }

  .quote-form {
    grid-column: 2 / 10;
    grid-row: 20 / 69;
  }

  .license {
    grid-column: 2 / 10;
    grid-row: 69 / 76;
  }
}

.page-banner {
  position: relative;
  background: #14110e;
}

.about-banner img {
  display: block;
  width: 100%;
  height: min(78vh, 52rem);
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.gallery-banner .banner-shot {
  display: block;
}

.gallery-banner .banner-shot img {
  width: 100%;
  height: min(82vh, 56rem);
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.gallery-banner h1 {
  position: absolute;
  left: 1vw;
  right: 1vw;
  top: 54%;
  transform: translateY(-50%);
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.8rem, 13.2vw, 11.5rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.page-gallery .work-nav {
  padding: 1.15rem 2.4rem 0;
}

.page-gallery .gallery-intro {
  padding-bottom: 0;
}

.hero-photo { object-position: center center; }

@media (max-width: 760px) {
  .page-gallery .work-nav { padding: 1rem 1rem 0; }
  .about-banner img,
  .gallery-banner .banner-shot img { height: 72vh; }
  .gallery-banner h1 { font-size: clamp(2.4rem, 14vw, 4.2rem); top: 58%; }
}
