body {
  margin:0;
  background:#000;
  color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,sans-serif;
}

.hero {
  text-align:center;
  padding:120px 20px;
}

.hero h1 {
  font-size:32px;
  font-weight:500;
  letter-spacing:2px;
}

.hero p {
  opacity:0.6;
}

.gallery {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:60px;
  padding:80px 10%;
}

.item img {
  width:100%;
  display:block;
}

.meta {
  margin-top:20px;
}

.meta h2 {
  font-weight:500;
}

.meta p {
  opacity:0.7;
  line-height:1.6;
}

.btn {
  display:inline-block;
  margin-top:15px;
  text-decoration:none;
  color:#fff;
  border:1px solid #fff;
  padding:8px 18px;
  font-size:12px;
  letter-spacing:1px;
  transition:0.3s;
}

.btn:hover {
  background:#fff;
  color:#000;
}

.exhibition {
  padding:120px 20%;
  text-align:left;
}

footer {
  text-align:center;
  padding:60px;
  opacity:0.4;
  font-size:12px;
}

body.dark {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
}

.hero {
  padding: 120px 20px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero p {
  opacity: 0.6;
  margin: 4px 0;
}

.gallery {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.canvas {
  margin-bottom: 120px;
  text-align: center;
}

.canvas img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto 30px;
}

.meta h2 {
  font-weight: 500;
  margin-bottom: 10px;
}

.meta p {
  opacity: 0.6;
  margin: 2px 0;
}

.status {
  margin-top: 10px;
  opacity: 1;
}

.closing {

  text-align: center;
  padding: 100px 20px;
  opacity: 0.6;
}

/* kill default link colors */
a, a:visited { color: inherit; }
a { text-decoration: none; }

/* index layout */
.hero-index {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 64px 24px;
  max-width: 720px;
}

.hero-index h1 {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 20px 0;
}

.hero-index p {
  margin: 6px 0;
  opacity: 0.7;
  font-size: 16px;
}

/* button */
.enter-btn {
  margin-top: 42px;
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.95;
}

.enter-btn:active {
  transform: scale(0.98);
}

@media (min-width: 700px) {
  .hero-index { padding: 88px 56px; }
  .hero-index h1 { font-size: 56px; }
}

.dark {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero {
  padding: 120px 20px 60px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  font-weight: 500;
}

.subtitle {
  opacity: 0.6;
  margin-top: 10px;
}

.description {
  margin-top: 20px;
  opacity: 0.7;
}

.gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.canvas {
  margin-bottom: 100px;
}

.canvas img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.4s ease;
}

.canvas img:hover {
  transform: scale(1.02);
}

.meta {
  margin-top: 20px;
}

.meta h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.meta p {
  opacity: 0.7;
  margin: 4px 0;
}

.price {
  margin-top: 10px;
  font-weight: 500;
}

.status {
  font-size: 14px;
  opacity: 0.5;
}

.contact {
  text-align: center;
  padding: 80px 20px;
}

.contact a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #444;
}

.closing {
  text-align: center;
  padding: 100px 20px;
  opacity: 0.6;

  .top-nav {
  padding: 30px 40px;
}

.back-link {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.back-link:hover {
  opacity: 0.6;
}
}

.price{
  margin-top: 14px;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
}

.status{
  margin-top: 10px;
  color: rgba(255,255,255,0.55);
}

.contact a{
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

/* NAV */
.top-nav{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 18px;
}
.back-link, .nav-link{
  color: rgba(255,255,255,0.75);
  text-decoration:none;
  font-size:14px;
  letter-spacing: .02em;
}
.nav-title{
  color: rgba(255,255,255,0.55);
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
}

/* HERO */
.hero-tight{
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 18px 20px;
}
.hero-tight h1{
  margin:0;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-0.02em;
}
.subtitle{ margin:16px 0 0; color: rgba(255,255,255,0.72); }
.muted{ color: rgba(255,255,255,0.55); }

/* GALLERY */
.gallery{
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 18px 50px;
}
.canvas{
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.img-wrap{
  display:block;
  border-radius: 12px;
  overflow:hidden;
  background: rgba(255,255,255,0.03);
}
.canvas img{
  width:100%;
  height:auto;
  display:block;
  transform: scale(1);
  transition: transform .6s ease;
}
.img-wrap:active img{ transform: scale(1.02); }

.meta{
  padding-top: 18px;
}
.meta h2{
  margin:0;
  font-size:28px;
  letter-spacing:-0.01em;
}
.meta p{
  margin: 8px 0 0;
  color: rgba(255,255,255,0.65);
}
.price{
  margin-top: 14px;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
}

/* Reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Closing */
.closing{
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 18px 70px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.inline-link{
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}

/* Responsive */
@media (min-width: 760px){
  .hero-tight{ padding: 70px 24px 24px; }
  .gallery{ padding: 14px 24px 60px; }
}

/* ===== Canvas page layout (clean + compact) ===== */

.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-link{
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  letter-spacing: .02em;
}

.topbar-title{
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero{
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 18px 18px;
}

.hero h1{
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-line{
  margin: 16px 0 0;
  color: rgba(255,255,255,0.72);
}

.hero-muted{
  margin: 8px 0 0;
  color: rgba(255,255,255,0.55);
}

.gallery{
  max-width: 980px;
  margin: 0 auto;
  padding: 6px 18px 36px;
}

/* HERE: spacing between works */
.canvas{
  padding: 18px 0; /* <-- change to 14px if you want tighter */
  border-top: 1px solid rgba(255,255,255,0.08);
}

.canvas-last{
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.canvas img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

.meta{
  padding-top: 10px; /* <-- change to 8px if you want tighter */
}

.meta h2{
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.meta p{
  margin: 8px 0 0;
  color: rgba(255,255,255,0.65);
}

.price{
  margin-top: 12px;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
}

.status{
  margin-top: 10px;
  color: rgba(255,255,255,0.55);
}

.closing{
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 18px 60px;
}

.closing-strong{
  margin: 0;
  color: rgba(255,255,255,0.72);
}

.closing-muted{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.55);
}

.contact{
  margin-top: 24px;
}

.link{
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.muted-link{
  color: rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.18);
}

.brand-mark {
  display: flex;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 40px;
}

.brand-mark img {
  max-width: 320px;
  width: 70%;
  height: auto;
  opacity: 0.9;
}

.home {
  min-height: 100vh;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* центрируем всё */
  align-items: center;       /* выравниваем по центру */
  text-align: center;
}

/* Лого */
.brand-mark {
  margin-bottom: 12px; /* ближе к тексту */
}

.brand-mark img {
  width: 320px;       /* больше */
  max-width: 80vw;    /* адаптив */
  height: auto;
  opacity: 0.95;
}

/* Текст */
.hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero .sub {
  margin: 14px 0 0;
  font-size: 18px;
  color: rgba(255,255,255,0.78);
}

.hero .meta {
  margin: 6px 0 0;
  font-size: 18px;
  color: rgba(255,255,255,0.55);
}

.cta {
  margin-top: 26px;
  
}


/* Exhibition — bottom spacing */

.back-home {
    display: inline-block;
    margin-top: 80px;   /* отступ от последней фотографии */
    margin-bottom: 120px; /* воздух внизу страницы */
}
