@font-face {
  font-family: "Lexend Deca";
  src: url("/assets/fonts/LexendDeca-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("/assets/fonts/LexendDeca-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("/assets/fonts/LexendDeca-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Italic-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
}

:root {
  --bg: #121212;
  --section: #1b1b1b;
  --dark: #1b1b1b;
  --purple: #9370db;
  --purple-light: #a485e7;
  --purple-dark: #2b2143;
  --accent-color: #8b6fc9;
  --white: #ffffff;
  --text: #cfcfcf;
}

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  font-synthesis: none;
}

h1,
h2,
h3,
.hero h1,
.contact-form h2,
.contact-info h2,
.journey-content h2,
.project-content h3,
.service-card h3,
.service-content h3,
.stat-content h3 {
  font-family: "Lexend Deca", sans-serif;
  font-synthesis: none;
}

section {
  width: 100%;
}

.container {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--purple);
  border: 0;
  border-radius: 4px;
  color: var(--dark);
}

.btn-secondary {
  background: var(--purple-dark);
  border: 0;
  border-radius: 4px;
  color: var(--white);
}

.btn-send,
.nav-menu a,
.section-label {
  text-transform: uppercase;
}

.btn-primary:hover,
.nav-menu a.is-active,
.nav-menu a:hover {
  background: var(--purple);
}

.nav-menu a[href="#what-i-do"] {
    min-width: 112px;
    text-align: center;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 20px 0;
  background: var(--bg);
}

.header-container {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 180px;
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: 0.25s;
}

.nav-menu a img {
  display: block;
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle img {
  display: block;
  width: 24px;
  height: 24px;
}

/* Hero */

.hero {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(134, 99, 248, 0.08),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 50%,
      rgba(134, 99, 248, 0.04),
      transparent 40%
    );
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: 440px;
}

.hero-content {
  align-self: center;
}

.hero h1 {
  margin-bottom: 30px;
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.hero h1 span {
  display: block;
  color: var(--purple);
  white-space: nowrap;
}

.hero p {
  max-width: 420px;
  color: #d1d1d1;
  font-size: 1.65rem;
  line-height: 1.4;
  white-space: nowrap;
}

.hero-portrait {
  position: relative;
  width: 100%;
  height: 505px;
  align-self: end;
}

.hero-portrait picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-photo,
.hero-outline {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 420px;
  height: 475px;
  object-fit: contain;
  object-position: bottom right;
}

.hero-photo {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-outline {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hero-portrait.show-photo .hero-photo {
  opacity: 1;
}

.hero-portrait.hide-outline .hero-outline {
  opacity: 0;
}

/* General sections */

.section-label {
  display: inline-block;
  margin-bottom: 50px;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.why-me-heading {
  margin-bottom: 50px;
}

/* Services */

.what-i-do {
  padding: 45px 0 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.service-icon,
.service-icon img {
  width: 110px;
  height: 110px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content {
  flex: 1;
}

.service-card h3,
.service-content h3 {
  font-size: 1.4rem;
}

.service-card h3 {
  margin: 0 0 14px;
}

.service-content h3 {
  margin-bottom: 12px;
}

.service-card p,
.service-content p {
  color: #bcbcbc;
  line-height: 1.7;
}

/* Journey */

.journey {
  position: relative;
  height: 500vh;
  padding: 0;
}

.journey > .container {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  width:95%;
}

.journey-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  border-radius: 12px;
}

.journey-content {
  padding: 60px;
  background: var(--purple);
}

.journey-content .section-label {
  color: rgba(0, 0, 0, 0.6);
}

.journey-content h2 {
  margin: 20px 0 30px;
  color: #1a1a1a;
  font-size: 2.3rem;
}

.journey-content p {
  margin-bottom: 22px;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.8;
}

.journey-showcase {
  position: relative;
  min-height: 500px;
  background: var(--purple);
}

.journey-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.5s,
    transform 0.5s;
  pointer-events: none;
}

.journey-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.journey-icon {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.journey-item-content {
  max-width: 430px;
  padding-right: 50px;
}

.journey-item h3 {
  font-size: 2rem;
}

.journey-item h4 {
  padding-bottom: 10px;
  color: var(--dark);
  font-size: 1.2rem;
}

.journey-item p {
  line-height: 1.6;
}

/* Stats */

.stats {
  padding: 0 0 70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-card img {
  width: 55px;
  height: 55px;
}

.stat-content h3 {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  font-weight: 500;
}

.stat-content p {
  margin-top: 8px;
  color: #bcbcbc;
  font-size: 1rem;
}

/* Current role */

.current-role {
  padding: 80px 0;
}

.role-card {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  padding: 70px;
  background: #1f1f1f;
  border-radius: 12px;
}

.role-left h2 {
  margin: 20px 0;
}

.role-left p {
  max-width: 520px;
  margin-bottom: 35px;
  line-height: 1.8;
}

.role-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-right img {
  width: 100%;
  max-width: 420px;
  max-height: 110px;
}

/* Why me */

.why-me {
  padding: 100px 0;
}

.why-me-heading h2 {
  margin: 0;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 100px;
  row-gap: 90px;
}

.strength {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 35px;
}

  .strength h3 {
    margin: 0 0 12px;
    font-size: 1.5rem;
    line-height: 1.2;
    
  }


.strength-number {
  color: var(--purple);
  font-size: clamp(4.5rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
}


.strength p {
  margin: 0;
  line-height: 1.6;
}

/* Projects */

.projects {
  padding: 80px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #1f1f1f;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  display: block;
  width: 100%;
  height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: 0.75rem;
}

.project-content p {
  color: #bdbdbd;
  line-height: 1.6;
}

.project-card a.btn-primary {
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--dark);
  border: 1px solid;
  color: var(--white);
  font-weight: 400;
}

/* Contact */

.contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-form h2,
.contact-info h2 {
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.contact-info p {
  margin-bottom: 50px;
  color: #bcbcbc;
  line-height: 1.8;
}

.contact-links {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  gap: 18px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.contact-links img {
  width: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-group {
  margin-bottom: 35px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #bcbcbc;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #555;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--purple);
}

.form-success {
  margin-bottom: 20px;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 5px;
  padding: 12px 18px;
  background: var(--purple);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.btn-send:hover {
  transform: translateX(3px);
  transition: 0.3s;
}

.btn-send img {
  width: 20px;
  height: 20px;
}

/* Footer */

.site-footer {
  padding: 24px 0;
  background: #111114;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0 auto;
  color: #8f8b9a;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--purple);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

/* Privacy modal */

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.cookie-banner[hidden],
.privacy-modal[hidden] {
  display: none;
}

.privacy-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.privacy-modal-content {
  position: relative;
  z-index: 1;
  width: min(700px, calc(100% - 2rem));
  max-height: 85vh;
  margin: 7vh auto;
  padding: 2rem;
  overflow-y: auto;
  background: #18181d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  line-height: 1.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #18181d;
}

.privacy-modal-scroll {
  padding-right: 0.5rem;
}

.privacy-modal h2 {
  margin-top: 0;
}

.privacy-modal h3 {
  margin-top: 2rem;
}

.privacy-modal-content a {
  color: var(--purple);
  text-decoration: none;
}

.privacy-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.footer-link,
.privacy-link {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--accent-color);
  font: inherit;
  cursor: pointer;
}

.privacy-modal-content::-webkit-scrollbar {
  width: 8px;
}

.privacy-modal-content::-webkit-scrollbar-track {
  background: #18181d;
}

.privacy-modal-content::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 10px;
}

.privacy-modal-content::-webkit-scrollbar-thumb:hover {
  background: #a98be8;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9998;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: #18181d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.cookie-actions .btn-primary {
  margin-bottom: 6px;
}

.cookie-actions .btn-primary,
.cookie-actions .btn-secondary {
  min-width: 105px;
  padding: 8px 20px;
}

.cookie-actions button:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition: transform 0.2s;
}

/* Other */

.website-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.language-switch {
  color: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.language-switch:hover {
  opacity: 0.6;
}

/* Tablet */

@media (max-width: 1200px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .contact-grid,
  .journey-grid,
  .role-card,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .site-header .container {
    justify-content: center;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .services-grid {
    gap: 40px;
  }

  .role-card {
    padding:30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 80px;
    padding: 60px 20px;
  }

  .role-card {
    text-align: center;
  }

  .role-left p {
    max-width: none;
  }

  .role-right img {
    margin-top: 30px;
    height: 55px;
    width: auto;
  }

  .contact-grid {
    gap: 70px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .hero h1,
  .hero h1 span,
  .hero p {
    white-space: normal;
  }
.role-left h2 {
  font-size:1.3rem;
}
  .form-row,
  .hero .container,
  .project-grid,
  .stats-grid,
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 30px 0;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 2.7rem);
    line-height: 1.05;
    margin: 0 0 24px;
  }
  .container .section-label {
    text-align:center;
    margin:auto;
    width:100%;
  }
  .form-row {
    gap: 0;
  }

  .header-container {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
    gap: 32px;
    background: var(--bg);
    transition: right 0.35s;
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  .hero h1,
  .hero p {
    text-align: center;
  }

  .hero .container {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 0;
  }

  .hero-content {
    position: relative;
    z-index: 2;
  }

  .hero p {
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.5;
    width:300px;
  }

  .hero-portrait {
    position: relative;
    width: 100%;
    height: 260px;
    margin-top: 30px;
  }

  .hero-portrait picture,
  .hero-outline,
  .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: contain;
    object-position: bottom center;
  }

  .journey {
    height: auto;
    padding: 0;
  }

  .journey h2 {
      font-size: 1.8rem;
  }

  .journey > .container {
    position: static;
    height: auto;
    overflow: visible;
  }

  .journey-grid {
    display: block;
    min-height: auto;
  }

  .journey-content {
    padding: 50px 30px 30px;
  }

  .journey-showcase {
    min-height: auto;
    padding: 30px 30px 30px 20px;
  }

  .journey-item {
    position: relative;
    inset: auto;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 45px;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }

  .journey-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .journey-item-content {
    flex: 1;
    min-width: 0;
    max-width: none;
    padding: 0;
  }

  .journey-item h3 {
    margin: 0 0 2px;
    font-size: 1.6rem;
  }

  .journey-item h4 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 1rem;
  }

  .journey-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .why-me {
    padding: 0;
  }

  .why-me .container {
        padding: 50px 15px 0 5px;
    }
}
  .strengths-grid {
    gap: 50px;
  }

  .strength {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: start;
    gap: 18px;
  }

  .strength-number {
    position: static;
    font-size: 3.5rem;
    line-height: 1;
  }

  .strength p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
  }

.current-role {
  padding:0;
}


.contact {
  padding:0 0 80 px 0;
}


@media (max-width: 600px) {
  .site-footer .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .strength h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;    
  }

  
}