/* ==========================================================================
   svozar.com — Modern Executive Static Stylesheet
   High-contrast dark-slate hero, layered card surfaces, crisp typography,
   and zero framework dependencies.
   ========================================================================== */

:root {
  --bg-page: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-hero-start: #0b1324;
  --bg-hero-end: #172542;

  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-light: #3b82f6;
  --accent-soft: #eff6ff;
  --accent-border: #bfdbfe;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 10px 28px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05);

  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 960px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-primary);
  background-color: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(29, 78, 216, 0.3);
  text-underline-offset: 2px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ==========================================================================
   Sticky Top Navigation Bar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.site-brand:hover {
  color: var(--accent);
  text-decoration: none;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: inline-block;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-list a:hover {
  color: var(--text-primary);
  background-color: var(--bg-page);
}

.nav-list a[aria-current="page"] {
  color: var(--accent);
  background-color: var(--accent-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-family: inherit;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-toggle svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Clean Light Editorial Hero — Sans-Serif (About Page)
   ========================================================================== */

.hero-band {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 3.25rem 1.5rem 3.25rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 188px;
  gap: 2.75rem;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-headshot {
  width: 188px;
  height: 188px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05);
}

.hero-eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-name {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-tagline {
  margin: 0;
  max-width: 54ch;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.hero-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.hero-link-pill:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-light);
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-link-pill svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Subpage Editorial Header Band */
.page-banner {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 1.5rem 2rem;
}

.page-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-banner .page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.page-banner-sub {
  margin: 0.5rem 0 0;
  max-width: 64ch;
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-banner .breadcrumb {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.page-banner .breadcrumb a {
  color: var(--accent);
}

/* ==========================================================================
   Main Content Container
   ========================================================================== */

.page-main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3.5rem;
}

.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-card);
}

.content-card > :first-child {
  margin-top: 0;
}

.content-card > :last-child {
  margin-bottom: 0;
}

.section-heading {
  margin: 2.25rem 0 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.section-heading:first-child {
  margin-top: 0;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

p {
  margin: 0 0 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.breadcrumb a {
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   About Page — Current Role Feature Card, Career Grid & Explore Hub
   ========================================================================== */

.feature-role-card {
  background: var(--bg-surface);
  border: 1px solid var(--accent-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
}

.role-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.role-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.feature-role-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-role-card p {
  margin: 0;
  color: var(--text-secondary);
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.career-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.career-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}

.career-org-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-page);
  border-radius: 999px;
}

.career-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.career-card p {
  margin: 0;
  font-size: 0.935rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Explore hub cards at bottom of About */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.explore-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.explore-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-card-hover);
  text-decoration: none;
}

.explore-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.explore-card-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ==========================================================================
   Cover Banner Cards (Research & Media)
   ========================================================================== */

.cover-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.cover-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 185px;
  padding: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.72) 100%);
  transition: background 0.2s ease;
}

.cover-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  color: #ffffff;
  text-decoration: none;
}

.cover-card:hover::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.34) 0%, rgba(15, 23, 42, 0.62) 100%);
}

.cover-card-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cover-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.cover-card-subtitle {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.92;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Media Page
   ========================================================================== */

.media-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.media-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.media-item-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.media-item-meta {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.4rem;
}

.embed-16x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0f172a;
  margin: 1.25rem 0;
}

.media-item .embed-16x9 {
  margin: 0;
}

.embed-16x9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-audio {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.embed-audio iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ==========================================================================
   Patents Page
   ========================================================================== */

.patent-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 0.85rem;
}

.patent-card {
  padding: 1.35rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.patent-card:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hover);
}

.patent-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.patent-badge {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.patent-badge--app {
  background: #f1f5f9;
  color: var(--text-secondary);
}

.patent-assignee {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.patent-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text-primary);
}

.patent-summary {
  margin: 0 0 0.65rem;
  font-size: 0.945rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.patent-meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.patent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.patent-link-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.patent-link-pill:hover {
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   Publications, Posters & Teaching
   ========================================================================== */

.year-section {
  margin-bottom: 1.85rem;
}

.year-section:last-child {
  margin-bottom: 0;
}

.year-heading {
  margin: 0 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-list li {
  line-height: 1.65;
  color: var(--text-secondary);
}

.poster-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.poster-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 0.9rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.poster-thumb {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.poster-thumb img {
  width: 112px;
  height: 112px;
  object-fit: cover;
}

.poster-info p {
  margin: 0;
  color: var(--text-secondary);
}

.teaching-entry {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
}

.teaching-entry:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.teaching-meta {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.teaching-title {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.teaching-role {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.teaching-figure {
  margin: 1rem 0 1.25rem;
}

.teaching-figure img {
  max-width: 450px;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.site-footer p {
  margin: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 760px) {
  .career-grid,
  .explore-grid,
  .cover-card-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .site-nav {
    flex-wrap: wrap;
    padding: 0.7rem 1.15rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
  }

  .nav-list.is-open {
    display: flex;
  }

  .hero-band {
    padding: 2.25rem 1.15rem 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
    justify-items: start;
    gap: 1.25rem;
  }

  .hero-headshot {
    order: -1;
    width: 120px;
    height: 120px;
    border-radius: 14px;
  }

  .hero-name {
    font-size: 2.1rem;
  }

  .hero-links {
    justify-content: flex-start;
  }

  .page-banner {
    padding: 1.75rem 1.15rem;
  }

  .page-banner .page-title {
    font-size: 1.65rem;
  }

  .page-main {
    padding: 1.5rem 1.15rem 2.5rem;
  }

  .poster-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
