/* Shared light blueprint theme — white background, grey & blue line work */
:root {
  --bg-page: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --line-grey: #cbd5e1;
  --line-grey-strong: #94a3b8;
  --line-blue: #60a5fa;
  --line-blue-strong: #2563eb;
  --landing-text: #0f172a;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --border: #e2e8f0;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.07);
}

html {
  scroll-behavior: smooth;
}

body.theme-light {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
}

body.theme-light a {
  text-decoration: none;
}

/* Inner pages: comfortable page padding */
body.theme-light .site-wrap--padded {
  padding: 26px 20px 46px;
  box-sizing: border-box;
}

.site-wrap {
  position: relative;
  z-index: 1;
}

/* Landing-style top navigation (shared across all pages) */
.landing-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.landing-brand-link {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.linkedin-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.linkedin-mark:hover {
  opacity: 0.85;
}

.linkedin-mark svg {
  width: 18px;
  height: 18px;
  display: block;
}

.landing-name-lockup {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--landing-text);
}

.landing-nav-links {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 3vw, 28px);
}

.landing-nav-links a {
  position: relative;
  padding-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #334155;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.landing-nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-grey);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.landing-nav-links a:hover,
.landing-nav-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

.landing-nav-links a:hover::before,
.landing-nav-links a:focus-visible::before {
  background: var(--line-blue-strong);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.landing-nav-links a.active {
  color: var(--accent);
}

.landing-nav-links a.active::before {
  background: var(--line-blue-strong);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

@media (max-width: 640px) {
  .landing-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-nav-links {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-end;
  }
}
