/* Reference-inspired minimalist layout (centered white card, serif title, wide hero) */

:root{
  --bg: #eeeeee;
  --paper: #ffffff;
  --ink: #2b2a29;
  --muted: #8a817c;
  --line: rgba(0,0,0,.10);
  --shadow: 0 20px 50px rgba(0,0,0,.20);
  --serif: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

.page{
  min-height: 100vh;
  padding: 28px 18px 42px;
  display: grid;
  place-items: start center;
}

.frame{
  width: min(1060px, 100%);
  background: var(--paper);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 18px;
  font-size: 12px;
  color: var(--muted);
}

.topbar-left{
  font-family: var(--serif);
  letter-spacing: .02em;
}

.topbar-right{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-right a{
  color: var(--muted);
  text-decoration:none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.topbar-right a:hover{
  color: var(--ink);
  border-bottom-color: rgba(0,0,0,.25);
}

.hero-image{
  width: 100%;
  height: 320px;
  background: #f3f1ef;
}
.hero-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.title-wrap{
  padding: 26px 18px 18px;
  text-align:center;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
h1{
  margin:0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 56px);
  color: #877e78;
  letter-spacing: .01em;
  line-height: 1.05;
}

.content{
  padding: 34px 60px 22px;
}

.block{
  margin-bottom: 30px;
}

.section-title{
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(0,0,0,.70);
  margin: 0 0 10px;
}

.muted{ color: var(--muted); }
.small{ font-size: 12px; }

/* Books */
.books-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.book-card{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.015);
  padding: 14px;
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: start;
}

.book-cover{
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.book-cover img{
  width: 160px;
  height: 220px;
  object-fit: cover;
  display:block;
  border: 1px solid rgba(0,0,0,.10);
  background: #f3f1ef;
}

.book-meta h3{
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 600;
  color: rgba(0,0,0,.78);
  font-size: 20px;
}
.book-meta p{
  margin: 0 0 10px;
}
.book-copy{
  font-size: 12px;
  color: rgba(0,0,0,.60);
  line-height: 1.65;
}

/* About */
.about{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: start;
}

.about-text{
  font-size: 12px;
  color: rgba(0,0,0,.60);
  line-height: 1.65;
  max-width: 420px;
}
.about-text p{ margin: 0 0 12px; }

.portrait{
  margin:0;
  width: 100%;
  display:flex;
  justify-content: center;
}
.portrait img{
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display:block;
  border: 1px solid rgba(0,0,0,.10);
  background: #f3f1ef;
}

/* Acknowledgement */
.ack-title{ margin: -2px 0 10px; }
.ack-box{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  padding: 14px 14px 6px;
}
.ack-box p{
  margin: 0 0 10px;
  font-size: 12px;
  color: rgba(0,0,0,.62);
  line-height: 1.65;
}

/* Gallery */
.gallery{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tile{
  border: 1px solid rgba(0,0,0,.10);
  background: #f3f1ef;
  overflow:hidden;
  padding: 0;
  cursor: zoom-in;
}
.tile img{
  width:100%;
  height:320px;
  object-fit: cover;
  display:block;
}

/* Footer */
.footer{
  padding: 18px 18px 22px;
  text-align:center;
  border-top: 1px solid rgba(0,0,0,.06);
  color: rgba(0,0,0,.55);
  font-size: 12px;
}
.footer a{ color: rgba(0,0,0,.65); }
.footer a:hover{ color: rgba(0,0,0,.9); }

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 999;
}
.lightbox.open{ display:flex; }
.lightbox-img{
  max-width: min(980px, 96vw);
  max-height: 86vh;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.15);
  background: #111;
}
.lightbox-close{
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 980px){
  .content{ padding: 28px 22px 18px; }
  .books-grid{ grid-template-columns: 1fr; }
  .about{ grid-template-columns: 1fr; gap: 22px; }
  .about-text{ max-width: none; }
  .gallery{ grid-template-columns: 1fr; }
  .tile img{ height: 260px; }
  .hero-image{ height: 200px; }
}


/* Services Section */
.services-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.service-item{
  border: 1px solid rgba(0,0,0,.10);
  padding: 16px;
  background: rgba(0,0,0,.02);
}

.service-item h3{
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  color: rgba(0,0,0,.75);
}

.service-item p{
  margin: 0;
  font-size: 13px;
  color: rgba(0,0,0,.60);
  line-height: 1.6;
}

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


/* Premium header redesign */
.premium-hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items:center;
  padding: 42px 44px 34px;
  background:
    radial-gradient(circle at top left, rgba(186,164,132,.22), transparent 38%),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f3ede6 100%);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.premium-hero-text{
  max-width: 620px;
}

.hero-kicker{
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8c7a66;
  font-weight: 600;
}

.premium-hero h1{
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 5vw, 66px);
  line-height: .95;
  color: #57463a;
  letter-spacing: -.01em;
}

.hero-subtitle{
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(43,42,41,.72);
  max-width: 560px;
}

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

.hero-tags span{
  border: 1px solid rgba(87,70,58,.14);
  background: rgba(255,255,255,.75);
  color: #6f5b4a;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.premium-hero-visual{
  display:flex;
  justify-content:center;
}

.hero-portrait-card{
  width: min(380px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,244,239,.98));
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 22px 55px rgba(72,53,33,.12);
}

.hero-portrait-card img{
  width: 100%;
  display:block;
  border-radius: 18px;
  background: #f8f8f8;
}

@media (max-width: 980px){
  .premium-hero{
    grid-template-columns: 1fr;
    padding: 32px 22px 26px;
  }

  .premium-hero-text{
    max-width: none;
  }

  .premium-hero-visual{
    justify-content:flex-start;
  }

  .premium-hero h1{
    font-size: clamp(36px, 9vw, 56px);
  }
}



/* Events section */
.events-section{
  padding: 60px 40px;
  text-align: center;
}

.events-section h2{
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 10px;
  color: #57463a;
}


/* Floating Buttons Stack */
.floating-buttons {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 10px;
  z-index: 999;
}

.floating-btn{
  background: linear-gradient(135deg, #bfa37a, #8c6b4f);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
}

.floating-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

@keyframes pulse{
  0% { box-shadow: 0 0 0 0 rgba(191,163,122,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(191,163,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(191,163,122,0); }
}

.floating-btn{
  animation: pulse 3s infinite;
}
