/* === RESET === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === VARIABLES === */
:root {
  --black: #000000;
  --white: #FFFFFF;
  --gray: #C0C0C0;
  --gray-dark: #404040;
  --border: 3px solid var(--black);
  --shadow-sm: 2px 2px 0px var(--black);
  --font-mono: 'Courier New', 'Courier', monospace;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad-x: 2rem;
  --pad-y: 1.5rem;
}

/* === SINGLE SCREEN LAYOUT === */
html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-mono);
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.page {
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: var(--border);
}

/* === HERO === */
.hero {
  border-bottom: var(--border);
  padding: var(--pad-y) var(--pad-x);
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 7rem);
  line-height: 0.85;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.hero-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  color: var(--black);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.4rem 0.7rem;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
}

.link-card:hover {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.link-icon {
  font-size: 1rem;
}

.link-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: lowercase;
}

/* === BIO === */
.bio {
  padding: var(--pad-y) var(--pad-x);
  position: relative;
}

.bio h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 0.1rem 0.5rem;
}

.bio-block {
  max-width: 640px;
  padding-left: 1rem;
  border-left: 3px solid var(--gray);
}

.bio-block p {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.55;
}

.bio-block p:last-child {
  margin-bottom: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --pad-x: 1.2rem;
    --pad-y: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 15vw, 4rem);
  }

  .bio h2 {
    font-size: 1.1rem;
  }

  .bio-block p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .link-card {
    padding: 0.3rem 0.5rem;
  }

  .link-label {
    font-size: 0.7rem;
  }
}

@media (max-height: 600px) {
  :root {
    --pad-x: 1.2rem;
    --pad-y: 0.8rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    margin-bottom: 0.4rem;
  }

  .bio h2 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .bio-block p {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    line-height: 1.4;
  }
}
