:root{
  --bg: #0e0f12;
  --panel: #151821;
  --text: #f4f5f7;
  --muted: #b7bcc8;
  --line: rgba(255,255,255,.08);
  --accent: #f5d90a;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14,15,18,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand{
  display:flex;
  gap:10px;
  align-items:center;
  letter-spacing:.06em;
}

.brand-mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius: 10px;
}

.brand-text strong{ font-weight:800; }

.nav{ display:flex; gap:16px; align-items:center; }
.nav a{ color: var(--muted); font-size: 14px; }
.nav a:hover{ color: var(--text); text-decoration:none; }

.nav .cta{
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
}

.section{ padding: 34px 0; }
.muted{ color: var(--muted); }

.about{ max-width: 72ch; }

.contact{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.contact-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:start;
}

.contact-links{
  display:flex;
  flex-direction:column;
  gap: 8px;
  margin-top: 10px;
}

.contact-links a{
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
}

.gallery{
  display:grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.tile img{
  width:100%;
  height: auto;
  aspect-ratio: 1 / 1.25;
  object-fit: cover;
  display:block;
}

.tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 40%);
  opacity:0;
  transition: opacity .2s ease;

  pointer-events: none; /* <-- ADD THIS */
}


.tile{
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0c10;
  cursor: zoom-in;
}


.tile:hover::after{
  opacity:1;
}

.tile figcaption{
  padding: 8px 10px;
  text-align: center;
  letter-spacing: .02em;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.15),
    rgba(0,0,0,.35)
  );
}


.contact-links a:hover{ color: var(--text); }

@media (max-width: 860px){
  .contact-inner{ grid-template-columns: 1fr; }
}
/* Lightbox (complete) */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.82);
  padding: 24px;
  z-index: 999;
}

.lightbox.is-open{ display: grid; }

.lightbox img{
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  cursor: zoom-out;
}

.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover{
  background: rgba(255,255,255,.14);
}


.brand-logo{
  height: 60px;     /* try 24–32px if you want */
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 600px){
  .brand-logo{
    height: 24px;
  }
}

.brand{
  padding: 2px 0;
}

/* Left-side texture rail */
body{
  position: relative;
}

body::before{
  content:"";
  position: fixed;
  inset: 0 auto 0 0;
  width: min(32vw, 420px);
  background-image: url("images/ui/texture.png");
  
  background-size: cover;
  background-position: center;
  opacity: 0.75;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to right, black 55%, transparent);
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent);
}

.page-shell{
  position: relative;
}

/* Keep nav items and icons in one row */
.nav{
  display:flex;
  gap:16px;
  align-items:center;
}

/* Social icons in header */
.social-icons{
  display:flex;
  gap:10px;
  align-items:center;
  margin-left: 6px; /* tiny breathing room after Contact */
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.social-icons img{
  width: 22px;
  height: 22px;
  opacity: 0.7;
  filter: invert(1);
  transition: opacity .2s ease, transform .2s ease;
}

.social-icons a:hover img{
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 860px){
  .social-icons{ display:none; }
}

@media (max-width: 600px){
  body::before{
    width: min(42vw, 220px);
    opacity: 0.35;
    mask-image: linear-gradient(to right, black 35%, transparent);
    -webkit-mask-image: linear-gradient(to right, black 35%, transparent);
  }

  .hero-copy{
    background: rgba(14,15,18,0.70); /* slightly stronger for readability */
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(6px);
  }
}
@media (max-width: 600px){
  .hero-copy{
    max-width: 42ch;
    margin-top: 8px;
  }
}
