:root {
  --shell-bg: #12131a;
  --shell-panel: #1a1c24;
  --shell-panel-2: #20232d;
  --shell-border: rgba(255, 255, 255, 0.08);
  --shell-text: #f3f5fb;
  --shell-muted: #b5bac9;
  --shell-accent: #7dd3fc;
  --shell-accent-2: #38bdf8;
  --shell-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, #1d2230 0%, #101118 48%, #0b0c11 100%);
  color: var(--shell-text);
  font-family: "Poppins", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "Courier New", monospace;
}

.shell-outer {
  min-height: 100vh;
  padding: 32px 20px;
}

.shell-card {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background: rgba(14, 15, 22, 0.92);
  border: 1px solid var(--shell-border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shell-shadow);
}

.shell-sidebar {
  position: relative;
  background: linear-gradient(180deg, rgba(32, 35, 45, 0.98), rgba(20, 22, 30, 0.98));
  border-right: 1px solid var(--shell-border);
  z-index: 3;
}

.shell-sidebar-frame {
  height: 100%;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.shell-sidebar-header {
  display: none;
  justify-content: flex-end;
}

.shell-sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--shell-border);
  border-radius: 999px;
  background: transparent;
  color: var(--shell-text);
  cursor: pointer;
}

.shell-profile {
  text-align: center;
}

.shell-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(125, 211, 252, 0.35);
}

.shell-name {
  margin: 16px 0 8px;
  font-size: 1.15rem;
}

.shell-name a:hover,
.shell-list-links a:hover,
.shell-social a:hover,
.shell-home-link:hover {
  color: var(--shell-accent);
}

.shell-identity {
  margin: 0;
  color: var(--shell-text);
  font-weight: 600;
}

.shell-location {
  margin: 8px 0 0;
  color: var(--shell-muted);
  font-size: 0.92rem;
}

.shell-divider {
  height: 1px;
  background: var(--shell-border);
}

.shell-block-title,
.shell-section-title {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

.shell-list {
  margin: 0;
  padding-left: 18px;
  color: var(--shell-muted);
  display: grid;
  gap: 8px;
}

.shell-list-links {
  padding-left: 0;
  list-style: none;
}

.shell-list-links a {
  color: var(--shell-text);
}

.shell-social {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.shell-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--shell-border);
  background: rgba(255, 255, 255, 0.02);
}

.shell-mobile-curtain {
  display: none;
}

.shell-main {
  position: relative;
  padding: 34px 40px 28px;
}

.shell-home-link {
  position: absolute;
  top: 24px;
  right: 28px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.shell-project-hero {
  padding-right: 72px;
}

.shell-eyebrow {
  margin: 0 0 10px;
  color: var(--shell-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.shell-project-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.shell-project-summary {
  max-width: 860px;
  margin: 16px 0 0;
  color: var(--shell-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.shell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.shell-tags li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.18);
  color: var(--shell-text);
  font-size: 0.9rem;
}

.shell-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.shell-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--shell-border);
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.03);
}

.shell-link-button:hover {
  border-color: rgba(125, 211, 252, 0.45);
  color: var(--shell-accent);
}

.shell-link-button--primary {
  background: linear-gradient(135deg, var(--shell-accent-2), var(--shell-accent));
  color: #07111c;
  border-color: transparent;
  font-weight: 600;
}

.shell-link-button--primary:hover {
  color: #07111c;
  opacity: 0.94;
}

.shell-scope,
.shell-project-body,
.shell-footer {
  margin-top: 32px;
}

.shell-scope {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--shell-border);
  border-radius: 18px;
}

.shell-project-body {
  display: grid;
  gap: 24px;
}

.shell-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--shell-border);
  color: var(--shell-muted);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .shell-card {
    grid-template-columns: 1fr;
  }

  .shell-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 90vw);
    transform: translateX(-100%);
    transition: transform 180ms ease;
    border-right: 1px solid var(--shell-border);
  }

  .shell-sidebar.is-open {
    transform: translateX(0);
  }

  .shell-sidebar-header {
    display: flex;
  }

  .shell-mobile-curtain {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 2;
  }

  .shell-mobile-curtain.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .shell-main {
    padding: 72px 22px 24px;
  }

  .shell-home-link {
    left: 22px;
    right: auto;
  }

  .shell-project-hero {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .shell-outer {
    padding: 0;
  }

  .shell-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .shell-footer {
    flex-direction: column;
  }
}
