/* ---- Base ---- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.album-cover {
  width: 140px;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}


body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f1115;
  color: #f5f5f5;
  line-height: 1.6;
}

/* Layout */

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* ---- Header ---- */

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #11141a;
}

.site-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-title-block h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tagline {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Nav ---- */

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.main-nav a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.nav-active {
  border-color: rgba(255, 255, 255, 0.7);
}

/* ---- Hero ---- */

.hero {
  padding: 2rem 0 1.5rem;
}

.hero-text h2 {
  margin-top: 0;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  max-width: 40rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #f5f5f5;
  color: #11141a;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: #ffffff;
}

.button-outline {
  background: transparent;
  color: #f5f5f5;
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ---- Sections ---- */

.section {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.section-alt {
  background: #141821;
  padding: 2rem 1.5rem;
  margin: 2rem -1.5rem 0;
}

.section-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

.section-intro {
  max-width: 34rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---- Cards ---- */

.card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #151921;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-cover {
  width: 140px;
  flex-shrink: 0;
}

.placeholder-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.card-body {
  min-width: 0;
  flex: 1;
}

.card-body h4 {
  margin: 0 0 0.3rem;
}

.card-meta {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

/* ---- Project Grid ---- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.project-card {
  padding: 0.9rem;
  border-radius: 0.7rem;
  background: #151921;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card h4 {
  margin: 0 0 0.25rem;
}

.project-subtitle {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.project-meta {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Links */

a.link {
  font-size: 0.85rem;
  text-decoration: none;
  color: #cdd8ff;
  border-bottom: 1px solid transparent;
}

a.link:hover {
  border-color: #cdd8ff;
}
/* ---- Block Variables Table ---- */

.variables-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.variables-table th,
.variables-table td {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

.variables-table th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

.variables-table th span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.1rem;
}

.variables-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}


/* ---- Two-column text ---- */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.two-col p {
  margin-top: 0;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  background: #11141a;
}

/* ---- Responsive tweaks ---- */

@media (min-width: 720px) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero-text h2 {
    font-size: 2.1rem;
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
/* ---- Block Variables Table ---- */

.variables-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.variables-table th,
.variables-table td {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

.variables-table th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

.variables-table th span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.1rem;
}

.variables-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

