/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #1a1a1a;
  --bg-lighter: #2a2a2a;
  --text-primary: #e8e8e8;
  --text-secondary: #888;
  --text-dim: #555;
  --accent: #e8e8e8;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
}

/* ── Corner Fold ─────────────────────────────── */
.corner-fold {
  position: fixed;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    225deg,
    var(--bg-lighter) 0%,
    var(--bg-lighter) 50%,
    transparent 50%
  );
  z-index: 10;
  cursor: pointer;
  transition: width 0.3s ease, height 0.3s ease;
}

.corner-fold:hover {
  width: 100px;
  height: 100px;
}

/* ── Main Layout ─────────────────────────────── */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 8rem;
  min-height: 100vh;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.title-line {
  display: block;
}

.cursor-blink {
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Footer ──────────────────────────────────── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 4rem;
  gap: 4rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.coordinates {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.status {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

/* ── Client List ─────────────────────────────── */
.footer-right {
  text-align: left;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.client-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.client-list li {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.client-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.client-list a:hover {
  color: #fff;
}

.client-list .more {
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  main {
    padding: 3rem 2rem;
  }

  .hero-title {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .corner-fold {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 2rem 1.5rem;
  }

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