:root {
  --bg: #5a0038;
  --text: #ffffff;
  --muted: #f1dff0;
  --surface: #7a2e60;
  --accent: #ff9d4a;
  --accent-2: #ff7f9d;
  --border: #090909;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-shape {
  display: none;
}

.bg-shape-a {
  width: 30rem;
  height: 30rem;
  left: -12rem;
  top: 32vh;
  background: linear-gradient(120deg, rgba(255, 127, 157, 0.28), rgba(255, 255, 255, 0.05));
}

.bg-shape-b {
  width: 24rem;
  height: 24rem;
  right: -10rem;
  top: 6vh;
  background: linear-gradient(120deg, rgba(255, 157, 74, 0.24), rgba(20, 0, 18, 0.06));
}

.site-header {
  width: 100%;
  margin: 0;
  padding: 1rem 1rem;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(76, 12, 43, 0.79);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.gallery-header {
  width: 100%;
  margin: 0;
  padding: 1rem 1rem;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  align-items: center;
  position: relative;
  top: auto;
  z-index: 1100;
  background: rgba(76, 12, 43, 0.79);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
 
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.brand-logo {
  width: 13vw;
  height: 13vw;
  background-size: cover;
  background-position: center;
}

.text-overlay {
  position: absolute;
  text-align: center;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  font-size: 3.2vw;

}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-bottom: 1rem;
  font-size: 1.7vw;
  color: var(--muted);
}

nav a {
 
  text-decoration: none;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.nav-dropdown {
  position: relative;
  z-index: 1200;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.35rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 10rem;
  display: none;
  padding: 0.2rem;
  background: rgba(38, 4, 28, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 1300;
  text-align: center;
  text-transform: uppercase;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.24rem 0.35rem;
  white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

main {
  max-width: none;
  margin: 0;
  padding: 2rem;
}

section {
  margin: 3rem 0;
}

#work {
  margin-top: 0;
  scroll-margin-top: 15rem;
}

h1,
h2
{
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 0.3rem;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
 
  margin: 0;
  margin-bottom: 0.3rem;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
h4 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
 text-align: center;
  margin: 0.2rem;
  margin-bottom: 0.3rem;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.webtitle {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin: 0;
  font-size: 2.4rem;
  line-height: 3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.section-head {
  margin-bottom: 1rem;
}

.category-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.category-tile {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  padding: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-width 220ms ease, border-color 220ms ease;
}

.category-tile:hover,
.category-tile.active {
  border-width: 2px;
  border-color: var(--border);
}

.category-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.category-subtitle {
  display: block;
  padding: 0.8rem 0.9rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  text-align: center;
  text-transform: uppercase;
}

.gallery-shell {
  margin-top: 2rem;
}

.gallery-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.gallery-grid {
  margin-top: 1rem;
  column-count: 2;
  column-gap: 1rem;
  place-items: center;
}

.gallery-item {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 0 0 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-width 220ms ease, border-color 220ms ease;
}

.gallery-item:hover {
  border-width: 2px;
  border-color: var(--border);
}

.gallery-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.35rem 0.55rem;
  font-size: 0.82rem;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption,
.gallery-item:active .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.hidden {
  display: none;
}

.page-intro {
  display: flex;
  top: auto;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;

}

.page-intro h2 {
  width: 100%;
  text-align: center;
}

.gallery-page .page-intro {
  margin-bottom: 1.25rem;
}

.gallery-page main section {
  margin-top: 0;
}

.gallery-page main {
  padding-top: 0.6rem;
}

.gallery-page .page-intro h2 {
  font-size: 2.1rem;
}

.gallery-group + .gallery-group {
  margin-top: 3rem;
}

.gallery-subheading {
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.back-link {
  color: var(--text);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.purchase-grid {
  display: inline-flex;
  margin: 0 auto;
  justify-content: center;
  padding-inline: 2rem;
  column-count: max(auto, 3);
  column-gap: 1rem;
  max-width: 100%;

  margin-top: 0.5rem;
}

.purchase-card {
  

  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.purchase-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.about p,
.contact p {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  max-width: 65ch;
  color: var(--muted);
}

.email-link {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.instagram {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  display: inline-block;
  margin-top: 0.8rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

footer {
  max-width: none;
  margin: 4rem 0 1rem;
  padding: 1rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .category-tile {
    grid-column: span 1;
  }

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

@media (max-width: 900px) {
  .category-tile {
    grid-column: span 6;
  }

  .gallery-grid {
    column-count: 1;
  }

  .purchase-card {
    grid-column: span 6;
  }

  .site-header {
    padding: 1rem;
  }

  nav {
    gap: 0.65rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .category-tile {
    grid-column: span 12;
  }

  .purchase-card {
    grid-column: span 12;
  }
}

@media (hover: none) {
  .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }
}