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

:root {
  --black: #000;
  --white: #fff;
  --border: #383838;
  --gray: #767676;
  --font: 'Quicksand', sans-serif;
  --page-max: 1440px;
  --page-pad: 48px;
  --gap: 24px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--page-pad) 20px;
}


/* ─────────────────────────────────────────
   LOGO
───────────────────────────────────────── */

.logo-wrap {
  padding-bottom: 40px;
}

.logo {
  width: 172px;
  height: 172px;
  position: relative;
  flex-shrink: 0;
}

.logo-diamond {
  width: 128px;
  height: 128px;
  position: absolute;
  left: 28px;
  top: 20px;
  background: var(--black);
  transform: rotate(-45deg);
  transform-origin: center;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo a{text-decoration: none; color: #fff;}

.logo:hover .logo-diamond {
  transform: rotate(315deg);
}

.logo-text {
  position: absolute;
  left: 53px;
  top: 70px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 1;
}


/* ─────────────────────────────────────────
   SHARED GRID
───────────────────────────────────────── */

.main-grid,
.how-grid {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

.main-grid {
  padding-bottom: 40px;
}


/* ─────────────────────────────────────────
   LEFT COLUMNS
───────────────────────────────────────── */

.col-left {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  position: sticky;
  top: 40px;
}

.how-left {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* Intro block */
.col-left .intro {
  border-top: 0.5px solid var(--border);
  padding: 36px 24px 36px 8px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.intro-heading {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.intro-body {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}

/* How We Work intro */
.how-intro {
  border-top: 0.5px solid var(--border);
  padding: 36px 44px 36px 8px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.how-heading {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.how-body {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}

.how-body strong { font-weight: 700; }


/* ─────────────────────────────────────────
   EMAIL BUTTONS
───────────────────────────────────────── */

.email-btn,
.email-btn-2 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 12px;
  background: var(--black);
  border-top: 0.5px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}

.email-btn-2 {
  border-bottom: 0.5px solid var(--border);
}

.email-btn:hover,
.email-btn-2:hover { opacity: 0.75; }

.email-btn span,
.email-btn-2 span {
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.email-btn .arrow,
.email-btn-2 .arrow {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}


/* ─────────────────────────────────────────
   RIGHT COLUMNS
───────────────────────────────────────── */

.col-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.how-right {
  flex: 1;
  min-width: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
}


/* ─────────────────────────────────────────
   SERVICE ROWS
───────────────────────────────────────── */

.service-row {
  border-top: 0.5px solid var(--border);
  padding: 36px 0 0 24px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  transition: background 0.2s;
}

.service-row:hover { background: #f9f9f9; }

.service-info {
  width: 300px;
  flex-shrink: 0;
  padding-bottom: 36px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
}

.service-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #222;
}


/* ─────────────────────────────────────────
   PROJECT CARDS
───────────────────────────────────────── */

.project-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.project-img {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #e8e8e8;
}

.project-img.gradient {
  background: linear-gradient(180deg, #484848 0%, #aeaeae 100%);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.03);
}

.project-meta {
  padding: 22px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
}

.project-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
}

.see-project {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  color: var(--gray);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.see-project:hover { color: var(--black); }


/* ─────────────────────────────────────────
   HOW WE WORK ITEMS
───────────────────────────────────────── */

.how-item {
  border-top: 0.5px solid var(--border);
  padding: 36px 20px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-item-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.how-item-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #222;
}

.how-item-body strong { font-weight: 700; color: var(--black); }


/* ─────────────────────────────────────────
   TRUSTED BY
───────────────────────────────────────── */

.trusted {
  border-top: 0.5px solid var(--border);
  padding: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.trusted-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 44px;
}

.trusted-logos .logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  min-width: 90px;
}
.trusted-logos img {
  height: 80px;         /* uniform height for all logos */
  max-width: 220px;     /* caps wide logos like OSCE, Mnemonic */
  width: auto;          /* preserves aspect ratio */
  object-fit: contain;  /* no cropping or stretching */
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */

.contact-bar {
  border-top: 0.5px solid var(--border);
  min-height: 130px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 28px;
}

.contact-link {
  font-size: 26px;
  font-weight: 600;
  text-decoration: underline;
  color: var(--black);
  cursor: pointer;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}

.contact-link:hover { opacity: 0.45; }


/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo-wrap { animation: fadeUp 0.5s ease both; }
.main-grid { animation: fadeUp 0.5s ease both; animation-delay: 0.1s; }
.how-grid  { animation: fadeUp 0.5s ease both; animation-delay: 0.2s; }


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */

@media (max-width: 960px) {
  :root {
    --page-pad: 24px;
  }

  .main-grid,
  .how-grid {
    flex-direction: column;
  }

  .col-left,
  .how-left {
    width: 100%;
    position: static;
  }

  .service-row {
    flex-direction: column;
    padding-left: 0;
  }

  .service-info {
    width: 100%;
  }

  .how-right {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .intro-heading,
  .how-heading,
  .service-title,
  .project-title,
  .how-item-title {
    font-size: 24px;
  }

  .intro-body,
  .how-body {
    font-size: 18px;
  }
}


/* ─────────────────────────────────────────
   NAV (shared header navigation)
───────────────────────────────────────── */

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
}

.nav-link {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-link:hover { opacity: 0.45; }


/* ─────────────────────────────────────────
   CV — SECTION ROWS
───────────────────────────────────────── */

.cv-grid {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  padding-bottom: 0;
}

.cv-section-label {
  width: 380px;
  flex-shrink: 0;
  border-top: 0.5px solid var(--border);
  padding: 36px 24px 36px 8px;
}

.cv-section-label h2 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.cv-content {
  flex: 1;
  min-width: 0;
  border-top: 0.5px solid var(--border);
  padding: 36px 20px 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cv-year {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: -8px;
}

.cv-entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cv-entry-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.cv-entry-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #222;
}

.cv-entry-body a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.cv-entry-body a:hover { opacity: 0.5; }

.cv-entry-roles {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #222;
}

.cv-entry-roles strong {
  font-weight: 700;
}

.cv-skills-block {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #222;
}

.cv-skills-block strong {
  font-weight: 700;
  color: var(--black);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .header-nav { padding-bottom: 24px; }
  .cv-grid { flex-direction: column; }
  .cv-section-label { width: 100%; border-bottom: none; }
  .cv-content { padding-left: 0; border-top: none; padding-top: 0; }
}


/* ─────────────────────────────────────────
   CV — BIO / INTRO BLOCK
───────────────────────────────────────── */

.cv-bio {
  border-top: 0.5px solid var(--border);
  padding: 36px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cv-bio-role {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray);
}

.cv-bio-text {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 900px;
}

/* ─────────────────────────────────────────
   CV — EDUCATION & LANGUAGES
───────────────────────────────────────── */

.cv-simple-list {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cv-simple-list span {
  display: block;
}

.cv-simple-list strong {
  font-weight: 700;
  color: var(--black);
}
