:root {
  --bg: #0d0d0d;
  --surface: #181818;
  --surface-2: #222222;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --text-muted: #909090;
  --text-dim: #555555;
  --accent: #6e9bc8;
  --accent-dark: #5072a8;
  --sidebar-w: 260px;
  --header-h: 70px;
  --ease: 0.28s ease;
  --sans: 'Comfortaa', system-ui, sans-serif;
  --script: 'Sacramento', cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  padding-top: var(--header-h);
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(13, 13, 13, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
}

.logo-name {
  font-family: var(--script);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--ease);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  margin-top: auto;
}

.footer-copy {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-family: var(--script);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sidebar-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.82rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: color var(--ease), background var(--ease);
  text-align: left;
}
.sidebar-section-toggle:hover {
  color: var(--text-muted);
  background: var(--surface-2);
}

.sidebar-section.open .sidebar-section-toggle {
  color: var(--text-muted);
  background: var(--surface-2);
}

.caret-icon {
  width: 9px;
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: transform var(--ease);
  color: var(--text-dim);
}

.sidebar-section.open .caret-icon {
  transform: rotate(180deg);
}

.sidebar-section-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar-section.open .sidebar-section-items {
  max-height: 600px;
}

.sidebar-link {
  display: block;
  padding: 0.65rem 1.35rem 0.65rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: all var(--ease);
  border-left: 2px solid transparent;
  border-bottom: 1px solid rgba(42, 42, 42, 0.5);
}
.sidebar-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--border);
}
.sidebar-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--accent);
}

.sidebar-count {
  float: right;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.7;
  background: rgba(110, 155, 200, 0.1);
  padding: 0.05rem 0.4rem;
  border-radius: 0.6rem;
  letter-spacing: 0;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.photo-card {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--surface);
}
.photo-card.hidden {
  display: none;
}
.photo-card:focus-visible {
  outline: 1px solid var(--accent);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.photo-card img.img-loaded {
  opacity: 1;
}
.photo-card:hover img, .photo-card:focus-visible img {
  transform: scale(1.08);
}

.photo-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}
.photo-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1c1c1c 25%, #2a2a2a 50%, #1c1c1c 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  z-index: 0;
}
.photo-card-inner img {
  position: relative;
  z-index: 1;
}
.photo-card-inner.img-ready::before {
  display: none;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 52%);
  opacity: 0;
  transition: opacity var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
}

.photo-card:hover .photo-overlay,
.photo-card:focus-visible .photo-overlay {
  opacity: 1;
}

.photo-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.photo-location {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.97);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 92vw;
  max-height: 88vh;
  width: 100%;
}

.lightbox-image-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  display: block;
}

.lightbox-info {
  width: 280px;
  flex-shrink: 0;
}

.lightbox-title {
  font-family: var(--script);
  font-size: 1.85rem;
  font-weight: 400;
  color: rgba(232, 232, 232, 0.9);
  line-height: 1.4;
  margin-bottom: 1.4rem;
}

.lightbox-meta {
  display: flex;
  flex-direction: column;
}

.meta-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--border);
}

.meta-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 72px;
  flex-shrink: 0;
}

.meta-value {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 202;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--ease), transform var(--ease);
  line-height: 1;
}
.lightbox-close:hover {
  color: #fff;
  transform: scale(1.15);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 202;
  width: 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  transition: all var(--ease);
}
.lightbox-prev:hover,
.lightbox-next:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.page-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 3rem 4rem;
}

.page-title {
  font-family: var(--script);
  font-size: 3rem;
  font-weight: 400;
  color: rgba(232, 232, 232, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.page-content {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

.home-page main {
  padding-top: 0;
  flex: 1;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

@keyframes kb-zoom-in {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
@keyframes kb-zoom-out {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
@keyframes kb-slide-ltr {
  from {
    transform: scale(1.05) translateX(-3%);
  }
  to {
    transform: scale(1) translateX(0);
  }
}
@keyframes kb-slide-rtl {
  from {
    transform: scale(1.05) translateX(3%);
  }
  to {
    transform: scale(1) translateX(0);
  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active {
  opacity: 1;
  animation: kb-zoom-in 9s ease forwards;
}
.hero-slide.active.anim-zoom-in {
  animation: kb-zoom-in 9s ease forwards;
}
.hero-slide.active.anim-zoom-out {
  animation: kb-zoom-out 9s ease forwards;
}
.hero-slide.active.anim-ltr {
  animation: kb-slide-ltr 9s ease forwards;
}
.hero-slide.active.anim-rtl {
  animation: kb-slide-rtl 9s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 0.7rem;
}

.hero-title {
  font-family: var(--script);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  line-height: 1.2;
}

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  min-height: 1.7rem;
}

.caption-title {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

.caption-sep {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.9rem;
}

.caption-category {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all var(--ease);
}
.hero-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--ease);
}
.hero-nav:hover {
  color: rgba(255, 255, 255, 0.85);
}

.hero-nav-prev {
  left: 1.5rem;
}

.hero-nav-next {
  right: 1.5rem;
}

.hero-indicators {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 2;
}

.indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: all var(--ease);
}
.indicator.active {
  background: rgba(255, 255, 255, 0.88);
  transform: scale(1.4);
}
.indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

.featured-categories {
  padding: 5.5rem 2.5rem;
  background: var(--bg);
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--script);
  font-size: 2.8rem;
  font-weight: 400;
  color: rgba(232, 232, 232, 0.88);
  text-align: center;
  margin-bottom: 3rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.category-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
}
.category-card:hover .category-card-bg {
  transform: scale(1.05);
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.14) 58%);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.06) 58%);
  transition: var(--ease);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.6rem;
}

.category-card-title {
  font-family: var(--script);
  font-size: 2.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.category-card-meta {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.48);
}

body:not(.home-page) main {
  padding-top: var(--header-h);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-container {
  display: flex;
  flex: 1;
  min-height: calc(100vh - var(--header-h) - 80px);
}

.gallery-main {
  flex: 1;
  padding: 2.5rem 2.25rem 3rem;
  min-width: 0;
}

.gallery-header {
  margin-bottom: 2rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.gallery-title {
  font-family: var(--script);
  font-size: 2.4rem;
  font-weight: 400;
  color: rgba(232, 232, 232, 0.9);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.gallery-species-count {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.gallery-description {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.65;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 0.75rem;
}

.photo-card:nth-child(5n+1) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-card:nth-child(5n+3) {
  grid-column: span 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro {
  padding-top: 0.5rem;
}

.contact-intro-text {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.contact-detail-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-detail-value {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.82rem 1rem;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 300;
  outline: none;
  width: 100%;
  transition: border-color var(--ease);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  align-self: flex-start;
  padding: 0.88rem 2.5rem;
  background: var(--accent);
  color: #0d0d0d;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease);
  cursor: pointer;
  border: none;
}
.form-submit:hover {
  background: var(--accent-dark);
  color: #fff;
}

@media (max-width: 1200px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .lightbox-content {
    flex-direction: column;
    overflow-y: auto;
    align-items: flex-start;
    max-height: 88vh;
    padding: 0 0.5rem 1rem;
  }
  .lightbox-image-wrap {
    width: 100%;
  }
  .lightbox-info {
    width: 100%;
    padding-top: 1rem;
  }
  .lightbox-prev {
    left: 0.25rem;
  }
  .lightbox-next {
    right: 0.25rem;
  }
}
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .page-container {
    padding: 2.5rem 1.5rem 3rem;
  }
}
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --sidebar-w: 100%;
  }
  .header-inner {
    padding: 0 1.5rem;
  }
  .menu-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    transform: translateY(calc(-100% - var(--header-h)));
    transition: transform var(--ease);
    z-index: 99;
  }
  .site-nav.open {
    transform: translateY(var(--header-h));
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-link {
    display: block;
    padding: 0.9rem 2rem;
  }
  .nav-link::after {
    display: none;
  }
  .category-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .sidebar-section:not(.open) .sidebar-section-items {
    max-height: 0 !important;
  }
  .sidebar-section.open .sidebar-section-items {
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
  }
  .sidebar-section.open .sidebar-section-items li {
    flex-shrink: 0;
  }
  .sidebar-link {
    padding: 0.65rem 1rem;
    border-left: none;
    border-right: 1px solid rgba(42, 42, 42, 0.5);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .sidebar-link.active {
    border-left: none;
    border-bottom-color: var(--accent);
    background: transparent;
  }
  .gallery-main {
    padding: 1.25rem;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .photo-card:nth-child(5n+1),
  .photo-card:nth-child(5n+3) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hero-content {
    padding: 0 4.5rem;
  }
  .caption-title {
    font-size: 0.85rem;
  }
  .caption-sep {
    display: none;
  }
  .caption-category {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
  .hero-nav {
    font-size: 2rem;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .photo-grid {
    gap: 0.5rem;
  }
  .gallery-main {
    padding: 1rem;
  }
}

/*# sourceMappingURL=main.css.map */