/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #ffffff;
  color: #171717;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, 88%);
  margin: 0 auto;
}

.page {
  padding: 125px 0 85px;
}

.section-label,
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: #8b8174;
}

/* =========================================================
   NAVIGATION
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(247, 246, 242, 0.92);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(23, 23, 23, 0.08);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.header.header-scrolled {
  background: rgba(247, 246, 242, 0.98);
  box-shadow: 0 8px 30px rgba(23, 23, 23, 0.05);
}

.navbar {
  width: min(1280px, 90%);
  height: 72px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  color: #625d56;
}

.nav-links a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -5px;

  width: 100%;
  height: 1px;

  background: #171717;

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cv {
  padding: 9px 16px;

  border: 1px solid #bcb5ac;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 500;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-cv:hover {
  background: #171717;
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================================================
   PAGE 01 — CREAM
========================================================= */

.page-one {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: #f7f6f2;

  --mouse-x: 75%;
  --mouse-y: 25%;
}

.page-one .container {
  position: relative;
  z-index: 2;
}

/* =========================================================
   HERO GLOW
========================================================= */

.hero-glow {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background: radial-gradient(
    circle 340px at var(--mouse-x) var(--mouse-y),
    rgba(154, 138, 117, 0.22),
    rgba(154, 138, 117, 0.08) 35%,
    transparent 72%
  );

  z-index: 1;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;

  gap: 100px;

  align-items: end;
}

.hero .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-family: "Playfair Display", serif;

  font-size: clamp(72px, 9vw, 120px);

  line-height: 0.85;
  letter-spacing: -6px;
}

.hero h1 span {
  color: #95836e;
}

.hero-title {
  margin-top: 30px;

  font-size: 22px;
  font-weight: 600;
}

.hero-description {
  max-width: 580px;

  margin-top: 12px;

  font-size: 16px;
  line-height: 1.7;

  color: #6b655d;
}

/* HERO BUTTONS */

.hero-actions {
  display: flex;
  gap: 10px;

  margin-top: 30px;
}

.button {
  padding: 12px 19px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 600;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.button-dark {
  background: #171717;
  color: #ffffff;
}

.button-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(23, 23, 23, 0.15);
}

.button-light {
  border: 1px solid #ccc6bd;
}

.button-light:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

/* HERO DETAILS */

.hero-details {
  border-top: 1px solid #cbc5bc;
}

.hero-details div {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  padding: 15px 0;

  border-bottom: 1px solid #cbc5bc;
}

.hero-details span {
  font-size: 11px;
  color: #888178;
}

.hero-details p {
  font-size: 12px;
  font-weight: 500;
}

/* =========================================================
   WHO I AM
========================================================= */

.about {
  display: grid;
  grid-template-columns: 190px 1fr;

  gap: 60px;

  margin-top: 85px;
  padding-top: 35px;

  border-top: 1px solid #cbc5bc;
}

.about p {
  max-width: 820px;

  font-family: "Playfair Display", serif;

  font-size: 23px;
  line-height: 1.55;

  color: #4d4943;
}

/* =========================================================
   PAGE 02 — WHITE
========================================================= */

.page-two {
  background: #ffffff;
}

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

.section-heading .section-label {
  margin-bottom: 16px;
}

.section-heading h2 {
  max-width: 760px;

  font-family: "Playfair Display", serif;

  font-size: clamp(42px, 5vw, 62px);

  line-height: 1.05;
  letter-spacing: -2.5px;
}

.section-heading h2 span {
  color: #9a8a75;
}

/* =========================================================
   PROFESSIONAL EXPERIENCE
========================================================= */

.experience-list {
  border-top: 1px solid #d4d0ca;
}

.experience-row {
  display: grid;
  grid-template-columns: 130px 280px 1fr;

  gap: 35px;

  padding: 28px 0;

  border-bottom: 1px solid #d4d0ca;

  transition:
    background 0.25s ease,
    padding 0.25s ease;
}

.experience-row:hover {
  padding-left: 14px;
  padding-right: 14px;

  background: #f7f6f2;
}

.experience-date {
  font-size: 11px;
  color: #8a837a;
}

.experience-company h3 {
  margin-bottom: 5px;

  font-family: "Playfair Display", serif;

  font-size: 20px;
  font-weight: 600;
}

.experience-company span {
  font-size: 11px;
  color: #817a72;
}

.experience-row > p {
  max-width: 620px;

  font-size: 13px;
  line-height: 1.7;

  color: #625d57;
}

/* =========================================================
   LANGUAGES
========================================================= */

.languages {
  display: grid;
  grid-template-columns: 190px 1fr;

  gap: 60px;

  margin-top: 50px;
}

.language-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid #d4d0ca;
  border-bottom: 1px solid #d4d0ca;
}

.language-row > div {
  padding: 18px 22px;

  transition: background 0.25s ease;
}

.language-row > div:hover {
  background: #f7f6f2;
}

.language-row > div:not(:last-child) {
  border-right: 1px solid #d4d0ca;
}

.language-row span {
  font-size: 9px;
  font-weight: 600;
  color: #9a8a75;
}

.language-row h3 {
  margin-top: 6px;

  font-family: "Playfair Display", serif;

  font-size: 20px;
  font-weight: 600;
}

.language-row p {
  margin-top: 3px;

  font-size: 11px;
  color: #777067;
}

/* =========================================================
   PAGE 03 — WHITE
========================================================= */

.page-three {
  background: #ffffff;
  color: #171717;
}

/* =========================================================
   WHY HIRE ME
========================================================= */

.why-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;

  column-gap: 80px;
}

.why-heading .section-label,
.why-heading h2 {
  grid-column: 1;
}

.why-heading > p {
  grid-column: 2;
  grid-row: 1 / 3;

  align-self: end;

  font-size: 14px;
  line-height: 1.7;

  color: #6b655d;
}

.why-table {
  border-top: 1px solid #d4d0ca;
}

.why-row {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;

  border-bottom: 1px solid #d4d0ca;

  transition: background 0.25s ease;
}

.why-row:not(.why-header):hover {
  background: #f7f6f2;
}

.why-row div {
  padding: 18px 24px;
}

.why-row div:first-child {
  border-right: 1px solid #d4d0ca;

  font-family: "Playfair Display", serif;
  font-size: 17px;
}

.why-row div:last-child {
  font-size: 12px;
  line-height: 1.7;

  color: #625d56;
}

.why-header {
  background: #171717;
  color: #ffffff;
}

.why-header div {
  font-family: "DM Sans", sans-serif !important;

  font-size: 9px !important;
  font-weight: 600;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.why-header div:first-child {
  border-right: 1px solid #3c3c3c;
}

.why-header div:last-child {
  color: #ffffff;
}

/* =========================================================
   WHY SWITZERLAND — WHITE
========================================================= */

.switzerland {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;

  column-gap: 90px;
  row-gap: 45px;

  margin-top: 85px;
  padding-top: 55px;

  background: #ffffff;
  color: #171717;

  border-top: 1px solid #d4d0ca;
}

.switzerland-intro .section-label {
  margin-bottom: 15px;
}

.switzerland-intro h2 {
  font-family: "Playfair Display", serif;

  font-size: clamp(38px, 4vw, 52px);

  line-height: 1.05;
  letter-spacing: -2px;
}

.switzerland-intro h2 span {
  display: block;
  color: #9a8a75;
}

.switzerland-content {
  display: grid;
  gap: 15px;
}

.switzerland-content p {
  max-width: 700px;

  font-size: 13px;
  line-height: 1.8;

  color: #625d56;
}

.switzerland-values {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid #d4d0ca;
  border-bottom: 1px solid #d4d0ca;
}

.switzerland-values > div {
  padding: 28px 30px;

  transition: background 0.25s ease;
}

.switzerland-values > div:not(:last-child) {
  border-right: 1px solid #d4d0ca;
}

.switzerland-values > div:hover {
  background: #f7f6f2;
}

.switzerland-number {
  display: block;

  margin-bottom: 25px;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 1.5px;

  color: #9a8a75;
}

.switzerland-values strong {
  display: block;

  margin-bottom: 8px;

  font-family: "Playfair Display", serif;

  font-size: 19px;
  font-weight: 600;

  color: #27231f;
}

.switzerland-values p {
  max-width: 280px;

  font-size: 11px;
  line-height: 1.65;

  color: #716a62;
}

/* =========================================================
   LET'S CONNECT — CREAM
========================================================= */

.contact {
  display: grid;
  grid-template-columns: 1fr 0.7fr;

  gap: 100px;

  margin-top: 85px;

  padding: 55px;

  background: #f7f6f2;
  color: #171717;
}

.contact-copy .section-label {
  margin-bottom: 15px;
}

.contact-copy h2 {
  font-family: "Playfair Display", serif;

  font-size: clamp(38px, 5vw, 58px);

  line-height: 1.05;
  letter-spacing: -2px;
}

.contact-copy h2 span {
  color: #9a8a75;
}

.contact-copy p {
  max-width: 470px;

  margin-top: 15px;

  font-size: 13px;
  line-height: 1.7;

  color: #6b655d;
}

/* CONTACT LINKS */

.contact-links {
  border-top: 1px solid #cbc5bc;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 15px 0;

  border-bottom: 1px solid #cbc5bc;

  font-size: 12px;

  color: #4f4a44;

  transition:
    color 0.2s ease,
    padding 0.2s ease;
}

.contact-links a:hover {
  color: #171717;
  padding-left: 5px;
}

.contact-links span {
  transition: transform 0.25s ease;
}

.contact-links a:hover span {
  transform: translate(4px, -3px);
}

/* =========================================================
   FOOTER — WHITE
========================================================= */

footer {
  display: flex;
  justify-content: space-between;

  margin-top: 65px;
  padding-top: 20px;

  border-top: 1px solid #d4d0ca;

  font-size: 9px;

  color: #77726b;
}

/* =========================================================
   HERO ENTRANCE ANIMATION
========================================================= */

.hero-main .eyebrow,
.hero-main h1,
.hero-title,
.hero-description,
.hero-actions,
.hero-details,
.about {
  opacity: 0;
  transform: translateY(22px);
}

.site-loaded .hero-main .eyebrow {
  animation: heroReveal 0.7s ease forwards 0.05s;
}

.site-loaded .hero-main h1 {
  animation: heroReveal 0.85s ease forwards 0.14s;
}

.site-loaded .hero-title {
  animation: heroReveal 0.75s ease forwards 0.24s;
}

.site-loaded .hero-description {
  animation: heroReveal 0.75s ease forwards 0.32s;
}

.site-loaded .hero-actions {
  animation: heroReveal 0.75s ease forwards 0.4s;
}

.site-loaded .hero-details {
  animation: heroReveal 0.85s ease forwards 0.28s;
}

.site-loaded .about {
  animation: heroReveal 0.8s ease forwards 0.52s;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-ready .reveal {
  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* =========================================================
   TABLET
========================================================= */

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

  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-details {
    max-width: 550px;
  }

  .about {
    grid-template-columns: 150px 1fr;
    gap: 35px;
  }

  .experience-row {
    grid-template-columns: 100px 220px 1fr;
    gap: 20px;
  }

  .languages {
    grid-template-columns: 150px 1fr;
    gap: 35px;
  }

  .why-heading {
    grid-template-columns: 1fr 0.7fr;
    column-gap: 50px;
  }

  .switzerland {
    column-gap: 50px;
  }

  .contact {
    gap: 60px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
  .container {
    width: min(90%, 560px);
  }

  .page {
    padding: 105px 0 60px;
  }

  /* NAV */

  .navbar {
    height: 66px;
  }

  .logo {
    font-size: 23px;
  }

  .nav-cv {
    padding: 8px 12px;
    font-size: 10px;
  }

  /* HERO */

  .page-one {
    min-height: auto;
  }

  .hero {
    gap: 40px;
  }

  .hero h1 {
    font-size: 65px;
    letter-spacing: -3px;
  }

  .hero-title {
    margin-top: 24px;
    font-size: 19px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    text-align: center;
  }

  .hero-details div {
    flex-direction: column;
    gap: 3px;
  }

  /* WHO I AM */

  .about {
    grid-template-columns: 1fr;

    gap: 15px;

    margin-top: 55px;
  }

  .about p {
    font-size: 20px;
  }

  /* EXPERIENCE */

  .experience-row {
    grid-template-columns: 1fr;

    gap: 8px;

    padding: 22px 0;
  }

  .experience-row:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .experience-row > p {
    margin-top: 10px;
  }

  /* LANGUAGES */

  .languages {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .language-row {
    grid-template-columns: 1fr;
  }

  .language-row > div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #d4d0ca;
  }

  /* WHY HIRE ME */

  .why-heading {
    display: block;
  }

  .why-heading > p {
    margin-top: 20px;
  }

  .why-row {
    grid-template-columns: 1fr;
  }

  .why-row div:first-child {
    border-right: 0;
    border-bottom: 1px solid #d4d0ca;
  }

  /* WHY SWITZERLAND */

  .switzerland {
    grid-template-columns: 1fr;

    gap: 30px;

    margin-top: 65px;
    padding-top: 45px;
  }

  .switzerland-values {
    grid-template-columns: 1fr;
  }

  .switzerland-values > div {
    padding: 24px 0;
  }

  .switzerland-values > div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #d4d0ca;
  }

  /* CONTACT */

  .contact {
    grid-template-columns: 1fr;

    gap: 40px;

    margin-top: 60px;

    padding: 40px 24px;
  }

  /* FOOTER */

  footer {
    gap: 30px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
