/* ════════════════════════════════════════
   Artesian — Gallery & Cafe in Aewol, Jeju
   ════════════════════════════════════════ */

/* ─── Force light mode ─── */
:root {
  color-scheme: light only;
}

@media (prefers-color-scheme: dark) {
  html, body, *, *::before, *::after {
    color-scheme: light only !important;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff !important;
}

body {
  background: #ffffff !important;
  color: #111 !important;
  font-family: 'Noto Sans KR', 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

address {
  font-style: normal;
}

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

/* ─── Container ─── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── Header ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #111;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-hash {
  font-weight: 300;
  font-size: 18px;
  opacity: 0.25;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav {
  display: flex;
  gap: 36px;
}

nav a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.3s;
}

nav a:hover {
  color: #111;
}

.lang-toggle {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #ccc;
  border: 1px solid #e8e8e8;
  padding: 5px 14px;
  border-radius: 2px;
  transition: border-color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle:hover {
  border-color: #aaa;
}

.lang-toggle .active {
  color: #111;
}

.lang-sep {
  color: #ddd;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 1px;
  background: #111;
  transition: all 0.3s;
}

.mobile-menu-btn.open span:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.mobile-menu-btn.open span:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.mobile-nav nav {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav nav a {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #111;
}

/* ─── Hero ─── */
.hero {
  height: 100vh;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: #fff;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-indent: 0.2em;
  color: #111;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 1s ease-out 0.3s both;
}

.hero-sub {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #999;
  animation: fadeUp 1s ease-out 0.6s both;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 1s ease-out 1.2s both;
}

.scroll-hint span {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ccc;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, #ddd, transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ─── Section common ─── */
.section {
  padding: 140px 0;
}

.section-tag {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-tag::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f0f0f0;
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #fff;
}

.about-text-block {
  padding: 20px 0;
}

.about-heading {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.6;
  color: #111;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.about-body {
  font-size: 13.5px;
  font-weight: 300;
  color: #777;
  line-height: 2.2;
}

.about-body p + p {
  margin-top: 20px;
}

/* ─── Photo Band ─── */
.photo-band {
  background: #fff;
}

.photo-band-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3px;
  height: 48vh;
  min-height: 320px;
}

.photo-band-item {
  overflow: hidden;
}

.photo-band-item img {
  transition: transform 8s ease-out;
}

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

/* ─── Exhibition ─── */
.exhibition-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}

.exhibition-poster {
  overflow: hidden;
  background: #fff;
}

.exhibition-poster img {
  object-fit: contain;
  height: auto;
}

.exhibition-info {
  padding: 8px 0;
}

.exhibition-badge {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
  border: 1px solid #111;
  display: inline-block;
  padding: 5px 16px;
  margin-bottom: 28px;
}

.exhibition-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #111;
  margin-bottom: 16px;
  line-height: 1.4;
}

.exhibition-meta {
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  letter-spacing: 0.04em;
  line-height: 2;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f0f0f0;
}

.exhibition-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: #777;
  line-height: 2.2;
  margin-bottom: 32px;
}

.exhibition-desc p + p {
  margin-top: 12px;
}

/* ─── Opening Performance ─── */
.exhibition-opening {
  padding: 28px 0;
  margin-bottom: 28px;
  border-top: 1px solid #f0f0f0;
}

.opening-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 16px;
}

.opening-date {
  font-size: 13px;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.opening-artists {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 12px;
  font-weight: 300;
  color: #888;
  letter-spacing: 0.02em;
}

.exhibition-credit {
  font-size: 11px;
  font-weight: 300;
  color: #bbb;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

/* ─── Exhibition Gallery ─── */
.exhibition-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}

.ex-item {
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4/3;
}

.ex-item img {
  transition: transform 6s ease-out;
}

.ex-item:hover img {
  transform: scale(1.04);
}

/* ─── Past Exhibition ─── */
.past-ex-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.past-ex-poster {
  overflow: hidden;
  background: #fff;
}

.past-ex-poster img {
  object-fit: contain;
  height: auto;
}

.past-ex-info {
  padding: 16px 0;
}

.past-ex-badge {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bbb;
  border: 1px solid #e8e8e8;
  display: inline-block;
  padding: 5px 16px;
  margin-bottom: 28px;
}

.past-ex-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.4;
}

.past-ex-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: #999;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  font-style: italic;
}

.past-ex-meta {
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  letter-spacing: 0.04em;
  line-height: 2;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f0f0f0;
}

.past-ex-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: #777;
  line-height: 2.2;
  margin-bottom: 32px;
}

.past-ex-details {
  font-size: 11px;
  font-weight: 300;
  color: #bbb;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

/* ─── Visit ─── */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  margin-bottom: 0;
}

.visit-divider {
  background: #f0f0f0;
}

.visit-col {
  padding: 0 48px;
}

.visit-col:first-child {
  padding-left: 0;
}

.visit-col:last-child {
  padding-right: 0;
}

.visit-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 20px;
}

.visit-value {
  font-size: 14px;
  font-weight: 300;
  color: #444;
  line-height: 2;
}

.visit-value .closed {
  color: #ccc;
}

.visit-phone,
.visit-ig {
  color: #444;
  transition: color 0.3s;
}

.visit-phone:hover,
.visit-ig:hover {
  color: #111;
}

.visit-actions {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 16px;
}

.btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.btn svg {
  width: 15px;
  height: 15px;
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid #f0f0f0;
}

.footer-inner {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ddd;
}

.footer-copy {
  font-size: 10px;
  font-weight: 300;
  color: #ddd;
  letter-spacing: 0.04em;
}

.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #bbb;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #111;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ════════════════════════════════════════
   Responsive
   ════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .header-inner { padding: 0 32px; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 50vh;
  }

  .hero-content {
    padding: 100px 32px 40px;
    justify-content: flex-end;
  }

  .scroll-hint { left: 32px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .photo-band-inner {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .photo-band-inner .photo-band-item:last-child {
    display: none;
  }

  .photo-band-item {
    aspect-ratio: 16/10;
  }

  .exhibition-card {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }

  .exhibition-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .past-ex-card {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .visit-divider {
    display: none;
  }

  .visit-col {
    padding: 0 0 40px;
    border-bottom: 1px solid #f0f0f0;
  }

  .visit-col:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header-inner {
    padding: 0 20px;
    height: 56px;
  }

  .logo { font-size: 12px; letter-spacing: 0.3em; }

  .nav-right { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav { display: flex; }

  .hero {
    grid-template-rows: 1fr 45vh;
  }

  .hero-content {
    padding: 80px 20px 32px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: 0.15em;
  }

  .scroll-hint { left: 20px; bottom: 20px; }

  .section { padding: 80px 0; }
  .section-tag { margin-bottom: 40px; }

  .about-heading {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .about-body {
    font-size: 13px;
  }

  .photo-band-inner {
    grid-template-columns: 1fr;
  }

  .photo-band-inner .photo-band-item:last-child {
    display: block;
  }

  .photo-band-item {
    aspect-ratio: 16/9;
  }

  .exhibition-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .exhibition-poster {
    max-width: 320px;
  }

  .exhibition-info {
    padding: 0;
  }

  .exhibition-gallery {
    grid-template-columns: 1fr;
  }

  .past-ex-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .past-ex-poster {
    max-width: 320px;
  }

  .past-ex-info {
    padding: 0;
  }

  .visit-actions {
    flex-direction: column;
    margin-top: 40px;
    padding-top: 40px;
  }

  .btn {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .footer-left { gap: 12px; }
}
