:root{
  --bg: #14161c;          /* was near-black, now softer charcoal */
  --panel: #181b23;
  --text: #e9eaf0;
  --muted: rgba(233,234,240,.68);
  --line: rgba(233,234,240,.10);
  --ring: rgba(233,234,240,.22);
  --max: 1040px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
code{ color: rgba(233,234,240,.85); }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(20,22,28,.85);   /* lighter than near-black */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand{
  font-weight: 600;
  letter-spacing: .2px;
}

.nav{
  display:flex;
  gap: 14px;
}
.nav a{
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}
.nav a.active, .nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,.03);
  text-decoration: none;
}

.site-footer{
  border-top: 1px solid var(--line);
  padding: 18px 20px;
  display:flex;
  justify-content: center;
}

.muted{ color: var(--muted); }
.small{ font-size: .92rem; }
.lead{ font-size: 1.05rem; color: rgba(233,234,240,.85); }

.hero{
  padding: 32px 0 18px;
}
.hero h1{
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 10px;
}
.cta-row{
  display:flex;
  gap: 12px;
  margin-top: 16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  text-decoration:none;
}
.btn:hover{
  border-color: var(--ring);
  background: rgba(255,255,255,.06);
  text-decoration:none;
}
.btn.ghost{
  background: transparent;
}

.grid-home{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.card{
  grid-column: span 6;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,.02);
}
.card:hover{
  border-color: var(--ring);
  background: rgba(255,255,255,.03);
  text-decoration:none;
}
.card h2{
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.card p{ margin:0; }

@media (max-width: 720px){
  .card{ grid-column: span 12; }
}

.prose{
  max-width: 820px;
}
.prose hr{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0;
}
.prose h1{ margin-top: 6px; }
.prose h2{ margin-top: 24px; }

.timeline{
  display:flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}
.titem{
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.twhen{
  font-weight: 600;
  margin-bottom: 6px;
}
.twhat{ color: rgba(233,234,240,.84); }

.contact-card{
  margin-top: 18px;
  display:grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,.02);
}
.label{
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 6px;
}

/*.gallery-head{
  padding: 10px 0 16px;
}
.gallery-head h1{
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  padding-top: 10px;
}
.thumb{
  grid-column: span 4;
  display:block;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.thumb img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transform: scale(1.001);
}*/
/*.thumb:hover{
  border-color: var(--ring);
}*/

@media (max-width: 900px){
  .thumb{ grid-column: span 6; }
}
@media (max-width: 560px){
  .thumb{ grid-column: span 12; }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.86);
  padding: 22px;
  z-index: 50;
}
.lightbox.open{ display: grid; }
.lightbox img{
  max-width: min(1100px, 96vw);
  max-height: 78vh;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
}
.lb-close{
  position: fixed;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
}
.lb-close:hover{
  background: rgba(255,255,255,.10);
}
.lb-caption{
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  max-width: min(1100px, 96vw);
}

.list{
  max-width: 820px;
  margin: 8px auto 0;
}

/*.list-item{
  display: block;
  padding: 18px 0;
  font-size: 1.05rem;
  letter-spacing: .1px;
  text-decoration: none;
}*/

.list-item:hover{
  color: rgba(233,234,240,.92);
  text-decoration: none;
}

.sep{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.section-title{
  max-width: 820px;
  margin: 0 auto 12px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .2px;
}


.list-item{
  display: block;
  font-size: 1.1rem;
  font-weight: 300;          /* lighter */
  letter-spacing: .25px;     /* airier */
  padding: 22px 0;           /* taller vertical rhythm */
  line-height: 1.7;          /* taller feel */
}

/* optional: keep title slightly restrained too */
.section-title{
  font-weight: 500;
  letter-spacing: .3px;
}

/* assets/css/styles.css — gallery layout updates */

/* gallery typography: lighter, taller */
.gallery-head h1{
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .3px;
  margin-bottom: 6px;
}

.gallery-head .muted{
  font-weight: 300;
  letter-spacing: .25px;
}

/* full-width, vertical gallery */
/*.gallery-grid{
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 24px;
}*/

/* single image per row, full width */
.thumb{
  width: 100%;
  border: none;
  border-radius: 0;
  background: none;
}

.thumb img{
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}


/* assets/css/styles.css — gallery refinements */

/* more vertical space between images */
.gallery-grid{
  display: flex;
  flex-direction: column;
  gap: 56px;              /* increased spacing */
  padding-top: 32px;
}

/* separator line under each image */
.gallery-item{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-sep{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* image description */
.image-desc{
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: .25px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
}
