:root {
  --bg: #05060b;
  --bg-alt: #0b0d16;
  --fg: #f5f7ff;

  --muted: #9ca3af;

  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --border-subtle: rgba(148, 163, 184, 0.3);
  --card-bg: rgba(15, 23, 42, 0.9);
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.65);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #020617 0, #020617 30%, #020617 100%);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;

}

.section.alt {
  background: linear-gradient(135deg, #020617, #030712);
}

.section-intro {
  max-width: 40rem;
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%);

  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--fg);
  text-decoration: none;
  font-size: 1rem;
}

.logo span {
  color: var(--accent);
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 1.5rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;

  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.nav a:hover {
  color: var(--fg);
}

.nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero.small {
  padding: 3.25rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}


.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  margin: 0.25rem 0 1.5rem;
  font-size: 1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}


.accent {

  color: var(--accent);
}

.hero-actions {

  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */


.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.1s ease-out, border-color 0.1s ease-out;
}

.btn.primary {
  background: var(--accent);
  color: #0b1120;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);

  box-shadow: 0 22px 48px rgba(56, 189, 248, 0.7);

}


.btn.outline {
  border-color: var(--border-subtle);
  background: rgba(15, 23, 42, 0.85);

  color: var(--fg);
}

.btn.outline:hover {
  border-color: var(--accent);
}

/* Hero photo */

.hero-photo {

  display: flex;
  justify-content: center;
}

.photo-frame {
  position: relative;
  width: 210px;

  height: 210px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 160deg, var(--accent), #6366f1, #ec4899, var(--accent));
  box-shadow: var(--shadow-soft);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;

  border: 3px solid #020617;
}

/* About */

.two-column {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
}


.highlight-box {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;

  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.highlight-box h3 {
  margin-top: 0;
}

.highlight-box ul {

  padding-left: 1.2rem;
  margin: 0.75rem 0 0;
}

/* Cards / Projects */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--card-bg);

  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;

  gap: 0.4rem;
}

.tag-list li {
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-links a {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.card-links a:hover {
  text-decoration: underline;

}


/* Skills */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.skills-grid h3 {
  margin-top: 0;
}

.skills-grid ul {
  padding-left: 1.2rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
  margin-top: 1rem;
}


.contact-links p {
  margin: 0 0 0.4rem;
}

.contact-links a {

  color: var(--accent);
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

.resume-cta {

  margin-top: 2rem;
}

/* Blog */

body.blog {
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #020617 100%);
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;

}


.post-item {

  padding: 1rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.post-item:last-child {
  border-bottom: none;
}

.post-title {

  font-size: 1.1rem;

  font-weight: 500;
  color: var(--fg);

  text-decoration: none;
}

.post-title:hover {
  color: var(--accent);
}

.post-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.post-excerpt {
  color: var(--muted);
  margin: 0.25rem 0 0;
}


.post {
  max-width: 720px;
}

.post h1 {
  margin-top: 0.2rem;
  margin-bottom: 0.75rem;
}

.post h2 {
  margin-top: 1.5rem;

}


/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 2rem;
}

.footer-inner {

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Typography tweaks */

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin-top: 0.4rem;
}

/* Responsive */

@media (max-width: 800px) {

  .hero-inner,
  .two-column,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-photo {
    order: -1;
    margin-bottom: 1.25rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .nav a {
    margin-left: 0;
    margin-right: 1.2rem;
    font-size: 0.9rem;

  }

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

