:root{
  --bg: #07090c;
  --panel: rgba(255,255,255,0.05);
  --panel-2: rgba(255,255,255,0.08);
  --stroke: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.65);
  --accent: #9DFF3A;
  --shadow: 0 16px 40px rgba(0,0,0,0.55);
  --radius: 16px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 70% 20%, rgba(157,255,58,0.18), transparent 60%),
              radial-gradient(900px 600px at 10% 40%, rgba(255,255,255,0.07), transparent 60%),
              linear-gradient(180deg, #050608, #0a0d12 60%, #050608);
  color: var(--text);
  overflow-x:hidden;
}

.grain{
  pointer-events:none;
  position:fixed;
  inset:0;
  opacity:0.12;
  mix-blend-mode:overlay;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:0.92; }

.accent{ color: var(--accent); }
.muted{ color: var(--muted); }

/* TOP BAR */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(5,6,8,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap:16px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  letter-spacing:0.06em;
}
.brand-mark{
  width:34px; height:34px;
  display:grid; place-items:center;
  border:1px solid var(--stroke);
  border-radius:10px;
  background: rgba(255,255,255,0.04);
  font-weight:800;
}
.brand-name{ font-weight:600; font-size:14px; opacity:0.95; }

.menu{ display:flex; gap:22px; color:var(--muted); font-size:14px; }
.menu a{ padding:8px 6px; border-radius:10px; }
.menu a:hover{ background: rgba(255,255,255,0.05); color:var(--text); }

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight:600;
  font-size:14px;
  transition: transform 0.08s ease, background 0.2s ease, border 0.2s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: rgba(157,255,58,0.12);
  border-color: rgba(157,255,58,0.55);
  color: var(--text);
}
.btn-primary:hover{ background: rgba(157,255,58,0.18); }

.btn-outline{
  border-color: rgba(157,255,58,0.55);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover{ background: rgba(157,255,58,0.10); }

.btn-ghost{
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.06); }

/* HERO (capped so it doesn't hog the page) */
.hero{
  padding: 56px 0 24px;
  min-height: 72vh;
  max-height: 820px;
  display: flex;
  align-items: center;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items:center;
}

.hero-copy h1{
  margin:0 0 14px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing:-0.02em;
  font-weight:800;
}
.hero-copy .subhead{
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; }

.scroll-hint{
  margin-top: 22px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-media{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  min-height: 360px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
}

.hero-photo{
  width:100%; height:100%;
  object-fit: cover;
  transform: scale(1.03);
  display:block;
  filter: contrast(1.05) saturate(1.05);
}

.hero-streak{
  position:absolute;
  inset:auto -30% 18% -30%;
  height: 110px;
  background: radial-gradient(circle at 30% 50%, rgba(157,255,58,0.55), transparent 58%),
              linear-gradient(90deg, transparent, rgba(157,255,58,0.22), transparent);
  transform: rotate(-9deg);
  opacity:0.9;
}

/* STATS STRIP */
.strip{
  margin-top: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.strip-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strip-item{
  display:flex; gap:12px; align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.12);
}

.strip-icon{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(157,255,58,0.10);
  border: 1px solid rgba(157,255,58,0.35);
}

.strip-title{ font-weight:700; font-size: 13px; letter-spacing:0.02em; }
.strip-note{ font-size: 12px; color: var(--muted); margin-top:3px; }

/* Broadcast divider bar */
.section-divider{
  height: 2px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(157,255,58,0.6),
    transparent
  );
  margin: 18px 0 10px;
}

/* SECTIONS */
.section{
  padding: 28px 0 42px;
}

h2{
  margin:0 0 18px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

/* CARDS (more authority) */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow:
    0 10px 26px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 18px 18px 16px;
  min-height: 160px;
}

.card-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 6px;
}

.card-icon{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(157,255,58,0.10);
  border: 1px solid rgba(157,255,58,0.35);
}

.card h3{ margin:0; font-size: 16px; }
.card p{
  margin: 10px 0 12px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}
.card-link{
  color: var(--accent);
  font-weight:600;
  font-size: 13px;
}

/* RESULTS */
.results-title{
  font-size: 22px;
  letter-spacing: 0.12em;
  opacity: 0.95;
}

.metrics{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.metrics::after{
  content:"";
  position:absolute;
  inset:auto -30% 8px -30%;
  height: 90px;
  background: radial-gradient(circle at 50% 50%, rgba(157,255,58,0.35), transparent 60%);
  opacity: 0.6;
}

.metric{
  padding: 10px 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.metric:last-child{ border-right: none; }

.metric-number{
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight:800;
  letter-spacing:-0.02em;
}

.metric-label{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* ABOUT */
.about{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.about-media{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
  min-height: 260px;
}

.about-media img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
}

.about-copy{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 18px;
}

.about-lede{
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.bullets{
  list-style:none;
  padding:0;
  margin: 0 0 18px;
  display:grid;
  gap: 10px;
}

.bullets li{
  display:flex;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  font-size: 14px;
}

.dot{
  width:10px; height:10px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(157,255,58,0.9);
  box-shadow: 0 0 14px rgba(157,255,58,0.35);
  flex: 0 0 10px;
}

.center-cta{
  display:flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align:center;
  padding-top: 8px;
}

.closing{
  font-weight:700;
  letter-spacing:-0.01em;
  color: rgba(255,255,255,0.86);
}

/* CONTACT */
.contact{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 18px;
}

.form{
  display:grid;
  gap: 10px;
  margin-top: 14px;
  max-width: 640px;
}

input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
}

input:focus, textarea:focus{
  border-color: rgba(157,255,58,0.55);
  box-shadow: 0 0 0 4px rgba(157,255,58,0.10);
}

/* FOOTER */
.footer{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  background: rgba(0,0,0,0.20);
}

.footer-row{
  display:flex; justify-content:space-between; align-items:center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links{ display:flex; gap: 14px; }

/* RESPONSIVE */
@media (max-width: 980px){
  .hero{ min-height: auto; max-height: none; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media{ min-height: 300px; }

  .strip-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }

  .metrics{ grid-template-columns: 1fr 1fr; }
  .metric{ border-right:none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .metric:nth-last-child(-n+2){ border-bottom:none; }

  .about{ grid-template-columns: 1fr; }

  .menu{ display:none; }
}

/* Portfolio grid (matches existing card language) */
.portfolio-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.portfolio-card{
  display:block;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow:
    0 10px 26px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.12s ease, border 0.2s ease, background 0.2s ease;
}

.portfolio-card:hover{
  transform: translateY(-2px);
  border-color: rgba(157,255,58,0.35);
  background: linear-gradient(180deg, rgba(157,255,58,0.08), rgba(255,255,255,0.02));
}

.portfolio-card img{
  width:100%;
  height: 240px;
  object-fit: cover;
  display:block;
  filter: contrast(1.03) saturate(1.03);
}

@media (max-width: 980px){
  .portfolio-grid{
    grid-template-columns: 1fr;
  }
  .portfolio-card img{
    height: 220px;
  }
}

