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

@font-face {
  font-family: "Playfair Local";
  src: url("../fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype"), url("../../fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --dark-grey: #383a42;
  --light-text: #d4d4d4;
  --black: #242424;
  --accent: #c9a757;
  --muted: #aaa9a6;
  --panel: rgba(56, 58, 66, 0.56);
  --panel-strong: rgba(56, 58, 66, 0.84);
  --line: rgba(212, 212, 212, 0.14);
  --shadow: rgba(0, 0, 0, 0.38);
  --title-font: "Montserrat", Arial, sans-serif;
  --body-font: "Playfair Local", "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--light-text);
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.72;
  background:
    radial-gradient(circle at 82% 8%, rgba(201, 167, 87, 0.14), transparent 24rem),
    linear-gradient(140deg, #242424 0%, #2b2c31 48%, #383a42 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(212, 212, 212, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 212, 212, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 82%);
}

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

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

button,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 0.6rem 0.85rem;
  color: var(--black);
  background: var(--accent);
  border-radius: 4px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(36, 36, 36, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  gap: 1rem;
}

.nav-spacer {
  flex: 1 1 auto;
  min-height: 1px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--title-font);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--black);
  background: var(--accent);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-family: var(--title-font);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a,
.project-menu a {
  position: relative;
  padding: 0.65rem 0.78rem;
  color: var(--muted);
  border-radius: 4px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.project-menu a:hover,
.project-menu a:focus-visible,
.project-menu a[aria-current="page"] {
  color: var(--light-text);
  background: rgba(212, 212, 212, 0.07);
  transform: translateY(-1px);
}

.project-menu a:hover,
.project-menu a:focus-visible {
  transform: translateX(3px) scale(1.03);
}

.site-nav a[aria-current="page"]::after,
.project-menu a[aria-current="page"]::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0.3rem;
  left: 0.7rem;
  height: 1px;
  content: "";
  background: var(--accent);
}

main {
  overflow: clip;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 6rem 0;
}

.section-narrow {
  width: min(760px, calc(100% - 40px));
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #f0f0ed;
  font-family: var(--title-font);
  line-height: 1.04;
  font-weight: 400;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 400;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  color: var(--light-text);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.muted {
  color: var(--muted);
}

.hero {
  display: grid;
  min-height: calc(100vh - 76px);
  align-items: center;
  padding: 5rem 0 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.62fr);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.3rem;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(201, 167, 87, 0.5);
  color: var(--black);
  font-family: var(--title-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}

.button.secondary {
  color: var(--light-text);
  background: transparent;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.portrait-frame {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(212, 212, 212, 0.12);
  background: linear-gradient(150deg, rgba(201, 167, 87, 0.18), rgba(56, 58, 66, 0.72)), url("../img/hero-portrait-placeholder.svg") center / cover no-repeat;
  box-shadow: 0 30px 80px var(--shadow);
}

.portrait-frame::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(201, 167, 87, 0.36);
}

.portrait-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 212, 212, 0.22);
  font-family: var(--title-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  display: grid;
  padding: 1.6rem 1.2rem;
  border-right: 1px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), background 280ms ease, box-shadow 280ms ease;
}

.metric:last-child {
  border-right: 0;
}

.metric:hover,
.metric:focus-visible {
  background: rgba(201, 167, 87, 0.09);
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(201, 167, 87, 0.3);
}

.metric strong {
  display: block;
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 400;
  transition: font-size 300ms cubic-bezier(0.34, 1.56, 0.64, 1), text-shadow 280ms ease;
}

.metric:hover strong,
.metric:focus-visible strong {
  font-size: 3.8rem;
  text-shadow: 0 0 32px rgba(201, 167, 87, 0.48);
}

.metric span {
  color: var(--muted);
  font-family: var(--title-font);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.capability-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.capability-list li {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 0;
  background: rgba(36, 36, 36, 0.36);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.capability-list li:hover,
.capability-list li:focus-within {
  background: rgba(56, 58, 66, 0.62);
  transform: translateY(-1px);
}

.capability-list li > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.capability-name {
  display: block;
  color: var(--light-text);
  font-family: var(--title-font);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-meta {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-family: var(--title-font);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-subskills {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  opacity: 0.84;
  transform: translateY(4px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.capability-list li:hover .capability-subskills,
.capability-list li:focus-within .capability-subskills {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.capability-subskills span {
  color: var(--muted);
  font-family: var(--title-font);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-subskills span + span::before {
  content: " · ";
  color: rgba(201, 167, 87, 0.55);
}

.page-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 7rem 0 4rem;
  text-align: center;
}

.page-hero .lead {
  margin: 1.2rem auto 0;
  max-width: 56ch;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.timeline {
  position: relative;
  display: grid;
  gap: 2.2rem;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 3rem 0 7rem;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(201, 167, 87, 0.72), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  width: calc(50% - 2.2rem);
  gap: 0.6rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(36, 36, 36, 0.48);
  overflow-wrap: break-word;
  word-break: break-word;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.timeline-item:nth-child(odd) {
  justify-self: start;
}

.timeline-item:nth-child(even) {
  justify-self: end;
}

.timeline-item::after {
  position: absolute;
  top: 1.45rem;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--accent);
  border: 4px solid var(--black);
  border-radius: 50%;
}

.timeline-item:nth-child(odd)::after {
  right: -2.58rem;
}

.timeline-item:nth-child(even)::after {
  left: -2.58rem;
}

.timeline-item:hover {
  border-color: rgba(201, 167, 87, 0.42);
  background: rgba(56, 58, 66, 0.62);
  transform: translateY(-4px);
}

.timeline-meta {
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-role {
  color: #efefec;
  font-family: var(--title-font);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.25;
}

.feature-callout {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto 6rem;
  padding: 1.4rem;
  border: 1px solid rgba(201, 167, 87, 0.34);
  background: linear-gradient(120deg, rgba(201, 167, 87, 0.13), rgba(36, 36, 36, 0.68));
}

.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 1.5rem;
  gap: 1rem;
}

.project-toolbar label {
  font-family: var(--title-font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-toolbar select {
  min-width: 190px;
  padding: 0.7rem 0.85rem;
  color: var(--light-text);
  border: 1px solid var(--line);
  background: var(--black);
  border-radius: 4px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 7rem;
  gap: 1.1rem;
}

.project-tile {
  position: relative;
  display: grid;
  min-height: min(42vw, 520px);
  aspect-ratio: 1;
  overflow: hidden;
  align-content: end;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: var(--dark-grey);
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.project-tile::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: var(--tile-image, linear-gradient(140deg, rgba(201, 167, 87, 0.2), rgba(56, 58, 66, 0.84)));
  background-size: cover;
  background-position: center;
  transition: transform 380ms ease, filter 220ms ease;
}

.project-tile::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(to top, rgba(36, 36, 36, 0.92), rgba(36, 36, 36, 0.1) 65%);
}

.project-tile:hover,
.project-tile:focus-visible {
  border-color: rgba(201, 167, 87, 0.52);
  filter: brightness(1.08);
  transform: translateY(-5px) scale(1.01);
}

.project-tile:hover::before,
.project-tile:focus-visible::before {
  transform: scale(1.045);
}

.project-tile time {
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-tile h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.project-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  gap: 3rem;
}

.project-menu {
  position: sticky;
  top: 102px;
  align-self: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-menu-title {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-menu nav {
  display: grid;
  gap: 0.12rem;
  font-family: var(--title-font);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.project-detail {
  padding-bottom: 7rem;
  --detail-image: linear-gradient(140deg, rgba(201, 167, 87, 0.2), rgba(56, 58, 66, 0.84));
}

.project-detail .page-hero {
  position: relative;
  min-height: 300px;
  margin: 1.5rem 0 1.75rem;
  padding: 3.4rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px var(--shadow);
  background:
    linear-gradient(180deg, rgba(36, 36, 36, 0.22), rgba(36, 36, 36, 0.86)),
    var(--detail-image) center / cover;
  text-align: center;
}

.project-detail .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 36, 36, 0.06) 0%, rgba(36, 36, 36, 0.42) 44%, rgba(36, 36, 36, 0.82) 100%);
}

.project-detail .page-hero > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.project-detail .page-hero h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  color: var(--light-text);
  text-wrap: balance;
  font-weight: 400;
}

.project-detail .page-hero .lead {
  max-width: 56ch;
  color: rgba(212, 212, 212, 0.94);
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.project-hero-image {
  display: none;
}

.content-block {
  width: min(760px, 100%);
  margin: 0 auto 2.2rem;
  padding: 0 0 2.2rem;
  border-bottom: 1px solid var(--line);
}

.content-block h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.tool-list span {
  padding: 0.45rem 0.65rem;
  color: var(--light-text);
  border: 1px solid var(--line);
  font-family: var(--title-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(36, 36, 36, 0.34);
  border-radius: 999px;
}

.reveal-line {
  display: inline;
  opacity: 0;
  transition: opacity 320ms ease;
}

.reveal-line.is-visible {
  opacity: 1;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: enter 680ms ease forwards;
}

.fade-in.delay-1 {
  animation-delay: 120ms;
}

.fade-in.delay-2 {
  animation-delay: 240ms;
}

@keyframes enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 2rem 0;
  gap: 1rem;
  font-family: var(--title-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .nav-shell,
  .footer-shell,
  .project-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-grid,
  .intro-grid,
  .project-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    min-height: auto;
  }

  .portrait-frame {
    min-height: 420px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item,
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    width: calc(100% - 2.4rem);
    justify-self: end;
  }

  .timeline-item:nth-child(even)::after,
  .timeline-item:nth-child(odd)::after {
    left: -2.38rem;
    right: auto;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-tile {
    min-height: auto;
  }

  .project-menu {
    position: static;
  }

  .project-menu nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .section,
  .section-narrow,
  .page-hero,
  .timeline,
  .feature-callout,
  .project-toolbar,
  .project-grid,
  .project-layout,
  .nav-shell,
  .footer-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .project-menu nav {
    grid-template-columns: 1fr;
  }

  .project-hero-image {
    min-height: 280px;
  }
}

.site-wordmark {
  font-family: var(--title-font);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--light-text);
  white-space: nowrap;
}

.nav-cta {
  border: 1px solid rgba(201, 167, 87, 0.45);
  color: var(--accent) !important;
  border-radius: 4px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(201, 167, 87, 0.1) !important;
  color: var(--accent) !important;
  transform: translateY(-1px);
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-header {
  margin-bottom: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  border: 1px solid var(--line);
  gap: 1px;
  background: var(--line);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem 1.2rem;
  background: rgba(36, 36, 36, 0.48);
}

.contact-label {
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-item a {
  color: var(--light-text);
  font-family: var(--title-font);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 180ms ease;
  word-break: break-all;
}

.contact-item a:hover {
  color: var(--accent);
}

.timeline-img {
  width: 100%;
  min-height: 160px;
  margin-top: 0.5rem;
  background: rgba(36, 36, 36, 0.52);
  border: 1px solid rgba(212, 212, 212, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.timeline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

@media (min-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
  }
}

.gallery-item {
  margin: 0;
  background: rgba(36, 36, 36, 0.52);
  border: 1px solid rgba(212, 212, 212, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #1f1f1f;
}

.gallery-span-1x1 {
  aspect-ratio: 1 / 1;
}

.gallery-span-2x2 {
  aspect-ratio: 1 / 1.22;
}

@media (min-width: 760px) {
  .gallery-span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 360px;
  }

  .gallery-span-1x1 {
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal-line {
    opacity: 1;
  }
}
