/* Theme */
:root {
  --brand: #4ea8de;
  --brand-600: #1e6fa8;
  --accent: #ffd166;
  --bg: #0b1c33;
  --text: #e6edf6;
  --muted: #cbd5e1;
  --surface: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(10, 31, 60, 0.72), rgba(10, 31, 60, 0.72)),
    url('backround.png') center / cover no-repeat fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 1.05rem;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--accent);
  color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 0.875rem;
}
.brand-name {
  font-size: 1.05rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px 8px;
  border-radius: 6px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
}
.nav a:hover,
.nav a:focus {
  color: var(--brand);
}

.header-actions {
  display: none;
}
.btn {
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}
.btn-secondary {
  background: transparent;
  color: var(--brand);
}
.btn:hover {
  filter: brightness(0.95);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}
.hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding-top: 4.5rem;
}
.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 0 0.25rem 0;
}
.hero-subtitle {
  margin: 0 0 1rem 0;
  color: var(--muted);
}
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
}
.contact-list a {
  color: var(--brand);
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
}
h3 {
  margin: 0 0 0.25rem 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 2rem;
}
.skills-grid ul {
  margin: 0;
  padding-left: 1.2rem;
}

.role {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1rem 0.5rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.08);
}
.role-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}
.role-meta {
  color: var(--muted);
}
.role-points {
  margin: 0.5rem 0 0.5rem 0;
}
.role-points li { margin-bottom: 0.35rem; }

.edu { margin-bottom: 1rem; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}
.contact-label { color: var(--muted); font-size: 0.9rem; }
.contact-value { font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 0;
  color: var(--muted);
}

/* Responsive Nav */
@media (max-width: 900px) {
  .header-actions { display: none; }
}

@media (max-width: 720px) {
  .nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-top: 1px solid var(--border); }
  .nav a { display: block; padding: 0.9rem 1rem; }
  .header-actions { display: none; }
}

@media (min-width: 721px) {
  .nav-toggle { display: none; }
  .header-actions { display: block; }
}

/* Print Styles */
@media print {
  :root { --text: #000; --brand: #000; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .nav-toggle, .header-actions, .skip-link { display: none !important; }
  .section { padding: 0; margin: 0 0 0.5in 0; }
  .role, .contact-card { border: none; padding: 0; }
  a { color: #000; text-decoration: none; }
}


