/*
Theme Name: Ashis Site
Theme URI: https://ashis.site
Author: Ashis Kumar Baral
Author URI: https://ashis.site
Description: A minimal, dark, terminal-inspired one-page personal theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ashis-site
Tags: one-column, custom-colors, custom-logo, editor-style, featured-images, full-width-template, theme-options
*/

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

:root {
  --bg: hsl(220, 20%, 7%);
  --fg: hsl(220, 10%, 90%);
  --primary: hsl(160, 84%, 39%);
  --card-bg: hsl(220, 20%, 10%);
  --card-fg: hsl(220, 10%, 90%);
  --border: hsl(220, 14%, 16%);
  --muted: hsl(220, 10%, 55%);
  --radius: 0.5rem;
  --font-heading: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

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

a:hover {
  text-decoration: underline;
}

/* ── Layout ───────────────────────────────────── */
.site-wrapper {
  max-width: 36rem;
  width: 100%;
  padding: 5rem 0;
}

/* ── Header row (avatar + tag) ────────────────── */
.site-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.site-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid hsla(160, 84%, 39%, 0.5);
  flex-shrink: 0;
}

/* ── Tag line ─────────────────────────────────── */
.site-tag {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ── Heading ──────────────────────────────────── */
.site-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ── Bio ──────────────────────────────────────── */
.site-bio {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .site-bio {
    font-size: 1.125rem;
  }
}

/* ── Interest Cards ───────────────────────────── */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.interest-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 0.75rem;
  transition: border-color 0.2s ease;
}

.interest-card:hover {
  border-color: hsla(160, 84%, 39%, 0.5);
}

.interest-card svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.interest-card span {
  font-size: 0.875rem;
  color: var(--card-fg);
}

/* ── Social Links ─────────────────────────────── */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  color: var(--primary);
  border-color: hsla(160, 84%, 39%, 0.5);
  text-decoration: none;
}

.social-link svg {
  width: 1rem;
  height: 1rem;
}

/* ── Footer tag ───────────────────────────────── */
.site-footer-tag {
  margin-top: 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--muted);
}

.site-footer-tag .cursor {
  color: var(--primary);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 480px) {
  .interests-grid {
    grid-template-columns: 1fr;
  }
}
