/* Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  background-color: #0f1115;
  color: #e5e7eb;
  line-height: 1.6;
}

/* Headers */
header {
  padding: 4rem 2rem 3rem;
  border-bottom: 0.1rem solid #17293f;
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid #1f2933;
}

.header-text {
  max-width: 100%;
}

.header-photo img {
  margin-left: 8rem;
  margin-top: 0rem;
  margin-bottom: 0rem;
  margin-right: 8rem;
  width: 20rem;
  height: 20rem;
  object-fit: cover;
  border: none;
  border-radius: 50%;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03rem;
  color: #ffffff;
}

header p {
  margin-top: 0.75rem;
  max-width: 700px;
  color: #9ca3af;
  font-size: 1rem;
}

/* Navigation */
nav {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #d1d5db;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #60a5fa;
  transition: width 0.2s ease;
}

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

nav a:focus,
nav a:focus-visible,
nav a:active {
  outline: none;
  background-color: transparent;
}


/* Main Layout */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Sections */
section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #60a5fa;
  margin-bottom: 1.25rem;
}

section ul {
  padding-left: 1.2rem;
}

section li {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

section p {
  color: #d1d5db;
  max-width: 640px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border: 1px solid #60a5fa;
  border-radius: 15px;
}

/* Contact */
section:last-child p {
  margin-bottom: 0.25rem;
}

/* Visualizations */
svg {
  color: #60a5fa;
  width: 100%;
  height: 300px;
  border: 1px solid #60a5fa;
  border-radius: 15px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  color: darkgray;
  font-size: 0.7rem;
}

/* Alt Header Mode */
header.alt {
  background-color: #151820;
  border-bottom-color: #2d3748;
  padding: 2rem;
  text-align: center;
}

header.alt h1 {
  font-size: 2rem;
  font-style: italic;
  color: #60a5fa;
  letter-spacing: 0.1rem;
}

header.alt p {
  font-size: 0.85rem;
  color: #a0aec0;
  font-weight: 300;
}

header.alt nav {
  margin-top: 1.5rem;
  justify-content: center;
  gap: 2rem;
}

header.alt nav a {
  color: #60a5fa;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

header.alt nav a::after {
  background-color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
  header.alt {
    background-color: #151820;
  }

  svg {
    margin: 1.5rem, auto;
  }


  .container {
    padding: 3rem 1.5rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-photo {
    margin-top: 2rem;
  }
}

.viz-section {
  width: 100%;
  max-width: 85%;
  margin: 0 auto;
}

.viz-section p {
  max-width: 100%;
}

.viz-container {
  width: 95%;
  max-width: 1000px;   /* container max width */
  margin: 2rem auto;
  padding: 1rem;
  background: #0b0f1a;
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(0,229,255,0.25);
  overflow: hidden;
}

/* make SVGs responsive inside the container */
.viz-container svg {
  width: 100% !important;
  height: auto !important;
}








