/* =====================================================================
   Volentio — styles.css (v2, pixel-faithful rebuild)
   Tokens extracted from the live site's computed styles, not guessed.
   ===================================================================== */

/* ---- Reset & base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #6c6d74;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: #2d2e33; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #2d2e33;
}

/* exact sizes from live computed-style readout */
h1 { font-size: 42px; line-height: 50.4px; }
h2 { font-size: 24px; line-height: 32px; }
h3 { font-size: 18px; line-height: 24px; }

p  { margin: 0 0 20px; }

ul { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Layout primitives -------------------------------------------- */
/* Live site uses 40px container padding and ~1278px viewport content area */
.container       { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.container--wide { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px; }

.section    { padding: 70px 0; }
.section-lg { padding: 140px 0; }

.text-center { text-align: center; }

.divider {
  display: block;
  width: 80px; height: 1px;
  background: #2d2e33;
  margin: 1.5rem auto;
  border: 0;
}
.divider--left { margin-left: 0; }

/* ---- Header / nav ------------------------------------------------- */
/* Live header is 80px tall, logo 40px tall, socials sit 30px from top */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: 80px;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 40px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.nav__left  { display: flex; align-items: center; gap: 30px; }

.nav__logo img { height: 40px; width: auto; display: block; }

.nav__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6c6d74;
  transition: color .25s ease;
}
.nav__socials a:hover { color: #2d2e33; }
/* UIkit-style icons: fills inherit, strokes also use currentColor */
.nav__socials svg { width: 20px; height: 20px; fill: currentColor; }
.nav__socials svg [stroke] { stroke: currentColor; }

/* Hamburger — thin 20px icon to match UIkit's three-bar */
.nav__toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 20px; height: 20px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #2d2e33;
  transition: transform .3s ease, opacity .3s ease;
}

/* Full-screen menu modal — opacity transition, mirrors UIkit's uk-modal-full fade */
.menu-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.menu-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease, visibility 0s linear 0s;
}
/* Subtle slide on the content for a hint of motion */
.menu-modal__list {
  transform: translateY(12px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.menu-modal.is-open .menu-modal__list {
  transform: translateY(0);
}

.menu-modal__close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: 0;
  font-size: 2.5rem;
  color: #2d2e33;
  cursor: pointer;
  width: 44px; height: 44px;
  line-height: 1;
}

.menu-modal__list { font-size: 36px; line-height: 1.4; }
.menu-modal__list li { margin: 1rem 0; }
.menu-modal__list a {
  color: #2d2e33;
  font-weight: 300;
  letter-spacing: .02em;
  display: inline-block;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .3s ease;
}
.menu-modal__list a:hover,
.menu-modal__list a.is-active { border-bottom-color: #2d2e33; }

/* ---- HOME : Hero -------------------------------------------------- */
/* Live hero: 1187px tall on a 1267px viewport (header is 80px).
   Padding 140px 0. Background colour cycles every 40s. */
.hero-home {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 140px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: colorchange 40s linear infinite;
}

/* The half-gem image is laid over the colored background using a
   luminosity blend — same as the original YOOtheme custom.css. */
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/bg/half-gem-r_bg.png") no-repeat 50% 50% / cover;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

@media (max-width: 1159px) {
  .hero-home::before {
    background-image: url("assets/img/bg/split-gem-b_bg.png");
  }
}

@keyframes colorchange {
  0%   { background: #00BABA; }
  45%  { background: #FDFD00; }
  90%  { background: #FF00FF; }
  100% { background: #00BABA; }
}

.hero-home__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 40px;
  width: 100%;
}

.hero-home__weare {
  margin: 0;
  font-size: 42px;
  line-height: 50.4px;
  font-weight: 400;
  color: #2d2e33;
}

/* Wordmark sits flush below "We are" (1px gap on live site) */
.hero-home__wordmark {
  display: block;
  margin: 0 auto;
  width: 600px;
  max-width: 80vw;
  height: auto;
}

/* ---- HOME : What We Do ------------------------------------------- */
.what-we-do {
  background: #f7f7f7;
  padding: 140px 0;
}
.what-we-do h1 { margin-bottom: 30px; }
.what-we-do p  { max-width: 920px; }

/* ---- TEAM : Hero -------------------------------------------------- */
.team-hero {
  background: #fff;
  padding: 140px 0 70px;
  text-align: center;
}
.team-hero h1 {
  font-size: 48px;
  line-height: 57.6px;
  margin: 0 0 140px;     /* live measured gap between h1 and h2 */
}
.team-hero h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

/* ---- TEAM : Member grid ------------------------------------------- */
.team-grid { padding: 0 0 70px; }

.team-member {
  display: grid;
  /* Live ratio: 317 / 317 / 634 ≈ 1fr / 1fr / 2fr */
  grid-template-columns: 1fr 1fr 2fr;
  gap: 0 70px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto 140px;
  padding: 0 40px;
}

.team-member__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.team-member__col-name {
  padding-top: 1rem;
}

.team-member__name {
  font-size: 36px;
  line-height: 46.8px;
  font-weight: 400;
  color: #2d2e33;
  margin: 0 0 .5rem;
}

.team-member__role {
  font-size: 11px;
  line-height: 15.4px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b4b5ba;
  margin: 0 0 1.25rem;
}

.team-member__social {
  display: flex;
  gap: 16px;
}
.team-member__social a {
  color: #6c6d74;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.team-member__social a:hover { color: #2d2e33; }
.team-member__social svg { width: 20px; height: 20px; fill: currentColor; }
.team-member__social svg [stroke] { stroke: currentColor; }

.team-member__bio {
  padding-top: 1rem;
  font-size: 16px;
  line-height: 26px;
  color: #6c6d74;
  max-width: 50ch;
}

@media (max-width: 980px) {
  .team-member {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .team-member__bio { margin: 0 auto; }
  .team-member__social { justify-content: center; }
}

/* ---- TEAM : Room-for-one-more CTA --------------------------------- */
.cta-dark {
  position: relative;
  background: #001014;
  color: rgba(255, 255, 255, .85);
  padding: 100px 0;
  overflow: hidden;
}
.cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/logo/v-pattern.png") repeat;
  background-size: 150px;
  opacity: .25;
  pointer-events: none;
}
.cta-dark .container { position: relative; z-index: 1; }
.cta-dark__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 40px;
}
@media (max-width: 768px) {
  .cta-dark__grid { grid-template-columns: 1fr; text-align: center; }
}
.cta-dark h2 {
  color: #fff;
  font-size: 42px;
  line-height: 50.4px;
  font-weight: 400;
  margin: 0 0 .5rem;
}
.cta-dark p { font-size: 22px; line-height: 32px; margin: 0; opacity: .85; }

/* ---- CONTACT page ------------------------------------------------- */
.contact-page { background: #f7f7f7; position: relative; overflow: hidden; }
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/bg/half-gem-r_bg.png") no-repeat 100% 100% / contain;
  pointer-events: none;
}
.contact-page > * { position: relative; z-index: 1; }

.contact-hero {
  padding: 140px 0 30px;
}
.contact-hero h1 {
  font-size: clamp(64px, 10vw, 128px);
  line-height: 1;
  font-weight: 400;
  margin: 0 0 1.5rem;
  letter-spacing: -.01em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 30px 0 140px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info a {
  display: block;
  font-size: 28px;
  line-height: 1.4;
  color: #2d2e33;
  font-weight: 400;
  margin-bottom: .25rem;
}
.contact-info a:hover { color: #000; }
.contact-info__address {
  margin-top: 2rem;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b4b5ba;
  line-height: 20px;
}

/* Contact form */
.contact-form { max-width: 480px; }
.contact-form .field { margin-bottom: 12px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, .125);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 12px 16px;
  color: #3c3c3b;
  font-family: inherit;
  font-size: 16px;
  line-height: 26px;
  transition: background .25s ease, border-color .25s ease;
  -webkit-appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #6c6d74; opacity: 1; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(0, 0, 0, .08);
  border-color: rgba(0, 0, 0, .2);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button {
  background: #3c3c3b;
  color: #fff;
  border: 0;
  border-radius: 2px;
  padding: 12px 32px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: background .25s ease;
}
.contact-form button:hover { background: #1d1d1b; }

/* ---- Footer ------------------------------------------------------- */
.site-footer {
  background: #242427;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
}
.site-footer p { margin: 0; }
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { color: #fff; }

/* ---- Scroll fade-in ---------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-home { animation: none; background: #00BABA; }
}
