/* ============================================================
   SHARED ARCHITECTURAL SECTIONS
   Unified styles for recurring brand elements
   ============================================================ */

/* ---- IN FOCUS SECTION ---- */
.in-focus-section {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: 100vh;
  min-height: 450px;
  overflow: hidden;
  background: #1a1a1a;
  display: flex;
  align-items: stretch;
  top: 0 !important;
  margin-top: 0 !important;
}

.in-focus-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.in-focus-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.in-focus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.in-focus-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 60px;
  align-items: flex-start;
  text-align: left;
}

.in-focus-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.15em;
  margin-bottom: auto;
  text-align: left;
  display: block;
  width: 100%;
}

.in-focus-bottom {
  width: 100%;
  max-width: 1000px;
  margin-left: 0;
  text-align: left;
}

.in-focus-title {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 2.8vw, 2.2rem);
  font-weight: normal;
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: normal;
  text-align: left;
}

.in-focus-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #d9e3db;
  color: #1a1a1a;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.in-focus-btn:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.plus-icon {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
}

/* ---- WORK WITH US SECTION ---- */
.work-with-us {
  padding: 120px 0;
  background: var(--white);
  border-top: 2px solid var(--border);
}

.wwu-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.wwu-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1;
}

.wwu-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 32px;
}

.wwu-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #ffffff;
}

.wwu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- BELIEF / QUOTE SECTION ---- */
.belief-quote-section {
  padding: 120px 0;
  text-align: left;
  background-color: #2b4277 !important;
  color: white !important;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  position: relative;
}

.belief-text {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  /* Explicitly white for dark backgrounds */
}

/* ---- FILTER BAR ---- */
.filter-bar {
  padding: 0 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 81px;
  z-index: 999;
  transition: top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body:not(.header-visible) .filter-bar {
  top: 0;
}

.filter-bar-inner {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding-bottom: 4px;
}

.filter-btn {
  padding: 24px 32px;
  background: transparent;
  border: none;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

.filter-btn.active {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.08);
  font-weight: 900;
}

/* ---- RESPONSIVE SECTIONS ---- */
@media (max-width: 1100px) {
  .wwu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .in-focus-section {
    height: 70vh;
  }
}

@media (max-width: 768px) {
  .work-with-us {
    padding: 80px 20px;
  }
  .wwu-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  .wwu-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .in-focus-section {
    height: 60vh;
    min-height: 400px;
  }
  .in-focus-content {
    padding: 40px 20px;
  }
  .in-focus-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .in-focus-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 0.9rem;
    white-space: normal;
    word-wrap: break-word;
    max-width: 85%;
    height: auto;
    text-align: left;
    line-height: 1.4;
  }
  .in-focus-btn .plus-icon {
    display: inline-block;
    vertical-align: baseline;
    margin-right: 8px;
  }
  .belief-quote-section {
    padding: 80px 20px;
  }
  .belief-text {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .filter-bar {
    padding: 0 16px;
  }
  body.header-visible .filter-bar {
    top: 64px;
  }
}

@media (max-width: 480px) {
  .work-with-us {
    padding: 60px 16px;
  }
  .wwu-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
  .in-focus-section {
    height: 50vh;
    min-height: 350px;
  }
  .in-focus-content {
    padding: 32px 16px;
  }
  .in-focus-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .in-focus-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.8rem;
    white-space: normal;
    word-wrap: break-word;
    max-width: 85%;
    height: auto;
    text-align: left;
    line-height: 1.4;
  }
  .in-focus-btn .plus-icon {
    display: inline-block;
    vertical-align: baseline;
    margin-right: 6px;
  }
  .belief-quote-section {
    padding: 60px 16px;
  }
  .belief-text {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .filter-bar {
    padding: 0 12px;
  }
}