/* ============================================================
   dentarasov.com — Professional Portfolio
   Dark premium theme with gold accents
   ============================================================ */

:root {
  --black:       #080808;
  --surface:     #0f0f0f;
  --surface2:    #161616;
  --surface3:    #1c1c1c;
  --gold:        #C6963A;
  --gold-light:  #E8B84B;
  --gold-dim:    rgba(198,150,58,0.22);
  --gold-glow:   rgba(198,150,58,0.08);
  --white:       #F0F0F0;
  --muted:       #707070;
  --muted2:      #999;
  --nav-h:       68px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }
ul { list-style: none; }
strong { font-weight: 600; color: var(--white); }
sup { font-size: 0.45em; vertical-align: super; }
em { font-style: italic; color: var(--gold); }

/* ---- UTILS ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section { padding: 112px 0; }
.label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.label.center { text-align: center; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 48px;
}
.section-title.center { text-align: center; }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(8,8,8,0.94);
  border-bottom: 1px solid var(--gold-dim);
  backdrop-filter: blur(16px);
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__back {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.3s var(--ease);
  flex-shrink: 0;
}
.nav__back:hover { color: var(--gold); }
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-right: auto;
}
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
  transition: color 0.3s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* CSS dot-grid background — premium tech feel */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(198,150,58,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 30%, transparent 80%);
}

/* Ambient glow blobs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 600px; height: 500px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(198,150,58,0.12) 0%, transparent 70%);
}
.hero__glow--2 {
  width: 400px; height: 400px;
  bottom: 0; left: 5%;
  background: radial-gradient(circle, rgba(198,150,58,0.06) 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 32px;
}
.hero__name span { color: var(--gold); }
.hero__role {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 24px;
}
.hero__tagline {
  font-size: 17px;
  line-height: 1.7;
  color: #8a8a8a;
  max-width: 520px;
  margin-bottom: 44px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  padding: 15px 40px;
  transition: background 0.3s var(--ease);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 15px 40px;
  transition: 0.3s var(--ease);
}
.btn-ghost:hover { background: var(--gold-dim); border-color: var(--gold); }

.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--gold-dim);
}
.hero__stat {
  padding: 24px 0 24px 32px;
  border-bottom: 1px solid var(--gold-dim);
}
.hero__stat:last-child { border-bottom: none; }
.hero__stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__stat-label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeInUp 1.5s ease forwards;
}
.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ---- ABOUT ---- */
.about {
  background: var(--surface);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__text {
  font-size: 16px;
  line-height: 1.8;
  color: #9a9a9a;
  margin-bottom: 20px;
}
.about__contact-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--gold-dim);
}
.about__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted2);
  transition: color 0.3s;
}
.about__contact-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.about__contact-item:hover { color: var(--gold); }

.about__card {
  background: var(--surface2);
  border: 1px solid var(--gold-dim);
  border-top: 3px solid var(--gold);
  padding: 40px;
}
.about__card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.about__strengths { display: flex; flex-direction: column; gap: 14px; }
.about__strengths li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #9a9a9a;
}
.strength-dot {
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
}

/* ---- EXPERTISE ---- */
.expertise {
  position: relative;
  background: var(--black);
}
.expertise__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(198,150,58,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.expertise__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.expertise-card {
  background: var(--surface);
  padding: 44px 36px;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.expertise-card:hover {
  border-top-color: var(--gold);
  background: var(--surface2);
}
.expertise-card__icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.expertise-card:hover .expertise-card__icon { opacity: 1; }
.expertise-card__icon svg { width: 100%; height: 100%; }
.expertise-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.expertise-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---- EXPERIENCE ---- */
.experience { background: var(--surface); border-top: 1px solid var(--gold-dim); }
.timeline {
  position: relative;
  padding-left: 2px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 200px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim) 5%, var(--gold-dim) 95%, transparent);
}
.timeline__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 56px;
  padding-bottom: 64px;
  position: relative;
}
.timeline__item:last-child { padding-bottom: 0; }
/* Gold dot on the line */
.timeline__item::before {
  content: '';
  position: absolute;
  left: 196px;
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--gold-dim);
  transition: border-color 0.3s, background 0.3s;
  z-index: 1;
}
.timeline__item:hover::before,
.timeline__item--highlight::before {
  border-color: var(--gold);
  background: var(--gold);
}
.timeline__meta {
  padding-top: 4px;
  text-align: right;
  padding-right: 56px;
}
.timeline__date {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}
.timeline__company {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.timeline__content {
  padding-left: 56px;
  position: relative;
}
.timeline__role {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.timeline__item--highlight .timeline__role { color: var(--gold-light); }
.timeline__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.timeline__resp h4,
.timeline__achievements h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.timeline__resp ul,
.timeline__achievements ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline__resp li,
.timeline__achievements li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}
.timeline__resp li::before,
.timeline__achievements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-dim);
}
.timeline__achievements li::before { background: var(--gold); opacity: 0.6; }
.timeline__tenure {
  position: absolute;
  top: 4px; right: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 3px 10px;
}

/* ---- EDUCATION ---- */
.education {
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--gold-dim);
}
.education__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(198,150,58,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.education__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.edu-item {
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  border-left: 3px solid var(--gold);
  padding: 32px 36px;
}
.edu-item__year {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.edu-item__school {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.edu-item__degree {
  font-size: 13px;
  color: var(--muted);
}
.lang-list { display: flex; flex-direction: column; gap: 24px; margin-top: -8px; }
.lang-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 16px;
}
.lang-item__flag { font-size: 24px; line-height: 1; }
.lang-item h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}
.lang-item__level { font-size: 12px; color: var(--muted); }
.lang-bar {
  width: 100px;
  height: 2px;
  background: var(--surface3);
  overflow: hidden;
}
.lang-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
}

/* ---- CONTACT ---- */
.contact {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--gold-dim);
}
.contact__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(198,150,58,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner { position: relative; text-align: center; }
.contact__sub {
  max-width: 560px;
  margin: -24px auto 56px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.contact__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 640px;
  margin: 0 auto;
}
.contact-link {
  background: var(--surface2);
  border: 1px solid #1a1a1a;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.3s, background 0.3s;
}
.contact-link:hover { border-color: var(--gold-dim); background: var(--surface3); }
.contact-link--sport:hover { border-color: var(--gold); }
.contact-link__icon {
  width: 40px; height: 40px;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.contact-link:hover .contact-link__icon { opacity: 1; }
.contact-link__icon svg { width: 100%; height: 100%; }
.contact-link__label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-link__value {
  font-size: 13px;
  color: var(--muted2);
  transition: color 0.3s;
}
.contact-link:hover .contact-link__value { color: var(--white); }

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--gold-dim);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.footer__copy { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: none;
    border-top: 1px solid var(--gold-dim);
  }
  .hero__stat { border-bottom: none; border-right: 1px solid var(--gold-dim); padding: 24px; }
  .hero__stat:last-child { border-right: none; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .expertise__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 0; }
  .timeline__item { grid-template-columns: 1fr; padding-left: 28px; }
  .timeline__item::before { left: -5px; }
  .timeline__meta { text-align: left; padding-right: 0; padding-left: 0; margin-bottom: 12px; }
  .timeline__content { padding-left: 0; }
  .education__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__links { grid-template-columns: 1fr; max-width: 480px; }
  .nav__links { display: none; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero__inner { padding: 60px 20px; }
  .expertise__grid { grid-template-columns: 1fr; }
  .timeline__body { grid-template-columns: 1fr; gap: 24px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { border-right: 1px solid var(--gold-dim); border-bottom: 1px solid var(--gold-dim); }
  .footer__inner { flex-direction: column; gap: 8px; text-align: center; }
}
