/* tufte-vapor.css — minimalist vaporwave-newspaper hybrid */

html {
  background: #fbfaf7;
  color: #111;
  font-size: 14px;
  line-height: 1.4;
}

h1, h2, h3 {
  font-family: "Press Start 2P", monospace;
  letter-spacing: 0.02em;
  color: #6b625a;
  text-transform: none;
  margin-top: 2.5rem;
}

h1 { font-size: 1.8rem; text-align: center; }
h2 { font-size: 1.2rem; margin-top: 2rem; }
h3 { font-size: 1rem; margin-top: 1.5rem; }

a {
  color: #7dd3fc;
  text-decoration: none;
  border-bottom: 1px solid #7dd3fc40;
  transition: all 0.2s ease;
}

a:hover {
  color: #f472b6;
  border-bottom-color: #f472b6;
}

body {
  max-width: 900px;    /* or 100%, for full width */
  width: 90%;           /* scales with screen */
  margin: 2rem auto;
  padding: 0 2rem 5rem;
}
hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 3rem 0 2rem;
  position: relative;
}

hr::after {
  content: "✦";
  display: block;
  text-align: center;
  color:  #666;
  font-family: "Press Start 2P", monospace;
  font-size: 0.8rem;
  margin-top: -0.8em;
}

footer {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
  color: #777;
  font-size: 0.9rem;
}

blockquote {
  border-left: 3px solid #a78bfa60;
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
}

code, pre {
  background: #f8f6ef;
  border: 1px solid #e0ddd6;
  border-radius: 4px;
  font-size: 0.85rem;
}

pre {
  padding: 1rem;
  overflow-x: auto;
}

img {
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 1rem 0;
}

nav {
  text-align: center;
  margin-bottom: 3rem;
}

nav a {
  margin: 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Press Start 2P", monospace;
}

:root { color-scheme: light; }

/* If the browser insists on dark mode, still render light */
@media (prefers-color-scheme: dark) {
  html, body {
    background: #fbfaf7 !important;
    color: #111 !important;
  }
  a { color: #0a6bc2; }
  a:hover { color: #b23aa6; }
}
nav {
  text-align: right;
  margin-bottom: 3rem;
  max-width: 1100px;   /* match your widened content if you changed it */
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
nav a {
  margin: 0 0 0 0.9rem; /* spacing to the left of each link */
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Press Start 2P", monospace;
}

/* On phones, center the nav again */
@media (max-width: 640px) {
  nav { text-align: center; }
  nav a { margin: 0 0.6rem; }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  border: 1px solid var(--accent-light);
  border-radius: 6px;
}
.profile-img {
  float: right;                 /* makes it sit to the right of text */
  width: 180px;                 /* adjust size here (e.g. 150–220px) */
  height: 240px;                 /* keep proportions */
  margin: 0 0 1rem 1.5rem;      /* spacing from text */
  border: 1px solid var(--accent-light);
  border-radius: 4px;           /* subtle rounding; 0 for perfectly square */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Make it stack on mobile */
@media (max-width: 720px) {
  .profile-img {
    float: none;
    display: block;
    margin: 1.5rem auto;
  }
}
:root {
  --accent: #666;      /* lighter gray you wanted */
  --accent-light: #999;
}


/* Optional: body face not-LaTeX */
html, body {
  font-family: ui-sans-serif, system-ui, -apple-system,Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
}

/* FORCE pixel font on headings + brand + nav (beats Tufte) */
body h1, body h2, body h3,
header .brand,
header nav a,
nav a {
  font-family: "Press Start 2P", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace !important;
  color: var(--accent) !important;
}

/* Your gray accents */
blockquote { border-left: 3px solid var(--accent-light) !important; }
hr::after  { color: var(--accent) !important; }

/* --- Contact Section --- */
#contact {
  margin-top: 4rem;
  text-align: center;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: var(--accent);
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.social-links a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Inline SVG icons as pseudo-elements */
.icon-github::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M12 .5a12 12 0 0 0-3.79 23.4c.6.11.82-.26.82-.58v-2.24c-3.34.73-4.04-1.61-4.04-1.61-.55-1.39-1.35-1.76-1.35-1.76-1.1-.75.08-.74.08-.74 1.22.09 1.86 1.27 1.86 1.27 1.08 1.86 2.84 1.33 3.53 1.02.11-.79.42-1.33.76-1.63-2.67-.3-5.48-1.33-5.48-5.9 0-1.3.47-2.36 1.24-3.19-.12-.3-.54-1.52.12-3.17 0 0 1-.32 3.3 1.22a11.37 11.37 0 0 1 6 0C17 5.04 18 5.36 18 5.36c.66 1.65.24 2.87.12 3.17.77.83 1.24 1.9 1.24 3.19 0 4.58-2.82 5.6-5.5 5.9.43.38.81 1.11.81 2.23v3.3c0 .32.22.7.82.58A12 12 0 0 0 12 .5z"/></svg>');
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.icon-twitter::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23666" viewBox="0 0 24 24"><path d="M22.46 6c-.77.35-1.6.58-2.46.69a4.28 4.28 0 0 0 1.88-2.37 8.63 8.63 0 0 1-2.73 1.05A4.26 4.26 0 0 0 16.1 4a4.27 4.27 0 0 0-4.27 4.27c0 .33.04.65.1.95A12.13 12.13 0 0 1 3.15 5.15a4.27 4.27 0 0 0 1.32 5.7 4.27 4.27 0 0 1-1.94-.54v.05a4.27 4.27 0 0 0 3.42 4.18 4.27 4.27 0 0 1-1.12.15c-.27 0-.55-.03-.8-.08a4.27 4.27 0 0 0 3.99 2.97 8.56 8.56 0 0 1-5.3 1.83c-.34 0-.67-.02-1-.06a12.08 12.08 0 0 0 6.54 1.92c7.84 0 12.13-6.5 12.13-12.13v-.55A8.63 8.63 0 0 0 22.46 6z"/></svg>');
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.icon-linkedin::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23666" viewBox="0 0 24 24"><path d="M19 0h-14c-2.76 0-5 2.24-5 5v14c0 2.76 2.24 5 5 5h14c2.76 0 5-2.24 5-5v-14c0-2.76-2.24-5-5-5zM8.34 19h-2.67v-9h2.67v9zM7.01 8.19a1.55 1.55 0 1 1 0-3.1 1.55 1.55 0 0 1 0 3.1zm12 10.81h-2.67v-4.73c0-1.13-.02-2.58-1.57-2.58s-1.81 1.22-1.81 2.49v4.82h-2.67v-9h2.56v1.23h.04c.36-.68 1.24-1.4 2.55-1.4 2.73 0 3.23 1.8 3.23 4.14v5.03z"/></svg>');
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
/* Wrap image + icons together */
.profile-block {
  float: right;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;                /* controls both image + icons width */
  margin: 0 0 1rem 1.5rem;     /* spacing from text */
}

/* Keep image square and neat */
.profile-img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--accent-light);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Social links under image */
.profile-block .social-links {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.profile-block .social-links a {
  color: var(--accent);
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.profile-block .social-links a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Reuse your SVG icons */
.icon-github::before,
.icon-twitter::before,
.icon-linkedin::before {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* Stack nicely on narrow screens */
@media (max-width: 720px) {
  .profile-block {
    float: none;
    margin: 1.5rem auto;
    width: 180px;
  }
}

