:root {
  --bg: oklch(96% 0.014 85);
  --bg-dot: oklch(92% 0.012 85);
  --ink: oklch(18% 0.03 250);
  --navy: oklch(38% 0.15 260);
  --navy-dark: oklch(15% 0.03 250);
  --amber: oklch(72% 0.19 45);
  --amber-deep: oklch(62% 0.20 35);
  --line-amber: oklch(74% 0.14 80 / 0.3);
  --line-amber-strong: oklch(74% 0.14 80 / 0.4);
  --card-bg: oklch(99% 0.004 85);
  --card-border: oklch(89% 0.01 85);
  --num-ghost: oklch(92% 0.012 85);
  --heading-ink: oklch(16% 0.04 250);
  --body-ink: oklch(35% 0.02 250);
  --muted: oklch(40% 0.02 250);
  --link: oklch(30% 0.09 250);
  --link-hover: oklch(45% 0.11 250);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(var(--bg-dot) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: 'Assistant', sans-serif;
  min-height: 100vh;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 40px;
  background: oklch(15% 0.03 250 / 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-amber);
}

.navbar-name {
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 700;
  font-size: 20px;
  color: white;
  letter-spacing: 0.3px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.navbar-links a {
  color: oklch(82% 0.01 250);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--amber); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 9px 18px;
  border-radius: 20px;
  font-family: 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--amber); color: oklch(38% 0.15 260); }

.btn-round {
  background: transparent;
  color: white;
  border: 1px solid oklch(45% 0.02 250);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.btn-round:hover { border-color: var(--amber); color: var(--amber); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 40px 150px;
  color: white;
  background:
    linear-gradient(180deg, oklch(38% 0.15 260 / 0.90), oklch(38% 0.15 260 / 0.95)),
    url('../assets/hero-bg.jpg') center / cover no-repeat;
}

.hero-bignum {
  position: absolute;
  top: -80px;
  inset-inline-end: -40px;
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 900;
  font-size: 420px;
  line-height: 1;
  color: oklch(30% 0.05 250 / 0.5);
  user-select: none;
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 46%;
  inset-inline-start: 0;
  width: 130%;
  height: 1px;
  background: var(--line-amber);
  transform: rotate(-3deg);
  transform-origin: inset-inline-start;
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-role {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  animation: fadeUp 0.7s ease both;
}

.hero-name {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 96px;
  line-height: 1.02;
  font-weight: 900;
  margin: 18px 0 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.1s;
}

.hero-rule {
  width: 72px;
  height: 3px;
  background: var(--amber);
  margin: 30px 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.2s;
}

.hero-summary {
  font-size: 18px;
  line-height: 1.8;
  color: oklch(85% 0.012 250);
  max-width: 640px;
  margin: 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.3s;
}

.hero-seo {
  font-size: 15px;
  line-height: 1.75;
  color: oklch(70% 0.015 250);
  max-width: 640px;
  margin: 16px 0 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.35s;
}

.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: 15px;
  color: oklch(88% 0.012 250);
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.4s;
}
.hero-meta a { color: oklch(88% 0.012 250); border-bottom: 1px solid oklch(50% 0.02 250); }
.hero-meta .dot { color: oklch(50% 0.02 250); }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid oklch(60% 0.02 260 / 0.35);
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.45s;
}

.stat-value {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--amber);
}

.stat-label {
  font-size: 13px;
  color: oklch(80% 0.012 250);
  margin-top: 4px;
}

/* Section shared */
.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 110px 40px 20px;
  position: relative;
}

.section-bignum {
  position: absolute;
  top: 76px;
  inset-inline-start: 20px;
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 900;
  font-size: 200px;
  line-height: 1;
  color: var(--num-ghost);
  user-select: none;
  z-index: 0;
}

.section-head { position: relative; z-index: 1; }

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.section-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 42px;
  font-weight: 700;
  margin: 10px 0 56px;
  color: var(--heading-ink);
}

/* Experience */
.job {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 36px;
  padding: 32px 0;
  border-block-end: 1px solid oklch(88% 0.01 85);
}

.job-period {
  flex: 0 0 auto;
  width: 168px;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--amber-deep);
  line-height: 1.25;
}

.job-body {
  flex: 1;
  border-inline-start: 1px solid var(--line-amber-strong);
  padding-inline-start: 32px;
}

.job-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-ink);
  margin-bottom: 16px;
}

.job-bullet {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body-ink);
  margin-bottom: 9px;
}
.job-bullet .bullet-dot { color: var(--amber-deep); font-weight: 700; flex: 0 0 auto; }

/* Quote */
.quote-section {
  position: relative;
  min-height: 320px;
  margin-top: 90px;
  background:
    linear-gradient(120deg, oklch(38% 0.15 260 / 0.85), oklch(62% 0.20 35 / 0.6)),
    url('../assets/quote-bg.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.quote-inner {
  max-width: 700px;
  text-align: center;
  color: white;
}

.quote-mark {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 64px;
  line-height: 0.5;
  color: var(--amber);
}

.quote-text {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 26px;
  font-style: italic;
  line-height: 1.5;
  margin-top: 12px;
}

.quote-author { margin-top: 22px; font-size: 15px; font-weight: 700; }
.quote-role { font-size: 13px; color: oklch(85% 0.012 250); }

/* Education */
.edu-item {
  border-inline-start: 3px solid var(--amber);
  padding-inline-start: 24px;
  margin-bottom: 30px;
}
.edu-year {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--amber-deep);
  margin-bottom: 6px;
}
.edu-title { font-size: 18px; font-weight: 700; color: var(--heading-ink); margin-bottom: 6px; }
.edu-desc { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Skills */
.skills-grid { display: flex; gap: 20px; flex-wrap: wrap; position: relative; z-index: 1; }

.skill-card {
  flex: 1 1 240px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 26px;
  transition: transform 0.2s;
}
.skill-card:hover { transform: translateY(-5px) rotate(-1deg); }

.skill-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-block-end: 2px solid var(--amber);
}

.skill-item { font-size: 15px; color: oklch(38% 0.02 250); margin-bottom: 7px; }

.skill-card.lang-card {
  background: var(--navy);
  color: white;
}
.skill-card.lang-card:hover { transform: translateY(-5px) rotate(1deg); }
.skill-card.lang-card .skill-card-title { color: var(--amber); }
.skill-card.lang-card .skill-item { color: oklch(88% 0.012 250); }

/* Contact */
.contact-section {
  margin-top: 110px;
  color: white;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, oklch(15% 0.03 250 / 0.92), oklch(15% 0.03 250 / 0.85)),
    url('../assets/contact-bg.jpg') center / cover no-repeat;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.contact-label { color: var(--amber); }

.contact-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 38px;
  font-weight: 700;
  margin: 10px 0 28px;
}

.contact-info { font-size: 16px; line-height: 2.1; color: oklch(88% 0.012 250); }
.contact-info a { color: oklch(88% 0.012 250); border-bottom: 1px solid oklch(50% 0.02 250); }

.contact-refs {
  font-size: 14px;
  font-style: italic;
  color: oklch(78% 0.02 250);
  margin-top: 36px;
}

/* Footer */
.footer {
  background: oklch(30% 0.14 260);
  color: oklch(55% 0.015 250);
  text-align: center;
  padding: 26px;
  font-size: 13px;
}

/* Print */
@media print {
  .no-print { display: none !important; }
  body { background: white !important; }
}

/* Responsive */
@media (max-width: 720px) {
  .navbar { padding: 16px 20px; }
  .navbar-links { gap: 14px; }
  .hero { padding: 110px 20px 90px; }
  .hero-name { font-size: 52px; }
  .hero-bignum { font-size: 220px; top: -40px; }
  .section { padding: 80px 20px 20px; }
  .section-bignum { font-size: 120px; inset-inline-start: 0; }
  .section-title { font-size: 32px; margin-bottom: 36px; }
  .job { flex-direction: column; gap: 12px; }
  .job-period { width: auto; }
  .job-body { border-inline-start: none; padding-inline-start: 0; }
  .contact-section { padding: 60px 24px; }
}
