/* about.css — refreshed, responsive, calm aesthetic */
:root {
  --bg: #071021;
  --panel: #0b1525;
  --muted: #94a3b8;
  --text: #e6eef8;
  --accent-a: #8aa2ff;
  --accent-b: #6ad1c8;
  --border: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.02);
  --radius: 12px;
  font-family: "Libertinus Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: linear-gradient(180deg, #04061a 0%, var(--bg) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page layout */
.site-header {
  width: 100%;
  max-width: 1100px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 12px;
}

.brand i {
  font-size: 28px;
  color: var(--accent-a);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* Header nav */
.header-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
}

.nav-link.primary {
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  color: #041125;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Main content */
.content-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 18px auto;
  padding: 0 12px 60px;
}

/* About card - two-column layout that collapses on small screens */
.about-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.00));
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(2, 6, 23, 0.45);
  min-width: 0;
}

/* Profile image */
.profile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile img {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(2, 6, 23, 0.45);
}

/* Text area */
.about-body h1 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.about-body h2 {
  font-size: 1.05rem;
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--text);
}

.about-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Call-to-action buttons */
.actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  color: #041125;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Note block */
.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  padding: 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Footer */
.site-footer {
  max-width: 1100px;
  margin: 18px auto 40px;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 18px;
}

.social-link:hover {
  color: var(--accent-a);
  border-color: rgba(255, 255, 255, 0.03);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .about-card {
    grid-template-columns: 1fr;
  }

  .profile img {
    max-width: 260px;
  }

  .brand-name {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 6px 12px;
  }

  .brand i {
    font-size: 24px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .profile img {
    max-width: 220px;
    border-radius: 12px;
  }

  .about-body h1 {
    font-size: 1.15rem;
  }

  .about-body p {
    font-size: 14px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Accessibility */
a:focus {
  outline: 3px solid rgba(138, 162, 255, 0.12);
  outline-offset: 3px;
  border-radius: 8px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 14px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.00));
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(2, 6, 23, 0.35);
}

.contact-group {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text, #eef2ff);
  text-decoration: none;
  font-weight: 600;
  min-width: 0;
  cursor: pointer;
}

.contact-btn:hover {
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.25);
}

.icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-start, #8aa2ff), var(--accent-end, #6ad1c8));
  color: #041124;
  flex-shrink: 0;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.35);
}

.contact-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-meta .title {
  font-size: 13px;
  color: var(--muted, #94a3b8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-meta .value {
  font-size: 14px;
  color: var(--text, #e6eef8);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.right-note {
  text-align: right;
  color: var(--muted, #94a3b8);
  font-size: 13px;
  min-width: 0;
}

/* small screens: stack */
@media (max-width:600px) {
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .right-note {
    text-align: left;
  }

  .contact-group {
    justify-content: flex-start;
  }

  .contact-btn {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-meta .title {
    display: none;
  }

  /* reduce clutter on tiny screens */
}