.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--accent);
  box-shadow: 0 0 18px rgba(96, 242, 169, .18);
}

.about-identity { min-width: 0; }
.profile-frame {
  margin: 50px 0 0;
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px;
  max-width: 390px;
}
.profile-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  clip-path: polygon(0 0, 42px 0, 0 42px);
  background: var(--accent);
  pointer-events: none;
}
.profile-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.65;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(.82) contrast(1.03);
}
.profile-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 4px 2px;
  color: var(--muted);
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.profile-frame figcaption span { color: var(--accent); }

.creator-card {
  display: block;
  margin: 34px 0 42px;
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid #285446;
  background: linear-gradient(135deg, rgba(96,242,169,.08), rgba(12,27,23,.65));
  transition: border-color .2s, transform .2s;
}
.creator-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.creator-handle { display: block; color: var(--accent); font: 11px var(--mono); margin-bottom: 7px; }
.creator-card strong { display: block; font-size: 1.35rem; letter-spacing: -.03em; }
.creator-card p { color: var(--muted); font-size: .84rem; margin: 8px 0 18px; }
.creator-card b { color: var(--accent); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.cert-logo {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 25px rgba(255,255,255,.08);
}

.lab-visual {
  height: 230px;
  margin: 25px 0 28px;
  background: #06100d;
  border: 1px solid #1d3b31;
  position: relative;
  overflow: hidden;
  font-family: var(--mono);
}
.lab-visual::before {
  content: "LAB ARCHITECTURE";
  position: absolute;
  top: 14px;
  left: 16px;
  color: #4f7568;
  font-size: 8px;
  letter-spacing: .12em;
}
.siem-core,.server-node,.scanner-node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  text-align: center;
  background: #0d251e;
  border: 1px solid var(--accent);
  box-shadow: 0 0 26px rgba(96,242,169,.12);
}
.siem-core { width: 86px; height: 86px; border-radius: 50%; left: calc(50% - 43px); top: 74px; }
.siem-core span,.scanner-node span { color: var(--accent); font-size: 1.35rem; }
.siem-core small,.server-node small,.scanner-node small { color: #81a99a; font-size: 7px; display: block; }
.endpoint,.client-node,.target-node {
  position: absolute;
  z-index: 2;
  border: 1px solid #2b5346;
  background: #091a15;
  color: #8cb5a6;
  font-size: 7px;
  text-align: center;
}
.endpoint { width: 58px; padding: 7px 3px; }
.ep1 { left: 30px; top: 70px; }.ep2 { left: 52px; bottom: 36px; }.ep3 { right: 52px; bottom: 36px; }.ep4 { right: 30px; top: 70px; }
.wazuh-visual i { position: absolute; height: 1px; background: #285245; transform-origin: left; left: 50%; top: 116px; width: 125px; }
.wazuh-visual i:nth-of-type(1) { transform: rotate(198deg); }.wazuh-visual i:nth-of-type(2) { transform: rotate(151deg); }.wazuh-visual i:nth-of-type(3) { transform: rotate(29deg); }.wazuh-visual i:nth-of-type(4) { transform: rotate(-18deg); }

.server-node { width: 100px; height: 78px; left: calc(50% - 50px); top: 52px; }
.server-node span { color: var(--accent); font-size: 1rem; }
.client-node { width: 74px; padding: 10px 4px; bottom: 28px; }
.client-node::before { content: "▰"; display: block; color: var(--accent); font-size: 18px; line-height: 1; margin-bottom: 5px; }
.client-node.c1 { left: 64px; }.client-node.c2 { right: 64px; }
.ad-visual i { position: absolute; width: 1px; height: 92px; background: #315f50; top: 112px; left: 50%; transform-origin: top; }
.ad-visual i:nth-of-type(1) { transform: rotate(54deg); }.ad-visual i:nth-of-type(2) { transform: rotate(-54deg); }
.ad-visual > b { position: absolute; right: 13px; top: 13px; font-size: 7px; color: var(--accent); font-weight: 400; }

.vulnerability-card { grid-column: 1 / -1; }
.nessus-visual { height: 250px; }
.scanner-node { width: 92px; height: 92px; left: 65px; top: 78px; border-radius: 50%; }
.target-node { width: 110px; padding: 16px 5px; right: 64px; line-height: 1.5; }
.target-node::before { content: "▰"; display: block; color: var(--accent); font-size: 20px; }
.target-node.t1 { top: 55px; }.target-node.t2 { bottom: 42px; }
.nessus-visual i { position: absolute; height: 1px; background: linear-gradient(90deg,var(--accent),#315f50); width: calc(100% - 280px); left: 155px; top: 124px; transform-origin: left; }
.nessus-visual i:nth-of-type(1) { transform: rotate(-12deg); }.nessus-visual i:nth-of-type(2) { transform: rotate(12deg); }
.severity-strip { position: absolute; bottom: 20px; left: 20px; display: flex; gap: 3px; }
.severity-strip b { width: 24px; height: 4px; background: #3fd17f; }.severity-strip b:nth-child(2){background:#e6cb52}.severity-strip b:nth-child(3){background:#ed8b43}.severity-strip b:nth-child(4){background:#ef5261}

.project-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; }
.project-stats span { flex: 1; min-width: 100px; border-left: 1px solid var(--line); padding-left: 10px; color: var(--muted); font: 8px var(--mono); text-transform: uppercase; }
.project-stats b { display: block; color: var(--accent); font-size: 1rem; font-weight: 500; }
.writeup-link { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; padding: 14px 0 2px; border-top: 1px solid var(--line); color: var(--accent); text-decoration: none; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.writeup-link:hover { color: var(--accent-2); }

.pihole-card { grid-column: 1 / -1; }
.pihole-visual { height: 250px; }
.dns-clients { position: absolute; left: 28px; top: 54px; display: grid; gap: 13px; }
.dns-clients span,
.dns-outcome span { border: 1px solid #2b5346; background: #091a15; color: #8cb5a6; padding: 8px 12px; font: 7px var(--mono); }
.pihole-core { position: absolute; z-index: 2; left: calc(50% - 48px); top: 68px; width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--accent); background: #0d251e; display: grid; place-items: center; align-content: center; text-align: center; box-shadow: 0 0 28px rgba(96,242,169,.14); }
.pihole-core b { color: var(--accent); font: 1.7rem var(--mono); line-height: 1; }
.pihole-core small { color: #81a99a; font: 7px var(--mono); margin-top: 5px; }
.dns-outcome { position: absolute; right: 28px; top: 73px; display: grid; gap: 18px; }
.dns-outcome .allowed { color: var(--accent); border-color: #34705b; }
.dns-outcome .blocked { color: #ff7186; border-color: #6e3440; }
.pihole-visual i { position: absolute; top: 116px; height: 1px; background: linear-gradient(90deg,#285245,var(--accent)); }
.pihole-visual i:nth-of-type(1) { left: 120px; width: calc(50% - 168px); }
.pihole-visual i:nth-of-type(2) { left: calc(50% + 48px); right: 125px; background: linear-gradient(90deg,var(--accent),#285245); }
.project-note { margin-top: 25px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 800px) {
  .site-header,
  .section-shell { width: calc(100vw - 32px); max-width: calc(100vw - 32px); }
  .brand-logo { width: 36px; height: 36px; }
  .profile-frame { margin-top: 32px; max-width: 100%; }
  .cert-logo { width: 76px; height: 76px; }
  .vulnerability-card { grid-column: auto; }
  .pihole-card { grid-column: auto; }
  .lab-visual { height: 220px; }
  .scanner-node { left: 28px; }
  .target-node { right: 22px; }
  .nessus-visual i { left: 118px; width: calc(100% - 220px); }
  .dns-clients { left: 12px; }.dns-outcome { right: 12px; }.dns-clients span,.dns-outcome span { padding: 7px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 10.7vw; }
  .hero-lede { max-width: calc(100vw - 40px); }
  .profile-frame figcaption { display: block; }
  .profile-frame figcaption span { display: block; margin-bottom: 3px; }
  .creator-card strong { font-size: 1.15rem; }
  .client-node.c1 { left: 25px; }.client-node.c2 { right: 25px; }
  .endpoint { width: 52px; }.ep1 { left: 12px; }.ep2 { left: 25px; }.ep3 { right: 25px; }.ep4 { right: 12px; }
}
