:root {
  --bg: #f4f1ec;
  --bg-2: #e9e5de;
  --text: #141414;
  --muted: #6b6b6b;
  --card: rgba(255, 255, 255, 0.62);
  --border: rgba(20, 20, 20, 0.11);
  --accent: #1d1d1f;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(70, 82, 105, 0.18), transparent 34rem),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  color: var(--text);
  overflow-x: hidden;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 100;
}

.cursor,
.cursor-dot {
  pointer-events: none;
  position: fixed;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.cursor {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(20, 20, 20, 0.28);
  backdrop-filter: blur(4px);
  transition: width .2s ease, height .2s ease, border .2s ease;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.cursor.active {
  width: 70px;
  height: 70px;
  border-color: rgba(20, 20, 20, 0.42);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 50px rgba(20, 20, 20, 0.06);
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1d1d1f;
  color: white;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--text);
}

.lang-toggle {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.65);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(54px, 8vw, 108px);
  line-height: .9;
  letter-spacing: -0.07em;
}

h1 small {
  display: block;
  margin-top: 18px;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.hero-text {
  max-width: 640px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

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

.btn.primary {
  background: #1d1d1f;
  color: white;
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
}

.btn.secondary {
  background: rgba(255,255,255,.55);
}

.hero-card,
.glass,
.skill-card,
.timeline-item,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-card {
  padding: 18px;
}

.profile-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 26px;
  margin-bottom: 22px;
  background: #d8d2c8;
}

.profile-image img,
.passion-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-label {
  color: var(--muted);
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.glass {
  padding: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.glass p + p {
  margin-top: 18px;
}

.passions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.passion-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.passion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}

.passion-card span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  color: white;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 34px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.skill-card {
  min-height: 220px;
  padding: 26px;
}

.skill-card p,
.timeline-item p,
.contact-card p {
  color: var(--muted);
  line-height: 1.6;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 28px;
  display: grid;
  grid-template-columns: 160px 1fr 1.8fr;
  gap: 24px;
  align-items: start;
}

.timeline-item span {
  color: var(--muted);
  font-size: 14px;
}

.contact-card {
  padding: clamp(28px, 6vw, 60px);
}

.contact-links {
  margin: 26px 0;
}

.contact-links a {
  padding: 12px 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 680px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.62);
  border-radius: 20px;
  padding: 16px 18px;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

.footer {
  padding: 36px;
  text-align: center;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero,
  .about-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .passions {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }
}
