:root{
  --bg: #f4f4f3;
  --card: #ffffff;
  --text: #151515;
  --line: rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
}

*{ box-sizing: boarder-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--text);
  color: var(--text);
}

.wrap{
  width: min(1100px, 92vw);
  margin: 0 auto 50px;
}

.topbar{
  width: min(1100px, 92vw);
  margin: 0 auto 50px;
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.title{
  margin:0;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  letter-spacing: 1px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  color: #f5f5f5; 
}

.title-small{
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.tagline{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}


@media (hover: hover) {
  .nav a:hover::after {
    transform: scaleX(1);
  }
}
.btn{
  appearance:none;
  border: 1px solid var(--text);
  background: var(--text);
  color: white;
  padding: 10px 14px;
  boarder-radius: 999px;
  font-size: 0.95rem;
  text-decoration:none;
  cursor:pointer;
  display: inline-block;
}
button.btn {
  transition: transform .08s ease
}

button.btn:hover {
  opacity: .92;
}

button.btn:active {
  transform: translateY(1px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.6);
}
.card {
  background: linear-gradient(
    to bottom,
    #f0f0f0 0%,
    #dcdcdc 55%,
    #8C8C8C 100%
    
  );
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  padding: 24px;
  margin: 20px 0;
}

.card-head{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 1px;
}

.card-head .btn-outline {
  color: #111;
  border-color: rgba(0,0,0,0.3);
}
.section-title{
  margin:0;
  font-size: 1.1rem;
  letter-spacing: .3px;
} 

.actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.video-frame{
  boarder-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: #000;
}
.video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.slideshow{
  position: relative;
  border-radius: 14px;
  overflow:hidden;
  boarder: 1px solid var(--line);
  background: #000;
}
.slide-img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
}

.lightbox-open{
  position:absolute;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.450);
  color: white;
  border-radius: 999px;
  padding: 6px 12px;
  cursor:pointer;
}

.footer{
  display:flex;
  justify-content:center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}

@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  .topbar{ align-items:flex-start; }
  .grid{ grid-template-colums: 1fr; }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index: 999;
  padding: 18px;
}
.lightbox.show{display:flex; }
.lightbox-img {
    max-width: 96vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
.lightbox-close{
  position: fixed;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.45);
  color: white;
  border-radius: 999px;
  padding: 10px 12px;
  cursor:pointer;
}

/* Slideshow Fade Effect */

#slideImg {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

#slideImg.fade-out {
  opacity: 0;
}

