/* ═══════════════════════════════════════════════════════════════
   CARTIER — Kunst & Architektur
   Swiss Gallery Refined Aesthetic
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Palette — warm gallery whites with stone accents */
  --bg-primary: #FAF8F5;
  --bg-alt: #F3F0EB;
  --bg-dark: #1A1814;
  --bg-warm: #2C2720;

  --text-primary: #1A1814;
  --text-secondary: #6B6560;
  --text-light: #FAF8F5;
  --text-muted: #9B958E;

  --accent: #8B7355;
  --accent-light: #B8A58A;
  --accent-hover: #6B5540;

  --rule: #D4CFC8;
  --rule-light: rgba(250, 248, 245, 0.2);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 160px);
  --container-max: 1400px;
  --gap: clamp(12px, 2vw, 24px);

  /* Header */
  --header-h: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════ RESET & BASE ═══════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

ul { list-style: none; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ═══════════════════════════════ HEADER ═══════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(250, 248, 245, 0.97);
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 30px rgba(26, 24, 20, 0.04);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 28px;
  width: auto;
  /* Logo is white on transparent — make it visible on light bg */
  filter: invert(1) brightness(0.1);
  transition: filter 0.3s var(--ease-out);
}

/* Navigation */
.main-nav { display: none; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .hamburger { display: none; }
}

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

.nav-list > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-arrow {
  font-size: 10px;
  transition: transform 0.3s var(--ease-out);
  margin-top: 1px;
}

.has-dropdown:hover .nav-arrow {
  transform: rotate(90deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out), visibility 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  box-shadow: 0 12px 40px rgba(26, 24, 20, 0.08);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
}

.dropdown a:hover {
  color: var(--text-primary);
  background: rgba(139, 115, 85, 0.06);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  transform-origin: center;
}

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

/* ═══════════════════════════════ MOBILE NAV ═══════════════════════════════ */

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  text-align: center;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 0 30px;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--rule);
}

.mobile-nav-list > li:first-child {
  border-top: 1px solid var(--rule);
}

.mobile-link,
.mobile-toggle {
  display: block;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: 0.02em;
}

.mobile-toggle {
  position: relative;
  cursor: pointer;
}

.toggle-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out);
}

.mobile-toggle.open .toggle-icon {
  transform: translateY(-50%) rotate(45deg);
}

.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.mobile-sub.open {
  max-height: 400px;
}

.mobile-sub a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.mobile-sub a:hover {
  color: var(--accent);
}

/* ═══════════════════════════════ SECTIONS ═══════════════════════════════ */

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-kicker--light { color: var(--accent-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.section-title--light { color: var(--text-light); }

.section-rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 24px auto;
}

.section-rule--light { background: var(--accent-light); }

.section-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.section-desc--light { color: var(--text-muted); }

/* ═══════════════════════════════ HERO ═══════════════════════════════ */

.section--hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 40px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.section--hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(139, 115, 85, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.hero-location {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Exhibition card */
.exhibition-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 24, 20, 0.06), 0 1px 3px rgba(26, 24, 20, 0.04);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.exhibition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(26, 24, 20, 0.1), 0 1px 3px rgba(26, 24, 20, 0.04);
}

.exhibition-img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  background: #f0ede8;
}

.exhibition-meta {
  padding: 24px;
}

.exhibition-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.exhibition-detail {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.exhibition-dates {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  margin-top: 8px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--accent-light);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* ═══════════════════════════════ INTRO SECTIONS ═══════════════════════════════ */

.section--intro {
  padding: clamp(60px, 8vw, 120px) 0;
}

/* ═══════════════════════════════ MASONRY GRID ═══════════════════════════════ */

.masonry-grid {
  columns: 2;
  column-gap: var(--gap);
}

@media (min-width: 640px) {
  .masonry-grid { columns: 3; }
}

@media (min-width: 1024px) {
  .masonry-grid { columns: 4; }
}

@media (min-width: 1400px) {
  .masonry-grid { columns: 5; }
}

.masonry-grid--wide {
  columns: 1;
}

@media (min-width: 640px) {
  .masonry-grid--wide { columns: 2; }
}

.masonry-grid--led {
  columns: 2;
}

@media (min-width: 640px) {
  .masonry-grid--led { columns: 3; }
}

@media (min-width: 1024px) {
  .masonry-grid--led { columns: 4; }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--gap);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  background: var(--bg-alt);
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}

.masonry-item:hover img {
  transform: scale(1.03);
}

.item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(26, 24, 20, 0.6));
  font-size: 13px;
  font-weight: 400;
  color: white;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.item-caption--light {
  color: rgba(255, 255, 255, 0.95);
}

.masonry-item:hover .item-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════ PROJECT CARDS ═══════════════════════════════ */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}

.project-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(26, 24, 20, 0.04);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 24, 20, 0.08);
}

.project-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.project-images {
  overflow: hidden;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.project-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ═══════════════════════════════ TIMELINE / REFERENZEN ═══════════════════════════════ */

.section--references {
  background: var(--bg-primary);
}

.timeline {
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

@media (min-width: 640px) {
  .timeline::before {
    left: 120px;
  }
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 0 40px 24px;
  position: relative;
}

@media (min-width: 640px) {
  .timeline-item {
    grid-template-columns: 100px 1fr;
    gap: 44px;
    padding-left: 0;
  }
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

@media (min-width: 640px) {
  .timeline-item::before {
    left: 116px;
  }
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .timeline-year {
    text-align: right;
  }
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.timeline-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 1px;
  background: var(--accent-light);
}

/* Services */
.services-grid {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.services-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.service-item {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  color: var(--text-secondary);
  transition: border-color 0.3s, color 0.3s;
}

.service-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════ CONTACT ═══════════════════════════════ */

.section--contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}

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

.contact-details {
  margin-top: 32px;
}

.contact-block {
  margin-bottom: 28px;
}

.contact-block h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.contact-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-block a:hover {
  color: var(--accent);
}

/* Form */
.contact-form {
  background: white;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(26, 24, 20, 0.04);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: transparent;
  transition: border-color 0.3s var(--ease-out);
  outline: none;
}

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

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

.btn-submit {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* ═══════════════════════════════ FOOTER ═══════════════════════════════ */

.site-footer {
  background: var(--bg-dark);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 20px;
  opacity: 0.5;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(250, 248, 245, 0.15);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.back-to-top:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* ═══════════════════════════════ LIGHTBOX ═══════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.6);
  z-index: 10;
  transition: color 0.3s;
  line-height: 1;
}

.lightbox-close:hover { color: white; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  z-index: 10;
  padding: 16px;
  transition: color 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover { color: white; }

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-content {
  text-align: center;
  padding: 60px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.open .lightbox-img {
  animation: lightboxIn 0.4s var(--ease-out) forwards;
}

@keyframes lightboxIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════ REVEAL ANIMATIONS ═══════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

/* Stagger masonry items within view */
.masonry-item.reveal.visible {
  transition-delay: calc(var(--stagger, 0) * 60ms);
}

/* ═══════════════════════════════ RESPONSIVE FINE-TUNING ═══════════════════════════════ */

@media (max-width: 767px) {
  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: clamp(42px, 12vw, 64px);
  }

  .exhibition-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-scroll-hint {
    display: none;
  }

  .section-title {
    font-size: clamp(30px, 7vw, 48px);
  }

  .contact-info {
    text-align: center;
  }

  .contact-info .section-rule {
    margin-left: auto;
    margin-right: auto;
  }

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

  .lightbox-prev { left: 4px; padding: 10px; }
  .lightbox-next { right: 4px; padding: 10px; }
  .lightbox-content { padding: 20px; }
}

@media (max-width: 479px) {
  .masonry-grid {
    columns: 2;
    column-gap: 8px;
  }
  .masonry-item {
    margin-bottom: 8px;
  }
}

/* Print */
@media print {
  .site-header, .hamburger, .mobile-nav-overlay, .lightbox, .hero-scroll-hint, .back-to-top { display: none !important; }
  .section { padding: 20px 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
