:root {
  --ink: #2e2958;
  --ink-deep: #17152f;
  --accent: #c42f5b;
  --accent-dark: #a8224b;
  --paper: #ffffff;
  --mist: #f5f3f9;
  --muted: #68657a;
  --line: #dedbe8;
  --shadow: 0 24px 70px rgba(34, 28, 72, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 22px 32px;
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark,
.footer-brand span {
  align-items: center;
  background: linear-gradient(135deg, var(--ink) 0 56%, var(--accent) 56% 100%);
  border-radius: 13px;
  color: white;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 42px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 15px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  align-items: center;
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-download {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  padding: 11px 18px;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-download:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.nav-download svg,
.button svg {
  height: 18px;
  width: 18px;
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 12% 15%, rgba(196, 47, 91, 0.1), transparent 29%),
    radial-gradient(circle at 86% 70%, rgba(46, 41, 88, 0.12), transparent 32%),
    var(--mist);
  border-radius: 32px;
  display: grid;
  gap: clamp(42px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: 680px;
  overflow: hidden;
  padding: clamp(54px, 7vw, 96px);
  position: relative;
}

.hero::before {
  border: 1px solid rgba(46, 41, 88, 0.08);
  border-radius: 50%;
  content: "";
  height: 380px;
  left: -190px;
  position: absolute;
  top: -220px;
  width: 380px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.08em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.eyebrow span {
  background: #39a36d;
  border: 4px solid rgba(57, 163, 109, 0.14);
  background-clip: padding-box;
  border-radius: 50%;
  height: 12px;
  width: 12px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin-bottom: 26px;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-intro {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 660px;
}

.hero-intro strong {
  color: var(--ink-deep);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.skill-list span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}

.hero-actions,
.section-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  padding: 15px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  box-shadow: 0 10px 25px rgba(196, 47, 91, 0.22);
  color: white;
}

.button-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 13px 30px rgba(196, 47, 91, 0.28);
}

.button-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(46, 41, 88, 0.36);
}

.button-small {
  padding: 11px 16px;
}

.hero-document {
  background: #e8e5ef;
  border: 1px solid rgba(46, 41, 88, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: block;
  overflow: hidden;
  position: relative;
  transform: rotate(1.5deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-document:hover {
  box-shadow: 0 30px 80px rgba(34, 28, 72, 0.2);
  transform: rotate(0deg) translateY(-4px);
}

.document-toolbar {
  align-items: center;
  background: var(--paper);
  color: var(--muted);
  display: grid;
  font-size: 11px;
  font-weight: 700;
  grid-template-columns: 1fr auto 1fr;
  padding: 13px 14px;
}

.document-dots {
  display: flex;
  gap: 5px;
}

.document-dots i {
  background: #d4d0dc;
  border-radius: 50%;
  display: block;
  height: 7px;
  width: 7px;
}

.document-format {
  color: var(--accent);
  justify-self: end;
  letter-spacing: 0.08em;
}

.hero-document img,
.full-document img {
  display: block;
  height: auto;
  width: 100%;
}

.open-hint {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(23, 21, 47, 0.88);
  border-radius: 999px;
  bottom: 18px;
  color: white;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  left: 50%;
  opacity: 0;
  padding: 10px 15px;
  position: absolute;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.open-hint svg {
  height: 15px;
  width: 15px;
}

.hero-document:hover .open-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cv-section {
  margin: 0 auto;
  max-width: 1040px;
  padding: 110px 32px 120px;
}

.section-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

h2 {
  color: var(--ink);
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.pdf-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.full-document {
  background: #eceaf1;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(34, 28, 72, 0.12);
  display: block;
  margin: 0 auto;
  max-width: 900px;
  overflow: hidden;
  padding: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.full-document:hover {
  box-shadow: 0 34px 90px rgba(34, 28, 72, 0.17);
  transform: translateY(-3px);
}

.full-document img {
  border-radius: 10px;
}

.mobile-pdf-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 18px auto 0;
  max-width: 500px;
  text-align: center;
}

footer {
  align-items: center;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 36px max(32px, calc((100vw - 1176px) / 2));
}

.footer-brand {
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.footer-brand span {
  border-radius: 10px;
  height: 34px;
  width: 34px;
}

footer p,
footer > a {
  font-size: 13px;
  margin: 0;
}

footer > a:hover {
  color: white;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    margin: 0 18px;
    padding: 64px clamp(24px, 7vw, 64px);
  }

  .hero-document {
    margin: 0 auto;
    max-width: 560px;
    transform: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand-copy small,
  .nav-link {
    display: none;
  }

  nav {
    gap: 8px;
  }

  .nav-download {
    padding: 10px 13px;
  }

  .hero {
    border-radius: 24px;
    min-height: auto;
    padding: 46px 24px 30px;
  }

  .eyebrow {
    align-items: flex-start;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-document {
    border-radius: 12px;
  }

  .document-toolbar {
    grid-template-columns: 1fr auto;
  }

  .document-dots {
    display: none;
  }

  .cv-section {
    padding: 76px 18px 80px;
  }

  .section-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .full-document {
    border-radius: 12px;
    padding: 5px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 32px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero,
  .section-heading,
  .mobile-pdf-note,
  footer {
    display: none;
  }

  .cv-section,
  .full-document {
    border: 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    padding: 0;
  }
}
