/* =========================================================
   EJAA OUR WORK PAGE
   File: work.css
   This styles only work.html.
   ========================================================= */

.work-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 40%, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(90deg, #04162c 0%, #08213f 44%, #16110b 100%);
}

.work-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 57%;
  background:
    linear-gradient(
      90deg,
      rgba(4, 22, 44, 0.96),
      rgba(4, 22, 44, 0.86) 68%,
      rgba(4, 22, 44, 0.08)
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0 2px,
      transparent 2px 46px
    );
  opacity: 0.96;
}

.work-hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 64%;
  background-image: url("assets/work-hero.PNG");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.work-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(4, 22, 44, 0.98) 0%,
      rgba(4, 22, 44, 0.88) 36%,
      rgba(4, 22, 44, 0.38) 58%,
      rgba(4, 22, 44, 0.04) 84%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.10));
}

.work-hero-content {
  position: relative;
  z-index: 3;
  max-width: 610px;
  padding: 64px clamp(24px, 5.4vw, 82px) 150px;
  color: #ffffff;
}

.work-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.work-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

.work-breadcrumb a:hover,
.work-breadcrumb a:focus-visible {
  color: #d8aa3b;
}

.work-hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.work-hero-subtitle {
  margin: 8px 0 22px;
  color: #d8aa3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 49px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.work-hero-copy {
  max-width: 500px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.62;
  font-weight: 500;
}

.work-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.work-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.work-button:hover,
.work-button:focus-visible {
  transform: translateY(-1px);
}

.work-button-gold {
  color: #ffffff;
  background: linear-gradient(135deg, #d8aa3b, #c99522);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.work-button-outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.86);
}

.work-button-outline:hover,
.work-button-outline:focus-visible {
  color: #071d38;
  background: #ffffff;
}

.work-hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  height: 126px;
  pointer-events: none;
}

.work-hero-curve svg {
  width: 100%;
  height: 100%;
}

.work-curve-gold {
  fill: #c99522;
}

.work-curve-white {
  fill: #ffffff;
}

/* Pillars */

.work-pillars {
  padding: 18px clamp(24px, 5.2vw, 74px) 64px;
  background: #ffffff;
  text-align: center;
}

.work-section-kicker {
  margin: 0 0 8px;
  color: #071d38;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.work-pillars h2 {
  max-width: 820px;
  margin: 0 auto 12px;
  color: #071d38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.work-section-intro {
  max-width: 650px;
  margin: 0 auto 34px;
  color: #263246;
  font-size: 15px;
  line-height: 1.65;
}

.work-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 34px);
  max-width: 1160px;
  margin: 0 auto;
}

.work-pillar-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e3e5ea;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(7, 29, 56, 0.08);
}

.work-pillar-image {
  position: relative;
  height: 188px;
  overflow: hidden;
  background: #071d38;
}

.work-pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-pillar-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 44, 0.04), rgba(4, 22, 44, 0.10));
  pointer-events: none;
}

.work-pillar-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -38px auto 14px;
  color: #ffffff;
  background: #071d38;
  border: 5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(7, 29, 56, 0.16);
}

.work-pillar-icon svg {
  width: 42px;
  height: 42px;
  stroke: #ffffff;
  stroke-width: 3.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.work-pillar-body {
  padding: 0 28px 28px;
}

.work-pillar-body h3 {
  margin: 0 0 10px;
  color: #071d38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.1vw, 27px);
  line-height: 1.2;
  font-weight: 500;
}

.work-pillar-body p {
  max-width: 280px;
  min-height: 88px;
  margin: 0 auto 18px;
  color: #263246;
  font-size: 15px;
  line-height: 1.55;
}

.work-pillar-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #071d38;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.work-pillar-body a:hover,
.work-pillar-body a:focus-visible {
  color: #c99522;
}

/* Responsive */

@media (max-width: 980px) {
  .work-hero {
    min-height: auto;
  }

  .work-hero::before {
    width: 100%;
  }

  .work-hero-photo {
    width: 100%;
    opacity: 0.38;
  }

  .work-hero-overlay {
    background: rgba(4, 22, 44, 0.76);
  }

  .work-hero-content {
    max-width: none;
    padding: 56px 24px 138px;
  }

  .work-pillar-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .work-pillar-image {
    height: 230px;
  }

  .work-pillar-body p {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .work-hero-content {
    padding: 44px 20px 122px;
  }

  .work-breadcrumb {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .work-hero h1 {
    font-size: 46px;
  }

  .work-hero-subtitle {
    font-size: 33px;
  }

  .work-hero-actions {
    gap: 14px;
  }

  .work-button {
    width: 100%;
  }

  .work-pillars {
    padding: 14px 20px 46px;
  }

  .work-pillar-image {
    height: 200px;
  }
}
