@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-grey: #4b5563;
  --bg-base: #0d1525;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(59, 130, 246, 0.3);
  --border-radius: 12px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4, h5 {
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
}

/* Glassmorphism Card Utilities */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--border-glow);
}

/* Button Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn:active {
  transform: scale(0.98);
}

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

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

/* Landing page */
.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
  gap: 1.5rem;
}

.landing-logo {
  max-width: 250px;
  opacity: 0.95;
}

.landing-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 32rem;
  line-height: 1.5;
  margin: 0;
}

/* CV Layout */
.cv-container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 4%;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
}

@media (max-width: 1200px) {
  .cv-container {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    padding: 3rem 2.5rem;
  }
}

@media (max-width: 900px) {
  .cv-container {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
}

/* CV Sidebar */
.cv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cv-header-logo {
  max-width: 200px;
  margin-bottom: 1rem;
}

.cv-name {
  font-size: 2rem;
}

.cv-title {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.cv-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1rem;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.cv-blurb {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 1rem;
}

.cv-download {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

.sidebar-section h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
}

.contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--text-grey);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-main);
}

.skill-tag--primary {
  border-color: var(--primary);
  color: var(--primary);
}

.contact-list--sm {
  font-size: 0.9rem;
}

.reveal-email {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--primary);
  cursor: pointer;
}

.reveal-email:hover {
  color: var(--primary-hover);
}

/* CV Main Content */
.cv-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.experience-card {
  padding: 2rem;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .experience-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.job-title {
  font-size: 1.3rem;
  color: #ffffff;
}

.job-company {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  margin-top: 0.2rem;
}

.job-date {
  color: var(--text-grey);
  font-size: 0.9rem;
}

.job-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.job-bullets {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.job-bullets li {
  margin-bottom: 0.5rem;
}

.job-bullets li::marker {
  color: var(--primary);
}

/* Summary text */
.summary-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  padding: 2rem;
}

.summary-text p {
  margin-bottom: 1rem;
}

.summary-text p:last-child {
  margin-bottom: 0;
}

.job-subhead {
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.job-subhead + .job-bullets + .job-subhead {
  margin-top: 1.5rem;
}

.badge-list {
  margin-top: 1rem;
}

.cv-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-grey);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
}

.badge {
  display: inline-block;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
