:root {
  --bg: #f4f1ea;
  --paper: #ffffff;
  --ink: #1f1a14;
  --muted: #6e6255;
  --accent: #cc5f2f;
  --accent-strong: #a8431a;
  --edge: #d9cfbf;
  --radius: 18px;
  --container: min(1100px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: #000;
}

body {
  font-family: 'Lexend Exa', sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.privacy-policy {
  padding-top: 150px;
  a.back-to-home {
    background-color: #fff;
    color: #000;
    border-radius: 40px;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;

    &:hover {
      background-color: #e1e1e1;
    }
  }

  h1, h2, h3, h4, h5, p, li, td, a {
    color: #fff;
  }
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.logged-in {
  .site-header { top: 32px; }
  .home-hero { height: calc(100dvh - 32px); }
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;

}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 0 70px 0 75px;

  .brand {
    font-size: 1px;
    color: rgba(0,0,0,0);
    background: url('../img/logo-olixer-ny.svg') no-repeat left center;
    background-size: contain;
    width: 140px;
    height: 32px;
  }

  button.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 45px;
    height: 45px;
    position: relative;

    span {
      position: absolute;
      top: 21px;
      left: 5px;
      display: block;
      width: 35px;
      height: 3px;
      background-color: var(--paper);
      transition: background-color 0.3s ease;

      &::before,
      &::after {
        content: '';
        position: absolute;
        width: 35px;
        height: 3px;
        background-color: var(--paper);
        transition: transform 0.3s ease, opacity 0.3s ease;
        left: 0;
      }

      &::before {
        transform: translateY(-8px);
      }
      &::after {
        transform: translateY(8px);
      }
    }

    &.active {
      span {
        background-color: rgba(255, 255, 255, 0);
        &::before {
          transform: rotate(45deg);
        }
        &::after {
          transform: rotate(-45deg);
        }
      }
    }
  }
}

.menu {
  display: flex;
  list-style: none;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
}

.header-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100dvh;
  background: transparent url('../img/bg-menu.jpg') no-repeat center right;
  z-index: 8;
  transition: all 0.3s ease-in-out;

  &.active {
    width: 100%;
  }

  #menu-main-nav {
    position: absolute;
    top: 0;
    left: 75px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    li a {
      display: block;
      font-size: 2.5rem;
      line-height: 2.5rem;
      color: var(--paper);
      padding: 0 0 0 30px;
      font-weight: 200;
    }

    li:first-child a {
      font-weight: 800;

    }
  }
}


.home-hero {
  position: relative;
  overflow: hidden;
  height: 100dvh;
  display: flex;
  align-items: center;
  background: url('../img/bg-main.jpg') no-repeat center;
  background-size: cover;
  color: var(--paper);

  .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }

  .hero-inner {
    max-width: 1024px;
  }

  .home-hero-logo {
    width: 100%;
    img { 
      display: block;
      width: 60%;
      height: auto;
      margin: 0 auto;
    }
  }

  .home-hero-tagline {
    padding-top: 30vh;
    font-size: 0.85rem;
    font-weight: 200;
    
    span { 
      display: block;
      text-align: center;
    }
  }

  .home-hero-scroll-link {
    margin-top: 0;
    font-size: 1px;
    color: rgba(0, 0, 0, 0);
    background: url('../img/home-down-arrow.svg') no-repeat center center;
    background-size: contain;
    width: 75px;
    height: 75px;
    text-decoration: none;
  }
}

.home-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.home-hero--has-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.home-hero--has-video .container {
  position: relative;
  z-index: 2;
}

.wp-block-columns {
    margin: 0 auto;
}

#section-work {
  position: relative;
  margin: 0;
  background-size: cover;
  background-position: center center;
  width: 100%;
  min-height: 100vh;
  background: url('../img/bg-work.jpg') no-repeat center center;
  background-size: cover;

  h2 {
    margin: 0;
    color: var(--paper);
    font-size: 3rem;
    letter-spacing: 2px;
    padding-top: 4rem;
    padding-bottom: 2rem;
    text-transform: uppercase;
  }

  .wp-block-columns {
    width: 90%;
    max-width: 1024px;
  }

  img {
    cursor: pointer;
  }
}

.olixer-agency-section {
  position: relative;
  margin: 0;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100vh;
}

.olixer-agency-section__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.olixer-agency-section__inner {
  position: relative;
  z-index: 1;
}

.olixer-agency-section__title {
  margin: 0 0 20px;
  color: var(--paper);
  text-align: center;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 2px;
  padding-top: 12rem;
  padding-bottom: 8rem;
}

.olixer-agency-section__grid {
  display: flex;
  gap: 11%;
  justify-content: center;
}

.olixer-agency-card {
  width: 26%;
  height: 14vh;
  display: flex;
  align-items: center;
  justify-content: center;

  a { 
    display: block;
  }
  
  .olixer-agency-card__image {
    display: block;
    width: 100%;
  }
}

.olixer-leadership-block {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background-image: var(--olixer-leadership-desktop-bg);
  background-size: cover;
  background-position: center;
}

.olixer-leadership-block__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.olixer-leadership-block__inner {
  position: relative;
  z-index: 1;
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  padding: 0;


  h2 {
    margin: 0;
    font-size: 1px;
    color: rgba(255, 255, 255, 0);
    background: url('../img/title-leadership.png') no-repeat center bottom;
    background-size: contain;
    width: 80%;
    height: 100%;
    min-height: 75vh;
  }

}

.olixer-leadership-block__grid {
  width: 100%;
  display: grid;
  margin-top: 75vh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5vw;

  h3, h4 { 
    text-align: center; 
    color: var(--paper);
    margin: 0;
    padding: 0;
  }
  h3 { font-size: 1rem; }
  h4 {
    font-size: 0.9rem;
    font-weight: 200;
  }
}

.olixer-logo-title-block {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.olixer-logo-title-block__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.olixer-logo-title-block__inner {
  position: relative;
  z-index: 1;
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.olixer-logo-title-block__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-decoration: none;
}

.olixer-leadership-header-wrap {
  width: 100%;
  height: 100%;
}

.olixer-logo-title-block__logo {
  display: block;
  max-width: min(250px, 65vw);
  width: 100%;
  height: auto;
}

.olixer-logo-title-block__title {
  margin: 0;
  color: var(--paper);
  background: linear-gradient(90deg, #a68ce1 0%, #8ca5dd 25%, #a7eadb 50%, #e1f5bc 75%, #e57c74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1.5rem, 5vw, 4.2rem);
  letter-spacing: -2px;
  text-transform: uppercase;
  font-weight: 800;
}


.site-footer {
  padding: 0;
  min-height: 230px;
  background: #000 url(../img/bg-footer-right.png) no-repeat right top;
  background-size: contain;
  color: var(--paper);

  .footer-inner {
    width: 100%;
    background: transparent url(../img/bg-footer-left.png) no-repeat left center;
    background-size: contain;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .footer-container {
      display: flex;
      justify-content: space-between;
      margin: 60px auto 20px auto;
      width: min(1100px, 70vw);

      p, nav {
        font-size: 0.7rem;
        font-weight: 200;
        padding: 0;
        margin: 0;
      }

      a {
        color: var(--paper);
        text-decoration: none;
        &:hover { text-decoration: underline; }
      }
    }
  
  .footer-logo, .footer-contact {
    height: 40px;
    margin-bottom: 50px;
  }
  .footer-linksets .footer-contact ul li a {
    font-weight: bold;
    text-transform: uppercase;
  }

  .footer-linksets {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 0.9rem;
    font-weight: 700;
    gap: 40px;

    strong {
      display: block;
      margin-bottom: 15px;
      text-transform: uppercase;
      font-size: 0.8rem;
      font-weight: 600;
    }

    li a {
      font-weight: 200;
      font-size: 0.7rem;

      &:hover { text-decoration: underline; }
    }
  }

  .footer-logo {
    background: transparent url('../img/logo-olixer-ny.svg') no-repeat center left;
    background-size: contain;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.desktop-only { display: block; }
.mobile-only  { display: none; }

@media (max-width: 768px) {
  .mobile-only { display: block; }
  .desktop-only { display: none; }

  .header-inner {
    min-height: 64px;
    padding: 0 20px;
  }

  .header-nav #menu-main-nav {
    left: 10px;
    top: 150px;
    height: auto;
    justify-content: flex-start;
  }

  .header-nav #menu-main-nav li a {
    font-size: 1.7rem;
    line-height: 2rem;
    padding-left: 12px;
  }

  .home-hero .hero-inner {
    max-width: 92vw;
  }

  .home-hero .home-hero-logo img {
    width: 80%;
  }

  .home-hero .home-hero-tagline {
    padding-top: 30vh;
    padding-left: 10%;
    padding-right: 10%;
    font-size: 0.78rem;
    text-align: center;

    span { display: inline; }
  }

  .home-hero .home-hero-scroll-link {
    width: 58px;
    height: 58px;
    margin-bottom: 5vh;
  }

  .olixer-agency-section {
    height: auto;
    min-height: 60vh;
    padding: 0;
  }

  .olixer-agency-section__title {
    font-size: 2rem;
    letter-spacing: 0;
    padding-top: 5rem;
    padding-bottom: 1.25rem;
  }

  .olixer-agency-section__grid {
    gap: 4.5vh;
    flex-direction: column;
    align-items: center;
  }

  .olixer-agency-card {
    width: min(35vw, 360px);
    height: auto;
  }

  .olixer-leadership-block {
    min-height: auto;
    background-image: var(--olixer-leadership-mobile-bg);
    background-position: center bottom;
    width: 100%;
    aspect-ratio: 431 / 932;
  }


  .olixer-leadership-block__inner {
    min-height: auto;
    height: 100%;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
    
    .olixer-leadership-header-wrap {
      width: 100%;
      height: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    h2 {
      background-position: center;
      height: 28vh;
      width: 100%;
      min-height: auto;
    }
  }

  .olixer-leadership-block__grid {
    margin: 0 0 5vh 0;

    gap: 36px;
  }

  .olixer-leadership-person__name {
    font-size: 1.6rem;
  }

  .olixer-leadership-person__title {
    font-size: 0.72rem;
    letter-spacing: 1.2px;
  }

  .olixer-logo-title-block,
  .olixer-logo-title-block__inner {
    min-height: 50vh;
  }

  .olixer-logo-title-block__logo {
    max-width: min(260px, 74vw);
  }

  .olixer-logo-title-block__title {
    font-size: 1.9rem;
  }

  .site-footer {
    background-size: auto 75%;

    .footer-inner {
      background: none;
    }
    .footer-container {
      width: min(1100px, 90vw);
      margin: 40px auto 16px;
      gap: 14px;
      flex-direction: column;
    }

    .footer-logo { margin-bottom: 50px; }
   
    .footer-linksets {
      flex-direction: column;
      margin-bottom: 60px;
      gap: 1px;

      .footer-contact { margin-bottom: 30px; }
      strong {
        margin-bottom: 5px;
      }
    }

    .footer-nav {
      p { font-size: 0.7rem; }
      ul {
        padding-top: 10px;
        padding-bottom: 25px;
      }
    }
  }
  

}


