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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  background: #0d0d0d;
  color: #f0f0f0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* ===== Layout ===== */
.page {
  width: 100%;
  max-width: 640px;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: fadeInDown 0.6s ease-out both;
}

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero p {
  color: #999;
  font-size: 1.05rem;
  max-width: 480px;
  line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
  width: 100%;
  text-align: center;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.contact h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #f0f0f0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.contact-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  border-color: #333;
  background: #1e1e1e;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 0.4rem;
}

.contact-value {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  overflow-wrap: break-word;
  word-break: break-word;
}

a.contact-value {
  color: #f0f0f0;
  transition: color 0.2s ease;
}

a.contact-value:hover {
  color: #c41e3a;
}

.contact-note {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
}

/* ===== Footer ===== */
.footer {
  color: #666;
  font-size: 0.8rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #1a1a1a;
  width: 100%;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* ===== Focus styles ===== */
a:focus-visible {
  outline: 2px solid #c41e3a;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .page {
    max-width: 720px;
    padding: 3rem 2rem;
  }

  .hero-logo {
    width: 200px;
    height: 200px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
