:root{
  --bg:#0b0b0c;
  --fg:#f4f4f5;
  --muted:rgba(244,244,245,.7);
  --card:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.10);
  --shadow: 0 24px 60px rgba(0,0,0,.35);
  --r: 20px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(255,255,255,.08), transparent 60%),
              radial-gradient(900px 600px at 80% 10%, rgba(255,255,255,.06), transparent 60%),
              var(--bg);
  color:var(--fg);
  overflow-x:hidden;
}

a{color:inherit}
.bg-noise{
  position:fixed; inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  opacity:.30;
}

.nav{
  position:sticky; top:0; z-index:20;
  display:flex; align-items:center; gap:14px;
  padding:14px 16px;
  backdrop-filter: blur(14px);
  background: rgba(11,11,12,.55);
  border-bottom: 1px solid var(--border);
}

.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand img{width:34px; height:34px; border-radius:999px; background:#fff}
.brand span{font-weight:650; letter-spacing:.2px}
.brand em{font-style:normal; opacity:.8}

.navlinks{margin-left:auto; display:flex; gap:18px; align-items:center}
.navlinks a{opacity:.85; text-decoration:none; font-weight:550}
.navlinks a:hover{opacity:1}

.btn{
  text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-weight:650;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18)}
.btn-primary{
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.70));
  color:#0b0b0c;
  border-color: transparent;
}
.btn-primary:hover{background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,.78))}
.btn-ghost{opacity:.9}

.burger{
  display:none;
  margin-left:6px;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.burger span{display:block; height:2px; width:18px; background:var(--fg); margin:0 auto}
.burger span+span{margin-top:6px; opacity:.75}

main{padding-bottom:60px}

.hero{
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 16px 18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items:center;
}
.hero-inner{padding: 10px 0}
.kicker{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px}
.pill{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-weight:650;
  font-size:13px;
  color: var(--muted);
}
.hero h1{
  font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing:-.8px;
  line-height:1.02;
  margin:0 0 14px;
}
.grad{
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.55));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.sub{
  margin:0 0 18px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 16.5px;
}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px}

.hero-meta{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.meta{
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.meta-title{font-weight:700; font-size:13px}
.meta-desc{font-size:13px; color: var(--muted)}

.hero-art{display:flex; justify-content:flex-end}
.stack{
  position:relative;
  width:min(360px, 92%);
  aspect-ratio: 4 / 5;
}
.cardimg{
  position:absolute; inset:auto;
  width: 88%;
  height: 64%;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background-image: var(--img);
  background-size: cover;
  background-position:center;
  transform: translateY(0) rotate(0deg);
  transition: transform .35s ease;
}
.cardimg:nth-child(1){top:0; left:0; transform: rotate(-6deg)}
.cardimg:nth-child(2){top:18%; left:8%; transform: rotate(4deg)}
.cardimg:nth-child(3){top:36%; left:2%; transform: rotate(-2deg)}
.stack:hover .cardimg:nth-child(1){transform: translateY(-6px) rotate(-7deg)}
.stack:hover .cardimg:nth-child(2){transform: translateY(-10px) rotate(6deg)}
.stack:hover .cardimg:nth-child(3){transform: translateY(-12px) rotate(-3deg)}

.section{
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 16px;
}
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:18px;
  margin-bottom: 18px;
}
.section-head h2{margin:0; font-size: 28px; letter-spacing:-.3px}
.section-head p{margin:0; max-width: 70ch; color: var(--muted)}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  padding: 18px 16px;
  border-radius: var(--r);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.card h3{margin:0 0 8px; font-size:18px}
.card p{margin:0 0 12px; color: var(--muted)}
.card ul{margin:0; padding-left: 18px; color: var(--muted)}
.card li{margin:6px 0}

.filters{display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 14px}
.chip{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--fg);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight:650;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.chip:hover{transform: translateY(-1px); background: rgba(255,255,255,.07)}
.chip.active{background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22)}

.masonry{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.tile{
  position:relative;
  border-radius: var(--r);
  overflow:hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  cursor:pointer;
  min-height: 220px;
}
.tile img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(1.05) contrast(1.03);
}
.tile:hover img{transform: scale(1.06)}
.tile::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%);
  opacity:.85;
}
.cap{
  position:absolute; left:12px; right:12px; bottom:12px;
  z-index:2;
  display:flex; justify-content:space-between; align-items:center; gap:10px;
}
.cap .tag{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-weight:650;
}
.cap .name{font-weight:700; font-size:13px; color: rgba(255,255,255,.92); opacity:.92}

/* Tile sizes */
.w-6{grid-column: span 6}
.w-4{grid-column: span 4}
.w-8{grid-column: span 8}
.h-2{min-height: 260px}
.h-3{min-height: 360px}
.h-4{min-height: 460px}

.note{margin-top:14px; color: var(--muted)}
.note a{opacity:.95}

.steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 12px;
}
.step{
  display:flex; gap: 14px;
  padding: 16px 16px;
  border-radius: var(--r);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.step-num{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-weight:800;
  color: rgba(255,255,255,.95);
}
.step h3{margin:0 0 6px}
.step p{margin:0; color: var(--muted)}

.cta-band{
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: calc(var(--r) + 6px);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.cta-band h3{margin:0 0 4px}
.cta-band p{margin:0; color: var(--muted)}

.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-card{
  padding: 18px 16px;
  border-radius: var(--r);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.label{color: var(--muted); font-size:12px; font-weight:650; letter-spacing:.2px}
.value{display:inline-block; margin-top:8px; font-weight:800; text-decoration:none}
.hint{margin-top:6px; color: var(--muted); font-size:13px}

.footer{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 16px 30px;
  border-top: 1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center; gap:14px;
  color: var(--muted);
}
.footer-links{display:flex; gap:14px}
.footer a{text-decoration:none; opacity:.9}
.footer a:hover{opacity:1}

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  display:none;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  z-index:50;
  padding: 20px;
}
.lightbox.open{display:grid; place-items:center}
.lightbox img{
  max-width: min(980px, 94vw);
  max-height: 78vh;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
}
.lb-close{
  position: fixed;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
  cursor:pointer;
}
.lb-cap{
  margin-top: 12px;
  color: rgba(255,255,255,.88);
  font-weight:650;
  text-align:center;
  max-width: 80ch;
}

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .navlinks{display:none}
  .burger{display:inline-grid; place-items:center}
  .hero{grid-template-columns: 1fr; padding-top: 22px}
  .hero-art{justify-content:flex-start}
  .hero-meta{grid-template-columns: 1fr; max-width: 520px}
  .cards{grid-template-columns: 1fr}
  .contact-grid{grid-template-columns: 1fr}
  .section-head{flex-direction:column; align-items:flex-start}
  .masonry{grid-template-columns: repeat(6, 1fr)}
  .w-8{grid-column: span 6}
  .w-6{grid-column: span 6}
  .w-4{grid-column: span 6}
}