/* EDEN GNIZO — static rebuild of the imweb site */
:root {
  --text: #3d3d3d;
  --muted: #767676;
  --line: #ececec;
  --serif: "Libre Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --gutter: 95px;
  --max: 1250px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;          /* Korean: wrap between words, not mid-word */
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { padding: 100px 0 26px; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { font-family: var(--serif); font-size: 25px; letter-spacing: .04em; color: #3a3a3a; white-space: nowrap; }
.nav { display: flex; gap: 30px; font-family: var(--serif); font-size: 15px; letter-spacing: .08em; }
.nav a { color: #555; padding-bottom: 6px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { color: #222; border-bottom-color: #222; }

main { min-height: 40vh; }

/* Home */
.hero { margin-top: 10px; background: #5b2bf0; overflow: hidden; }
/* Full-bleed: fills the first screen under the header without letterboxing */
.hero video {
  width: 100%; object-fit: cover;
  height: min(56.25vw, calc(100vh - 176px));
  height: min(56.25vw, calc(100svh - 176px));
  min-height: 360px;
}
.meaning { padding: 64px 0 110px; line-height: 1.95; }
.meaning b { font-weight: normal; font-size: 16px; }

/* ---------- Menu pages: label/title column + content column ---------- */
.page { padding-top: 70px; padding-bottom: 130px; }
.sec { display: grid; grid-template-columns: 265px minmax(0, 1fr); }
.sec + .sec { margin-top: 72px; padding-top: 30px; border-top: 1px solid var(--line); }
.sec-side-in { position: sticky; top: 40px; }
.page-title { font-family: var(--serif); font-weight: normal; font-size: 24px; line-height: 1.3; margin: 0; color: #333; letter-spacing: .01em; }
.sec-label { font-family: var(--serif); font-weight: normal; font-size: 14px; line-height: 1.6; margin: 0; color: #555; letter-spacing: .02em; }
.sec-main > :first-child { margin-top: 0; }
.sec-main p { margin: 0 0 1.2em; }
.more-link { display: inline-block; margin-top: 18px; color: var(--muted); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more-link:hover { color: var(--text); }

/* Artist */
.artist-figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #2b2b2b; }
.artist-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; }
.artist-figure .hover { opacity: 0; }
.artist-figure:hover .hover { opacity: 1; }
.lead { font-family: var(--serif); font-size: 24px; line-height: 1.55; color: #333; margin: 0 0 40px !important; }
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 900px; line-height: 1.9; }
.statement p { margin: 0 0 1.1em; }
.name-list { margin: 0; }
.name-list div { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; padding: 4px 0; }
.name-list dt { font-family: var(--serif); font-size: 16px; color: #333; }
.name-list dd { margin: 0; color: #555; }

/* Contact */
.contact-list { margin: 0; max-width: 640px; }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list div:first-child { padding-top: 4px; }
.contact-list dt { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.contact-list dd { margin: 0; font-family: var(--serif); font-size: 20px; color: #333; }
.contact-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease; }
.contact-list a:hover { background-size: 100% 1px; }

/* Work */
.sub-nav { list-style: none; margin: 26px 0 0; padding: 0; }
.sub-nav li { margin: 0 0 10px; }
.sub-nav a { color: #999; }
.sub-nav a.active { color: #222; border-bottom: 1px solid #222; padding-bottom: 2px; }
.sub-nav a:hover { color: #222; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; }
.gallery button {
  all: unset; cursor: zoom-in; position: relative; display: block;
  aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid #f0f0f0; background: #f4f4f4;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery button:hover img { transform: scale(1.025); }
.gallery .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; display: flex; flex-direction: column; align-items: flex-start;
  background: linear-gradient(transparent, rgba(0,0,0,.45)); color: #fff; opacity: 0; transition: opacity .35s ease;
  font-family: var(--serif); font-size: 15px;
}
.gallery .caption span { font-family: var(--sans); font-size: 12px; opacity: .85; margin-top: 2px; }
.gallery button:hover .caption, .gallery button:focus-visible .caption { opacity: 1; }
.gallery button:focus-visible { outline: 2px solid #222; outline-offset: 3px; }

/* Store */
.store-list { list-style: none; margin: 0; padding: 0; }
.store-item { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); }
.store-item:first-child { border-top: 0; padding-top: 0; }
.store-img { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #eee; }
.store-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.store-item:hover .store-img img { transform: scale(1.03); }
.store-text h2 { font-family: var(--serif); font-weight: normal; font-size: 19px; margin: 0 0 14px; color: #333; }
.store-text a { color: var(--muted); border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 12px; }
.store-text a:hover { color: var(--text); }

/* Footer */
.site-footer { color: var(--muted); font-size: 12px; padding: 0 0 56px; }
.site-footer .wrap > div { border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 28px 0 22px; }
.footer-logo { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a:hover, .site-footer .biz a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 18px; }
.site-footer p { margin: 0; }
.site-footer .biz span + span { margin-left: 14px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.lightbox .lb-caption { color: #fff; text-align: center; margin-top: 16px; min-height: 2.6em; }
.lightbox .lb-caption span { display: block; font-size: 12px; opacity: .75; }
.lightbox { touch-action: pan-y; }
.lightbox button {
  all: unset; cursor: pointer; position: absolute; color: #fff; font-size: 44px; line-height: 1; opacity: .8;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lightbox .lb-count { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .1em; }
.lightbox .lb-close { top: 8px; right: 8px; font-size: 38px; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .sec { grid-template-columns: 170px minmax(0, 1fr); }
  .gallery { gap: 28px; }
  .statement { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; }
  body { font-size: 14px; }
  .site-header { padding: 36px 0 20px; }
  .site-header .wrap { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .logo { font-size: 22px; }
  .nav { gap: 24px; font-size: 14px; }
  .hero video { height: min(115vw, calc(100svh - 150px)); min-height: 0; }
  .meaning { padding: 36px 0 64px; font-size: 13px; }
  .meaning b { font-size: 15px; }
  .page { padding-top: 28px; padding-bottom: 80px; }
  .sec { grid-template-columns: minmax(0, 1fr); }
  .sec + .sec { margin-top: 48px; padding-top: 24px; }
  .sec-side { margin-bottom: 22px; }
  .sec-side-in { position: static; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .page-title { font-size: 22px; }
  .sub-nav { display: flex; gap: 20px; margin: 0; }
  .sub-nav li { margin: 0; }
  .gallery { gap: 12px; }
  .gallery .caption { display: none; }
  .lead { font-size: 20px; margin-bottom: 28px !important; }
  .statement { font-size: 15px; line-height: 1.85; }
  .name-list div { grid-template-columns: 76px 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .contact-list dd { font-size: 18px; }
  .lightbox img { max-width: 100vw; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; }
  .lightbox .lb-prev { left: 12px; }
  .lightbox .lb-next { right: 12px; }
  .lightbox .lb-count { bottom: 28px; }
  .store-item { grid-template-columns: 1fr; gap: 16px; padding: 24px 0 28px; }
  .store-text h2 { font-size: 17px; margin-bottom: 8px; }
  .site-footer { font-size: 12.5px; padding-bottom: 40px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-top { gap: 16px; }
  .site-footer nav { gap: 10px 18px; }
  .site-footer .biz span { display: block; margin: 0 0 4px !important; }
}
