/* ============================================================
   Vchasno Group — Taktika x Vchasno
   Pixel-perfect implementation of Figma (desktop 1512px)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;500;700;900&family=Roboto:wght@400;600;700&family=Geist:wght@700&display=swap');

:root {
  --cream: #F6EFDF;
  --black: #000000;
  --card-dark: #272727;
  --indigo: #5156F6;
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html { overflow-x: clip; }
body {
  background: var(--cream);
  font-family: 'Geologica', sans-serif;
  color: #000;
  overflow-x: clip;
}

img { display: block; }

/* Design canvas: fixed 1512 width, centered */
.canvas {
  width: 1512px;
  margin: 0 auto;
  position: relative;
}

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

/* ---------- Reusable pieces ---------- */
.geo { font-family: 'Geologica', sans-serif; }
.roboto { font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; }

/* Arrow icon default sizing handled inline per node */

/* Buttons */
.btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-variation-settings: 'wdth' 100;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #1c1c1c; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: #6a6ff8; box-shadow: 0 12px 28px rgba(81,86,246,.35); }

/* Home page: every button (except the vacancies section) turns indigo on hover */
body.home-page .btn:hover:not(.vac-more) {
  background: #5156F6;
  box-shadow: 0 12px 28px rgba(81,86,246,.35);
}

.btn .ic { flex: 0 0 auto; }
.btn:hover .ic { transform: translate(2px,-2px); }
.btn .ic { transition: transform .25s cubic-bezier(.2,.7,.3,1); }
.ic img, .caret img { width: 100%; height: 100%; display: block; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 20px;
  z-index: 100;
  width: 1512px;
  max-width: 100%;
  margin: 20px auto 0;
  height: 42px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 32px;
  transition: width .5s cubic-bezier(.4,0,.2,1), padding .5s cubic-bezier(.4,0,.2,1),
              height .5s cubic-bezier(.4,0,.2,1), background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  width: 452px;
  height: 58px;
  padding: 8px 8px 8px 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 34px rgba(0,0,0,.2);
}
.site-header .logo { width: 200px; height: 23.376px; }
.site-header .logo img { width: 100%; height: 100%; }
/* collapse the nav pill on scroll */
.site-header .nav-pill { overflow: hidden; opacity: 1; transition: max-width .5s cubic-bezier(.4,0,.2,1), opacity .3s ease, padding .4s ease, border-color .3s ease; }
.site-header.is-scrolled .nav-pill { max-width: 0; padding: 0; opacity: 0; border-color: transparent; pointer-events: none; }

.nav-pill {
  background: #fff;
  border: 1px solid rgba(148,148,148,0.3);
  box-shadow: 0 4px 5px rgba(0,0,0,0.05);
  border-radius: 50px;
  height: 42px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-pill a, .nav-pill .nav-item {
  font-family: 'Geologica', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.15px;
  color: #000;
  text-transform: capitalize;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: opacity .2s ease;
}
.nav-pill a:hover { opacity: .55; }
.nav-pill .caret { width: 6.655px; height: 6.655px; transform: rotate(180deg); }
.nav-pill .caret img { width: 100%; height: 100%; }

.header-cta { width: 200px; display: flex; justify-content: flex-end; }
.header-cta .btn {
  height: 42px;
  padding: 0 16px;
  gap: 5.633px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.header-cta .ic { width: 8px; height: 8px; }

/* Home header — single white rounded bar (sticky, collapses on scroll) */
.header-home {
  position: sticky;
  top: 9px;
  z-index: 100;
  width: 1448px;
  max-width: calc(100% - 64px);
  margin: 9px auto 0;
  height: 58px;
  background: #fff;
  border-radius: 32px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: width .5s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
}
.header-home.is-scrolled {
  width: 440px;
  box-shadow: 0 12px 34px rgba(0,0,0,.14);
}
.header-home .hbar-nav {
  overflow: hidden;
  max-width: 700px;
  opacity: 1;
  transition: max-width .5s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.header-home.is-scrolled .hbar-nav {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}
.header-home .logo { width: 200px; height: 23.376px; }
.header-home .logo img { width: 100%; height: 100%; }
.header-home .hbar-nav { display: flex; align-items: center; gap: 14px; }
.header-home .hbar-nav a {
  font-family: 'Geologica', sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 0.15px;
  color: #000; text-transform: capitalize; line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3px; transition: opacity .2s ease;
}
.header-home .hbar-nav a:hover { opacity: .55; }
.header-home .caret { width: 6.655px; height: 6.655px; transform: rotate(180deg); }
.header-home .caret img { width: 100%; height: 100%; }
.header-home .header-cta { width: auto; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { margin-top: 23px; padding: 0 32px 32px; }
.hero-inner {
  height: 788px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 43px 108px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero-inner > *:not(.hero-bg) { position: relative; z-index: 2; }

.hero-title {
  font-family: 'Geologica', sans-serif;
  font-weight: 700;
  font-size: 70px;
  line-height: 0.9;
  letter-spacing: -1.4px;
  color: #fff;
  text-align: center;
  width: 854px;
  white-space: nowrap;
}
.hero-sub {
  font-family: 'Roboto', sans-serif;
  font-variation-settings: 'wdth' 100;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: #fff;
  text-align: center;
  width: 625.565px;
}
.hero-btn { height: 62px; padding: 0 24px; gap: 14.807px; font-size: 20px; letter-spacing: 0.02em; width: 253.069px; }
.hero-btn .ic { width: 13.461px; height: 12.788px; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-title {
  font-family: 'Geologica', sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 0.92;
  letter-spacing: -1.12px;
  text-transform: uppercase;
  white-space: nowrap;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* ============================================================
   PRODUCTS (home)
   ============================================================ */
.products {
  margin-top: 112px;
  height: 650px;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
.products .section-title { color: #000; text-align: center; }
.products-row {
  display: flex;
  gap: 27.055px;
  align-items: center;
  justify-content: center;
  width: 1294px;
}
.product-card {
  flex: 1 1 0;
  min-width: 0;
  height: 500px;
  background: #fff;
  border: 1.691px solid #ece4d2;
  border-radius: 22px;
  overflow: hidden;
  padding: 37.877px;
  display: flex;
  flex-direction: column;
}
.product-card .pc-inner {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pc-top { display: flex; flex-direction: column; gap: 70px; }
.pc-numrow { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; }
.pc-num {
  display: flex;
  align-items: flex-end;
  gap: 7.778px;
  color: #000;
  font-family: 'Geologica', sans-serif;
  font-weight: 700;
  line-height: 1;
}
.pc-num .big, .pc-num .unit { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.pc-num .big { font-size: 137.58px; letter-spacing: -2.7516px; }
.pc-num .unit { font-size: 78.347px; letter-spacing: -1.5669px; }
.pc-badge {
  background: #000;
  border-radius: 999px;
  padding: 10px 16px;
  font-family: 'Geologica', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.14px;
  color: #fff;
  white-space: nowrap;
  align-self: flex-start;
}
.pc-brand { display: flex; flex-direction: column; align-items: flex-start; width: 271.563px; }
.pc-brand .brand-logo img { display: block; }
.pc-desc {
  font-family: 'Roboto', sans-serif;
  font-variation-settings: 'wdth' 100;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: #000;
  width: 337px;
}
.pc-btn { height: 42px; padding: 0 20px; gap: 8.176px; font-size: 14px; letter-spacing: 0.02em; align-self: flex-start; }
.pc-btn .ic { width: 7.433px; height: 7.061px; }

/* ============================================================
   VALUES (home)
   ============================================================ */
.values {
  margin-top: 112px;
  height: 900px;
  background: #000;
  border-radius: 32px;
  padding: 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.values-inner {
  height: 788px;
  padding: 43px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.values .section-title { color: #fff; text-align: center; align-self: center; }
/* New layout: tall "Інноваційність" card on the left + 2x2 grid on the right */
.values-grid { flex: 1 1 0; display: flex; flex-direction: row; gap: 12px; min-height: 0; }
.values-right { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.values-right-row { flex: 1 1 0; display: flex; gap: 12px; min-height: 0; }
.value-card {
  background: var(--card-dark);
  border-radius: 22px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
}
/* Left tall card: text at bottom, 3D object bleeds out */
.value-card.tall { flex: 0 0 398px; height: 100%; justify-content: flex-end; overflow: visible; }
.value-card h3 {
  font-family: 'Geologica', sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.6px;
  color: #fff;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.value-media { position: absolute; z-index: 1; }
.value-media .crop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.value-media .crop img { position: absolute; max-width: none; }
.value-card .icon3d {
  transition: transform .8s cubic-bezier(.2,.7,.3,1);
}
.value-card:hover .icon3d { transform: translateY(-8px); }

/* ============================================================
   VACANCIES (home)
   ============================================================ */
.vacancies {
  margin-top: 112px;
  height: 655px;
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.vac-head { display: flex; align-items: flex-start; justify-content: space-between; }
.vac-head .section-title { color: #000; }
.vac-filter {
  height: 43px;
  background: rgba(217,217,217,0.05);
  border: 1.049px solid rgba(0,0,0,0.1);
  border-radius: 21.494px;
  display: flex;
  align-items: center;
  padding: 7px;
  gap: 4px;
}
.vac-filter .vf-tab {
  height: 29px;
  padding: 0 15.892px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-family: 'Geologica', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.13px; color: #000;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: background-color .25s ease, opacity .2s ease;
}
.vac-filter .vf-tab.active { background: #fff; padding: 0 11.892px; }
.vac-filter .vf-tab:not(.active):hover { opacity: .5; }
/* divider between two adjacent inactive tabs (matches Figma) */
.vac-filter .vf-tab:not(.active) + .vf-tab:not(.active)::before {
  content: ''; position: absolute; left: -2px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 11.184px; background: rgba(0,0,0,.2);
}

.vac-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden; /* horizontal scroll only, no vertical scroll */
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  /* vertical padding gives the hover lift + shadow room so it isn't clipped;
     negative margins keep the section layout unchanged (right stays bled to edge) */
  padding: 26px 0 60px;
  margin: -26px -32px -60px 0;
}
.vac-track::-webkit-scrollbar { display: none; }
.vac-card {
  flex: 0 0 400px;
  height: 460px;
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform .55s cubic-bezier(.4,0,.2,1), box-shadow .55s cubic-bezier(.4,0,.2,1), background-color .55s cubic-bezier(.4,0,.2,1);
}
.vac-card:hover { transform: translateY(-6px); background: #5156F6; box-shadow: 0 20px 40px rgba(81,86,246,.28); }
/* More specific than .reveal so the hover transition isn't overridden by it */
.vacancies .vac-card {
  transition: opacity .6s cubic-bezier(.2,.7,.3,1),
              transform .55s cubic-bezier(.4,0,.2,1),
              box-shadow .55s cubic-bezier(.4,0,.2,1),
              background-color .55s cubic-bezier(.4,0,.2,1);
}
/* On hover the whole card turns indigo; text, logo, buttons go white — smooth, gradual */
.vac-title, .vac-desc { transition: color .55s cubic-bezier(.4,0,.2,1); }
.vac-logo img, .vac-share img { transition: filter .55s cubic-bezier(.4,0,.2,1); }
.vac-more { transition: background-color .55s cubic-bezier(.4,0,.2,1), color .55s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, transform .25s cubic-bezier(.2,.7,.3,1); }
.vac-more .ic img { transition: filter .55s cubic-bezier(.4,0,.2,1); }
.group-badge { transition: background-color .55s cubic-bezier(.4,0,.2,1), color .55s cubic-bezier(.4,0,.2,1); }
.vac-card:hover .vac-title, .vac-card:hover .vac-desc { color: #fff; }
.vac-card:hover .vac-logo img { filter: brightness(0) invert(1); }
.vac-card:hover .vac-share img { filter: brightness(0) invert(1); }
.vac-card:hover .group-badge { background: #fff; color: #5156F6; }
.vac-card:hover .vac-more { background: #fff; color: #5156F6; }
.vac-card:hover .vac-more .ic img { filter: brightness(0) saturate(100%) invert(28%) sepia(83%) saturate(4000%) hue-rotate(235deg) brightness(101%); }
.vac-inner {
  width: 232.353px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.vac-logo { display: flex; align-items: flex-start; }
.vac-logo.badge-row { align-items: center; gap: 8.47px; }
.vac-body { display: flex; flex-direction: column; gap: 34px; }
.vac-textblock { display: flex; flex-direction: column; gap: 24px; color: #000; }
.vac-title {
  font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 33.552px; letter-spacing: -0.671px; line-height: 1; color: #000; white-space: nowrap;
}
.vac-desc {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400; font-size: 13.98px; line-height: 1.25; color: #000;
}
.vac-actions { display: flex; align-items: center; gap: 10px; }
.vac-more { height: 39.115px; padding: 0 15.866px; gap: 8.299px; font-size: 14px; letter-spacing: 0.02em; }
.vac-more .ic { width: 7.544px; height: 7.167px; }
.vac-share { width: 39.144px; height: 39.144px; flex: 0 0 auto; transition: transform .3s ease; }
.vac-share img { width: 100%; height: 100%; }
.vac-share:hover { transform: rotate(15deg); }
.group-badge {
  background: #000; color: #fff;
  font-family: 'Geist', sans-serif; font-weight: 700; font-size: 9.463px; letter-spacing: 0.1893px; text-transform: uppercase;
  border-radius: 6.268px;
  padding: 6.423px 7.34px;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  height: 19.517px;
}

/* ============================================================
   GALLERY (home)
   ============================================================ */
/* Pinned horizontal scroll: the section sticks and the page scroll drives the
   strip sideways to the end, then normal vertical scroll resumes. */
.gallery-pin { margin-top: 112px; position: relative; /* height set by JS = 100vh + horizontal distance */ }
.gallery-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.gallery {
  width: 100%;
  height: 748px;
  overflow: hidden;
  position: relative;
}
.gallery-track {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 748px;
  width: max-content;
  will-change: transform;
}
.g-row { display: flex; gap: 22px; flex: 0 0 auto; }
.g-row.top { height: 404px; }
.g-row.bot { height: 322px; }
.g-cell { border-radius: 22px; overflow: hidden; flex: 0 0 auto; height: 100%; background: #d9d9d9; }
.g-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* the text cell is a semi-transparent white card (rounded like the photos); text sits on top */
.g-text {
  flex: 0 0 380px;
  display: flex;
  align-items: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.g-text p {
  font-family: 'Geologica', sans-serif; font-weight: 500;
  font-size: 42.02px; line-height: 1; letter-spacing: 0.4202px;
  color: #000; width: 100%;
  text-box-trim: trim-both; text-box-edge: cap alphabetic;
}

/* ============================================================
   FOOTER (shared, redesigned)
   ============================================================ */
.site-footer {
  position: relative;
  height: 491px;
  margin-top: 112px;
  background: #000;
  border-radius: 32px 32px 0 0;
  padding: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer-wordmark {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 22px;
  height: 171.201px;
  pointer-events: none;
  z-index: 0;
  transform: translateY(150px);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.footer-wordmark img { width: 100%; height: 100%; display: block; }

.footer-top {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; justify-content: space-between;
  width: 100%;
}
.footer-brand { width: 286px; display: flex; flex-direction: column; gap: 56px; }
.footer-logo { height: 21.623px; width: 185px; }
.footer-logo img { width: 100%; height: 100%; }
.footer-desc {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400;
  font-size: 14px; line-height: 1.25; color: #fff;
}
.footer-brand-top { display: flex; flex-direction: column; gap: 20px; }
.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social-label {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400;
  font-size: 14px; line-height: 1.25; color: #fff;
}
.footer-social-links { display: flex; gap: 6.647px; }
.footer-social-links .soc {
  width: 33.235px; height: 33.235px;
  background: rgba(246,239,223,0.1);
  border-radius: 8.309px;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease;
}
.footer-social-links .soc:hover { background: rgba(246,239,223,0.22); }
.footer-social-links .soc img { width: 14.956px; height: 14.956px; }

.footer-cols { display: flex; gap: 80px; }
.footer-col { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col .col-head {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400;
  font-size: 13px; line-height: 19.5px; color: rgba(246,239,223,0.7); white-space: nowrap;
}
.footer-col li a {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400;
  font-size: 14px; line-height: 19.5px; color: #f6efdf; white-space: nowrap;
  transition: opacity .2s ease;
}
.footer-col li a:hover { opacity: .65; }

.footer-bottombar {
  position: relative; z-index: 2;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 33px;
  display: flex; align-items: flex-end; justify-content: space-between;
  width: 100%;
}
.footer-bottombar span {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400;
  font-size: 13.98px; line-height: 1.25; color: #f6efdf; white-space: nowrap;
}

/* ============================================================
   PROJECT PAGE
   ============================================================ */
/* Project page: cream stays behind the header; everything below the header
   sits on one continuous black background (content + gaps + footer). */
/* Project page: entire background is black (no cream) */
body.proj-page { background: #000; }
.proj-dark-region { background: #000; }
/* subtle outline on the footer so it reads against the all-black page */
body.proj-page .site-footer { border: 1px solid rgba(255, 255, 255, 0.15); border-bottom: none; }

.proj-main {
  margin-top: 18px;
  margin-left: 0; margin-right: 0;
  background: #000;
  border-radius: 32px;
  padding: 120px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 128px;
}
.proj-hero { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.proj-hero-badge {
  background: #161616; border: 0.762px solid #414141;
  border-radius: 152.301px; padding: 12.184px 19.799px;
  display: flex; align-items: center;
}
.proj-hero-badge img { height: 23.607px; width: 142.402px; display: block; }
.proj-hero .h-title {
  font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 70px; line-height: 0.9; letter-spacing: -1.4px; color: #fff; text-align: center; width: 1058px;
}
.proj-hero .h-sub {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400; font-size: 18px; line-height: 1.25; color: rgba(255,255,255,0.7); text-align: center; width: 494px;
}
.proj-hero .h-btn { height: 55px; padding: 0 28px; gap: 14.807px; font-size: 16px; letter-spacing: 0.02em; }
.proj-hero .h-btn .ic { width: 10px; height: 9.5px; }

.proj-cards-wrap { display: flex; flex-direction: column; align-items: center; gap: 56px; width: 100%; }
.proj-logos { display: flex; flex-direction: column; align-items: center; gap: 38px; position: relative; }
.proj-logos .caption {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400; font-size: 14px; line-height: 1.25; color: rgba(255,255,255,0.5); text-align: center; white-space: nowrap;
}
.logos-marquee { position: relative; width: 900px; max-width: 100%; overflow: hidden; }
.logos-track { display: flex; gap: 33.659px; width: max-content; animation: logos-scroll 26s linear infinite; }
.logos-track .lg { flex: 0 0 auto; width: 184.756px; height: 32.128px; }
.logos-track .lg img { width: 100%; height: 100%; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-873.66px); } /* one full set (4 logos + 4 gaps) → seamless loop */
}
.logos-marquee::before, .logos-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 160px; z-index: 2; pointer-events: none;
}
.logos-marquee::before { left: 0; background: linear-gradient(to right, #000 0%, rgba(0,0,0,0) 100%); }
.logos-marquee::after { right: 0; background: linear-gradient(to left, #000 0%, rgba(0,0,0,0) 100%); }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; } }

.proj-cards { display: flex; gap: 12px; align-items: flex-start; width: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.proj-cards::-webkit-scrollbar { display: none; }
.proj-card {
  flex: 0 0 434.671px;
  height: 499.872px;
  background: #272727;
  border: 1.087px solid #414141;
  border-radius: 23.907px;
  padding: 43.467px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  scroll-snap-align: start;
  transition: transform .3s ease, border-color .3s ease;
}
.proj-card:hover { transform: translateY(-6px); border-color: #5a5a5a; }
.proj-card .pc-toprow { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.proj-card .pc-logo img { display: block; }
.proj-card .pc-cardtitle {
  font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 20.548px; line-height: 0.98; letter-spacing: -0.411px; color: #fff;
}
.proj-card .pc-badge2 {
  background: #fff; border-radius: 999px;
  width: 97px; height: 30.702px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geologica', sans-serif; font-weight: 500; font-size: 12px; letter-spacing: 0.12px; color: #000; text-transform: capitalize;
}
.proj-card .pc-foot { display: flex; flex-direction: column; gap: 36.947px; align-items: flex-start; width: 100%; }
.proj-card .pc-textblock { display: flex; flex-direction: column; gap: 26.08px; width: 100%; }
.proj-card .pc-h2 {
  font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -0.6px; color: #fff;
}
.proj-card .pc-desc2 {
  font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400; font-size: 15.192px; line-height: 1.25; color: rgba(255,255,255,0.7);
}
.proj-card .pc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Geologica', sans-serif; font-weight: 400; font-size: 14px; letter-spacing: 0.14px; color: #fff; cursor: pointer;
  transition: opacity .2s ease;
}
.proj-card .pc-link:hover { opacity: .75; }
.proj-card .pc-link:hover .ic { transform: translate(2px,-2px); }
.proj-card .pc-link .ic { width: 10.249px; height: 10.249px; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.proj-card .pc-link .ic img { width: 10.249px; height: 10.249px; }

/* Career banner (project) */
.career {
  margin: 112px 36px 0;
  height: 600px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  padding: 56px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.career-bg { position: absolute; inset: 0; z-index: 0; }
.career-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.career-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0) 65%),
    linear-gradient(122deg, rgba(0,0,0,0.3) 2%, rgba(0,0,0,0) 47%);
}
.career-top { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 44px; align-items: flex-start; }
.career-title { font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 70px; line-height: 1; letter-spacing: -1.4px; color: #fff; width: 818px; }
.career-sub { font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400; font-size: 18px; line-height: 1.25; color: #fff; width: 597px; }
.career-btn { height: 60px; padding: 0 28px; gap: 14.807px; font-size: 16px; letter-spacing: 0.02em; }
.career-btn .ic { width: 12px; height: 11.4px; }
.career-bottom { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.career-bottom .mega { width: 40px; height: 31.25px; }
.career-bottom .mega img { width: 100%; height: 100%; }
.career-note { font-family: 'Roboto', sans-serif; font-variation-settings: 'wdth' 100; font-weight: 400; font-size: 16px; line-height: 1.25; color: #fff; width: 308px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Figma trims text line-boxes to cap height on virtually every text node.
   Replicate that so vertical rhythm matches 1:1. */
.hero-title, .hero-sub,
.section-title,
.pc-desc,
.value-card h3,
.vac-title, .vac-desc,
.gallery-text,
.proj-hero .h-title, .proj-hero .h-sub,
.proj-logos .caption, .proj-card .pc-h2, .proj-card .pc-desc2,
.career-title, .career-sub, .career-note {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-bg { transition: none; }
  .gallery-track { animation: none; }
}
