/* inkbybhavya - clean gallery theme inspired by minimal artist portfolios */
:root{
  --bg: #f8f6f3;
  --paper: #fbfaf8;
  --ink: #111114;
  --muted: #5a5a64;
  --line: rgba(17,17,20,.12);
  --card: rgba(255,255,255,.72);
  --shadow: 0 12px 30px rgba(17,17,20,.10);
  --radius: 20px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background: radial-gradient(1200px 700px at 15% -10%, rgba(17,17,20,.06), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(17,17,20,.04), transparent 60%),
              var(--bg);
  line-height:1.55;
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-underline-offset: 4px; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(248,246,243,.72);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand img{ height: 32px; width:auto; display:block; }

.navlinks{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.navlinks a{
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(17,17,20,.82);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.navlinks a.active{
  border-color: var(--line);
  background: rgba(255,255,255,.58);
}

.hero{
  margin: 24px 0 22px;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--paper);
}
.hero img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display:block;
}
.hero .hero-inner{
  padding: 18px 20px 22px;
  background: linear-gradient(to bottom, rgba(248,246,243,.0), rgba(248,246,243,.72));
}
.kicker{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(17,17,20,.66);
}
h1,h2,h3{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  margin: 8px 0 10px;
  line-height:1.12;
}
h1{ font-size: clamp(30px, 4vw, 44px); }
h2{ font-size: 30px; }
p{ margin: 0 0 12px; color: rgba(17,17,20,.86); }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 18px 0 30px;
}
.card{
  grid-column: span 4;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(17,17,20,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17,17,20,.10);
}
.card img{
  width:100%;
  height: 180px;
  object-fit: cover;
  display:block;
}
.card .body{ padding: 14px 14px 16px; }
.card .title{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  margin: 0 0 6px;
}
.card .meta{ color: rgba(17,17,20,.62); font-size: 13px; margin:0; }

.split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
  margin: 18px 0 34px;
}
.panel{
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  box-shadow: 0 10px 24px rgba(17,17,20,.06);
}
ul.clean{
  margin: 10px 0 0;
  padding-left: 18px;
}
ul.clean li{ margin: 6px 0; color: rgba(17,17,20,.82); }

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin: 10px 0 30px;
}
.thumb{
  grid-column: span 4;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  box-shadow: 0 10px 24px rgba(17,17,20,.06);
  cursor: pointer;
}
.thumb img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
}
.caption{
  padding: 10px 12px 12px;
  font-size: 13px;
  color: rgba(17,17,20,.72);
}

.form{
  display:grid;
  gap: 12px;
  margin-top: 8px;
}
.field{
  display:grid;
  gap: 6px;
}
label{ font-size: 13px; color: rgba(17,17,20,.72); }
input, textarea{
  width:100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 12px;
  background: rgba(255,255,255,.72);
  font: inherit;
}
textarea{ min-height: 130px; resize: vertical; }
button{
  border: 1px solid var(--line);
  background: rgba(17,17,20,.92);
  color: #fff;
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(17,17,20,.14);
}
button:hover{ filter: brightness(1.05); }

.footer{
  padding: 26px 0 36px;
  color: rgba(17,17,20,.62);
  font-size: 13px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(17,17,20,.72);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 100;
}
.lightbox.open{ display:flex; }
.lightbox .frame{
  max-width: 1100px;
  width: 100%;
  background: rgba(248,246,243,.92);
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 20px 60px rgba(0,0,0,.30);
}
.lightbox img{
  width:100%;
  max-height: 74vh;
  object-fit: contain;
  display:block;
  background: #000;
}
.lightbox .bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 10px 12px;
  gap: 10px;
}
.lightbox .bar span{ font-size: 13px; color: rgba(17,17,20,.74); }
.lightbox .bar button{
  background: rgba(255,255,255,.72);
  color: var(--ink);
  box-shadow: none;
}

.badge{
  display:inline-flex;
  gap: 8px;
  align-items:center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(17,17,20,.68);
  background: rgba(255,255,255,.62);
}

.video{
  width: 100%;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  box-shadow: 0 10px 24px rgba(17,17,20,.06);
}

/* responsive */
@media (max-width: 980px){
  .card{ grid-column: span 6; }
  .thumb{ grid-column: span 6; }
  .split{ grid-template-columns: 1fr; }
  .hero img{ height: 320px; }
}
@media (max-width: 620px){
  .brand{ min-width: auto; }
  .nav{ align-items:flex-start; flex-direction: column; }
  .navlinks{ justify-content:flex-start; gap: 10px; }
  .card{ grid-column: span 12; }
  .thumb{ grid-column: span 12; }
  .hero img{ height: 280px; }
}
