/* HEADER NAVIGATION */

#authNav {
  display: flex;
  align-items: center;
  gap: 24px;
}

#authNav button {
  padding: 0;
  border: 0;

  background: transparent;
  color: #bbbbbb;

  font: inherit;
  font-size: 0.9rem;

  cursor: pointer;
}

#authNav button:hover,
#authNav a:hover {
  color: #ffffff;
}

.profile-detail {
  margin-top: 24px;
}

.profile-detail span {
  display: block;

  margin-bottom: 6px;

  color: #777777;

  font-size: 0.75rem;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.profile-detail strong {
  display: block;

  overflow-wrap: anywhere;

  color: #ffffff;
}

/*  */

.image-page {
  width: 100%;

  display: grid;
  grid-template-columns:
    minmax(0, 1.6fr)
    minmax(320px, 0.7fr);

  min-height:
    calc(100vh - 72px);
}

.image-page-media {
  background: #000000;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 70vh;
}

.image-page-media img {
  width: 100%;
  height: 100%;

  max-height:
    calc(100vh - 72px);

  object-fit: contain;
}

.image-page-info {
  padding:
    70px 45px;

  background:
    #0d0d0d;
}

.image-page-info h1 {
  margin:
    0 0 20px;

  font-size:
    clamp(
      2rem,
      4vw,
      4rem
    );

  line-height:
    1;
}

.image-location {
  color:
    #aaaaaa;

  font-size:
    0.9rem;
}

.image-description {
  margin-top:
    28px;

  color:
    #cccccc;

  font-size:
    1rem;

  line-height:
    1.7;
}

.image-credit {
  margin-top:
    24px;

  color:
    #888888;

  font-size:
    0.85rem;
}

.image-tags {
  margin-top:
    28px;

  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    8px;
}

.image-tags span {
  padding:
    7px 10px;

  background:
    #1a1a1a;

  border:
    1px solid #2c2c2c;

  border-radius:
    999px;

  color:
    #aaaaaa;

  font-size:
    0.75rem;
}

.back-link {
  display:
    inline-block;

  margin-top:
    40px;

  color:
    #ffffff;

  font-weight:
    700;
}

.image-page-loading {
  padding:
    100px 5vw;

  color:
    #888888;
}

@media (
  max-width: 900px
) {
  .image-page {
    grid-template-columns:
      1fr;
  }

  .image-page-media {
    min-height:
      auto;
  }

  .image-page-media img {
    max-height:
      75vh;
  }

  .image-page-info {
    padding:
      40px 5vw
      70px;
  }
}

.image-card {
  position: relative;
  overflow: hidden;
  background: #151515;
  aspect-ratio: 1 / 1;
}

.image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 0.25s ease;
}

.image-card:hover img {
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  padding: 40px 16px 16px;

  background:
    linear-gradient(
      transparent,
      rgba(0, 0, 0, 0.85)
    );
}

.image-overlay h3 {
  margin: 0;

  font-size: 1rem;
}

.image-overlay p {
  margin: 5px 0 0;

  color: #cccccc;

  font-size: 0.8rem;
}

.feed-status,
.empty-feed {
  grid-column: 1 / -1;

  padding: 60px 20px;

  color: #888888;

  text-align: center;
}

.empty-feed h3 {
  margin: 0 0 8px;

  color: #ffffff;

  font-size: 1.5rem;
}

.empty-feed p {
  margin: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    #080808;
  color:
    #ffffff;
  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

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

.site-header {
  min-height: 72px;
  padding:
    0 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background:
    rgba(8, 8, 8, 0.96);

  border-bottom:
    1px solid #242424;

  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-size:
    1rem;

  font-weight:
    900;

  letter-spacing:
    0.14em;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  color:
    #bbbbbb;

  font-size:
    0.9rem;
}

.hero {
  min-height:
    62vh;

  display: flex;
  align-items: flex-end;

  padding:
    80px 5vw;

  background:
    linear-gradient(
      180deg,
      #111111,
      #080808
    );
}

.hero-content {
  max-width:
    900px;
}

.eyebrow,
.section-heading p {
  margin:
    0 0 14px;

  color:
    #999999;

  font-size:
    0.72rem;

  font-weight:
    800;

  letter-spacing:
    0.24em;
}

.hero h1 {
  margin:
    0;

  max-width:
    800px;

  font-size:
    clamp(
      3rem,
      9vw,
      7rem
    );

  line-height:
    0.9;

  letter-spacing:
    -0.06em;
}

.hero-copy {
  max-width:
    620px;

  margin:
    28px 0;

  color:
    #bcbcbc;

  font-size:
    1.08rem;

  line-height:
    1.7;
}

.primary-button {
  display:
    inline-flex;

  padding:
    16px 24px;

  background:
    #ffffff;

  color:
    #000000;

  font-weight:
    800;

  border-radius:
    999px;
}

.gallery-section {
  padding:
    70px 5vw
    100px;
}

.section-heading {
  margin-bottom:
    28px;
}

.section-heading h2 {
  margin: 0;

  font-size:
    clamp(
      2rem,
      5vw,
      4rem
    );
}

.image-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    8px;
}

.image-card {
  overflow:
    hidden;

  background:
    #151515;

  aspect-ratio:
    1 / 1;
}

.image-placeholder {
  width:
    100%;

  height:
    100%;

  display:
    grid;

  place-items:
    center;

  background:
    linear-gradient(
      135deg,
      #181818,
      #292929
    );

  color:
    #666666;

  font-size:
    0.8rem;
}

.not-found {
  padding:
    100px 5vw;
}

@media (
  max-width: 800px
) {
  .image-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .hero {
    min-height:
      55vh;

    padding-top:
      60px;
  }
}
