/* Minimal, timeless portfolio styles (no frameworks). */
:root{
  --bg:#0f0f10;
  --panel:#121214;
  --text:#f5f5f7;
  --muted:#b7b7c0;
  --line: rgba(255,255,255,.10);
  --soft: rgba(255,255,255,.06);
  --max: 1120px;
  --r: 18px;
  --shadow: 0 24px 70px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    /* COLOR WASH */
    linear-gradient(135deg,
      rgba(0,120,255,.50) 0%,
      rgba(83,0,255,.15) 35%,
      rgba(0,36,46,.70) 70%,
      transparent 100%
    ),

    /* NEON SPOT */
    radial-gradient(
      900px 600px at 80% 10%,
      rgba(120,100,255,.14),
      transparent 60%
    ),

    /* GRID – horizontal */
    linear-gradient(
      rgba(255,255,255,0.05) 1px,
      transparent 1px
    ),

    /* GRID – vertical */
    linear-gradient(
      90deg,
      rgba(255,255,255,0.05) 1px,
      transparent 1px
    ),

    /* BASE */
    linear-gradient(180deg, #07070c 0%, #0b0b12 100%);

  background-size:
    auto,
    auto,
    32px 32px,
    32px 32px,
    auto;

  background-position:
    center,
    center,
    0 0,
    0 0,
    center;

  color:var(--text);
  line-height:1.55;
}


img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
p{margin:0 0 14px}
h1,h2,h3{line-height:1.15; margin:0 0 12px}
h1{font-size: clamp(2rem, 2.8vw, 3.2rem); letter-spacing:-0.02em}
h2{font-size: clamp(1.4rem, 2.0vw, 2rem); letter-spacing:-0.01em}
h3{font-size: 1.15rem}

.container{
  width:min(var(--max), calc(100% - 48px));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-999px; top:8px;
  background:var(--text);
  color:var(--bg);
  padding:10px 14px;
  border-radius:999px;
  z-index:999;
}
.skip-link:focus{left:12px}

.site-header{
  position:sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(15,15,16,.65);
  border-bottom:1px solid var(--line);
  z-index:50;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 200px;
}
.brand-mark{
  width:28px; height:28px;
  border-radius:10px;
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.brand-name{
  font-weight:650;
  letter-spacing: .01em;
}
.nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a {
  position: relative;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover {
  color: #FF00AA;
  text-shadow:
    0 0 6px rgba(255, 0, 128, 1),
    0 0 14px rgba(255, 0, 128, 1);
}
.hero{
  padding:48px 0 30px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:start;
}
.lede{
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 55ch;
}
.hero-actions{
  display:flex;
  gap:12px;
  margin:18px 0 18px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 14px;
  border-radius:999px;
  background: rgba(255, 255, 0,0.12);
  color:#B8B627;
  border-color: transparent;
  border:1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.btn:hover{
  color:#FFFB00;
  background: rgbargba(255, 255, 0,0.12);
  border-color: rgba(255, 255, 0,0.6);
  box-shadow:
    0 0 8px rgba(255, 255, 0, 0.8),
    0 0 18px rgba(255, 255, 0, 0.6),
    inset 0 0 0 rgba(0,0,0,0);
  transform: translateY(-1px);
}
.btn-ghost:hover{color: #FFFB00; background: rgba(255, 255, 0,0.12)}
.hero-meta{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
  border-top:1px solid var(--line);
  padding-top:16px;
}
.hero-meta li{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap:12px;
  color: var(--muted);
}
.hero-meta span{
  color: var(--text);
  font-weight:600;
}

.hero-visual{
  margin:0;
  padding:14px;
  border-radius: var(--r);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.caption{
  margin-top:10px;
  color: var(--muted);
  font-size: .92rem;
}

.section{
  padding:56px 0;
}
.section.alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.section-head p{
  color: var(--muted);
  max-width: 60ch;
  margin:0;
}

.grid{
  display:grid;
  gap:14px;
}
.cards{
  grid-template-columns: repeat(3, 1fr);
}
.card{
  border:1px solid var(--line);
  border-radius: var(--r);
  overflow:hidden;
  background: rgba(255,255,255,.03);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
}
.card img{width:100%}
.card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
}
.card-title{font-weight:650}
.card-tag{
  color: var(--muted);
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius: 999px;
  font-size:.9rem;
  white-space:nowrap;
}

.strip{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.strip img{
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
}

.hint{
  color: var(--muted);
  margin-top: 14px;
}

.project{
  border-top:1px solid var(--line);
  padding-top:22px;
  margin-top:22px;
}
.project-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.project-scope{
  margin:0;
  color: var(--muted);
}
.project-body{
  margin-top:10px;
}
.project-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.project-grid img{
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
}
.back-top{
  margin-top:26px;
}

.about-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:start;
}
.about-card{
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
  padding:16px;
}
.about-card ul{
  margin:0 0 18px;
  padding-left: 18px;
  color: var(--muted);
}
.about-card li{margin:6px 0}
.about-card h3{
  margin-top:0;
  margin-bottom:10px;
}
.tools{margin-bottom:0 !important}

.contact{
  text-align:center;
}
.contact p{color: var(--muted)}
.contact-big{
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  margin: 10px 0 0;
}
.contact-big a{
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  background: rgba(15,15,16,.65);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer-left{color: var(--muted)}
.footer-right{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.footer-right a{
  color: var(--muted);
  padding:6px 10px;
  border-radius:999px;
}
.footer-right a:hover{color: var(--text); background: var(--soft)}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr; }
  .cards{grid-template-columns: repeat(2, 1fr)}
  .about-grid{grid-template-columns: 1fr}
  .strip{grid-template-columns: repeat(2, 1fr)}
  .project-grid{grid-template-columns: repeat(2, 1fr)}
  .section-head{flex-direction:column; align-items:flex-start}
}
@media (max-width: 560px){
  .container{width:min(var(--max), calc(100% - 34px))}
  .cards{grid-template-columns: 1fr}
  .project-grid{grid-template-columns: 1fr}
  .hero-meta li{grid-template-columns: 80px 1fr}
  .nav{gap:8px}
}
