:root{
  --bg:#0b0b12;
  --panel:#111122;
  --panel2:#0f0f1a;
  --text:#f4f4ff;
  --muted:rgba(244,244,255,.72);
  --muted2:rgba(244,244,255,.56);
  --line:rgba(255,255,255,.10);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 14px;
  --max: 1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{ background: var(--bg); }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: transparent; /* moved to fixed layer */
  color:var(--text);
  line-height:1.45;
  position: relative;
  z-index: 0; /* creates a stacking context for ::before/::after */
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background:
  /* purple (stronger, a touch richer) */
  radial-gradient(980px 560px at 18% 12%, rgba(139,92,246,.26), transparent 62%),

  /* green (stronger, slightly larger footprint) */
  radial-gradient(980px 560px at 82% 2%, rgba(16,185,129,.18), transparent 60%),

  /* pink stays as a supporting accent (slightly reduced so purple/green lead) */
  radial-gradient(900px 520px at 52% 112%, rgba(236,72,153,.10), transparent 62%),

  var(--bg);


  transform: translateZ(0); /* helps some GPUs render smoother */
}

/* Subtle noise/dither overlay to remove gradient banding */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: .06; /* tweak: .04 to .10 */
}

a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}
.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:18px; top:10px; width:auto; height:auto; padding:10px 12px; background:#000; border:1px solid var(--line); border-radius:10px; z-index:999}

.top{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,11,18,.72);
  border-bottom:1px solid var(--line);
}
.top__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 0;
}

.brand{display:flex; flex-direction:column; gap:2px}
.brand__mark{font-weight:800; letter-spacing:.12em}
.brand__sub{font-size:12px; color:var(--muted2)}

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

.top__cta{display:flex; gap:10px}

.hero{padding:44px 0 18px}
.hero__inner{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
}
.hero__copy h1{
  margin:0 0 10px;
  font-size:clamp(26px, 5vw, 44px);
  line-height:1.1;
}
.lead{margin:0 0 14px; color:var(--muted); font-size:16px; max-width:62ch}

.pillrow{display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 16px}
.pill{
  font-size:13px;
  padding:7px 10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  border-radius:999px;
  color:var(--muted);
}

.hero__buttons{display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:12px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  font-weight:600;
  font-size:14px;
}
.btn:hover{background:rgba(255,255,255,.14)}
.btn--ghost{
  background:transparent;
  box-shadow:none;
}
.btn--ghost:hover{background:rgba(255,255,255,.08)}

.social{display:flex; flex-wrap:wrap; gap:10px; margin-top:6px}
.social__link{
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
  padding:7px 10px;
  border-radius:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}
.social__link:hover{background:rgba(255,255,255,.08)}

.section{padding:34px 0}
.section__head{margin-bottom:14px}
.section__head--row{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap}
.section h2{margin:0 0 6px; font-size:24px}
.section{
  position: relative;
}

.section::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:-28px;
  height:56px;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(11,11,18,0), rgba(11,11,18,.20), rgba(11,11,18,0));
}

.muted{color:var(--muted); margin:0}
.small{font-size:13px}
.fineprint{color:var(--muted2); font-size:12px; margin:18px 0 0}

.grid3{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}

.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  padding:16px;
}
.card--glass{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
}
.card h3{margin:0 0 8px}
.card__actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.bullets{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.bullets li{margin:6px 0}

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

.ipwords{display:grid; gap:10px; margin-top:10px}
.ipword{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
.ipword span{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  font-weight:800;
}

.notice{
  border:1px dashed rgba(255,255,255,.18);
  border-radius:14px;
  padding:12px 14px;
  color:var(--muted);
  background:rgba(255,255,255,.03);
  margin:10px 0 14px;
}

.ytgrid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
.ytcard{
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:rgba(0,0,0,.22);
  text-decoration:none;
}
.ytthumb{
  width:100%;
  aspect-ratio: 16/9;
  object-fit:cover;
  display:block;
}
.ytmeta{padding:12px 14px}
.yttitle{margin:0 0 6px; font-weight:700}
.ytsub{margin:0; color:var(--muted); font-size:13px}

.contactgrid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
.contactcard{
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  background:rgba(255,255,255,.03);
  color:var(--muted);
}
.contactcard:hover{background:rgba(255,255,255,.08); color:var(--text)}

@media (min-width: 820px){
  .nav{display:flex}
  .hero__inner{grid-template-columns: 1.4fr .9fr; gap:18px; align-items:start}
  .grid3{grid-template-columns: repeat(3, 1fr)}
  .ytgrid{grid-template-columns: repeat(3, 1fr)}
  .contactgrid{grid-template-columns: repeat(3, 1fr)}
}

/* Global Gallery Modal (single instance) */
.gmodal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
}
.gmodal.is-open{ display:block; }

.gmodal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.62);
}

.gmodal__panel{
  position: relative;
  max-width: min(980px, calc(100vw - 26px));
  margin: 6vh auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15,15,26,.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gmodal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.gmodal__title{
  font-weight: 800;
  letter-spacing: .02em;
}

.gmodal__close{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}
.gmodal__close:hover{ background: rgba(255,255,255,.10); }

.gmodal__body{
  padding: 14px;
  max-height: 76vh;
  overflow: auto;
}

.gshots{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.gshots img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

@media (min-width: 820px){
  .gshots{ grid-template-columns: repeat(2, 1fr); }
}

