/* About Us Page Styles */

/* ===================================
   PAGE BACKGROUND (Blue cutting mat)
   =================================== */

body.about-page {
  background: var(--brand-blue);
}

body.about-page .menu {
  left: 60px;
  right: 60px;
  max-width: calc(100vw - 120px);
}

body.about-page .menu .logo img {
  filter: brightness(0);
}

body.about-page .menu .header-nav-link,
body.about-page .menu .header-cta-row a,
body.about-page .menu .hamburger-button {
  color: var(--type);
}

body.about-page .menu .header-login-link {
  color: #555;
}

body.about-page .menu .header-login-link:hover {
  color: #000;
}

body.about-page .page-content {
  position: relative;
  background-color: var(--brand-blue);
  background-image: url("/assets/for-creative-pros/wallpaper-background-white.svg");
  background-size: var(--cutting-mat-bg-size);
  background-position: center top;
  background-repeat: repeat;
}

/* ===================================
   HERO (Secondary Hero Style)
   =================================== */

.secondary-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 160px var(--layout-inset-fluid) var(--spacing-lg);
  max-width: none;
  width: 100%;
  min-height: auto;
  margin: 0;
  box-sizing: border-box;
  background: transparent;
}

.secondary-hero--layered {
  position: relative;
  overflow: hidden;
  background: var(--brand-blue);
  min-height: 0;
  padding: 0;
  margin-top: -160px;
  z-index: 1;
}

.hero-fg-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-overlay-heading {
  position: absolute;
  bottom: 40px;
  left: var(--layout-inset-fluid);
  color: #fff;
  z-index: 2;
  margin: 0;
}

.hero-layered-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.secondary-hero .pill-tag {
  display: inline-block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.6;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 16px;
}

.secondary-hero h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}

.secondary-hero .hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(223, 223, 223, 0.8);
}

.secondary-hero .hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* ===================================
   WHAT DRIVES US (Values)
   =================================== */

.about-values {
  position: relative;
  z-index: 1;
  padding: var(--spacing-2xl) var(--layout-inset-fluid);
  max-width: none;
  margin: 0;
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
}

.about-values > h2 {
  text-align: left;
  margin-bottom: var(--spacing-xl);
  color: var(--type);
}

.about-values > p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.value-card {
  background: none;
  border: none;
  border-radius: 0;
  padding: var(--spacing-lg);
}

.value-card svg {
  width: 32px;
  height: 32px;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--type);
}

.value-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--type-60);
}

/* ===================================
   WHAT IS MONODESK (Mission)
   =================================== */

.about-mission {
  padding: var(--spacing-2xl) var(--layout-inset-fluid);
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 1;
}

.about-mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  max-width: calc(100vw - 120px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
}

.about-mission-text h2 {
  margin-bottom: 20px;
}

.about-mission-text p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  line-height: 1.65;
}

.about-mission-text p em {
  color: var(--brand-white);
  font-style: normal;
  font-weight: 500;
}

.about-mission-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-mission-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: invert(1);
  opacity: 0.6;
}

/* Light theme variant */
.about-mission--light {
  position: relative;
  margin: 0;
  margin-top: -160px;
  padding-top: calc(160px + var(--spacing-2xl));
  background-color: #E5EAED;
  background-image: url("/assets/for-creative-pros/wallpaper-background-dark.svg");
  background-size: var(--cutting-mat-bg-size);
  background-position: center top;
  background-repeat: repeat;
  box-shadow: 0 0 0 100vmax #E5EAED;
  clip-path: inset(0 -100vmax);
}

.about-mission--light .about-mission-content {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
}

.about-mission--light .about-mission-text h2 {
  color: var(--type);
}

.about-mission--light .about-mission-text p {
  color: var(--type-60);
}

.about-mission--light .about-mission-image img {
  filter: none;
  opacity: 1;
}

/* ===================================
   BACKED BY ENVATO (Two-column split)
   =================================== */

/* About Image Section */
.about-image-section {
  position: relative;
  z-index: 1;
  padding: var(--spacing-xl) var(--layout-inset-fluid);
  background: #f5f6f6;
  box-shadow: 0 0 0 100vmax #f5f6f6;
  clip-path: inset(0 -100vmax);
}

.about-image-section img:not(.about-image-overlay) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.about-image-overlay {
  position: absolute;
  bottom: 300px;
  left: calc(var(--layout-inset-fluid) + 60px);
  width: 150px !important;
  max-width: 150px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.about-image-section h2 {
  position: absolute;
  bottom: 120px;
  left: calc(var(--layout-inset-fluid) + 60px);
  color: #fff;
  margin: 0;
  font-size: clamp(34px, 3.5vw, 59px);
}

.envato-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  padding: var(--spacing-2xl) var(--layout-inset-fluid);
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 1;
  background: #f5f6f6;
  box-shadow: 0 0 0 100vmax #f5f6f6;
  clip-path: inset(0 -100vmax);
}

.envato-split-left h2 {
  margin-bottom: 20px;
  color: var(--type);
}

.envato-split-left p {
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--type-60);
  line-height: 1.65;
}

.envato-inline-logo {
  height: 0.85em;
  width: auto;
  vertical-align: baseline;
  margin-left: 4px;
}

.envato-split-right {
  background: #e8e8ee;
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  align-self: start;
  margin-top: 60px;
}

.envato-split-right h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.envato-split-right > p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.ecosystem-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ecosystem-tile {
  padding: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  transition: background 0.2s ease;
}

.ecosystem-tile:hover {
  background: rgba(255, 255, 255, 0.9);
}

.ecosystem-tile p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ===================================
   CONTACT US
   =================================== */

.about-contact {
  position: relative;
  z-index: 1;
  padding: var(--spacing-2xl) var(--layout-inset-fluid) 120px;
  max-width: none;
  margin: 0;
  background: #f5f6f6;
  background-image: url("/assets/for-creative-pros/wallpaper-background-dark.svg");
  background-size: var(--cutting-mat-bg-size);
  background-position: center top;
  background-repeat: repeat;
  box-shadow: 0 0 0 100vmax #f5f6f6;
  clip-path: inset(0 -100vmax);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.about-contact h2 {
  margin-bottom: 12px;
  color: var(--type);
}

.contact-left > p {
  font-size: 15px;
  color: var(--type-60);
  max-width: 280px;
  line-height: 1.6;
}

.contact-avatar {
  margin-top: auto;
  width: 102px;
}

.contact-avatar img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-right {
  display: flex;
  flex-direction: column;
}

.contact-block {
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-block:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-block h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--type);
  margin-bottom: 6px;
}

.contact-block p {
  font-size: 14px;
  color: var(--type-60);
  line-height: 1.5;
  margin: 0;
}

.contact-block a {
  color: var(--brand-blue);
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--type);
  text-decoration: none;
}

.contact-social-link:hover {
  text-decoration: underline;
}

.contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--brand-blue);
  color: #fff;
}

.contact-cta {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: var(--spacing-xl);
}

/* ===================================
   TEAM GRID
   =================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-md);
}

.team-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar:empty::after {
  content: "";
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--brand-white);
}

.team-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.envato-image-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: var(--spacing-lg);
}

.envato-image-block {
  aspect-ratio: 1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.envato-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ecosystem-logo {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 16px;
}


/* ===================================
   BACKED BY ENVATO (sub-page)
   =================================== */

.about-envato {
  position: relative;
  z-index: 1;
  padding: var(--spacing-2xl) var(--layout-inset-fluid);
  max-width: 800px;
  margin: 0 auto;
}

.about-envato h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--type);
}

.about-envato p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--type-60);
  margin-bottom: 16px;
}

.envato-logo {
  margin-top: var(--spacing-lg);
}

.envato-logo img {
  height: 32px;
  width: auto;
}

.means-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.means-card {
  padding: var(--spacing-lg);
}

.means-card i,
.means-card svg {
  width: 32px;
  height: 32px;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.means-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--type);
}

.means-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--type-60);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.ecosystem-card {
  padding: var(--spacing-md);
  text-align: center;
}

.ecosystem-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--type-60);
  margin: 0;
}

/* ===================================
   CTA BANNER (Blue cutting mat)
   =================================== */


/* ===================================
   FOOTER
   =================================== */

body.about-page .site-footer {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  body.about-page .menu {
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
  }

  .secondary-hero {
    padding: 100px var(--layout-inset-fluid-sm) var(--spacing-lg);
    min-height: 100dvh;
  }

  .secondary-hero h1 {
    font-size: 36px;
  }

  .about-mission-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
  }

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

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

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .envato-split {
    grid-template-columns: 1fr;
    padding-left: var(--layout-inset-fluid-sm);
    padding-right: var(--layout-inset-fluid-sm);
  }

  .envato-split-right {
    margin-top: 0;
  }

  .envato-image-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-mission,
  .about-values,
  .about-contact {
    padding-left: var(--layout-inset-fluid-sm);
    padding-right: var(--layout-inset-fluid-sm);
  }

  .about-mission-content {
    max-width: calc(100vw - 48px);
  }

  .about-contact {
    padding-bottom: var(--spacing-2xl);
  }

  .about-image-section h2 {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: var(--spacing-md);
    font-size: 28px;
    color: var(--type);
  }

  .envato-image-row {
    display: none;
  }

  .hero-overlay-heading {
    bottom: 20px;
    left: var(--layout-inset-fluid-sm);
    font-size: 28px;
  }

  .about-image-overlay {
    bottom: 200px;
    left: calc(var(--layout-inset-fluid-sm) + 20px);
    width: 100px !important;
    max-width: 100px;
  }

  .about-envato {
    padding-left: var(--layout-inset-fluid-sm);
    padding-right: var(--layout-inset-fluid-sm);
  }

  .about-envato h2 {
    font-size: 28px;
  }

  .means-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr 1fr;
  }

}
