/* ================================================================
   DEVIDAS DHARMADHIKARI — Portfolio Website
   styles.css
   ================================================================ */

/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal:  #ffffff;
  --canvas:    #1a1a1a;
  --gold:      #c9a84c;
  --gold-dim:  rgba(201,168,76,0.35);
  --rust:      #8b3a2a;
  --slate:     #4a4a4a;
  --midgray:   #888888;
  --dark2:     #fcfbf9;
  --white:     #ffffff;
  --nav-h:     72px;
  --max-w:     1200px;
  --pad-x:     5vw;
  --section-y: 8rem;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--charcoal);
  color: var(--canvas);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; }

::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: var(--charcoal); }
::-webkit-scrollbar-thumb  { background: var(--gold); border-radius: 2px; }

/* ── TYPOGRAPHY HELPERS ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-family: 'DM Sans', sans-serif;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.12;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header .divider {
  margin: 1.5rem auto 0;
}

/* ── REVEAL ON SCROLL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── NAVIGATION ───────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  transition: background 0.45s, backdrop-filter 0.45s, box-shadow 0.45s;
}

#main-nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(26,26,26,0.08);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.2;
}

#main-nav.scrolled .nav-logo {
  color: #1a1a1a;
}

.nav-logo span {
  display: block;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
  position: relative;
  transition: opacity 0.22s;
}

#main-nav.scrolled .nav-links a {
  color: #1a1a1a;
  opacity: 0.8;
}

#main-nav.scrolled .nav-links a:hover {
  opacity: 1;
}

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

.nav-links a:hover         { opacity: 1; }
.nav-links a:hover::after  { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #ffffff;
  transition: transform 0.32s, opacity 0.32s;
}

#main-nav.scrolled .hamburger span {
  background: #1a1a1a;
}

.hamburger.open span {
  background: #1a1a1a;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.22s;
}

.mobile-menu a:hover { color: var(--gold); }

/* ── HERO SLIDER ──────────────────────────────────────────────── */
#home {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.slide.active { opacity: 1; }

.slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.07);
  transition: transform 9s ease;
}

.slide.active .slide-img { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: none;
}

.slide-content {
  position: absolute;
  bottom: 14vh;
  left: var(--pad-x);
  max-width: 580px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.95s 0.55s, transform 0.95s 0.55s;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-eyebrow {
  font-size: 0.67rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  font-family: 'DM Sans', sans-serif;
}

.slide-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.2);
}

.slide-sub {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.76);
  max-width: 400px;
  font-weight: 300;
}

.slider-dots {
  position: absolute;
  bottom: 5.5vh;
  left: var(--pad-x);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 28px; height: 2px;
  background: rgba(245,240,232,0.22);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.dot.active {
  background: var(--gold);
  width: 48px;
}

.scroll-hint {
  position: absolute;
  bottom: 5.5vh;
  right: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.38);
  writing-mode: vertical-rl;
}

.scroll-hint::before {
  content: '';
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── PORTFOLIO ────────────────────────────────────────────────── */
#portfolio {
  background: var(--charcoal);
  padding: var(--section-y) var(--pad-x);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(26, 26, 26, 0.15);
  color: rgba(26, 26, 26, 0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1.3rem;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* MASONRY-STYLE PORTFOLIO GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 2.5rem;
  align-items: start;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

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

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease;
}

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,22,22,0.92) 0%, transparent 58%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.6rem;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.portfolio-overlay p {
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.show-more-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  background: none;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
  align-self: flex-start;
}

.btn-primary:hover { background: #b8952f; }

/* ── PARALLAX QUOTE BANDS ─────────────────────────────────────── */
.parallax-quote-band {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem var(--pad-x);
  text-align: center;
}

.parallax-quote-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
  will-change: transform;
}

.parallax-quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.65);
  z-index: 2;
}

.parallax-quote-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

.parallax-quote-content blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.8vw, 1.95rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: #ffffff;
  margin: 0 auto 1.1rem;
}

.parallax-quote-content cite {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-style: normal;
}

/* ── ABOUT (PARALLAX) ─────────────────────────────────────────── */
#about {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(1.0) opacity(0.12) grayscale(0.1);
  will-change: transform;
}

.about-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 9rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.about-photo-wrap { position: relative; }

.about-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.about-photo-frame {
  position: absolute;
  top: -15px; left: -15px;
  width: calc(100% - 36px);
  max-width: 420px;
  aspect-ratio: 3/4;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: rgba(26, 26, 26, 0.8);
  font-weight: 300;
  margin-bottom: 1.4rem;
}



/* ── ARTIST STATEMENT (TABS) ──────────────────────────────────── */
#work {
  background: var(--dark2);
  padding: var(--section-y) var(--pad-x);
}

.tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  margin: 2.5rem 0;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--midgray);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  margin: 0 1.25rem;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.tab-btn.active, .tab-btn:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-inner-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.tab-text-side {
  display: flex;
  flex-direction: column;
}

.tab-img-side {
  position: relative;
}

.tab-side-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(26, 26, 26, 0.08);
  padding: 8px;
  background: #fcfbf9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 900px) {
  .tab-inner-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.work-text {
  font-size: 0.97rem;
  line-height: 1.9;
  color: rgba(26, 26, 26, 0.85);
  font-weight: 300;
  margin-bottom: 1.4rem;
}

.work-text strong { color: #161616; font-weight: 500; }

/* ── EXHIBITIONS ──────────────────────────────────────────────── */
#exhibitions {
  background: var(--charcoal);
  padding: var(--section-y) var(--pad-x);
}

.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.exhib-col h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201,168,76,0.22);
}

.exhib-col ul { list-style: none; }

.exhib-col li {
  font-size: 0.87rem;
  color: rgba(26, 26, 26, 0.8);
  padding: 0.46rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
  font-weight: 300;
  line-height: 1.4;
}

.exhib-col li span {
  color: var(--midgray);
  font-size: 0.73rem;
  display: block;
}

/* ── PRESS ────────────────────────────────────────────────────── */
#press {
  background: var(--dark2);
  padding: var(--section-y) var(--pad-x);
}

.press-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}

.press-tab-btn {
  background: none;
  border: 1px solid rgba(26, 26, 26, 0.15);
  color: var(--midgray);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.25s;
}

.press-tab-btn.active, .press-tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.press-content { display: none; }
.press-content.active { display: block; }

.press-card {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.press-text-side {
  flex: 1;
}

.press-img-side {
  width: 320px;
  flex-shrink: 0;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  cursor: zoom-in;
  transition: transform 0.3s;
}

.press-img-side:hover {
  transform: translateY(-4px);
}

.press-img-side img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .press-card {
    flex-direction: column;
    gap: 2rem;
  }
  .press-img-side {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

.press-source {
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.press-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.press-byline {
  font-size: 0.77rem;
  color: var(--midgray);
  margin-bottom: 1.6rem;
  font-style: italic;
}

.press-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(26, 26, 26, 0.8);
  font-weight: 300;
}

.press-body p { margin-bottom: 1rem; }
.press-body em { color: rgba(26, 26, 26, 0.95); font-style: italic; }

/* ── NEWS / BLOG ──────────────────────────────────────────────── */
#news {
  background: var(--charcoal);
  padding: var(--section-y) var(--pad-x);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: var(--dark2);
  border: 1px solid rgba(26, 26, 26, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.news-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.news-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1a1a;
}

.news-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.news-card:hover .news-card-thumb img { transform: scale(1.05); }

.news-card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }

.news-card-tag {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.news-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--canvas);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.news-card-excerpt {
  font-size: 0.87rem;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.75);
  font-weight: 300;
  flex: 1;
  margin-bottom: 1.4rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  padding-top: 1rem;
}

.news-card-date {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--midgray);
}

.news-card-link {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.news-card-link:hover { gap: 0.7rem; }



/* ── STUDIO ───────────────────────────────────────────────────── */
#studio {
  background: var(--dark2);
  padding: var(--section-y) var(--pad-x);
}

.studio-intro {
  font-size: 0.97rem;
  line-height: 1.85;
  color: rgba(26, 26, 26, 0.8);
  font-weight: 300;
  max-width: 640px;
  margin-top: 0.5rem;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 3rem;
}

.studio-thumb {
  overflow: hidden;
  cursor: pointer;
  background: #fcfbf9;
  aspect-ratio: 4/3;
  border: 1px solid rgba(26, 26, 26, 0.08);
  padding: 8px;
  transition: border-color 0.3s, transform 0.3s;
}

.studio-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.studio-thumb:hover {
  border-color: var(--gold);
}

.studio-thumb:hover img { transform: scale(1.04); }

/* ── CONTACT ──────────────────────────────────────────────────── */
#contact {
  background: var(--charcoal);
  padding: var(--section-y) var(--pad-x);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.contact-info p {
  font-size: 0.92rem;
  color: rgba(26, 26, 26, 0.75);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.contact-detail {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.contact-detail-icon {
  color: var(--gold);
  font-size: 0.88rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.88rem;
  color: rgba(26, 26, 26, 0.85);
  font-weight: 300;
  line-height: 1.55;
}

.contact-detail-text a { text-decoration: none; }
.contact-detail-text a:hover { color: var(--gold); }

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

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

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

.form-group label {
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--midgray);
}

.form-group input,
.form-group textarea {
  background: rgba(26, 26, 26, 0.03);
  border: 1px solid rgba(26, 26, 26, 0.12);
  color: var(--canvas);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.82rem 1rem;
  outline: none;
  transition: border-color 0.25s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { min-height: 140px; }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  padding: 2.5rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--midgray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.7rem;
  color: var(--midgray);
  letter-spacing: 0.06em;
}

/* ── LIGHTBOX ─────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.96);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  color: var(--canvas);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(245,240,232,0.2);
  color: var(--canvas);
  font-size: 1.4rem;
  width: 48px; height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; border-color: var(--gold); color: var(--gold); }

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%; transform: translateX(-50%);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.46);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .studio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 900px) {
  .about-inner    { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-photo-wrap { max-width: 360px; }
  .contact-inner  { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 680px) {
  :root { --section-y: 5rem; }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .nav-logo {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }
  .nav-logo span {
    font-size: 0.52rem;
    letter-spacing: 0.18em;
  }
  #home {
    height: auto;
    aspect-ratio: 1.6;
    min-height: auto;
  }
  .slide-content {
    bottom: 2.2rem;
    left: 1.5rem;
  }
  .slide-title {
    font-size: clamp(1.4rem, 6vw, 1.95rem);
    line-height: 1.15;
    margin-bottom: 0.5rem;
  }
  .slider-dots {
    bottom: 0.8rem;
    left: 1.5rem;
  }
  .scroll-hint {
    display: none;
  }
  .portfolio-grid { grid-template-columns: 1fr; gap: 15px; }
  .form-row   { grid-template-columns: 1fr; }
  .studio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .exhibitions-grid { grid-template-columns: 1fr; }
  .footer-links { display: none; }
}

@media (max-width: 380px) {
  .nav-logo {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }
  .nav-logo span {
    font-size: 0.48rem;
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ── EXHIBITIONS SLIDER ───────────────────────────────────────── */
#exhibitions {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.exhibitions-slider-wrap {
  position: relative;
  padding: var(--section-y) var(--pad-x);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exhibitions-slider-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
  will-change: transform;
}

.exhibitions-slider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.72);
  z-index: 2;
}

.exhibitions-slider {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 380px;
}

.exhib-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.exhib-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.exhib-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.exhib-slide-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}

.exhib-slide-list {
  list-style: none;
}

.exhib-slide-list li {
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.6rem;
  font-weight: 300;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.exhib-arrow {
  color: var(--gold);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.2;
}

/* Slider Controls */
.exhib-slider-controls {
  position: relative;
  z-index: 12;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.exhib-slider-prev,
.exhib-slider-next {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
  transition: color 0.25s;
}

.exhib-slider-prev:hover,
.exhib-slider-next:hover {
  color: var(--gold);
}

.exhib-slider-dots {
  display: flex;
  gap: 8px;
}

.exhib-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.exhib-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .exhib-slide-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .exhib-slide-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  .exhibitions-slider {
    min-height: auto;
  }
}

/* Click zones for exhibitions slider */
.exhib-nav-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.exhib-nav-left {
  left: 0;
  justify-content: flex-start;
  padding-left: 2.5vw;
}

.exhib-nav-right {
  right: 0;
  justify-content: flex-end;
  padding-right: 2.5vw;
}

.exhib-nav-arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 4.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 200;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.exhib-nav-left:hover .exhib-nav-arrow {
  transform: translateX(-6px);
  color: rgba(255, 255, 255, 0.95);
}

.exhib-nav-right:hover .exhib-nav-arrow {
  transform: translateX(6px);
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 580px) {
  .exhib-nav-arrow {
    display: none;
  }
}
