:root{
  --bg:#070707;
  --panel:#0f0f0f;
  --muted:#9a9a9a;
  --accent:#ffffff;
  --gap:24px;
  --carousel-height:640px;
}

*{box-sizing:border-box}
html,body{min-height:100%;margin:0;background:var(--bg);color:var(--accent);font-family:"IBM Plex Serif", serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

.topbar{height:98px;display:flex;align-items:center;justify-content:space-between;padding:12px 24px}
.logo{height:100px;width:256px;object-fit:contain}

.stage{padding:10px 16px 40px;display:flex;flex-direction:column;gap:16px;min-height:calc(100vh - 98px);overflow:visible}

.carousel-wrap{position:relative;display:flex;align-items:center;gap:12px;height:var(--carousel-height);min-height:var(--carousel-height);max-height:var(--carousel-height);width:100%}
.carousel{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:18px 8px;width:100%;-webkit-overflow-scrolling:touch}
.carousel::-webkit-scrollbar{height:8px}
.carousel::-webkit-scrollbar-thumb{background:#222;border-radius:4px}
.item{
  flex: 0 0 100%;
  min-width: 100%;
  background: var(--panel);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: stretch;
  scroll-snap-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset;
  min-height: auto;
  height: calc(var(--carousel-height) - 56px);
}

.title-link,
.title-link:visited {
  color: var(--accent);
  text-decoration: none;
}

.title-link:hover {
  color: var(--muted);
}

a.btn,
a.btn:visited,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 0 !important;
  font-family: "IBM Plex Serif", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
  border: none !important;
  background: #161616;
  color: var(--accent) !important;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

a.btn:hover,
.btn:hover {
  background: #242424;
  color: #ffffff !important;
}

a.btn:active,
.btn:active {
  transform: scale(0.98);
}

a.btn-secondary,
a.btn-secondary:visited {
  background: #121212;
  color: var(--muted) !important;
  margin-left: 24px;
}

a.btn-secondary:hover {
  background: #202020;
  color: var(--accent) !important;
}

a.btn-title,
a.btn-title:visited {
  font-family: "Cinzel Decorative", serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  background: #161616;
}

a.btn-title:hover {
  background: #262626;
}

.thumb{width:38%;min-width:120px;height:100%;background:transparent;border:0;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:14px;overflow:hidden}
.thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:0;
  display:block;
  background:transparent;
}
.meta{flex:1;position:relative;padding-right:12px;display:flex;flex-direction:column;justify-content:center}
.title{font-family:"Cinzel Decorative", serif;margin:0 0 12px 0;font-size:clamp(48px, 10vw, 120px);letter-spacing:0.6px;line-height:1}
.desc{margin:0;color:var(--muted);font-size:20px;line-height:1.4}

.nav{position:relative;z-index:2;border:0;background:transparent;color:var(--accent);font-size:36px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0.95}
.nav.left{margin-right:6px}
.nav.right{margin-left:6px}

.blurb{
  font-size:22px;
  color:var(--muted);
  padding:18px 16px;
  background:transparent;
  line-height:1.45;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.contact-text {
  font-size:22px;
  color:var(--muted);
  padding:18px 16px;
  background:transparent;
  line-height:1.45;
  display:flex;
  align-items:center;
  justify-content:center;
}

.social{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap}
.social-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  text-decoration:none;
  font-size:16px;
  padding:8px 12px;
  border-radius:8px;
  transition:color .15s, background .15s;
}
.social-link svg{width:20px;height:20px;flex:0 0 20px;opacity:0.95}
.social-link span{line-height:1}
.social-link:hover{color:var(--accent);background:rgba(255,255,255,0.03)}

@media (max-height:700px){
  :root{--carousel-height:520px}
  .item{min-width:280px}
}
@media (max-width:520px){
  .item{flex:0 0 86%}
  .thumb{height:140px}
  .title{font-size:20px}
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.gallery-stage {
  padding: 10px 16px 60px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-masonry {
  column-count: 4;
  column-gap: 16px;
  width: 100%;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  background: #161616;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .gallery-masonry { column-count: 3; }
}

@media (max-width: 800px) {
  .gallery-masonry { 
    column-count: 2; 
    column-gap: 12px; 
  }
  .gallery-item { 
    margin-bottom: 12px; 
  }
}

@media (max-width: 500px) {
  .gallery-masonry { column-count: 1; }
}