:root {
  --bg: #ADBABD;
  --text: #01200f;
  --accent1: #383961;
  --accent2: #c44536;
  --font: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
}

html,
body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font);
}

.page {
  background: var(--bg) !important;
  min-height: 100vh;
}

a {
  color: var(--accent2);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.15s ease;
}

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

.pdf-frame {
  width: 100%;
  height: 90vh;
  border: none;
}

.nav-main {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-main .brand,
.brand-hidden {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.nav-main.nav-active {
  background: var(--bg);
  border-color: var(--bg);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.nav-main.nav-active .brand,
.brand-hidden.nav-active {
  opacity: 1;
  pointer-events: auto;
}

.nav-always .brand {
  opacity: 1;
  pointer-events: auto;
}

/* Map common classes to theme vars */
.text-\[\#01200f\],
.text-\[\#01200F\] {
  color: var(--text) !important;
}

.text-\[\#C44536\],
.text-accent {
  color: var(--accent2) !important;
}

.text-\[\#383961\] {
  color: var(--accent1) !important;
}

.bg-accent {
  background: var(--accent1) !important;
  color: #fff !important;
  border-color: var(--accent1) !important;
}

.border-accent {
  border-color: var(--accent1) !important;
}

.bg-accent2 {
  background: var(--accent2) !important;
  color: #fff !important;
}

.border-accent2 {
  border-color: var(--accent2) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--accent1);
  background: var(--accent1);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff !important;
}

.btn-outline {
  background: transparent;
  color: var(--accent1) !important;
  border-color: var(--accent1);
}

.btn-outline:hover {
  background: var(--accent1);
  color: #fff !important;
  border-color: var(--accent1);
}

.btn-ghost {
  background: var(--bg);
  color: var(--accent1) !important;
  border-color: var(--accent1);
}

.btn-ghost:hover {
  background: var(--accent2);
  color: #fff !important;
  border-color: var(--accent2);
}

/* Contact */
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
}

.contact-row svg {
  color: var(--text);
}

.contact-row.contact-linkable:hover {
  color: var(--accent2);
}

.contact-row.contact-linkable:hover svg {
  color: var(--accent2);
}

.contact-row.contact-linkable.hover-underline:hover span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Experience */
.company {
  font-weight: 700;
  color: var(--accent1);
}

.meta {
  color: #3d463f;
}
