/* ============================================
   DRBAPH.COM — Dark Gothic Gallery
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg:        #050505;
  --bg2:       #0d0d0d;
  --bg3:       #0a0a0a;
  --border:    #1a1a1a;
  --border2:   #333;
  --text:      #e0e0e0;
  --text-dim:  #888;
  --accent:    #8b0000;
  --accent2:   #a01010;
  --white:     #fff;
  --font-head: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --nav-h:     84px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

p, h1, h2, h3, h4, label, input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; }

/* ── Image Protection ── */
img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  pointer-events: all;
  flex-shrink: 0;
}

/* Logo - DrBaph circular skull logo */
/* Logo - DrBaph circular skull logo */
.nav-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  pointer-events: none;
  display: block;
  padding: 4px 0;
  transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-logo-text {
  display: none;
}

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

.nav-links a {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  pointer-events: all;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ── Mobile hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  pointer-events: all;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--white);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--white);
}

/* ── Mobile menu — full screen overlay ── */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.nav-mobile ul a {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  pointer-events: all;
  transition: color 0.2s ease;
}

.nav-mobile ul a:hover,
.nav-mobile ul a.active {
  color: var(--white);
}

.nav-mobile-footer {
  position: absolute;
  bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-mobile-footer a {
  color: var(--text-dim);
  pointer-events: all;
  transition: color 0.2s ease;
}

.nav-mobile-footer a:hover {
  color: var(--white);
}

.nav-mobile-footer svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ── Page wrapper ── */
.page-wrapper {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Hero strip ── */
.hero-strip {
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--border2);
  margin: 0 auto 1.25rem;
}

.hero-sub {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Other Dab Art Section ── */
.other-art-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.other-art-container {
  max-width: 1200px;
  margin: 0 auto;
}

.other-art-eyebrow {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 0.5rem;
}

.other-art-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}

.other-art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .other-art-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* ── Press / Featured Section ── */
.press-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.press-container {
  max-width: 1000px;
  margin: 0 auto;
}

.press-eyebrow {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 0.5rem;
}

.press-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}

.press-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 768px) {
  .press-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.press-image-link {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border2);
  transition: border-color var(--transition);
  pointer-events: all;
}

.press-image-link:hover {
  border-color: #3a3a3a;
}

.press-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.press-image-link:hover .press-image {
  transform: scale(1.02);
}

.press-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.press-description {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.press-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--border2);
  padding: 0.8rem 1.5rem;
  transition: border-color var(--transition), background var(--transition);
  pointer-events: all;
  width: fit-content;
}

.press-link:hover {
  border-color: #3a3a3a;
  background: rgba(255,255,255,0.03);
}

.press-link svg {
  pointer-events: none;
}

@media (max-width: 768px) {
  .press-link {
    margin: 0 auto;
  }
}

/* ── Gallery Grid ── */
.gallery-section {
  flex: 1;
  /* edge-to-edge, no outer padding */
}

.gallery-grid {
  display: grid;
  /* 2 columns on all small screens, never 1 */
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

/* Gallery item */
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg3);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Transparent shield — sits above img, below caption */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.5s ease;
  filter: brightness(0.88) saturate(0.85);
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1);
}

/* Caption overlay */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 0.75rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-caption span {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

/* On touch devices captions don't show on hover so disable their pointer events */
@media (hover: none) {
  .gallery-caption {
    display: none;
  }
}

.gallery-caption span svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
  position: relative;
  top: 2px;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.97);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 860px);
  max-height: 92vh;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  margin: 0 auto;
}

/* Watermark overlay - repeating small @drbaph */
.lightbox-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='70' viewBox='0 0 100 70'%3E%3Ctext x='50%25' y='50%25' font-family='Inter, sans-serif' font-size='10' font-weight='400' fill='rgba(255,255,255,0.35)' text-anchor='middle' dominant-baseline='middle' transform='rotate(-45, 50, 35)'%3E@drbaph%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px 70px;
}

/* Desktop: bigger watermarks - 50% larger */
@media (min-width: 769px) {
  .lightbox-watermark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='225' height='150' viewBox='0 0 225 150'%3E%3Ctext x='50%25' y='50%25' font-family='Inter, sans-serif' font-size='22' font-weight='400' fill='rgba(255,255,255,0.35)' text-anchor='middle' dominant-baseline='middle' transform='rotate(-45, 112.5, 75)'%3E@drbaph%3C/text%3E%3C/svg%3E");
    background-size: 225px 150px;
  }
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
  pointer-events: all;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  transition: color var(--transition), border-color var(--transition);
  z-index: 2001;
}

.lightbox-close:hover {
  color: var(--white);
  border-color: #444;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-dim);
  cursor: pointer;
  pointer-events: all;
  z-index: 2001;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  outline: none;
  padding: 0;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.lightbox-prev {
  left: 1.25rem;
}

.lightbox-next {
  right: 1.25rem;
}

/* On small screens push them closer to edge */
@media (max-width: 500px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

.lightbox-label {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  pointer-events: none;
  z-index: 2001;
  white-space: nowrap;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-tagline {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-style: italic;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--text);
}

/* Logo in footer — DrBaph circular skull */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 81px;
  height: 81px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.05);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border2);
  border-radius: 35%;
  color: var(--text-dim);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
  pointer-events: all;
}

.footer-socials a:hover {
  border-color: #3a3a3a;
  color: var(--white);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Desktop: larger footer social icons */
@media (min-width: 769px) {
  .footer-socials a {
    width: 56px;
    height: 56px;
  }
  .footer-socials svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 600px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  .footer-left { align-items: center; }
  .footer-logo { display: none; }
  .footer-socials { justify-content: center; }
}

/* ── Contact Page ── */
.contact-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Hide on desktop */
@media (min-width: 769px) {
  .contact-hero {
    display: none;
  }
}

.contact-hero img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: top;
  display: block;
  pointer-events: none;
  user-select: none;
}

.contact-section {
  flex: 1;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 900px;
  width: 100%;
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  padding-top: 0.25rem;
}

.contact-info h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.contact-info .tagline {
  font-size: 1.1rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item .label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.4rem;
}

.contact-detail-item .value {
  font-size: 1.1rem;
  color: var(--text);
}

.contact-socials {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-socials a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--border2);
  padding: 0.75rem 1.25rem;
  transition: all var(--transition);
  pointer-events: all;
}

.contact-socials a:hover {
  border-color: #3a3a3a;
  color: var(--white);
}

.contact-socials svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Form */
.contact-form-wrapper {
  position: relative;
}

.form-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

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

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

input, textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  border-radius: 0;
}

input:focus, textarea:focus {
  border-color: #3a3a3a;
}

input::placeholder, textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--border2);
  padding: 0.8rem 2rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
  pointer-events: all;
}

.btn:hover {
  border-color: #444;
  background: rgba(255,255,255,0.03);
}

.btn svg {
  width: 13px;
  height: 13px;
  pointer-events: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border2);
}

.form-success h3 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Privacy / Static ── */
.static-section {
  flex: 1;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 5vw, 4rem);
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.static-section h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.static-section .page-intro {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dim);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.static-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.static-section h3 {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.static-section p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.static-section ul {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.static-section li {
  margin-bottom: 0.5rem;
}

/* ── 404 Page ── */
.not-found {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  position: relative;
}

.not-found::before {
  content: '404';
  position: absolute;
  font-family: var(--font-head);
  font-size: clamp(8rem, 25vw, 18rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none;
  letter-spacing: -0.05em;
  user-select: none;
}

.not-found-label {
  font-family: var(--font-head);
  font-size: 0.58rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  position: relative;
}

.not-found h1 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}

.not-found p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  position: relative;
}

/* ── Mobile overrides ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ── Fade-in animation ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery-item {
  animation: fadeIn 0.45s ease both;
}

.gallery-item:nth-child(1)  { animation-delay: 0.02s; }
.gallery-item:nth-child(2)  { animation-delay: 0.06s; }
.gallery-item:nth-child(3)  { animation-delay: 0.10s; }
.gallery-item:nth-child(4)  { animation-delay: 0.14s; }
.gallery-item:nth-child(5)  { animation-delay: 0.18s; }
.gallery-item:nth-child(6)  { animation-delay: 0.22s; }
.gallery-item:nth-child(7)  { animation-delay: 0.26s; }
.gallery-item:nth-child(8)  { animation-delay: 0.30s; }
.gallery-item:nth-child(9)  { animation-delay: 0.34s; }
.gallery-item:nth-child(10) { animation-delay: 0.38s; }
.gallery-item:nth-child(11) { animation-delay: 0.42s; }
.gallery-item:nth-child(12) { animation-delay: 0.46s; }
.gallery-item:nth-child(13) { animation-delay: 0.50s; }
.gallery-item:nth-child(14) { animation-delay: 0.54s; }
.gallery-item:nth-child(15) { animation-delay: 0.58s; }
.gallery-item:nth-child(16) { animation-delay: 0.62s; }
.gallery-item:nth-child(17) { animation-delay: 0.66s; }
.gallery-item:nth-child(18) { animation-delay: 0.70s; }
