html, body {
  height: 100%;
  margin: 0;
  font-family: 'Rubik', sans-serif;
  color: #fff;
  line-height: 1.6;
}

/* Full-page fixed background lives on the body (no extra div) */
body {
  background: #000 url('assets/72hrsbg.png') center center / cover no-repeat fixed;
}


/* Panel: 20% top margin, and extends to bottom of viewport */
.main-panel {
  margin: 20vh auto 0;
  width: 90%;
  max-width: 600px;
  min-height: calc(100vh - 20vh);
  background-color: rgba(0,0,0,0.2);
  border: 1px solid #fff;
  border-radius: 18px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Back link */
.back-link {
  color: #fff;
  text-decoration: none;
  align-self: flex-start;
  margin-bottom: 20px;
}
.back-link:hover { text-decoration: underline; }

/* Logo at native size (only scale down if too wide) */
.studio-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

/* Text */
.studio-text {
  text-align: center;
  margin-bottom: 22px;
  font-size: 14px;
}
.studio-text p { margin: 8px 0; }

/* Projects */
.projects {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.projects-title {
  align-self: flex-start;
  margin: 0 0 16px;
  font-size: 14px;
  color: #d6d6d6;
}

.projects-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  justify-items: center;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: transform .25s ease;
}
.project-card img {
  width: 130px;
  height: auto;
  transition: transform .25s ease, filter .25s ease;
}
.project-meta {
  margin-top: 8px;
  text-align: center;
  line-height: 1.35;
}
.project-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.project-type {
  display: block;
  font-size: 12px;
  color: #cfcfcf;
}
.project-card:hover {
  transform: translateY(-2px);
}

.project-card:hover img {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 8px 18px rgba(255,255,255,.18));
}

.project-card:focus-visible {
  outline: 1px solid rgba(255,255,255,.45);
  outline-offset: 6px;
  border-radius: 12px;
}

