/* EDEN GNIZO — static rebuild of the imweb site */
:root {
  --text: #3d3d3d;
  --muted: #8a8a8a;
  --line: #ececec;
  --footer-bg: #c8cbd4;
  --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;
}
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; }
.hero video { width: 100%; height: auto; object-fit: cover; }
.meaning { padding: 74px 0 18px; border-bottom: 1px solid var(--line); line-height: 1.95; }
.meaning b { font-weight: normal; font-size: 16px; }
.home-footer { margin-top: 120px; border-top: 1px solid var(--line); padding: 14px 0 70px; display: flex; justify-content: space-between; gap: 20px; }
.home-footer p { margin: 0 0 12px; }
.home-footer a { color: var(--muted); }

/* Narrow centered column (Artist, Contact) */
.column { width: 610px; max-width: 100%; margin: 0 auto; padding: 110px 0 100px; }
.page-title { font-family: var(--serif); font-weight: normal; font-size: 23px; margin: 0 0 90px; color: #333; }
.artist-figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin: 0 0 80px; }
.artist-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
.artist-figure .hover { opacity: 0; }
.artist-figure:hover .hover { opacity: 1; }
.quote { margin: 0 0 50px; }
.divider { width: 100px; height: 12px; margin: 0 0 80px; }
.sub-title { font-family: var(--serif); font-weight: normal; font-size: 14px; margin: 0 0 40px; }
.more-link { display: inline-block; margin-top: 26px; color: var(--muted); }
.more-link:hover { color: var(--text); }
.contact-block { margin: 0 0 30px; }
.contact-block strong { display: block; }
.contact-block a { text-decoration: underline; text-underline-offset: 2px; }

/* Work */
.work { display: grid; grid-template-columns: 265px minmax(0, 1fr); padding-top: 70px; padding-bottom: 110px; }
.sub-nav { list-style: none; margin: 0; padding: 0; }
.sub-nav li { margin: 0 0 10px; }
.sub-nav a { color: #888; }
.sub-nav a.active, .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 .6s ease; }
.gallery .caption {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); color: #fff; opacity: 0; transition: opacity .3s ease; text-align: center;
}
.gallery .caption span { font-size: 12px; opacity: .85; }
.gallery button:hover .caption, .gallery button:focus-visible .caption { opacity: 1; }
.gallery button:focus-visible { outline: 2px solid #222; outline-offset: 3px; }

/* Text pages (Intro / Notice) */
.lang-nav { padding: 40px 0 90px; }
.lang-nav ul { list-style: none; margin: 0; padding: 0; }
.lang-nav > ul > li { margin-bottom: 8px; }
.lang-nav > ul > li > span { font-size: 14px; color: #777; }
.lang-nav > ul > li.current > span { color: #222; }
.lang-nav ul ul { padding: 6px 0 4px 15px; }
.lang-nav ul ul li { font-size: 11px; line-height: 2.4; }
.lang-nav ul ul a { color: #888; }
.lang-nav ul ul a.active, .lang-nav ul ul a:hover { color: #222; }
.prose { padding-bottom: 20px; max-width: 760px; }
.prose p { margin: 0 0 1.6em; }
.prose h2 { font-size: 19px; margin: 0 0 24px; }
.prose .big { font-size: 15px; line-height: 1.75; }
.prose b { font-weight: normal; font-size: 16px; }

/* Store */
.store { width: 824px; max-width: 100%; margin: 0 auto; padding: 120px 0 90px; }
.store-item { display: grid; grid-template-columns: 1fr 290px; border-top: 1px solid #555; border-bottom: 1px solid #555; margin-bottom: 63px; min-height: 166px; }
.store-item.flip { grid-template-columns: 290px 1fr; }
.store-item.flip .store-img { order: -1; }
.store-text { padding: 36px 80px; text-align: right; }
.store-item.flip .store-text { text-align: left; }
.store-text h3 { font-family: var(--serif); font-weight: normal; font-size: 17px; margin: 0 0 26px; }
.store-text a { color: var(--muted); text-decoration: underline; font-size: 12px; }
.store-img img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #fff; text-align: center; padding: 34px 20px 38px; font-size: 12px; }
.site-footer nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 14px; }
.site-footer p { margin: 0 0 10px; }
.site-footer .biz span + span { margin-left: 8px; }

/* 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 button { all: unset; cursor: pointer; position: absolute; color: #fff; font-size: 34px; line-height: 1; padding: 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 10px; right: 14px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .work { grid-template-columns: 160px minmax(0, 1fr); }
  .gallery { gap: 28px; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .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; }
  .meaning { padding-top: 40px; }
  .home-footer { margin-top: 60px; flex-direction: column; }
  .column { padding: 50px 0 70px; }
  .page-title { margin-bottom: 40px; }
  .artist-figure { margin-bottom: 50px; }
  .work { grid-template-columns: minmax(0, 1fr); padding-top: 30px; }
  .sub-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 26px; }
  .gallery { gap: 12px; }
  .gallery .caption { display: none; }
  .lang-nav { padding: 20px 0 50px; }
  .store { padding-top: 50px; }
  .store-item, .store-item.flip { grid-template-columns: 1fr; margin-bottom: 36px; }
  .store-item.flip .store-img { order: 0; }
  .store-text, .store-item.flip .store-text { padding: 26px 0; text-align: center; }
  .site-footer .biz span { display: block; margin: 0 !important; }
}
