:root {
  --ink: #1a1a1a;
  --muted: #666;
  --line: #1a1a1a;
  --soft: #e6e6e6;
  --bg: #fff;
  --accent: #2b5fb8;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 16px 32px;
}

img { max-width: 100%; height: auto; display: block; }

/* Glassallo text logo — same look as the old banner */
.brand {
  text-align: center;
  border-bottom: 2px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 56px;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 4.5rem);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}
.brand-ipa {
  font-family: var(--mono);
  letter-spacing: 0.25em;
  font-size: 1.05rem;
  margin: 6px 0 18px;
}
.brand-tag {
  font-family: var(--mono);
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  margin: 0;
}
.brand-tag u { text-underline-offset: 4px; }

.label {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 20px;
}

/* Studio */
.studio { text-align: center; margin-bottom: 56px; }
.studio-logo { margin: 0 auto 28px; width: min(360px, 85%); }
.game h3 { font-size: 1.6rem; margin: 0 0 4px; }
.game p { margin: 0 0 20px; color: var(--muted); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: #f3f3f3; }
.btn-main { background: var(--ink); color: #fff; }
.btn-main:hover { background: #333; }

/* Contact */
.contact {
  text-align: center;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  padding: 28px 0;
  margin-bottom: 64px;
}
.mail {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(1.15rem, 5vw, 1.6rem);
  color: var(--ink);
  text-decoration: none;
  word-break: break-all;
}
.mail:hover { text-decoration: underline; }

/* Other projects (small) */
.other .projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}
.other figure { margin: 0; text-align: center; }
.other img { margin: 0 auto 8px; max-height: 110px; width: auto; opacity: 0.9; }
.other figcaption { font-size: 0.8rem; color: var(--muted); }
.other figcaption strong { color: var(--ink); font-weight: 600; }

footer {
  border-top: 1px solid var(--soft);
  margin-top: 56px;
  padding: 20px 16px 32px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
footer p { margin: 2px 0; }

@media (max-width: 560px) {
  main { padding-top: 40px; }
  .other .projects { grid-template-columns: 1fr; gap: 28px; }
  .other img { max-height: 90px; }
}
