/* =========================================================
   DOTS MEDIA
   OUR WORK — PAGE (world map + region cards)
   Desktop/laptop CSS only — all width-based breakpoint rules
   for this page live in responsive.css (see the OUR WORK PAGE
   block there).
   ========================================================= */

.dots-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}


/* =========================================================
   WORK HERO
   ========================================================= */

.work-hero-wrap {
  position: relative;
  overflow: hidden;

  background: #0a0705;

  padding: 150px 60px 50px;
}

/* Full-bleed background — the map image sits behind the entire
   hero section (not confined to a grid column), with the text
   overlaid on top of it. */
.work-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  overflow: hidden;
}

.work-hero-bg-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 68% 42%;
}

/* Darkens the left side (behind the text) so it stays readable,
   fading out toward the right where the map should read clearly. */
.work-hero-bg-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      #0a0705 0%,
      rgba(10, 7, 5, 0.92) 32%,
      rgba(10, 7, 5, 0.55) 55%,
      rgba(10, 7, 5, 0.15) 75%,
      rgba(10, 7, 5, 0.35) 100%
    );
}

.work-hero {
  position: relative;
  z-index: 2;

  max-width: 1400px;
  margin: 0 auto;
}

.work-hero-left {
  max-width: 620px;
}

.work-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #ff7a1a;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 2px;
  text-transform: uppercase;

  margin-bottom: 14px;
}

.work-hero-tag .tag-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #ff7a1a;
}

.work-hero-title {
  color: #ffffff;

  font-size: 55px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1.5px;

  margin-bottom: 50px;
}

.work-hero-title .accent {
  color: #ff7a1a;
}

.work-hero-description {
  color: #a9a9a9;

  font-size: 16px;
  line-height: 1.7;

  max-width: 380px;
}


/* =========================================================
   WORK HERO FOOTER (explore link + legend)
   ========================================================= */

.work-hero-footer {
  position: relative;
  z-index: 2;

  max-width: 1400px;
  margin: 60px auto 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.work-explore-link {
  color: #FF7A00;
;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;

  transition: color 0.3s ease;
}

.work-explore-link:hover {
  color: #ff7a1a;
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 26px;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;

  color: #8a8a8a;

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 0.5px;
  text-transform: uppercase;

  transition: color 0.3s ease;
}

.map-legend-item .legend-num {
  color: #ff7a1a;

  font-size: 12px;
  font-weight: 800;
}

.map-legend-item.active {
  color: #ffffff;
}


/* =========================================================
   WORK REGIONS — SECTION HEADER
   ========================================================= */

.work-regions-wrap {
  position: relative;

  background: #0a0705;

  padding: 90px 60px 110px;
}

.work-regions-header {
  position: relative;
  z-index: 2;

  max-width: 1400px;
  margin: 0 auto 60px;

  text-align: left;
}

.work-regions-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #FF7A00;
;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 2px;
  text-transform: uppercase;

  margin-bottom: 18px;

  /* Scroll reveal — fades/slides up first, see .work-regions-wrap.in-view below. */
  opacity: 0;
  transform: translateY(14px);

  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.work-regions-tag .tag-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #ff7a1a;
}

.work-regions-title {
  color: #ffffff;

  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;

  margin-bottom: 16px;

  /* Scroll reveal — starts ~0.12s after the tag. */
  opacity: 0;
  transform: translateY(14px);

  transition:
    opacity 0.5s ease 0.12s,
    transform 0.5s ease 0.12s;
}

.work-regions-subtitle {
  color: #a9a9a9;

  font-size: 16px;
  line-height: 1.6;

  max-width: 620px;
  margin: 0;

  /* Scroll reveal — starts ~0.1s after the title. */
  opacity: 0;
  transform: translateY(14px);

  transition:
    opacity 0.5s ease 0.22s,
    transform 0.5s ease 0.22s;
}

/* Toggled by JS the moment the section scrolls into view. */
.work-regions-wrap.in-view .work-regions-tag,
.work-regions-wrap.in-view .work-regions-title,
.work-regions-wrap.in-view .work-regions-subtitle {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   REGION CARDS GRID
   ========================================================= */

.work-regions-grid {
  position: relative;
  z-index: 2;

  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.region-card {
  position: relative;

  border-radius: 18px;
  overflow: hidden;

  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.region-card:hover {
  transform: translateY(-6px);

  border-color: rgba(255, 122, 26, 0.35);

  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   REGION CARD — IMAGE
   ========================================================= */

.region-image {
  position: relative;

  height: 220px;

  overflow: hidden;
}

.region-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.region-card:hover .region-image img {
  transform: scale(1.08);
}

.region-image::after {
  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      transparent 50%,
      rgba(10, 7, 5, 0.95) 100%
    );
}

.region-num {
  position: absolute;

  left: 20px;
  top: 16px;
  z-index: 2;

  color: #ff7a1a;

  font-size: 30px;
  font-weight: 800;

  letter-spacing: -0.5px;

  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}


/* =========================================================
   REGION CARD — BODY
   ========================================================= */

.region-body {
  padding: 26px 26px 30px;
}

.region-name {
  color: #ffffff;

  font-size: 15px;
  font-weight: 800;

  letter-spacing: 1px;
  text-transform: uppercase;

  margin-bottom: 12px;
}

.region-desc {
  color: #a9a9a9;

  font-size: 14px;
  line-height: 1.65;

  margin-bottom: 22px;
}

.region-destinations-label {
  color: #ff7a1a;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1.5px;
  text-transform: uppercase;

  margin-bottom: 8px;
}

.region-destinations {
  color: #8a8a8a;

  font-size: 12.5px;
  line-height: 1.8;

  margin-bottom: 22px;

  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.region-explore {
  display: inline-flex;
  align-items: center;

  color: #ff7a1a;

  font-size: 12.5px;
  font-weight: 700;

  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;

  transition: color 0.3s ease;
}

.region-explore:hover {
  color: #ffffff;
}


/* =========================================================
   VIEW ALL LOCATIONS BUTTON
   ========================================================= */

.work-regions-cta {
  position: relative;
  z-index: 2;

  text-align: center;

  margin-top: 60px;
}

.btn-view-map,
.btn-view-map:link,
.btn-view-map:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  /* !important here on purpose — a theme-wide "a:link { color }"
     rule has been overriding this button's white default in
     testing, no matter how the selector specificity was raised. */
  color: #FF7A00;
;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;

  padding: 18px 34px;

  border: 1px solid #FF7A00;
;
  border-radius: 50px;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn-view-map:hover {
  background: #ff7a1a;
  border-color: #ff7a1a !important;
  color: #ffffff !important;

  transform: translateY(-3px);
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .work-regions-tag,
  .work-regions-title,
  .work-regions-subtitle {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

}