:root{
  --bg: #0b0c10;
  --panel: #11131a;
  --text: #e8eaf0;
  --muted: #b8bdcc;
  --line: rgba(232,234,240,0.12);
  --accent: #8b5cf6; /* purple accent */
  --max: 980px;
  --radius: 16px;
}

*{ 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;
  color: var(--text);

  background:
    /* softer overlay so the image shows through more */
    linear-gradient(
      rgba(8, 8, 12, 0.62),
      rgba(8, 8, 12, 0.62)
    ),
    url("images/raven-bg.png");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;

  line-height: 1.5;
}

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

  /* boosts background presence */
  backdrop-filter: saturate(1.25) contrast(1.08) brightness(1.05);
}


a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-decoration-color: rgba(139,92,246,0.7); }

.brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;                 /* was too tall before */
}

.logo{
  width: 56px;              /* correct professional size */
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(140, 92, 246, 0.35));
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 40px;
}

.header{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}


.name{
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 20px;
}
.tag{
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.nav{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a{
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
}
.nav a:hover{
  color: var(--text);
  border-color: rgba(139,92,246,0.35);
  background: rgba(139,92,246,0.08);
  text-decoration: none;
}

.hero{
  padding: 36px 0 28px;
  max-width: 78ch;
}

.hero h1{
  text-shadow: 0 8px 22px rgba(0,0,0,0.55);
}

.sub{
  text-shadow: 0 8px 22px rgba(0,0,0,0.45);
}


.card{
  background: rgba(17, 19, 26, 0.58);   /* lighter */
  border: 1px solid rgba(232,234,240,0.10);
  border-radius: 18px;
  padding: 18px;
  margin: 14px 0;

  backdrop-filter: blur(10px) saturate(1.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28); /* softer than a heavy block */
}


.card h2{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.card p{
  margin: 0 0 10px;
  color: var(--muted);
  max-width: 80ch;
}
.card ul{
  margin: 10px 0 0 18px;
  padding: 0;
}
.card li{
  margin: 6px 0;
  color: var(--text);
}

.contact .email a{
  display:inline-block;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(139,92,246,0.35);
  background: rgba(139,92,246,0.10);
  text-decoration: none;
}
.contact .email a:hover{
  background: rgba(139,92,246,0.16);
  border-color: rgba(139,92,246,0.55);
}
.note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(232,234,240,0.65);
}

.footer{
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(232,234,240,0.72);
  font-size: 12px;
}
.legal{
  max-width: 70ch;
}

@media (max-width: 640px){
  .header{ align-items:flex-start; flex-direction: column; }
}

@media (max-width: 600px){
  .logo{
    width: 44px;
  }
}

@media (max-width: 800px){
  body { background-attachment: scroll; }
}


