:root {
  --text: #111;
  --muted: #666;
  --bg: #ffffff;
  --border: #eaeaea;
}

[data-theme="dark"] {
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --bg: #0f0f0f;
  --border: #222;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}

/* NAV */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  z-index: 100;
}

.nav-inner {
  max-width: 760px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links a {
  margin-right: 24px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a.active {
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

.lang-toggle {
  cursor: pointer;
  font-size: 15px;
  margin-left: 10px;
  opacity: 0.7;
}

.lang-toggle:hover {
  opacity: 1;
}

/* LAYOUT */

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

h1 {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 24px;
}

h2 {
  font-size: 1.4rem;
  margin: 0;
}

.role-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

p {
  margin-bottom: 18px;
}

ul {
  margin-top: 12px;
  padding-left: 18px;
}

li {
  margin-bottom: 8px;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}

.subline {
  font-size: 1rem;
  margin-top: 1rem;
  opacity: 0.75;
  font-weight: 500;
}

.location {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-link {
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.contact-link:hover {
  border-bottom: 1px solid var(--text);
}

.footer-space {
  height: 60px;
}

/* COMPANY BLOCK */

.company {
  margin-top: 70px;
}

.company-header {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

.company-logo {
  width: 42px;
  height: auto;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: all 0.2s ease;
}

.company-header:hover .company-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.company-meta {
  margin-left: 60px;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.company.open .company-meta {
  max-height: 200px;
}

.company ul {
  margin-left: 60px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .container {
    padding: 100px 20px 60px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .company-logo {
    width: 36px;
  }

  .company-meta,
  .company ul {
    margin-left: 48px;
  }
}


/* Logo theme switching */

.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}