﻿/* Global design tokens */
:root {
  --color-background: #f2f2f0;
  --color-surface: #ffffff;
  --color-text: #111111;
  --color-text-soft: #666666;
  --color-border: rgba(17, 17, 17, 0.14);
  --color-gallery-gap: 0.38rem;
  --nav-height: 88px;
  --container-width: 1240px;
  --transition-smooth: 260ms ease;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Jost", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
}

.container {
  max-width: var(--container-width);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-nav {
  min-height: var(--nav-height);
  background: rgba(242, 242, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.site-nav__inner {
  min-height: var(--nav-height);
}

.site-logo {
  font-size: 1.85rem;
  letter-spacing: 0.34rem;
  font-weight: 500;
}

.site-nav__links {
  gap: 1.8rem;
}

.site-nav__links .nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.24rem;
  padding: 0.5rem 0;
  position: relative;
}

.site-nav__links .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-smooth);
}

.site-nav__links .nav-link:hover::after,
.site-nav__links .nav-link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__toggle {
  border: 0;
  padding-right: 0;
}

.site-nav__toggle:focus {
  box-shadow: none;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  overflow: hidden;
  background: #050505;
}

.hero-section__media,
.hero-section__overlay {
  position: absolute;
  inset: 0;
}

.hero-section__media {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.88) 100%);
  background-position: var(--home-hero-position-desktop, 50% 50%);
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.05);
}

.hero-section__overlay {
  background:
    radial-gradient(circle at 60% 35%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55));
}

.hero-section__content,
.gallery-hero__content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.hero-section__eyebrow,
.section-kicker,
.section-heading p {
  text-transform: uppercase;
  letter-spacing: 0.46rem;
  font-size: 0.8rem;
}

.hero-section__eyebrow {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-section h1,
.gallery-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 500;
  letter-spacing: 0.15rem;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.hero-section__subtitle,
.gallery-hero__subtitle {
  font-size: 1rem;
  letter-spacing: 0.34rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  z-index: 1;
  width: 2rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
}

.scroll-indicator span {
  width: 1.2rem;
  height: 1.2rem;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  transform: rotate(45deg);
  animation: float-arrow 2s infinite ease-in-out;
}

@keyframes float-arrow {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: rotate(45deg) translate(4px, 4px);
    opacity: 1;
  }
}

.section-shell {
  padding: 6rem 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.section-heading span {
  width: min(24vw, 320px);
  height: 1px;
  background: var(--color-border);
}

.section-heading p {
  margin: 0;
  color: #8d8d8d;
}

.portfolio-grid {
  column-count: 3;
  column-gap: 1.25rem;
}

.portfolio-grid--catalog .portfolio-card {
  break-inside: avoid;
}

.empty-gallery-message {
  margin: 0 auto;
  color: var(--color-text-soft);
  text-align: center;
  letter-spacing: 0.08rem;
}

.portfolio-card {
  position: relative;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.portfolio-card__placeholder {
  min-height: 360px;
  padding: 2rem;
  display: grid;
  place-items: center;
  background: #161616;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  letter-spacing: 0.18rem;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.portfolio-card--tall img {
  min-height: 620px;
}

.portfolio-card--tall .portfolio-card__placeholder {
  min-height: 620px;
}

.portfolio-card--wide img {
  min-height: 420px;
}

.portfolio-card--wide .portfolio-card__placeholder {
  min-height: 420px;
}

.portfolio-card--dark img {
  filter: contrast(1.12);
}

.portfolio-card__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.portfolio-card__overlay strong {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.portfolio-card__overlay small {
  font-size: 0.78rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-card:hover img,
.portfolio-card:focus-visible img,
.gallery-masonry__item:hover img,
.gallery-masonry__item:focus-visible img {
  transform: scale(1.04);
}

.portfolio-card:hover .portfolio-card__overlay,
.portfolio-card:focus-visible .portfolio-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-page {
  background: #f6f6f4;
}

.about-page {
  background: #f6f6f4;
}

.about-section__inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-section__media {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 4 / 5;
  justify-self: center;
  overflow: hidden;
  background: #111111;
}

.about-section__content {
  padding-top: 0.15rem;
}

.about-section__media.is-empty {
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.05) 25%, transparent 25%) 0 0 / 1.1rem 1.1rem,
    linear-gradient(135deg, transparent 75%, rgba(17, 17, 17, 0.05) 75%) 0 0 / 1.1rem 1.1rem,
    #ebe9e2;
}

.about-section__media.is-empty::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(17, 17, 17, 0.22);
  pointer-events: none;
}

.about-section__media.is-empty::after {
  content: "Headshot";
  position: relative;
  z-index: 1;
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
}

.about-section__media.is-empty img {
  display: none;
}

.about-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--about-headshot-position-desktop, 50% 50%);
}

.about-section__content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 2.35vw, 2.1rem);
  font-weight: 500;
  line-height: 1.04;
  margin-bottom: 0.9rem;
}

.about-section__content p:last-child {
  max-width: 560px;
  color: #3f3f3f;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.62;
}

.about-section__content .section-kicker {
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.32rem;
}

.gallery-hero {
  min-height: 46vh;
  background-color: #111111;
  background-position: center 20%;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-hero--empty {
  background: #111111;
}

.gallery-hero__content {
  min-height: 46vh;
  max-width: 760px;
}

.gallery-hero__copy {
  max-width: 620px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.gallery-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-selector-toggle {
  display: none;
}

.gallery-browser__actions {
  display: flex;
  justify-content: center;
  margin: -1rem 0 2rem;
}

.gallery-browser__all-link {
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  text-decoration: none;
}

.gallery-browser__all-link:hover,
.gallery-browser__all-link:focus-visible {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.gallery-selector__link {
  min-width: 150px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  transition: transform var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth);
}

.gallery-selector__link span,
.gallery-selector__link small {
  display: block;
}

.gallery-selector__link span {
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.86rem;
}

.gallery-selector__link small {
  margin-top: 0.2rem;
  letter-spacing: 0.08rem;
  color: var(--color-text-soft);
}

.gallery-selector__link:hover,
.gallery-selector__link:focus-visible,
.gallery-selector__link.is-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  transform: translateY(-2px);
}

.gallery-selector__link:hover small,
.gallery-selector__link:focus-visible small,
.gallery-selector__link.is-active small {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-masonry {
  column-count: 4;
  column-gap: var(--color-gallery-gap);
}

.gallery-masonry__item {
  width: 100%;
  display: block;
  margin: 0 0 var(--color-gallery-gap);
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
  overflow: hidden;
  break-inside: avoid;
  cursor: pointer;
}

.gallery-masonry__item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 450ms ease, filter 450ms ease;
}

.section-kicker {
  margin-bottom: 1rem;
  color: var(--color-text-soft);
}

.contact-panel h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
}

.contact-panel__details p {
  margin-bottom: 1rem;
  color: #404040;
  font-size: 1rem;
}

.contact-panel {
  background: var(--color-surface);
  padding: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow-soft);
}

.contact-panel__details {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.contact-panel__details a,
.site-footer__links a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  font-size: 0.82rem;
}

.contact-panel__details a::after,
.site-footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.contact-panel__details a:hover::after,
.contact-panel__details a:focus-visible::after,
.site-footer__links a:hover::after,
.site-footer__links a:focus-visible::after {
  transform: scaleX(1);
}

.contact-form-section {
  min-height: calc(92vh - var(--nav-height));
  display: grid;
  align-items: center;
}

.contact-form-section__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
  max-width: 1120px;
}

.contact-form-section__intro h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.02;
  margin-bottom: 1.1rem;
}

.contact-form-section__details {
  margin-top: 1.5rem;
}

.contact-form-section__disabled {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.contact-form-section__disabled h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.inquiry-form {
  display: grid;
  gap: 1.65rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.62);
}

.inquiry-field {
  display: grid;
  gap: 0.55rem;
}

.inquiry-field label {
  color: #080808;
  font-size: clamp(0.96rem, 1.4vw, 1.18rem);
  line-height: 1.2;
  white-space: pre-line;
}

.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(45, 50, 58, 0.42);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  padding: 0 0 0.35rem;
  font: inherit;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  outline: none;
}

.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
  color: rgba(45, 50, 58, 0.38);
}

.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
  border-bottom-color: var(--color-text);
}

.inquiry-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.inquiry-field--radio {
  border: 0;
  margin: 0;
  padding: 0;
}

.inquiry-field--radio legend {
  color: #080808;
  font-size: clamp(0.96rem, 1.4vw, 1.18rem);
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

.inquiry-field--radio label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.inquiry-field--radio input {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  border: 0;
  padding: 0;
  accent-color: var(--color-text);
}

.inquiry-form__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.inquiry-form__submit {
  border: 0;
}

.inquiry-form__status {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.site-footer__inner {
  border-top: 1px solid var(--color-border);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer__links {
  display: flex;
  gap: 1.6rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 5rem 6rem 3.25rem;
  background: #000000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  overflow: hidden;
}

.lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  width: 100%;
  height: 100%;
  background: transparent;
  color: #ffffff;
  display: grid;
  place-items: center;
  position: relative;
}

.lightbox__counter {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
}

.lightbox__toolbar {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lightbox__tool {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  min-width: 2.35rem;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  opacity: 0.92;
}

.lightbox__tool:hover,
.lightbox__tool:focus-visible,
.lightbox__tool.is-active {
  opacity: 1;
  outline: none;
}

.lightbox__tool:disabled {
  opacity: 0.35;
  cursor: default;
}

.lightbox__icon {
  position: relative;
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  color: currentColor;
}

.lightbox__icon::before,
.lightbox__icon::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
}

.lightbox__icon--play::before {
  top: 0.18rem;
  left: 0.34rem;
  width: 0;
  height: 0;
  border-top: 0.55rem solid transparent;
  border-bottom: 0.55rem solid transparent;
  border-left: 0.85rem solid currentColor;
}

.lightbox__icon--zoom::before {
  top: 0.1rem;
  left: 0.1rem;
  width: 0.82rem;
  height: 0.82rem;
  border: 0.18rem solid currentColor;
  border-radius: 50%;
}

.lightbox__icon--zoom::after {
  right: 0.12rem;
  bottom: 0.12rem;
  width: 0.64rem;
  height: 0.18rem;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.lightbox__icon--grid::before {
  inset: 0.12rem;
  background:
    linear-gradient(currentColor 0 0) left top / 0.36rem 0.36rem no-repeat,
    linear-gradient(currentColor 0 0) center top / 0.36rem 0.36rem no-repeat,
    linear-gradient(currentColor 0 0) right top / 0.36rem 0.36rem no-repeat,
    linear-gradient(currentColor 0 0) left center / 0.36rem 0.36rem no-repeat,
    linear-gradient(currentColor 0 0) center center / 0.36rem 0.36rem no-repeat,
    linear-gradient(currentColor 0 0) right center / 0.36rem 0.36rem no-repeat,
    linear-gradient(currentColor 0 0) left bottom / 0.36rem 0.36rem no-repeat,
    linear-gradient(currentColor 0 0) center bottom / 0.36rem 0.36rem no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 0.36rem 0.36rem no-repeat;
}

.lightbox__icon--fullscreen::before {
  inset: 0.08rem;
  background:
    linear-gradient(currentColor 0 0) left top / 0.52rem 0.18rem no-repeat,
    linear-gradient(currentColor 0 0) left top / 0.18rem 0.52rem no-repeat,
    linear-gradient(currentColor 0 0) right top / 0.52rem 0.18rem no-repeat,
    linear-gradient(currentColor 0 0) right top / 0.18rem 0.52rem no-repeat,
    linear-gradient(currentColor 0 0) left bottom / 0.52rem 0.18rem no-repeat,
    linear-gradient(currentColor 0 0) left bottom / 0.18rem 0.52rem no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 0.52rem 0.18rem no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 0.18rem 0.52rem no-repeat;
}

.lightbox__icon--close::before,
.lightbox__icon--close::after {
  top: 0.62rem;
  left: 0.1rem;
  width: 1.25rem;
  height: 0.18rem;
  background: currentColor;
  border-radius: 999px;
}

.lightbox__icon--close::before {
  transform: rotate(45deg);
}

.lightbox__icon--close::after {
  transform: rotate(-45deg);
}

.lightbox__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  padding: 0;
  touch-action: none;
  user-select: none;
}

.lightbox__stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: 0.18rem solid rgba(255, 255, 255, 0.28);
  border-top-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
  animation: lightbox-spin 900ms linear infinite;
}

.lightbox.is-loading .lightbox__stage::after {
  opacity: 1;
  transform: scale(1);
}

@keyframes lightbox-spin {
  to {
    rotate: 360deg;
  }
}

.lightbox__stage.is-zoomed {
  cursor: grab;
}

.lightbox__stage.is-panning {
  cursor: grabbing;
}

.lightbox__image {
  max-width: min(100%, 1420px);
  max-height: calc(100vh - 8.25rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #000000;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  transform-origin: center center;
  transition: transform 180ms ease;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__meta {
  padding: 1.25rem 1.4rem 1.5rem;
}

.lightbox__title {
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.lightbox__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.lightbox__side-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  border: 0;
  background: transparent;
  color: #ffffff;
  width: 4.5rem;
  height: 7rem;
  font-size: 5rem;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0.92;
}

.lightbox__side-nav:hover,
.lightbox__side-nav:focus-visible {
  opacity: 1;
  outline: none;
}

.lightbox__side-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.lightbox__side-nav--prev {
  left: -5rem;
}

.lightbox__side-nav--next {
  right: -5rem;
}

.lightbox__close {
  font-size: 2.2rem;
}

.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;
}

@media (max-width: 991.98px) {
  .site-nav__links {
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .site-nav__links .nav-link {
    padding: 0.5rem 0;
  }

  .hero-section h1,
  .gallery-hero h1 {
    font-size: clamp(3.2rem, 12vw, 5.8rem);
  }

  .portfolio-grid {
    column-count: 2;
  }

  .gallery-masonry {
    column-count: 3;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-form-section__inner {
    grid-template-columns: 1fr;
  }

  .about-section__inner {
    grid-template-columns: 1fr;
  }

  .about-section__media {
    width: min(100%, 240px);
  }
}

@media (max-width: 767.98px) {
  :root {
    --nav-height: 78px;
  }

  .site-logo {
    font-size: 1.2rem;
    letter-spacing: 0.24rem;
  }

  .hero-section__eyebrow,
  .section-kicker,
  .section-heading p,
  .hero-section__subtitle,
  .gallery-hero__subtitle {
    letter-spacing: 0.24rem;
  }

  .hero-section__media {
    background-position: var(--home-hero-position-mobile, 50% 50%);
  }

  .about-section__media img {
    object-position: var(--about-headshot-position-mobile, 50% 50%);
  }

  .section-shell {
    padding: 4.5rem 0;
  }

  .section-heading {
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }

  .section-heading span {
    width: min(18vw, 80px);
  }

  .portfolio-grid,
  .gallery-masonry {
    column-count: 1;
  }

  .portfolio-card img,
  .portfolio-card--tall img,
  .portfolio-card--wide img {
    min-height: 340px;
  }

  .gallery-selector-toggle {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    margin: -0.75rem 0 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(17, 17, 17, 0.14);
    background: #111111;
    color: #ffffff;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    position: relative;
  }

  .gallery-selector-toggle::before,
  .gallery-selector-toggle::after {
    content: "";
    position: absolute;
    right: 1.1rem;
    width: 1.65rem;
    height: 1px;
    background: currentColor;
  }

  .gallery-selector-toggle::before {
    top: calc(50% - 0.2rem);
  }

  .gallery-selector-toggle::after {
    top: calc(50% + 0.2rem);
  }

  .gallery-selector-toggle span {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.66);
  }

  .gallery-selector-toggle strong {
    max-width: calc(100% - 3rem);
    font-size: 0.86rem;
    font-weight: 500;
  }

  .gallery-selector {
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .gallery-selector[hidden] {
    display: none;
  }

  .gallery-selector__link {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .contact-panel {
    padding: 2rem 1.5rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 4.5rem 2.6rem 2rem;
  }

  .lightbox__content {
    height: 100%;
  }

  .lightbox__stage {
    padding: 0;
  }

  .lightbox__image {
    max-height: calc(100vh - 6.5rem);
  }

  .lightbox__counter {
    top: 0.85rem;
    left: 0.75rem;
    font-size: 0.78rem;
  }

  .lightbox__toolbar {
    top: 0.35rem;
    right: 0.35rem;
    gap: 0.2rem;
  }

  .lightbox__tool {
    width: 1.9rem;
    height: 1.9rem;
    min-width: 1.9rem;
    font-size: 1.18rem;
  }

  .lightbox__side-nav {
    width: 2.8rem;
    height: 4.8rem;
    font-size: 3.6rem;
  }

  .lightbox__side-nav--prev {
    left: -3rem;
  }

  .lightbox__side-nav--next {
    right: -3rem;
  }
}

