:root {
  --ink: #0a0a0a;
  --paper: #fff;
  --line: #d9d9d9;
  --header-height: 86px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #000;
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}

.brand {
  flex: 0 0 auto;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -.035em;
}

.nav-wrap {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 40px);
  height: 100%;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .93rem;
  text-decoration: none;
  letter-spacing: .01em;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.view[hidden] { display: none !important; }

.art-miami-view { padding: clamp(28px, 6vw, 80px) 20px 120px; }

.long-artwork {
  width: min(100%, 760px);
  margin: 0 auto;
}

.long-artwork img {
  width: 100%;
  height: auto;
}

.gallery-view {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 3vw, 38px) 140px;
}

.view-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.view-heading h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.055em;
}

.view-heading p {
  margin: 0;
  color: #555;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.7vw, 20px);
}

.gallery-page-frame {
  position: relative;
  width: 100%;
  background: #f1f1f1;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.gallery-page {
  width: 100%;
  height: auto;
  background: #f1f1f1;
}

.pdf-link {
  position: absolute;
  z-index: 2;
  display: block;
  cursor: pointer;
  background: transparent;
  outline: 0 solid transparent;
  transition: background .16s ease, outline-color .16s ease;
}

.pdf-link:hover,
.pdf-link:focus-visible {
  background: rgba(255,255,255,.13);
  outline: 2px solid rgba(0,0,0,.72);
  outline-offset: -2px;
}

.sns-view {
  min-height: calc(100vh - var(--header-height));
  padding: clamp(54px, 8vw, 120px) clamp(22px, 5vw, 76px) 100px;
}

.sns-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  gap: 32px;
  margin: 0 0 clamp(42px, 6vw, 80px);
}

.eyebrow {
  margin: 0 0 .5em;
  font-size: .76rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.sns-heading h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 400;
  line-height: .75;
  letter-spacing: -.075em;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.social-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(340px, 46vw, 620px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(22px, 3vw, 40px);
  color: #fff;
  text-decoration: none;
  background: #111;
}

.social-card + .social-card { border-left: 1px solid #fff; }

.social-card > img,
.social-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.social-card > img {
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.02);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.youtube > img { object-position: 50% 50%; }
.instagram > img { object-position: 50% 48%; }
.facebook > img { object-position: 50% 47%; }

.social-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.06) 45%, rgba(0,0,0,.76));
  transition: background .4s ease;
}

.social-card:hover > img,
.social-card:focus-visible > img { transform: scale(1.07); filter: grayscale(.3) contrast(1.05); }

.social-card:hover .social-shade,
.social-card:focus-visible .social-shade { background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.05) 45%, rgba(0,0,0,.62)); }

.social-top,
.social-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.social-top { justify-content: flex-start; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.social-bottom strong { font-size: clamp(1.35rem, 2.6vw, 2.8rem); font-weight: 400; letter-spacing: -.035em; }

.platform-icon { display: grid; place-items: center; width: 25px; height: 25px; }
.platform-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.platform-icon svg path:first-child { fill: currentColor; stroke: none; }
.platform-icon .fill-dot { fill: currentColor; stroke: none; }
.platform-icon .play { fill: #000; stroke: none; }

.arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.social-card:hover .arrow,
.social-card:focus-visible .arrow { transform: rotate(45deg); background: #fff; color: #000; }

.to-top {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid #000;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: rgba(255,255,255,.95);
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  transition: opacity .2s ease, transform .2s ease;
}

.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript { padding: 20px; text-align: center; }

@media (max-width: 760px) {
  :root { --header-height: 112px; }

  .site-header {
    display: block;
    height: var(--header-height);
    padding: 18px 0 0;
  }

  .brand { display: block; margin: 0 20px 16px; font-size: 1.55rem; }

  .nav-wrap {
    height: 44px;
    gap: 26px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-wrap::-webkit-scrollbar { display: none; }
  .nav-link { font-size: .85rem; }
  .art-miami-view { padding: 18px 12px 80px; }
  .gallery-view { padding-top: 44px; }

  .sns-heading { display: block; }
  .eyebrow { margin-bottom: 24px; }
  .sns-heading h1 { font-size: clamp(3.9rem, 21vw, 7rem); line-height: .8; }

  .social-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 72vw; }
  .social-card + .social-card { border-left: 0; border-top: 1px solid #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
